summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
AgeCommit message (Collapse)AuthorLines
2023-09-24add support for HAFAS connection suggestions; drop manual destination listBirte Kristina Friesel-101/+75
Still TODO: handle stations that have several EVAs
2023-09-17/s: support filter by trip_id; only allow train filter in IRIS mode2.2.2Birte Kristina Friesel-1/+5
2023-08-26obtain autocompletion from database2.1.1Birte Kristina Friesel-0/+18
2023-08-26manual station entry: fix HAFAS redirectBirte Kristina Friesel-1/+1
2023-08-24resolve unknown/ambiguous stop into list of stopsBirte Kristina Friesel-7/+41
2023-08-24geolocation: Fix 'hafas=undefined' links for iris stopsBirte Kristina Friesel-0/+1
2023-08-20sort HAFAS/IRIS stations by distanceBirte Kristina Friesel-3/+6
2023-08-19API: Support HAFAS checkin (via journeyID)Birte Kristina Friesel-5/+14
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-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-13WIP: HAFAS supportBirte Kristina Friesel-2/+7
2023-08-09Store traewelling refresh token in database1.34.3Birte Kristina Friesel-3/+4
2023-08-09traewelling oauth: pass HTTP redirect_uri in development modeBirte Kristina Friesel-2/+4
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-31/+59
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-50/+103
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-16account: add a list of sent follow requestsBirte Kristina Friesel-17/+34
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-0/+12
2023-07-16cleanup; perltidyBirte Kristina Friesel-20/+14
2023-07-15add timeline / current checkinsBirte Kristina Friesel-1/+37
2023-07-15increase maximum comment lengthBirte Kristina Friesel-23/+23
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-09use promises for checkin and traewelling_to_travelynxBirte Kristina Friesel-85/+103
2023-07-09HAFAS station board: fix station name displayBirte Kristina Friesel-3/+4
2023-07-03journeys: simplify visibily checkDerf Null-15/+0
2023-07-03update ALL the copyright notices!Derf Null-7/+7
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-26Move hash_password to Model/UsersDerf Null-23/+11
2023-06-25Login: return HTTP 400 on invalid password or unconfirmed accountDerf Null-2/+10
2023-06-24fine-graned visibility selection of history / past checkinsDerf Null-18/+14
most notably, adds a 'history for followers only' mode
2023-06-24time to flush the name cacheDerf Null-7/+7
2023-06-23status card / profile: fix users being unable to see own travelynx-only status1.32.7Derf Null-3/+7
2023-06-23User: remove legacy public_level / is_public fieldDerf Null-3/+3
2023-06-18run webhook when updating checkin comment or visibilityDerf Null-1/+4
2023-06-12Add app version to default stashed values.1.32.4Molly Miller-19/+2
This means that the version no longer needs to be passed to every version manually, and is automatically populated in templates where the parameter is not explicitly provided.
2023-06-08warn when trying to check out at invalid unscheduled station1.32.3Derf Null-5/+28
Closes #72
2023-06-04show follower-only checkins and journeys when viewing own profileDerf Null-5/+10
2023-06-04consistently return HTTP 404 on not found errorsDerf Null-15/+26
2023-06-04use a separate bad_request page for CSRF errorsDerf Null-28/+57
2023-06-04Account: add rel="me" to profile linksDerf Null-1/+1
2023-06-04expose follows / social interaction in frontendDerf Null-18/+337