Commit graph

466 commits

Author SHA1 Message Date
Daniel Friesel
564f2fb354 update changelog 2021-08-20 22:54:59 +02:00
Daniel Friesel
39ab6e57d3 allow registration to be denied for certain IPs, e.g. known spammers
(yes, there are actually spambots flooding people with unsolicited
registration e-mails)
2021-08-20 22:52:02 +02:00
Daniel Friesel
f9b25a56b3 footer: move "travelynx" link to the left 2021-08-08 09:39:32 +02:00
Daniel Friesel
84afb1bc2c departures: show annotation if no realtime data is available 2021-07-18 20:43:55 +02:00
Daniel Friesel
0d2a53c80d Update station autocompletion for T-S-DE-IRIS v1.56 2021-06-20 12:19:26 +02:00
Daniel Friesel
f1f475f26f v1.20 2021-06-14 19:35:46 +02:00
Daniel Friesel
95674ee2ea Add explanation to name change page 2021-06-14 19:30:58 +02:00
Daniel Friesel
bccdefbb7d add missing change_name template 2021-06-13 08:19:29 +02:00
Daniel Friesel
6cee1e20ef allow users to change their name 2021-06-12 19:00:42 +02:00
Daniel Friesel
aad2a53459 attempt to prevent registration spam 2021-04-20 21:59:17 +02:00
Daniel Friesel
74ae9825bf marudor.de train link: Use ISO8601 datetime; specify station eva id 2021-03-08 21:02:39 +01:00
Daniel Friesel
93ca0e6e75 link to source code on about page 2021-02-02 18:43:48 +01:00
Daniel Friesel
5b7086bcd9 update station list for autocompletion 2020-12-13 21:51:59 +01:00
Daniel Friesel
6ed840eb6a Release v1.19.0 2020-12-09 21:26:36 +01:00
Daniel Friesel
2ee5332ee5 warn if a connecting train may not be reached 2020-12-07 19:44:18 +01:00
Daniel Friesel
c509703ce5 oopsie 2020-12-03 22:16:54 +01:00
Daniel Friesel
2613fc0e58 use stats-enabled list view for year list as well 2020-12-03 22:15:09 +01:00
Daniel Friesel
025b58126f _history_years: remove redundant SQL request 2020-12-03 22:01:39 +01:00
Daniel Friesel
0addce7bff month overview: distinguish between no stats and no journeys 2020-11-21 15:39:21 +01:00
Daniel Friesel
ccfdd8007e testing a more organized history navigation 2020-11-21 15:34:06 +01:00
Daniel Friesel
88d3e67474 Fix navbar titles 2020-11-21 10:53:01 +01:00
Daniel Friesel
7d528e3eb6 remove superfluous "()" in function call 2020-11-21 10:35:18 +01:00
Daniel Friesel
f31fdb62d8 Fix Model::Journey usage in add_journey template (add missing uid) 2020-10-17 16:27:53 +02:00
Daniel Friesel
5bc78117d9 fix a typo introduced in 8170ce5 2020-10-17 16:25:44 +02:00
Leah (ctucx)
8170ce5cd9 disable browser-autocompletion on station-inputs 2020-10-17 16:17:10 +02:00
Daniel Friesel
e61550f751 Move remaining journeys queries to journeys model class 2020-10-11 21:08:22 +02:00
Daniel Friesel
e8ff730320 Stats: Fix handling of negative cumulative arrival/departure delays 2020-10-06 19:28:00 +02:00
Daniel Friesel
a6bbd6302c about/Kontakt: Link to finalrewind.org 2020-10-05 23:09:15 +02:00
Daniel Friesel
0b6df3859c It's Public Beta Time! 2020-10-04 12:50:41 +02:00
Daniel Friesel
7ef1fe06b9 /account/traewelling: show warning when login token is expired/expiring 2020-10-04 11:51:22 +02:00
Daniel Friesel
80b02a47b4 Traewelling: Warn when bearer token is about to expire 2020-10-04 10:38:09 +02:00
Daniel Friesel
64c9b5b160 traewelling checkin: the time limitation isn't needed 2020-10-01 19:48:18 +02:00
Daniel Friesel
07e0f89706 allow checking into traewelling 2020-10-01 19:36:35 +02:00
Daniel Friesel
590d3de518 Template adjustments; hide traewelling from public view for now 2020-09-30 19:46:54 +02:00
Daniel Friesel
89e709d8d5 Allow linking a Träwelling account, auto-sync Träwelling→travelynx
travelynx→Träwelling is still work-in-progress

