Commit graph

3684 commits

Author SHA1 Message Date
Hazelnoot
d41d77fcd7 revert 7bfada9792: enhance: remove bull-board support 2025-03-25 17:25:30 -04:00
Hazelnoot
7ea710b314 remerge: remove FetchAllowSoftFailMask in favor of our same-authority checks 2025-03-25 17:19:38 -04:00
Hazelnoot
82e2952e3c add utility methods to get instance actor, relay actor, and proxy actor 2025-03-25 17:19:04 -04:00
Hazelnoot
76b1cf0526 remerge: auto-approve and allow unsigned fetch for system users 2025-03-25 16:22:39 -04:00
Hazelnoot
40975719ec Merge branch 'misskey-develop' into merge/2025-03-24
# Conflicts:
#	package.json
#	packages/backend/src/core/entities/NotificationEntityService.ts
#	packages/backend/src/types.ts
#	packages/frontend/src/pages/admin/modlog.ModLog.vue
#	packages/misskey-js/src/consts.ts
#	packages/misskey-js/src/entities.ts
2025-03-25 16:17:34 -04:00
Hazelnoot
d8908ef2d8 merge upstream 2025-03-25 16:14:53 -04:00
syuilo
fc576ebc64 fix(backend): 承認したチャットルームへの招待の通知が存在するとエラーになる問題を修正 2025-03-25 18:34:25 +09:00
syuilo
88b48b1d8e fix(backend): チャットのページネーションが機能しない問題を修正 2025-03-25 17:57:34 +09:00
syuilo
98554579ea enhance: チャットのリアクションを削除できるように 2025-03-25 16:09:19 +09:00
syuilo
8e72c68205 follow up of a01ae38a07 2025-03-25 15:55:09 +09:00
syuilo
a01ae38a07 enhance: モデレーターがチャットルームの内容を確認・削除できるように 2025-03-25 15:51:45 +09:00
syuilo
304d0eb83b enhance: チャットルームに招待されたときの通知を追加 2025-03-25 15:25:43 +09:00
syuilo
c51e862b7d enhance: 送信したチャットルームへの招待を確認できるように 2025-03-25 13:41:12 +09:00
syuilo
1736955694 fix(backend): 自分がオーナーではない参加中のルームにメッセージを送信すると不必要な通知が発生するのを修正 2025-03-25 13:29:03 +09:00
syuilo
8da1368a0b fix(backend): 既存のルームメンバーを改めて招待できないように 2025-03-25 08:05:59 +09:00
syuilo
f1f24e39d2
Feat: Chat (#15686)
* wip

* wip

* wip

* wip

* wip

* wip

* Update types.ts

* Create 1742203321812-chat.js

* wip

* wip

* Update room.vue

* Update home.vue

* Update home.vue

* Update ja-JP.yml

* Update index.d.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* Update home.vue

* clean up

* Update misskey-js.api.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* lint fixes

* lint

* Update UserEntityService.ts

* search

* wip

* 🎨

* wip

* Update home.ownedRooms.vue

* wip

* Update CHANGELOG.md

* Update style.scss

* wip

* improve performance

* improve performance

* Update timeline.test.ts
2025-03-24 21:32:46 +09:00
syuilo
08b131ec33 refactor(backend): better prop name 2025-03-22 08:16:15 +09:00
Hazelnoot
73e70f7449 fix unit tests in activitypub.ts 2025-03-21 12:37:06 -04:00
Hazelnoot
27e8289126 fix lint errors in mock-resolver.ts and activitypub.ts 2025-03-21 12:37:06 -04:00
Hazelnoot
3958b71f4e don't discard the target of announce activities, in case it's a private note that can't be re-fetched 2025-03-21 12:37:06 -04:00
Hazelnoot
f88430aebc add IObjectWithId type for APIs that work with objects required to have an ID. 2025-03-21 12:37:06 -04:00
Hazelnoot
ad49faa956 implement ApResolver.secureResolve to use a provided object only if the authority matches 2025-03-21 12:37:06 -04:00
Hazelnoot
1ed2f207f7 fix startup crash caused by circular reference (SWC is not compatible with forwardRef) 2025-03-21 12:37:06 -04:00
Hazelnoot
f2bb01f7da support Announce(Activity) activities 2025-03-21 12:37:06 -04:00
Hazelnoot
1eb9070e39 allow overriding AP resolver recursion limit 2025-03-21 12:37:06 -04:00
Hazelnoot
c2740cbe73 add isActivity method to check for AP Activities 2025-03-21 12:37:06 -04:00
Hazelnoot
f18d402ce6 fix typo in activity signature mismatch error 2025-03-21 12:37:06 -04:00
renovate[bot]
e61263cff0
fix(deps): update [backend] update dependencies (#15596)
* fix(deps): update [backend] update dependencies

* fix(backend/types): ensure to use nodejs-provided stream api

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-03-21 19:38:11 +09:00
zyoshoka
9dd13f364b
fix(backend): mismatch in emojis param of test WebHook payload (#15675)
* fix(backend): mismatch in `emojis` param of test WebHook payload

* fix: test

* fix: type
2025-03-20 09:00:58 +09:00
Marie
65d5f1e081 merge: Optionally enable websocket compression (!921)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/921

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-19 17:40:49 +00:00
Hazelnoot
5182f17d32 implement replies collection for posts 2025-03-19 09:52:55 -04:00
Yuri Lee
21dc7aebe7
Fix: Don't delete remote emoji when import zip (#15674)
* Fix: Don't delete remote emoji when import zip

* Update packages/backend/src/queue/processors/ImportCustomEmojisProcessorService.ts

Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>

---------

Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2025-03-19 10:23:50 +00:00
PrivateGER
c08c8502e3
adjust compression fallback 2025-03-18 14:21:31 +01:00
syuilo
474155b677 follow up of 6c8f21b608 2025-03-17 13:27:47 +09:00
syuilo
6c8f21b608 fix(backend): 連合無しモードでも外部から照会可能だった問題を修正 2025-03-17 13:21:09 +09:00
Hazelnoot
bb3d710927 allow unsigned fetch for all system users 2025-03-16 10:49:16 -04:00
Hazelnoot
97da78b46c fix lint errors in activitypub.ts 2025-03-16 10:07:57 -04:00
Hazelnoot
e0f3780885 fix typescript error in WebhookTestService.ts (this is the WORST class and needs to be removed please /sob) 2025-03-16 10:07:57 -04:00
Hazelnoot
a35c2f214b convert Authorized Fetch to a setting and add support for hybrid mode (essential metadata only) 2025-03-16 10:07:57 -04:00
syuilo
7bfada9792 enhance: remove bull-board support 2025-03-16 13:03:02 +09:00
dakkar
d0a074ac89 fetch linked notes manually, unless we have them in DB - fixes 1006 2025-03-15 19:17:36 +00:00
饺子w (Yumechi)
e5d117dc98
fix(backend): tighten an overly relaxed criteria and remove capability of matching multiple final URLs in URL authority checking (#15655)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-12 12:39:24 +00:00
Marie
a90a8e9e68 merge: Ignore empty content warnings in API (resolves #977) (!929)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/929

Closes #977

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-09 18:29:50 +00:00
饺子w (Yumechi)
db5c127cdd
fix(backend): fix handling of invalid urls in user profile (#15635)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-09 12:28:47 +00:00
饺子w (Yumechi)
a710af54ed
fix(backend): fix ApPersonService unsound type cast (#15629)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-09 00:11:34 +00:00
かっこかり
698505030e
fix(test): fix federation test (#15630) 2025-03-08 19:11:09 +09:00
かっこかり
bee4db82bb
fix(backend): follow-up of #15620
Removes unnecessary arg `disableGlobbing` from chokidar FSWatcher, as it is no longer supports globging
2025-03-07 20:10:32 +09:00
かっこかり
83c3bb839f
deps: update pnpm to v10 (#15588)
* Revert "fix(build): corepackのバグの回避 (#15387)"

This reverts commit 9c70a4e631.

* deps: update pnpm to v10

* fix broken lockfile

* update changelog

* fix

* fix

* Revert "fix"

This reverts commit 4abc6c194edc20989f5ec97d343307a4b8c9047d.

* fix

* fix

* attempt to fix docker build

* lint fixes

* fix: revertしすぎた

* detect pnpm version and install it

* fix: そもそもpnpmを2回入れる必要がないかも

* fix

* refactor

* fix

* refactor: remove unnecessary arg

* Update Dockerfile

* update pnpm to v10.6.1

* Update Changelog

* chore: use node to avoid installing jq
2025-03-07 07:03:52 +00:00
饺子w (Yumechi)
5be5c8bec4
fix(backend): fixup migration for incorrect extraction on system accounts table (#15613)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-06 23:47:30 +00:00
Hazelnoot
49597e7e08 merge: Add LibreTranslate as an option to External Services (!935)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/935

Closes #807

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-06 17:21:24 +00:00