Commit graph

776 commits

Author SHA1 Message Date
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
Kristian Stöckel
0117a04266 Fix url 2021-12-01 18:27:32 +01:00
Daniel Friesel
a64fcc4c08
traewelling: clarify that we're only syncing _future_ checkins 2021-10-30 10:07:08 +02:00
Daniel Friesel
ac3c70597d
Account: do not disclose denylist filename on open error 2021-10-30 10:03:40 +02:00
Daniel Friesel
ed0054fa50
Allow usage of custom hafas-rest-api instances 2021-10-30 10:02:58 +02:00
Daniel Friesel
2695442199
cpanfile: Do not hardcode IRIS version 2021-10-30 09:43:51 +02:00
Daniel Friesel
5dcc49fc06
update cpanfile.snapshot 2021-10-23 22:20:56 +02:00
Daniel Friesel
3dc5575d5a
Switch from Geo::Distance (deprecated) to GIS::Distance 2021-10-23 22:20:41 +02:00
Daniel Friesel
70c3a5d9c8
Geo::Distance::XS has been removed from CPAN; update cpanfile.snapshot 2021-10-09 22:41:44 +02:00
Daniel Friesel
a34a67b2f9
Add account add / delete CLI for sites with web registration disabled 2021-09-13 20:55:11 +02:00
Daniel Friesel
85fcf63dd8
Document registration settings
Registration can be disabled for the entire instance or blocked from certain
IPs (e.g. botnets trying to flood mailboxes with registration mails from all
online services they can find)
2021-09-12 11:43:56 +02:00
Daniel Friesel
32b2c941df
Bump T-S-DE-IRIS dependency to 1.60 2021-09-12 11:35:36 +02:00
Daniel Friesel
592eb15cab
add update.sh example script 2021-09-12 11:35:17 +02:00
Daniel Friesel
2f01ea6f0d Update station name autocompletion for T-S-DE-IRIS 1.60 2021-09-12 10:09:46 +02:00
Daniel Friesel
79b55c430d
allow registration to be disabled via config 2021-09-12 08:15:59 +02:00
Daniel Friesel
9d4f3f8ce1
Ensure that database timezone matches IRIS time zone
All travelynx and IRIS timestamps are Europe/Berlin. And the DateTime objects
know that they are Europe/Berlin. However, when inserting into a timestamp with
time zone column, Mojo::Pg or one of the backend DBI/DBD libraries does not
respect the time zone. So, UTC+1 or UTC+2 timestamps are treated as UTC+0,
resulting in major mayhem.
2021-09-03 20:24:54 +02:00
Daniel Friesel
564f2fb354 update changelog 2021-08-20 22:54:59 +02:00
Daniel Friesel
39ab6e57d3 allow registration to be denied for certain IPs, e.g. known spammers
(yes, there are actually spambots flooding people with unsolicited
registration e-mails)
2021-08-20 22:52:02 +02:00
Daniel Friesel
64e20b50cf Update autocompletion for T-S-DE-IRIS 1.59 2021-08-14 17:03:19 +02:00
Daniel Friesel
f9b25a56b3 footer: move "travelynx" link to the left 2021-08-08 09:39:32 +02:00
Daniel Friesel
84afb1bc2c departures: show annotation if no realtime data is available 2021-07-18 20:43:55 +02:00
Daniel Friesel
37a0b8f2ab Handle another case of funky HAFAS html ("foo <> bar") 2021-07-12 19:16:14 +02:00