Squashed commit of the following:

commit 97faa6e2e6c8d20fba30f2d0f6e78187ceeb72e6
Author: Daniel Friesel <derf@finalrewind.org>
Date:   Wed Sep 30 18:50:05 2020 +0200

    improve traewelling log and tx handling

commit 487d7dd728b9d45b731bdc7098cf3358ea2e206e
Author: Daniel Friesel <derf@finalrewind.org>
Date:   Wed Sep 30 18:02:41 2020 +0200

    add missing traewelling template

commit 0148da2f48d9a52dcddc0ab81f83d8f8ac3062ab
Author: Daniel Friesel <derf@finalrewind.org>
Date:   Wed Sep 30 18:02:35 2020 +0200

    improve traewelling pull sync

commit 4861a9750f9f2d7621043361d0af6b0a8869a0df
Author: Daniel Friesel <derf@finalrewind.org>
Date:   Tue Sep 29 22:14:24 2020 +0200

    wip checkin from traewelling

commit f6aeb6f06998a2a7a80f63a7b1b688b1a26b66bd
Author: Daniel Friesel <derf@finalrewind.org>
Date:   Tue Sep 29 18:37:53 2020 +0200

    refactor traewelling integration. login and logout are less of a hack now.

    checkin and checkout are not supported at the moment.
