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
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
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
Hazelnoot
42b51e31fd
return movedAt, movedTo, and alsoKnownAs from admin/show-user endpoint
2025-11-12 17:07:58 -05:00
Hazelnoot
ba77e606f8
export migration URIs in addition to resolved user IDs, and move alsoKnownAs to MeDetailed for privacy
2025-11-12 17:07:58 -05:00
Hazelnoot
756e99e9c4
fix OpenAPI format for UserDetailed.movedTo
2025-11-12 17:07:58 -05:00
Hazelnoot
a347da6277
improve hostname logging in AccountMoveService
2025-11-12 17:07:57 -05:00
Hazelnoot
4225014603
fix return type of AccountMoveService.moveFromLocal
2025-11-12 17:07:57 -05:00
Hazelnoot
249205eef3
fix another cherry-pick mistake
2025-11-12 17:07:57 -05:00
Hazelnoot
f609c1cf11
fix cherry-pick error
2025-11-12 17:07:57 -05:00
Hazelnoot
b48e916b4a
update caches when moving accounts
2025-11-12 17:07:37 -05:00
Hazelnoot
5003557e90
don't mute users who are already followed
2025-11-12 17:07:37 -05:00