Commit graph

717 commits

Author SHA1 Message Date
Birte Kristina Friesel
a0bd839594
refactor polyline insertion into InTransit Model 2024-04-21 19:21:16 +02:00
Birte Kristina Friesel
2ff5f92bcc
Store HAFAS checkins with type/train/line number at checkin station 2024-04-16 18:08:21 +02:00
Birte Kristina Friesel
a72b6192ed
dumpstops: encode output as UTF-8 2024-04-07 11:23:47 +02:00
Birte Kristina Friesel
875ec1c3e5
Request polylines for HAFAS journeys as well; only store sensible ones
Decreases severity of #99
Fixes #108
2024-04-07 11:18:04 +02:00
Birte Kristina Friesel
c9e5bfae62
store tz_offset in route data if present 2024-04-03 13:58:48 +02:00
Birte Kristina Friesel
6e42d1dc29
lesson learned: do not deploy from easterhegg 2024-03-31 21:22:50 +02:00
Birte Kristina Friesel
b978ba6bc0
oops 2024-03-31 21:21:59 +02:00
Birte Kristina Friesel
970e30202d
HAFAS departures: add earlier / later links 2024-03-31 14:44:37 +02:00
Birte Kristina Friesel
9f0d72b9d1
HAFAS: correctly pass lookahead on to backend library
Closes #126

Note that this is more of a hotfix -- the underlying bug is in
Travel::Status::DE::HAFAS
2024-03-30 09:58:06 +01:00
Birte Kristina Friesel
9e073a0fe8
Traveling: work around empty evas list in HAFAS result 2024-03-05 21:35:08 +01:00
Birte Kristina Friesel
ab14df0b16
Berlin Hbf is cursed. 2024-02-25 06:50:03 +01:00
Birte Kristina Friesel
dafeb838dc
Use journeyMatch rather than legacy trainsearch.exe API to find tripIDs 2024-02-24 20:11:11 +01:00
Birte Kristina Friesel
4393751bcb
Journeys: adjust sanity_check for local transit stuff 2024-02-13 21:51:08 +01:00
Birte Kristina Friesel
39ebc84e5f
add dumpstops command 2024-02-09 19:09:16 +01:00
Birte Kristina Friesel
7eedd5149f
perltidy 2024-01-30 21:07:57 +01:00
Birte Kristina Friesel
40eb74887b
journey detail title: use departure date 2024-01-30 21:07:06 +01:00
Cassidy Dingenskirchen
5b3cfd3355
add title elements
(cherry picked from commit 5d8f6467dc00f03957784230983ed730ec421291)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-30 21:04:42 +01:00
Birte Kristina Friesel
827751e430
confirm_mail: work around funky MUAs 2024-01-14 13:33:14 +01:00
Birte Kristina Friesel
a474981f6a
work: Some HAFAS errors are not actionable and should not be logged as errors 2024-01-11 18:37:12 +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
2c229c0317
map: show year in headline if set 2024-01-01 12:58:59 +01:00
Birte Kristina Friesel
a2e1edbe8b
history_map: filter_until is inclusive 2023-12-31 12:24:51 +01:00
Birte Kristina Friesel
4d044fb98a
Fix connection display for Travel::Status::DE::HAFAS 5.x 2023-12-27 11:16:38 +01:00
Birte Kristina Friesel
d47195a0cf
Switch to Travel::Status::DE::HAFAS 5.x 2023-12-27 10:59:35 +01:00
Birte Kristina Friesel
6364751eb1
HAFAS: Use locationSearch rather than similar_stops_p
locationSearch uses mgate.exe, just like the regular departure board.
similar_stops_p relies on ajax-getstop.exe which may become unavailable sooner
rather than later.
2023-11-01 18:44:00 +01:00
Birte Kristina Friesel
fd43d818f9
increase level of caution 2023-10-01 10:51:58 +02:00
Birte Kristina Friesel
cbc433f76c
suggested connections: avoid fetching IRIS trains via HAFAS 2023-10-01 10:49:36 +02:00
Birte Kristina Friesel
4a2897c1f8
influxdb: add meta / related_stations count 2023-10-01 10:30:24 +02:00
Birte Kristina Friesel
aaeb81a5d2
store related stations; respect them when looking up connections 2023-10-01 07:11:58 +02:00
Birte Kristina Friesel
2638dd36fb
connections: do not show cancelled trains twice 2023-09-26 20:26:12 +02:00
Birte Kristina Friesel
e346f969b0
intransit: support HAFAS trains that do not have a type 2023-09-24 18:20:15 +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
8810acf742
/s: support filter by trip_id; only allow train filter in IRIS mode 2023-09-17 15:50:11 +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
434eb5a18d
map: use high beeline opacity if no polylines are available 2023-09-12 18:26:15 +02:00
Birte Kristina Friesel
8daf885ace
indicate whether current journey has realtime data 2023-09-09 10:06:31 +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
b410176e63
perltidy 2023-09-04 17:08:17 +02:00
Birte Kristina Friesel
55451b78f4
work: 'did not find $dep' is not actionable → change severity to debug 2023-09-04 17:05:50 +02:00
Birte Kristina Friesel
26ebd3d644
API: Expose HAFAS JourneyID, if available (#85) 2023-08-30 21:54:05 +02:00
Birte Kristina Friesel
f4d71b4d9f
obtain autocompletion from database 2023-08-26 09:17:28 +02:00
Birte Kristina Friesel
559a1cedd7
manual station entry: fix HAFAS redirect 2023-08-26 09:15:33 +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
9b66e2779d
geolocation: Fix 'hafas=undefined' links for iris stops 2023-08-24 21:11:45 +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
8f747fff91
sort HAFAS/IRIS stations by distance 2023-08-20 16:52:09 +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
54547eb3af
manual station entry: HAFAS support 2023-08-18 20:42:37 +02:00