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
f1ef2e472a
influxdb: per-backend stats
2024-07-26 19:20:50 +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
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
1db4f4cd43
work: give bodged background tasks some time to complete
2024-06-23 12:47:41 +02:00
Birte Kristina Friesel
b00c3698b2
traewelling: increase latency between traewelling.de requests
2024-06-15 10:43:47 +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
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
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
5a72c60307
work: fix HAFAS arrival wagonorder/stationinfo request logic
2024-05-30 11:54:21 +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
a72b6192ed
dumpstops: encode output as UTF-8
2024-04-07 11:23:47 +02:00
Birte Kristina Friesel
39ebc84e5f
add dumpstops command
2024-02-09 19:09:16 +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
d47195a0cf
Switch to Travel::Status::DE::HAFAS 5.x
2023-12-27 10:59:35 +01: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
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
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
6ca55f83b1
Database: create index on real_departure to speed up latest journey queries
2023-08-22 09:10:54 +02:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support
2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
944688cfff
influxdb: add stations statistics
2023-08-13 10:55:32 +02:00
Birte Kristina Friesel
8ec002f041
Store traewelling refresh token in database
2023-08-09 19:28:36 +02:00
Birte Kristina Friesel
db7e5faaf4
sort timeline (descending by checkin timestamp, so most recent checkins first)
2023-08-08 19:53:37 +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
38ad42b42c
convert checkout to promises (checkout_p)
2023-07-23 20:18:10 +02:00
Birte Kristina Friesel
9209cb292e
database: stations: make 'ds100' column optional.
...
HAFAS stations do not necessarily have ds100 codes
2023-07-22 18:03:46 +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
5006bf6249
database: change maximum comment length
2023-07-15 17:10:24 +02:00
Birte Kristina Friesel
d43c44e81c
add view for followees in transit
2023-07-15 08:36:26 +02:00
Birte Kristina Friesel
1074f248cc
use promises for checkin and traewelling_to_travelynx
2023-07-09 14:46:28 +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
16237bfe21
use small stations database for some tests
2023-06-26 20:18:27 +02:00
Derf Null
0702a0edca
Move hash_password to Model/Users
2023-06-26 19:50:49 +02:00
Derf Null
b44b770ec3
fine-graned visibility selection of history / past checkins
...
most notably, adds a 'history for followers only' mode
2023-06-24 21:25:14 +02:00
Derf Null
085d77a1fa
time to flush the name cache
2023-06-24 18:36:59 +02:00
Derf Null
bdc05e0b8e
fix missing join condition in followers view
2023-06-04 22:59:22 +02:00
Derf Null
34665da2a0
do not accept follows / follow requests by default
2023-06-04 19:05:20 +02:00
Derf Null
00eb6af1bd
expose follows / social interaction in frontend
2023-06-04 18:21:36 +02:00