Commit graph

4743 commits

Author SHA1 Message Date
Hazelnoot
b48859e562 add pagination to i/shared-access/list and i/apps endpoints 2025-10-07 20:50:18 -04:00
Hazelnoot
90ff04eebc remove extraneous comment 2025-10-07 20:50:18 -04:00
Hazelnoot
36ee9382dd simplify checks for token roles 2025-10-07 20:50:18 -04:00
Hazelnoot
563929bb81 fix user.permissions not respecting token or moderator perms 2025-10-07 20:50:16 -04:00
Hazelnoot
9d6a667710 revert un-needed refactor (2) 2025-10-07 20:50:04 -04:00
Hazelnoot
3747708eb5 revert un-needed refactor 2025-10-07 20:50:04 -04:00
Hazelnoot
f9a82fc424 remove commented code 2025-10-07 20:50:04 -04:00
Hazelnoot
df750a6b65 pass client token through API via caller ID 2025-10-07 20:50:04 -04:00
Hazelnoot
2e61fafe57 pass "me" in a few places that lack it 2025-10-07 20:50:04 -04:00
Hazelnoot
7f547a8c10 revert 44ff9f39: pass access token through API to enforce rank 2025-10-07 20:50:01 -04:00
Hazelnoot
d7a629e178 fix type errors in NotificationService / NotificationEntityService 2025-10-07 20:49:42 -04:00
Hazelnoot
b62f6ca042 inline token metadata into the notification instead of just storing the ID 2025-10-07 20:49:38 -04:00
Hazelnoot
82cac0bbb7 add onlySharedAccess option to i/apps endpoint 2025-10-07 20:49:29 -04:00
Hazelnoot
35a167701f add notifications for shared access granted/revoked/login 2025-10-07 20:49:28 -04:00
Hazelnoot
e51bee48ec return token rank in i/shared-access/list 2025-10-07 20:49:28 -04:00
Hazelnoot
945260d175 fix error in i/shared-access/list 2025-10-07 20:49:28 -04:00
Hazelnoot
5742aade4c check that grantees are local 2025-10-07 20:49:28 -04:00
Hazelnoot
18622fb540 fix lint error in ApiCallService.ts 2025-10-07 20:49:28 -04:00
Hazelnoot
7a6ac302f5 return assigned permissions from /i endpoint (resolves #657) 2025-10-07 20:49:28 -04:00
Hazelnoot
8955d05962 fix wrong API parameter in i/shared-access/login 2025-10-07 20:49:28 -04:00
Hazelnoot
49dad22609 replace shared_access_token table with an extra column on access_token 2025-10-07 20:49:28 -04:00
Hazelnoot
e5cf9d3f9a add migration for access token rank 2025-10-07 20:49:28 -04:00
Hazelnoot
186c615e3f pass access token through API to enforce rank 2025-10-07 20:49:26 -04:00
Hazelnoot
fae87e03c0 enforce token rank in API 2025-10-07 20:48:42 -04:00
Hazelnoot
23e69eccbb show grantee and rank info in tokens list 2025-10-07 20:48:32 -04:00
Hazelnoot
fe53c16b23 rename sharedAccessTokensRepository to match naming convention 2025-10-07 20:48:32 -04:00
Hazelnoot
70b85e5215 allow tokens to limit a user's rank 2025-10-07 20:48:32 -04:00
Hazelnoot
ec3947b992 remove redundant async from i/shared-access/list 2025-10-07 20:47:36 -04:00
Hazelnoot
fa5a46f379 basic support for Shared Access Accounts 2025-10-07 20:47:34 -04:00
Lhc_fl
e6fd69f634
🐛 fix: userBlockedCache is invalid 2025-09-29 17:14:23 +08:00
Marie
741e612508 merge: Expand Mandatory CW feature and fixup block/mute/silence features (resolves #809, #910, #912, #943, #1064, #1142, and #1186) (!1148)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1148

Closes #809, #910, #912, #943, #1064, #1142, and #1186

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-25 20:05:46 +02:00
dakkar
9fe850893b fix exception type in test 2025-09-21 16:35:16 +01:00
Hazelnoot
0e6caa625c fix cw-note erasing parts of the note 2025-09-19 12:01:36 -04:00
dakkar
77852b8cce teach tests about the new way we fail websockets 2025-09-19 13:33:22 +01:00
dakkar
e111d8aa55 enable shutdown hooks in tests
just because
2025-09-19 13:04:13 +01:00
dakkar
0e985b77d6 fix wss error on shutdown
this is triggered by e2e tests
2025-09-19 13:03:08 +01:00
Hazelnoot
3ecfb02aaf fix references to nullable subscriber object 2025-09-19 02:42:09 -04:00
Hazelnoot
e68e0266a4 fix user's DMs not showing up in their own home timeline when Fanout Timeline is enabled 2025-09-18 22:08:33 -04:00
Hazelnoot
e1639f70df fix null safety in StreamingApiServerService.ts 2025-09-18 20:37:02 -04:00
Hazelnoot
6b281af9fa fix null safety in Connection.ts 2025-09-18 20:35:01 -04:00
Hazelnoot
2e03d2c88e fix unrelated type error in e2e/clips.ts 2025-09-18 20:31:03 -04:00
Hazelnoot
1eb20ded64 fix unrelated type error in e2e/clips.ts 2025-09-18 19:30:27 -04:00
Hazelnoot
4bab56609f follow-up fixes to NoteVisibilityService changes 2025-09-18 19:29:21 -04:00
Hazelnoot
4b57d7d6dd populate renote target in NoteVisibilityService 2025-09-18 17:36:26 -04:00
Hazelnoot
a1a35cad25 fix data load/passing in NoteVisibilityService 2025-09-18 17:36:25 -04:00
Hazelnoot
8430ceac7a merge: fix: respect privacy settings on akkoma/pleroma note imports (!1217)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1217

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-09-15 14:35:09 -04:00
Hazelnoot
49901cc46b merge: Conditional role tester (!1201)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1201

Closes #897

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-09-14 06:56:13 -04:00
Hazelnoot
e72d153cc8 merge: Add check to prevent creating too many active dialog announcements (!1175)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1175

Closes #769

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-09-14 06:54:53 -04:00
Hazelnoot
364e189721 merge: Support video/x-matroska (MKV) files for embed (!1214)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1214

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-13 14:32:57 -04:00
Hazelnoot
aee99a4000 merge: Better error handling in WebSocket (!1224)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1224

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-13 14:32:45 -04:00