Commit graph

1497 commits

Author SHA1 Message Date
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
Birte Kristina Friesel
571223bb60
release assets 2024-07-26 20:19:50 +02:00
Birte Kristina Friesel
4983974a30
rebuild assets 2024-07-26 20:19:40 +02:00
Birte Kristina Friesel
6bd4321332
add "Str" for tram 2024-07-26 20:19:17 +02:00
Birte Kristina Friesel
5554deed5f
fix v55 migration: we also need to sync hafas->iris in some cases 2024-07-26 20:06:58 +02:00
Birte Kristina Friesel
f18423c74d
Release v2.8 2024-07-26 19:21:24 +02:00
Birte Kristina Friesel
f1ef2e472a
influxdb: per-backend stats 2024-07-26 19:20:50 +02:00
Birte Kristina Friesel
5354a6f6c5
Release assets 2024-07-26 18:57:04 +02:00
Birte Kristina Friesel
7815ac8813
Rebuild assets 2024-07-26 18:56:19 +02:00
Birte Kristina Friesel
47f76da4f8
Multi-backend support
Squashed commit of the following:

commit 92518024ba
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:39:46 2024 +0200

    add_or_update station: remove superfluos 'new backend id := old backend id'

commit df21c20c6e
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:35:51 2024 +0200

    revert connection targets min_count to 3

commit be335cef07
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:20:05 2024 +0200

    mention backend selection in API documentation

commit 9f41828fb4
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:19:23 2024 +0200

    use_history: not all backends provide route data in departure monitor

commit 09714b4d89
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:11:44 2024 +0200

    disambiguation: pass correct hafas parameter

commit 8cdf1120fc
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:11:28 2024 +0200

    _checked_in: hide Zuglauf link for non-db checkins

commit 7455653f54
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:01:47 2024 +0200

    debug output

commit b9cda07f85
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 19:09:07 2024 +0200

    fix remaining get_connection_targets / get_connecting_trains_p invocations

commit 2759d7258c
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Wed Jul 24 20:50:12 2024 +0200

    support non-DB HAFAS backends (WiP)
2024-07-26 18:55:58 +02:00
Birte Kristina Friesel
7811520a30
Stations: Remove get_latlon_by_name (no longer needed) 2024-07-21 19:32:35 +02:00
Birte Kristina Friesel
fa20c21ec2
Add lat/lon to pre-2.7.8 journeys; add eva where missing
This speeds up the map significantly and makes coordinates_by_station obsolete
2024-07-21 19:22:52 +02:00
Birte Kristina Friesel
de55368db7
Journey->add: store lat/lon for route at entry time, if available 2024-07-21 17:23:28 +02:00
Birte Kristina Friesel
7b1a4fc40d
line colors: Add Tram as alias for STR 2024-07-19 20:08:15 +02:00