Commit graph

1459 commits

Author SHA1 Message Date
Birte Kristina Friesel
4983974a30
rebuild assets 2024-07-26 20:19:40 +02:00
Birte Kristina Friesel
6bd4321332
add "Str" for tram 2024-07-26 20:19:17 +02:00
Birte Kristina Friesel
5554deed5f
fix v55 migration: we also need to sync hafas->iris in some cases 2024-07-26 20:06:58 +02:00
Birte Kristina Friesel
f18423c74d
Release v2.8 2024-07-26 19:21:24 +02:00
Birte Kristina Friesel
f1ef2e472a
influxdb: per-backend stats 2024-07-26 19:20:50 +02:00
Birte Kristina Friesel
5354a6f6c5
Release assets 2024-07-26 18:57:04 +02:00
Birte Kristina Friesel
7815ac8813
Rebuild assets 2024-07-26 18:56:19 +02:00
Birte Kristina Friesel
47f76da4f8
Multi-backend support
Squashed commit of the following:

commit 92518024ba295456358618c0e8180bd8e996fdf1
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 df21c20c6e4c86454f8a9ac69121404415217f2a
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 be335cef07d0b42874f5fc1de4a1d13396e8e807
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:20:05 2024 +0200

    mention backend selection in API documentation

commit 9f41828fb4f18fd707e0087def3032e8d4c8d7d8
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 09714b4d89684b8331d0e96f564a4c7432318f70
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:11:44 2024 +0200

    disambiguation: pass correct hafas parameter

commit 8cdf1120fc32155dc6525be64601b7c10a9c7f52
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 7455653f541198e0e0a6d11aed421487ffdb6285
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:01:47 2024 +0200

    debug output

commit b9cda07f85601a58ea32dbdacdd5399f302db52b
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 2759d7258c37c7498905cfe19f6b4c4f6d16bd21
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
Birte Kristina Friesel
7811520a30
Stations: Remove get_latlon_by_name (no longer needed) 2024-07-21 19:32:35 +02:00
Birte Kristina Friesel
fa20c21ec2
Add lat/lon to pre-2.7.8 journeys; add eva where missing
This speeds up the map significantly and makes coordinates_by_station obsolete
2024-07-21 19:22:52 +02:00
Birte Kristina Friesel
de55368db7
Journey->add: store lat/lon for route at entry time, if available 2024-07-21 17:23:28 +02:00
Birte Kristina Friesel
7b1a4fc40d
line colors: Add Tram as alias for STR 2024-07-19 20:08:15 +02:00
Birte Kristina Friesel
f0b6814200
HAFAS: Add get_service wrapper 2024-07-18 18:37:33 +02:00
Birte Kristina Friesel
07ab3f4e9b
store lat/lon along with route
This increases resilience against EVA ID reuse
2024-07-08 21:05:21 +02:00
Birte Kristina Friesel
9e4a6e5ce6
update cpanfile.snapshot 2024-07-05 17:40:45 +02:00
Birte Kristina Friesel
c5bea4e866
release assets 2024-06-30 14:37:15 +02:00
Birte Kristina Friesel
6cc8ddf33d
rebuild assets 2024-06-30 14:36:53 +02:00
Birte Kristina Friesel
d87fdbff45
increase clickable area of timeline link 2024-06-30 14:36:24 +02:00
Birte Kristina Friesel
20ad04a41f
release assets 2024-06-24 17:18:19 +02:00
Birte Kristina Friesel
198d363b23
rebuild assets 2024-06-24 17:17:35 +02:00
Birte Kristina Friesel
8be3c44ca6
geolocation: correctly reference hafas variable
(copy-paste error)

