Birte Kristina Friesel
a0bd839594
refactor polyline insertion into InTransit Model
2024-04-21 19:21:16 +02:00
Birte Kristina Friesel
875ec1c3e5
Request polylines for HAFAS journeys as well; only store sensible ones
...
Decreases severity of #99
Fixes #108
2024-04-07 11:18:04 +02:00
Birte Kristina Friesel
dafeb838dc
Use journeyMatch rather than legacy trainsearch.exe API to find tripIDs
2024-02-24 20:11:11 +01:00
Birte Kristina Friesel
d47195a0cf
Switch to Travel::Status::DE::HAFAS 5.x
2023-12-27 10:59:35 +01:00
Birte Kristina Friesel
04c8d7672a
journey: show distances below 10km with 100m resolution (and <1km with 1m)
2023-09-16 22:23:44 +02:00
Birte Kristina Friesel
434eb5a18d
map: use high beeline opacity if no polylines are available
2023-09-12 18:26:15 +02:00
Birte Kristina Friesel
2e14c2e3e4
Fix intermediate stop display for journeys without real-time data, e.g. H-Bahn
2023-09-07 21:19:43 +02:00
Birte Kristina Friesel
26ebd3d644
API: Expose HAFAS JourneyID, if available ( #85 )
2023-08-30 21:54:05 +02:00
Birte Kristina Friesel
f4d71b4d9f
obtain autocompletion from database
2023-08-26 09:17:28 +02:00
Birte Kristina Friesel
b85e8a1e04
API: Support HAFAS checkin (via journeyID)
2023-08-19 12:43:43 +02:00
Birte Kristina Friesel
293f0c7577
synchronize non-train checkins from traewelling to travelynx
2023-08-13 20:18:40 +02:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support
2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
52c0da3f46
Traewelling: replace legacy password login with OAuth2
...
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-08-07 21:17:10 +02:00
Birte Kristina Friesel
38ad42b42c
convert checkout to promises (checkout_p)
2023-07-23 20:18:10 +02:00
Birte Kristina Friesel
13277ad770
checkout: remove with_related special case
...
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-23 12:21:37 +02:00
Birte Kristina Friesel
9df937c890
remove debug output
2023-07-15 23:23:11 +02:00
Birte Kristina Friesel
1cca278baa
add timeline / current checkins
2023-07-15 19:20:37 +02:00
Birte Kristina Friesel
bee67f096a
get_user_status: fix stop_before_dest calculation
2023-07-15 19:16:01 +02:00
Birte Kristina Friesel
40cd1d06fe
postprocess timeline; move user-related parts to get_user_status
2023-07-15 19:07:21 +02:00
Birte Kristina Friesel
cdce746afd
increase maximum comment length
2023-07-15 16:11:21 +02:00
Birte Kristina Friesel
b446b68e67
Move InTransit post-processing to InTransit module
2023-07-15 13:28:54 +02:00
Birte Kristina Friesel
2123a67ba0
IRIS->get_departures_p: return string in first rejection argument
...
This is consistent with other promises within travelynx
2023-07-09 17:41:51 +02:00
Birte Kristina Friesel
1074f248cc
use promises for checkin and traewelling_to_travelynx
2023-07-09 14:46:28 +02:00
Birte Kristina Friesel
fb83b0ad9f
checkin: reduce nesting
2023-07-09 07:16:22 +02:00
Derf Null
a608ca6781
update ALL the copyright notices!
2023-07-03 17:59:25 +02:00
Derf Null
a5bdf28f4c
perltidy
2023-06-29 21:54:51 +02:00
Derf Null
8cb0de1b70
compute effective visibility in database view
2023-06-26 20:53:08 +02:00
Derf Null
085d77a1fa
time to flush the name cache
2023-06-24 18:36:59 +02:00
Molly Miller
beb59221e7
Add app version to default stashed values.
...
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-12 20:48:01 +02:00
Derf Null
0516344ac0
login form: add hint about pages being only visibile after login
2023-06-09 07:55:59 +02:00
Derf Null
88ede7e308
update ice names
2023-06-08 12:44:04 +02:00
Derf Null
e275fc6dbe
Fix edge case that allowed in-transit journeys with invalid destinations
2023-06-07 23:04:00 +02:00
Derf Null
00eb6af1bd
expose follows / social interaction in frontend
2023-06-04 18:21:36 +02:00
Derf Null
0172f0ce8a
add profile editor
2023-06-04 14:28:04 +02:00
Derf Null
0f9519c40b
get_user_status_json_v1: expose comment
2023-05-29 14:50:04 +02:00
Derf Null
7580497cea
get_user_status_json_v1: expose visibility
2023-05-24 21:41:51 +02:00
Derf Null
9b83e1a8f1
/status/:user: respond to JSON
2023-05-21 19:57:56 +02:00
Derf Null
dbc5c38968
get_user_status_json_v1: add public flag to hide actionTime
2023-05-21 19:44:43 +02:00
Derf Null
72f6c2ea2d
fix pride ICE not being indicated in public status card
2023-05-18 08:25:19 +02:00
Derf Null
671e518caf
get_user_status: expose lat/lon from database view, do not re-compute it
2023-05-16 20:02:20 +02:00
Derf Null
b7720a1acf
get_user_status: remove superfluous station requests
2023-05-16 19:56:02 +02:00
Derf Null
b9f8ccd82a
ajax route: handle missing schedule data
2023-05-11 18:32:27 +02:00
Derf Null
af3cdee113
route: only override delay if real-time data is not available
2023-05-01 11:38:11 +02:00
Derf Null
796699a9c6
add_route_timestamps: keep real-time data where possible
2023-04-30 07:42:48 +02:00
Derf Null
852c7797b0
Update HAFAS polylines prior to checkout
...
In case of diversions, the polyline fetched at checkin time may no longer be
accurate. Request a new polyline prior to checkout to address this.
Closes #66
2023-04-01 18:05:32 +02:00
Derf Null
402fcc4d6f
move profile / public data to a separate controller
2023-03-13 21:06:53 +01:00
Derf Null
abc1e4e3a8
work: avoid race conditions with frontend when calling checkout
2023-03-10 17:18:08 +01:00
Daniel Friesel
609d7b3ebc
remove unused journey_edit_mask attrs
2023-03-09 19:10:08 +01:00
Daniel Friesel
5d2bc54343
remve unused account_public_mask attr
2023-03-05 12:48:01 +01:00
Daniel Friesel
5d20bf155a
resolve_sb_template: escape / in station name
2023-03-04 10:55:05 +01:00