|
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 |
|
|
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 |
|
|
6a40ff90d0
|
Update returned LDBSV results to 40
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-07-08 19:20:39 +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 |
|
|
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 |
|
|
3682ca51d8
|
Bump version number
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 16:23:19 +01:00 |
|
|
04a3915b6c
|
Adjust for legacy issues
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 16:03:03 +01:00 |
|
|
d46a97ffa5
|
Adjust issue code to account for labels
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-26 16:02:42 +01:00 |
|
|
72444e9fc9
|
v2 user routes complete
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-20 21:47:32 +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 |
|
|
199a1760b7
|
Fix reasonCode endpoint
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-18 21:28:25 +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 |
|
|
f0b8e46007
|
Update reasonCode endpoints to read from DB rather than API
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-12 18:28:28 +01:00 |
|
|
4916c377c6
|
Add endpoints for LDBSVWS
|
2023-06-11 21:43:01 +01:00 |
|
|
43fd6db4b9
|
Prepare for LDBSV
|
2023-06-11 19:42:39 +01:00 |
|
|
aab3e00eac
|
Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-08 21:32:52 +01:00 |
|
|
e7f6463689
|
Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-07 21:59:35 +01:00 |
|
|
849c31af36
|
Add eslint rule: max line length (80)
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-07 21:53:56 +01:00 |
|
|
66b2ba002b
|
Find by headcode is ready
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-07 21:27:28 +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 |
|
|
c4b3be9086
|
Continued work on filtering train service data
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-07 11:23:30 +01:00 |
|
|
dc583a4632
|
Work on trainService data processing
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-07 01:18:02 +01:00 |
|
|
a1afa9cddc
|
Add to train parsing function
|
2023-06-06 22:08:30 +01:00 |
|
|
574d232867
|
Groundwork for filtering services based on STP indicator
|
2023-06-04 18:56:42 +01:00 |
|
|
39dd93edb5
|
Remove 'publicStops' part of returning train data
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-02 00:48:44 +01:00 |
|
|
524e9b271d
|
Add find by headcode including PIS
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-01 12:40:43 +01:00 |
|
|
4ba93fdfa8
|
Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-01 00:12:50 +01:00 |
|
|
7f3d4780ff
|
Add pis lookup by TIPLOC array
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-06-01 00:10:14 +01:00 |
|
|
e2cba37938
|
Add notes to findByHeadcode(headcode)
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-31 20:40:34 +01:00 |
|
|
085e6aa80d
|
Add option to retreive _id from DB
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-31 20:30:16 +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 |
|
|
cb8d53ae36
|
Add timetable count to stats
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-31 19:14:42 +01:00 |
|
|
e76731f18a
|
Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-25 21:52:23 +01:00 |
|
|
b590eb6cf5
|
Add random PIS return
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-25 21:27:37 +01:00 |
|
|
a12951fe4f
|
Actually fixed now
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-24 21:30:57 +01:00 |
|
|
1ad96ae20d
|
Fix code lookup
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-24 21:22:58 +01:00 |
|
|
848d96bd2e
|
Fix bug
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-24 21:14:35 +01:00 |
|
|
11ece9c80e
|
Add find PIS by code functionality
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-24 20:42:32 +01:00 |
|
|
b119f126b9
|
Move to YEAR.MONTH.RELEASE versioning
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-14 19:56:35 +01:00 |
|
|
d9197763ca
|
BugFix
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-07 21:30:41 +01:00 |
|
|
8891a20233
|
API Var name fix
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-05-07 21:30:03 +01:00 |
|
|
76ccbba5a8
|
Add additional stats items (#13)
Add db item counts to the stats page
Reviewed-on: #13
|
2023-05-07 21:22:07 +01:00 |
|
|
7da713526f
|
pis (#12)
Reviewed-on: #12
|
2023-05-06 21:54:49 +01:00 |
|
|
fe9eeae7db
|
Add testing for mail features
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-31 21:14:29 +01:00 |
|
|
95d735205a
|
Add api versions to stats api
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-30 21:18:07 +01:00 |
|
|
07dc5f6d8f
|
Bump patch version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-30 21:16:46 +01:00 |
|
|
c00be2aeda
|
Add log levels to services
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-30 21:15:21 +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 |
|
|
ea50577946
|
Add level to UTILS logs
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-30 21:08:16 +01:00 |
|
|
132a8697b1
|
Update logging utility
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-16 20:50:08 +00:00 |
|
|
47447088a2
|
Add log level (optionally) to log.utils
|
2023-03-16 20:22:18 +00:00 |
|
|
76c40dbbae
|
Bump patch ver
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-13 20:10:58 +00:00 |
|
|
7e823fb8be
|
Adjust version presentation
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-13 20:10:45 +00:00 |
|
|
e0420db03c
|
Fix for dbmanager version fetch
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-13 19:55:19 +00:00 |
|
|
04d598f984
|
Add dbmanVer to stats API
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-13 19:39:10 +00:00 |
|
|
cb2f3aa2ea
|
Fix incorrect version increment
|
2023-03-13 14:15:44 +00:00 |
|
|
303610097e
|
Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-10 22:19:21 +00:00 |
|
|
461b3cde77
|
Add NODE_ENV and version reporting to stats API
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-10 22:18:56 +00:00 |
|
|
bb61180ab8
|
Add logging of response if Gitea API Call fails
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-03-02 20:56:47 +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 |
|
|
2326a97d35
|
Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
|
2023-02-13 21:04:26 +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 |
|