Closes #146
2024-06-24 17:16:29 +02:00
Birte Kristina Friesel
9e3d0acf93
IRIS: Use EVA ID rather than DS100 code for backend requests 2024-06-23 16:27:54 +02:00
Birte Kristina Friesel
1db4f4cd43
work: give bodged background tasks some time to complete 2024-06-23 12:47:41 +02:00
Birte Kristina Friesel
1184d84827
always use HAFAS for traewelling → travelynx 2024-06-23 10:28:51 +02:00
Birte Kristina Friesel
c133815f6c
release assets 2024-06-21 21:13:56 +02:00
Birte Kristina Friesel
c284b93154
rebuild assets 2024-06-21 21:12:46 +02:00
Birte Kristina Friesel
11139fb5f5
geolocation: fix IRIS/HAFAS icons 2024-06-21 21:12:35 +02:00
Birte Kristina Friesel
bd24f1f2f4
oopsie
Closes #144
2024-06-21 20:43:36 +02:00
Birte Kristina Friesel
cb8964fb3c
add_route_timestamps: use $train->id rather than in_transit id
this avoids a race condition when the worker requests all current checkins and
takes a while before getting to update the data
2024-06-21 18:27:37 +02:00
Birte Kristina Friesel
7e4944614c
about: Remove 404-ing link for station data
Closes #143
2024-06-18 06:38:17 +02:00
Birte Kristina Friesel
d7fd521899
InTransit: allow setting data in add call 2024-06-15 22:03:36 +02:00
Birte Kristina Friesel
7466d252fb
Release v2.7 2024-06-15 17:51:02 +02:00
Birte Kristina Friesel
9b256f0f02
remove service / sb_template selection; hardcode DBF with variable hafas flag 2024-06-15 17:50:56 +02:00
Birte Kristina Friesel
b00c3698b2
traewelling: increase latency between traewelling.de requests 2024-06-15 10:43:47 +02:00
Birte Kristina Friesel
c105bc4e40
recent journeys: use hafas=DB as well 2024-06-15 10:43:34 +02:00
Birte Kristina Friesel
38f537bf59
Use hafas=DB rather than hafas=1 2024-06-15 10:36:18 +02:00
Birte Kristina Friesel
84a3d282c1
work,traewelling: consistent debug output if maintenance file is present 2024-06-15 08:06:28 +02:00
Birte Kristina Friesel
f9664856c7
work: _really_ do not execute any database actions in maintenance mode 2024-06-14 21:49:49 +02:00
Birte Kristina Friesel
2d72ff8fc9
use 'maintenance' file to stop background jobs when running DB upgrades 2024-06-12 21:53:35 +02:00
Birte Kristina Friesel
0b725cbf66
history: it's Fahrten, not Zugfahrten. 2024-06-10 21:53:02 +02:00
Birte Kristina Friesel
c290077471
add journey: return HTTP 400 on input error 2024-06-10 21:51:56 +02:00
Birte Kristina Friesel
c969019bb3
tests: EMST has been renamed to EMSTP. 2024-06-09 10:17:04 +02:00
Birte Kristina Friesel
83a69dcd74
adjust map links for # in HAFAS IDs 2024-06-09 09:33:46 +02:00
Birte Kristina Friesel
a74191efc3
Increate train_id length to account for DB HAFAS update 2024-06-09 09:23:26 +02:00
Birte Kristina Friesel
f71348a8a8
Store journey backend; do not rely on '|' in ID to distinguish IRIS/HAFAS
This is in preparation for supporting multiple HAFAS backends, and possibly
EFA and RIS::Journeys.
2024-06-08 22:18:31 +02:00
Birte Kristina Friesel
c969424c2d
... derp 2024-06-06 19:40:59 +02:00
Birte Kristina Friesel
14023ad185
traewelling pull sync requires user_name to be set 2024-06-06 18:01:34 +02:00
Birte Kristina Friesel
40cbfd62df
allow force checkouts even in case of route mismatches 2024-06-06 17:57:15 +02:00
Birte Kristina Friesel
c3a43725d4
traewelling: trace missing username bug 2024-06-06 06:41:52 +02:00
Birte Kristina Friesel
41cc5f3c25
work: check arr on arr, not on dep 2024-06-02 11:47:19 +02:00