Commit Graph

122 Commits

Author SHA1 Message Date
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
5504439ce0 Add tests as a Docker build step to ensure no container with failing tests can be published
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-02 21:32:58 +01:00
ab2aa09861 Fix email templates
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-02 19:59:06 +01:00
e22af3fa35 Fix sign up issue
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-02 19:55:25 +01:00
9ab6741243 Additional tests
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 23:09:20 +01:00
2d2fdbb8db Corrections to unit tests
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 22:45:08 +01:00
0e748d545e Begin adding tests for sanitizer
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 21:49:00 +01:00
996221b221 Working on staffStation.utils and added tests
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 21:34:30 +01:00
658b0996bc Fix import of @owlboard/ts-types
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 18:13:44 +01:00
1adf24d105 Add import for @owlboard/ts-types
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 14:16:19 +01:00
5380071a17 Install owlboard/ts-types
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 14:13:31 +01:00
6bf8e91633 Import staffStationTransform to ldb.services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 13:42:19 +01:00
edb33153ce Add translation utility for formatting StaffLDB(Station) Data
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-01 13:40:17 +01:00
d7d4768663 Fix invalid export
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-28 21:37:51 +01:00
8ba127b7c8 Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-28 21:10:58 +01:00
babd4563dc Add mq-client to the 'Versions' response
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-28 21:09:44 +01:00
159c46c4cc Add support for deploying from TS source
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-28 20:51:43 +01:00
b717917500 Continute typescript conversion
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-25 12:25:33 +01:00
93c8aed105 Continue TS Implementation
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-25 01:00:36 +01:00
d07cd177b3 Extend TS Usage
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-24 01:17:00 +01:00
81a859a8d9 Conversion to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-24 01:04:55 +01:00
96f22efb58 Begin TS Migration
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-24 00:57:45 +01:00
d8cc7c04f5 Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-15 20:07:30 +01:00
a865410b31 Bugfix: Unauthorised request to /timetable/train routes caused crash
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-15 19:59:50 +01:00
df0eb0451f Fix ECS PIS Code missing
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-13 20:36:12 +01:00
6498f68bdf Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-13 19:27:35 +01:00
3818bc5d62 timetable: findByHeadcode now only returns enough data to give user a list of services which can then be expanded by using findByTrainUid
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-12 23:18:32 +01:00
86e5c34e7f Bugfix: Cases where operator does not exist
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-11 22:43:34 +01:00
24b882ce5f Bugfix: PIS Codes not being found for GW services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-11 22:33:25 +01:00
e79985cb5a Fix CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-09 07:37:21 +01:00
6cbf91c775 Update CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-09 07:18:22 +01:00
6a40ff90d0 Update returned LDBSV results to 40
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 19:20:39 +01:00
681cf873dd Update CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:57:41 +01:00
08de9bcbc1 Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:41:09 +01:00
69f72dfff1 Return unauthorised at the controller level rather than at middleware level
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:39:24 +01:00
12753d76a1 Add isAuthed to request objects
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:20:20 +01:00
45d0e0a2c0 Only return 'Not in Service' code 0015 for GW services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-02 21:18:44 +01:00
ea8dd65a8d Temporary fix:
- Do not check 'operator' before PIS lookup - the timetable data does not yet contain the operator key

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-01 22:29:30 +01:00
27794feb41 Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-01 21:40:29 +01:00
ce3033c455 Ensure services is always an array
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-01 21:40:06 +01:00
cf87c1a2b6 Re-implement ensureArray
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-01 21:08:15 +01:00
49ad201522 Fix stats API
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-28 14:06:31 +01:00
55b854a592 Add /misc/server/statistics route
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-28 13:36:47 +01:00
07a0dd6f28 Update authed endpoints
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-26 22:37:01 +01:00
ab8db7bd06 Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-26 22:35:12 +01:00
a324c6fc63 Add /misc/server/versions
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-26 22:26:47 +01:00