Commit graph

796 commits

Author SHA1 Message Date
Daniel Friesel
0439aa8b02 use the same direction for wagon order and direction indicator 2019-08-03 15:09:15 +02:00
Daniel Friesel
a48352ada4 also show train direction on departure 2019-08-03 12:35:47 +02:00
Daniel Friesel
ff75b16bfc move exit direction calculation to a helper function 2019-08-03 11:14:29 +02:00
Daniel Friesel
90dd96e08f Handle race condition when several workers are updating the same history entry 2019-07-20 20:58:28 +02:00
Daniel Friesel
7c7b5e9f95
Do not show station duplicates in geolocation list 2019-07-20 15:42:49 +02:00
Daniel Friesel
b12b5a821b Show departures of all linked stations
Not well-tested yet, deployment will have to wait a bit. Issue #15
2019-07-14 21:29:52 +02:00
Daniel Friesel
b08b0fb921 handle ambiguous train numbers when requesting train details 2019-07-14 17:17:44 +02:00
Daniel Friesel
8e5a8fad93 indicate whether a connecting train is cancelled or not 2019-07-07 08:10:05 +02:00
Daniel Friesel
29958c1968 wagon order detail has been deployed on marudor.de 2019-06-25 20:19:45 +02:00
Daniel Friesel
04cc32b7a0 Fix wrong directions on long-distance arrivals 2019-06-25 20:19:21 +02:00
Daniel Friesel
7ef47cdbf9 wagon order: link to marudor.de for details 2019-06-24 21:11:02 +02:00
Daniel Friesel
36121ccffc show wagon order before departure 2019-06-24 18:02:45 +02:00
Daniel Friesel
6b9bf8e486 Add 'Travel::Status::DE::DBWagenreihung' dependency 2019-06-24 17:24:17 +02:00
Daniel Friesel
590b27f2ca also show exit direction for regional trains at select stations 2019-06-23 18:46:25 +02:00
Daniel Friesel
16c441e433 also show exit direction based on wagon order 2019-06-23 17:08:47 +02:00
Daniel Friesel
b3b0823829 show exit direction on kopfgleis platforms 2019-06-22 17:02:04 +02:00
Daniel Friesel
75aa4a961a disable wagonorder for now (not used yet anyway) 2019-06-19 21:08:35 +02:00
Daniel Friesel
ee24664ee9 make share button link to status page if share API is unavailable 2019-06-19 21:04:36 +02:00
Daniel Friesel
da2511f8ba Go back to PostgreSQL 9.4 to make Travis CI happy 2019-06-17 21:19:34 +02:00
Daniel Friesel
6a44ef766b Travis C: Update perl and postgresql versions 2019-06-17 21:15:15 +02:00
Daniel Friesel
0bbdd768f4 prepare for wagon order support 2019-06-17 20:59:57 +02:00
Daniel Friesel
c35548e909 re-phrase auto checkout notice 2019-06-10 19:22:41 +02:00
Daniel Friesel
b54c977e08 increase checkout delay to work around IRIS information lag 2019-06-10 18:09:54 +02:00
Daniel Friesel
962aac63af connections: order by realtime, not scheduled departure 2019-06-07 20:34:28 +02:00
Daniel Friesel
2d250d02bc use a distinct 'offline' icon 2019-06-05 18:49:13 +02:00
Daniel Friesel
7be3a4219e checked in: Show QoS messages before departure and HIM messages at all times 2019-06-04 21:12:36 +02:00
Daniel Friesel
d90c44ccff Work around Safari violating the spec for SameSite=Lax cookies
This fixes users being logged out whenever following an external link to
travelynx in Safari (iOS/macOS)
2019-06-01 18:04:50 +02:00
Daniel Friesel
f355a8d95e disappearing trains are no longer critical with the latest change 2019-06-01 12:38:26 +02:00
Daniel Friesel
ac3abd5c51 v1.7 2019-06-01 12:08:00 +02:00
Daniel Friesel
5f80c151c1 run update hook after setting arrival time 2019-06-01 12:06:22 +02:00
Daniel Friesel
d701442306 Set arrival time via HAFAS if not available from IRIS 2019-06-01 11:52:42 +02:00
Daniel Friesel
102f6ddf7f update cpanfile.snapshot 2019-06-01 00:17:15 +02:00
Daniel Friesel
c5ea2c5147 Add explicit libxml dependency to cpanfile 2019-05-31 23:58:30 +02:00
Daniel Friesel
3f83205c1c Dockerfile: Remove no longer needed cron dependency 2019-05-31 23:56:30 +02:00
Daniel Friesel
b1591eed54 show current/next stop while checked in 2019-05-31 20:18:22 +02:00
Daniel Friesel
155f9f39cc use journey-specific status links -> one twitter card per journey 2019-05-29 20:01:52 +02:00
Daniel Friesel
146b3a2682 add twitter preview tags to public user status page 2019-05-29 18:11:25 +02:00
Daniel Friesel
22eee81c1c fix email fields in dark mode 2019-05-28 22:24:44 +02:00
Daniel Friesel
c907b5a8e6 Unit tests with time zones? Forget about it… 2019-05-26 18:26:14 +02:00
Daniel Friesel
90824071d7 add journey entry and statistics tests 2019-05-26 18:16:17 +02:00
Daniel Friesel
7fe95532c1 Use JSON for messages and route storage, prepare for extended route data 2019-05-26 17:28:21 +02:00
Daniel Friesel
45a4089431 Handle missing platform numbers 2019-05-25 23:04:36 +02:00
Daniel Friesel
302a6a144e Remove apple-mobile-web-app-capable tag to work around Safari session issues
iOS Safari does not send session cookies when following links to PWAs using
the apple-mobile-web-app-capable tag. This is not documented on
<https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html>,
though I can't say whether it is a bug in Safari or lacking documentation.

See <https://github.com/foosel/OctoPrint/issues/1792> for a more detailed
description of this type of issue.
2019-05-25 13:21:03 +02:00
Daniel Friesel
45c32ff5c7 Fix missing update event when arrival time at destination is unknown 2019-05-24 17:17:04 +02:00
Daniel Friesel
f4a6f8a400 Increase suggestion time range to 4 months 2019-05-24 17:09:11 +02:00
Daniel Friesel
1dc04eb45a show journey suggestions on departure board as well 2019-05-20 19:15:21 +02:00
Daniel Friesel
531cb95c17 Handle accidental double-checkins 2019-05-20 18:59:28 +02:00
Daniel Friesel
8a43c4073f changelog 2019-05-19 10:37:59 +02:00
Daniel Friesel
d9d3aac792 allow checkin from connections view 2019-05-19 10:32:57 +02:00
Daniel Friesel
7960114f71 Work in progress: show connections when arriving soon
At the moment, the heuristic used to determine connection targets is quite
simple: $station is a target iff there were at least two trips in the past
6 weeks with checkin at the current destination station and checkout at
$station.

Todo / enhanhement options:

* Consider current origin station as well, i.e.: $station is a target
  iff there were at least two trips in the past 6 weeks which are preceded by
  a trip from the current origin station and (same as above)
* Make connection links clickable once the current journey has ended.
  Connections need to be added to _checked_out as well for this to work.
2019-05-19 08:55:23 +02:00