summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
2024-07-21Stations: Remove get_latlon_by_name (no longer needed)2.7.9Birte Kristina Friesel-14/+0
2024-07-21Add lat/lon to pre-2.7.8 journeys; add eva where missingBirte Kristina Friesel-12/+153
This speeds up the map significantly and makes coordinates_by_station obsolete
2024-07-21Journey->add: store lat/lon for route at entry time, if availableBirte Kristina Friesel-4/+33
2024-07-18HAFAS: Add get_service wrapperBirte Kristina Friesel-0/+6
2024-07-08store lat/lon along with route2.7.8Birte Kristina Friesel-3/+9
This increases resilience against EVA ID reuse
2024-06-23IRIS: Use EVA ID rather than DS100 code for backend requests2.7.4Birte Kristina Friesel-2/+2
2024-06-23work: give bodged background tasks some time to completeBirte Kristina Friesel-0/+9
2024-06-15InTransit: allow setting data in add callBirte Kristina Friesel-2/+9
2024-06-15remove service / sb_template selection; hardcode DBF with variable hafas flagBirte Kristina Friesel-59/+3
2024-06-15traewelling: increase latency between traewelling.de requestsBirte Kristina Friesel-1/+1
2024-06-15recent journeys: use hafas=DB as wellBirte Kristina Friesel-1/+1
2024-06-15Use hafas=DB rather than hafas=12.6.22Birte Kristina Friesel-10/+13
2024-06-15work,traewelling: consistent debug output if maintenance file is presentBirte Kristina Friesel-2/+14
2024-06-14work: _really_ do not execute any database actions in maintenance modeBirte Kristina Friesel-0/+6
2024-06-12use 'maintenance' file to stop background jobs when running DB upgradesBirte Kristina Friesel-0/+17
2024-06-10history: it's Fahrten, not Zugfahrten.Birte Kristina Friesel-3/+3
2024-06-10add journey: return HTTP 400 on input errorBirte Kristina Friesel-0/+3
2024-06-09Increate train_id length to account for DB HAFAS update2.6.19Birte Kristina Friesel-1/+117
2024-06-08Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFASBirte Kristina Friesel-1/+121
This is in preparation for supporting multiple HAFAS backends, and possibly EFA and RIS::Journeys.
2024-06-06... derp2.6.18Birte Kristina Friesel-5/+2
2024-06-06traewelling pull sync requires user_name to be set2.6.17Birte Kristina Friesel-1/+4
2024-06-06traewelling: trace missing username bug2.6.15Birte Kristina Friesel-0/+7
2024-06-02work: check arr on arr, not on dep2.6.14Birte Kristina Friesel-1/+1
2024-06-02Profile: remove journeys from JSON fornow2.6.13Birte Kristina Friesel-1/+0
2024-05-31Profile: Add JSON rendererBirte Kristina Friesel-28/+40
2024-05-30work: fix HAFAS arrival wagonorder/stationinfo request logicBirte Kristina Friesel-1/+1
2024-05-30DBDB: Add some debug statementsBirte Kristina Friesel-0/+23
2024-05-30DBDB: use realtime cache for carriage composition requestsBirte Kristina Friesel-3/+3
2024-05-30perform stationinfo requests for hafas checkinsBirte Kristina Friesel-0/+8
2024-05-29request wagon orders for HAFAS checkinsBirte Kristina Friesel-2/+14
2024-05-29Move wagonorder request to a separate helperBirte Kristina Friesel-0/+4
This is in preparation for HAFAS wagonorder support
2024-05-24check train/trip id when updating associated dataBirte Kristina Friesel-17/+31
this avoid race conditions when a user changes their checkin between the time of request (old trip id) and the time of data update (new trip id). These could lead to funny effects such as buses suddenly having S-Bahn carriage formations.
2024-05-22route_after: handle passing the same stop more than once2.6.10Birte Kristina Friesel-2/+9
2024-05-22Use HAFAS routes as single source of truth. Overwrite initial IRIS route.Birte Kristina Friesel-11/+11
2024-05-09InTransit: postprocess: simplify DateTime handling a bitBirte Kristina Friesel-21/+25
2024-04-26/status: return JSON for 404 errors as wellBirte Kristina Friesel-3/+30
2024-04-21refactor polyline insertion into InTransit ModelBirte Kristina Friesel-0/+55
2024-04-16Store HAFAS checkins with type/train/line number at checkin station2.6.7Birte Kristina Friesel-3/+5
2024-04-07dumpstops: encode output as UTF-8Birte Kristina Friesel-1/+2
2024-04-07Request polylines for HAFAS journeys as well; only store sensible ones2.6.5Birte Kristina Friesel-1/+1
Decreases severity of #99 Fixes #108
2024-04-03store tz_offset in route data if presentBirte Kristina Friesel-1/+10
2024-03-31lesson learned: do not deploy from easterhegg2.6.3Birte Kristina Friesel-5/+5
2024-03-31oops2.6.2Birte Kristina Friesel-3/+4
2024-03-31HAFAS departures: add earlier / later linksBirte Kristina Friesel-12/+31
2024-03-30HAFAS: correctly pass lookahead on to backend library2.5.23Birte Kristina Friesel-1/+1
Closes #126 Note that this is more of a hotfix -- the underlying bug is in Travel::Status::DE::HAFAS
2024-03-05Traveling: work around empty evas list in HAFAS resultBirte Kristina Friesel-1/+1
2024-02-25Berlin Hbf is cursed.2.5.19Birte Kristina Friesel-0/+20
2024-02-24Use journeyMatch rather than legacy trainsearch.exe API to find tripIDsBirte Kristina Friesel-0/+50
2024-02-13Journeys: adjust sanity_check for local transit stuff2.5.17Birte Kristina Friesel-7/+7
2024-02-09add dumpstops command2.5.16Birte Kristina Friesel-0/+56