Hazelnoot
60373cb24f
fix references to userOrId
2025-05-14 23:24:51 -04:00
Hazelnoot
57d32ea900
enforce "can trend" role policy in trending user page
2025-05-14 23:24:51 -04:00
Hazelnoot
2e4ec0dd9e
add role policy to allow note trending
2025-05-14 23:24:24 -04:00
Marie
1a9f8f782a
merge: Allow port ranges in allowedPrivateIps ( !1025 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1025
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:40:19 +00:00
Hazelnoot
ebd4ccdd55
enforce port restrictions against requests that happen to be missing the port
2025-05-13 22:22:40 -04:00
dakkar
8e31774670
fix packed user schema
2025-05-13 16:27:35 +01: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
Hazelnoot
a8a8c41a9b
allow caller to pass in existing reaction hint to ReactionService.delete
2025-05-12 21:38:11 -04:00
Hazelnoot
fe5def9de0
await delete account in queue in case of errors
2025-05-12 21:38:11 -04:00
Hazelnoot
077096d04e
use deliverMany to reduce overhead of account deletion queue
2025-05-12 21:38:11 -04:00
Hazelnoot
7db48ffa8d
add redis cache for note translations
...
* Partitioned by target language
* Invalidated if the note is edited
2025-05-12 21:35:06 -04:00
Hazelnoot
655290f8a4
add "is from local bubble instance" role condition
2025-05-12 13:31:16 -04:00
Hazelnoot
f8b2e272f1
merge: Fix word mute character calculation ( resolves #861 ) ( !1018 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1018
Closes #861
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:36:17 +00:00
Marie
4430c12e0e
merge: Fix unique constraint error when processing a flurry of note pinning activities ( !1024 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1024
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:30:44 +00:00
Hazelnoot
d3a9995d0a
use transaction to avoid unique constraint error when processing duplicate Add/Remove pinned note activities
2025-05-11 06:02:52 -04:00
Hazelnoot
0cdb8e5b80
raise default character limit for word mutes
2025-05-10 21:44:25 -04:00
Hazelnoot
40a73bfcbe
add new role conditions for local/remote followers/followees
2025-05-10 14:44:17 -04:00
Hazelnoot
56a8ff4f50
add isFromInstance role condition
2025-05-09 21:03:05 -04:00
Hazelnoot
164c85067f
remove extra space in NoteCreateService.ts
2025-05-08 22:43:02 -04:00
Hazelnoot
1fe39ed432
re-fetch notes after create/edit to ensure they have all fields populated
2025-05-08 16:34:40 -04:00
Hazelnoot
58d2c4af6b
use targetNotes to reduce duplicate code
2025-05-08 16:20:29 -04:00
Hazelnoot
5e2cc8eb85
avoid error when editing notes without any mentions
2025-05-08 16:20:29 -04:00
Hazelnoot
6c9dcb84ab
resolve mentioned user handles on the backend
2025-05-08 16:20:29 -04:00
Marie
c5f5c6fef0
merge: Replace JSDOM with cheerio ( !973 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/973
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 16:09:36 +00:00
Marie
aa9d834a39
merge: Improve inline quote detection and link previews ( resolves #1047 and #1044 ) ( !985 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/985
Closes #1047 and #1044
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 16:09:15 +00:00
Marie
849ce6abed
merge: add scheduleNotePost queue to dashboard ( !994 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/994
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 16:08:27 +00:00
dakkar
42f3976b16
add scheduleNotePost queue to dashboard
2025-05-08 16:43:52 +01:00
Hazelnoot
c43ac87df2
separate type imports for Cheerio
2025-05-08 11:31:36 -04:00
Hazelnoot
231ef297b5
replace JSDOM with cheerio
2025-05-08 11:29:57 -04:00
Hazelnoot
fd5a3eb3f8
add logging.verbose option to enable debug logging in production. (same function as MK_VERBOSE environment variable)
2025-05-08 11:23:20 -04:00
Hazelnoot
d6c2140821
validate more URLs in UrlPreviewService.ts
2025-05-08 11:05:14 -04:00
Hazelnoot
3fc2cc125b
merge: when creating a note as a side-effect, make it silent - fixes #986 ( !932 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/932
Closes #986
Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-08 14:05:16 +00:00
Marie
a72610c8d6
merge: Reorder relay activities to avoid delivery race condition ( resolves #989 ) ( !986 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/986
Closes #989
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-08 09:17:07 +00:00
Marie
0195810b6a
revert back to old check
2025-05-07 19:10:34 +00:00
Hazelnoot
c302a5c2d7
reorder relay activities to avoid delivery race condition
2025-05-07 12:40:01 -04:00
Hazelnoot
d39a56c1b7
merge: Merge upstream 2025.4.1 ( !955 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/955
Closes #638 , #1037 , #734 , and #766
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-07 16:33:18 +00:00
Marie
4eab54d2ca
merge: Add BunnyCDN Edge Storage support ( !952 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/952
Closes #1020
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-07 08:49:50 +00:00
Hazelnoot
95cd19b049
Merge branch 'develop' into merge/2025-03-24
2025-05-06 11:20:46 -04:00
zyoshoka
3b676f39df
fix(backend): enumerate achievement types in some response schema ( #15953 )
...
* fix(backend): enumerate achievement types in some response schema
* refactor: use `ref`
2025-05-06 19:52:30 +09:00
Marie
893f964def
merge: check signatures with and without query - fix #1036 ( !966 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/966
Closes #1036
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-05 23:23:30 +00:00
Marie
142b3b552e
update comment
2025-05-05 23:04:43 +00:00
Marie
621f2e2ee4
upd: add logger, check hostname, add catch
2025-05-06 01:02:27 +02:00
おさむのひと
c13aa0c224
fix(backend): チャンネルフォロー一覧のsinceId/untilIdによる絞り込みが上手く動いていないのを修正 ( #13698 )
...
* fix(backend): チャンネルフォロー一覧のsinceId/untilIdによる絞り込みが上手く動いていないのを修正
* fix CHANGELOG.md
* docs(changelog): fix mistaken changelog insertion (restore newline)
* docs(changelog): update insertion position
---------
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2025-05-03 15:40:57 +09:00
dakkar
31d93c8052
nicer SQL checks for blocked hosts
...
instead of passing a (possibly gigantic) array from JS, we get
PostgreSQL to look at the value in the `meta` table directly
tested the `federation/instances` endpoint, and the `QueryService`
methods; I have not tested the charts
2025-05-02 15:57:56 +01:00
Hazelnoot
54b5c930cb
enforce maxFileSize for remote users
2025-05-02 08:37:42 -04:00
Hazelnoot
8dce293dff
add setting to disable proxy account ( resolves #766 )
2025-05-01 12:07:38 -04:00
anatawa12
795b8366b5
Block deliver by software ( #15727 )
...
* feat(backend): suspend instance by software
* feat(frontend): suspend instance by software
* docs(chaangelog): 連合先のソフトウェア及びバージョン名により配信停止を行えるようになりました
* chore: 例で使うバージョン名を変える
* fix: broken lockfile
* fix: broken lock file
* fix broken lock file
* update changelog
* fix dependencies
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-01 17:58:34 +09:00
anatawa12
2fcb50273d
Exclude suspended users note from most timelines ( #15775 )
...
* feat: exclude notes by suspended user from FTT timeline endpoint
* feat: exclude notes by suspended user from DB based timelines
* chore: fix types
* chore: fix types
* chore: fix non-reply / renote
* chore: fix non-reply / renote
* test: update test
* docs(changelog): 凍結されたユーザのノートが各種タイムラインで表示されないように
* Exclude suspended users note from featured
* fix: join user
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-01 17:56:24 +09:00
Hazelnoot
4ea1b6aa4d
fix type errors in SponsorsService.ts
2025-04-30 11:13:38 -04:00