Birte Kristina Friesel
119f2ea96a
IRIS checkout: do not overwrite HAFAS route with IRIS route
...
The IRIS route may differ from the HAFAS route in case of diversions,
causing travelynx to lose real-time data, coordinates, and polyline when
the follow-up add_route_timestamps call is not made.
2024-08-14 22:18:21 +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
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
d7fd521899
InTransit: allow setting data in add call
2024-06-15 22:03:36 +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
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
4764fd9a6b
route_after: handle passing the same stop more than once
2024-05-22 19:08:35 +02:00
Birte Kristina Friesel
dc4f61c2aa
InTransit: postprocess: simplify DateTime handling a bit
2024-05-09 08:33:55 +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
Birte Kristina Friesel
c9e5bfae62
store tz_offset in route data if present
2024-04-03 13:58:48 +02:00
Birte Kristina Friesel
d47195a0cf
Switch to Travel::Status::DE::HAFAS 5.x
2023-12-27 10:59:35 +01: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
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
0604dd80f8
WIP: HAFAS support
2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
b0bb69d87e
show followee checkins in departure board
2023-07-16 10:30:47 +02:00
Birte Kristina Friesel
40cd1d06fe
postprocess timeline; move user-related parts to get_user_status
2023-07-15 19:07:21 +02:00
Birte Kristina Friesel
3c59efe2d4
timeline: minimum visibility is followers-only, not unlisted
2023-07-15 16:12:09 +02:00
Birte Kristina Friesel
b446b68e67
Move InTransit post-processing to InTransit module
2023-07-15 13:28:54 +02:00
Birte Kristina Friesel
d43c44e81c
add view for followees in transit
2023-07-15 08:36:26 +02:00
Derf Null
a608ca6781
update ALL the copyright notices!
2023-07-03 17:59:25 +02:00
Derf Null
8cb0de1b70
compute effective visibility in database view
2023-06-26 20:53:08 +02:00
Derf Null
085d77a1fa
time to flush the name cache
2023-06-24 18:36:59 +02:00
Derf Null
f79e34fb62
worker: select on arr and dep eva for all arr/dep updates
...
still missing (TODO): add_route_timestamps
2023-03-10 16:57:31 +01:00
Daniel Friesel
6d261197e3
set visibility per journey (wip)
...
some odds and ends left to polish, but ready for testing
2023-02-27 22:14:54 +01:00
Daniel Friesel
fb3878665b
update ze copyright
2023-02-19 09:35:38 +01:00
Daniel Friesel
eb1ed1bb48
do not overwrite route timestamps when updating route data
2023-01-17 19:11:38 +01:00
Daniel Friesel
0d108e4334
work: move DB manipulation to InTransit helper
2022-02-20 13:30:51 +01:00
Daniel Friesel
a4ff5e8ad8
Switch to AGPL3+
2021-01-29 18:32:13 +01:00
Daniel Friesel
b70ecc7c7c
Add a bunch of licensing data
2020-11-27 22:12:56 +01:00
Daniel Friesel
b1348c7d4a
move in_transit queries to an InTransit model class
2020-10-11 19:38:01 +02:00