Commit graph

1402 commits

Author SHA1 Message Date
Hazelnoot
41d62e4534 fix notes/versions endpoint 2025-11-15 14:08:32 -05:00
Hazelnoot
c9f2554b2f track federation-related promises to avoid data loss during restart 2025-11-15 14:08:32 -05:00
Hazelnoot
41e50eeb0e add update-user-tags, update-note-tags, post-deliver, post-inbox, post-note, and check-hibernation background tasks 2025-11-15 14:08:32 -05:00
Hazelnoot
30c8e8a1a8 fix rate limit errors from get-online-users-count 2025-11-14 18:59:09 -05:00
Hazelnoot
516a65b8c1 fix "all" tab not showing replies to other users 2025-11-14 18:59:09 -05:00
Hazelnoot
d25a407c09 add "about" to response of admin/meta endpoint 2025-11-14 18:59:09 -05:00
Hazelnoot
eae8bd5970 define response type for admin/gen-vapid-keys endpoint 2025-11-14 18:59:09 -05:00
Hazelnoot
c678c4047c fix inverted filter condition in users/notes endpoint 2025-11-14 18:59:09 -05:00
Hazelnoot
a310cee715 remove unused withRepliesToSelf option from users/notes endpoint 2025-11-14 18:59:09 -05:00
Hazelnoot
ac0172b343 use bucket limit in users/notes endpoint 2025-11-14 18:59:09 -05:00
Hazelnoot
94c4b401e6 fix user silence not saving 2025-11-14 18:59:09 -05:00
Hazelnoot
a8e3d19c5c fix moderation notes not saving 2025-11-14 18:59:09 -05:00
Marie
58751020c8 merge: Fix error when viewing a deleted remote user (!1242)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1242

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-14 20:19:08 +01:00
Hazelnoot
0757ca921f rename cacheService.getUsers to findUsers to match naming scheme 2025-11-13 20:22:34 -05:00
Hazelnoot
4d09ccbcc8 simplify logic in users/show lookup 2025-11-13 20:22:33 -05:00
Hazelnoot
fb65fcf890 use CacheService in users/show endpoint 2025-11-13 20:22:33 -05:00
Hazelnoot
295b744db1 await or track more background delivery 2025-11-12 17:07:58 -05:00
Hazelnoot
b3e41b74a1 implement admin/restart-migration endpoint 2025-11-12 17:07:58 -05:00
Hazelnoot
42b51e31fd return movedAt, movedTo, and alsoKnownAs from admin/show-user endpoint 2025-11-12 17:07:58 -05:00
Hazelnoot
bc80fd7c49 fix cherry-pick errors 2025-11-07 00:22:32 -05:00
Hazelnoot
6f0893a319 rename cacheService.getUsers to findUsers to match naming scheme 2025-11-07 00:09:26 -05:00
Hazelnoot
00e7473f1c remove localUserByNativeTokenCache, add userByAcctCache, and convert userByIdCache/nativeTokenCache/uriPersonCache to quantum caches 2025-11-07 00:04:55 -05:00
Hazelnoot
8271dc199e normalize cache constructors and detect duplicate cache names 2025-11-05 19:42:31 -05:00
Hazelnoot
73cc50fe90 fix user list API schema, access checks, and caching 2025-11-05 19:42:31 -05:00
Hazelnoot
24e565780e fix broken query in /emojis endpoint 2025-11-05 19:42:31 -05:00
Hazelnoot
15e76806ff fix rate limit in /emojis endpoint 2025-11-05 19:42:31 -05:00
Hazelnoot
5478dcce41 fix rebase errors 2025-11-05 19:42:30 -05:00
Hazelnoot
a55649e89a move global services to "global" directory 2025-11-05 19:42:28 -05:00
Hazelnoot
05be2596ea update backend to the new templates 2025-11-05 19:41:08 -05:00
Hazelnoot
542b99244a fix backend unit tests: migrate delete({}) to deleteAll() 2025-11-05 19:40:48 -05:00
Hazelnoot
3fc17fd0ee use cache in NotificationEntityService 2025-11-05 19:40:10 -05:00
Hazelnoot
b9cff02c54 fix import in admin/invite/create endpoint 2025-11-05 19:21:50 -05:00
Hazelnoot
3a92471b68 convert all remaining backend code to TimeService 2025-11-05 19:21:50 -05:00
Hazelnoot
6cceca90f9 use TimeService everywhere in the backend 2025-11-05 19:21:46 -05:00
Hazelnoot
f908b85e95 fix many circular dependencies (import, forwardRef, and use of methods that should be exported functions instead) 2025-11-05 19:20:25 -05:00
Hazelnoot
57511f26d9 commit missed changes 2025-11-05 19:20:06 -05:00
Hazelnoot
2daf5c16ec fix list and instance caching, manage all CacheService caches, and fix list "with replies" setting 2025-11-05 19:20:05 -05:00
Hazelnoot
bb0925224d fix emoji caching 2025-11-05 19:20:05 -05:00
Marie
02e80f6ea6 merge: Fix note create/edit validation to prevent quote loops and other invalid notes (resolves #1194) (!1230)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1230

Closes #1194

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-03 23:17:12 +01:00
Hazelnoot
4c8ab73ecd fix rebase errors 2025-10-08 21:24:19 -04:00
Hazelnoot
edb74066da unify note create/edit logic to fix various logic bugs and validation gaps 2025-10-08 21:12:14 -04:00
Hazelnoot
74a7f96cc2 prevent remote instances from renoting a boost 2025-10-08 21:10:09 -04:00
Hazelnoot
9dc0d849ec recurse when preventing quote chains 2025-10-08 21:09:17 -04:00
Hazelnoot
b48859e562 add pagination to i/shared-access/list and i/apps endpoints 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
3747708eb5 revert un-needed refactor 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
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