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
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
9666a2c6bc
Do not warn on HAFAS "extra content at the end" (that's just an in-band 404)
2021-02-08 18:08:19 +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
93ca0e6e75
link to source code on about page
2021-02-02 18:43:48 +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
067b3b517c
documentation++
2021-01-17 18:24:11 +01:00
Daniel Friesel
40072cf9ca
update autocomplete station list
2021-01-09 20:51:21 +01:00
Daniel Friesel
f0e38cad7e
update cpanfile.snapshot
2021-01-09 20:47:19 +01:00
Daniel Friesel
db39b2a177
Handle invalid HAFAS XML containing "Wagen \d+ & \d+"
2021-01-05 22:27:46 +01:00
Daniel Friesel
5e29b99d61
remove superfluous ->app call
2020-12-17 20:58:47 +01:00
Daniel Friesel
5b7086bcd9
update station list for autocompletion
2020-12-13 21:51:59 +01:00
Daniel Friesel
9477ceae7f
dockerfile: respect cpanfile.snapshot
2020-12-13 21:51:04 +01:00
Daniel Friesel
0f079921da
automatically update autocomplete station list
2020-12-13 21:50:22 +01:00
Daniel Friesel
3176e452db
update cpanfile.snapshot
2020-12-13 20:51:18 +01:00
Daniel Friesel
c26acc1b9a
add Winterfahrplan 2021 name changes
2020-12-13 13:07:42 +01:00