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
4cc6856a76
Remove limiter, fix find TrainUID by date
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2024-02-22 12:02:13 +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
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
31f104f51b
Run prettier
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-26 00:38:26 +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
81a859a8d9
Conversion to TS
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-24 01:04:55 +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
681cf873dd
Update CORS
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:57:41 +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
07a0dd6f28
Update authed endpoints
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-26 22:37:01 +01:00
eb80d7386e
Add /api/v2/user/...
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-20 19:51:15 +01:00
a4d82b0aa7
Implement train and timetable
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-19 21:34:14 +01:00
34d00ad16f
/api/v2/ref now available
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-17 23:04:42 +01:00
a04570c9e4
/api/v2/pis Ready to go
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-17 22:14:58 +01:00
06259e3d9f
Enable CORS from any origin
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-17 21:53:36 +01:00
e4255e9cbf
Enable CORS
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-13 13:46:01 +01:00
43fd6db4b9
Prepare for LDBSV
2023-06-11 19:42:39 +01:00
c0f0591866
Furhter work on trainSErvice endpoint
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-07 12:05:35 +01:00
d879d544fe
eslint fixes
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-07 11:46:41 +01:00
b32c34fe7d
Fix require misspelling
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-05-31 20:16:41 +01:00
f6190bb1c9
Add find by headcode for train services
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-05-31 20:04:00 +01:00
7da713526f
pis ( #12 )
...
Reviewed-on: #12
2023-05-06 21:54:49 +01:00
45b049714f
Add level to logs in app.js
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:10:39 +01:00
48843203b0
Remove Comments
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-21 11:01:52 +00:00
d10d558715
- Remove Static, Remove DbInit, Adjust awaits, increment version
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-16 21:25:19 +00:00
b1940bcfbb
Removed unneccesary vars and added notes for tidyup
...
in preparation for testing additional info
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-16 10:39:19 +00:00
fdf489ccf9
Depreciate dbinit - moved functionailty to db-manager
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-12 20:59:05 +00:00
f2bd261414
Initial Push (v0.0.2)
...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-09 20:34:53 +00:00