summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
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
2023-06-30Profile: refactor visibility checksDerf Null-96/+35
2023-06-29perltidyDerf Null-1/+1
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-15/+92
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
2023-06-25Users->add: correctly specify default visibilityDerf Null-3/+4
2023-06-24fine-graned visibility selection of history / past checkinsDerf Null-33/+88
most notably, adds a 'history for followers only' mode
2023-06-24time to flush the name cacheDerf Null-29/+29