syuilo
616cccf251
enhance(backend): refine system account ( #15530 )
...
* wip
* wip
* wip
* Update SystemAccountService.ts
* Update 1740121393164-system-accounts.js
* Update DeleteAccountService.ts
* wip
* wip
* wip
* wip
* Update 1740121393164-system-accounts.js
* Update RepositoryModule.ts
* wip
* wip
* wip
* Update ApRendererService.ts
* wip
* wip
* Update SystemAccountService.ts
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* add print logs
* ログが長すぎて出てないかもしれない
* fix migration
* refactor
* fix fed-tests
* Update RelayService.ts
* merge
* Update user.test.ts
* chore: emit log
* fix: tweak sleep duration
* fix: exit 1
* fix: wait for misskey processes to become healthy
* fix: longer sleep for user deletion
* fix: make sleep longer again
* デッドロック解消の試み
https://github.com/misskey-dev/misskey/issues/15005
* Revert "デッドロック解消の試み"
This reverts commit 266141f66fb584371bbb56ef7eba04e14bcff94d.
* wip
* Update SystemAccountService.ts
---------
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2025-03-02 20:06:20 +09:00
Hazelnoot
14a81b4f85
merge: Add "reject quotes" settings ( !901 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/901
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-01 03:33:06 +00:00
syuilo
c63c3462dd
refactor
2025-02-28 09:34:21 +09:00
dakkar
c19746d9d8
merge: Fix note visibility in streaming API ( !922 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/922
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-27 11:18:31 +00:00
dakkar
9bf1d4c5ac
probably fix editing scheduled notes - fixes #934
...
the result of `notes/schedule/list` needs to be shaped like an array
of `Packed<'Note'>`, but it wasn't
now it's much closer, and I can edit scheduled quotes and replies
2025-02-26 12:57:20 +00:00
PrivateGER
aa6bc9c9d0
linter fix
2025-02-26 12:13:13 +01:00
Esurio/1673beta
bd13fb626c
fix(backend): S3_SAFEかつURL_SAFEでない文字列をprefixに使えないように ( #15455 )
...
* fix(backend): S3_SAFEかつURL_SAFEでない文字列をprefixに使えないように
* update CHANGELOG
* fix validation
* fix: remove unused import
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-26 01:56:23 +00:00
Hazelnoot
18f211e3bc
call NoteEntityService.hideNote from streaming API
2025-02-25 20:55:24 -05:00
Hazelnoot
30b2bfb184
use assignMyReaction in channel, hashtag, role-timeline, and user-list channels
2025-02-25 20:54:54 -05:00
Hazelnoot
019e60d9a4
pass NoteEntityService through Channel constructor instead of method args
2025-02-25 20:52:14 -05:00
Hazelnoot
de3c9124cd
check mutes and blocks of renote target in streaming API
2025-02-25 20:47:44 -05:00
かっこかり
b5799351d0
fix(backend): clips/updateのdescriptionで空文字を許容するように ( #15429 )
...
* fix(backend): clips/updateのdescriptionで空文字を許容するように
* Update Changelog
* fix: createの際も空文字を許容するように
* fix test
* fix test
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-26 01:27:38 +00:00
PrivateGER
2b919c4eb0
Optionally enable websocket compression
2025-02-25 22:07:59 +01:00
syuilo
2b6638e160
feat: google analytics ( #15451 )
...
* wip backend
* wip frontend
* build misskey-js
* implement control panel
* fix
* introduce analytics wrapper
* spdx
* Update analytics.ts
* Update common.ts
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
---------
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-02-25 11:51:23 +00:00
饺子w (Yumechi)
25052164c0
Merge commit from fork
...
* fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly.
[GHSA-6w2c-vf6f-xf26](https://github.com/misskey-dev/misskey/security/advisories/GHSA-6w2c-vf6f-xf26 )
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* Enhance: Add configuration option to disable all external redirects when responding to an ActivityPub lookup (config.disallowExternalApRedirect)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* fixup! fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly.
* docs & one edge case
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* apply suggestions
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* remove stale frontend reference to _responseInvalidIdHostNotMatch
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* apply suggestions
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
---------
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-02-23 19:21:34 +09:00
Hazelnoot
b9b339fd48
add admin/reject-quotes to new endpoints list
2025-02-20 09:58:19 -05:00
Hazelnoot
292d3b9229
add "reject quotes" toggle at user and instance level
...
+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
2025-02-20 09:57:48 -05:00
dakkar
534c35cca2
merge: Add "force content warning" setting for user moderation ( resolves #905 ) ( !876 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/876
Closes #905
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:20:49 +00:00
Hazelnoot
17ec2df3e1
increase rate limit on server-info to avoid errors and blank graphs
2025-02-16 19:26:29 -05:00
Hazelnoot
ec0b2933e6
add admin/cw-user to new endpoints list
2025-02-16 19:22:55 -05:00
Hazelnoot
c5933f369e
move mandatoryCW from admin-user to PackedUserLite (public field)
2025-02-16 19:20:41 -05:00
Hazelnoot
568d82a974
record ModLog entry when setting a user's content warning
2025-02-16 19:20:41 -05:00
Hazelnoot
ea89348b62
add user-level "force content warning" moderation feature
2025-02-16 19:20:37 -05:00
Hazelnoot
2bf8648ebc
refresh cache when marking a user as NSFW
2025-02-16 19:15:23 -05:00
syuilo
ffd8cf07e6
update deps ( #15311 )
...
* wip
* bump misskey-dev/eslint-plugin
* lint fixes (backend)
* lint fixes (frontend)
* lint fixes (frontend-embed)
* rollback nsfwjs to 4.2.0
ref: infinitered/nsfwjs#904
* rollback openapi-typescript to v6
v7でOpenAPIのバリデーションが入るようになった関係でスコープ外での変更が避けられないため一時的に戻した
* lint fixes (misskey-js)
* temporarily disable errored lint rule (frontend-shared)
* fix lint
* temporarily ignore errored file for lint (frontend-shared)
* rollback simplewebauthn/server to 12.0.0
v13 contains breaking changes that require some decision making
* lint fixes (frontend-shared)
* build misskey-js with types
* fix(backend): migrate simplewebauthn/server to v12
* fix(misskey-js/autogen): ignore indent rules to generate consistent output
* attempt to fix test
changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML)
* attempt to fix test
changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML)
* fix test
* fix test
* fix test
* Apply suggestions from code review
Co-authored-by: anatawa12 <anatawa12@icloud.com>
* bump summaly to v5.2.0
* update tabler-icons to v3.30.0-based
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2025-02-15 10:24:22 +09:00
Hazelnoot
667262dcfb
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# locales/index.d.ts
# packages/backend/src/core/SearchService.ts
# packages/frontend/src/pages/search.note.vue
# packages/misskey-js/src/autogen/types.ts
# sharkey-locales/en-US.yml
2025-02-13 17:04:50 -05:00
Hazelnoot
ed981a6970
add new note search file types (module, flash) and optimize file type query
2025-02-13 09:28:46 -05:00
Hazelnoot
feb80ee992
Merge branch 'develop' into merge/2024-02-03
2025-02-11 10:52:52 -05:00
Hazelnoot
363111f5de
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# locales/index.d.ts
# packages/backend/src/server/api/EndpointsModule.ts
# packages/backend/src/server/api/endpoints.ts
# packages/misskey-js/src/autogen/endpoint.ts
# sharkey-locales/en-US.yml
2025-02-10 23:34:52 -05:00
lqvp
e339293673
feat: アクセストークン発行時に通知するように ( #15422 )
...
* feat: アクセストークン発行時に通知するように (misskey-dev/misskey#13353 )
* fix: 不要な翻訳を削除/インデントを揃えるように
* chore(backend): 不要なawaitを削除
* chore: changelogへ追加
2025-02-11 01:15:33 +00:00
Hazelnoot
5276d6024d
merge: Cleanup and bulk fixes to Mastodon API ( resolves #495 , #509 , #707 , #714 , #721 , #804 , #811 , #865 , and partially #492 ) ( !879 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/879
Closes #495 , #509 , #707 , #714 , #721 , #804 , #811 , #865 , and #492
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-10 16:28:32 +00:00
Hazelnoot
2f84d151f5
merge: Allow user-initiated object lookups (/ap/show endpoint) to follow cross-domain redirects ( resolves #820 ) ( !878 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/878
Closes #820
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:22:20 +00:00
Marie
816ce293fb
merge: search-by-tags returns "home" notes - fixes #933 ( !891 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/891
Closes #933
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:18:06 +00:00
Marie
670b1171fb
merge: Add ability to generate vapid keys on frontend ( !888 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/888
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-10 10:47:42 +00:00
dakkar
7b507485b5
search-by-tags returns "home" notes - fixes #933
...
featured / trending tags count both "home" and "public" notes, so this
should do the same
2025-02-10 10:16:27 +00:00
zyoshoka
dc608aada0
fix(backend): correct admin/meta response schema ( #15434 )
2025-02-09 07:17:48 +00:00
Hazelnoot
1126c09669
make convertAttachment match file->attachment schema
2025-02-08 13:17:50 -05:00
Hazelnoot
daf715578e
fix mastodon media attachment conversion ( resolves #495 )
2025-02-08 13:17:50 -05:00
Hazelnoot
1e43162ba7
improve mastodon note conversion and use access checks in more places ( resolves #509 )
2025-02-08 13:17:50 -05:00
Hazelnoot
3550ce27d5
hide restricted edit history from mastodon api ( resolves #811 )
2025-02-08 13:17:50 -05:00
Hazelnoot
bd95e8a555
fix relationship data for Mastodon API ( resolves #714 )
2025-02-08 13:17:50 -05:00
Hazelnoot
5a1d1394d4
add memo and isInstanceMuted to UserRelation API entity
2025-02-08 13:17:47 -05:00
Hazelnoot
bbfba495df
remove un-needed relationshipModel static data
2025-02-08 13:17:34 -05:00
Hazelnoot
c38f04fe38
fix empty masto-api responses for several endpoints ( resolves #721 and #707 )
2025-02-08 13:17:34 -05:00
Hazelnoot
16f483d273
cleanup Mastodon API ( resolves #804 and #865 , partially resolves #492 )
...
* Fix TS errors and warnings
* Fix ESLint errors and warnings
* Fix property typos in various places
* Fix property data conversion
* Add missing entity properties
* Normalize logging and reduce spam
* Check for missing request parameters
* Allow mastodon API to work with local debugging
* Safer error handling
* Fix quote-post detection
2025-02-08 13:17:34 -05:00
Hazelnoot
7e1b4b259a
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# packages/backend/src/server/ActivityPubServerService.ts
# pnpm-lock.yaml
2025-02-08 13:16:37 -05:00
Hazelnoot
50a3e55be4
merge: Rework rate limit factors and add caching ( resolves #884 ) ( !884 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/884
Closes #884
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-08 15:05:01 +00:00
Esurio/1673beta
231c2c2e54
fix(backend): following/invalidateでフォロワーを解除しようとしているユーザーの情報を返すように ( #15430 )
2025-02-08 12:51:30 +00:00
zyoshoka
54fc232a23
fix(backend): use unique operationId in the OpenAPI schema ( #15420 )
...
* fix(backend): use unique `operationId` in the OpenAPI schema
* fix: read with UTF-8 encoding
2025-02-08 08:29:24 +00:00
Hazelnoot
f36029f795
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# locales/index.d.ts
# packages/backend/src/core/entities/UserEntityService.ts
# packages/frontend/src/_dev_boot_.ts
# packages/misskey-js/src/autogen/types.ts
# sharkey-locales/en-US.yml
2025-02-07 11:57:44 -05:00