summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2023-08-22select latest journey based on timestamp, not ID2.0.2Birte Kristina Friesel-1/+1
This avoids manually added past journeys messing with the latest travel target
2023-08-22Database: create index on real_departure to speed up latest journey queriesBirte Kristina Friesel-2/+12
2023-08-20sort HAFAS/IRIS stations by distanceBirte Kristina Friesel-3/+6
2023-08-19API: Support HAFAS checkin (via journeyID)Birte Kristina Friesel-6/+16
2023-08-19API: fix checkin with toStation and checkout endpointsBirte Kristina Friesel-24/+39
Broken by 38ad42b42cbf6da6254a2498a2fc553507cb3f18
2023-08-18manual station entry: HAFAS supportBirte Kristina Friesel-1/+11
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-14/+81
2023-08-13WIP: HAFAS supportBirte Kristina Friesel-35/+499
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/+103
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-252/+343
2023-07-23checkout: remove with_related special caseBirte Kristina Friesel-41/+25
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-15remove debug outputBirte Kristina Friesel-3/+0
2023-07-15add timeline / current checkinsBirte Kristina Friesel-1/+38
2023-07-15get_user_status: fix stop_before_dest calculationBirte Kristina Friesel-4/+12
2023-07-15postprocess timeline; move user-related parts to get_user_statusBirte Kristina Friesel-152/+167
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-72/+72
2023-07-15Move InTransit post-processing to InTransit moduleBirte Kristina Friesel-186/+170
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-2/+5
This is consistent with other promises within travelynx
2023-07-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-222/+295
2023-07-09checkin: reduce nestingBirte Kristina Friesel-44/+40
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-29/+29
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