Commit graph

138 commits

Author SHA1 Message Date
Daniel Friesel
10c995e15f journey: show error for _all_ invalid IDs 2019-03-31 19:34:29 +02:00
Daniel Friesel
3ce1cfc55f Select journeys by ID 2019-03-31 19:32:41 +02:00
Daniel Friesel
76f6922e82 maintenance: delete accounts which requested deletion 2019-03-31 17:58:05 +02:00
Daniel Friesel
76f99a1013 README: Update Depenencies and Usage 2019-03-31 14:09:14 +02:00
Daniel Friesel
8bf145b5c4 remove code related to undo-as-database-entry concept 2019-03-31 09:11:52 +02:00
Daniel Friesel
a8a3aa17ce Perform undo by deleting the erroneous database entry 2019-03-31 08:45:51 +02:00
Daniel Friesel
341665c79b sort journeys by departure time 2019-03-30 21:43:35 +01: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
8acc010fa8 update systemd unit file 2019-03-27 20:04:27 +01:00
Daniel Friesel
87a3ceb0c1 remove sleep(1) workaround in checkout-before-checkin code path
The unique constraint on (user id, timestamp) is no longer present
2019-03-25 21:37:11 +01:00
Daniel Friesel
a30970eb8b distinguish prod/dev in nav bar 2019-03-25 21:34:49 +01:00
Daniel Friesel
00efb2e320 Move maintenance script to Mojolicious command 2019-03-25 19:54:49 +01:00
Daniel Friesel
edf4642933 Migrate munin command 2019-03-25 18:17:54 +01:00
Daniel Friesel
a3688f64d5 Log SQL errors 2019-03-25 18:12:01 +01:00
Daniel Friesel
e2b78170a5 Postgres does not require decode() calls 2019-03-25 18:11:48 +01:00
Daniel Friesel
62929a570a Remove unused login controller 2019-03-25 17:18:28 +01:00
Daniel Friesel
632f731940 Migrate to postgresql 2019-03-25 17:04:39 +01:00
Daniel Friesel
d114a6248e more configuration options, more performance 2019-03-23 22:08:21 +01:00
Daniel Friesel
d0e1c5d1db Explicitly enable autocommit 2019-03-23 21:41:23 +01:00
Daniel Friesel
1fe8ee8e6a remove unused function 2019-03-23 19:10:04 +01:00
Daniel Friesel
e53ab5f781 move munin-stats to a mojolicious command 2019-03-22 21:18:03 +01:00
Daniel Friesel
98822bdbf7 perltidy 2019-03-22 16:57:24 +01:00
Daniel Friesel
32cc2f0f81 More refactoring 2019-03-22 16:56:49 +01:00
Daniel Friesel
0243a114b4 Add migration for monthly stats 2019-03-21 22:14:10 +01:00
Daniel Friesel
21fe8a6990 Initiate transition to a Mojolicious MVC web application 2019-03-21 22:12:45 +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
ef8b688eb1 decrease header size 2019-03-20 18:01:42 +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
e24f895303 use common action_query instead of checkin_query vs checkout_query 2019-03-19 17:27:02 +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
842fcbcea9 get_user_travels: Fix message order 2019-03-17 18:46:23 +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