Commit graph

122 commits

Author SHA1 Message Date
Daniel Friesel
ccfdd8007e testing a more organized history navigation 2020-11-21 15:34:06 +01:00
Daniel Friesel
e3fba3dcd4 import materialize sass sources instead of relying on npm 2020-11-21 14:13:41 +01:00
Daniel Friesel
60bb0b6df5 Start documenting the Travel API 2020-06-13 21:36:48 +02:00
Daniel Friesel
551954cdbc Add Swagger API docs
Work in progress. Only status is documented at the moment.
2020-06-13 20:01:26 +02:00
Daniel Friesel
ea05b0629a update autocomplete list 2020-02-01 16:20:10 +01:00
Daniel Friesel
78c80d773c new asset version 2020-01-28 20:27:14 +01:00
Daniel Friesel
384dc57291 Surely a little bit of colour won't hurt. 2020-01-25 17:01:35 +01:00
Daniel Friesel
fc9595e99c improve wagon output in journey details 2019-12-14 06:47:21 +01:00
Daniel Friesel
875dd4e0b5 confirm undo of checkins after 15 minutes 2019-12-08 21:04:34 +01:00
Daniel Friesel
9782cee53d fix textarea font color in dark mode 2019-11-22 21:27:01 +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
663b4dc6d8 live update of next station via javascript 2019-10-29 21:18:46 +01:00
Daniel Friesel
0822cfc993 add auto-generated passenger rights forms 2019-09-12 18:07:21 +02:00
Daniel Friesel
d08c1ead33 update autocomplete station list 2019-08-22 13:41:31 +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
22eee81c1c fix email fields in dark mode 2019-05-28 22:24:44 +02:00
Daniel Friesel
d9d3aac792 allow checkin from connections view 2019-05-19 10:32:57 +02:00
Daniel Friesel
b4676c11fb Fix progress bar colours 2019-05-18 10:16:49 +02:00
Daniel Friesel
b9f8d536b5 fix input background color in dark theme 2019-05-18 08:49:28 +02:00
Daniel Friesel
2107c0bbaf release new asset version 2019-05-18 08:30:36 +02:00
Daniel Friesel
547a96d28f remove unused files 2019-05-18 08:28:00 +02:00
Daniel Friesel
ccff208764 fix info-color contrast 2019-05-16 20:58:55 +02:00
Daniel Friesel
134a96208c use a darker background color for default cards 2019-05-16 20:32:33 +02:00
marudor
84b32b28e9
Further color improvements 2019-05-16 16:10:53 +02:00
marudor
87e74ca90d
Add color switcher to toolbar 2019-05-16 15:22:47 +02:00
marudor
5c2388d3a2
Add dark mode (only available with prefers-color-scheme currently) 2019-05-16 15:04:08 +02:00
Daniel Friesel
5c3a0a562a oops 2 (asset release) 2019-05-12 11:48:17 +02:00
Daniel Friesel
82297687ed social sharing for current journey 2019-05-12 11:44:28 +02:00
marudor
94febe86cd
Release version 19, fix asset-release for macos 2019-05-11 12:51:41 +02:00
marudor
d2f01f963a
Do not nag directly for geolocation 2019-05-11 12:43:13 +02:00
Daniel Friesel
098d02972a switch to a less generic icon 2019-05-11 11:52:47 +02:00
Daniel Friesel
3f4cf9ee42 service worker: cache icons 2019-05-10 18:31:11 +02:00
Daniel Friesel
f6800c8668 javascript-based refresh of journey progress and countdown 2019-05-10 17:58:13 +02:00
Daniel Friesel
374da87182 hide status countdown when offline 2019-05-09 18:14:16 +02:00
Daniel Friesel
ef77bfcdea more frequent reload on sync failure 2019-05-07 18:01:49 +02:00
Daniel Friesel
76bd6763df only show loading animation on links without custom animation 2019-05-07 17:56:40 +02:00
Daniel Friesel
18df44cc71 add loading indicator to nav 2019-05-06 18:07:53 +02:00
Daniel Friesel
55581d1f25 update asset version 2019-05-05 12:41:06 +02:00
Daniel Friesel
85636af26a do not perform useless geolocation lookups (#10) 2019-05-05 12:30:46 +02:00
Daniel Friesel
4696f8d68e update material icons 2019-05-04 08:55:21 +02:00
Daniel Friesel
a7b899dcc0 migrate to jQuery 3 2019-05-04 08:30:05 +02:00
Daniel Friesel
beab3a3307 PWA: capitalize app name (everyone seems to do it that way) 2019-05-04 08:12:25 +02:00
Daniel Friesel
cdbb3ee45b use versioning for service worker and web app manifest 2019-05-03 21:02:24 +02:00
Daniel Friesel
5178e58c0c add apple mobile web app foo 2019-05-03 20:59:14 +02:00
Daniel Friesel
709919a962 Experimental PWA support (#13) 2019-05-03 20:43:46 +02:00
Daniel Friesel
3068652d35 oops 2019-05-02 10:24:05 +02:00
Daniel Friesel
3de5de7db2 Finish public-facing exposed user status (opt-in) 2019-05-02 10:05:15 +02:00
Daniel Friesel
8c1888263b show marker when unable to sync 2019-04-26 22:27:07 +02:00
Daniel Friesel
6c1cae86f4 Primitive auto-refresh of current journey status
Todo: Redirect user to destination station upon arrival
2019-04-23 22:27:13 +02:00
Daniel Friesel
e168d9cd39 Use one row per journey instead of split checkin/checkout entries
Whether a user is in transit or not is now determined by an entry in the
in_transit table instead of a dangling checkin.

All completed journeys are stored in the "journeys" table.

This does most of the work needed for automatic checkout. However, note that
the corresponding worker process is not implemented yet.
2019-04-23 18:08:07 +02:00
Daniel Friesel
e91c540c8e history: Show time next to station 2019-04-10 17:51:51 +02:00
Daniel Friesel
e2598df25b Allow journey deletion
See issue #3
2019-04-04 18:26:53 +02:00
Daniel Friesel
a8a3aa17ce Perform undo by deleting the erroneous database entry 2019-03-31 08:45:51 +02:00
Daniel Friesel
ef8b688eb1 decrease header size 2019-03-20 18:01:42 +01:00
Daniel Friesel
01df965d66 support logging of cancelled journeys 2019-03-19 18:20:05 +01:00
Daniel Friesel
25f75928e7 add marker for cancelled departures 2019-03-19 17:17:53 +01:00
Daniel Friesel
42bb5cc493 add autocomplete for station form 2019-03-16 21:37:57 +01:00
Daniel Friesel
c8f9fc901b allow manual input of station name
Closes #1
2019-03-16 21:33:19 +01:00
Daniel Friesel
13d81d72ee show hint in case of geolocation error 2019-03-08 19:40:57 +01:00
Daniel Friesel
fd60839116 switch from HTTP Auth to Cookie Auth 2019-03-07 18:36:11 +01:00
Daniel Friesel
130d598a9e more helpful message for checkout without real-time data 2019-02-14 18:04:15 +01:00
Daniel Friesel
fd333ba4db use a pointer cursor for actions 2018-11-11 17:25:40 +01:00
Daniel Friesel
f87306dc34 allow undo for checkins 2018-11-02 21:35:53 +01:00
Daniel Friesel
95cbc500ae Minify JS 2018-10-21 16:27:32 +02:00
Daniel Friesel
8e817e5d60 Re-add force checkout to frontend 2018-10-21 15:57:38 +02:00
Daniel Friesel
6fd985ae7e show close stations via geolocation 2018-10-07 11:35:47 +02:00
Daniel Friesel
6afef992f1 Show inline error messages when checkin/checkout fails 2018-10-05 19:12:49 +02:00
Daniel Friesel
d75351b30c Use POST requests to modify data 2018-10-05 16:33:59 +02:00
Daniel Friesel
21643b053d Initial commit 2018-09-02 21:41:33 +02:00