summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
3 hourstranslation: update documentationBirte Kristina Friesel-3/+4
6 hoursFix polyline view in journey detail view for ring linesBirte Kristina Friesel-10/+16
Partially resolves #268 -- in map views that are not specific to a single journey, the polyline will still be wrong.
6 hoursanother distance calculation fix for ring linesBirte Kristina Friesel-3/+7
Fixes #229
7 hoursFix polyline-based distance calculation if stops are present more than onceBirte Kristina Friesel-18/+25
Note that the polyline shown in the journey view may still be wrong Fixes #229 Fixes #261
7 hoursjourney: Fix route highlightingBirte Kristina Friesel-4/+13
Polyline is still wrong
7 hourspolyline handling is hardBirte Kristina Friesel-1/+7
7 hoursdo not calculate markers on past journeysBirte Kristina Friesel-14/+22
7 hoursJourney: use _dt suffix for with_route_datetime keysBirte Kristina Friesel-4/+3
8 hoursget_travel_distance: explain multi-stop-pass handlingBirte Kristina Friesel-6/+24
8 hours... oopsBirte Kristina Friesel-0/+2
10 hoursJourney#get_travel_distance: Only query (sched|rt)_(arr|dep) if definedBirte Kristina Friesel-4/+10
10 hoursmove translation reference to share/localesBirte Kristina Friesel-10/+35
12 hoursadd translation-status.mdBirte Kristina Friesel-0/+73
13 hoursAccount: Only compute suggestions if user_lat/user_lon are availableBirte Kristina Friesel-3/+9
17 hoursLogin page: Return HTTP 401; support JSON requestsBirte Kristina Friesel-4/+11
17 hoursAllows journeys to be exported (downloaded) as raw JSONBirte Kristina Friesel-26/+44
Closes #279
17 hoursget_user_status: correctly report EFA checkinsBirte Kristina Friesel-0/+2
2 daysadd 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>
7 daysAllow users to re-set their language preferences to browser defaultBirte Kristina Friesel-2/+2
8 daysestimate_trip_position: handle duration between legs == 0Birte Kristina Friesel-0/+5
8 daysEnsure that we have a valid localization handle to call set_fallback onBirte Kristina Friesel-1/+7
9 daysLocalization fallback: first try en-GB and then de-DEBirte Kristina Friesel-2/+6
9 daysSo _this_ is how Locale::Maketext's fallback works.Birte Kristina Friesel-6/+16
9 daysTurns out: Locale::Maketext expects %Lexicon, not %lexiconBirte Kristina Friesel-1/+1
9 daysAdd french to Accept-Language and settings segmentsBirte Kristina Friesel-0/+3
9 daysEnable Polish for Accept-LanguageBirte Kristina Friesel-0/+3
9 daysAdd localization support.Birte Kristina Friesel-5/+134
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-11Fix train position calculation on first leg of polyline2.15.14Birte Kristina Friesel-1/+1
2025-07-11estimate_trip_position: Remove dead codeBirte Kristina Friesel-11/+0
2025-07-11InTransit: re-add fallback path to location estimation.Birte Kristina Friesel-11/+20
It makes sense when annotating the position with the user rather than the vehicle.
2025-07-10in transit: show estimated train position and full route (greyed out)2.15.13Birte Kristina Friesel-9/+203
2025-07-06database: Relax platform and line length constraints2.15.12Birte Kristina Friesel-0/+151
Closes #267
2025-07-06Revert "/journey/edit: datetime inputs"2.15.11Birte Kristina Friesel-4/+4
This reverts commit 02a6b9072d16c521142f04f5dd4a316aa269a5de. DateTime inputs on the web are absolutely horribly broken as soon es they use sub-minute accuracy (i.e., seconds). Switch journey edits back to %d.%m.%Y %H:%M(:%S) to restore proper editing support. /journey/add and /checkin/add retain their datetime pickers and will not support sub-minute accuracy. Closes #272
2025-07-06geolocation: dbris: show each unique stop only once2.15.10Birte Kristina Friesel-1/+1
2025-07-05Traveling: perltidyBirte Kristina Friesel-10/+12
2025-07-05edit_journey: support timestamps with sub-minute resolutionBirte Kristina Friesel-4/+15
2025-07-05Merge branch 'date-inputs' of github.com:deingithub/travelynxBirte Kristina Friesel-13/+35
2025-07-04Revert "work: dbris: be slightly less pessimistic"2.15.6Birte Kristina Friesel-1/+1
This reverts commit 5693277807924744c2ace92015f01c0f9f25e8a8.
2025-07-03Journey-based checkins: store platforms with route; set arrival platform from it2.15.5Birte Kristina Friesel-0/+31
Closes #269
2025-06-29/checkin/add: allow eliding date on intermediate stopsCassidy Dingenskirchen-4/+28
2025-06-29/checkin/add: datetime inputs, change intermediate stop input format to ISO8601Cassidy Dingenskirchen-1/+1
2025-06-29/history/map: date inputsCassidy Dingenskirchen-5/+3
2025-06-29/journey/edit: datetime inputsCassidy Dingenskirchen-2/+2
2025-06-29/journey/add: datetime inputsCassidy Dingenskirchen-1/+1
2025-06-29work: dbris: be slightly less pessimistic2.15.3Birte Kristina Friesel-1/+1
2025-06-29Journeys->get: type: trim trailing white space (hello, hafas)Birte Kristina Friesel-1/+1
2025-06-29Journeys->get: pre-compute delay dataBirte Kristina Friesel-0/+6
2025-06-29work: limit dbris journey requests to 0.5 HzBirte Kristina Friesel-4/+6
If $backend is not set, we may have non-dbris checkins in between -- in that case, we don't need to wait as long
2025-06-27work: support distinct worker invocations per backendBirte Kristina Friesel-160/+171
2025-06-25Journeys->add: allow consecutive route stops at the same timestampnetworkException-2/+2
This patch relaxes the route timestamp sanity checking introduced in 9e6728a3e14fbe48b7e7aa1d7c0ae2d4e79f0ece by allowing the same timestamp (usually minute accuracy) to occur multiple times for consecutive stops. This is common for trams, for example.