Commit graph

33074 commits

Author SHA1 Message Date
Marie
dccac4cefd merge: Fix query timeout in poll notification processor (!1243)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1243

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-11-14 20:17:15 +01:00
Hazelnoot
9ab37d1411 merge: Fix megalodon's path being wrong in Dockerfile and scripts (!1238)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1238

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-11-14 09:41:07 -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
Marie
6117b87925 fix path in clean*.js 2025-11-13 18:32:02 +01:00
Marie
66346ae389 Fix Dockerfile error 2025-11-13 11:45:52 +01: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
Hazelnoot
8f033d9b89 use import type in RelayService 2025-11-12 17:07:59 -05:00
Hazelnoot
82bf739be1 fix rebase errors in master.ts 2025-11-12 17:07:59 -05:00
Hazelnoot
3e68f1d0fd fix rebase error 2025-11-12 17:07:59 -05:00
Hazelnoot
b89a87de3e regenerate misskey-js 2025-11-12 17:07:59 -05:00
Hazelnoot
4e35353bea fix rebase errors 2025-11-12 17:07:58 -05:00
Hazelnoot
ead697ee3b merge coreLogger utility with new startup services concept 2025-11-12 17:07:58 -05:00
Hazelnoot
146c0a6096 fix merge errors 2025-11-12 17:07:58 -05:00
Hazelnoot
5dc9eadf04 regenerate misskey-js 2025-11-12 17:07:58 -05:00
Hazelnoot
2b6813847f regenerate misskey-js 2025-11-12 17:07:58 -05:00
Hazelnoot
0baf8555ef add missing LD context for noindex 2025-11-12 17:07:58 -05:00
Hazelnoot
295b744db1 await or track more background delivery 2025-11-12 17:07:58 -05:00
Hazelnoot
11356acb98 suppress JSON-LD errors when signing activities for relays 2025-11-12 17:07:58 -05:00
Hazelnoot
c83fa9fcd3 various improvements to admin-user migrations UI 2025-11-12 17:07:58 -05:00
Hazelnoot
7e36e17e63 fix massive whitepace at the top of admin-user 2025-11-12 17:07:58 -05:00
Hazelnoot
c539734ec2 don't crash admin-user page if one of the requests fails 2025-11-12 17:07:58 -05:00
Hazelnoot
477a01fab6 allow CSS _spacer to have vertical space removed 2025-11-12 17:07:58 -05:00
Hazelnoot
e2fd380f0c show migration restart in the modlog 2025-11-12 17:07:58 -05:00
Hazelnoot
42470f099a show account migration info / controls in admin-user 2025-11-12 17:07:58 -05:00
Hazelnoot
800b780267 show "account moved" banner even if the URI couldn't be resolved 2025-11-12 17:07:58 -05:00
Hazelnoot
b3e41b74a1 implement admin/restart-migration endpoint 2025-11-12 17:07:58 -05:00
Hazelnoot
8310c128a8 fix WebhookTestService 2025-11-12 17:07:58 -05:00