Commit graph

40 commits

Author SHA1 Message Date
Birte Kristina Friesel
38f537bf59
Use hafas=DB rather than hafas=1 2024-06-15 10:36:18 +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
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
Cassidy Dingenskirchen
644ab3e660
departure board: aria-label and contrast fix 2023-10-22 18:32:41 +02:00
Cassidy Dingenskirchen
6a0f20e29f
departure board: now-jump button and styled hafas/iris switch button 2023-10-22 14:40:17 +02:00
Cassidy Dingenskirchen
20b791c768
departure board: bigger station name 2023-10-22 14:39:04 +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
379da61de4
departures: use hafas/iris icons 2023-08-17 19:47:57 +02:00
Birte Kristina Friesel
dfe820952f
station board: add iris / hafas links 2023-08-15 08:37:14 +02:00
Birte Kristina Friesel
61b33446cd
hafas preparations: Zug → Fahrt 2023-08-14 12:24:26 +02:00
Birte Kristina Friesel
c0754f9e87
departure board: do not allow new checkins prior to arrival of current checkin
This check is already present in the backend; now the frontend knows about it
too.
2023-07-23 12:51:07 +02:00
Birte Kristina Friesel
0b5bc869b5
move footer to layout 2023-07-07 22:26:31 +02:00
Derf Null
619646b533
warn when trying to check out at invalid unscheduled station
Closes #72
2023-06-08 10:20:13 +02:00
Derf Null
c3c7a0c78b
stationboard: add HAFAS support 2023-03-27 21:03:25 +02:00
Daniel Friesel
731eb7eb99
indicate hidden departures in station board 2022-11-21 20:02:18 +01:00
Daniel Friesel
906a8a4f55
departure board: add footer 2022-09-23 19:25:17 +02:00
Daniel Friesel
35338125bc
departure board: move get_connecting_trains call to controller
this is in preparation for turning it into a promise
2022-07-26 13:19:29 +02:00
Daniel Friesel
f01f108f94
increased click area for checkin 2022-07-14 21:05:07 +02:00
Daniel Friesel
84afb1bc2c departures: show annotation if no realtime data is available 2021-07-18 20:43:55 +02:00
Daniel Friesel
cc7439dd5e handle departure cancellation after checkin 2020-02-17 21:13:07 +01:00
Daniel Friesel
d9126b927f fix connections display 2019-12-26 22:48:50 +01:00
Daniel Friesel
1d589fa0b7 departures: show orientation bar dividing past from future 2019-12-14 08:52:44 +01:00
Daniel Friesel
780cdafcf5 show related stations in departure list 2019-10-19 10:15:18 +02:00
Daniel Friesel
b12b5a821b Show departures of all linked stations
Not well-tested yet, deployment will have to wait a bit. Issue #15
2019-07-14 21:29:52 +02:00
Daniel Friesel
1dc04eb45a show journey suggestions on departure board as well 2019-05-20 19:15:21 +02:00
marudor
84b32b28e9
Further color improvements 2019-05-16 16:10:53 +02:00
Daniel Friesel
b992a6dc75 $render(status => ...) is a special variable. derp. 2019-04-24 09:00:30 +02:00
Daniel Friesel
6c1cae86f4 Primitive auto-refresh of current journey status
Todo: Redirect user to destination station upon arrival
2019-04-23 22:27:13 +02:00
Daniel Friesel
e168d9cd39 Use one row per journey instead of split checkin/checkout entries
Whether a user is in transit or not is now determined by an entry in the
in_transit table instead of a dangling checkin.

All completed journeys are stored in the "journeys" table.

This does most of the work needed for automatic checkout. However, note that
the corresponding worker process is not implemented yet.
2019-04-23 18:08:07 +02:00
Daniel Friesel
a8a3aa17ce Perform undo by deleting the erroneous database entry 2019-03-31 08:45:51 +02:00
Daniel Friesel
2e1cf30231 Show negative delay as "-X", not "+-X" 2019-03-20 17:50:14 +01:00
Daniel Friesel
01df965d66 support logging of cancelled journeys 2019-03-19 18:20:05 +01:00
Daniel Friesel
25f75928e7 add marker for cancelled departures 2019-03-19 17:17:53 +01:00
Daniel Friesel
6f1b488d26 Slightly more helpful texts for checkin/checkout pages 2019-03-09 12:17:59 +01:00
Daniel Friesel
6e961420aa departures: Add hint (tap == checkin) 2019-03-08 18:02:18 +01:00
Daniel Friesel
b41a64bd7f add undo for checkouts 2018-11-02 22:29:12 +01:00
Daniel Friesel
d75351b30c Use POST requests to modify data 2018-10-05 16:33:59 +02:00
Daniel Friesel
21643b053d Initial commit 2018-09-02 21:41:33 +02:00