Commit Graph

176 Commits

Author SHA1 Message Date
67a50b2f94 Update version strings
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-05 20:05:05 +00:00
a1fdf22805 Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-05 20:03:11 +00:00
7657085bc3 Fix state where cancelled service is not returned.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-05 20:03:01 +00:00
88cf7d3d15 Re-implement a working auth middleware
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-05 19:55:10 +00:00
e1ba881be4 Fix for ECS Headcodes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-03 21:33:31 +00:00
3b03330ce1 Complete server side PIS searching. Temporary disablement of authentication.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-03 21:29:52 +00:00
7eb1eaba50 Nothing important
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-02 12:42:12 +00:00
89043516ea Prepare for new PIS API response
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-01-16 21:31:39 +00:00
8f26218ef2 Add Comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-01-13 22:22:47 +00:00
04e8bdd7ae Made runnable
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-01-13 21:11:06 +00:00
6166c83d5a Add notes for continuation of work
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-12-01 21:43:08 +00:00
f91609e0d2 Further rewrite of trainService.services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-12-01 21:40:25 +00:00
89cd3630d4 Begin re-write of TrainServices.Services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-30 21:33:17 +00:00
b49b2221d7 Update @owlboard/ts-types 2023-11-30 14:33:57 +00:00
ab09455c96 Prepare 'trainSerice.services' for TS migration
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-30 09:32:07 +00:00
acf8c5760e Bump @owlboard/ts-types
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-30 09:20:56 +00:00
e01cdd2f7e Add support for partial PIS matches by skipping first n stops
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-29 22:58:08 +00:00
820c8b0dd4 Prepare for testing partial tiploc matches
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-28 11:05:58 +00:00
84791ea93a Add route for testing #47
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-09 20:42:19 +00:00
725dfb86e2 Add comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-11-09 20:37:33 +00:00
22db9911f2 Fix security bugs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-28 22:40:03 +01:00
a701102228 Adjust script for running in dev mode
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 22:23:08 +01:00
398a62aadb Add partial match note to find by CRS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 22:04:54 +01:00
f37d423597 Update pipeline for partial PIS match
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 22:04:03 +01:00
e3097b1af9 Setup pipeline ready for testing
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 22:00:13 +01:00
45fdf1904d Add pipeline for partial PIS match
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 21:56:58 +01:00
7503722d84 Prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 21:56:46 +01:00
59a75f811d Disable auth for development
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 21:56:11 +01:00
9674ad9392 Remove unused code from controllers
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 21:06:30 +01:00
9e6706d109 Bump @owlboard/ts-types version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 21:02:21 +01:00
2c482aea6a Remove remaining unused routes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 21:00:48 +01:00
7d51bc002b Remove route declarations for old API version and update names of current route files
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 20:58:11 +01:00
34a1b5bf9a Add file for timetableProcessor
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 20:54:04 +01:00
c8eb537573 Rename 'transformers' folder to 'processors'
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-12 20:53:52 +01:00
90baf1b13a Prepare for PIS Search upgrade
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-10-10 12:53:01 +01:00
0a25ae85f5 newStaffLDB-API (#48)
Merge newStaffLDB-API into main.

Ready to deploy

Reviewed-on: #48
2023-10-03 21:35:00 +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