summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2021-10-23Switch from Geo::Distance (deprecated) to GIS::DistanceDaniel Friesel-10/+10
2021-09-13Add account add / delete CLI for sites with web registration disabledDaniel Friesel-2/+133
2021-09-12allow registration to be disabled via configDaniel Friesel-2/+5
2021-09-03Ensure that database timezone matches IRIS time zone1.21.1Daniel Friesel-0/+9
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-08-20allow registration to be denied for certain IPs, e.g. known spammersDaniel Friesel-0/+16
(yes, there are actually spambots flooding people with unsolicited registration e-mails)
2021-07-12Handle another case of funky HAFAS html ("foo <> bar")1.20.3Daniel Friesel-0/+8
2021-07-01Pass scheduled arrival and departure times to Traewelling API1.20.2Daniel Friesel-1/+30
This ensures unambiguous checkins for ring lines. See https://github.com/Traewelling/traewelling/commit/eaf975a3337a151c4759428747342ce49eadea47
2021-06-21Journeys->add: Support complete routes, not just intermediate stops1.20.1Daniel Friesel-9/+19
2021-06-14Add explanation to name change pageDaniel Friesel-4/+17
2021-06-13move user name validation to Users modelDaniel Friesel-29/+34
2021-06-13Model/Users: Remove superfluous "check_if_" prefix from check functionsDaniel Friesel-5/+5
2021-06-12allow users to change their nameDaniel Friesel-75/+159
2021-06-12user_status: Use first available dep_infoDaniel Friesel-1/+1
2021-06-05HAFAS: Work around yet another case of invalid XMLDaniel Friesel-2/+6
2021-04-24remove arbitrary HTML tags from HAFAS HIMMessage attribute content1.19.13Daniel Friesel-1/+8
2021-04-20munin: add pending_user_count1.19.12Daniel Friesel-0/+3
2021-04-20attempt to prevent registration spam1.19.11Daniel Friesel-0/+14
2021-04-05munin: Do not crash on CET -> CEST DST transition1.19.10Daniel Friesel-15/+19
2021-04-05munin: fix date range calculationDaniel Friesel-7/+9
TODO: handle CET -> CEST transition (there's a day each year where 2am does not exist and DateTime does not like it)
2021-03-29*sigh* oh hafas, you so hafas1.19.9Daniel Friesel-1/+2
2021-03-08also show wagon order when sections are unknownDaniel Friesel-1/+0
2021-03-07Move incomplete checkin removal from "maintenance" to "work" taskDaniel Friesel-11/+11
2021-02-21Traewelling: Ignore HTTP 406 on checkin as well1.19.7Daniel Friesel-1/+1
HTTP 406 indicates that a user has not accepted the ToS / privacy policy
2021-02-08Do not warn on HAFAS "extra content at the end" (that's just an in-band 404)Daniel Friesel-1/+3
2021-02-06HAFAS: Remove all illegal linebreaks from attributes, not just the first1.19.6Daniel Friesel-2/+5
2021-02-06Traewelling: Do not warn on 409 ConflictDaniel Friesel-1/+6
2021-02-06fall back to apps-bahn if ist-wr does not know about a train1.19.5Daniel Friesel-9/+17
2021-02-06HAFAS: Handle <br> tags in HTML attributesDaniel Friesel-0/+5
2021-02-02Remove workaround for https://github.com/Traewelling/traewelling/issues/72Daniel Friesel-17/+7
Issue has been fixed
2021-02-02Switch to a more performant wagon order backendDaniel Friesel-1/+1
2021-01-29Switch to AGPL3+Daniel Friesel-23/+23
2021-01-05Handle invalid HAFAS XML containing "Wagen \d+ & \d+"Daniel Friesel-0/+2
2020-12-17remove superfluous ->app callDaniel Friesel-1/+1
2020-12-09Helper/IRIS: fex error message encoding (use utf8)Daniel Friesel-0/+3
2020-12-07warn if a connecting train may not be reachedDaniel Friesel-1/+29
2020-12-03use stats-enabled list view for year list as well1.18.12Daniel Friesel-2/+17
2020-12-03regularly generate statistics in the background1.18.11Daniel Friesel-26/+109
2020-11-28move statistics cache to a separate model classDaniel Friesel-234/+296
2020-11-27Add a bunch of licensing dataDaniel Friesel-0/+67
2020-11-21month overview: distinguish between no stats and no journeys1.18.10Daniel Friesel-3/+3
2020-11-21testing a more organized history navigation1.18.9Daniel Friesel-5/+86
2020-11-09another log level adjustmentDaniel Friesel-1/+7
2020-11-08add_route_timestamps: adjust log severity1.18.8Daniel Friesel-1/+6
we can't do anything about "trainlink not found", so it really shouldn't be a warning.
2020-11-06HAFAS: Distinguish between disguised HTTP 404 and invalid XMLDaniel Friesel-3/+13
2020-10-25Merge HAFAS XML fix from DBF1.18.7Daniel Friesel-1/+6
2020-10-19work: Fix travelynx->Traewelling sync when several users are checked in1.18.5Daniel Friesel-2/+2
I made a derp
2020-10-17Traewelling: use the recently added login token expiry fieldDaniel Friesel-22/+28
2020-10-11Move remaining journeys queries to journeys model classDaniel Friesel-107/+161
2020-10-11maintenance: delete webhooks and traewelling entries1.18.2Daniel Friesel-0/+2
2020-10-11move in_transit queries to an InTransit model classDaniel Friesel-278/+503