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
Birte Kristina Friesel
f0e169cbfd
Profile: remove journeys from JSON fornow
2024-06-02 11:19:46 +02:00
Birte Kristina Friesel
7b8584473b
Profile: Add JSON renderer
2024-05-31 10:59:41 +02:00
Birte Kristina Friesel
5a72c60307
work: fix HAFAS arrival wagonorder/stationinfo request logic
2024-05-30 11:54:21 +02:00
Birte Kristina Friesel
918ed6ab1f
DBDB: Add some debug statements
2024-05-30 11:54:02 +02:00
Birte Kristina Friesel
9442572084
DBDB: use realtime cache for carriage composition requests
2024-05-30 11:53:33 +02:00
Birte Kristina Friesel
2576a463db
perform stationinfo requests for hafas checkins
2024-05-30 11:25:52 +02:00
Birte Kristina Friesel
85c7861bc1
request wagon orders for HAFAS checkins
2024-05-29 21:49:31 +02:00
Birte Kristina Friesel
1ad8fa3a51
Move wagonorder request to a separate helper
...
This is in preparation for HAFAS wagonorder support
2024-05-29 20:17:01 +02:00
Birte Kristina Friesel
eef53c6940
update cpanfile.snapshot
2024-05-28 18:43:27 +02:00
Birte Kristina Friesel
5a2285bd59
check train/trip id when updating associated data
...
this avoid race conditions when a user changes their checkin between the time
of request (old trip id) and the time of data update (new trip id). These
could lead to funny effects such as buses suddenly having S-Bahn carriage
formations.
2024-05-24 21:39:09 +02:00
Birte Kristina Friesel
f7a9213961
add_route_timestamps: IRIS route may be shorter than HAFAS route
2024-05-22 19:20:39 +02:00
Birte Kristina Friesel
4764fd9a6b
route_after: handle passing the same stop more than once
2024-05-22 19:08:35 +02:00
Birte Kristina Friesel
cd6df2aa9b
Use HAFAS routes as single source of truth. Overwrite initial IRIS route.
2024-05-22 19:04:57 +02:00
Birte Kristina Friesel
dc4f61c2aa
InTransit: postprocess: simplify DateTime handling a bit
2024-05-09 08:33:55 +02:00
Birte Kristina Friesel
c382a121a5
lock DBWagenreihung to 0.12
2024-04-28 13:46:51 +02:00
Birte Kristina Friesel
6d07d0a180
/status: return JSON for 404 errors as well
2024-04-26 17:48:04 +02:00
Birte Kristina Friesel
0a85971565
/status: respond to .json as well as "Accept: application/json"
2024-04-26 17:47:32 +02:00
Birte Kristina Friesel
8d7e66cdc8
release assets
2024-04-23 17:14:06 +02:00
Birte Kristina Friesel
370d8f4a20
changelog: layout
2024-04-23 17:13:34 +02:00
Birte Kristina Friesel
9435153367
rebuild assets
2024-04-23 17:13:24 +02:00
Birte Kristina Friesel
c4c93e3776
journey deletion verification: we're not limited to trains anymore
...
Closes #133
2024-04-23 17:12:48 +02:00
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