summaryrefslogtreecommitdiff
path: root/lib/Travelynx
AgeCommit message (Collapse)AuthorLines
2023-08-16geosearch: always query iris and hafas stopsBirte Kristina Friesel-17/+46
2023-08-16recent targets: distinguish hafas/irisBirte Kristina Friesel-3/+4
2023-08-15station board: add iris / hafas linksBirte Kristina Friesel-1/+15
2023-08-14traveling: redirect hafas journeys to hafas=1Birte Kristina Friesel-3/+10
2023-08-13synchronize non-train checkins from traewelling to travelynxBirte Kristina Friesel-0/+2
2023-08-13WIP: HAFAS supportBirte Kristina Friesel-26/+308
2023-08-13influxdb: add stations statisticsBirte Kristina Friesel-1/+58
2023-08-09Store traewelling refresh token in database1.34.3Birte Kristina Friesel-15/+39
2023-08-09traewelling oauth: pass HTTP redirect_uri in development modeBirte Kristina Friesel-2/+4
2023-08-08sort timeline (descending by checkin timestamp, so most recent checkins first)1.34.2Birte Kristina Friesel-0/+47
2023-08-08Fix Traewelling OAuth2 behind reverse proxies1.34.1Birte Kristina Friesel-1/+6
a reverse proxy makes mojolicious believe that it is using HTTP, even though it is HTTPS.
2023-08-07Traewelling: replace legacy password login with OAuth2Birte Kristina Friesel-113/+81
This is a breaking change insofar as that traewelling support is no longer provided automatically, but must be enabled by providing a traewelling.de application ID and secret in travelynx.conf. However, as traewelling.de password login is deprecated and wil soon be disabled, travelynx would break either way. So we might or might not see travelynx 2.0.0 in the next days. Automatic token refresh is still todo, but that was the case for password login as well. Closes #64
2023-07-23convert checkout to promises (checkout_p)Birte Kristina Friesel-66/+122
2023-07-23checkout: remove with_related special caseBirte Kristina Friesel-6/+13
travelynx now always calls checkout with the database-provided arr_eva, so the edge case in which it provided a station that is not actually on the route of a train can no longer appear.
2023-07-22database: stations: make 'ds100' column optional.Birte Kristina Friesel-0/+12
HAFAS stations do not necessarily have ds100 codes
2023-07-19Users->delete: delete relations as well1.33.6Birte Kristina Friesel-9/+11
2023-07-18followee list: show if accounts are following back1.33.3Birte Kristina Friesel-2/+43
2023-07-16account: add a list of sent follow requestsBirte Kristina Friesel-26/+64
2023-07-16action#checkin: re-add auto checkout1.33.1Birte Kristina Friesel-0/+8
was removed from $self->checkin in 1074f248cc415a397f16d0328a8f45fa6a867513
2023-07-16show followee checkins in departure boardBirte Kristina Friesel-1/+13
2023-07-16cleanup; perltidyBirte Kristina Friesel-20/+14
2023-07-15add timeline / current checkinsBirte Kristina Friesel-1/+37
2023-07-15postprocess timeline; move user-related parts to get_user_statusBirte Kristina Friesel-152/+131
2023-07-15database: change maximum comment lengthBirte Kristina Friesel-8/+8
2023-07-15timeline: minimum visibility is followers-only, not unlistedBirte Kristina Friesel-1/+1
2023-07-15increase maximum comment lengthBirte Kristina Friesel-23/+23
2023-07-15Move InTransit post-processing to InTransit moduleBirte Kristina Friesel-0/+168
2023-07-15add view for followees in transitBirte Kristina Friesel-0/+76
2023-07-14Journeys->get_latest: Fix uninitialized value warningBirte Kristina Friesel-12/+16
2023-07-13get_pushable_accounts: obtain all values from in_transit_strBirte Kristina Friesel-8/+7
2023-07-13perltidyBirte Kristina Friesel-7/+21
2023-07-13Checkin: Use correct visibility when pushing to TräwellingnetworkException-1/+19
2023-07-09Api: use get_departures_pBirte Kristina Friesel-33/+32
2023-07-09station board: fix HTTP status and IRIS error handlingBirte Kristina Friesel-4/+9
2023-07-09IRIS->get_departures_p: return string in first rejection argumentBirte Kristina Friesel-0/+3
This is consistent with other promises within travelynx
2023-07-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-86/+104
2023-07-09HAFAS station board: fix station name displayBirte Kristina Friesel-3/+4
2023-07-03journeys: simplify visibily checkDerf Null-27/+1
2023-07-03update ALL the copyright notices!Derf Null-28/+28
2023-07-02show hours and minutes until arrival, not just minutesDerf Null-15/+17
2023-06-30Profile: remove unused compute_effective_visibility function1.32.8Derf Null-8/+0
2023-06-30Profile: refactor visibility checksDerf Null-96/+35
2023-06-29profile: use effective visibility from journey objectDerf Null-24/+20
2023-06-29profile: treat self as followerDerf Null-1/+4
2023-06-28Journey->add_from_in_transit: return ID of added journeyDerf Null-1/+2
2023-06-27journeys: return effective visibilityDerf Null-24/+31
2023-06-26compute effective visibility in database viewDerf Null-7/+83
2023-06-26use small stations database for some testsDerf Null-0/+8
2023-06-26Move hash_password to Model/UsersDerf Null-44/+31
2023-06-25Login: return HTTP 400 on invalid password or unconfirmed accountDerf Null-2/+10