Commit graph

572 commits

Author SHA1 Message Date
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
c3c7a0c78b
stationboard: add HAFAS support 2023-03-27 21:03:25 +02:00
Derf Null
3acee2b285
API: import: fix get_api_token signature 2023-03-26 15:55:33 +02:00
Derf Null
402fcc4d6f
move profile / public data to a separate controller 2023-03-13 21:06:53 +01: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
609d7b3ebc remove unused journey_edit_mask attrs 2023-03-09 19:10:08 +01:00
Daniel Friesel
5d2bc54343 remve unused account_public_mask attr 2023-03-05 12:48:01 +01:00
Daniel Friesel
c0fb7c1b13
webfinger: adjust profile visibility 2023-03-04 13:23:19 +01:00
Daniel Friesel
5461326f01
always show /p/user if /status/user exists; only limit past journeys 2023-03-04 13:22:13 +01:00
Daniel Friesel
67dc1c203a
nvm -> dbf?hafas=1 2023-03-04 10:59:35 +01:00
Daniel Friesel
5d20bf155a
resolve_sb_template: escape / in station name 2023-03-04 10:55:05 +01:00
Daniel Friesel
26814aa470
user status: add footer 2023-03-04 09:33:44 +01:00
Daniel Friesel
e1231b88e2
status/profile: re-add ability to show latest checkout, if desired
got lost in 1.30.0
2023-03-04 09:03:50 +01:00
Daniel Friesel
2406fc4efe token: do not expose full checkin timestamp 2023-03-03 15:05:43 +01:00
Daniel Friesel
b725d7d52c set default visibility to unlisted 2023-03-03 15:05:28 +01:00
Daniel Friesel
a3cc2456a7
Travelynx journey_details: token is added by template 2023-03-02 22:04:23 +01:00
Daniel Friesel
aa56023788
user_status redirect: check visibility independent of token 2023-03-02 21:54:17 +01:00
Daniel Friesel
6a734a094b
visibility_form: use visibility_str 2023-03-02 21:20:59 +01:00
Daniel Friesel
f0e991a90d profile: respect profile visibility setting 2023-03-02 18:43:29 +01:00
Daniel Friesel
1c46f56b50 fix comment visibilitiy check 2023-03-02 18:34:01 +01:00
Daniel Friesel
792ab9fe23 journey details: require valid token if too old 2023-03-02 18:31:17 +01:00
Daniel Friesel
d35c49b55d user status: only redirect to journey if journey is visible 2023-03-02 17:54:09 +01:00
Daniel Friesel
09a4f1ce0b
User->add: set default privacy level to 'private' 2023-03-01 22:02:48 +01:00
Daniel Friesel
77ac39f389
user status: pass token to journey on redirect 2023-03-01 17:59:20 +01:00
Daniel Friesel
ae42028a71
Journeys->get: allow filtering by departure timestamp 2023-03-01 17:58:58 +01:00
Daniel Friesel
ba483a9daf
journey: add token to share link if non-public 2023-02-28 19:45:27 +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
978c7b03c2
journey: add share button 2023-02-15 20:01:43 +01:00
Daniel Friesel
1e1c71cfd8
journey details: include delay and distance in og card 2023-02-14 21:31:46 +01:00
Daniel Friesel
192af42d04
DBDB: apps-bahn wagenreihung no longer exists 2023-02-13 18:27:26 +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
e98fc8493f
annotate unused TRavelynx.pm components (todo) 2023-01-22 12:34:54 +01:00
Daniel Friesel
8e94fcea5f
move token type to ID map from Travelynx.pm to Model/Users 2023-01-22 12:33:02 +01:00
Daniel Friesel
59e9a24aa6
move get_api_token to users model 2023-01-22 11:34:53 +01:00
Daniel Friesel
af82c46d57
get latets stations: remove duplicates 2023-01-22 10:32:06 +01:00
Daniel Friesel
3e2491a9bc
API documentation: do not perform database requests from template helpers 2023-01-21 08:36:25 +01:00
Daniel Friesel
9b205229a3
latest checkout stations: order by journey id rather than timestamp 2023-01-18 18:48:32 +01:00
Daniel Friesel
3f08f86ac2
migration: only select required fields 2023-01-18 18:36:11 +01:00
Daniel Friesel
e937324617
landing page: show past stops if geolocation is unavailable 2023-01-18 18:13:35 +01:00
Daniel Friesel
eb1ed1bb48
do not overwrite route timestamps when updating route data 2023-01-17 19:11:38 +01:00
Daniel Friesel
1be5d4d0b0
Journeys: perltidy 2023-01-15 20:29:30 +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
9b57a74831
webfinger: remove superfluous acct: in response 2023-01-08 10:02:45 +01:00