Daniel Friesel
c6634b4097
maintenance: remove checkins which were entered more than 48 hours ago
2019-12-20 18:56:57 +01:00
Daniel Friesel
b0ddada5d1
munin: Add 'currently checked in' counter
2019-12-19 19:22:56 +01:00
Daniel Friesel
cabf159f46
Handle Berlin Ringbahn and other transfer-at-destination trains
...
Requires Travel::Status::DE::IRIS v1.38 (not released yet)
2019-12-15 13:42:11 +01:00
Daniel Friesel
6d45533c14
mark cancelled stops in checkin view
2019-10-04 23:27:45 +02:00
Daniel Friesel
8c160f6854
Fix wagon order and direction display
...
This was broken by a database migration introduced in
commit f6d56d3134
2019-08-31 09:18:49 +02:00
Daniel Friesel
f6d56d3134
Add proper journey comment support
2019-08-23 10:34:02 +02:00
Daniel Friesel
e259a5e5dd
Fix beeline distance calculation when start/stop has no geo-coordinates
2019-08-13 21:30:59 +02:00
Daniel Friesel
0bbdd768f4
prepare for wagon order support
2019-06-17 20:59:57 +02:00
Daniel Friesel
b54c977e08
increase checkout delay to work around IRIS information lag
2019-06-10 18:09:54 +02:00
Daniel Friesel
7be3a4219e
checked in: Show QoS messages before departure and HIM messages at all times
2019-06-04 21:12:36 +02:00
Daniel Friesel
f355a8d95e
disappearing trains are no longer critical with the latest change
2019-06-01 12:38:26 +02:00
Daniel Friesel
b1591eed54
show current/next stop while checked in
2019-05-31 20:18:22 +02:00
Daniel Friesel
7fe95532c1
Use JSON for messages and route storage, prepare for extended route data
2019-05-26 17:28:21 +02:00
Daniel Friesel
1dc04eb45a
show journey suggestions on departure board as well
2019-05-20 19:15:21 +02:00
Daniel Friesel
7486920a6a
Proactively recompute yearly stats to avoid long user wait times
2019-05-18 17:11:28 +02:00
Daniel Friesel
e68043b8fb
Show arrival/departure platform in journey card
2019-05-18 17:10:53 +02:00
Daniel Friesel
b36ba45aef
WiP webhook support
2019-05-05 18:09:11 +02:00
Daniel Friesel
b4bb68b7c3
Add worker command for Docker setups ( #9 )
2019-05-03 18:26:05 +02:00
Daniel Friesel
fb2a06c59c
work: Not finding a train at the destination is usually not an error
2019-05-02 10:05:49 +02:00
Daniel Friesel
048767149e
use a separate table for registration tokens
2019-04-30 18:05:07 +02:00
Daniel Friesel
a57a24c2d6
add "active user count" munin command
2019-04-30 12:56:11 +02:00
Daniel Friesel
99aa3a4a0d
Implement deletion of inactive accounts
2019-04-30 12:48:23 +02:00
Daniel Friesel
867a5d4afb
allow users to change their mail address
...
Closes #6
2019-04-30 12:08:51 +02:00
Daniel Friesel
0226eba60a
maintenance: Also delete pending_passwords entries
2019-04-29 20:32:04 +02:00
Daniel Friesel
25d0530e86
Add password reset functionality
...
Closes #5
2019-04-29 20:12:59 +02:00
Daniel Friesel
6ff397c9b3
add database table/column comments
2019-04-29 10:25:17 +02:00
Daniel Friesel
fd6d12d355
Handle inconsistent data when calculating monthly/yearly stats
...
Closes #11
2019-04-28 22:33:09 +02:00
Daniel Friesel
e500c2e537
work: Update route and messages
2019-04-26 22:12:34 +02:00
Daniel Friesel
fd314e327d
maintenance, munin: Use journeys, not user_actions
2019-04-24 08:45:56 +02:00
Daniel Friesel
ffaa0c44a7
Automatic checkout \o/
2019-04-23 21:30:31 +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
812be4f0cb
Finish transition from DBI to Mojo::Pg
2019-04-22 13:42:41 +02:00
Daniel Friesel
c65232904f
Use Mojo::Pg for migrations
2019-04-22 12:30:05 +02:00
Daniel Friesel
b860b46e52
database migrate: Use truncate
2019-04-21 17:45:25 +02:00
Daniel Friesel
78b2d995ef
Ignore stations without coordinates in distance calculation
...
Reported by @marudor
2019-04-21 15:46:19 +02:00
Daniel Friesel
eff979081c
Add a registration test
2019-04-18 14:51:45 -04:00
Daniel Friesel
065c844fde
Refactor munin command to use Mojo::Pg
2019-04-17 13:36:01 -04:00
Daniel Friesel
ecedc6a4f2
Add a dumpconfig command, mostly useful to debug Docker setups
2019-04-17 07:11:04 -04:00
Daniel Friesel
c19f239d1d
Do not print error when encountering an empty database
2019-04-14 08:44:27 +02:00
Markus Witt
ed397093c2
database setup: merge setup and migration code paths
2019-04-13 23:36:58 +02:00
Daniel Friesel
4d413d06a3
"database" sub-command: Provide an exit status
2019-04-13 17:17:44 +02:00
Markus Witt
4bf62cf2a8
fix dbschema: add type for edited
2019-04-13 16:56:15 +02:00
Daniel Friesel
61b1ef398e
maintenance: Fix stats table name
2019-04-13 11:52:26 +02:00
Daniel Friesel
bba6721754
Allow journey editing, keep track of edited journey attributes
...
Provides a workaround for #2
2019-04-09 18:37:21 +02:00
Daniel Friesel
d0b6b7e052
Cache journey stats
2019-04-07 16:55:35 +02:00
Daniel Friesel
8096c33c00
Add a note about updating travelynx
2019-04-07 14:18:56 +02:00
Daniel Friesel
c4a60375f4
Add a database command for database setup and migrations
2019-04-06 21:08:36 +02:00
Daniel Friesel
76f6922e82
maintenance: delete accounts which requested deletion
2019-03-31 17:58:05 +02: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
e53ab5f781
move munin-stats to a mojolicious command
2019-03-22 21:18:03 +01:00