Commit graph

997 commits

Author SHA1 Message Date
Daniel Friesel
86e0108649
maintenance: traewelling and webhooks TODO has been resolved a while ago 2022-07-10 10:42:15 +02:00
Daniel Friesel
105fc8a4a1
maintenance: show details when about to delete a large amount of UIDs 2022-07-10 10:42:05 +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
40ff05aefe
traewelling pull: skip API request for checked-in users 2022-07-09 19:39:01 +02:00
Daniel Friesel
7587cf4277
munin: add push sync stats 2022-07-09 16:16:08 +02:00
Daniel Friesel
e1a0a6e132
munin: add traewelling pull sync stats 2022-07-09 16:04:29 +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
5ce3b9755e
update cpanfile.snapshot 2022-07-01 20:11:02 +02:00
Daniel Friesel
ac6fecab7b
update old_station_names for IRIS 1.66 2022-07-01 20:00:12 +02:00
Daniel Friesel
18c575f6fe
Traewelling: Use newly added EVA IDs for station mapping 2022-05-28 11:35:44 +02:00
Daniel Friesel
7f8e7a1a5f
limit number of concurrent traewelling requests to five per second 2022-05-27 12:04:51 +02:00
Leonard Janis Robert König
3468e2ef36 landingpage: Fix typo 2022-04-17 19:16:47 +02:00
Daniel Friesel
8422ae24a3
update cpanfile.snaphsot 2022-04-03 16:34:57 +02:00
Daniel Friesel
f431897ec3
add 2022 station renames 2022-04-03 11:19:43 +02:00
Daniel Friesel
5ff9e5c7a1
history map: allow filtering by train type 2022-04-02 18:14:21 +02:00
Daniel Friesel
5dfbdd8644
history map: add filter by date 2022-04-02 15:24:39 +02:00
Daniel Friesel
5cd25d442f
hafas: more generic fix for invalid XML 2022-03-30 18:29:00 +02:00
Daniel Friesel
13b4572a2f
limit password length to 10000 characters
that should be sufficient…
2022-03-07 18:12:43 +01: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
537d3f4aa5
Merge pull request #55 from thisjade/master
contrib: add Polybar status module
2022-02-20 22:51:36 +01:00
Daniel Friesel
0f7101ecd6
polybar: add link to documentation 2022-02-20 22:46:31 +01:00
Daniel Friesel
f90f9c24c9
rename train.sh to polybar .sh (so it is consistent with i3bar-snippet) 2022-02-20 22:46:18 +01:00
Jade
d44b99e75e
mein Travelynx Polybar Module
Infos zur Konfiguration auf https://github.com/thisjade/TravelynxPolybar/blob/main/README.md
2022-02-20 22:39:26 +01:00
Daniel Friesel
01aec7e977
fix ajax refresh of public status card (trim .html suffix) 2022-02-20 21:45:51 +01:00
Daniel Friesel
209e291821
Move webhook database queries to Users model 2022-02-20 17:35:30 +01:00
Daniel Friesel
0d108e4334
work: move DB manipulation to InTransit helper 2022-02-20 13:30:51 +01:00
Daniel Friesel
15b510de32
worker: run maintenance every 10 hours 2022-02-19 16:32:43 +01:00
Daniel Friesel
8ec78343e7
Update docker setup. It's simple, and it works, but it's not best practice
Closes #4
2022-02-19 16:32:34 +01:00
Daniel Friesel
4233dd1d73
update cpanfile.snapshot 2022-02-19 05:53:53 +01:00
Daniel Friesel
ea32573758
changelog: add base_url note 2022-02-18 17:28:08 +01:00
Daniel Friesel
01053f9d41
maintenance: Log deletion notification to stdout 2022-02-18 17:21:49 +01:00
Daniel Friesel
582bfbe661
Traewelling: more consistent error messages 2022-02-17 21:40:47 +01:00
Daniel Friesel
6d3a0f8649
prepare changelog for v1.22 2022-02-16 21:40:13 +01:00
Daniel Friesel
6e95180a3c
handle missing 'base_url' in travelynx.conf 2022-02-16 21:29:28 +01:00
Daniel Friesel
167b01fa42
link traewelling profile from travelynx profile; show traewelling status 2022-02-16 20:56:28 +01:00
Daniel Friesel
ef3252863e
Traewelling::get: Use named args 2022-02-16 20:39:49 +01:00
Daniel Friesel
8f906da9c2
traewelling: log an error if pull sync fails 2022-02-16 20:39:00 +01:00
Daniel Friesel
faf8952b87
Send inactivity notification prior to account deletion 2022-02-14 21:58:30 +01:00
Daniel Friesel
6fc21cac41
Use correct base URL when running a command job (work/maintenance) 2022-02-14 21:41:32 +01:00
Daniel Friesel
170c7e420e Controller/Account: refactor mail notifications into separate functions 2022-01-19 19:25:03 +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
71fa446800
traewelling sync: push first, then pull 2022-01-08 10:46:31 +01:00
clonejo
0ff4ad2f8c contrib: switch displayed times from scheduled times to predicted times
ie. times now include the delay

This code was written at +80 …
2021-12-26 21:49:03 +01:00
Daniel Friesel
879b3b3815 fix caching fuckup introduced in 2e5a1b0a79 2021-12-12 17:24:24 +01:00
Daniel Friesel
7bb1f4fea0 update cpanfile.snapshot 2021-12-12 17:23:53 +01:00
Daniel Friesel
e8054faf76 checkout: throw an error when called with empty $station 2021-12-12 17:13:51 +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
a897144459 Update old_station_names for Fahrplanwechsel 2022 2021-12-12 11:02:52 +01:00
clonejo
3829b26fea contrib: JSON snippet generator for i3bar 2021-12-01 18:29:36 +01:00