Commit graph

27 commits

Author SHA1 Message Date
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