Commit graph

70 commits

Author SHA1 Message Date
Birte Kristina Friesel
4d159fe378
Landing page, departure list: Rename DB (IRIS-TTS) to IRIS as well 2024-08-29 22:04:46 +02:00
Birte Kristina Friesel
b49d042f9f
landing page: request departures when pressing enter 2024-08-07 14:53:38 +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
596422096a
HTML is hard, mmmhkay 2024-07-26 21:15:29 +02:00
Birte Kristina Friesel
94f55801d9
. 2024-07-26 21:12:22 +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
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
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
54547eb3af
manual station entry: HAFAS support 2023-08-18 20:42:37 +02:00
Birte Kristina Friesel
5d330a7738
recent targets: distinguish hafas/iris 2023-08-16 09:31:01 +02:00
Birte Kristina Friesel
61b33446cd
hafas preparations: Zug → Fahrt 2023-08-14 12:24:26 +02:00
Birte Kristina Friesel
1cca278baa
add timeline / current checkins 2023-07-15 19:20:37 +02:00
Birte Kristina Friesel
0b5bc869b5
move footer to layout 2023-07-07 22:26:31 +02:00
Derf Null
8cef56a940
landingpage: mention sharing and (optional) public history 2023-06-04 19:07:19 +02: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
e937324617
landing page: show past stops if geolocation is unavailable 2023-01-18 18:13:35 +01:00
Daniel Friesel
1a2ff8262d
... 'status' is a reserved renderer key. oops. 2022-08-04 14:07:25 +02:00
Daniel Friesel
adf2df3a3b
landingpage: $status is not always set 2022-07-28 09:34:32 +02:00
Daniel Friesel
2da48e05be
move get_connecting_trains call from _checkeed_in to controller 2022-07-27 13:54:20 +02:00
Leonard Janis Robert König
3468e2ef36 landingpage: Fix typo 2022-04-17 19:16:47 +02:00
Daniel Friesel
79b55c430d
allow registration to be disabled via config 2021-09-12 08:15:59 +02:00
Daniel Friesel
7d528e3eb6 remove superfluous "()" in function call 2020-11-21 10:35:18 +01:00
Leah (ctucx)
8170ce5cd9 disable browser-autocompletion on station-inputs 2020-10-17 16:17:10 +02:00
Daniel Friesel
0b6df3859c It's Public Beta Time! 2020-10-04 12:50:41 +02:00
Daniel Friesel
39e12ec32e landingpage: hide button icon names from accessibility tools 2020-09-05 14:15:50 +02:00
Daniel Friesel
47b957361e Move most journey code to newly introduced Journey model 2020-08-16 21:20:23 +02:00
Daniel Friesel
adaf9f7c0c landingpage: API also supports checkin 2020-02-26 20:38:01 +01:00
Daniel Friesel
bd8a825138 Add aria labels where needed, commit 1 of many (#37) 2020-01-28 20:26:15 +01:00
Daniel Friesel
b3b0a055b9 improve get_user_travels performance, most notably when rendering map
only create DateTime objects when needed
2019-11-24 20:29:52 +01:00
Daniel Friesel
aac8e2a0e1 Save scheduled arrival time for cancelled trains 2019-09-18 18:08:06 +02:00
Daniel Friesel
2075c89655 landingpage: Add passengerrights support 2019-09-16 17:20:37 +02:00
Daniel Friesel
7fe95532c1 Use JSON for messages and route storage, prepare for extended route data 2019-05-26 17:28:21 +02:00
Daniel Friesel
c3071d54eb Merge branch 'marudor-darkMode' 2019-05-18 08:31:13 +02:00
Daniel Friesel
3668c69d1f correctly show departure station in cancelled view 2019-05-16 20:51:31 +02:00
marudor
5c2388d3a2
Add dark mode (only available with prefers-color-scheme currently) 2019-05-16 15:04:08 +02:00
Daniel Friesel
42eafec28d update landingpage 2019-05-11 15:45:16 +02:00
marudor
d2f01f963a
Do not nag directly for geolocation 2019-05-11 12:43:13 +02:00
Daniel Friesel
be1e5dda23 Public API documentation 2019-05-02 11:29:43 +02:00
Daniel Friesel
ddea9abc6e show imprint/privacy/version on all public-facing pages 2019-04-30 18:24:30 +02:00
Daniel Friesel
2d7c75f877 show imprint and version on landing page 2019-04-30 18:18:09 +02:00
Daniel Friesel
e07063c52c Add manual journey entry
Closes #3
2019-04-26 19:53:01 +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
ffaa0c44a7 Automatic checkout \o/ 2019-04-23 21:30:31 +02:00
Daniel Friesel
5af134ef1e landingpage: Fix plural for "0 minutes" 2019-04-23 20:00:03 +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
863a33b111 landingpage: Fix typo in required form element tag 2019-04-11 20:42:38 +02:00
Daniel Friesel
ffee7177ac Refactor history template, add yearly stats 2019-04-07 18:44:33 +02:00
Daniel Friesel
a1109bfce0 landingpage: Features++ 2019-04-06 21:32:18 +02:00
Daniel Friesel
3ce1cfc55f Select journeys by ID 2019-03-31 19:32:41 +02:00