Birte Kristina Friesel
1074f248cc
use promises for checkin and traewelling_to_travelynx
2023-07-09 14:46:28 +02:00
Birte Kristina Friesel
b5723264a7
HAFAS station board: fix station name display
2023-07-09 07:07:31 +02:00
Derf Null
c9bae6fcee
journeys: simplify visibily check
2023-07-03 18:12:34 +02:00
Derf Null
a608ca6781
update ALL the copyright notices!
2023-07-03 17:59:25 +02:00
Derf Null
66e8dcb925
Profile: remove unused compute_effective_visibility function
2023-06-30 19:58:37 +02:00
Derf Null
0e4bafafd8
Profile: refactor visibility checks
2023-06-30 19:58:12 +02:00
Derf Null
a73e2edc86
profile: use effective visibility from journey object
2023-06-29 21:54:25 +02:00
Derf Null
f794d3c0a4
profile: treat self as follower
2023-06-29 21:52:18 +02:00
Derf Null
0702a0edca
Move hash_password to Model/Users
2023-06-26 19:50:49 +02:00
Derf Null
05924f2c67
Login: return HTTP 400 on invalid password or unconfirmed account
2023-06-25 23:28:38 +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
ee6470e0d8
status card / profile: fix users being unable to see own travelynx-only status
2023-06-23 22:46:15 +02:00
Derf Null
c5957fbdfd
User: remove legacy public_level / is_public field
2023-06-23 22:43:41 +02:00
Derf Null
a249be1d8b
run webhook when updating checkin comment or visibility
2023-06-18 08:38:55 +02:00
Molly Miller
beb59221e7
Add app version to default stashed values.
...
This means that the version no longer needs to be passed to every version
manually, and is automatically populated in templates where the parameter is
not explicitly provided.
2023-06-12 20:48:01 +02:00
Derf Null
619646b533
warn when trying to check out at invalid unscheduled station
...
Closes #72
2023-06-08 10:20:13 +02:00
Derf Null
ee0480854f
show follower-only checkins and journeys when viewing own profile
2023-06-04 19:37:35 +02:00
Derf Null
ab04bc19b9
consistently return HTTP 404 on not found errors
2023-06-04 19:37:16 +02:00
Derf Null
c1635e24fb
use a separate bad_request page for CSRF errors
2023-06-04 19:25:24 +02:00
Derf Null
42252ee96d
Account: add rel="me" to profile links
2023-06-04 18:56:43 +02:00
Derf Null
00eb6af1bd
expose follows / social interaction in frontend
2023-06-04 18:21:36 +02:00
Derf Null
0172f0ce8a
add profile editor
2023-06-04 14:28:04 +02:00
Derf Null
aab9fa7fe2
Profile#user_status: use account.name, not just name
2023-05-29 14:45:02 +02:00
Derf Null
b3f36b750a
Profile#user_status: return 404 if the user does not exist
2023-05-29 14:44:10 +02:00
Derf Null
dadb94a473
Traveling: remove unused JSON import
2023-05-29 14:30:58 +02:00
Derf Null
7580497cea
get_user_status_json_v1: expose visibility
2023-05-24 21:41:51 +02:00
Derf Null
ac816c09b2
rename get_privacy_by_name to get_privacy_by, allow requests by uid
2023-05-24 21:36:06 +02:00
Daniel Friesel
68468379e5
user_status: request public json entry
2023-05-23 21:16:59 +02:00
Derf Null
9b83e1a8f1
/status/:user: respond to JSON
2023-05-21 19:57:56 +02:00
Derf Null
dbc5c38968
get_user_status_json_v1: add public flag to hide actionTime
2023-05-21 19:44:43 +02:00
Derf Null
2e10115072
user_status: return no status if visibility is insufficient
2023-05-21 19:26:30 +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
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
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
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
77ac39f389
user status: pass token to journey on redirect
2023-03-01 17:59:20 +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