Commit Graph

  • 11f72679a0 Fix incorrect variable name when finding a partial PIS match main Fred Boniface 2025-03-12 00:33:46 +00:00
  • e12b809d04 Final statistics fix - until service rewrite Fred Boniface 2025-03-06 22:08:03 +00:00
  • 9ab5a7be99 Fix stats Fred Boniface 2025-03-06 22:00:04 +00:00
  • 8b00a9afe5 Patch stats service Fred Boniface 2025-03-06 21:56:18 +00:00
  • c4646bc654 Fix statistics: - Remove unused values - Add additional fetch for Stations data Fred Boniface 2025-03-06 21:52:11 +00:00
  • 989d14ff95 Bump version Fred Boniface 2025-03-06 21:39:19 +00:00
  • a561357fbe Add functions & pipeline for partial tiploca match which requires skipping end stations Fred Boniface 2025-03-06 21:37:33 +00:00
  • 4d2262f349 Re-patch db connection Fred Boniface 2024-11-22 21:17:07 +00:00
  • eecafee7cf Patch mongodb connection string Fred Boniface 2024-11-22 21:09:04 +00:00
  • d54e223369 Fix authentication database setting Fred Boniface 2024-11-22 20:54:58 +00:00
  • 78c5c02c0e Bump version Fred Boniface 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. Fred Boniface 2024-11-01 19:47:32 +00:00
  • be1ee0b285 Bump version Fred Boniface 2024-07-05 10:13:07 +01:00
  • 196251eeb6 Update mail templates to try and avoid junk filtering Fred Boniface 2024-07-05 10:11:01 +01:00
  • e913db5d57 Fix statistics to work with timetable-mgr metadata Fred Boniface 2024-06-23 09:53:13 +01:00
  • fdcb43b5c2 Update version to poll timetablemgr instead of mqclient Fred Boniface 2024-06-30 21:30:38 +01:00
  • 9031eb53c6 Add find nearest feature Fred Boniface 2024-06-30 21:23:22 +01:00
  • 2a9050940d Add routes for find station by nearest Fred Boniface 2024-06-30 21:01:06 +01:00
  • e1fc4b1db2 Add pipeline for finding station by distance Fred Boniface 2024-06-30 20:46:37 +01:00
  • 6cfc42f22e DB Setup? Fred Boniface 2024-05-01 20:46:12 +01:00
  • 9d51d4e45e Bump version Fred Boniface 2024-04-29 11:21:31 +01:00
  • fde37814a7 Add delay to LDB retry after ENOTFOUND error. Fred Boniface 2024-04-29 11:20:27 +01:00
  • 8fa0cf775f Fix LDB Cache, so when data is missing, nothing is cached Fred Boniface 2024-04-29 11:16:40 +01:00
  • afa4ad7915 Remove logging succesful authentications - fills logs with useless lines Fred Boniface 2024-04-29 11:10:41 +01:00
  • d49a5ae034 Bump version Fred Boniface 2024-04-24 20:31:43 +01:00
  • e7b8208edf Add retry to LDB Staff lookup Fred Boniface 2024-04-24 20:29:50 +01:00
  • dad9f46d86 Set Cache-Control headers in route controllers Fred Boniface 2024-04-24 20:07:24 +01:00
  • c698187cdf Remove compression from Express, add CacheHeaders middleware. Fred Boniface 2024-04-23 20:47:47 +01:00
  • 90500b88af Bump version Fred Boniface 2024-04-23 20:23:01 +01:00
  • 77ca61e178 Adjust query order, remove console.logs Fred Boniface 2024-04-23 20:20:51 +01:00
  • 2ff822d8eb Add "HX" (Heathrow Express) to PIS supported operators Fred Boniface 2024-04-23 19:54:34 +01:00
  • 09f883a461 Adjust how serviceDetail is presented Fred Boniface 2024-04-23 15:08:16 +01:00
  • d98b560584 Update dependencies Fred Boniface 2024-04-23 15:07:05 +01:00
  • f02ae3c7cd Add Platform, Pass, Arrline, and depline to stopDetail Fred Boniface 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. Fred Boniface 2024-04-16 21:31:09 +01:00
  • f4b5e9ce37 Add service booleans Fred Boniface 2024-04-15 21:50:56 +01:00
  • a5a73812a9 Tidy 'pis' related code Fred Boniface 2024-03-10 21:16:21 +00:00
  • 87532b001d Tidy auth middleware Fred Boniface 2024-03-10 21:01:00 +00:00
  • 236d85648d Replace registration stream with code based Fred Boniface 2024-03-10 20:43:58 +00:00
  • 91e2657d66 More work on code auth Fred Boniface 2024-03-09 20:56:51 +00:00
  • 874b236f09 Needs testing Fred Boniface 2024-03-09 20:46:17 +00:00
  • 5904ee37cd Adjust mail templates for registration code Fred Boniface 2024-03-09 19:31:59 +00:00
  • 70c9aa2b1e Begin migration to registration codes Fred Boniface 2024-03-08 21:39:39 +00:00
  • 8e0b928f27 Temporarily disable PIS and TRAIN auth reference: #71 Fred Boniface 2024-03-01 22:16:56 +00:00
  • ac9372515f Bump version Fred Boniface 2024-02-22 12:02:32 +00:00
  • 4cc6856a76 Remove limiter, fix find TrainUID by date Fred Boniface 2024-02-22 12:02:13 +00:00
  • d15b7c3c7a Run NPM Audit, Update email template, Bump version Fred Boniface 2024-02-19 11:40:41 +00:00
  • c147d9c50c TimetableAPI-Upgrade (#64) Fred Boniface 2024-02-11 15:53:12 +00:00
  • 90baf1b13a Prepare for PIS Search upgrade Fred Boniface 2023-10-10 12:53:01 +01:00
  • 0a25ae85f5 newStaffLDB-API (#48) Fred Boniface 2023-10-03 21:35:00 +01:00
  • 5db9d8e52a Remove unneccasaty comments Fred Boniface 2023-08-26 00:50:19 +01:00
  • bf9b0ec8d0 Adjust log-level for auth middleware Fred Boniface 2023-08-26 00:42:38 +01:00
  • 31f104f51b Run prettier Fred Boniface 2023-08-26 00:38:26 +01:00
  • c7b1c547b0 Introduce endpoint for auth check Fred Boniface 2023-08-24 19:42:36 +01:00
  • 74a68e992a Add operator 'UK' to supported PIS TOCS - see issue for details. Fred Boniface 2023-08-14 21:46:34 +01:00
  • d259bd8a35 ... Fred Boniface 2023-08-07 12:28:17 +01:00
  • 4b7722d5cd Attempt to fix error Fred Boniface 2023-08-07 12:27:48 +01:00
  • f96c7a7e9d Fix failure if NRCC messages are not present on StaffLDB Fred Boniface 2023-08-07 12:03:09 +01:00
  • ae1a467c97 Add console.log for _staffLDB (Transformed data) Fred Boniface 2023-08-07 11:27:44 +01:00
  • 0673637fa3 Add console.time for fetching staff LDB Fred Boniface 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 Fred Boniface 2023-08-07 10:53:13 +01:00
  • a2777f1f37 Add time logs to StaffLdb Transformation Fred Boniface 2023-08-07 10:39:50 +01:00
  • 5e31361880 Bump version Fred Boniface 2023-08-07 10:36:37 +01:00
  • 05764d1897 Add test transformations to staff LDB results Fred Boniface 2023-08-07 10:36:06 +01:00
  • 1c8dfea43d Bump package-lock packages Fred Boniface 2023-08-07 10:28:57 +01:00
  • 517ecba7b6 Add via field to staffLDB.TrainServices.Origin/Destination fields Fred Boniface 2023-08-07 10:28:21 +01:00
  • 4b2e7e99b8 Add length to LDB Test: Fred Boniface 2023-08-05 23:05:28 +01:00
  • de6f735edd Add test for calculateLength() Fred Boniface 2023-08-05 22:59:56 +01:00
  • ca6f245a84 Update 'README.md' Fred Boniface 2023-08-05 16:15:39 +01:00
  • 68207d1e5e Add calculateLength() code Fred Boniface 2023-08-05 01:04:41 +01:00
  • 23ad8969f9 Add readme to translators folder Fred Boniface 2023-08-04 00:38:44 +01:00
  • 1c0081b570 Add - but not implement - calculateLength() Fred Boniface 2023-08-04 00:31:55 +01:00
  • 4a1b8d12f8 Bump @owlboard/ts-types version Fred Boniface 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 Fred Boniface 2023-08-02 21:32:58 +01:00
  • ab2aa09861 Fix email templates Fred Boniface 2023-08-02 19:59:06 +01:00
  • e22af3fa35 Fix sign up issue Fred Boniface 2023-08-02 19:55:25 +01:00
  • 9ab6741243 Additional tests Fred Boniface 2023-08-01 23:09:20 +01:00
  • 2d2fdbb8db Corrections to unit tests Fred Boniface 2023-08-01 22:45:08 +01:00
  • 0e748d545e Begin adding tests for sanitizer Fred Boniface 2023-08-01 21:49:00 +01:00
  • 996221b221 Working on staffStation.utils and added tests Fred Boniface 2023-08-01 21:34:30 +01:00
  • 658b0996bc Fix import of @owlboard/ts-types Fred Boniface 2023-08-01 18:13:44 +01:00
  • 1adf24d105 Add import for @owlboard/ts-types Fred Boniface 2023-08-01 14:16:19 +01:00
  • 5380071a17 Install owlboard/ts-types Fred Boniface 2023-08-01 14:13:23 +01:00
  • 6bf8e91633 Import staffStationTransform to ldb.services Fred Boniface 2023-08-01 13:42:19 +01:00
  • edb33153ce Add translation utility for formatting StaffLDB(Station) Data Fred Boniface 2023-08-01 13:40:04 +01:00
  • d7d4768663 Fix invalid export Fred Boniface 2023-07-28 21:37:51 +01:00
  • 8ba127b7c8 Bump version Fred Boniface 2023-07-28 21:10:58 +01:00
  • babd4563dc Add mq-client to the 'Versions' response Fred Boniface 2023-07-28 21:09:44 +01:00
  • 159c46c4cc Add support for deploying from TS source Fred Boniface 2023-07-28 20:51:43 +01:00
  • b717917500 Continute typescript conversion Fred Boniface 2023-07-25 12:25:33 +01:00
  • 93c8aed105 Continue TS Implementation Fred Boniface 2023-07-25 01:00:36 +01:00
  • d07cd177b3 Extend TS Usage Fred Boniface 2023-07-24 01:17:00 +01:00
  • 81a859a8d9 Conversion to TS Fred Boniface 2023-07-24 01:04:55 +01:00
  • 96f22efb58 Begin TS Migration Fred Boniface 2023-07-24 00:57:45 +01:00
  • d8cc7c04f5 Bump version Fred Boniface 2023-07-15 20:07:30 +01:00
  • a865410b31 Bugfix: Unauthorised request to /timetable/train routes caused crash Fred Boniface 2023-07-15 19:59:50 +01:00
  • df0eb0451f Fix ECS PIS Code missing Fred Boniface 2023-07-13 20:36:12 +01:00
  • 6498f68bdf Bump version Fred Boniface 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 Fred Boniface 2023-07-12 23:18:32 +01:00
  • 86e5c34e7f Bugfix: Cases where operator does not exist Fred Boniface 2023-07-11 22:43:34 +01:00