Birte Kristina Friesel
cbc1ac791c
DBDB: put successful carriage formation requests into long-term cache
2024-08-17 08:55:01 +02:00
Birte Kristina Friesel
60a03632f7
update cpanfile.snapshot
2024-08-16 18:43:20 +02:00
Birte Kristina Friesel
73030d2ae4
improve hafas checkin error message for route issues
2024-08-16 18:35:40 +02:00
Birte Kristina Friesel
917f8560a3
.. oooops
2024-08-16 16:56:58 +02:00
Birte Kristina Friesel
f0b70c4dab
work: guard HAFAS updates via eval as well
2024-08-16 16:52:14 +02:00
Birte Kristina Friesel
170aa150b1
truncate journey stats once more
2024-08-15 17:39:56 +02:00
Birte Kristina Friesel
9b7013907b
stats, map: deal with multiple EVA IDs mapping to the same station name
2024-08-15 17:38:13 +02:00
Birte Kristina Friesel
d156e3389e
HAFAS: add debug output for HAFAS requests and caching
2024-08-15 17:03:02 +02:00
Birte Kristina Friesel
119f2ea96a
IRIS checkout: do not overwrite HAFAS route with IRIS route
...
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-14 22:18:21 +02:00
Birte Kristina Friesel
772b4e3b23
journey: show beeline if route is unavailable
2024-08-14 22:03:48 +02:00
Birte Kristina Friesel
655f69c2e9
get_travel_distance: always return beeline distance
2024-08-14 22:00:15 +02:00
Birte Kristina Friesel
43fc820e0c
add_route_timestamps: do not re-request trip id if it is already known
2024-08-14 21:50:55 +02:00
Birte Kristina Friesel
c5af2fec5b
DBDB: sort wagenreihung dict keys so that caching actually works
2024-08-13 23:05:34 +02:00
Birte Kristina Friesel
d4a8507f85
carriage formation preview: fix direction when platform data is available
2024-08-13 19:36:12 +02:00
Birte Kristina Friesel
8b7e5909a8
backend selection: remove type from buttons (invisible on narrow screens)
2024-08-13 18:29:01 +02:00
Birte Kristina Friesel
34b8e5c7b5
update cpanfile.snapshot
2024-08-12 20:22:09 +02:00
Birte Kristina Friesel
e5b4c5cfdd
cpanfile: switch to DBWagenreihung 0.18
2024-08-12 20:13:02 +02:00
Birte Kristina Friesel
4475e60b97
hide first-class occupancy if unknown
2024-08-12 18:17:21 +02:00
Birte Kristina Friesel
521ed1eb87
DBDB: handle undef train_types
2024-08-12 18:17:05 +02:00
Birte Kristina Friesel
97b0b4bd93
backend form: always show IRIS first
2024-08-12 18:16:52 +02:00
Birte Kristina Friesel
897b88691c
backend selection: add homepage links
2024-08-12 18:16:41 +02:00
Birte Kristina Friesel
e2b5365810
database: avoid needlessly incrementing backends.id
2024-08-12 18:08:41 +02:00
Birte Kristina Friesel
9dc5d26380
DBDB: It's $tx->res->code
2024-08-11 10:31:06 +02:00
Birte Kristina Friesel
cecf3491d5
work: only request carriage formation for DB backends
2024-08-10 19:52:49 +02:00
Birte Kristina Friesel
e6ba4b0e3b
backend selection: handle backends that are no longer supported
2024-08-10 19:35:53 +02:00
Birte Kristina Friesel
78d4494364
Adjust t/12-journey-edit.t (journeys->add: backend_id is mandatory)
2024-08-10 11:42:42 +02:00
Birte Kristina Friesel
ba79f62f67
get_connection_targets: always return a list
...
Closes #152
Closes #153
2024-08-09 12:20:06 +02:00
Birte Kristina Friesel
8597cfa644
update cpanfile.snapshot
...
Closes #149
2024-08-08 21:20:53 +02:00
Birte Kristina Friesel
45dc2e4e2a
Switch to new carriage formation API
2024-08-08 21:13:39 +02:00
Birte Kristina Friesel
7fb0d48d80
release assets
2024-08-07 14:54:11 +02:00
Birte Kristina Friesel
fff05d7e4f
rebuild assets
2024-08-07 14:53:55 +02:00
Birte Kristina Friesel
b49d042f9f
landing page: request departures when pressing enter
2024-08-07 14:53:38 +02:00
Birte Kristina Friesel
7e9f6bdf90
dumpstops: provide backend name and type rather than just opaque IDs
2024-08-07 12:13:15 +02:00
Birte Kristina Friesel
1bb348ad9a
journey->add: pass backend_id on to station search for route
...
Ref: #150
2024-08-04 20:41:25 +02:00
Birte Kristina Friesel
0c5908e722
manual journey entry: hardcode DB (HAFAS) for station selection
...
TODO: Add a dropdown to select different backends
Closes #150
2024-08-04 08:49:57 +02:00
Birte Kristina Friesel
aec37cce68
public status card: only link to bahn.expert for DB journeys
2024-08-03 21:18:14 +02:00
Birte Kristina Friesel
4a5fdd80da
status card: fix map link for non-DB checkins
2024-08-03 20:20:28 +02:00
Birte Kristina Friesel
8e2d38a7da
correctly escape tripIDs in bahn.expert links
2024-07-28 16:25:53 +02:00
Birte Kristina Friesel
64489725b3
release assets
2024-07-28 16:25:49 +02:00
Birte Kristina Friesel
13618db780
rebuild assets
2024-07-28 16:25:41 +02:00
Birte Kristina Friesel
acafbc1a88
CSS: "STB" is tram, not subway
2024-07-28 16:25:33 +02:00
Birte Kristina Friesel
6659d76101
history: add map link for monthly history
2024-07-28 15:38:31 +02:00
Birte Kristina Friesel
581963a87e
only indicate backend type via icon to save space
2024-07-26 21:23:21 +02:00
Birte Kristina Friesel
344541786d
iris geolocation: specify hafas=0
2024-07-26 21:19:39 +02:00
Birte Kristina Friesel
596422096a
HTML is hard, mmmhkay
2024-07-26 21:15:29 +02:00
Birte Kristina Friesel
6ed2cd6f47
wat
2024-07-26 21:14:58 +02:00
Birte Kristina Friesel
39d5fa91e4
release assets
2024-07-26 21:12:49 +02:00
Birte Kristina Friesel
4ce4bc98a3
rebuild assets
2024-07-26 21:12:42 +02:00
Birte Kristina Friesel
e93e38fe5b
geolocation: correctly pass backend
2024-07-26 21:12:32 +02:00
Birte Kristina Friesel
94f55801d9
.
2024-07-26 21:12:22 +02:00