Daniel Friesel
|
61b91fe4b2
|
log traewelling sync HTTP status to influxdb
|
2023-01-07 13:31:14 +01:00 |
|
Daniel Friesel
|
5c9adc4710
|
Traewelling: fix 'already checked in' error for API v1
|
2023-01-07 12:32:57 +01:00 |
|
Daniel Friesel
|
57a1ecbf76
|
traewelling checkin: add missing ibnr field to API payload
|
2023-01-07 12:29:56 +01:00 |
|
Daniel Friesel
|
e15778be0d
|
always store traewelling errors in debug mode
for the most part, they're not actionable. also, they're already available in
user logs.
|
2022-12-23 21:30:28 +01:00 |
|
Daniel Friesel
|
aa4e408df8
|
change 'ignoring polyline' log severity to debug
|
2022-12-12 20:00:48 +01:00 |
|
Daniel Friesel
|
fc9562f790
|
Improve "Betriebsstelle nicht bekannt" handling
|
2022-12-12 18:20:40 +01:00 |
|
Daniel Friesel
|
2f9ba6e017
|
switch to internal station database; add out-of-service stations for old journeys
|
2022-12-07 19:42:48 +01:00 |
|
Daniel Friesel
|
2f7bdf99e8
|
Traewelling: Use API v1 for checkin as well
|
2022-11-10 17:50:31 +01:00 |
|
Daniel Friesel
|
fd805597f5
|
HAFAS: filter out border stations
|
2022-11-09 18:17:05 +01:00 |
|
Daniel Friesel
|
d75ae5eb45
|
travelynx no longer requires XML::LibXML
|
2022-11-09 18:15:18 +01:00 |
|
Daniel Friesel
|
c26c8820f2
|
Switch to internal HAFAS client for connection details
|
2022-11-09 18:14:07 +01:00 |
|
Daniel Friesel
|
528f59dbd2
|
obtain polylines via mgate (T-S-DE-HAFAS)
|
2022-11-05 22:01:51 +01:00 |
|
Daniel Friesel
|
087d3871e1
|
Use Travel::Status::DE::HAFAS instead of traininfo.exe for journey details
|
2022-11-05 19:19:52 +01:00 |
|
Daniel Friesel
|
bde6346401
|
Traewelling: Use API v1 for login/logout. v1 checkin does not work yet.
|
2022-10-31 20:58:27 +01:00 |
|
Daniel Friesel
|
208b818d7c
|
HAFAS->get_json_p: accept cache and encoding parameters
|
2022-09-24 15:01:24 +02:00 |
|
Daniel Friesel
|
0e14df21d2
|
traewelling: more detailed error messages
|
2022-08-17 21:51:24 +02:00 |
|
Daniel Friesel
|
c348b2dff8
|
log requested station when throwing an ambiguous station name error
|
2022-08-01 20:03:34 +02:00 |
|
Daniel Friesel
|
bb6acc0c6b
|
Use async IRIS API for /s/
|
2022-07-26 10:41:44 +02:00 |
|
Daniel Friesel
|
b3d06a8eb4
|
HAFAS: Borders may be annotated as (Gr) or ...(...)Gr
|
2022-07-10 20:07:02 +02:00 |
|
Daniel Friesel
|
a88dea059b
|
Traewelling Pull: Only fetch most recent status
This feature was recently added to Traewelling and should improve
efficiency on all sides.
|
2022-07-09 23:10:56 +02:00 |
|
Daniel Friesel
|
85f4e5b763
|
Traewelling: Custom log message für 409 Conflict; include raw error otherwise
|
2022-07-03 12:14:38 +02:00 |
|
Daniel Friesel
|
3082316697
|
Traewelling: Fix utf8 in log messages
|
2022-07-03 12:13:58 +02:00 |
|
Daniel Friesel
|
18c575f6fe
|
Traewelling: Use newly added EVA IDs for station mapping
|
2022-05-28 11:35:44 +02:00 |
|
Daniel Friesel
|
5cd25d442f
|
hafas: more generic fix for invalid XML
|
2022-03-30 18:29:00 +02:00 |
|
Daniel Friesel
|
e2e33de7e1
|
Traewelling: checkin: HTTP 401 is mostly harmless, too
401 typically indicates an expired login token
|
2022-03-06 23:13:51 +01:00 |
|
Daniel Friesel
|
582bfbe661
|
Traewelling: more consistent error messages
|
2022-02-17 21:40:47 +01:00 |
|
Daniel Friesel
|
167b01fa42
|
link traewelling profile from travelynx profile; show traewelling status
|
2022-02-16 20:56:28 +01:00 |
|
Daniel Friesel
|
faf8952b87
|
Send inactivity notification prior to account deletion
|
2022-02-14 21:58:30 +01:00 |
|
Daniel Friesel
|
1233796866
|
Traewelling: Use API v1 for pull sync
API v0 has occasional performance issues and is not a preferable
maintenance target
|
2022-01-08 14:36:31 +01:00 |
|
Daniel Friesel
|
879b3b3815
|
fix caching fuckup introduced in 2e5a1b0a79
|
2021-12-12 17:24:24 +01:00 |
|
Daniel Friesel
|
2e5a1b0a79
|
DBDB: only use apps-bahn wagon order API for now
|
2021-12-12 16:38:26 +01:00 |
|
Daniel Friesel
|
ed0054fa50
|
Allow usage of custom hafas-rest-api instances
|
2021-10-30 10:02:58 +02:00 |
|
Daniel Friesel
|
37a0b8f2ab
|
Handle another case of funky HAFAS html ("foo <> bar")
|
2021-07-12 19:16:14 +02:00 |
|
Daniel Friesel
|
7b01cae7d5
|
Pass scheduled arrival and departure times to Traewelling API
This ensures unambiguous checkins for ring lines. See
eaf975a333
|
2021-07-01 19:44:09 +02:00 |
|
Daniel Friesel
|
9221ddce85
|
HAFAS: Work around yet another case of invalid XML
|
2021-06-05 14:17:49 +02:00 |
|
Daniel Friesel
|
16c1d12373
|
remove arbitrary HTML tags from HAFAS HIMMessage attribute content
|
2021-04-24 09:11:18 +02:00 |
|
Daniel Friesel
|
11727e0f99
|
*sigh* oh hafas, you so hafas
|
2021-03-29 20:58:35 +02:00 |
|
Daniel Friesel
|
a21826a055
|
Traewelling: Ignore HTTP 406 on checkin as well
HTTP 406 indicates that a user has not accepted the ToS / privacy policy
|
2021-02-21 21:13:09 +01:00 |
|
Daniel Friesel
|
3f33341a2e
|
HAFAS: Remove all illegal linebreaks from attributes, not just the first
|
2021-02-06 18:06:09 +01:00 |
|
Daniel Friesel
|
6c015a91b8
|
Traewelling: Do not warn on 409 Conflict
|
2021-02-06 16:34:03 +01:00 |
|
Daniel Friesel
|
9223ba5fa1
|
fall back to apps-bahn if ist-wr does not know about a train
|
2021-02-06 12:31:35 +01:00 |
|
Daniel Friesel
|
5b1841ccce
|
HAFAS: Handle <br> tags in HTML attributes
|
2021-02-06 12:13:25 +01:00 |
|
Daniel Friesel
|
0088f11eb0
|
Remove workaround for https://github.com/Traewelling/traewelling/issues/72
Issue has been fixed
|
2021-02-02 18:20:49 +01:00 |
|
Daniel Friesel
|
5bef0bdda9
|
Switch to a more performant wagon order backend
|
2021-02-02 18:17:45 +01:00 |
|
Daniel Friesel
|
a4ff5e8ad8
|
Switch to AGPL3+
|
2021-01-29 18:32:13 +01:00 |
|
Daniel Friesel
|
db39b2a177
|
Handle invalid HAFAS XML containing "Wagen \d+ & \d+"
|
2021-01-05 22:27:46 +01:00 |
|
Daniel Friesel
|
8b86d0680a
|
Helper/IRIS: fex error message encoding (use utf8)
|
2020-12-09 21:12:10 +01:00 |
|
Daniel Friesel
|
b70ecc7c7c
|
Add a bunch of licensing data
|
2020-11-27 22:12:56 +01:00 |
|
Daniel Friesel
|
5e96745121
|
HAFAS: Distinguish between disguised HTTP 404 and invalid XML
|
2020-11-06 11:23:22 +01:00 |
|
Daniel Friesel
|
c70280a935
|
Merge HAFAS XML fix from DBF
|
2020-10-25 16:35:43 +01:00 |
|