Commit graph

273 commits

Author SHA1 Message Date
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
dakkar
33aee38a59 Merge branch 'develop' into upstream/2025.5.0 2025-06-13 08:43:17 +01:00
Hazelnoot
7eca06d672 use pnpm package alias for @transfem-org/sfm-js 2025-06-12 21:11:16 -04:00
Hazelnoot
1a964cb6c0 pcleanup dependencies:
* Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack
* Remove unused deps
* Move dev dependencies to correct section
* Pin versions where missing
2025-06-12 21:11:16 -04:00
Hazelnoot
20370e5e75 merge: Emit log messages with correct level (!1097)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1097

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-12 19:06:43 +00:00
dakkar
3ebf9c4a71 Merge branch 'develop' into upstream/2025.5.0 2025-06-10 14:02:32 +01:00
Hazelnoot
424e163c6f fix type errors with JsonLdService and remove unused factory pattern 2025-06-09 11:03:51 -04:00
Hazelnoot
fa68751a19 normalize userFollowingsCache / userFollowersCache and add hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places 2025-06-09 11:02:51 -04:00
Hazelnoot
0c84d73294 move QuantumKVCache to a separate file 2025-06-09 11:02:36 -04:00
Hazelnoot
633b64e5c3 disable caches in unit tests 2025-06-09 11:02:36 -04:00
Hazelnoot
b7624666d6 implement QuantumKVCache.add and QuantumKVCache.addMany 2025-06-09 11:02:36 -04:00
Hazelnoot
207abaff88 implement QuantumKVCache.setMany and QuantumKVCache.seleteMany 2025-06-09 11:02:36 -04:00
Hazelnoot
f446d77cb5 implement QuantumKVCache 2025-06-09 11:02:36 -04:00
Hazelnoot
2cba0ada3c more use of identifiable errors, improvements to inner error rendering, and more heuristics for is-retryable-error 2025-06-06 22:20:17 -04:00
Hazelnoot
d86530a069 remove unused fields from WebhookTestService.ts 2025-06-04 10:48:24 -04:00
Hazelnoot
838ac6daa9 fix unit tests 2025-06-04 10:47:19 -04:00
dakkar
46bb75d274 Merge branch 'develop' into upstream/2025.5.0 2025-05-30 11:13:37 +01:00
Hazelnoot
0912a8bb10 fix tests 2025-05-28 21:31:41 -04:00
Hazelnoot
35dfde838b add function diffArraysSimple for more efficient change detection 2025-05-28 21:31:40 -04:00
Hazelnoot
8a2ed3bc86 minor optimization to diff-arrays 2025-05-28 21:31:40 -04:00
Hazelnoot
788e59f046 fix type errors caused by new User, Note, and Instance fields 2025-05-28 21:31:40 -04:00
Hazelnoot
373c60b521 add diff-arrays utility for efficient array diffs 2025-05-28 21:31:40 -04:00
Hazelnoot
b888ff931d fix unit tests for HttpRequestService.ts 2025-05-13 22:27:18 -04:00
dakkar
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
fb63167d85 allow private IP ranges to specify allowed ports 2025-05-12 21:44:45 -04:00
おさむのひと
e40f3917f3
refactor: ファイルアップロード時のテストを追加 (#15928)
* refactor: ファイルアップロード時のテストを追加

* なぜかsemverが消えてた
2025-05-08 20:03:53 +02:00