Hazelnoot
bbdc62992a
await DB cleanup in chart.ts unit test
2025-11-05 19:20:05 -05:00
Hazelnoot
d3ac7598b7
remove NestJS instance from ApMfmService.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
1e04b20b6b
fix activitypub.ts unit tests
2025-11-05 19:20:05 -05:00
Hazelnoot
a3e969625d
remove inline providers from unit tests
2025-11-05 19:20:05 -05:00
Hazelnoot
92892338f3
call app.init, app.enableShutdownHooks, and app.close in more tests
2025-11-05 19:20:05 -05:00
Hazelnoot
7d6732bf96
commit missed changes in UserEntityService.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
31ce0f7cd2
use CacheManagementService in CheckModeratorsActivityProcessorService.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
5db84dfc9b
disconnect redis after running e2e/timelines.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
3f950e398b
remove NoOpCaches in favor of CacheManagementService
2025-11-05 19:20:05 -05:00
Hazelnoot
c8976fef94
update unit tests for QuantumKVCache
2025-11-05 19:20:05 -05:00
Hazelnoot
e222516fce
update unit tests for is-retryable-error
2025-11-05 19:20:05 -05:00
Hazelnoot
b32f3b5019
manage caches in SkRateLimiterService
2025-11-05 19:20:05 -05:00
Hazelnoot
338dad9a87
add unit tests for CacheManagementService
2025-11-05 19:20:05 -05:00
Hazelnoot
ff76371057
add MockApResolverService testing utility
2025-11-05 19:20:05 -05:00
Hazelnoot
ac0d261190
add FakeSkRateLimiterService testing utility
2025-11-05 19:20:05 -05:00
Hazelnoot
d2e902f5b7
rename FakeInternalEventService to MockInternalEventService and fix DI errors
2025-11-05 19:20:05 -05:00
Hazelnoot
dac1a3d20f
add FakeCacheManagementService testing utility
2025-11-05 19:20:05 -05:00
Hazelnoot
4142788989
add MockRedis testing utility
2025-11-05 19:20:05 -05:00
Hazelnoot
1d5bc6928f
add FakeRedis testing utility
2025-11-05 19:20:05 -05:00
Hazelnoot
411df0c0bf
fix DI errors when using TimeService
2025-11-05 19:20:05 -05:00
Hazelnoot
48cc7e21e3
make TimeService abstract and add support for managed timers
2025-11-05 19:20:04 -05:00
Hazelnoot
5b01ed54b9
implement MockApResolverService.ts testing utility
2025-11-05 19:20:04 -05:00
Hazelnoot
6f6ee0436e
verify recursion limit in MockResolver
2025-11-05 19:20:04 -05:00
Hazelnoot
c45d6ea452
implement MockLoggerService.ts testing utility
2025-11-05 19:20:04 -05:00
Hazelnoot
5a28c4e110
implement kvp-array.ts utility
2025-11-05 19:20:04 -05:00
Hazelnoot
4d9317ad2b
make sure S3 clients are properly disposed
2025-11-05 19:20:04 -05:00
Hazelnoot
b8e3f545c0
add missing shutdown hooks in unit tests
2025-11-05 19:20:04 -05:00
Hazelnoot
ac9b787796
move userFollowingChannelsCache and federatedInstanceCache to CacheService for more reliable disposal
2025-11-05 19:20:04 -05:00
Marie
741e612508
merge: Expand Mandatory CW feature and fixup block/mute/silence features ( resolves #809 , #910 , #912 , #943 , #1064 , #1142 , and #1186 ) ( !1148 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1148
Closes #809 , #910 , #912 , #943 , #1064 , #1142 , and #1186
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-25 20:05:46 +02:00
dakkar
9fe850893b
fix exception type in test
2025-09-21 16:35:16 +01:00
dakkar
77852b8cce
teach tests about the new way we fail websockets
2025-09-19 13:33:22 +01:00
Hazelnoot
2e03d2c88e
fix unrelated type error in e2e/clips.ts
2025-09-18 20:31:03 -04:00
Hazelnoot
1eb20ded64
fix unrelated type error in e2e/clips.ts
2025-09-18 19:30:27 -04:00
Hazelnoot
92750240eb
implement mandatory CW for notes ( resolves #910 )
2025-09-13 11:34:35 -04:00
dakkar
bbf1575250
merge: split our contribution guidelines in their own file ( !1147 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1147
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Luna <her@mint.lgbt>
2025-09-13 15:26:03 +00:00
наб
f3b5c3f447
Allow restricting announcement to a set of roles. Fix MkRoleSelectDialog only respecting publicOnly half the time
...
Closes #682
2025-08-11 23:53:05 +02:00
dakkar
9b164003d4
more robust "delivery suspend software"
...
upstream's code doesn't allow any way to match a version that `semver`
can't parse, not even with `*`:
```
> semver.satisfies('1-2-3','*');
false
> semver.satisfies('1.3','*');
false
> semver.satisfies('1.2.3','*');
true
```
while I was there, I added support for regexp in both name and
version, and added unit tests
2025-08-03 12:40:17 +01:00
Hazelnoot
1cf5988885
merge: Improve URL validation ( !1155 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1155
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:21:20 +00:00
Hazelnoot
ef2d5757eb
merge: Fix factor scaling in rate limit ( !1182 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1182
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:13:32 +00:00
Hazelnoot
88231c61af
merge: Change profile field value to not include <p> ( !1141 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1141
Closes #1123
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-26 22:49:40 +00:00
Hazelnoot
53c7db3d1d
fix DI error in HttpRequestService.ts
2025-07-25 16:33:15 -04:00
Hazelnoot
05bc6f5d86
resolve domain names when checking for private URLs
2025-07-25 16:28:53 -04:00
Hazelnoot
63bac24ece
allow HTTP connections to private IPs
2025-07-21 16:16:33 -04:00
Hazelnoot
fba171840f
refactor actor validation to reduce code duplication
2025-07-21 16:16:33 -04:00
Hazelnoot
15f6c6ca93
validate all URLs before fetch
2025-07-21 16:16:32 -04:00
Hazelnoot
d2ec40fb87
scale rate limit dripRate with factor
2025-07-21 15:57:30 -04:00
dakkar
d704409f85
tweak the test compose file to match our test config file
...
`.config/test-example.yml` uses default ports, so this one should do
the same
2025-06-29 12:19:21 +01:00
dakkar
13d045d813
merge: misskey 2025.5.0 ( !1028 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1028
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-29 09:54:12 +00:00
Marie
f4fe14f5b7
merge: feat: Add Bio Length Setting ( !1136 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1136
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:41 +00:00
Hazelnoot
7200c3d6c8
implement note mutings and move favorited/renoted status into note entity directly
2025-06-23 13:47:04 -04:00