Commit graph

111 commits

Author SHA1 Message Date
Birte Kristina Friesel
4475e60b97
hide first-class occupancy if unknown 2024-08-12 18:17:21 +02:00
Birte Kristina Friesel
45dc2e4e2a
Switch to new carriage formation API 2024-08-08 21:13:39 +02:00
Birte Kristina Friesel
8e2d38a7da
correctly escape tripIDs in bahn.expert links 2024-07-28 16:25:53 +02:00
Birte Kristina Friesel
47f76da4f8
Multi-backend support
Squashed commit of the following:

commit 92518024ba295456358618c0e8180bd8e996fdf1
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 df21c20c6e4c86454f8a9ac69121404415217f2a
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 be335cef07d0b42874f5fc1de4a1d13396e8e807
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:20:05 2024 +0200

    mention backend selection in API documentation

commit 9f41828fb4f18fd707e0087def3032e8d4c8d7d8
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 09714b4d89684b8331d0e96f564a4c7432318f70
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:11:44 2024 +0200

    disambiguation: pass correct hafas parameter

commit 8cdf1120fc32155dc6525be64601b7c10a9c7f52
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 7455653f541198e0e0a6d11aed421487ffdb6285
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:01:47 2024 +0200

    debug output

commit b9cda07f85601a58ea32dbdacdd5399f302db52b
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 2759d7258c37c7498905cfe19f6b4c4f6d16bd21
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
9b256f0f02
remove service / sb_template selection; hardcode DBF with variable hafas flag 2024-06-15 17:50:56 +02:00
Birte Kristina Friesel
83a69dcd74
adjust map links for # in HAFAS IDs 2024-06-09 09:33:46 +02:00
Birte Kristina Friesel
fe0dbf7588
wagon order: indicate closed wagons 2024-03-29 13:54:19 +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
Cassidy Dingenskirchen
ba55ef70c1
fix #106 and fix #56 (i hope)
(cherry picked from commit 5fe0b4ac921c338ae642f88f2f44804d285f4691)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-30 21:09:59 +01:00
Cassidy Dingenskirchen
824fb6973e
unified train farbtupferl
(cherry picked from commit 20e8fd39851146eb4fb3cc8cb1f7ba7fc4086d8d)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-29 19:59:09 +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
1401fb64bf
also render entry-only stops in backend 2023-10-05 06:59:06 +02:00
Birte Kristina Friesel
de074342de
add support for HAFAS connection suggestions; drop manual destination list
Still TODO: handle stations that have several EVAs
2023-09-24 18:19:17 +02:00
Birte Kristina Friesel
8daf885ace
indicate whether current journey has realtime data 2023-09-09 10:06:31 +02:00
Birte Kristina Friesel
2e14c2e3e4
Fix intermediate stop display for journeys without real-time data, e.g. H-Bahn 2023-09-07 21:19:43 +02:00
Birte Kristina Friesel
83a9575331
templates: ds100 is not present in HAFAS stations; use eva instead
Fixes broken checkin suggestions after arriving with a HAFAS-tracked journey
2023-08-22 17:53:32 +02:00
Birte Kristina Friesel
2ce2291e94
route / checkout selection: use EVA ID if available 2023-08-15 21:56:47 +02:00
Birte Kristina Friesel
61b33446cd
hafas preparations: Zug → Fahrt 2023-08-14 12:24:26 +02:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support 2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
c81d471728
_checked_in: adjust margins for timeline link 2023-07-17 15:28:42 +02:00
Birte Kristina Friesel
1e49ecf145
checked-in view: move timeline link a bit to the bottom 2023-07-16 08:45:41 +02:00
Birte Kristina Friesel
1cca278baa
add timeline / current checkins 2023-07-15 19:20:37 +02:00
Birte Kristina Friesel
f7e3bb490d
checkin: show 'select target' more prominently 2023-07-09 10:58:11 +02:00
Birte Kristina Friesel
053d3fd79d
_checked_in: also use hh:mm format for boarding and departure countdown 2023-07-07 22:25:12 +02:00
Derf Null
4dd2cc9d9e
show hours and minutes until arrival, not just minutes 2023-07-02 10:48:34 +02:00
Derf Null
d1b020a88c
turn force checkout into button; move it out of card 2023-06-24 08:58:02 +02:00
Derf Null
57afb8c748
checked_in: also add link for follower-only checkins 2023-06-16 17:49:20 +02:00
Derf Null
00eb6af1bd
expose follows / social interaction in frontend 2023-06-04 18:21:36 +02:00
Derf Null
a3c97a17a8
comment editor, share button: fix comment visibility check 2023-05-29 15:24:51 +02:00
Derf Null
72f6c2ea2d
fix pride ICE not being indicated in public status card 2023-05-18 08:25:19 +02:00
Daniel Friesel
2406fc4efe token: do not expose full checkin timestamp 2023-03-03 15:05:43 +01:00
Daniel Friesel
1c46f56b50 fix comment visibilitiy check 2023-03-02 18:34:01 +01:00
Daniel Friesel
6d261197e3
set visibility per journey (wip)
some odds and ends left to polish, but ready for testing
2023-02-27 22:14:54 +01:00
Daniel Friesel
72c50a7cc8
share button: show expected arrival time if status is not public 2023-01-20 18:38:07 +01:00
Daniel Friesel
4abc43b72e
change route/stop layout to [name, eva, {data}] 2023-01-15 16:37:32 +01:00
Daniel Friesel
d0b89ba6d3
Handle missing arrival times in route (indicates 'entry only' stops) 2022-11-19 21:37:49 +01:00
Daniel Friesel
1671666d06
fix load icon alignment in stop list 2022-11-12 20:19:36 +01:00
Daniel Friesel
6594d74edd
show expected utilization alongsie train route 2022-11-12 11:10:58 +01:00
Daniel Friesel
c92b6bc949
status card: handle missing realtime data 2022-11-11 19:01:24 +01:00
Daniel Friesel
df74dd5cf9
route: handle stops without real-time data 2022-11-09 19:28:48 +01:00
Daniel Friesel
e54130ad6e
optionally show local transit connections as well 2022-09-24 18:53:04 +02:00
marudor
dbe379a34d use bahn.expert as new domain for marudor.de 2022-08-19 18:13:13 +02:00
Daniel Friesel
2da48e05be
move get_connecting_trains call from _checkeed_in to controller 2022-07-27 13:54:20 +02:00
Daniel Friesel
116becccb0
. 2022-07-16 20:34:11 +02:00
Daniel Friesel
74123bbcc0
_checked_in: indentation fix 2022-07-15 22:37:02 +02:00
Daniel Friesel
79e141ae2e
departure board: replace 'info' symbol with 'train' symbol 2022-07-15 22:30:53 +02:00
Daniel Friesel
8c15966bd1
dbf: link to currently checked in train 2022-07-15 22:26:50 +02:00
Daniel Friesel
8bc32dd034
show infobox in destination list 2022-07-15 21:00:38 +02:00
Daniel Friesel
795136d868
increase clickable area in destination selection 2022-07-13 21:35:59 +02:00