Commit graph

657 commits

Author SHA1 Message Date
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
Birte Kristina Friesel
f7e3bb490d
checkin: show 'select target' more prominently 2023-07-09 10:58:11 +02:00
Birte Kristina Friesel
0b5bc869b5
move footer to layout 2023-07-07 22:26:31 +02:00
Birte Kristina Friesel
32341dc5d2
public status: use hh:mm format for countdowns 2023-07-07 22:25:54 +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
05fd4deed4
release assets 2023-07-02 10:49:18 +02:00
Derf Null
4dd2cc9d9e
show hours and minutes until arrival, not just minutes 2023-07-02 10:48:34 +02:00
Derf Null
a73e2edc86
profile: use effective visibility from journey object 2023-06-29 21:54:25 +02:00
Derf Null
4845a03f07
account: move profile link out of settings 2023-06-25 11:09:30 +02:00
Derf Null
b44b770ec3
fine-graned visibility selection of history / past checkins
most notably, adds a 'history for followers only' mode
2023-06-24 21:25:14 +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
c5957fbdfd
User: remove legacy public_level / is_public field 2023-06-23 22:43:41 +02:00
Derf Null
c32b93ff4d
_public_status_card: remove superfluous public_level check
arr_name is only set if the user may see the journey
2023-06-23 21:04:25 +02:00
Derf Null
2bbd8df33d
traewelling: note that sync is independent of checkin visibility 2023-06-18 08:43:34 +02:00
Derf Null
a249be1d8b
run webhook when updating checkin comment or visibility 2023-06-18 08:38:55 +02:00
Derf Null
57afb8c748
checked_in: also add link for follower-only checkins 2023-06-16 17:49:20 +02:00
Derf Null
0516344ac0
login form: add hint about pages being only visibile after login 2023-06-09 07:55:59 +02:00