Commit graph

34 commits

Author SHA1 Message Date
41f3523a5a
wip departures + refactor 2026-06-22 00:14:19 +10:00
b31067992d
feat(server/gtfsr): compress after every day 2026-05-27 16:35:23 +10:00
102c028407
refactor: optimisation around stoptimes
- moved stoptime related functionality into new core:data:stoptime module
  - will feature all the different realtime stoptime sources to be
      integrated later
- create proper database schema for future migrations
- deduplicate trips into stoppingpatterns, since many trips share the
  exact same stopping pattern
  - stoptimes are now linked to stoppingpatterns instead
  - stoppingpattern ids are generated from a hash composed of all stoptimes
- stoptimes now use deltas for arrival time to save space
2026-05-05 03:23:11 +10:00
f1770744db
refactor(core): switch from room to sqldelight
sqldelight provides far more control over the sql and allows me to make
more optimisations such as removing generated rowid etc. sql also just
looks better than the annotation hell from room.
2026-05-02 02:31:18 +10:00
ff2af310fb
feat(server): use envvar for devmode constant 2026-04-30 17:26:41 +10:00
ef630b6d58
fix(server/gtfs): resolve duplicate stops more intelligently 2026-04-12 20:43:45 +10:00
415ce8d88f
fix(core/room): use null instead of empty parent 2026-04-12 01:02:53 +10:00
27f2a08d77
feat(server): add fixup endpoint and move update endpoint 2026-04-12 00:31:41 +10:00
38bcdc54bc
fix(server/gtfs): null empty parents 2026-04-11 23:34:47 +10:00
0524eda5d2
feat(server): use lazy swappable database 2026-04-11 21:59:26 +10:00
e7caeca356
refactor: core:data -> core:data:client 2026-04-02 21:55:45 +11:00
c912723c78
refactor: shared -> core 2026-04-02 01:57:08 +11:00
104a77b27e
refactor: split up room into a module, and move client module 2026-04-01 22:48:04 +11:00
c55e3a3232
feat(server): better support for parent stops
- add datafixer to add parent stops for likely candidates
  - this is mainly for bus hubs, the heuristic is the existence of a
    platform code and missing parent
- use parent stops as default in route_stops
- support parent stops for stoptime querying
2026-04-01 20:37:58 +11:00
58649b6171
feat(server/gtfs): service exception support 2026-04-01 19:31:31 +11:00
c9aeeb99c1
fix(server/gtfs): chunk stop times into smaller blocks 2026-04-01 17:23:59 +11:00
91d4fe25a6
feat(server/gtfs): use transaction for imports 2026-04-01 17:00:35 +11:00
ed9d294afc
refactor(server): move gtfsrt to separate module 2026-04-01 16:32:01 +11:00
0181497420
refactor(server): split gtfs into its own module 2026-03-31 23:12:54 +11:00
72b9fb2757
feat: stop times/departures reimpl based on gtfs 2026-03-31 20:09:48 +11:00
32f6e415e1
feat(server/gtfs): only display conflicting duplicates during import 2025-12-19 19:20:01 +11:00
5535034fd7
feat(server): store and expose last updated date of gtfs data 2025-12-19 19:16:22 +11:00
25e5282ea8
fix(server/gtfsr): remove debug code
oops
2025-12-13 20:37:08 +11:00
a6584ec68c
feat(server/gtfsr): initial impl of gtfsr; archive all data 2025-12-13 20:34:26 +11:00
302bda4f17
fix(server/gtfs): update default gtfs version, and use buffered read
Stop times are now huge files and will oom, so buffer and use sequences
instead to save some memory
2025-12-13 20:34:26 +11:00
9acfb52de9
feat(server): only log INFO to stdout, and TRACE to file 2025-12-13 20:34:26 +11:00
50d312049b
feat(server): setup for deployment 2025-08-13 01:02:26 +10:00
58ee095522
feat: server-handled routes and stops 2025-08-12 22:43:33 +10:00
6770c01613
feat: di, db, and preliminary server-side gtfs parsing 2025-08-08 01:59:32 +10:00
c6b739e511
refactor: large treewide renaming 2025-08-05 00:37:28 +10:00
6372614a4d
refactor: optimise imports 2025-04-15 14:21:09 +10:00
388c3b1b75
refactor: add trailing newlines 2025-04-14 21:53:07 +10:00
4dd63b7d1d
feat: initial api support 2025-04-14 21:07:05 +10:00
aebc802b88
init 2025-04-13 00:51:32 +10:00