summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
10 dayspremature connection close is HTTP 502 as well2.9.7Birte Kristina Friesel-1/+1
2024-12-04do not add meta stations if eva is undef2.9.5Birte Kristina Friesel-5/+7
2024-12-04Add a separate error message for gateway timeoutsBirte Kristina Friesel-0/+7
2024-11-30status API: Set Access-Control-Allow-Origin to *2.9.3Birte Kristina Friesel-0/+2
2024-11-24Journeys->sanity_check: Allow a single trip to take up to three days2.9.2Birte Kristina Friesel-4/+4
Closes #182
2024-11-24Journey->sanity_check: adjust messages;Birte Kristina Friesel-7/+8
2024-11-23departures: distinguish between backend errors (502) and internal errors (500)2.9.1Birte Kristina Friesel-1/+8
Closes #179
2024-10-28Use the correct stop instance when checking in to ring linesBirte Kristina Friesel-2/+4
2024-10-23import: Catch errors in get_single and sanity_checkBirte Kristina Friesel-8/+14
2024-10-23Api: perltidyBirte Kristina Friesel-5/+6
2024-10-16api/v1/import: hard-code backend_id to 1 (same as import form)Birte Kristina Friesel-4/+7
Closes #162 See also #170 (thanks to https://github.com/homologic for the suggestion)
2024-10-16Add terms of service andpoint; reference it from registration and login formsBirte Kristina Friesel-1/+9
2024-09-20passenger rights: show departures with delay ≥ 20 minutes as well2.8.40Birte Kristina Friesel-2/+5
This is a quick workaround until I have finally reviewed #116
2024-09-01Work: Include backend in debug and error messages2.8.38Birte Kristina Friesel-6/+12
2024-09-01integritycheck: add sub-commandsBirte Kristina Friesel-108/+126
2024-08-30timeline: add maps2.8.37Birte Kristina Friesel-0/+50
2024-08-30Use "Steig" rather than "Gleis" for bus platforms2.8.36Birte Kristina Friesel-0/+5
2024-08-27get_travel_distance: intermediate: Handle destination renames in sanity check2.8.35Birte Kristina Friesel-1/+6
Also related to #160
2024-08-27maintenance: do not re-generate statsBirte Kristina Friesel-16/+0
2024-08-26map, get_travel_distance: Prefer EVA ID over name for route matches2.8.33Birte Kristina Friesel-2/+6
Station names frequently change, so the EVA ID is more robust Closes #160
2024-08-26integritycheck: list journeys affected by #1592.8.32Birte Kristina Friesel-0/+43
2024-08-26backend selection: Rename "DB (IRIS)" to "IRIS" for better HAFAS distinctionBirte Kristina Friesel-1/+1
2024-08-25IRIS: Re-add support for stations unknown to T::S::DE::IRIS::Stations2.8.31Birte Kristina Friesel-0/+8
This fixes a regression introduced by 47f76da4f8cc31146d2834dfdf9731d330288c9d Closes #159 Journeys logged with travelynx v2.8.0 through 2.8.30 are affected by this bug and will contain incorrect data even after applying this patch – it only fixes data for new entries. To Do: See if affected entries can be repaired with a DB migration
2024-08-25get_travel_distance: no need for debug output if there is no polylineBirte Kristina Friesel-2/+4
2024-08-24backend suggestions: handle holes in GeoJSON polygonsBirte Kristina Friesel-14/+34
2024-08-23Suggest backends based on coverage and latest checkout coordinatesBirte Kristina Friesel-0/+60
References #156
2024-08-21backend selection: add coverage regions and links to coverage map2.8.27Birte Kristina Friesel-0/+33
2024-08-17backend selection: Hide Resrobot and TPG2.8.26Birte Kristina Friesel-0/+4
These backends do not provide trip/journey details, making them useless for travelynx
2024-08-17get_travel_distance: do not overwrite {to,from}_eva with undefBirte Kristina Friesel-2/+2
2024-08-17DBDB: put successful carriage formation requests into long-term cache2.8.25Birte Kristina Friesel-10/+10
2024-08-16.. oooops2.8.23Birte Kristina Friesel-1/+1
2024-08-16work: guard HAFAS updates via eval as well2.8.22Birte Kristina Friesel-91/+101
2024-08-15truncate journey stats once more2.8.21Birte Kristina Friesel-0/+17
2024-08-15stats, map: deal with multiple EVA IDs mapping to the same station nameBirte Kristina Friesel-20/+54
2024-08-15HAFAS: add debug output for HAFAS requests and caching2.8.20Birte Kristina Friesel-0/+9
2024-08-14IRIS checkout: do not overwrite HAFAS route with IRIS routeBirte Kristina Friesel-8/+0
The IRIS route may differ from the HAFAS route in case of diversions, causing travelynx to lose real-time data, coordinates, and polyline when the follow-up add_route_timestamps call is not made.
2024-08-14get_travel_distance: always return beeline distance2.8.18Birte Kristina Friesel-9/+6
2024-08-13DBDB: sort wagenreihung dict keys so that caching actually works2.8.16Birte Kristina Friesel-2/+2
2024-08-13backend selection: remove type from buttons (invisible on narrow screens)Birte Kristina Friesel-1/+1
2024-08-12DBDB: handle undef train_typesBirte Kristina Friesel-0/+1
2024-08-12backend form: always show IRIS firstBirte Kristina Friesel-1/+6
2024-08-12backend selection: add homepage linksBirte Kristina Friesel-3/+6
2024-08-12database: avoid needlessly incrementing backends.idBirte Kristina Friesel-8/+18
2024-08-11DBDB: It's $tx->res->codeBirte Kristina Friesel-2/+2
2024-08-10work: only request carriage formation for DB backendsBirte Kristina Friesel-2/+4
2024-08-10backend selection: handle backends that are no longer supportedBirte Kristina Friesel-3/+9
2024-08-09get_connection_targets: always return a list2.8.13Birte Kristina Friesel-2/+5
Closes #152 Closes #153
2024-08-08Switch to new carriage formation APIBirte Kristina Friesel-34/+86
2024-08-07dumpstops: provide backend name and type rather than just opaque IDs2.8.10Birte Kristina Friesel-3/+26
2024-08-04journey->add: pass backend_id on to station search for route2.8.9Birte Kristina Friesel-2/+3
Ref: #150