Commit Graph

211 Commits

Author SHA1 Message Date
a87f203782 Method was missing from post request
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 20:35:22 +01:00
51baee45a3 Add additional test for sanitizer
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 20:02:58 +01:00
ee2cf6e7d5 Port mail.services to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 19:45:17 +01:00
6d4e862313 Add logging to staffLdb translator
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 19:36:12 +01:00
eab0c68792 Port list.services to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 16:16:26 +01:00
2417a7ba53 Port kube.services to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 16:15:04 +01:00
25862137da Port find.services to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 16:10:42 +01:00
0eca5e58a1 Adjust imports
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 15:03:01 +01:00
0bb984999f Run Prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 15:00:54 +01:00
c6552489e1 Migrate trainService.service to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 14:53:46 +01:00
dc9a5e15da Migrate stats.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 14:47:41 +01:00
7c40f2fd98 Migrate regisstration.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 14:43:11 +01:00
648c72fa34 Migrate pis.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 12:11:10 +01:00
d9e2445141 Mingrate mail.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 12:09:33 +01:00
0576f431dc Mingrate list.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 12:05:48 +01:00
c57375f734 Mingrate kube.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 12:03:46 +01:00
61648602bd Disable APIv1 Route registrations
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 11:53:56 +01:00
83aca0da47 Remove Axios from package.json
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 11:42:58 +01:00
e38946d4df Change issue.services from Axios to Fetch
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 11:41:48 +01:00
d395b65512 Migrate issue.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 11:37:09 +01:00
7a6dc186f3 Fix package.json
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-28 11:34:21 +01:00
9a4f621f69 Add npm format script
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-27 20:50:05 +01:00
51bae70d6c Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-27 20:49:21 +01:00
40e99a9f9c Adjust commend
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-27 20:36:51 +01:00
6721d47f02 Port find.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-27 20:35:39 +01:00
9334da889b Remove errornous import
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-27 20:30:37 +01:00
9ed80a8bea Fix console log of original data
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 21:23:43 +01:00
d44a7a817c Remove log-line from logger.utils
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 21:22:47 +01:00
43c3bd967c Change bulder version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 21:22:20 +01:00
cf1b40f007 Adjust dbAccess log levels
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 21:06:29 +01:00
9a6679f0d9 Port ldb module to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 21:06:18 +01:00
f29ff277ce Remove pino-http
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:49:16 +01:00
ce592d5cc1 Port database functions to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:46:23 +01:00
96d97f9689 Remove un-needed console.log
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:43:36 +01:00
24bbf5df87 Port routes to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:39:25 +01:00
12876f8964 Remove console logging from app.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:36:04 +01:00
491052b1ae Add additional logging
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 19:48:08 +01:00
f7c20b3d99 Update logger config
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 21:43:21 +01:00
741e570189 Begin migration to Pino for logs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 21:35:36 +01:00
115cfe6bcc Remove background from html to table
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 20:50:27 +01:00
73195f907f Adjust log presentation of error message
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 20:48:01 +01:00
57de698c0b Add test for issue fix:
#44

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 20:46:33 +01:00
05c9e061dc Fix for issue: #44
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 20:42:26 +01:00
1c593bb6c2 Adjust train supression
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-21 21:22:56 +01:00
8bab3ddda5 Add supression for non-public trains
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-21 21:17:58 +01:00
3590b15a69 Remove map gets, not working
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-21 20:12:35 +01:00
011da17f0c Adjust status message code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-21 20:06:51 +01:00
d95ed436b8 Fix error handling
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-20 20:20:55 +01:00
911aa113ea Comment
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-20 14:27:19 +01:00
203d5e56b7 Add additional tests
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-20 14:07:29 +01:00