Commit graph

754 commits

Author SHA1 Message Date
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
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
255d0610f1 Journeys->add: Support complete routes, not just intermediate stops 2021-06-21 17:54:09 +02:00
Daniel Friesel
21edf4a406 update cpanfile.snapshot 2021-06-20 16:18:40 +02:00
Daniel Friesel
0d2a53c80d Update station autocompletion for T-S-DE-IRIS v1.56 2021-06-20 12:19:26 +02:00
Daniel Friesel
f1f475f26f v1.20 2021-06-14 19:35:46 +02:00
Daniel Friesel
95674ee2ea Add explanation to name change page 2021-06-14 19:30:58 +02:00
Daniel Friesel
1803a1723c move user name validation to Users model 2021-06-13 08:48:08 +02:00
Daniel Friesel
bccdefbb7d add missing change_name template 2021-06-13 08:19:29 +02:00
Daniel Friesel
581aae081d Model/Users: Remove superfluous "check_if_" prefix from check functions 2021-06-13 06:20:21 +02:00
Daniel Friesel
6cee1e20ef allow users to change their name 2021-06-12 19:00:42 +02:00
Daniel Friesel
08abde269b user_status: Use first available dep_info 2021-06-12 17:33:16 +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
810945f8bc munin: add pending_user_count 2021-04-20 23:10:22 +02:00
Daniel Friesel
582e8b874c fix tests 2021-04-20 22:09:34 +02:00
Daniel Friesel
aad2a53459 attempt to prevent registration spam 2021-04-20 21:59:17 +02:00
Daniel Friesel
aabf3104b1 munin: Do not crash on CET -> CEST DST transition 2021-04-05 09:46:28 +02:00
Daniel Friesel
1f3b3c742c munin: fix date range calculation
TODO: handle CET -> CEST transition (there's a day each year where 2am does not
exist and DateTime does not like it)
2021-04-05 09:46:28 +02:00
Daniel Friesel
11727e0f99 *sigh* oh hafas, you so hafas 2021-03-29 20:58:35 +02:00
Daniel Friesel
74ae9825bf marudor.de train link: Use ISO8601 datetime; specify station eva id 2021-03-08 21:02:39 +01:00
Daniel Friesel
0358cd51d5 also show wagon order when sections are unknown 2021-03-08 21:02:19 +01:00
Daniel Friesel
574e83d567 Move incomplete checkin removal from "maintenance" to "work" task 2021-03-07 19:06:21 +01:00