Commit graph

10716 commits

Author SHA1 Message Date
Hazelnoot
cfbffefb7f merge: always validate role policies (!1176)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1176

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-11-15 16:43:16 -05:00
Hazelnoot
911f90f95a merge: Fix regressions from recent block/mute fixes (!1239)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1239

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-15 13:38:52 -05:00
Hazelnoot
61ea555943 fix refetchPublicKeyForApId always proceeding even if the timeout fails 2025-11-14 19:32:39 -05:00
Hazelnoot
36835b4a2e fix last time limit for public key refetch 2025-11-14 19:32:39 -05:00
Hazelnoot
0b6f029467 fix rebase errors 2025-11-14 19:32:39 -05:00
Hazelnoot
3216984ef6 use TimeService in ApDbResolverService.ts 2025-11-14 19:32:39 -05:00
Hazelnoot
0cc839da8a improve logging for edge cases in
refetchPublicKeyForApId
2025-11-14 19:32:39 -05:00
Hazelnoot
48c296c5ce don't refetch a user's public key if we've already updated them recently 2025-11-14 19:32:39 -05:00
Hazelnoot
4a1693776f when processing an activity, refetch the user's public key if they don't already have one 2025-11-14 19:32:39 -05:00
Hazelnoot
181ebc0a95 disable user / instance mandatory CW for list timelines 2025-11-14 18:59:09 -05:00
Hazelnoot
fba4a2f8b9 fix replies being filtered out of fanout timelines incorrectly 2025-11-14 18:59:09 -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
38abbb078a regenerate misskey-js 2025-11-14 18:59:09 -05:00
Hazelnoot
19a7c68fb8 fix incorrect reference to proxyAccount.enabled in settings.vue 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
Hazelnoot
e822253afb fix chat messages overflowing horizontally 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
30d41ba671 merge: Fix account migrations (!1229)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1229

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-14 14:18:40 -05:00
Hazelnoot
4261e77d40 fix lint errors in RoleService.ts 2025-11-13 21:41:37 -05:00
Hazelnoot
35e02c9273 fix merge error in RoleService.ts 2025-11-13 21:41:02 -05:00
dakkar
8773ddebe3 build role schema validators early
there is really no good reason to build them on-demand

also, this way, if the schema itself is invalid, we get the error
thrown at startup, not the first time we try to use one of the role
endpoints
2025-11-13 21:37:24 -05:00
dakkar
ce68485684 relax types for tests 2025-11-13 21:37:24 -05:00
dakkar
1b307fea69 fix types 2025-11-13 21:37:22 -05:00
dakkar
0289c08a79 always validate role policies
there might be a simpler way to do this, but:

* we already use Ajv to validate API arguments
* it was very easy to write
* it should be pretty clear how to add more policies
2025-11-13 21:37:04 -05:00
Hazelnoot
b39926f117 fix timeout in poll notification processor 2025-11-13 20:37:51 -05:00
Hazelnoot
bfcfa969a0 rearrange imports in RemoteUserResolveService to avoid merge conflicts 2025-11-13 20:22:34 -05:00
Hazelnoot
5c0424239a fix cache errors in SkRateLimiterServiceTests.ts 2025-11-13 20:22:34 -05:00
Hazelnoot
1fc337f9d0 fix rebase errors 2025-11-13 20:22:34 -05:00
Hazelnoot
ac324655c3 fix attempt to set lastFetchedAt to a number 2025-11-13 20:22:34 -05:00
Hazelnoot
0757ca921f rename cacheService.getUsers to findUsers to match naming scheme 2025-11-13 20:22:34 -05:00
Hazelnoot
18b909a10c move uriPersonCache to ApPersonService 2025-11-13 20:22:33 -05:00
Hazelnoot
e1044879ea fix merge errors 2025-11-13 20:22:33 -05:00
Hazelnoot
a0b2ef780b fix users not updating after resolving via webfinger 2025-11-13 20:22:33 -05:00
Hazelnoot
0f2e809229 fix timer leak in SkRateLimiterService 2025-11-13 20:22:33 -05:00
Hazelnoot
f6e1b40fd8 fix exception when fetching a user who doesn't exist yet 2025-11-13 20:22:33 -05:00
Hazelnoot
069d13c77f refactor RemoteUserResolveService to avoid exceptions while refreshing remote users 2025-11-13 20:22:33 -05:00
Hazelnoot
fdc1cc2368 remove duplicate function from ApDbResolverService 2025-11-13 20:22:33 -05:00
Hazelnoot
35eecf02b3 clean up and improve logic in ApPersonService.fetchPerson 2025-11-13 20:22:33 -05:00
Hazelnoot
4d09ccbcc8 simplify logic in users/show lookup 2025-11-13 20:22:33 -05:00
Hazelnoot
f37614b751 move parseUri from ApDbResolverService to UtilityService 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
68a3b4293c merge: Move user hibernation to scheduled system task (!1227)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1227

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-12 19:02:08 -05:00
Hazelnoot
5ee1621845 fix mute cache expiration 2025-11-12 17:20:22 -05:00