Birte Kristina Friesel
d47195a0cf
Switch to Travel::Status::DE::HAFAS 5.x
2023-12-27 10:59:35 +01:00
Birte Kristina Friesel
6364751eb1
HAFAS: Use locationSearch rather than similar_stops_p
...
locationSearch uses mgate.exe, just like the regular departure board.
similar_stops_p relies on ajax-getstop.exe which may become unavailable sooner
rather than later.
2023-11-01 18:44:00 +01:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support
2023-08-13 12:51:15 +02:00
Derf Null
a608ca6781
update ALL the copyright notices!
2023-07-03 17:59:25 +02:00
Derf Null
085d77a1fa
time to flush the name cache
2023-06-24 18:36:59 +02:00
Derf Null
c3c7a0c78b
stationboard: add HAFAS support
2023-03-27 21:03:25 +02:00
Daniel Friesel
fb3878665b
update ze copyright
2023-02-19 09:35:38 +01:00
Daniel Friesel
4abc43b72e
change route/stop layout to [name, eva, {data}]
2023-01-15 16:37:32 +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
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
208b818d7c
HAFAS->get_json_p: accept cache and encoding parameters
2022-09-24 15:01:24 +02:00
Daniel Friesel
b3d06a8eb4
HAFAS: Borders may be annotated as (Gr) or ...(...)Gr
2022-07-10 20:07:02 +02:00
Daniel Friesel
5cd25d442f
hafas: more generic fix for invalid XML
2022-03-30 18:29:00 +02: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
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
3f33341a2e
HAFAS: Remove all illegal linebreaks from attributes, not just the first
2021-02-06 18:06:09 +01:00
Daniel Friesel
5b1841ccce
HAFAS: Handle <br> tags in HTML attributes
2021-02-06 12:13:25 +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
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
Daniel Friesel
b6330217f0
calculate tripid from trainsearch.exe.
...
Removes the need for an additional transport.rest request.
2020-10-11 12:04:33 +02:00
Daniel Friesel
fffe8dcdfa
Switch to transport.rest v5 for polyline requests
2020-10-11 11:34:39 +02:00
Daniel Friesel
4575beb6ff
HAFAS: Turn backend warnings into info messages
...
We can't do anything about them, after all
2020-10-08 20:05:31 +02:00
Daniel Friesel
870e4333a8
improve promise->reject error messages
2020-09-21 19:47:54 +02:00
Daniel Friesel
874de11298
handle rejected promises; do not accidentally duplicate rejections
2020-09-10 21:20:26 +02:00
Daniel Friesel
4171fe22ca
add DBDB helper for wagonorder and stationinfo
2020-09-06 12:55:25 +02:00
Daniel Friesel
adaf65dc63
HAFAS: Error handling, perltidy
2020-07-28 14:19:55 +02:00
Daniel Friesel
56c275875c
Move HAFAS helpers to a separate Helper module
2020-07-28 13:01:44 +02:00