Birte Kristina Friesel
99a8956032
Use "Steig" rather than "Gleis" for bus platforms
2024-08-30 16:55:13 +02:00
Birte Kristina Friesel
5192d997de
get_travel_distance: intermediate: Handle destination renames in sanity check
...
Also related to #160
2024-08-27 19:06:19 +02:00
Birte Kristina Friesel
f8542fffcd
map, get_travel_distance: Prefer EVA ID over name for route matches
...
Station names frequently change, so the EVA ID is more robust
Closes #160
2024-08-26 20:44:46 +02:00
Birte Kristina Friesel
d189f6f0d2
get_travel_distance: no need for debug output if there is no polyline
2024-08-25 10:47:39 +02:00
Birte Kristina Friesel
520e645600
Suggest backends based on coverage and latest checkout coordinates
...
References #156
2024-08-23 22:44:02 +02:00
Birte Kristina Friesel
298b099097
get_travel_distance: do not overwrite {to,from}_eva with undef
2024-08-17 21:29:51 +02:00
Birte Kristina Friesel
9b7013907b
stats, map: deal with multiple EVA IDs mapping to the same station name
2024-08-15 17:38:13 +02:00
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
655f69c2e9
get_travel_distance: always return beeline distance
2024-08-14 22:00:15 +02:00
Birte Kristina Friesel
ba79f62f67
get_connection_targets: always return a list
...
Closes #152
Closes #153
2024-08-09 12:20:06 +02:00
Birte Kristina Friesel
7e9f6bdf90
dumpstops: provide backend name and type rather than just opaque IDs
2024-08-07 12:13:15 +02:00
Birte Kristina Friesel
1bb348ad9a
journey->add: pass backend_id on to station search for route
...
Ref: #150
2024-08-04 20:41:25 +02:00
Birte Kristina Friesel
0c5908e722
manual journey entry: hardcode DB (HAFAS) for station selection
...
TODO: Add a dropdown to select different backends
Closes #150
2024-08-04 08:49:57 +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
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
9b256f0f02
remove service / sb_template selection; hardcode DBF with variable hafas flag
2024-06-15 17:50:56 +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
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
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
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
d47195a0cf
Switch to Travel::Status::DE::HAFAS 5.x
2023-12-27 10:59:35 +01:00
Birte Kristina Friesel
cbc433f76c
suggested connections: avoid fetching IRIS trains via HAFAS
2023-10-01 10:49:36 +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
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
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
f4d71b4d9f
obtain autocompletion from database
2023-08-26 09:17:28 +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
5d330a7738
recent targets: distinguish hafas/iris
2023-08-16 09:31:01 +02:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support
2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
8ec002f041
Store traewelling refresh token in database
2023-08-09 19:28:36 +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
86ddfe5c97
Users->delete: delete relations as well
2023-07-19 09:17:19 +02:00
Birte Kristina Friesel
fef9ebe0b2
followee list: show if accounts are following back
2023-07-18 15:47:45 +02:00
Birte Kristina Friesel
19cd9f7a8d
account: add a list of sent follow requests
2023-07-16 23:01:23 +02:00
Birte Kristina Friesel
b0bb69d87e
show followee checkins in departure board
2023-07-16 10:30:47 +02:00