Commit graph

1256 commits

Author SHA1 Message Date
Birte Kristina Friesel
77fc4604a3
release assets 2023-08-24 21:26:53 +02:00
Birte Kristina Friesel
6a6476155c
rebuild assets 2023-08-24 21:26:39 +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
d23283329d
update cpanfile.snapshot 2023-08-24 21:20:41 +02:00
Birte Kristina Friesel
9b66e2779d
geolocation: Fix 'hafas=undefined' links for iris stops 2023-08-24 21:11:45 +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
ecc419e646
select latest journey based on timestamp, not ID
This avoids manually added past journeys messing with the latest travel target
2023-08-22 09:21:02 +02:00
Birte Kristina Friesel
6ca55f83b1
Database: create index on real_departure to speed up latest journey queries 2023-08-22 09:10:54 +02:00
Birte Kristina Friesel
6c343f2f68
Fix 24h delay in cross-midnight journeys after midnight
The culprit:
https://git.finalrewind.org/Travel-Status-DE-DeutscheBahn/commit/?id=139f52fbda84da76cb2a8ee5e878e41b6bfe70f8
2023-08-22 07:14:38 +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
8f747fff91
sort HAFAS/IRIS stations by distance 2023-08-20 16:52:09 +02:00
Birte Kristina Friesel
3eda3beeae
release assets 2023-08-20 16:23:02 +02:00
Birte Kristina Friesel
9bb561c3ee
rebuild assets 2023-08-20 16:22:46 +02:00
Birte Kristina Friesel
080d0bc413
update autocomplete list 2023-08-20 16:22:30 +02:00
Birte Kristina Friesel
c5c3aaa95d
update cpanfile.snapshot 2023-08-20 14:56:29 +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
85022709d7
API: fix checkin with toStation and checkout endpoints
Broken by 38ad42b42c
2023-08-19 10:06:15 +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
9218a40c13
show train/bus icons in stop list 2023-08-16 21:45:25 +02:00
Birte Kristina Friesel
479ded0c72
update tests for 61b33446cd 2023-08-16 21:34:46 +02:00
Birte Kristina Friesel
654bde9278
geosearch: always query iris and hafas stops 2023-08-16 18:54:32 +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
8f377d4ee5
traveling: redirect hafas journeys to hafas=1 2023-08-14 12:35:22 +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
293f0c7577
synchronize non-train checkins from traewelling to travelynx 2023-08-13 20:18:40 +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
a58a312baf
fix tests (use relative datetimes for proper past visibility handling) 2023-08-12 13:26:51 +02:00
Birte Kristina Friesel
8ec002f041
Store traewelling refresh token in database 2023-08-09 19:28:36 +02:00
Birte Kristina Friesel
3ec9970f01
traewelling oauth: pass HTTP redirect_uri in development mode 2023-08-09 19:26:25 +02:00
Birte Kristina Friesel
db7e5faaf4
sort timeline (descending by checkin timestamp, so most recent checkins first) 2023-08-08 19:53:37 +02:00
Birte Kristina Friesel
a08a4be89e
Fix Traewelling OAuth2 behind reverse proxies
a reverse proxy makes mojolicious believe that it is using HTTP, even though
it is HTTPS.
2023-08-08 18:15:31 +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
22627ce851
rebuild assets 2023-08-06 22:23:44 +02:00
Birte Kristina Friesel
3456350c2c
use proper text contrast for input labels
Materialize has _weird_ defaults

Closes #79
2023-08-06 22:23:06 +02:00
Birte Kristina Friesel
f43082f74e
update autocomplete for IRIS 1.88 2023-08-06 18:41:40 +02:00
Birte Kristina Friesel
c8f9a61940
update cpanfile.snapshot 2023-08-06 18:19:01 +02:00
Birte Kristina Friesel
38ad42b42c
convert checkout to promises (checkout_p) 2023-07-23 20:18:10 +02:00