|
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 |
|
|
68f92c41b8
|
Update the error handling data for ldb API responses.
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-20 13:53:45 +01:00 |
|
|
ee0439fcb1
|
Run npm update
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-18 21:00:02 +01:00 |
|
|
5ea3963a77
|
Fix tests for new output for estimated and actual times. Clientside can now directly display the value if it is a string, or if date should be displayed in suitable format.
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-14 21:14:13 +01:00 |
|
|
465874d512
|
Convert eta,ata,sta,std to "RT" if on-time
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-14 20:48:16 +01:00 |
|
|
ad1afc10c7
|
staffldb should be wrapped in ApiResponse before sending to client
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-12 20:48:34 +01:00 |
|
|
843a6cad97
|
Fix bug where empty input to transform function does not return null
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-11 20:53:29 +01:00 |
|
|
b61851e122
|
Fix handling in cases where there are no NRCC messages
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-11 20:47:38 +01:00 |
|
|
c1a5ce1fe9
|
Add test data for station boards that do not contain any NRCC messages
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-11 20:47:24 +01:00 |
|
|
c7ea029c11
|
Fix bug where query function returned empty array
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-11 20:47:04 +01:00 |
|
|
ac24cb571e
|
Improve spacing of email template
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-11 20:46:39 +01:00 |
|
|
5072d473bb
|
Remove legacy rate-limit headers
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 21:42:20 +01:00 |
|
|
eb1245c42a
|
Remove X-Powered-By header
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 21:41:50 +01:00 |
|
|
3798f2c980
|
Adjust isAuthed function, not actually checking anything previously
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 21:37:22 +01:00 |
|
|
588efcad3d
|
Random notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 21:35:18 +01:00 |
|
|
48b9d65c1d
|
Update registration emai ltemplate
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 21:30:57 +01:00 |
|
|
70337a4218
|
Adjust email txt content
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 20:50:23 +01:00 |
|
|
3410e6598a
|
Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 20:49:13 +01:00 |
|
|
07c6965948
|
Add barcode to registration email
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-10 20:49:07 +01:00 |
|
|
c147cadc40
|
Update to use latest API Version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-09-09 21:13:31 +01:00 |
|
|
45183f619e
|
Response adjustments
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-30 21:34:06 +01:00 |
|
|
0aa42c4743
|
Add dockerfilec omment
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-30 20:28:46 +01:00 |
|
|
5db9d8e52a
|
Remove unneccasaty comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-26 00:50:19 +01:00 |
|
|
bf9b0ec8d0
|
Adjust log-level for auth middleware
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-26 00:42:38 +01:00 |
|
|
31f104f51b
|
Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-26 00:38:26 +01:00 |
|
|
c7b1c547b0
|
Introduce endpoint for auth check
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-24 19:42:59 +01:00 |
|
|
74a68e992a
|
Add operator 'UK' to supported PIS TOCS - see issue for details.
Closes #37
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-14 21:46:44 +01:00 |
|
|
d259bd8a35
|
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 12:28:17 +01:00 |
|
|
4b7722d5cd
|
Attempt to fix error
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 12:27:48 +01:00 |
|
|
f96c7a7e9d
|
Fix failure if NRCC messages are not present on StaffLDB
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 12:03:09 +01:00 |
|
|
ae1a467c97
|
Add console.log for _staffLDB (Transformed data)
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 11:27:44 +01:00 |
|
|
0673637fa3
|
Add console.time for fetching staff LDB
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 11:20:19 +01:00 |
|
|
332aff4a17
|
Include .npmrc in Docker build step to ensure @owlboard/ts-types can be installed as a dev dependency for tsc
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:53:13 +01:00 |
|
|
a2777f1f37
|
Add time logs to StaffLdb Transformation
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:39:50 +01:00 |
|
|
5e31361880
|
Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:36:37 +01:00 |
|
|
05764d1897
|
Add test transformations to staff LDB results
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:36:06 +01:00 |
|
|
1c8dfea43d
|
Bump package-lock packages
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:28:57 +01:00 |
|
|
517ecba7b6
|
Add via field to staffLDB.TrainServices.Origin/Destination fields
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-07 10:28:21 +01:00 |
|
|
4b2e7e99b8
|
Add length to LDB Test:
Closes: #36
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-05 23:05:28 +01:00 |
|
|
de6f735edd
|
Add test for calculateLength()
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-05 22:59:56 +01:00 |
|
|
ca6f245a84
|
Update 'README.md'
|
2023-08-05 16:15:39 +01:00 |
|
|
68207d1e5e
|
Add calculateLength() code
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-05 01:04:41 +01:00 |
|
|
23ad8969f9
|
Add readme to translators folder
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-04 00:38:44 +01:00 |
|
|
1c0081b570
|
Add - but not implement - calculateLength()
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-04 00:31:55 +01:00 |
|
|
4a1b8d12f8
|
Bump @owlboard/ts-types version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-08-04 00:26:26 +01:00 |
|