Commit graph

1005 commits

Author SHA1 Message Date
Daniel Friesel
058d93a6fd add password hashing 2019-03-06 17:59:00 +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
32f3334b5c forbid the user name 'dev' 2019-03-04 19:36:11 +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
Daniel Friesel
8adca327fd prepare DB schema for public registration 2019-03-04 18:17:03 +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
41076aafd5 history: Fix typo in HTML element name 2019-03-03 22:19:57 +01:00
Daniel Friesel
5cc43d9c59 Alwayse use 3 hours of lookbehind
Hashtag Verpeilungsfaktor
2019-03-03 22:02:25 +01:00
Daniel Friesel
833c8878d1 add logout link 2019-03-03 21:46:06 +01:00
Daniel Friesel
ad585c3fec set cookie lifetime to 6 months 2019-03-03 21:45:55 +01:00
Daniel Friesel
c6532906df add imprint 2019-03-02 18:12:10 +01:00
Daniel Friesel
856a66c0be implement user/password/csrf checks for login form 2019-03-02 18:08:48 +01:00
Daniel Friesel
c6fd0a0efb Fix encoding of station name in checkin/checkout screen 2019-03-01 20:11:40 +01:00
Daniel Friesel
abf81ea638 add (unfinished) db migration script 2019-02-22 21:56:32 +01:00
Daniel Friesel
d32c2ad1b9 prepare account support 2019-02-22 21:56:19 +01:00
Daniel Friesel
5bc5f63868 Add README 2019-02-16 17:28:01 +01:00
Daniel Friesel
e297bd9413 perltidy 2019-02-15 19:32:17 +01:00
Daniel Friesel
af1e1a8294 checkin: ensure that users are checked out first 2019-02-15 19:29:57 +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
5565e81fb2 sort by real-time departure 2018-11-08 07:38:37 +01:00
Daniel Friesel
b41a64bd7f add undo for checkouts 2018-11-02 22:29:12 +01:00
Daniel Friesel
f87306dc34 allow undo for checkins 2018-11-02 21:35:53 +01:00
Daniel Friesel
6933b8ee45 Fix "undo" being ignored in last actions 2018-11-02 21:18:07 +01:00
Daniel Friesel
048a5c1fd5 perltidy 2018-10-27 07:32:54 +02:00
Daniel Friesel
ddbe902384 departures: show next / most recent departures first 2018-10-27 07:32:37 +02:00
Daniel Friesel
95cbc500ae Minify JS 2018-10-21 16:27:32 +02:00
Daniel Friesel
f791a1ee6c handle force checkout in history view 2018-10-21 16:05:18 +02:00
Daniel Friesel
8e817e5d60 Re-add force checkout to frontend 2018-10-21 15:57:38 +02:00
Daniel Friesel
2113533713 history: always show train numbers 2018-10-20 15:48:24 +02:00
Daniel Friesel
046ab99013 history: show departure and arrival times 2018-10-18 16:26:02 +02:00
Daniel Friesel
d7fc6ceb3a handle consecutive checkins by ignoring previous ones 2018-10-18 08:50:25 +02:00
Daniel Friesel
b070e55eae add history page 2018-10-13 14:40:19 +02:00
Daniel Friesel
33fd338bc5 Only show latest actions on main page 2018-10-13 14:35:05 +02:00
Daniel Friesel
ec1842054c derp 2018-10-07 13:55:21 +02:00
Daniel Friesel
147e6ae849 Only show latest travels on landing page 2018-10-07 13:47:32 +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
d95cb9d06a only show travel distance if duration is not available 2018-10-07 09:12:45 +02:00
Daniel Friesel
bf6f6405f1 Fix UTF-8 2018-10-07 09:11:22 +02:00
Daniel Friesel
7694e626a5 show journey distances as well 2018-10-05 20:41:28 +02:00
Daniel Friesel
6afef992f1 Show inline error messages when checkin/checkout fails 2018-10-05 19:12:49 +02:00
Daniel Friesel
2cdd176b94 disable navbar entries for now 2018-10-05 16:43:13 +02:00
Daniel Friesel
a29f2a2421 make index.pl executable 2018-10-05 16:39:23 +02:00
Daniel Friesel
d75351b30c Use POST requests to modify data 2018-10-05 16:33:59 +02:00