Commit graph

623 commits

Author SHA1 Message Date
Derf Null
0e4bafafd8
Profile: refactor visibility checks 2023-06-30 19:58:12 +02:00
Derf Null
a5bdf28f4c
perltidy 2023-06-29 21:54:51 +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
00ee3de6c1
Journey->add_from_in_transit: return ID of added journey 2023-06-28 22:21:51 +02:00
Derf Null
bb43a2e8e3
journeys: return effective visibility 2023-06-27 21:50:28 +02:00
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
05924f2c67
Login: return HTTP 400 on invalid password or unconfirmed account 2023-06-25 23:28:38 +02:00
Derf Null
e14966c488
Users->add: correctly specify default visibility 2023-06-25 11:09:51 +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
0516344ac0
login form: add hint about pages being only visibile after login 2023-06-09 07:55:59 +02:00
Derf Null
88ede7e308
update ice names 2023-06-08 12:44:04 +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
e275fc6dbe
Fix edge case that allowed in-transit journeys with invalid destinations 2023-06-07 23:04:00 +02:00
Derf Null
bdc05e0b8e
fix missing join condition in followers view 2023-06-04 22:59:22 +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
34665da2a0
do not accept follows / follow requests by default 2023-06-04 19:05:20 +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
d4a6470141
Users: support notifications about pending follow requests 2023-06-03 10:42:14 +02:00
Derf Null
b2feb1b664
Users: Add unfollow action 2023-06-01 22:07:01 +02:00
Derf Null
9332f60a43
prepare for follow relations and follow-only checkins 2023-05-31 22:16:27 +02:00
Derf Null
0f9519c40b
get_user_status_json_v1: expose comment 2023-05-29 14:50: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
72f6c2ea2d
fix pride ICE not being indicated in public status card 2023-05-18 08:25:19 +02:00
Derf Null
671e518caf
get_user_status: expose lat/lon from database view, do not re-compute it 2023-05-16 20:02:20 +02:00
Derf Null
b7720a1acf
get_user_status: remove superfluous station requests 2023-05-16 19:56:02 +02:00
Derf Null
b9f8ccd82a
ajax route: handle missing schedule data 2023-05-11 18:32:27 +02:00
Derf Null
af3cdee113
route: only override delay if real-time data is not available 2023-05-01 11:38:11 +02:00
Derf Null
e4a07dc06c
journey: show times of intermediate stops, if available 2023-05-01 10:06:30 +02:00
Derf Null
796699a9c6
add_route_timestamps: keep real-time data where possible 2023-04-30 07:42:48 +02:00
Daniel Friesel
f681aa41db
Perl is hard 2023-04-06 15:16:52 +02:00