summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
AgeCommit message (Collapse)AuthorLines
2025-09-18Stations->get_by_names: backend_id is mandatory these daysBirte Kristina Friesel-1/+3
2025-08-17Support polyline uploadsBirte Kristina Friesel-0/+1
2025-08-17Journey: Add JSON and GPX export of polylinesBirte Kristina Friesel-0/+7
2025-07-27Fix polyline view in journey detail view for ring linesBirte Kristina Friesel-4/+8
Partially resolves #268 -- in map views that are not specific to a single journey, the polyline will still be wrong.
2025-07-27do not calculate markers on past journeysBirte Kristina Friesel-7/+10
2025-07-27Login page: Return HTTP 401; support JSON requestsBirte Kristina Friesel-4/+11
2025-07-27Allows journeys to be exported (downloaded) as raw JSONBirte Kristina Friesel-1/+3
Closes #279
2025-07-27get_user_status: correctly report EFA checkinsBirte Kristina Friesel-0/+2
2025-07-25add initial hungarian language support, see comments in hu_HU.po file (#278)Aurora-0/+3
* add itial hungarian language support, see comments in hu_HU.po file that might need feedback * Update hu_HU.po "der Svájc" isn't hungarian, fixed now * added missing trailing " for hu_HU.po * removed comments that were approved/marked as resolved * I10n: updated the new pre/postfixes accordingly in hu * added 'as the crow flies' or 'beeline' translations * language.html.ep: Fix radio button for hu-HU --------- Co-authored-by: Birte Kristina Friesel <derf@finalrewind.org>
2025-07-20Ensure that we have a valid localization handle to call set_fallback onBirte Kristina Friesel-1/+7
2025-07-19Localization fallback: first try en-GB and then de-DEBirte Kristina Friesel-2/+6
2025-07-19So _this_ is how Locale::Maketext's fallback works.Birte Kristina Friesel-3/+7
2025-07-19Add french to Accept-Language and settings segmentsBirte Kristina Friesel-0/+3
2025-07-18Enable Polish for Accept-LanguageBirte Kristina Friesel-0/+3
2025-07-18Add localization support.Birte Kristina Friesel-0/+45
Right now, only two languages are supported, and only a fraction of strings are already translated. There's also quite a bunch of todos left where strings are assembled in the Model, which has no access to localization functions. But that's something for iterative refinement over the next months, and (especially when it comes to adding languages and translation strings to templates) merge requests. Squashed commit of the following: commit 67d756f3bd167003907c8357126630dd7c1a3cfa Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 19:53:56 2025 +0200 more translations commit 8cb0d65e70e42180419a5dd7634d332e65488dd4 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 18:54:12 2025 +0200 sme more translations commit ff12f010380914f9461966f2ef8ac6b303712ee4 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 18:53:31 2025 +0200 Add language selection to account page commit 9bf27132cbf2f87bca5af564914d96a57045ecc1 Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 16:42:28 2025 +0200 Translate footer components commit 90c2c6505e933848268ed9c5bbe21e0b459cd72a Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 16:16:50 2025 +0200 Use Accept-Language header if user has no preferred languages commit 814cb4a4dd4017606829ecc6b6c70822bf52a30e Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 16:11:19 2025 +0200 Add list of preferred languages to user settings commit 731b789855914cb94ec091604e32aa68a678404a Author: Birte Kristina Friesel <derf@finalrewind.org> Date: Fri Jul 18 15:33:42 2025 +0200 Localization with Locale::Maketext WiP, no suitable foundation for merge requests yet. Still todo: * override Accept-Language header via account settings * Adjust all the templates and frontend javascript Related to #223
2025-07-10in transit: show estimated train position and full route (greyed out)2.15.13Birte Kristina Friesel-6/+64
2025-07-03Journey-based checkins: store platforms with route; set arrival platform from it2.15.5Birte Kristina Friesel-0/+7
Closes #269
2025-06-21Add bare-bones support for manual checkins (still bound to a specific backend)Birte Kristina Friesel-1/+4
Extension opportunities (maybe, eventually) * provide datetimes of intermediate stops * provide an API for real-time data updates * look up stops that travelynx does not yet know about rather than rejecting them outright
2025-06-20MOTIS: Normalize timestamps to Europe/BerlinnetworkException-0/+1
2025-06-17DBF links: support efa and motis backendsBirte Kristina Friesel-0/+2
2025-06-16show load/occupancy for EFA departures and trips, if availableBirte Kristina Friesel-0/+26
2025-06-15Add experimental EFA supportBirte Kristina Friesel-8/+162
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-09Travelynx: pass root_url to MOTIS helperBirte Kristina Friesel-0/+1
2025-06-09perltidyBirte Kristina Friesel-14/+24
2025-06-09Add (possibly still somewhat experimental) MOTIS supportBirte Kristina Friesel-4/+166
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-05-30checked-in view: restore dbf.finalrewind.org carriage formation link2.12.2Birte Kristina Friesel-0/+10
2025-05-30polyline_to_map: handle cases where from and to are in inverse order2.12.1Birte Kristina Friesel-0/+3
2025-05-30Show train route in checked-in view and profile / status card2.11.37Birte Kristina Friesel-15/+23
2025-05-25Show short wagon order in timelien viewBirte Kristina Friesel-0/+1
2025-05-25Get wagonorder description and designation from DBRIS::Formation2.11.34Birte Kristina Friesel-16/+22
2025-05-17Fix anchors in DBF links for HAFAS and DBRIS checkins2.11.28Birte Kristina Friesel-0/+7
2025-05-14_checked_in: fix stop detail links for dbris2.11.25Birte Kristina Friesel-0/+1
2025-04-19Use train_no / line_no accessors provided by DBRIS 0.10Birte Kristina Friesel-1/+1
2025-04-10dbris: pass dbris service config to helperBirte Kristina Friesel-5/+6
2025-04-02HAFAS, DBRIS: handle selection of cancelled destinations2.11.12Birte Kristina Friesel-1/+17
2025-03-29pass train suffix (which is sometimes line ID) on to InTransit->addBirte Kristina Friesel-5/+7
Closes #217
2025-03-28get_user_status_json_v1: fix dbris typo2.11.7Birte Kristina Friesel-1/+1
2025-03-28perltidyBirte Kristina Friesel-2/+1
2025-03-24Text change to reflect ÖPNV integrationTim-1/+1
This commit removes a reference to "train" in a message that is shown when the user is not checked in at the moment.
2025-03-24restore Träwelling synchronizationBirte Kristina Friesel-4/+2
2025-03-23DBRIS: Add load/occupancy dataBirte Kristina Friesel-0/+8
2025-03-23Preliminary DBRIS support (not user-accessible yet)Birte Kristina Friesel-5/+165
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-15Switch from DBWagenreihung to DBRIS::FormationBirte Kristina Friesel-6/+6
2025-02-09Add PKP (and, thus, SOCKS proxy) supportBirte Kristina Friesel-0/+1
2024-11-26Mark users as seen when successfully pulling a traewelling checkinBirte Kristina Friesel-0/+1
2024-10-28Use the correct stop instance when checking in to ring linesBirte Kristina Friesel-1/+9
2024-10-16Add terms of service andpoint; reference it from registration and login formsBirte Kristina Friesel-0/+1
2024-09-18API: Add departure and arrival platform2.8.39Birte Kristina Friesel-0/+2
Closes #164
2024-08-28Replace ice_names.json with Travel::Status::DE::DBWagenreihung built-in listBirte Kristina Friesel-2/+4
2024-08-26map, get_travel_distance: Prefer EVA ID over name for route matches2.8.33Birte Kristina Friesel-4/+10
Station names frequently change, so the EVA ID is more robust Closes #160