summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2022-02-16handle missing 'base_url' in travelynx.confDaniel Friesel-1/+9
2022-02-16link traewelling profile from travelynx profile; show traewelling statusDaniel Friesel-6/+29
2022-02-16Traewelling::get: Use named argsDaniel Friesel-6/+8
2022-02-16traewelling: log an error if pull sync failsDaniel Friesel-0/+6
2022-02-14Send inactivity notification prior to account deletionDaniel Friesel-4/+94
2022-02-14Use correct base URL when running a command job (work/maintenance)Daniel Friesel-4/+15
2022-01-19Controller/Account: refactor mail notifications into separate functionsDaniel Friesel-127/+174
2022-01-08Traewelling: Use API v1 for pull sync1.21.4Daniel Friesel-21/+19
API v0 has occasional performance issues and is not a preferable maintenance target
2022-01-08traewelling sync: push first, then pullDaniel Friesel-24/+24
2021-12-12fix caching fuckup introduced in 2e5a1b0a79e3a54e159cf598b2a0d398109a7bf41.21.3Daniel Friesel-8/+14
2021-12-12checkout: throw an error when called with empty $stationDaniel Friesel-14/+19
2021-12-12DBDB: only use apps-bahn wagon order API for nowDaniel Friesel-5/+4
2021-10-30Account: do not disclose denylist filename on open errorDaniel Friesel-9/+13
2021-10-30Allow usage of custom hafas-rest-api instancesDaniel Friesel-6/+12
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