2020-09-30 19:12:29 +02:00
Daniel Friesel
952740969c add opengraph metadata output 2020-09-21 20:31:08 +02:00
Daniel Friesel
39e12ec32e landingpage: hide button icon names from accessibility tools 2020-09-05 14:15:50 +02:00
Daniel Friesel
1b457f60e4 Release v1.17 2020-09-04 18:42:10 +02:00
Daniel Friesel
7eb5f967f2 profile: limit history to four weeks by default 2020-09-04 18:38:35 +02:00
Daniel Friesel
482fa975b5 add public profile page and public journey details 2020-09-03 22:27:50 +02:00
Daniel Friesel
51af59647e edit_journey: users can edit data, not just times 2020-08-23 16:41:01 +02:00
Daniel Friesel
47b957361e Move most journey code to newly introduced Journey model 2020-08-16 21:20:23 +02:00
Daniel Friesel
f08bdaca5c Move user model to a separate module 2020-07-27 18:53:22 +02:00
Daniel Friesel
cdb7469f00 webhooks: Add a missing </div> 2020-07-11 23:41:35 +02:00
Daniel Friesel
e27ac328e6 release 1.16 2020-04-19 18:38:07 +02:00
Daniel Friesel
1a79efda32 commute: Re-add year heading 2020-04-19 18:31:29 +02:00
Daniel Friesel
f5fd6d42e1 Add CSV Export 2020-04-19 18:26:20 +02:00
Daniel Friesel
020fe82660 add commuter stats to history page 2020-04-19 18:03:10 +02:00
Daniel Friesel
ec83af2523 commute: show weekday name in journey list 2020-04-19 17:06:42 +02:00
Daniel Friesel
94ea5a089f Commute stats: count days, not journeys 2020-04-19 17:03:02 +02:00
Daniel Friesel
94932c4102 add commute stats. not linked from nav yet. 2020-04-19 16:49:31 +02:00
Daniel Friesel
50d8256f6f connections: do not show platform if it is unknown 2020-04-19 11:55:49 +02:00
Daniel Friesel
901cfc50d8 connection view: small QoS icons, order by priority 2020-03-03 19:34:14 +01:00
Daniel Friesel
e6b74ef087 show QoS pictograms in connection list 2020-03-03 18:29:37 +01:00
Daniel Friesel
adaf9f7c0c landingpage: API also supports checkin 2020-02-26 20:38:01 +01:00
Daniel Friesel
5c05ed609f journey details: show route on map if available 2020-02-23 19:04:05 +01:00
Daniel Friesel
cb53a18898 Release v1.15 2020-02-20 21:02:52 +01:00
Daniel Friesel
32a68b46f1 add _cancelled_departure template
was missing from cc7439dd5e
2020-02-20 20:59:29 +01:00
Daniel Friesel
57f686b688 allow showing past journeys on shared status page 2020-02-19 20:58:38 +01:00
Daniel Friesel
cc7439dd5e handle departure cancellation after checkin 2020-02-17 21:13:07 +01:00
Daniel Friesel
a1865fa69e add privacy setting for showing history and latest arrival timestamp 2020-02-14 16:29:44 +01:00
Daniel Friesel
6cbbc2b16f avoid stale data when marking cancelled arrivals 2020-02-13 18:35:42 +01:00
Daniel Friesel
a830acc698 Handle cancelled arrival at checkout when departure at checkin is not cancelled 2020-02-12 20:38:24 +01:00
Daniel Friesel
3ddd1a1cf4 Improve map performance by passing actual polylines for train routes 2020-02-07 23:19:01 +01:00
Daniel Friesel
5392f654e2 disclaimer 2020-02-04 18:20:25 +01:00
Daniel Friesel
ea05b0629a update autocomplete list 2020-02-01 16:20:10 +01:00
Daniel Friesel
eb3f4aed05 allow checkin and checkout station to be edited 2020-02-01 16:15:20 +01:00
Daniel Friesel
aa7a7db2bc map: show polylines by default 2020-01-31 18:16:00 +01:00
Daniel Friesel
993f6be6c9 map: set bounds on stations; move polyline feature to staging 2020-01-29 18:48:58 +01:00
Daniel Friesel
6b1aa9cd39 Release import API 2020-01-28 20:32:39 +01:00
Daniel Friesel
78c80d773c new asset version 2020-01-28 20:27:14 +01:00
Daniel Friesel
bd8a825138 Add aria labels where needed, commit 1 of many (#37) 2020-01-28 20:26:15 +01:00
Daniel Friesel
47171500b7 fix bugs related to users without past journeys 2020-01-27 20:25:02 +01:00
Daniel Friesel
556bafffcf more API documentation 2020-01-26 16:12:31 +01:00
Daniel Friesel
d7c69acf41 import API: route -> intermediateStops 2020-01-26 10:50:21 +01:00
Daniel Friesel
c31254e996 import API: Add deprecated field, remove development check 2020-01-26 10:47:51 +01:00
Daniel Friesel
ce6237b9fb status API: nextStops -> intermediateStops; documentation 2020-01-26 09:59:45 +01:00
Daniel Friesel
384dc57291 Surely a little bit of colour won't hurt. 2020-01-25 17:01:35 +01:00
Daniel Friesel
1028e47a35 map: list skipped journeys 2020-01-25 14:55:51 +01:00
Daniel Friesel
ee1285e8fa map: support multiple polyline groups with different colors 2020-01-25 14:41:33 +01:00
Daniel Friesel
c6a0c76092 checked in view: Add details panel 2020-01-09 18:13:37 +01:00
Daniel Friesel
873a4dc082 map: show checkin and checkout location 2020-01-08 21:31:28 +01:00
Daniel Friesel
8f79a004fd public status card: fix map link 2020-01-08 20:33:45 +01:00
Daniel Friesel
2aba2b6522 move links to card-actions for public, hide in app view for now 2020-01-08 19:12:03 +01:00
Daniel Friesel
9697279aeb add links to complete route and map for checked-in trains 2020-01-08 19:01:19 +01:00
Daniel Friesel
f99e069928 Move ICE names to a separate JSON file 2020-01-06 17:59:40 +01:00
Daniel Friesel
62b68b5010 map ICE train numbers to names where possible 2020-01-04 18:48:46 +01:00
Daniel Friesel
a9a7fa4492 Release Travel API 2019-12-31 13:27:14 +01:00
Daniel Friesel
86a991c28c always show QoS messages in public status 2019-12-31 13:04:03 +01:00
Knuspel
bf86fb95f4 changed color of symbol in legend 2019-12-29 15:39:21 +01:00
Daniel Friesel
0ec82a5102 map: improve line color 2019-12-28 22:21:17 +01:00
Daniel Friesel
97d771f55e Formulierungsdetails 2019-12-28 15:02:03 +01:00
Knuspel
eec69680c4 Added note about Trainnumbers for non DB trains. 2019-12-28 14:36:52 +01:00
Daniel Friesel
74a1f731c8 Use #travelynx hashtag 2019-12-28 11:03:03 +01:00
Daniel Friesel
d9126b927f fix connections display 2019-12-26 22:48:50 +01:00
Daniel Friesel
f2f58ab507 Changelog / v1.12 2019-12-26 17:30:06 +01:00
Daniel Friesel
e7f278574f more travel API documentation 2019-12-20 18:33:59 +01:00
Daniel Friesel
11a2e94a04 travel API: more helpful errors on invalid input 2019-12-20 16:39:15 +01:00
Daniel Friesel
bd372d57e2 Travel API: Add "deprecated" field 2019-12-20 16:23:41 +01:00
Daniel Friesel
d0589781be account: use correct token type for travel API 2019-12-20 16:23:05 +01:00
Daniel Friesel
2831fbdfb7 public status card: link to marudor.de for train details 2019-12-20 14:51:50 +01:00
Daniel Friesel
837e3a949e move wagon group display to sub-template 2019-12-19 20:25:38 +01:00
Daniel Friesel
e0a2b9aa26 save all the wagon orders we can get 2019-12-19 20:16:10 +01:00
Daniel Friesel
69f961a23c disable import and checkin API endpoints in production mode 2019-12-19 19:20:06 +01:00
Daniel Friesel
ae21896982 API: Add lax option 2019-12-17 20:01:39 +01:00
Daniel Friesel
7ae60f2ea4 Travel API: comment support 2019-12-14 23:46:36 +01:00
Daniel Friesel
46fc64de48 Add travel (checkin/checkout/undo) API 2019-12-14 21:53:23 +01:00
Daniel Friesel
5fe4174feb Add API entry point for journey import 2019-12-14 20:46:02 +01:00
Daniel Friesel
1d589fa0b7 departures: show orientation bar dividing past from future 2019-12-14 08:52:44 +01:00
Daniel Friesel
fc9595e99c improve wagon output in journey details 2019-12-14 06:47:21 +01:00
Daniel Friesel
22b0e98b9c preliminary wagon view 2019-12-13 17:59:12 +01:00
Daniel Friesel
875dd4e0b5 confirm undo of checkins after 15 minutes 2019-12-08 21:04:34 +01:00
Daniel Friesel
315a94affe allow a journey's cancellation status to be edited
Closes #27
2019-12-08 19:46:45 +01:00
Daniel Friesel
561ff4574b Allow status visibility to be limited to travelynx users 2019-12-08 11:06:17 +01:00
Daniel Friesel
2bee9077ba account: typo 2019-12-08 10:32:07 +01:00
Daniel Friesel
17ce377307 release v1.11 2019-12-06 21:56:19 +01:00
Daniel Friesel
ededbef98f use comment in share text (if public) 2019-12-06 21:56:06 +01:00
Daniel Friesel
fb126c6928 optionally show journey comment in public user status
Closes #19
2019-12-06 21:44:31 +01:00
Daniel Friesel
094c536eb4 Allow comments to be entered while still in transit 2019-12-06 21:40:51 +01:00
Daniel Friesel
424897fcc3 improve cancellation mark in connections overview 2019-11-27 18:32:13 +01:00
Daniel Friesel
0e2e8cd78e history map: Add checkbox to display manually added journeys 2019-11-27 18:26:15 +01:00
Daniel Friesel
5e03718f14 public_status_card: fix uninitialized value warning 2019-11-26 18:35:51 +01:00
Daniel Friesel
4f0fee7783 show cancelled trains in connections list 2019-11-25 21:18:57 +01:00
Daniel Friesel
b3b0a055b9 improve get_user_travels performance, most notably when rendering map
only create DateTime objects when needed
2019-11-24 20:29:52 +01:00
Daniel Friesel
57f47d2a3c allow routes to be edited after recording a journey 2019-11-20 17:41:21 +01:00
Daniel Friesel
b80613b8a8 allow route input when adding journeys manually (#26) 2019-11-19 19:46:39 +01:00
Daniel Friesel
13e59b3aa1 add journey: make realtime data optional (default to schedule data)
Closes #25
2019-11-18 21:02:57 +01:00
Daniel Friesel
ff2a3afe34 Release v1.10
Release early, release often
2019-11-18 17:40:35 +01:00
Daniel Friesel
563ceb131e history_map: note that inconsistent and manually entered routes are special
See #26
2019-11-18 17:33:15 +01:00
Daniel Friesel
783a540cb0 history map: show time range; handle users with no journeys 2019-11-16 23:47:18 +01:00
Daniel Friesel
733fe2d853 map: add legend, link to history map from history page 2019-11-16 15:57:09 +01:00
Daniel Friesel
45f747961e map: add station names to points 2019-11-16 14:50:07 +01:00
Daniel Friesel
0bfb71d78d add map view of past journeys. unfinished and unreferenced. 2019-11-16 00:01:50 +01:00
Daniel Friesel
35e9dae349 include URL in copied share text if enabled 2019-11-14 18:23:21 +01:00
Daniel Friesel
3e61b9de48 Copy share text to clipboard if sharing API is unavailable
Closes #24
2019-11-14 17:47:06 +01:00
Daniel Friesel
4483073539 update asset version 2019-10-30 20:46:19 +01:00
Daniel Friesel
b05b535ae7 remove 'next stop' header to align with JS 2019-10-30 20:45:51 +01:00
Daniel Friesel
663b4dc6d8 live update of next station via javascript 2019-10-29 21:18:46 +01:00
Daniel Friesel
780cdafcf5 show related stations in departure list 2019-10-19 10:15:18 +02:00
Daniel Friesel
daa05870fd improve undo/share button layout on small screens
should fix #22
2019-10-14 15:45:10 +02:00
Daniel Friesel
6d45533c14 mark cancelled stops in checkin view 2019-10-04 23:27:45 +02:00
Daniel Friesel
3582ba317b checked in view: link to marudor.de detail view for wagon order 2019-09-20 19:39:14 +02:00
Daniel Friesel
1cb26e2053 handle substitute connections in passenger rights form 2019-09-18 20:21:16 +02:00
Daniel Friesel
8e6ee729e0 passengerrights: improve support for cancelled trains
To do: also do so in form generation
2019-09-18 18:19:54 +02:00
Daniel Friesel
aac8e2a0e1 Save scheduled arrival time for cancelled trains 2019-09-18 18:08:06 +02:00
Daniel Friesel
2075c89655 landingpage: Add passengerrights support 2019-09-16 17:20:37 +02:00
Daniel Friesel
b8f00bcf98 make 'missed connection' passengerrights message less confusing 2019-09-15 15:58:15 +02:00
Daniel Friesel
5f7933cffb pasengerrights: link to both journeys on connection miss 2019-09-14 12:32:28 +02:00
Daniel Friesel
35cc18dfae add passenger rights heuristic for missed connections 2019-09-13 23:39:28 +02:00
Daniel Friesel
29d99fe140 show arrival times in destination selection 2019-09-13 11:54:19 +02:00