Commit graph

75 commits

Author SHA1 Message Date
Daniel Friesel
a8a3aa17ce Perform undo by deleting the erroneous database entry 2019-03-31 08:45:51 +02:00
Daniel Friesel
df34c58cc5 history: move time column next to date 2019-03-28 19:21:52 +01:00
Daniel Friesel
eb929811b2 add per-month links to history 2019-03-27 21:46:52 +01:00
Daniel Friesel
343e9ef20c history: more smartphone-friendly 2019-03-27 21:26:37 +01:00
Daniel Friesel
1aa5e786ed add history per month 2019-03-27 21:20:59 +01:00
Daniel Friesel
a30970eb8b distinguish prod/dev in nav bar 2019-03-25 21:34:49 +01:00
Daniel Friesel
0a9d2e4c88 journey: show average speed 2019-03-20 18:33:51 +01:00
Daniel Friesel
2366b193fe journey: show distance 2019-03-20 18:20:23 +01:00
Daniel Friesel
2e1cf30231 Show negative delay as "-X", not "+-X" 2019-03-20 17:50:14 +01:00
Daniel Friesel
0226713c1d use camelCase instead of snake_case in public API 2019-03-20 17:45:41 +01:00
Daniel Friesel
531f3b0a68 show cancelled trains in history 2019-03-19 21:23:06 +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
9c32677365 API: Status: group properties, add station UIC/lon/lat 2019-03-19 17:02:30 +01:00
Daniel Friesel
56342f21d2 demand a valid password for account deletion 2019-03-18 18:55:39 +01:00
Daniel Friesel
07b3ea19a6 never call get_user_data directly 2019-03-18 18:49:00 +01:00
Daniel Friesel
b15d3456ac journey view: Move line break inside of message loop 2019-03-17 18:36:29 +01:00
Daniel Friesel
11d77d4bb9 add journey detail view 2019-03-17 18:34:33 +01:00
Daniel Friesel
629ca9e9f6 Show backend errors on station selection page 2019-03-16 21:49:47 +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
26da2b598c landing page: I can haz API! 2019-03-16 14:36:35 +01:00
Daniel Friesel
2bc167da9e Account: Wording 2019-03-16 14:17:02 +01:00
Daniel Friesel
d6264b5ca8 Add JSON API 2019-03-16 13:56:56 +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
2604abad4e Allow two regstration attempts per mail 2019-03-11 17:17:15 +01:00
Daniel Friesel
558585895f oops 2019-03-10 19:34:10 +01:00
Daniel Friesel
5970a5a350 redirect users after login to protected page 2019-03-10 19:32:45 +01:00
Daniel Friesel
3ae14d47f9 add JSON export for history 2019-03-09 14:35:23 +01:00
Daniel Friesel
6f1b488d26 Slightly more helpful texts for checkin/checkout pages 2019-03-09 12:17:59 +01:00
Daniel Friesel
0f51f40661 show separate errors for 'invalid credentials' and 'not confirmed yet' 2019-03-09 08:40:46 +01:00
Daniel Friesel
844a95f77f registration form: note that user name must be alphanumeric 2019-03-09 08:30:18 +01:00
Daniel Friesel
98fc5a3aba add password manager hints to login/registration forms 2019-03-08 21:07:54 +01:00
Daniel Friesel
13d81d72ee show hint in case of geolocation error 2019-03-08 19:40:57 +01:00
Daniel Friesel
a0040bceb6 checkout UX 2019-03-08 19:12:45 +01:00
Daniel Friesel
c2be5fe97b account: Note that deletion is not implemented yet 2019-03-08 19:12:32 +01:00
Daniel Friesel
42385e4d55 add link to github issues 2019-03-08 19:12:23 +01:00
Daniel Friesel
ff6a7512d5 do not allow multiple pending registrations for one mail 2019-03-08 18:52:12 +01:00
Daniel Friesel
6e961420aa departures: Add hint (tap == checkin) 2019-03-08 18:02:18 +01:00
Daniel Friesel
da4f532fb3 add logout link to account page 2019-03-08 17:59:48 +01:00
Daniel Friesel
6f4a5cef71 add intro blurb and login/register links for landing page 2019-03-08 17:16:19 +01:00
Daniel Friesel
bf4ccb0eab Logout: Use a POST form as it's a stateful action 2019-03-08 16:54:54 +01:00
Daniel Friesel
fd60839116 switch from HTTP Auth to Cookie Auth 2019-03-07 18:36:11 +01:00
Daniel Friesel
ba6b517e5b working registration and verification 2019-03-06 20:48:21 +01:00
Daniel Friesel
8057c16cc4 enable form validation for login page 2019-03-05 22:18:11 +01:00
Daniel Friesel
4dc0a90ef8 register: Add simple client-side validation 2019-03-05 18:29:25 +01:00
Daniel Friesel
8d353fcf9d registration: more error handling 2019-03-05 18:19:14 +01:00
Daniel Friesel
a47d76958c Use proper Mojolicious input fields (-> no need to re-type everything on errors) 2019-03-04 19:28:57 +01:00
Daniel Friesel
5b523ff2f0 prepare registration support 2019-03-04 19:22:40 +01:00