4d2262f349
Re-patch db connection
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-11-22 21:17:07 +00:00
eecafee7cf
Patch mongodb connection string
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-11-22 21:09:04 +00:00
d54e223369
Fix authentication database setting
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-11-22 20:54:58 +00:00
78c5c02c0e
Bump version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-11-01 19:49:09 +00:00
a793862aa2
Search by code was searching for intergers which was returning no results. Now updated to search the database with code as a string.
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-11-01 19:47:32 +00:00
be1ee0b285
Bump version
2024-07-05 10:13:07 +01:00
196251eeb6
Update mail templates to try and avoid junk filtering
2024-07-05 10:11:01 +01:00
e913db5d57
Fix statistics to work with timetable-mgr metadata
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-07-01 13:23:42 +01:00
fdcb43b5c2
Update version to poll timetablemgr instead of mqclient
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-06-30 21:30:38 +01:00
9031eb53c6
Add find nearest feature
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-06-30 21:23:22 +01:00
2a9050940d
Add routes for find station by nearest
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-06-30 21:01:06 +01:00
e1fc4b1db2
Add pipeline for finding station by distance
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-06-30 20:46:37 +01:00
6cfc42f22e
DB Setup?
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-05-01 20:46:12 +01:00
9d51d4e45e
Bump version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-29 11:21:31 +01:00
fde37814a7
Add delay to LDB retry after ENOTFOUND error.
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-29 11:20:27 +01:00
8fa0cf775f
Fix LDB Cache, so when data is missing, nothing is cached
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-29 11:16:40 +01:00
afa4ad7915
Remove logging succesful authentications - fills logs with useless lines
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-29 11:10:41 +01:00
d49a5ae034
Bump version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-24 20:31:43 +01:00
e7b8208edf
Add retry to LDB Staff lookup
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-24 20:29:50 +01:00
dad9f46d86
Set Cache-Control headers in route controllers
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-24 20:07:24 +01:00
c698187cdf
Remove compression from Express, add CacheHeaders middleware.
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-23 20:47:47 +01:00
90500b88af
Bump version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-23 20:23:01 +01:00
77ca61e178
Adjust query order, remove console.logs
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-23 20:20:51 +01:00
2ff822d8eb
Add "HX" (Heathrow Express) to PIS supported operators
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-23 19:54:34 +01:00
09f883a461
Adjust how serviceDetail is presented
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-23 15:08:16 +01:00
d98b560584
Update dependencies
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-23 15:07:05 +01:00
f02ae3c7cd
Add Platform, Pass, Arrline, and depline to stopDetail
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-17 13:17:25 +01:00
1f0a39adc6
Fix bug where cancelled service is not processed and sent to client due to no stops arrray being present.
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-16 21:31:09 +01:00
f4b5e9ce37
Add service booleans
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-04-15 21:50:56 +01:00
a5a73812a9
Tidy 'pis' related code
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-10 21:16:21 +00:00
87532b001d
Tidy auth middleware
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-10 21:01:00 +00:00
236d85648d
Replace registration stream with code based
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-10 20:43:58 +00:00
91e2657d66
More work on code auth
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-09 20:56:51 +00:00
874b236f09
Needs testing
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-09 20:46:17 +00:00
5904ee37cd
Adjust mail templates for registration code
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-09 19:31:59 +00:00
70c9aa2b1e
Begin migration to registration codes
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-08 21:39:39 +00:00
8e0b928f27
Temporarily disable PIS and TRAIN auth reference: #71
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-03-01 22:16:56 +00:00
ac9372515f
Bump version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-22 12:02:32 +00:00
4cc6856a76
Remove limiter, fix find TrainUID by date
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-22 12:02:13 +00:00
d15b7c3c7a
Run NPM Audit, Update email template, Bump version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-19 11:40:41 +00:00
c147d9c50c
TimetableAPI-Upgrade ( #64 )
...
Partial implementation of: #47
The 2022.2.1 release currently live is based off of the TimetableAPI-Upgrade branch.
Partial PIS code matching is now implemented in cases where x number of stops need skipping at the start of a route.
Reviewed-on: #64
2024-02-11 15:53:12 +00: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