Commit graph

640 commits

Author SHA1 Message Date
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
c5bea4e866
release assets 2024-06-30 14:37:15 +02:00
Birte Kristina Friesel
d87fdbff45
increase clickable area of timeline link 2024-06-30 14:36:24 +02:00
Birte Kristina Friesel
20ad04a41f
release assets 2024-06-24 17:18:19 +02:00
Birte Kristina Friesel
c133815f6c
release assets 2024-06-21 21:13:56 +02:00
Birte Kristina Friesel
7e4944614c
about: Remove 404-ing link for station data
Closes #143
2024-06-18 06:38:17 +02:00
Birte Kristina Friesel
7466d252fb
Release v2.7 2024-06-15 17:51:02 +02:00
Birte Kristina Friesel
9b256f0f02
remove service / sb_template selection; hardcode DBF with variable hafas flag 2024-06-15 17:50:56 +02:00
Birte Kristina Friesel
38f537bf59
Use hafas=DB rather than hafas=1 2024-06-15 10:36:18 +02:00
Birte Kristina Friesel
83a69dcd74
adjust map links for # in HAFAS IDs 2024-06-09 09:33:46 +02:00
Birte Kristina Friesel
f71348a8a8
Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFAS
This is in preparation for supporting multiple HAFAS backends, and possibly
EFA and RIS::Journeys.
2024-06-08 22:18:31 +02:00
Birte Kristina Friesel
8d7e66cdc8
release assets 2024-04-23 17:14:06 +02:00
Birte Kristina Friesel
370d8f4a20
changelog: layout 2024-04-23 17:13:34 +02:00
Birte Kristina Friesel
ce6250d4f3
release assets 2024-04-15 17:26:24 +02:00
Birte Kristina Friesel
64e0ee5768
hafas departures: use /s/:station rather than HAFAS station for prev/next links 2024-04-03 12:35:24 +02:00
Birte Kristina Friesel
38e03bcc88
hide prev/now/next links on small screens 2024-03-31 17:37:14 +02:00
Birte Kristina Friesel
ffb2523e84
Release v2.6.0 2024-03-31 17:33:37 +02:00
Birte Kristina Friesel
4012e5e59a
center-align API switcher 2024-03-31 15:17:31 +02:00
Birte Kristina Friesel
970e30202d
HAFAS departures: add earlier / later links 2024-03-31 14:44:37 +02:00
Birte Kristina Friesel
fe0dbf7588
wagon order: indicate closed wagons 2024-03-29 13:54:19 +01:00
Birte Kristina Friesel
8bbe698952
release assets 2024-03-23 15:24:04 +01:00
Birte Kristina Friesel
2539e9f0ae
Allow light/dark/auto rather than just light/dark for theme
Replaces the theme switcher in the nav bar with a less intrusive link at the
bottom.

Closes #125
2024-03-23 15:23:26 +01:00
Birte Kristina Friesel
150c5a137f
wagon order: show first / second class if known 2024-03-20 17:59:13 +01:00
Birte Kristina Friesel
d524463551
use DBF for wagon order details (it's currently more detailed) 2024-03-20 17:44:26 +01:00
Birte Kristina Friesel
fe0a873899
release assets 2024-02-01 21:11:58 +01:00
Cassidy Dingenskirchen
414542dfa4 history: fix visual bugs with long station names 2024-02-01 21:08:15 +01:00
Birte Kristina Friesel
e23f6b4f62
release assets 2024-01-31 17:37:42 +01:00
Birte Kristina Friesel
150740f282
history: show destination in first line, origin in second
This way, consecutive history entries have matching origin/destination pairs,
and both the outer list and the inner origin/destination pair are sorted
by descending date.
2024-01-31 17:36:13 +01:00
Birte Kristina Friesel
558f158d0a
release assets 2024-01-31 17:27:50 +01:00
Cassidy Dingenskirchen
79d216976d
new history design
(cherry picked from commit 8b3ff460b5)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-30 21:14:51 +01:00
Birte Kristina Friesel
899c7de695
release assets 2024-01-30 21:13:13 +01:00
Cassidy Dingenskirchen
ba55ef70c1
fix #106 and fix #56 (i hope)
(cherry picked from commit 5fe0b4ac92)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-30 21:09:59 +01:00
Birte Kristina Friesel
6162163875
Release assets 2024-01-29 19:59:43 +01:00
Cassidy Dingenskirchen
824fb6973e
unified train farbtupferl
(cherry picked from commit 20e8fd3985)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-29 19:59:09 +01:00
Birte Kristina Friesel
2391980de5
map header: Also include filter 2024-01-02 09:27:17 +01:00
Birte Kristina Friesel
47658b7496
map header: support exclusive use of filter_from / filter_to 2024-01-02 09:14:55 +01:00
Birte Kristina Friesel
1690a07d92
Rename filter_after/filter_before to filter_from/filter_to (they're inclusive) 2024-01-02 09:12:24 +01:00
Birte Kristina Friesel
0229768fe6
history_map: also show header for custom date ranges 2024-01-01 13:00:13 +01:00
Birte Kristina Friesel
2c229c0317
map: show year in headline if set 2024-01-01 12:58:59 +01:00
Birte Kristina Friesel
b71203738c
history stats: make inconsistency hint less obnoxious 2024-01-01 12:53:49 +01:00
Birte Kristina Friesel
4652fab4c5
map: use dynamic height (70% of viewport height) 2024-01-01 12:49:24 +01:00
Birte Kristina Friesel
65f3548842
connection display: correctly annotate cancelled departures in preview 2023-12-27 11:11:52 +01:00
Birte Kristina Friesel
f52286f9b2
login: Add a 'registration disabled' hint if registration is disabled 2023-12-09 12:28:25 +01:00
Birte Kristina Friesel
0b1de41366
_checked_in: fix typo in hash element name 2023-10-29 15:25:13 +01:00
Birte Kristina Friesel
06d81798ee
Release v2.5 2023-10-27 18:40:22 +02:00
Birte Kristina Friesel
f85d018083
release assets 2023-10-27 18:37:07 +02:00
Birte Kristina Friesel
7bf99b00a5
Use $train->type rather than firts part of $train->line for CSS class
In some cases (e.g. in Belgium), trains do not have a type, so the first part
of $train->line is the train number instead.
2023-10-27 18:34:02 +02:00
Cassidy Dingenskirchen
f867abb865
departure board: more subtle cancellation highlight, use unified cancellation check for IRIS 2023-10-27 07:33:10 +02:00
Cassidy Dingenskirchen
644ab3e660
departure board: aria-label and contrast fix 2023-10-22 18:32:41 +02:00
Cassidy Dingenskirchen
c22df91490
connections: new look consistent with departure board 2023-10-22 16:24:29 +02:00