summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Account.pm
AgeCommit message (Collapse)AuthorLines
2025-06-15Add experimental EFA supportBirte Kristina Friesel-0/+43
Squashed commit of the following: commit b7457791ab7ab4859ebf4a5ce173e1aaeed4c7fb Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sun Jun 15 08:18:46 2025 +0200 changelog commit 7f3d61066195cfc3c83a8fc1b2fc3743e7e6171c Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:55:51 2025 +0200 Mark EFA backends as experimental for now For instance, VRR has very interesting issues when checking into departures that do not have real-time data yet. commit 3370c0f6c25bd6b02cc4d56e9a3aba2a66d1151a Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:49:48 2025 +0200 InTransit: remove debug output commit deb5444fa2965228b537e86fce862436ef2e6e19 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:12:44 2025 +0200 frontend js for checked-in view: never show fractional delays commit d47ff9615b551bbd844a799be7717e9e74a04266 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 19:12:31 2025 +0200 worker: add EFA support commit 3a955c0105bf13d040a821e2c87a19694202cde6 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 17:48:46 2025 +0200 EFA: checkin support worker support and cancellations are still missing commit 19dea1ad13029d19cba38e7d1338718149c139fb Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 14:32:59 2025 +0200 actions.js: pass on efa parameter commit 8f18ff2c8f9f906a387dbe16d372e1c4b4a6f259 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 14:32:48 2025 +0200 EFA: implement geolocation lookup commit bce1139bab9aab167cdab910fa86085529d45b80 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Sat Jun 14 14:32:21 2025 +0200 EFA: ->id is no longer supported, use ->id_num commit e4397e6b1538ddfa71da9839d6011a73fadc528f Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 20:34:22 2025 +0200 ... derp commit e0c4cbf862a8f5a7bca0b1aceab3760af94093e9 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 18:28:35 2025 +0200 database: it's dbris, not ris commit bfb1e834ce6c3171011dc20b32117065960b8771 Merge: 42f9a00 f1da50f Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 18:20:51 2025 +0200 Merge branch 'main' into efa-support commit 42f9a00d98dbd675234c05b3e25c3e722cfdd7ba Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Jan 8 18:11:28 2025 +0100 EFA support (WiP)
2025-06-09backend selection: group recommended / transit assoc / experimental&legacy2.13.3Birte Kristina Friesel-4/+14
2025-06-09perltidyBirte Kristina Friesel-7/+6
2025-06-09Add (possibly still somewhat experimental) MOTIS supportBirte Kristina Friesel-0/+47
Squashed commit of the following: commit c7c8b2ec5d8254eefb548bfe7763a7d8c9558be4 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 13:08:57 2025 +0200 fix another merge issue commit d2ae55c901ab59284263ad3070ba425e03cee833 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 13:08:39 2025 +0200 Stations: get_by_external_id is a slow function commit 725174413300e71c350d2f1dcfbeacd751def977 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 13:05:48 2025 +0200 ... I accidentally commited a merge conflict commit c695494dbd6aaf252199da42ad763bdffa1d64b9 Merge: e5da62b 3322ca2 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Mon Jun 9 12:46:08 2025 +0200 Merge branch 'main' into motis commit e5da62bcfc7953d5109ba53ae1fcc34f509f251b Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:15:39 2025 +0200 cpanfile: add Travel::Status::MOTIS dependency commit 180723a9e0e2f0aede0bc6352d5eee601183ccef Merge: 479373b c90ae4c Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:13:45 2025 +0200 Merge branch 'main' into motis commit 479373b14eaadbc022199df246c9fb523a87188c Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:06:41 2025 +0200 database: remove duplicate users_with_backend migration commit 94c8b5a7d1e2cb7f73b0eca7e33d916775504cd4 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Apr 30 18:06:04 2025 +0200 Do not store train colours in database. They're only supported by MOTIS. commit d58f23c3c7b06cc0243c1945dacd8673d2d2e428 Author: networkException <git@nwex.de> Date: Fri Apr 18 11:47:02 2025 +0200 Initial MOTIS backend support This patch adds support for checkins using MOTIS backends using the Travel::Status::MOTIS module. With this travelynx supports the two services currently exposed by the module, RNV for local transit in Mannheim, Germany and surrounding cities and transitous for worldwide crowdsourced tranit feeds. This implementation supports realtime predictions, cancellations and polylines as well as custom route colors if available. As MOTIS doesn't expose names of indivial trips currently, displaying transports is mostly limited to route names. MOTIS uses strings for stop ids, based on the used GTFS source feeds. As travelynx's data model currently assumes interger station ids, this patch adds a mapping table to the database. This patch assumes support for MOTIS in db-fakedisplay. Note that while träwelling has migrated to tranitous fully sync remains unsupported for now. See https://github.com/Traewelling/traewelling/issues/3345
2025-03-25Account: IRIS is no longer preferred; do not place it firstBirte Kristina Friesel-7/+2
2025-03-24bahn.de is reasonably ready now. I think.Birte Kristina Friesel-1/+1
2025-03-23dbris is almost ready for productionBirte Kristina Friesel-5/+3
Agenda: * geolocation * traewelling sync * check whether cancelled trains / stops are handled appropriately * switch manual journey entry to dbris once sufficient station data has been gathered * switch default to dbris at some time in the future
2025-03-23Preliminary DBRIS support (not user-accessible yet)Birte Kristina Friesel-7/+12
working: * checkin * checkout * realtime data * polylines * carriage formation (long-distance only) to do: * geolocation * redirects after checkout / undo * traewelling sync * use dbris by default
2025-03-04Remove VRN; use ÖBB for IRIS augmentation (maps)Birte Kristina Friesel-0/+1
Luckily, ÖBB and IRIS agree on virtually all EVA IDs. In some cases, ÖBB uses different station names (e.g. 'Fürth in Bayern' rather than 'Fürth(Bay)'). Closes #206 Closes #207 Closes #208
2025-02-09Add PKP (and, thus, SOCKS proxy) supportBirte Kristina Friesel-0/+11
2025-01-08Remove DB HAFAS for now2.9.11Birte Kristina Friesel-1/+10
Looks like it's gone for good
2024-10-16Add terms of service andpoint; reference it from registration and login formsBirte Kristina Friesel-1/+3
2024-08-26backend selection: Rename "DB (IRIS)" to "IRIS" for better HAFAS distinctionBirte Kristina Friesel-1/+1
2024-08-24backend suggestions: handle holes in GeoJSON polygonsBirte Kristina Friesel-14/+34
2024-08-23Suggest backends based on coverage and latest checkout coordinatesBirte Kristina Friesel-0/+34
References #156
2024-08-21backend selection: add coverage regions and links to coverage map2.8.27Birte Kristina Friesel-0/+33
2024-08-17backend selection: Hide Resrobot and TPG2.8.26Birte Kristina Friesel-0/+4
These backends do not provide trip/journey details, making them useless for travelynx
2024-08-13backend selection: remove type from buttons (invisible on narrow screens)Birte Kristina Friesel-1/+1
2024-08-12backend form: always show IRIS firstBirte Kristina Friesel-1/+6
2024-08-12backend selection: add homepage linksBirte Kristina Friesel-3/+6
2024-08-10backend selection: handle backends that are no longer supportedBirte Kristina Friesel-3/+9
2024-07-26Multi-backend supportBirte Kristina Friesel-0/+46
Squashed commit of the following: commit 92518024ba295456358618c0e8180bd8e996fdf1 Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:39:46 2024 +0200 add_or_update station: remove superfluos 'new backend id := old backend id' commit df21c20c6e4c86454f8a9ac69121404415217f2a Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:35:51 2024 +0200 revert connection targets min_count to 3 commit be335cef07d0b42874f5fc1de4a1d13396e8e807 Author: Birte Kristina Friesel <birte.friesel@uos.de> Date: Fri Jul 26 18:20:05 2024 +0200 mention backend selection in API documentation commit 9f41828fb4f18fd707e0087def3032e8d4c8d7d8 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:19:23 2024 +0200 use_history: not all backends provide route data in departure monitor commit 09714b4d89684b8331d0e96f564a4c7432318f70 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:11:44 2024 +0200 disambiguation: pass correct hafas parameter commit 8cdf1120fc32155dc6525be64601b7c10a9c7f52 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:11:28 2024 +0200 _checked_in: hide Zuglauf link for non-db checkins commit 7455653f541198e0e0a6d11aed421487ffdb6285 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 20:01:47 2024 +0200 debug output commit b9cda07f85601a58ea32dbdacdd5399f302db52b Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Thu Jul 25 19:09:07 2024 +0200 fix remaining get_connection_targets / get_connecting_trains_p invocations commit 2759d7258c37c7498905cfe19f6b4c4f6d16bd21 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Wed Jul 24 20:50:12 2024 +0200 support non-DB HAFAS backends (WiP)
2024-06-15remove service / sb_template selection; hardcode DBF with variable hafas flagBirte Kristina Friesel-23/+0
2024-01-14confirm_mail: work around funky MUAs2.5.11Birte Kristina Friesel-0/+9
2023-09-24add support for HAFAS connection suggestions; drop manual destination listBirte Kristina Friesel-24/+6
Still TODO: handle stations that have several EVAs
2023-07-16account: add a list of sent follow requestsBirte Kristina Friesel-17/+34
2023-07-03update ALL the copyright notices!Derf Null-1/+1
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-16/+7
most notably, adds a 'history for followers only' mode
2023-06-24time to flush the name cacheDerf Null-1/+1
2023-06-04use a separate bad_request page for CSRF errorsDerf Null-21/+46
2023-06-04Account: add rel="me" to profile linksDerf Null-1/+1
2023-06-04expose follows / social interaction in frontendDerf Null-14/+240
2023-06-04add profile editorDerf Null-0/+68
2023-05-24rename get_privacy_by_name to get_privacy_by, allow requests by uidDerf Null-1/+1
2023-03-04webfinger: adjust profile visibility1.30.6Daniel Friesel-2/+3
2023-03-04status/profile: re-add ability to show latest checkout, if desired1.30.1Daniel Friesel-1/+3
got lost in 1.30.0
2023-02-27set visibility per journey (wip)Daniel Friesel-43/+35
some odds and ends left to polish, but ready for testing
2023-02-19update ze copyrightDaniel Friesel-1/+1
2023-01-22users: rename "add_user" to "add" and "get_data" to "get"Daniel Friesel-1/+1
2023-01-22move get_api_token to users modelDaniel Friesel-6/+9
2023-01-21API documentation: do not perform database requests from template helpersDaniel Friesel-3/+11
2023-01-08webfinger: remove superfluous acct: in responseDaniel Friesel-1/+1
2023-01-08webfinger queries are prefixed with acct:1.29.9Daniel Friesel-1/+1
2023-01-08... derpDaniel Friesel-0/+1
2023-01-08webfinger: obtain base urlsDaniel Friesel-5/+5
2023-01-08add webfinger "profile-page" support (for public profiles only)Daniel Friesel-1/+49
2022-09-24optionally show local transit connections as wellDaniel Friesel-7/+25
2022-07-30Account: Move helpers to a separate sectionDaniel Friesel-189/+193