Commit graph

1941 commits

Author SHA1 Message Date
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
5f50f51426 fix custom errors having the wrong name in stack traces 2025-11-11 20:07:28 -05:00
Hazelnoot
bc80fd7c49 fix cherry-pick errors 2025-11-07 00:22:32 -05:00
Hazelnoot
1eb7159173 add CacheService.findLocalUserByNativeToken and findOptionalLocalUserByNativeToken 2025-11-07 00:09:27 -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
b25eb703ea strip unsupported anyOf, oneOf, and allOf from param definitions 2025-11-05 19:41:08 -05:00
Hazelnoot
ed2feda974 validate "required" property when generating schemas 2025-11-05 19:41:08 -05:00
Hazelnoot
9beeca5942 modernize backend to target the same ES and TS standards as the rest of the app 2025-11-05 19:40:49 -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
ac196d5c6a fix openAPI schema generation 2025-11-05 19:35:31 -05:00
Hazelnoot
454e193b2f fix mfm import in MastodonConverters 2025-11-05 19:35:31 -05:00
Hazelnoot
3702729f26 update all dependencies 2025-11-05 19:29:50 -05:00
Hazelnoot
681afb2d9f fix type errors caused by dependency updates 2025-11-05 19:25:53 -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
79ea21fdc4 use CacheService in GetterService 2025-11-05 19:20:25 -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
c03d592256 manage app cache 2025-11-05 19:20:21 -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
Hazelnoot
ac9b787796 move userFollowingChannelsCache and federatedInstanceCache to CacheService for more reliable disposal 2025-11-05 19:20:04 -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