Commit graph

673 commits

Author SHA1 Message Date
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 8b3ff460b5845c4ec86466715fc054705b635c20)
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 5fe0b4ac921c338ae642f88f2f44804d285f4691)
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 20e8fd39851146eb4fb3cc8cb1f7ba7fc4086d8d)
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
Cassidy Dingenskirchen
0504f1adcd
departure board: some more styling consistency 2023-10-22 16:16:41 +02:00
Cassidy Dingenskirchen
6686a16bbf
departure board: restyled followee checkin notice, add it for hafas too 2023-10-22 14:43:41 +02:00
Cassidy Dingenskirchen
f1d3d3ed93
departure board: new look and train type highlighting 2023-10-22 14:43:05 +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
357efdae35
departure board: show 'now' marker in bold and with request timestamp 2023-10-21 09:30:26 +02:00
Birte Kristina Friesel
1ba41db376
frontend: add train timestamps to checkin action
(preparations for more flexible checkin time frames)
2023-10-20 18:04:32 +02:00
Birte Kristina Friesel
eb7000429e
release assets 2023-10-05 06:59:47 +02:00
Birte Kristina Friesel
1401fb64bf
also render entry-only stops in backend 2023-10-05 06:59:06 +02:00
Birte Kristina Friesel
f942a9d9f5
year in review: there's non-trains in travelynx now 2023-10-03 12:39:41 +02:00
Birte Kristina Friesel
b4d10d41d3
Release v2.4 2023-10-01 13:38:22 +02:00
Birte Kristina Friesel
68ff417f0c
release v2.3.0 2023-09-26 20:02:48 +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
04c8d7672a
journey: show distances below 10km with 100m resolution (and <1km with 1m) 2023-09-16 22:23:44 +02:00
Birte Kristina Friesel
31f8275626
v2.2 2023-09-09 10:07:50 +02:00
Birte Kristina Friesel
8daf885ace
indicate whether current journey has realtime data 2023-09-09 10:06:31 +02:00
Birte Kristina Friesel
10dc685d3b
_checked_out: fix link for check-outs at HAFAS stations 2023-09-09 10:01:12 +02:00
Birte Kristina Friesel
40961f53fd
hafas departures: show no-realtime indicator 2023-09-09 09:50:41 +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
d4b3dcaf06
legend: add profile/timeline icons 2023-09-04 17:07:01 +02:00
Birte Kristina Friesel
d585c319bf
release assets 2023-09-04 17:06:41 +02:00
Birte Kristina Friesel
26ebd3d644
API: Expose HAFAS JourneyID, if available (#85) 2023-08-30 21:54:05 +02:00
Birte Kristina Friesel
155ac555f1
station board: make 'now' marker easier to distinguish 2023-08-27 21:33:06 +02:00
Birte Kristina Friesel
f4d71b4d9f
obtain autocompletion from database 2023-08-26 09:17:28 +02:00
Birte Kristina Friesel
072d19abbb
v2.1 2023-08-24 21:39:44 +02:00
Birte Kristina Friesel
77fc4604a3
release assets 2023-08-24 21:26:53 +02:00
Birte Kristina Friesel
d313ca7fc1
resolve unknown/ambiguous stop into list of stops 2023-08-24 21:26:00 +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
f49dd6bf0a
we have (mostly) full sync
I don't wanna know about time zones, though.
2023-08-20 17:06:50 +02:00
Birte Kristina Friesel
3adbd9ed2c
HAFAS: no more testbetrieb 2023-08-20 17:06:13 +02:00
Birte Kristina Friesel
c3fd8ce610
changelog 2023-08-20 16:52:25 +02:00
Birte Kristina Friesel
3eda3beeae
release assets 2023-08-20 16:23:02 +02:00
Birte Kristina Friesel
ba4ed6d143
add_journey: note that HAFAS journeys are not supported at the moment 2023-08-19 19:54:49 +02:00
Birte Kristina Friesel
b85e8a1e04
API: Support HAFAS checkin (via journeyID) 2023-08-19 12:43:43 +02:00
Birte Kristina Friesel
8745513fe9
account: move API documentation link to the info text 2023-08-19 09:17:38 +02:00
Birte Kristina Friesel
54547eb3af
manual station entry: HAFAS support 2023-08-18 20:42:37 +02:00
Birte Kristina Friesel
379da61de4
departures: use hafas/iris icons 2023-08-17 19:47:57 +02:00
Birte Kristina Friesel
77238628cc
use more easily distinguishable icons for hafas/iris; document in legend 2023-08-17 17:15:18 +02:00
Birte Kristina Friesel
5d330a7738
recent targets: distinguish hafas/iris 2023-08-16 09:31:01 +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
dfe820952f
station board: add iris / hafas links 2023-08-15 08:37:14 +02:00
Birte Kristina Friesel
cc381d199f
API docs: Zug → Fahrt 2023-08-14 12:29:07 +02:00
Birte Kristina Friesel
caf1afa610
API: Note that ds100 may be null 2023-08-14 12:26:45 +02:00
Birte Kristina Friesel
61b33446cd
hafas preparations: Zug → Fahrt 2023-08-14 12:24:26 +02:00
Birte Kristina Friesel
69edd81eeb
Remove unused _cancelled template 2023-08-13 15:24:47 +02:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support 2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
944688cfff
influxdb: add stations statistics 2023-08-13 10:55:32 +02:00
Birte Kristina Friesel
8ec002f041
Store traewelling refresh token in database 2023-08-09 19:28:36 +02:00
Birte Kristina Friesel
7c1ccc51b1
changelog 2023-08-08 17:56:35 +02:00
Birte Kristina Friesel
52c0da3f46
Traewelling: replace legacy password login with OAuth2
This is a breaking change insofar as that traewelling support is no longer
provided automatically, but must be enabled by providing a traewelling.de
application ID and secret in travelynx.conf. However, as traewelling.de
password login is deprecated and wil soon be disabled, travelynx would break
either way. So we might or might not see travelynx 2.0.0 in the next days.

Automatic token refresh is still todo, but that was the case for password
login as well.

Closes #64
2023-08-07 21:17:10 +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
be607983c1
do not use minified js in development mode 2023-07-23 11:25:45 +02:00
Birte Kristina Friesel
3d51395d39
social_list: use blue text to distinguish action icons from info icons 2023-07-20 15:52:13 +02:00
Birte Kristina Friesel
2fecf8b662
fix follow-requests-received link 2023-07-18 18:05:47 +02:00
Birte Kristina Friesel
fef9ebe0b2
followee list: show if accounts are following back 2023-07-18 15:47:45 +02:00
Birte Kristina Friesel
c81d471728
_checked_in: adjust margins for timeline link 2023-07-17 15:28:42 +02:00
Birte Kristina Friesel
19cd9f7a8d
account: add a list of sent follow requests 2023-07-16 23:01:23 +02:00
Birte Kristina Friesel
49beb09229
timeline_link: add missing space behind 'auch' 2023-07-16 18:34:37 +02:00
Birte Kristina Friesel
81fb92199c
update changelog 2023-07-16 10:39:33 +02:00
Birte Kristina Friesel
168b5e0dcc
release assets 2023-07-16 10:34:23 +02:00
Birte Kristina Friesel
6277cdd929
status card: do not show detail/map links in timeline view 2023-07-16 10:33:49 +02:00
Birte Kristina Friesel
b0bb69d87e
show followee checkins in departure board 2023-07-16 10:30:47 +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
c19320788f
timeline: show message if no accounts are en route 2023-07-16 08:45:17 +02:00
Birte Kristina Friesel
1cca278baa
add timeline / current checkins 2023-07-15 19:20:37 +02:00
Birte Kristina Friesel
ee2d8bd014
traewelling: update visibility documentation 2023-07-13 21:10:36 +02:00
Birte Kristina Friesel
6c5caaf242
release assets 2023-07-10 20:54:56 +02:00