github-actions[bot]
781e64aa7f
Release: 2024.9.0
2024-09-29 11:42:16 +00:00
github-actions[bot]
d6e1f022d4
Bump version to 2024.9.0-beta.14
2024-09-29 11:37:44 +00:00
github-actions[bot]
2ea49703f6
Bump version to 2024.9.0-alpha.13
2024-09-29 09:58:32 +00:00
github-actions[bot]
57effa9ef0
Bump version to 2024.9.0-alpha.12
2024-09-28 09:19:30 +00:00
github-actions[bot]
ca022b9349
Bump version to 2024.9.0-alpha.11
2024-09-28 01:22:47 +00:00
syuilo
28e9d4e483
feat: フォローされた際のメッセージを設定できるようにする ( #14430 )
...
* feat: フォローされた際のメッセージを設定できるようにする
Resolve #14425
* Update CHANGELOG.md
* 既にフォローしているユーザーのメッセージも見れるように
* Update packages/frontend/src/components/MkNotification.vue
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* fix indent
* Update users.ts
* wip
* Update users.ts
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-09-28 09:55:21 +09:00
かっこかり
d8a2eeb7ed
feat: エクスポート完了時に通知を発行するように ( #14484 )
...
* feat: エクスポート完了時に通知を発行するように
* Update Changelog
* entitity -> entity
* fix: ペイロードを含むように
* fix icon
* exportableEntities -> userExportableEntities
2024-09-26 14:15:03 +09:00
Yuri Lee
d8dd1683c9
Add Sign in with passkey Button ( #14577 )
...
* Sign in with passkey (PoC)
* 💄 Added "Login with Passkey" Button
* refactor: Improve error response when WebAuthn challenge fails
* signinResponse should be placed under the SigninWithPasskeyResponse object.
* Frontend fix
* Fix: Rate limiting key for passkey signin
Use specific rate limiting key: 'signin-with-passkey' for passkey sign-in API to avoid collisions with signin rate-limit.
* Refactor: enhance Passkey sign-in flow and error handling
- Increased the rate limit for Passkey sign-in attempts to accommodate the two API calls needed per sign-in.
- Improved error messages and handling in both the `WebAuthnService` and the `SigninWithPasskeyApiService`, providing more context and better usability.
- Updated error messages to provide more specific and helpful details to the user.
These changes aim to enhance the Passkey sign-in experience by providing more robust error handling, improving security by limiting API calls, and delivering a more user-friendly interface.
* Refactor: Streamline 2FA flow and remove redundant Passkey button.
- Separate the flow of 1FA and 2FA.
- Remove duplicate passkey buttons
* Fix: Add error messages to MkSignin
* chore: Hide passkey button if the entered user does not use passkey login
* Update CHANGELOG.md
* Refactor: Rename functions and Add comments
* Update locales/ja-JP.yml
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Fix: Update translation
- update index.d.ts
- update ko-KR.yml, en-US.yml
- Fix: Reflect Changed i18n key on MkSignin
---------
Co-authored-by: Squarecat-meow <kw7551@gmail.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-09-26 08:25:33 +09:00
zyoshoka
f2385a8ffc
fix(misskey-js): correct noteUpdated
event type ( #14632 )
2024-09-25 17:35:54 +09:00
github-actions[bot]
8890a7a0b7
Bump version to 2024.9.0-alpha.10
2024-09-25 03:43:12 +00:00
github-actions[bot]
7045547e46
Bump version to 2024.9.0-alpha.9
2024-09-24 09:32:19 +00:00
github-actions[bot]
1b2b95e199
Bump version to 2024.9.0-alpha.8
2024-09-24 01:22:57 +00:00
github-actions[bot]
6378dfbffc
Bump version to 2024.9.0-alpha.7
2024-09-23 13:00:04 +00:00
github-actions[bot]
733fd56058
Bump version to 2024.9.0-alpha.6
2024-09-23 10:53:19 +00:00
zyoshoka
2c615357f2
fix(misskey-js): wrong hashtag channel param type ( #14611 )
2024-09-23 09:53:50 +09:00
piuvas
1af6f8c5da
backend configuring
2024-09-22 14:47:04 -03:00
github-actions[bot]
76b9bc478a
Bump version to 2024.9.0-alpha.5
2024-09-22 11:49:02 +00:00
github-actions[bot]
1d5a3023f4
Bump version to 2024.9.0-alpha.4
2024-09-22 09:44:00 +00:00
github-actions[bot]
891bbcf475
Bump version to 2024.9.0-alpha.3
2024-09-22 03:56:51 +00:00
syuilo
76408667f3
update deps ( #14594 )
...
* wip
* Update ClientServerService.ts
* eslint
* Update fetch-resource.ts
* wip
2024-09-22 12:32:01 +09:00
github-actions[bot]
67a5119072
Bump version to 2024.9.0-alpha.2
2024-09-21 11:17:18 +00:00
github-actions[bot]
d3f1b0f090
Bump version to 2024.9.0-alpha.1
2024-09-20 12:37:51 +00:00
かっこかり
f0834ca14c
enhance: ユーザーコンテンツのインポート操作の実行可否をロールで制御できるように ( #14583 )
...
* enhance: インポート操作の実行可否をロールで制御できるように
* Update Changelog
2024-09-20 21:04:58 +09:00
syuilo
0b062f1407
Misskey® Reactions Buffering Technology™ ( #14579 )
...
* wip
* wip
* Update ReactionsBufferingService.ts
* Update ReactionsBufferingService.ts
* wip
* wip
* wip
* Update ReactionsBufferingService.ts
* wip
* wip
* wip
* Update NoteEntityService.ts
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
2024-09-20 21:03:53 +09:00
github-actions[bot]
2d0e9e0544
Bump version to 2024.9.0-alpha.0
2024-09-19 11:55:43 +00:00
おさむのひと
4ac8aad50a
feat: UserWebhook/SystemWebhookのテスト送信機能を追加 ( #14489 )
...
* feat: UserWebhook/SystemWebhookのテスト送信機能を追加
* fix CHANGELOG.md
* 一部設定をパラメータから上書き出来るように修正
* remove async
* regenerate autogen
2024-09-19 17:20:50 +09:00
4censord
0a8cb21e9b
Run eslint with caching
...
This reduces the time for subsequent lints significantly.
e.g. for `package/frontend`, the first run takes ~10min.
With the cache, every subsequent run takes only a few seconds.
2024-09-14 00:58:02 +02:00
かっこかり
2cbe1d1210
feat(frontend): ノート・ユーザータイムライン埋め込み ( #13929 )
...
* fix
* navhookをbootに移動
* サーバーサイドのbootも分けるように
* 埋め込みページかどうかの判定は最初の一回だけに
* tooltipは出せるように
* fix design
* 埋め込み独自のtooltipを削除
* ロジックの分岐が多かったMkNoteDetailedを分離
* fix indent
* プレビュー用iframeにフォーカスが当たるのを修正
* popupの制御を出す側で行うように
* パラメータが逆になっていたのを修正
* Update MkEmbedCodeGenDialog.vue
* fix
* eliminate misskey-js lint warns
* fix
* add appropriate attributes to embed html
* enhance: サーバーサイドのembed系をさらに分離
* enhance: embed routerを分離(route定義をboot時に変更できるようにする改修を含む)
* type
* lint
* fix indent
* server-side styleを完全に分離
* Revert "refactor: 画面サイズのしきい値をconstにまとめる"
This reverts commit 05ca36f400889456981e89489ae0ae242fa09b67.
* fix
* revert all changes in base.pug
* embedドメインをまとめた
* embedドメインをまとめた
* prevent calling contextmenu in embed page by stopping at the caller
* fix import
* fix import
* improve directory structure
* fix import
* register timeline ui as a container
* wa-
* rename
* wa-
* Update EmMediaList.vue
* Update EmMediaList.vue
* Update EmMediaList.vue
* Update EmMediaImage.vue
* Update EmNote.vue
* revert mkmedialist changes
* 戻し漏れ
* wip
* tweak embed media ui
* revert original media components
* Update boot.embed.js
* rename
* wip
* Update MkNote.vue
* wip
* Update MkSubNoteContent.vue
* Update EmNote.vue
* Update packages/frontend/src/router/definition.ts
* Revert "Update packages/frontend/src/router/definition.ts"
This reverts commit 937ae44521cdb0f250796943b20142b65f8ed944.
* refactor EmMediaImage
* fix import
* remove unused imports
* Update router.ts
* wip
* Update boot.ts
* wip
* wip
* wip
* wip
* Update EmNote.vue
* Update EmNote.vue
* Create EmA.vue
* Create EmAvatar.vue
* Update EmAvatar.vue
* wip
* wip
* wip
* Create EmImgWithBlurhash.vue
* Update EmImgWithBlurhash.vue
* Create EmPagination.vue
* wip
* Update boot.ts
* wip
* wip
* wi@p
* wip
* wip
* wiop
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update boot.ts
* wip
* Update MkMisskeyFlavoredMarkdown.ts
* wip
* wip
* wip
* wip
* wip
* Update post-message.ts
* wip
* Update EmNoteDetailed.vue
* Update EmNoteDetailed.vue
* Create instance.ts
* Update EmNoteDetailed.vue
* wip
* Update EmNoteDetailed.vue
* wip
* wip
* wip
* Update pnpm-lock.yaml
* wip
* wip
* wp
* wip
* Update ClientServerService.ts
* wip
* Update boot.ts
* Update vite.config.local-dev.ts
* Update vite.config.ts
* Create index.html
* wa-
* wip
* Update boot.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Create EmLink.vue
* Create EmMention.vue
* Update EmMfm.ts
* wip
* wip
* wip
* wip
* Update vite.config.ts
* Update boot.ts
* Update EmA.vue
* うぃp
* wip
* wip
* Create EmError.vue
* wip
* Update MkEmbedCodeGenDialog.vue
* Update EmNote.vue
* wip
* wip
* Update user-timeline.vue
* Update check-spdx-license-id.yml
* wip
* wip
* style(frontend-shared): lint fixes on build.js
* fix(frontend-shared): include `*.{js,json}` files in js-built
* wip
* use alias
* refactor
* refactor
* Update scroll.ts
* refactor
* refactor
* refactor
* wip
* wip
* wip
* wip
* Update roles.vue
* Update branding.vue
* wip
* wip
* wip
* Update page.vue
* wip
* fix import
* add missing css variables
* 絵文字をtwemojiに変更
クライアントデフォルトにあわせるため
* force empoll readonly
* fix compiler error
* fix broken imports
* tweak button style
* run api extractor
* fix storybook theme preloads
* fix storybook instance imports
* Update preview.ts
* Update preview.ts
* Update preview.ts
* Revert "Update preview.ts"
This reverts commit 12bab1c6fbd3baf753515df760ff19d027b85155.
* Revert "Update preview.ts"
This reverts commit 5c0ce01dbdf2194ffe94aba950f747a9968f29c4.
* Revert "Update preview.ts"
This reverts commit f4863524d7e5ca0f25470808849c24a72bea000a.
* Revert "fix storybook instance imports"
This reverts commit ed8eabb246edf731d31adffbe3c77c539e53ae9e.
* Revert "wip"
This reverts commit d3c1926519878155193a1654f49141e515d49683.
* Revert "Update page.vue"
This reverts commit 27c7900b0c1ae296b56075e8a9c22585d9cd744b.
* Revert "Update branding.vue"
This reverts commit c08ccb65ba66774c3e2b3dcfc6153004b5c0aa16.
* Revert "Update roles.vue"
This reverts commit 1488b670660cb1803d17d8f5c78f2d79e59fa52d.
* Revert "wip"
This reverts commit aab1c769814b08c257cad3025422a0eea3bfba4f.
* refactor: use common media proxy
* fix imports
* fix
* fix: MediaProxyの初期化を保証する(storybook対策?)
* enhance(frontend-embed): improve embedParams provide
* fix(backend): MK_DEV_PREFER=backendのときにembed viteが読み込めないのを修正
* fix
* embed-pageを共通化
* fix import
* fix import
* fix import
* const.jsを共通化
(たぶんrevertしすぎた)
* fix type error
* fix duplicated import
* fix lint
* fix
* コメントとして残す
* sharedとembedをlint対象にする
* lint
* attempt to fix eslint (frontend-shared)
* lint fixes
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-09-09 20:57:36 +09:00
かっこかり
0d0cd738f8
refactor(misskey-js): warnを除去 ( #14520 )
2024-09-07 02:38:01 +09:00
かっこかり
8d19bdbb65
fix(misskey-js): content-typeはapplication/jsonでないもののみを記録するように ( #14508 )
2024-09-06 17:22:45 +09:00
dakkar
311d26547a
regenerate misskey-js
2024-08-30 12:17:54 +01:00
dakkar
6151099f5b
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8
2024-08-30 12:08:31 +01:00
zyoshoka
7fe3035059
fix(backend): use prefixItems
in admin/queue/*-delayed
endpoint schema ( #14468 )
...
* fix(backend): represent tuples with `prefixItems`
* refactor(frontend): fix type errors
* fix(backend): add `prefixItems` in `SchemaType`
* fix(backend): add `unevaluatedItems: false` to disallow extra items
* refactor(frontend): consolidate `'deliver' | 'queue'` type def into `queue.vue`
* fix(backend): add `unevaluatedItems` in `SchemaType`
2024-08-30 10:58:59 +09:00
zyoshoka
06855f769f
refactor(sw): use fully typed locales ( #14470 )
...
* refactor(sw): use fully typed locales
* fix(backend): enumerate achievement notification type
2024-08-30 10:58:11 +09:00
zyoshoka
3e85052754
fix(backend): correct app
-type notification schema ( #14471 )
2024-08-29 18:57:44 +09:00
syuilo
8032a4e12a
enhance(frontend): サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように
2024-08-23 16:40:11 +09:00
github-actions[bot]
621626aad3
Release: 2024.8.0
2024-08-18 08:08:38 +00:00
github-actions[bot]
2e8a1029a4
Bump version to 2024.8.0-rc.5
2024-08-18 05:21:24 +00:00
github-actions[bot]
b708b27bc8
Bump version to 2024.8.0-rc.4
2024-08-18 04:37:19 +00:00
かっこかり
83c04c55ad
fix(misskey-js): eliminate any (follow-up of #13523 ) ( #14422 )
2024-08-17 18:15:46 +09:00
github-actions[bot]
6cdecd72ee
Bump version to 2024.8.0-rc.3
2024-08-17 06:17:02 +00:00
zyoshoka
fd744f44c1
enhance(backend): ページ、ギャラリー、Playのモデレーション強化 ( #13523 )
...
* enhance(backend): Page、ギャラリー、Playのモデレーション強化
* Update CHANGELOG.md
* fix: update misskey-js
* refactor(frontend): use `MkA`
* Update CHANGELOG.md
* fix(i18n): Page -> ページ
2024-08-17 15:01:08 +09:00
github-actions[bot]
68ec7450af
Bump version to 2024.8.0-beta.2
2024-08-17 04:11:09 +00:00
かっこかり
059eb6d379
fix(frontend): リノートの判定が甘いのを修正 ( #14396 )
...
* fix(frontend): リノートの判定が甘いのを修正
* fix
* Update Changelog
* fix
* use type assertion
* fix + add comments
* lint
* misskey-jsに移動
* PureRenote -> Renote
* isRenote -> isPureRenote
2024-08-17 11:28:22 +09:00
github-actions[bot]
2ab5ee81b1
Bump version to 2024.8.0-alpha.1
2024-08-17 01:25:43 +00:00
syuilo
ef950a345b
suspend周りの改修 ( #14409 )
...
* enhance(backend): 凍結されたアカウントのフォローリクエストを表示しないように
* Update CHANGELOG.md
* wip
* Update gen-spec.ts
* Update packages/backend/src/server/api/endpoints/admin/suspend-user.ts
Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>
* owa-
* revert misskey-js related changes (#14414 )
---------
Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-08-17 09:57:28 +09:00
かっこかり
a8810af8d9
fix(backend): リバーシの設定変更が反映されないのを修正 ( #14404 )
...
* fix(backend): リバーシの設定変更が反映されないのを修正
* Update Changelog
* add bindthis
2024-08-16 21:02:12 +09:00
timesince
41936c16c4
chore: fix some comments ( #14394 )
...
Signed-off-by: timesince <seekseat@icloud.com>
2024-08-12 14:03:16 +09:00
github-actions[bot]
4d757865f4
Bump version to 2024.8.0-alpha.0
2024-08-11 07:59:20 +00:00
zyoshoka
01a815f8a7
fix(general): some fixes and improvements of Play visibility ( #14384 )
...
* fix(backend): missing `visibility` param in packing flash
* fix(frontend): use `visibility` value got from API
* enhance(frontend): change preview appearance of private Play
* Update CHANGELOG.md
2024-08-10 09:34:49 +09:00
dakkar
a1c4bb49ab
re-generate misskey-js
2024-08-02 13:08:07 +01:00
dakkar
cfa9b852df
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07
2024-08-02 12:25:58 +01:00
github-actions[bot]
59e2e43a68
Release: 2024.7.0
2024-07-31 11:20:28 +00:00
github-actions[bot]
400ae6ef01
Bump version to 2024.7.0-rc.8
2024-07-30 11:35:33 +00:00
anatawa12
5c42a0e439
feat: media silence ( #13842 )
...
* feat: media silence
* fix: lint
* feat: deny creating custom emoji reaction and using custom emoji from media silenced hosts
* chore: メディアサイレンスの説明にカスタム絵文字の話を追加
* Update locales/ja-JP.yml
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* chore: update index.d.ts
* docs(changelog): update changelog
---------
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2024-07-30 19:47:45 +09:00
github-actions[bot]
86b4f49880
Bump version to 2024.7.0-rc.7
2024-07-30 10:25:10 +00:00
おさむのひと
2307849c9a
fix(misskey-js): misskey-js.api.mdのコミット漏れ修正 ( #14329 )
2024-07-30 19:01:47 +09:00
おさむのひと
8bae2ecabd
fix(misskey-js): モデログのフィルタに追加漏れがあったのを修正 ( #14328 )
2024-07-30 18:37:07 +09:00
github-actions[bot]
674a424db3
Bump version to 2024.7.0-rc.6
2024-07-30 08:39:38 +00:00
taichan
bff813042e
feat: このユーザーのノートを検索, クエリに基づく検索の初期値 & ノート検索のUI改善 ( #14128 )
...
* refactor(frontend): noteSearchAvailableをaccountsに移動
* feat: searchページでのクエリの受取りとtypeによる表示タブの変更
* user検索でsearchの親から受け取った値を基に入力値を初期化
* feat(frontend): ノート検索で親(search)からの情報を基にユーザー情報を取得
* feat(frontend): ユーザーのノートを検索するページに遷移するボタン
* feat(frontend): ノート検索にホスト名指定のオプション追加
also 🎨
* style: ただ照会部分を囲っただけ(可読性確保のために)
* refactor: remove unneed import
defineProps and withDefaults are compiler micro when using `<script setup>`
FYI: https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits:~:text=defineProps%20and%20defineEmits%20are%20compiler%20macros%20only%20usable%20inside%20%3Cscript%20setup%3E.%20They%20do%20not%20need%20to%20be%20imported%2C%20and%20are%20compiled%20away%20when%20%3Cscript%20setup%3E%20is%20processed .
* Update CHANGELOG
* Fix: ノート検索の初期値が常にホスト指定になってしまう
* notesSearchAvailableをaccountに持たせるのをやめる
* SDPX-Licence-Identifier
* Fix: Vitest fails due to instance.policies being undefined
* Add Storybook for search
* Fix(storybook): ノート検索が利用できないと出てしまう問題
* storybookでユーザー選択ができないのを修正
* feat: ノート検索で自分を選択可能に
& 🎨
* feat(background): api/metaで検索可能なノートのスコープを参照できるように
* globalのノートが検索不可能な場合、検索オプションを表示しないように
* Update CHANGELOG.md
* config.meilisearch.scopeがstring[]を取ることがあるので修正
* meilisearchを利用かつscopeがlocalの場合、リモートユーザーのメニューで「このユーザーのノートを検索」を出さないように
* hostが空文字の時の挙動を修正
* ローカルのみしかノートがインデックスされていない場合、リモートユーザーも選択できなくした
2024-07-30 15:51:08 +09:00
github-actions[bot]
5eea41b089
Bump version to 2024.7.0-rc.5
2024-07-30 06:11:15 +00:00
かっこかり
de3ddb5b44
enhance: 管理画面でアーカイブにしたお知らせを表示・編集できるように ( #14286 )
...
* enhance: 管理画面でアーカイブにしたお知らせを表示できるように
* Update Changelog
2024-07-30 13:02:03 +09:00
Sayamame-beans
b44313fe3c
fix(backend): type(schema) of reactionAcceptance was wrong ( #14317 )
2024-07-30 12:32:03 +09:00
github-actions[bot]
c3437b1908
Bump version to 2024.7.0-rc.4
2024-07-30 00:20:09 +00:00
おさむのひと
72bc789746
feature: ユーザ作成時にSystemWebhookを発信できるようにする ( #14321 )
...
* feature: ユーザ作成時にSystemWebhookを発信できるようにする
* fix CHANGELOG.md
2024-07-29 21:31:32 +09:00
github-actions[bot]
efa80f9ad4
Bump version to 2024.7.0-beta.3
2024-07-28 02:23:46 +00:00
Sayamame-beans
61f4a03e6c
Fix(frontend): 下書き/削除して編集で保持されない項目があった問題を修正 ( #14285 )
...
* chore(frontend): reorder assignments
* fix(frontend): visibleUserIds is not kept when deleteAndEdit
* fix(frontend): quoteId is not kept on draft
* fix(frontend): reactionAcceptance is not kept for draft/deleteAndEdit
* docs(changelog): update changelog
2024-07-28 11:19:32 +09:00
syuilo
085b3abf26
update deps ( #14312 )
2024-07-28 11:14:31 +09:00
github-actions[bot]
908d3ecb5c
Bump version to 2024.7.0-beta.2
2024-07-25 12:02:12 +00:00
Sayamame-beans
3d8eda14a2
[Re] refactor(misskey-js): 警告をすべて解決 ( #14277 )
...
* chore(misskey-js): Unchanged files with check annotationsで紛らわしい部分の警告を抑制 ロジック面は後で直す
* dummy change to see if the feature do not report them (to be reverted after the check)
* refactor: 型合わせ
* refactor: fix warnings from c22dd6358ba4e068c49be033a07d9fbb001f2347
* lint
* 型合わせ
* キャスト
* pnpm build-misskey-js-with-types
* Revert "dummy change to see if the feature do not report them (to be reverted after the check)"
This reverts commit 67072e3ca6e3e16342ca3b35feadcb41afcbe04f.
* eliminate reversiGame any
* move reversiGame types
* lint
* Update packages/misskey-js/src/streaming.ts
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* Update acct.ts
* run api extractor
* re-run api extractor
---------
Co-authored-by: Kisaragi Marine <kisaragi.effective@gmail.com>
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-07-25 16:40:14 +09:00
syuilo
337b42bcb1
revert 5f88d56d96
...
バグがある(かつすぐに修正できそうにない) & まだレビュー途中で意図せずマージされたため
2024-07-20 21:33:20 +09:00
zyoshoka
efb04293bb
docs(misskey-js): fix broken i-want-you image link in README.md ( #14265 )
2024-07-19 16:47:12 +09:00
github-actions[bot]
73a42ea2ee
Bump version to 2024.7.0-beta.1
2024-07-17 17:23:58 +00:00
tamaina
5f88d56d96
perf(federation): Ed25519署名に対応する ( #13464 )
...
* 1. ed25519キーペアを発行・Personとして公開鍵を送受信
* validate additionalPublicKeys
* getAuthUserFromApIdはmainを選ぶ
* ✌️
* fix
* signatureAlgorithm
* set publicKeyCache lifetime
* refresh
* httpMessageSignatureAcceptable
* ED25519_SIGNED_ALGORITHM
* ED25519_PUBLIC_KEY_SIGNATURE_ALGORITHM
* remove sign additionalPublicKeys signature requirements
* httpMessageSignaturesSupported
* httpMessageSignaturesImplementationLevel
* httpMessageSignaturesImplementationLevel: '01'
* perf(federation): Use hint for getAuthUserFromApId (#13470 )
* Hint for getAuthUserFromApId
* とどのつまりこれでいいのか?
* use @misskey-dev/node-http-message-signatures
* fix
* signedPost, signedGet
* ap-request.tsを復活させる
* remove digest prerender
* fix test?
* fix test
* add httpMessageSignaturesImplementationLevel to FederationInstance
* ManyToOne
* fetchPersonWithRenewal
* exactKey
* ✌️
* use const
* use gen-key-pair fn. from '@misskey-dev/node-http-message-signatures'
* update node-http-message-signatures
* fix
* @misskey-dev/node-http-message-signatures@0.0.0-alpha.11
* getAuthUserFromApIdでupdatePersonの頻度を増やす
* cacheRaw.date
* use requiredInputs
https://github.com/misskey-dev/misskey/pull/13464#discussion_r1509964359
* update @misskey-dev/node-http-message-signatures
* clean up
* err msg
* fix(backend): fetchInstanceMetadataのLockが永遠に解除されない問題を修正
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix httpMessageSignaturesImplementationLevel validation
* fix test
* fix
* comment
* comment
* improve test
* fix
* use Promise.all in genRSAAndEd25519KeyPair
* refreshAndprepareEd25519KeyPair
* refreshAndfindKey
* commetn
* refactor public keys add
* digestプリレンダを復活させる
RFC実装時にどうするか考える
* fix, async
* fix
* !== true
* use save
* Deliver update person when new key generated (not tested)
https://github.com/misskey-dev/misskey/pull/13464#issuecomment-1977049061
* 循環参照で落ちるのを解消?
* fix?
* Revert "fix?"
This reverts commit 0082f6f8e8c5d5febd14933ba9a1ac643f70ca92.
* a
* logger
* log
* change logger
* 秘密鍵の変更は、フラグではなく鍵を引き回すようにする
* addAllKnowingSharedInboxRecipe
* nanka meccha kaeta
* delivre
* キャッシュ有効チェックはロック取得前に行う
* @misskey-dev/node-http-message-signatures@0.0.3
* PrivateKeyPem
* getLocalUserPrivateKey
* fix test
* if
* fix ap-request
* update node-http-message-signatures
* fix type error
* update package
* fix type
* update package
* retry no key
* @misskey-dev/node-http-message-signatures@0.0.8
* fix type error
* log keyid
* logger
* db-resolver
* JSON.stringify
* HTTP Signatureがなかったり使えなかったりしそうな場合にLD Signatureを活用するように
* inbox-delayed use actor if no signature
* ユーザーとキーの同一性チェックはhostの一致にする
* log signature parse err
* save array
* とりあえずtryで囲っておく
* fetchPersonWithRenewalでエラーが起きたら古いデータを返す
* use transactionalEntityManager
* fix spdx
* @misskey-dev/node-http-message-signatures@0.0.10
* add comment
* fix
* publicKeyに配列が入ってもいいようにする
https://github.com/misskey-dev/misskey/pull/13950
* define additionalPublicKeys
* fix
* merge fix
* refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair
* remove gen-key-pair.ts
* defaultMaxListeners = 512
* Revert "defaultMaxListeners = 512"
This reverts commit f2c412c18057a9300540794ccbe4dfbf6d259ed6.
* genRSAAndEd25519KeyPairではキーを直列に生成する?
* maxConcurrency: 8
* maxConcurrency: 16
* maxConcurrency: 8
* Revert "genRSAAndEd25519KeyPairではキーを直列に生成する?"
This reverts commit d0aada55c1ed5aa98f18731ec82f3ac5eb5a6c16.
* maxWorkers: '90%'
* Revert "maxWorkers: '90%'"
This reverts commit 9e0a93f110456320d6485a871f014f7cdab29b33.
* e2e/timelines.tsで個々のテストに対するtimeoutを削除, maxConcurrency: 32
* better error handling of this.userPublickeysRepository.delete
* better comment
* set result to keypairEntityCache
* deliverJobConcurrency: 16, deliverJobPerSec: 1024, inboxJobConcurrency: 4
* inboxJobPerSec: 64
* delete request.headers['host'];
* fix
* // node-fetch will generate this for us. if we keep 'Host', it won't change with redirects!
* move delete host
* modify comment
* modify comment
* fix correct → collect
* refreshAndfindKey → refreshAndFindKey
* modify comment
* modify attachLdSignature
* getApId, InboxProcessorService
* TODO
* [skip ci] add CHANGELOG
---------
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-07-18 01:28:17 +09:00
github-actions[bot]
f0d738d8bf
Bump version to 2024.7.0-beta.0
2024-07-17 08:15:21 +00:00
anatawa12
d47fd4ffe1
fix: error with trying to handle SIGKILL ( #14208 )
2024-07-14 21:29:35 +09:00
Kisaragi
76181385d2
refactor(misskey-js): enable exactOptionalPropertyTypes ( #14203 )
...
* refactor(misskey-js): enable exactOptionalPropertyTypes
* refactor(misskey-js): fix error where is appeared by enabling
2024-07-14 15:52:43 +09:00
Sayamame-beans
7afa593d11
Feat: ユーザーのアイコン/バナーの変更可否をロールで設定可能に ( #14078 )
...
* feat: implement role policy "canUpdateBioMedia"
* docs(changelog): update changelog
* docs(changelog): update changelog
* chore: regenerate misskey-js type definitions
* chore: Apply suggestion from code review
Co-authored-by: anatawa12 <anatawa12@icloud.com>
* chore: fix unnecessarily strict inequality check
* chore: policies should be gotten only once
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:31:05 +09:00
Kisaragi
52d8a54fc7
feat(misskey-js): POST admin/roles/create
の型を具象化 ( #14167 )
...
* feat(misskey-js): `POST admin/roles/create`の型を具象化
* fix
* docs: CHANGELOG.md
* test(misskey-js): admin/roles/createの型が合うことを表明
* test(misskey-js): single quote
* test(misskey-js): 無を読もうとして爆発するのを修正
* test(misskey-js): fix comment
2024-07-10 20:40:04 +09:00
かっこかり
f119f8c2cc
feat(misskey-js): multipart/form-dataのリクエストに対応 ( #14147 )
...
* feat(misskey-js): multipart/form-dataのリクエストに対応
* lint
* add test
* Update Changelog
* テストを厳しくする
* lint
* multipart/form-dataではnullのプロパティを弾くように
2024-07-07 14:08:18 +09:00
Kisaragi
eafae79869
test(backend): goodbye, Lenna ( #14111 )
2024-07-02 14:29:44 +09:00
syuilo
427648c4b8
update deps ( #14057 )
...
* wip
* locales/index.jsのymlファイル取得ロジックを調節
* regenerate pnpm-lock.yaml
* fix(backend): typecheck fails
* chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend
* chore: migrate ESLint configs to flat config (#14094 )
* chore: migrate ESLint configs to flat config
* fix: update paths
* fix: frontend lint fails
* refactor(misskey-js): lint build.js
* update deps
---------
Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
Co-authored-by: zyoshoka <root@zyoshoka.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-07-02 11:38:34 +09:00
yupix
b50eb511b0
refactor: api/*/update系の必須キーを最低限に ( #13824 )
...
* refactor: clips/updateの必須キーをclipIdのみに
* refactor: admin/roles/update の必須キーをroleIdのみに
* feat: pages/update の必須キーをpageIdのみに
* refactor: gallery/posts/update の必須キーをpostidのみに
* feat: misskey-jsの型を更新
* feat: i/webhooks/updateの必須キーをwebhookIdのみに
* feat: admin/ad/updateの必須キーをidのみに
* feat: misskey-jsの型を更新
* chore: update CHANGELOG.md
* docs: update CHANGELOG.md
* fix: secretが更新できなくなる場合がある
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* Update packages/backend/src/server/api/endpoints/gallery/posts/update.ts
---------
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-06-22 14:52:27 +09:00
syuilo
1df90cef4c
update typescript
2024-06-21 13:03:00 +09:00
dakkar
6601e95e67
types
2024-06-13 09:24:56 +01:00
おさむのひと
61fae45390
feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする ( #13758 )
...
* feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする
* モデログに対応&エンドポイントを単一オブジェクトでのサポートに変更(API経由で大量に作るシチュエーションもないと思うので)
* fix spdx
* fix migration
* fix migration
* fix models
* add e2e webhook
* tweak
* fix modlog
* fix bugs
* add tests and fix bugs
* add tests and fix bugs
* add tests
* fix path
* regenerate locale
* 混入除去
* 混入除去
* add abuseReportResolved
* fix pnpm-lock.yaml
* add abuseReportResolved test
* fix bugs
* fix ui
* add tests
* fix CHANGELOG.md
* add tests
* add RoleService.getModeratorIds tests
* WebhookServiceをUserとSystemに分割
* fix CHANGELOG.md
* fix test
* insertOneを使う用に
* fix
* regenerate locales
* revert version
* separate webhook job queue
* fix
* 🎨
* Update QueueProcessorService.ts
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-06-08 15:34:19 +09:00
dakkar
3f76cfe9a6
Merge tag '2024.5.0' into future-2024-05-31
2024-05-31 19:34:56 +01:00
github-actions[bot]
6078081c33
[skip ci] Release: 2024.5.0
2024-05-31 12:24:53 +00:00
github-actions[bot]
a59aa20be8
Bump version to 2024.5.0-rc.13
2024-05-31 12:18:52 +00:00
syuilo
61eec93f4e
Revert "2024.5.0"
...
This reverts commit 27d1b7e615
.
2024-05-31 21:16:35 +09:00
syuilo
27d1b7e615
2024.5.0
2024-05-31 21:09:19 +09:00
github-actions[bot]
316d192bc0
Bump version to 2024.5.0-rc.12
2024-05-31 12:05:47 +00:00
dakkar
f8c95ea86a
rebuild misskey-js
2024-05-31 12:42:40 +01:00
dakkar
3372e0ffe1
Merge remote-tracking branch 'misskey/release/2024.5.0' into future
2024-05-31 12:26:07 +01:00
github-actions[bot]
46164f879b
Bump version to 2024.5.0-rc.11
2024-05-31 11:20:13 +00:00
github-actions[bot]
374c8791d7
Bump version to 2024.5.0-rc.10
2024-05-31 11:13:42 +00:00
dakkar
f412a074ff
misskey-js update after our changes
2024-05-31 11:25:58 +01:00
github-actions[bot]
dc55adbaf7
Bump version to 2024.5.0-rc.9
2024-05-31 07:06:41 +00:00
github-actions[bot]
1e007b63aa
Bump version to 2024.5.0-rc.8
2024-05-31 04:38:45 +00:00
syuilo
a0c596b030
Merge branch 'develop' into release/2024.5.0
2024-05-31 13:28:25 +09:00
syuilo
eaa85f5aa3
fix test
2024-05-31 13:28:11 +09:00
syuilo
dfeaa1145b
Merge branch 'develop' into release/2024.5.0
2024-05-31 13:19:49 +09:00
syuilo
be11fd7508
enhance: サーバーのお問い合わせ先URLを設定できるように
2024-05-31 10:12:23 +09:00
zyoshoka
eaadd643eb
chore(misskey-js): fix repository
and add license
in package.json
( #13902 )
2024-05-29 20:57:48 +09:00
github-actions[bot]
f75e46752e
Bump version to 2024.5.0-rc.7
2024-05-28 09:18:21 +00:00
github-actions[bot]
244adef70e
Bump version to 2024.5.0-rc.6
2024-05-28 09:18:05 +00:00
github-actions[bot]
4704dfe061
Bump version to 2024.5.0-beta.5
2024-05-27 12:00:25 +00:00
syuilo
d3b969306c
Merge branch 'develop' into release/2024.5.0
2024-05-27 20:55:49 +09:00
anatawa12
4579be0f54
新着ノートをサウンドで通知する機能をdeck UIに追加 ( #13867 )
...
* feat(deck-ui): implement note notification
* chore: remove notify in antenna
* docs(changelog): 新着ノートをサウンドで通知する機能をdeck UIに追加
* fix: type error in test
* lint: key order
* fix: remove notify column
* test: remove test for notify
* chore: make sound selectable
* fix: add license header
* fix: add license header again
* Unnecessary await
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* ファイルを選択してください -> ファイルが選択されていません
* fix: i18n忘れ
* fix: i18n忘れ
* pleaseSelectFile > fileNotSelected
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-05-27 20:54:53 +09:00
github-actions[bot]
e50107792c
Bump version to 2024.5.0-beta.4
2024-05-27 08:37:07 +00:00
syuilo
579b88adc7
Merge branch 'develop' into release/2024.5.0
2024-05-27 17:28:08 +09:00
github-actions[bot]
140df4b5e0
Bump version to 2024.5.0-beta.3
2024-05-27 08:27:39 +00:00
かっこかり
3ffbf6296f
feat: 個別のお知らせにリンクで飛べるように ( #13885 )
...
* feat(announcement): 個別のお知らせにリンクで飛べるように (MisskeyIO#639)
(cherry picked from commit f6bf7f992a78e54d86a4701dbd1e4fda7ef4eb27)
* fix
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* 一覧ページではお知らせpanel全体を押せるように
* お知らせバーは個別ページに飛ばすように
* Update Changelog
* spdx
* attempt to fox test
* remove unnecessary thong
* `announcement` → `announcements/show`
* リンクを押せる場所をタイトルと日付部分のみに変更
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-05-27 17:15:11 +09:00
かっこかり
e0b47999fa
fix(backend): read:admin:show-user
と read:admin:show-users
を統合 ( #13798 )
...
* fix(frontend): 同じdisplayNameの権限があるのを修正
* read:admin:show-user と read:admin:show-users を統合
* Update Changelog
2024-05-23 17:29:59 +09:00
anatawa12
83a9aa4533
feat: suspend instance improvements ( #13861 )
...
* feat(backend): dead instance detection
* feat(backend): suspend type detection
* feat(frontend): show suspend reason on frontend
* feat(backend): resume federation automatically if the server is automatically suspended
* docs(changelog): 配信停止まわりの改善
* lint: fix lint errors
* Update packages/frontend/src/pages/instance-info.vue
* lint: fix lint error
* chore: suspendedState => suspensionState
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-05-23 15:55:47 +09:00
github-actions[bot]
8489d39372
Bump version to 2024.5.0-beta.2
2024-05-23 05:25:01 +00:00
syuilo
4a3c01d198
Merge branch 'develop' into release/2024.5.0
2024-05-21 17:37:35 +09:00
anatawa12
f6df94070b
Exclude channel notes from featured polls ( #13838 )
...
* feat(backend): add `channelId` to `MiPoll` as a Denormalized field
* feat(backend): option to exclude polls in channels
* chore: exclude channel notes from featured polls
* docs(changelog): みつけるのアンケート欄にてチャンネルのアンケートが含まれてしまう問題を修正
* fix: missing license header
2024-05-20 18:08:20 +09:00
dakkar
451b0ecc9b
Merge remote-tracking branch 'misskey/release/2024.5.0' into future-2024-04-25-post
2024-05-11 14:13:07 +01:00
tamaina
0fd06e3f0d
fix
2024-05-07 11:07:16 +09:00
github-actions[bot]
313515c681
Bump version to 2024.5.0-beta.1
2024-05-07 01:45:00 +00:00
tamaina
455543b36e
change package.json
2024-05-06 21:36:05 +09:00
syuilo
2b21c19362
update deps ( #13624 )
...
* update deps
* Update package.json
* update deps
* build: pass --strip-leading-paths to restore 0.2.x behavior (#13684 )
* ✌️
* ✌️
* pureimageの代わりに@napi-rs/canvasを使う (#13748 )
* pureimageの代わりに@napi-rs/canvasを使う
* remove writestream
* remove createtemp
* wip
* Update ClientServerService.ts
* update pnpm to 9.x
* update deps
* re: update pnpm to 9.x
* update node
* ✌️
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-05-04 20:56:14 +09:00
zyoshoka
2ff90a80d4
fix(backend): add detailed schema to fetch-rss
endpoint ( #13764 )
2024-04-29 15:36:01 +09:00
dakkar
4fe8a26081
Merge remote-tracking branch 'misskey/develop' into future-2024-04-25
2024-04-25 11:44:24 +01:00
おさむのひと
cd7f7271ca
enhance: 新しいコンディショナルロール条件の実装 ( #13732 )
...
* enhance: 新しいコンディショナルロールの実装
* fix: CHANGELOG.md
2024-04-19 15:22:23 +09:00
かっこかり
bba3097765
enhance: クリップのノート数を表示するように ( #13686 )
...
* enhance: クリップのノート数を表示できるように
* Update Changelog
2024-04-14 21:30:24 +09:00
dakkar
65aab07d28
re-generate misskey-js
2024-04-11 14:03:56 +01:00
dakkar
a3b4ca782a
Merge remote-tracking branch 'misskey/develop' into future-2024-04-10
2024-04-11 13:39:55 +01:00
おさむのひと
2a851437ff
fix: misskey-js、bubble-game、reversiのビルドをesbuildに統合する ( #13600 )
...
* fix: ビルドが遅いパッケージのビルド速度を改善
* dependenciesの整理
* fix ci
* ビルド開始時に古いファイルを消す
* fix ci
* fix ci
2024-03-30 15:28:19 +09:00
zyoshoka
b35ae97ba7
fix(backend): better notes/translate
error response ( #13631 )
...
* fix(backend): better `notes/translate` error response
* Update CHANGELOG.md
* test(backend): perform administrative operations as `root`
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-30 13:51:53 +09:00
かっこかり
8f415d69cd
fix(generator): APIクライアントのパスにoperationIdが使われる問題を修正 ( #13622 )
2024-03-25 12:11:10 +09:00
dakkar
bc531ac414
Merge remote-tracking branch 'misskey/develop' into future-2024-03-23
2024-03-24 11:53:52 +00:00
zyoshoka
539718f6a8
fix(misskey-js): fix ESLint error in generator due to operationId
change ( #13619 )
2024-03-24 16:46:15 +09:00
おさむのひと
831c74a25b
fix: URLプレビューの動作改善+動作設定を可能にする ( #13579 )
...
* wip
* support new version
* URLプレビュー無効化時、フロント側も非表示にしてリクエストをしないようにする
* fix lint
* fix lint
* tweak preview request error handles
* fix: CHANGELOG.md
* fix
* fix
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-21 18:46:42 +09:00
かっこかり
f4838e50b4
enhance(antenna): Botの投稿を除外できるように ( #13603 )
...
* enhance(antenna): Botの投稿を除外できるように (MisskeyIO#545)
(cherry picked from commit a95ce067c6cf0a93647e358aabc984bdbe99e952)
* Update Changelog
* remove translations
* spdx
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-03-21 07:51:01 +09:00
zyoshoka
4b1ca9ef61
fix(general): flash/create
でPlayの公開範囲を指定できない問題の修正と編集画面の調整 ( #13574 )
...
* fix(backend): param `visibility` wasn't included in `flash/create`
* fix(frontend): tweak flash editor ui
* Update CHANGELOG.md
2024-03-15 22:02:57 +09:00
dakkar
9478fc0095
Merge remote-tracking branch 'misskey/develop' into future-2024-03-14
2024-03-14 16:28:56 +00:00
yupix
6b676a928d
enhance(backend): antennas/updateの必須項目をantennaIdのみに ( #13542 )
...
* refactor: antennas/updateの必須項目を最小限に
* fix: userListIdがnullにできない
2024-03-10 17:31:39 +09:00
dakkar
dfff4d2073
Merge remote-tracking branch 'misskey/develop' into future
2024-03-07 16:09:36 +00:00
かっこかり
7ead98cbe5
enhance(frontend): リアクションの総数を表示するように ( #13532 )
...
* enhance(frontend): リアクションの総数を表示するように
* Update Changelog
* リアクション選択済の色をaccentに
2024-03-06 21:08:42 +09:00
dakkar
af548d05ca
merge upstream for 2024.2.1
2024-03-02 16:36:49 +00:00
syuilo
3afdafed61
2024.3.1
2024-03-02 17:06:01 +09:00
syuilo
ba9d47fb69
2024.3.0
2024-03-01 20:22:06 +09:00
syuilo
033d71ee28
update deps
2024-03-01 13:52:39 +09:00
syuilo
a74406677c
fix packedRoleCondFormulaValueAssignedRoleSchema
2024-03-01 12:03:33 +09:00
Yuriha
26d4c5fd94
メンションの最大数をロールごとに設定可能にする ( #13343 )
...
* Add new role policy: maximum mentions per note
* fix
* Reviewを反映
* fix
* Add ChangeLog
* Update type definitions
* Add E2E test
* CHANGELOG に説明を追加
---------
Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com>
2024-02-29 20:48:02 +09:00
かっこかり
39d6af135f
enhance: 通知の履歴をリセットできるように ( #13335 )
...
* enhance: 通知の履歴をリセットできるように
* Update Changelog
* 通知欄も連動して更新するように
* revert some changes
* Update CHANGELOG.md
* Remove unused part
* fix
2024-02-29 20:03:30 +09:00
syuilo
920c3be750
update deps
2024-02-29 11:10:03 +09:00
taichan
5f43c2faa2
enhance(backend): 通知がミュート・凍結を考慮するようにする ( #13412 )
...
* Never return broken notifications #409
Since notifications are stored in Redis, we can't expect relational
integrity: deleting a user will *not* delete notifications that
mention it.
But if we return notifications with missing bits (a `follow` without a
`user`, for example), the frontend will get very confused and throw an
exception while trying to render them.
This change makes sure we never expose those broken notifications. For
uniformity, I've applied the same logic to notes and roles mentioned
in notifications, even if nobody reported breakage in those cases.
Tested by creating a few types of notifications with a `notifierId`,
then deleting their user.
(cherry picked from commit 421f8d49e5
)
* Update Changelog
* Update CHANGELOG.md
* enhance: 通知がミュートを考慮するようにする
* enhance: 通知が凍結も考慮するようにする
* fix: notifierIdがない通知が消えてしまう問題
* Add tests (通知がミュートを考慮しているかどうか)
* fix: notifierIdがない通知が消えてしまう問題 (grouped)
* Remove unused import
* Fix: typo
* Revert "enhance: 通知が凍結も考慮するようにする"
This reverts commit b1e57e571dfd9a7d8b2430294473c2053cc3ea33.
* Revert API handling
* Remove unused imports
* enhance: Check if notifierId is valid in NotificationEntityService
* 通知作成時にpackしてnullになったらあとの処理をやめる
* Remove duplication of valid notifier check
* add filter notification is not null
* Revert "Remove duplication of valid notifier check"
This reverts commit 239a6952f717add53d52c3e701e7362eb1987645.
* Improve performance
* Fix packGrouped
* Refactor: 判定部分を共通化
* Fix condition
* use isNotNull
* Update CHANGELOG.md
* filterの改善
* Refactor: DONT REPEAT YOURSELF
Note: GroupedNotificationはNotificationの拡張なのでその例外だけ書けば基本的に共通の処理になり複雑な個別の処理は増えにくいと思われる
* Add groupedNotificationTypes
* Update misskey-js typedef
* Refactor: less sql calls
* refactor
* clean up
* filter notes to mark as read
* packed noteがmapなのでそちらを使う
* if (notesToRead.size > 0)
* if (notes.length === 0) return;
* fix
* Revert "if (notes.length === 0) return;"
This reverts commit 22e2324f9633bddba50769ef838bc5ddb4564c88.
* 🎨
* console.error
* err
* remove try-catch
* 不要なジェネリクスを除去
* Revert (既読処理をpack内で行うものを元に戻す)
* Clean
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/NotificationService.ts
* Clean
---------
Co-authored-by: dakkar <dakkar@thenautilus.net>
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 21:26:26 +09:00