Commit graph

100 commits

Author SHA1 Message Date
Daniel Friesel
fa98aba3d3 Pre-select theme css in backend 2019-05-18 08:23:59 +02:00
Daniel Friesel
681ecabdf6 Provide light theme by default, avoid re-styling unless dark theme is active
This eliminates a large portion of main-thread work on page load
2019-05-16 20:39:54 +02:00
Daniel Friesel
6457ef2f9d fix typo in color scheme preference query 2019-05-16 20:32:58 +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
marudor
94febe86cd
Release version 19, fix asset-release for macos 2019-05-11 12:51:41 +02:00
Daniel Friesel
098d02972a switch to a less generic icon 2019-05-11 11:52:47 +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
76bd6763df only show loading animation on links without custom animation 2019-05-07 17:56:40 +02:00
Daniel Friesel
bd676674e9 always show navbar, even when scrolling 2019-05-06 18:14:30 +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
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
1694026c86 add a description 2019-05-03 21:13:22 +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
c6812f6083 Print db and host in development mode 2019-04-13 18:59:46 +02:00
Daniel Friesel
80a6317ac5 Use travelynx.conf for configuration and secrets
This avoids having to specify secrets in the environment, where they can leak
easily.
2019-04-13 12:18:26 +02:00
Daniel Friesel
1ee185d26b work-in-progress manual journey entry. incomplete and not enabled yet. 2019-04-13 10:43:05 +02:00
Daniel Friesel
4e7f7a1d0e detect development mode for travelynx_dev* databases 2019-04-06 21:21:35 +02:00
Daniel Friesel
a8a3aa17ce Perform undo by deleting the erroneous database entry 2019-03-31 08:45:51 +02:00
Daniel Friesel
a30970eb8b distinguish prod/dev in nav bar 2019-03-25 21:34:49 +01:00
Daniel Friesel
01df965d66 support logging of cancelled journeys 2019-03-19 18:20:05 +01:00
Daniel Friesel
07b3ea19a6 never call get_user_data directly 2019-03-18 18:49:00 +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
532fadabb4 fix failraptor.png for guests. derp. 2019-03-12 22:09:16 +01:00
Daniel Friesel
6ac88f4018 implement account deletion 2019-03-12 21:49:26 +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
3096091f11 do not show username in navbar (won't fit on small screens otherwise) 2019-03-04 17:14:03 +01:00
Daniel Friesel
40fe8db0c4 Add account info and data export 2019-03-03 22:35:20 +01:00
Daniel Friesel
95cbc500ae Minify JS 2018-10-21 16:27:32 +02:00
Daniel Friesel
b070e55eae add history page 2018-10-13 14:40:19 +02:00
Daniel Friesel
74fd97b4b8 add simple about page 2018-10-07 11:57:59 +02:00
Daniel Friesel
17fbba75cd use purple navbar 2018-10-07 11:46:08 +02:00
Daniel Friesel
6fd985ae7e show close stations via geolocation 2018-10-07 11:35:47 +02:00
Daniel Friesel
2cdd176b94 disable navbar entries for now 2018-10-05 16:43:13 +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