Commit graph

12 commits

Author SHA1 Message Date
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
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
01df965d66 support logging of cancelled journeys 2019-03-19 18:20:05 +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
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
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