Hazelnoot
598c43945a
use GlobalModule in chart tests
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
64745a41e5
use TimeService in charts
2025-11-05 19:20:25 -05:00
Hazelnoot
2d0b3cd325
remove NestJS instance from UtilityService.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
5805426bdf
remove NestJS instance from ReactionService.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
7c6f46a3e0
remove NestJS instance from NoteCreateService.ts tests
2025-11-05 19:20:05 -05:00
Hazelnoot
c413896a21
remove NestJS instance from MfmService.ts tests
2025-11-05 19:20:05 -05:00
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
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
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
92750240eb
implement mandatory CW for notes ( resolves #910 )
2025-09-13 11:34:35 -04: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
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
JeDaYoshi
afd57f99c5
fix Mastodon link verification
...
the top element must be a single <a> in order for verification to work, so MfmService has gained an 'inline' argument to remove the <p> added by default
2025-06-22 17:56:37 +00:00
Lillychan
87f6d84229
Apply 1 suggestion(s) to 1 file(s)
2025-06-20 20:10:04 +00:00
Lilly Schramm
0e52763bed
refactor: Fix Typo
2025-06-20 21:38:23 +02:00
Lilly Schramm
98a63e8e96
feat: Truncate Old Name
2025-06-20 21:33:17 +02:00
Lilly Schramm
ebf21b474a
feat(backend): Add Clone Endpoint
2025-06-20 21:12:51 +02:00
dakkar
886160bdec
Merge branch 'develop' into upstream/2025.5.0
2025-06-20 10:44:34 +01:00
Hazelnoot
8926ba06a6
merge: Extract inline media from remote posts ( resolves #1074 , #1104 , and #1105 ) ( !1113 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1113
Closes #1074 , #1104 , and #1105
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-19 23:36:44 +00:00
dakkar
169c06d4ca
merge: fix(backend): Send Abuse Reports To Set Maintainer E-Mail ( !1127 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1127
Closes #1069
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-06-19 15:54:55 +00:00
Lilly Schramm
ab5c247f09
refactor(backend): Remove Useless Variable
2025-06-18 20:30:40 +02:00
Lilly Schramm
789deeabac
fix(backend): Send Abuse Reports To Set Maintainer E-Mail
2025-06-18 20:08:06 +02:00
Hazelnoot
54d99c9e8c
fold renderUpNote into renderNote
2025-06-18 10:38:16 -04:00
Hazelnoot
c3a6ba93ca
extract inline images from MFM and Markdown
2025-06-14 19:45:12 -04:00
Hazelnoot
7866e42d54
fix lint error
2025-06-13 19:28:09 -04:00
Hazelnoot
152d9dc36c
add unit test for get-content-by-type.ts
2025-06-13 13:59:39 -04:00
Hazelnoot
353c294f67
add unit tests for extract-media-from-html.ts
2025-06-13 13:47:07 -04:00