Derf Null
8cb0de1b70
compute effective visibility in database view
2023-06-26 20:53:08 +02:00
Derf Null
16237bfe21
use small stations database for some tests
2023-06-26 20:18:27 +02:00
Derf Null
0702a0edca
Move hash_password to Model/Users
2023-06-26 19:50:49 +02:00
Derf Null
b44b770ec3
fine-graned visibility selection of history / past checkins
...
most notably, adds a 'history for followers only' mode
2023-06-24 21:25:14 +02:00
Derf Null
085d77a1fa
time to flush the name cache
2023-06-24 18:36:59 +02:00
Derf Null
bdc05e0b8e
fix missing join condition in followers view
2023-06-04 22:59:22 +02:00
Derf Null
34665da2a0
do not accept follows / follow requests by default
2023-06-04 19:05:20 +02:00
Derf Null
00eb6af1bd
expose follows / social interaction in frontend
2023-06-04 18:21:36 +02:00
Derf Null
d4a6470141
Users: support notifications about pending follow requests
2023-06-03 10:42:14 +02:00
Derf Null
9332f60a43
prepare for follow relations and follow-only checkins
2023-05-31 22:16:27 +02:00
Daniel Friesel
f681aa41db
Perl is hard
2023-04-06 15:16:52 +02:00
Daniel Friesel
3b6297b785
work: real_arr_ts may be undefined
2023-04-02 17:05:13 +02:00
Derf Null
852c7797b0
Update HAFAS polylines prior to checkout
...
In case of diversions, the polyline fetched at checkin time may no longer be
accurate. Request a new polyline prior to checkout to address this.
Closes #66
2023-04-01 18:05:32 +02:00
Derf Null
abc1e4e3a8
work: avoid race conditions with frontend when calling checkout
2023-03-10 17:18:08 +01:00
Derf Null
f79e34fb62
worker: select on arr and dep eva for all arr/dep updates
...
still missing (TODO): add_route_timestamps
2023-03-10 16:57:31 +01:00
Daniel Friesel
b725d7d52c
set default visibility to unlisted
2023-03-03 15:05:28 +01:00
Daniel Friesel
6d261197e3
set visibility per journey (wip)
...
some odds and ends left to polish, but ready for testing
2023-02-27 22:14:54 +01:00
Daniel Friesel
fb3878665b
update ze copyright
2023-02-19 09:35:38 +01:00
Daniel Friesel
3da22fc8f9
improve inconsistency list
2023-02-04 22:17:57 +01:00
Daniel Friesel
6b4a82da32
inconsistent journeys: link to journeys
2023-02-04 21:17:45 +01:00
Daniel Friesel
f115283cb8
account: implement immediate deletion
2023-01-22 13:07:59 +01:00
Daniel Friesel
3499311154
Move account deletion to Users model
2023-01-22 13:07:46 +01:00
Daniel Friesel
1c63574245
users: rename "add_user" to "add" and "get_data" to "get"
2023-01-22 12:44:19 +01:00
Daniel Friesel
3f08f86ac2
migration: only select required fields
2023-01-18 18:36:11 +01:00
Daniel Friesel
4abc43b72e
change route/stop layout to [name, eva, {data}]
2023-01-15 16:37:32 +01:00
Daniel Friesel
e42b7030d0
update integritycheck to use internal station database
2023-01-15 06:48:06 +01:00
Daniel Friesel
dbd9d9951f
decrease amount of traewelling get_status requests
2023-01-07 13:57:47 +01:00
Daniel Friesel
61b91fe4b2
log traewelling sync HTTP status to influxdb
2023-01-07 13:31:14 +01:00
Daniel Friesel
628bd319d6
work, traewelling: only push to influxdb in prod mode
2023-01-07 13:07:29 +01:00
Daniel Friesel
4c1ae6d045
influxdb command: directly write to db rather than stdout
2023-01-02 06:20:07 +01:00
Daniel Friesel
4b8fd09b27
move traewelling sync to a separate command
2023-01-02 05:59:38 +01:00
Daniel Friesel
c5969fc1dc
work: count errors
2022-12-30 19:49:17 +01:00
Daniel Friesel
7dc1b80ece
work: separate durations for main and traewelling
2022-12-30 16:46:18 +01:00
Daniel Friesel
59f844103d
worker: optionally publish influxdb stats
2022-12-30 16:27:51 +01:00
Daniel Friesel
09463d7d11
influxdb: report total checkins rather than windows
2022-12-28 17:41:17 +01:00
Daniel Friesel
c5ac07c375
add influxdb command
2022-12-28 16:04:45 +01:00
Daniel Friesel
73fa1a960c
work: Fix log invocation
2022-12-27 09:46:15 +01:00
Daniel Friesel
2534cae31f
work: not finding a departing train is not critical
2022-12-23 21:20:32 +01:00
Daniel Friesel
4b37560640
database migration: track previosu travelynx version; offer rollback hints
2022-12-12 22:35:08 +01:00
Daniel Friesel
2f7669a520
database IRIS sync: update ds100, name, lat, lon from IRIS DB
2022-12-12 20:21:44 +01:00
Daniel Friesel
54c46ac9f0
database: has-current-schema: check IRIS version
2022-12-12 20:13:07 +01:00
Daniel Friesel
5de6dfb4e1
database: refactor schema/iris version check
2022-12-11 20:10:58 +01:00
Daniel Friesel
afedcef266
get name/ds100 from db and lat/lon from dict
...
result: significant performance improvement for stats generation
2022-12-07 22:46:04 +01:00
Daniel Friesel
2f9ba6e017
switch to internal station database; add out-of-service stations for old journeys
2022-12-07 19:42:48 +01:00
Daniel Friesel
d791825123
maintenance: remove polyline code. polylines were added more than two years ago
2022-12-04 22:07:20 +01:00
Daniel Friesel
e2b756f06e
integritycheck: process journeys row by row rather than at once
2022-12-04 21:04:43 +01:00
Daniel Friesel
37cb85e60d
integritycheck: also check station names in routes
2022-12-04 20:57:27 +01:00
Daniel Friesel
8f1bf57a65
rename missingstations command to integritycheck
2022-12-04 18:52:01 +01:00
Daniel Friesel
22069102a7
add missingstations maintenance command
2022-11-25 18:26:32 +01:00
Daniel Friesel
e54130ad6e
optionally show local transit connections as well
2022-09-24 18:53:04 +02:00