summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add Sign in with passkey Button (#14577)Yuri Lee2024-09-262-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* feat: ↵ã‹ã£ã“ã‹ã‚Š2024-09-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | adminã®ãƒ•ァイル一覧画é¢ã§ã€ãƒ•ã‚¡ã‚¤ãƒ«ãŒæ·»ä»˜ã•れã¦ã„るノートを一覧ã§ãるよã†ã« (#14403) * enhance(moderation): モデレーターãŒãƒ•ã‚¡ã‚¤ãƒ«ãŒæ·»ä»˜ã•れã¦ã„るノートを照会ã§ãるよã†ã« (MisskeyIO#680) Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com> Co-authored-by: nenohi <kimutipartylove@gmail.com> Co-authored-by: ã¾ã£ã¡ã‚ƒã¨ãƒ¼ã«ã‚… <17376330+u1-liquid@users.noreply.github.com> (cherry picked from commit b059162324d2cfc697d1af9f3b6fb49fad2734e0) * Update Changelog * :v: Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com> Co-authored-by: nenohi <kimutipartylove@gmail.com> Co-authored-by: ã¾ã£ã¡ã‚ƒã¨ãƒ¼ã«ã‚… <17376330+u1-liquid@users.noreply.github.com> --------- Co-authored-by: Yuuki <yukikum57@gmail.com> Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com> Co-authored-by: nenohi <kimutipartylove@gmail.com> Co-authored-by: ã¾ã£ã¡ã‚ƒã¨ãƒ¼ã«ã‚… <17376330+u1-liquid@users.noreply.github.com>
* refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-2218-125/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* fix(backend): ↵ã‹ã£ã“ã‹ã‚Š2024-09-211-9/+9
| | | | | | | | | | | | | | | | | | | | `Retry-After`ヘッダーãŒå®Ÿéš›ã«ã¯é€ä¿¡ã•れãªã‹ã£ãŸå•題を修正 (#14597) * move rate-limit-exceeded error reporting, earlier a rate-limit-exceeded error has `kind:'client'`, so the branch that adds the `Retry-After` would never get taken (cherry picked from commit 8a982c61c01909e7540ff1be9f019df07c3f0624) * Update Changelog * fix * indent --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* enhance: ↵ã‹ã£ã“ã‹ã‚Š2024-09-205-0/+5
| | | | | | | ユーザーコンテンツã®ã‚¤ãƒ³ãƒãƒ¼ãƒˆæ“作ã®å®Ÿè¡Œå¯å¦ã‚’ロールã§åˆ¶å¾¡ã§ãるよã†ã« (#14583) * enhance: インãƒãƒ¼ãƒˆæ“作ã®å®Ÿè¡Œå¯å¦ã‚’ロールã§åˆ¶å¾¡ã§ãるよã†ã« * Update Changelog
* Misskey® Reactions Buffering Technology™ (#14579)syuilo2024-09-202-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* feat: UserWebhook/SystemWebhookã®ãƒ†ã‚¹ãƒˆé€ä¿¡æ©Ÿèƒ½ã‚’追加 (#14489)ãŠã•ã‚€ã®ã²ã¨2024-09-197-0/+168
| | | | | | | | | | | * feat: UserWebhook/SystemWebhookã®ãƒ†ã‚¹ãƒˆé€ä¿¡æ©Ÿèƒ½ã‚’追加 * fix CHANGELOG.md * 一部設定をパラメータã‹ã‚‰ä¸Šæ›¸ã出æ¥ã‚‹ã‚ˆã†ã«ä¿®æ­£ * remove async * regenerate autogen
* fix(backend/antenna): ↵Kisaragi2024-09-152-2/+14
| | | | | | | | | | | | | | | | | | | | | キーワードãŒä¸Žãˆã‚‰ã‚Œãªã‹ã£ãŸå ´åˆã®ã‚¨ãƒ©ãƒ¼ã‚’ApiErrorã¨ã—ã¦æŠ•ã’ã‚‹ (#14491) * fix(backend/antenna): report validation failure as ApiError on update * test(backend/antenna): reflect change in previous commit * fix(backend/antenna): report validation failure as ApiError on create * test(backend/antenna): reflect change in previous commit * test(backend/antenna): semi * test(backend/antenna): bring being spread parameters first in object literal * chore: add CHANGELOG entry --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): use `prefixItems` in `admin/queue/*-delayed` endpoint schema ↵zyoshoka2024-08-302-20/+18
| | | | | | | | | | | | | | | (#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`
* enhance(frontend): ↵syuilo2024-08-231-1/+1
| | | | サイズ制é™ã‚’è¶…éŽã™ã‚‹ãƒ•ァイルをアップロードã—よã†ã¨ã—ãŸéš›ã«ã‚¨ãƒ©ãƒ¼ã‚’出ã™ã‚ˆã†ã«
* add notesyuilo2024-08-231-0/+1
|
* fix(backend): ↵syuilo2024-08-231-1/+9
| | | | ファイルãŒã‚µã‚¤ã‚ºã®åˆ¶é™ã‚’è¶…ãˆã¦ã‚¢ãƒƒãƒ—ロードã•れãŸéš›ã«ã‚¨ãƒ©ãƒ¼ã‚’è¿”ã•ãªã‹ã£ãŸå•題を修正
* fix(backend): memory leak in memory caches (#14363)Hazel K2024-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * encapsulate `MemoryKVCache<T>` * remove infinity caches * encapsulate other caches * add missing awaits to internally synchronize caches * implement pull-through caching * tune cache lifetimes * optimize cache GC by stopping early * summarize changes in CHANGELOG.md * Fix timeout comments Co-authored-by: ã‹ã£ã“ã‹ã‚Š <67428053+kakkokari-gtyih@users.noreply.github.com> * add comments about awaiting the redis write --------- Co-authored-by: ã‹ã£ã“ã‹ã‚Š <67428053+kakkokari-gtyih@users.noreply.github.com>
* enhance(backend): ↵zyoshoka2024-08-173-9/+74
| | | | | | | | | | | | | | | ページã€ã‚®ãƒ£ãƒ©ãƒªãƒ¼ã€Playã®ãƒ¢ãƒ‡ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³å¼·åŒ– (#13523) * enhance(backend): Pageã€ã‚®ãƒ£ãƒ©ãƒªãƒ¼ã€Playã®ãƒ¢ãƒ‡ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³å¼·åŒ– * Update CHANGELOG.md * fix: update misskey-js * refactor(frontend): use `MkA` * Update CHANGELOG.md * fix(i18n): Page -> ページ
* fix(backend): ↵ã‹ã£ã“ã‹ã‚Š2024-08-171-2/+13
| | | | | | | | | | | | | ベースロールã®ãƒãƒªã‚·ãƒ¼å¤‰æ›´æ™‚ãƒ¢ãƒ‡ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ãƒ­ã‚°ãŒæ®‹ã‚‹ã‚ˆã†ã« (#14418) * fix(policies): ベースロールã®ãƒãƒªã‚·ãƒ¼å¤‰æ›´æ™‚ãƒ¢ãƒ‡ãƒ¬ãƒ¼ã‚·ãƒ§ãƒ³ãƒ­ã‚°ãŒæ®‹ã‚‹ã‚ˆã†ã« (MisskeyIO#700) (cherry picked from commit 80389a914049f6f26237fde8da7d4e1bd41452fc) * Update Changelog --------- Co-authored-by: ã¾ã£ã¡ã‚ƒã¨ãƒ¼ã«ã‚… <17376330+u1-liquid@users.noreply.github.com>
* suspendå‘¨ã‚Šã®æ”¹ä¿® (#14409)syuilo2024-08-173-81/+6
| | | | | | | | | | | | | | | | | | | | | | * 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>
* fix(backend): ↵syuilo2024-08-171-0/+6
| | | | 無制é™ã«ã‚¹ãƒˆãƒªãƒ¼ãƒŸãƒ³ã‚°ã®ãƒãƒ£ãƒ³ãƒãƒ«ã«æŽ¥ç¶šã§ãã‚‹å•題を修正
* fix(backend): リãƒãƒ¼ã‚·ã®è¨­å®šå¤‰æ›´ãŒå映ã•れãªã„ã®ã‚’修正 ↵ã‹ã£ã“ã‹ã‚Š2024-08-161-3/+5
| | | | | | | | | (#14404) * fix(backend): リãƒãƒ¼ã‚·ã®è¨­å®šå¤‰æ›´ãŒå映ã•れãªã„ã®ã‚’修正 * Update Changelog * add bindthis
* Revert "enhance(backend): ↵syuilo2024-08-142-4/+61
| | | | | | å‡çµã•れãŸã‚¢ã‚«ã‚¦ãƒ³ãƒˆã®ãƒ•ォローリクエストを表示ã—ãªã„よã†ã«" This reverts commit cd210001e6ffd6232678cbc74f06f8e6d05a1d15.
* enhance(backend): ↵syuilo2024-08-142-61/+4
| | | | å‡çµã•れãŸã‚¢ã‚«ã‚¦ãƒ³ãƒˆã®ãƒ•ォローリクエストを表示ã—ãªã„よã†ã«
* fix(backend): InstanceEntityService.packMany ã« me ↵ã‹ã£ã“ã‹ã‚Š2024-08-112-3/+3
| | | | | | | | | | | | | | | | | ãŒæ¸¡ã£ã¦ã„ãªã„ã®ã‚’修正 (#14360) * fix: pass current user into `InstanceEntityService.packMany` (cherry picked from commit 858ba188768017764c61c4a5591bdf2524a850e7) * Update Changelog * origin * Update Changelog --------- Co-authored-by: Hazel K <acomputerdog@gmail.com>
* fix: readAllNotifications message not working (#14374)anatawa122024-08-094-16/+24
| | | | | | | | | | | | | | | * refactor: add and use isJsonObject * fix: readNotification message without body is not working * docs(changelog): WSã®`readAllNotifications` メッセージ㌠`body` ã‚’æŒãŸãªã„å ´åˆã«å‹•作ã—ãªã„å•題 * Update CHANGELOG.md Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* fix(backend): check visibility of following/followers of remote users / ↵Daiki Mizukami2024-08-092-30/+38
| | | | | | | | | | | | | | | | | | | | | | | | feat: moderators can see following/followers of all users (#14375) * fix(backend): check visibility of following/followers of remote users Resolves https://github.com/misskey-dev/misskey/issues/13362. * test(backend): add tests for visibility of following/followers of remote users * docs(changelog): update CHANGELOG.md * feat: moderators can see following/followers of all users * docs(changelog): update CHANGELOG.md * refactor(backend): minor refactoring `createPerson`ã¨`if`ã®æ¡ä»¶ã‚’統一ã™ã‚‹ã¨ã¨ã‚‚ã«ã€ç•°å¸¸ç³»ã® 処ç†ã‚’early returnã«è¿½ã„出ã™ãŸã‚ã®å¤‰æ›´ã€‚ * feat(backend): moderators can see following/followers count of all users As per https://github.com/misskey-dev/misskey/pull/14375#issuecomment-2275044908.
* feat: media silence (#13842)anatawa122024-07-302-0/+26
| | | | | | | | | | | | | | | | | | | | | * 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>
* 自分ã®ãƒ•ォロワーé™å®šæŠ•稿ã«å¯¾ã™ã‚‹ãƒªãƒ—ライãŒãƒ›ãƒ¼ãƒ ã‚¿ã ↵anatawa122024-07-304-5/+26
| | | | | | | | | | | | | | | | | | | | | | | ‚¤ãƒ ãƒ©ã‚¤ãƒ³ã§è¦‹ãˆãªã„ã“ã¨ãŒæœ‰ã‚‹å•題を修正 (#13835) * fix: reply to my follower notes are not shown on the home timeline * fix: reply to follower note by non-following is on social timeline * docs: changelog * test: add endpoint test for changes * test(e2e): 自分ã®followers投稿ã«å¯¾ã™ã‚‹ãƒªãƒ—ãƒ©ã‚¤ãŒæµã‚Œã‚‹ * test(e2e/streaming): 自分ã®followers投稿ã«å¯¾ã™ã‚‹ãƒªãƒ—ãƒ©ã‚¤ãŒæµã‚Œã‚‹ * test(e2e/streaming): フォローã—ã¦ã„ãªã„ユーザã«ã‚ˆã‚‹ãƒ•ォロワーé™å®šæŠ•稿ã«å¯¾ã™ã‚‹ãƒªãƒ—ライãŒã‚½ãƒ¼ã‚·ãƒ£ãƒ«ã‚¿ã‚¤ãƒ ãƒ©ã‚¤ãƒ³ã§è¡¨ç¤ºã•れるã“ã¨ãŒã‚ã‚‹å•題 * test(e2e/timelines): try fixing typecheck error --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* 検索ã‹ã‚‰ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ã®ãƒšãƒ¼ã‚¸ãŒé–‹ã‘るよã†ã«ã€users/sear ↵Sayamame-beans2024-07-301-65/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chã«`@`ã‹ã‚‰å§‹ã¾ã‚‹æ–‡å­—列ãŒä¸Žãˆã‚‰ã‚ŒãŸéš›ã®å‡¦ç†ã‚’修正 ç­‰ (#13858) * enhance(frontend): 検索ã‹ã‚‰ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ã®ãƒšãƒ¼ã‚¸ã‚’é–‹ã‘るよã†ã« * fix(frontend): 照会ã§å…¥åŠ›ãŒ`#`ã®ã¿ã®å ´åˆã¯`/tags/`ã«é·ç§»ã—ãªã„よã†ã« * docs(changelog): update changelog * enhance(frontend): ユーザー検索ã‹ã‚‰ã‚‚ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ã®ãƒšãƒ¼ã‚¸ã‚’é–‹ã‘るよã†ã« * docs(changelog): update changelog * enhance(frontend): æ¤œç´¢ç¯„å›²ç­‰ãŒæŒ‡å®šã•れã¦ã„る時ã¯ç…§ä¼š/ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ãƒšãƒ¼ã‚¸ã‚’é–‹ã‹ãªã„よã†ã« * enhance(frontend): 検索内容ã«ç©ºç™½ãŒå«ã¾ã‚Œã¦ã„ã‚‹å ´åˆã¯ç…§ä¼š/ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ãƒšãƒ¼ã‚¸ã‚’é–‹ã‹ãªã„よã†ã« * docs(changelog): update changelog * Revert "enhance(frontend): æ¤œç´¢ç¯„å›²ç­‰ãŒæŒ‡å®šã•れã¦ã„る時ã¯ç…§ä¼š/ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ãƒšãƒ¼ã‚¸ã‚’é–‹ã‹ãªã„よã†ã«" This reverts commit f84eecea964b90e9b115eac19ed6f19a603a6bbc. * enhance(frontend): 検索ã‹ã‚‰ç…§ä¼š/ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°ãƒšãƒ¼ã‚¸ã‚’é–‹ãã‹ã©ã†ã‹ç¢ºèªã™ã‚‹ã‚ˆã†ã« * docs(changelog): update changelog * chore: fix lint * docs(changelog): update changelog insertion position * enhance(frontend): 検索ã‹ã‚‰`@user@host`ã®å½¢å¼ã§ç…§ä¼šå‡ºæ¥ã‚‹ã‚ˆã†ã« * fix(frontend): 照会ã§å…¥åŠ›ãŒ`@`ã®ã¿ã®å ´åˆã«`/@`ã«é·ç§»ã—ãªã„よã†ã« * fix(backend): `users/search`ã«ãŠã„ã¦`@`ã‹ã‚‰å§‹ã¾ã‚‹queryã«å¯¾ã™ã‚‹å‡¦ç†ãŒæ­£ã—ããªã‹ã£ãŸå•題を修正 * docs(changelog): update changelog * chore(backend): fix lint error * fix(backend): more improvements for users/search when query startswith `@` * chore: unify common conditions * docs(changelog): refine changelog * chore(backend): fix lint error * MkInputã‚’preventã«å¯¾å¿œã•ã›ã€enterã®æ„図ã›ã¬ä¼æ¬ã‚’防ã * chore(frontend/search.user): use .prevent to prevent the propagation of enter instead of setTimeout --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: taichanne30 <dev@taichan.site>
* enhance: ↵ã‹ã£ã“ã‹ã‚Š2024-07-301-1/+8
| | | | | | | 管ç†ç”»é¢ã§ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«ã—ãŸãŠçŸ¥ã‚‰ã›ã‚’表示・編集ã§ãるよã†ã« (#14286) * enhance: 管ç†ç”»é¢ã§ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«ã—ãŸãŠçŸ¥ã‚‰ã›ã‚’表示ã§ãるよã†ã« * Update Changelog
* revert 5f88d56d96syuilo2024-07-201-2/+1
| | | | ãƒã‚°ãŒã‚ã‚‹(ã‹ã¤ã™ãã«ä¿®æ­£ã§ããã†ã«ãªã„) & ã¾ã ãƒ¬ãƒ“ãƒ¥ãƒ¼é€”ä¸­ã§æ„図ã›ãšãƒžãƒ¼ã‚¸ã•れãŸãŸã‚
* kill any from streaming API Implementation (#14251)anatawa122024-07-1818-72/+128
| | | | | | | | | | | | | | | * chore: add JsonValue type * refactor: kill any from Connection.ts * refactor: fix StreamEventEmitter contains undefined instead of null * refactor: kill any from channels * docs(changelog): Fix: Steaming APIãŒä¸æ­£ãªãƒ‡ãƒ¼ã‚¿ã‚’å—ã‘ãŸå ´åˆã®å‹•作ãŒä¸å®‰å®šã§ã‚ã‚‹å•題 * fix license header * fix lints
* fix(backend): ↵ã‹ã£ã“ã‹ã‚Š2024-07-182-17/+14
| | | | | | | | | | | | | | | | | | | | | リノートミュートãŒã‚­ãƒ£ãƒƒã‚·ãƒ¥ãŒåˆ‡ã‚Œã‚‹ã¾ã§åйã‹ãªã„å•題を修正 (#14242) * Fix: RenoteMuteãŒã‚­ãƒ£ãƒƒã‚·ãƒ¥ãŒåˆ‡ã‚Œã‚‹ã¾ã§åйã‹ãªã„å•題を修正 (cherry picked from commit e9601029b52e0ad43d9131b555b614e56c84ebc1) * update changelog * :art: * remove unused import * 消ã—ãŸã¨ãもキャッシュを飛ã°ã™ã‚ˆã†ã« * lint --------- Co-authored-by: mattyatea <mattyacocacora0@gmail.com>
* fix: ↵anatawa122024-07-181-0/+1
| | | | | ソーシャルタイムラインã«ãƒ­ãƒ¼ã‚«ãƒ«ã‚¿ã‚¤ãƒ ãƒ©ã‚¤ãƒ³ã«è¡¨ç¤ºã•れる自分ã¸ã®ãƒªãƒ—ライãŒè¡¨ç¤ºã•れãªã„å•題を修正 (#13978) Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* perf(federation): Ed25519ç½²åã«å¯¾å¿œã™ã‚‹ (#13464)tamaina2024-07-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 1. ed25519キーペアを発行・Personã¨ã—ã¦å…¬é–‹éµã‚’é€å—ä¿¡ * validate additionalPublicKeys * getAuthUserFromApIdã¯mainã‚’é¸ã¶ * :v: * 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 * :v: * 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>
* fix(backend): ↵Sayamame-beans2024-07-141-2/+17
| | | | | | | | | | | | | | | ユーザーã®ãƒªã‚¢ã‚¯ã‚·ãƒ§ãƒ³ä¸€è¦§ã§ãƒŸãƒ¥ãƒ¼ãƒˆ/ãƒ–ãƒ­ãƒƒã‚¯ãŒæ©Ÿèƒ½ã—ã¦ã„ãªã‹ã£ãŸå•題を修正 (#14100) * fix: mute/block was not considered on users/reactions * docs(changelog): update changelog * chore: Apply suggestion from code review Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com> --------- Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* Feat: ↵Sayamame-beans2024-07-141-6/+17
| | | | | | | | | | | | | | | | | | | | | | | ユーザーã®ã‚¢ã‚¤ã‚³ãƒ³/ãƒãƒŠãƒ¼ã®å¤‰æ›´å¯å¦ã‚’ロールã§è¨­å®šå¯èƒ½ã« (#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>
* fix: ↵ãŠã•ã‚€ã®ã²ã¨2024-07-121-90/+11
| | | | | | | | | | | | | サジェストã•れるユーザã®ãƒªã‚¹ãƒˆã‚¢ãƒƒãƒ—方法を見直㗠(#14180) * fix: サジェストã•れるユーザã®ãƒªã‚¹ãƒˆã‚¢ãƒƒãƒ—方法を見直㗠* fix comment * fix CHANGELOG.md * ノートã®ç„¡ã„ユーザ(updatedAtãŒç„¡ã„ユーザ)ã¯å«ã‚ãªã„らã—ã„ * fix test
* fix(backend): api-docã‚’Scalarã«å¤‰æ›´ (#14152)ã‹ã£ã“ã‹ã‚Š2024-07-092-2/+1
| | | | | * fix(backend): api-docã‚’Scalarã«å¤‰æ›´ * Update Changelog
* fix(backend): åå‰ã‚’空白文字列ã ã‘ã«ã§ãã‚‹å•題を修正 (#14119)ã‹ã£ã“ã‹ã‚Š2024-07-071-1/+8
| | | | | | | | | | | | | | | | | | | * fix(backend): åå‰ã‚’空白文字列ã ã‘ã«ã§ãã‚‹å•題を修正 * Update Changelog * fix test * Unicodeã‚’å«ã‚ã‚‹ * fix * ユーザーåãŒUnicode制御文字ã¨ã‚¹ãƒšãƒ¼ã‚¹ã®ã¿ã§æ§‹æˆã•れる場åˆã¯nullã« * Revert "ユーザーåãŒUnicode制御文字ã¨ã‚¹ãƒšãƒ¼ã‚¹ã®ã¿ã§æ§‹æˆã•れる場åˆã¯nullã«" This reverts commit 6c752a69c0d3649072e7e4ed30025183bceb48f9. * [ci skip] changelog typo
* test(backend): goodbye, Lenna (#14111)Kisaragi2024-07-021-1/+1
|
* fix(backend): fix creating reactions bugs (#13901)zyoshoka2024-06-221-0/+7
| | | | | | | | | | | | | | | | | * fix(backend): add fallback for empty string when creating reaction * fix(backend): prohibit reactions to Renote * test(backend): add some tests for `notes/reactions/create` endpoint * Update CHANGELOG.md * lint * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor: api/*/updateç³»ã®å¿…須キーを最低é™ã« (#13824)yupix2024-06-226-48/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* refactorsyuilo2024-06-211-5/+4
|
* refactor(backend): remove unnecessary isNotNull sugarsyuilo2024-06-213-6/+3
|
* Fix(backend): Limit antenna/webhook/list to exact amount (#14036)Ryu jongheon2024-06-185-5/+5
| | | | ... not +1 * Update antennas/clips e2e test
* fix rate limit check never ends (#13994)anatawa122024-06-151-1/+1
|
* feat(backend): report `Retry-After` if client hit rate limit (#13949)Kisaragi2024-06-132-23/+40
| | | | | * feat(backend): report `Retry-After` if client hit rate limit * refactor(backend): fix lint error
* feat: ↵ãŠã•ã‚€ã®ã²ã¨2024-06-0815-87/+860
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 通報をå—ã‘ãŸéš›ã«ãƒ¡ãƒ¼ãƒ«ã¾ãŸã¯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 * :art: * Update QueueProcessorService.ts --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* é…ä¿¡åœæ­¢ã—ãŸã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ä¸€è¦§ãŒè¦‹ã‚Œãªããªã‚‹å•題を修æ ↵Porlam Nicla2024-06-071-2/+2
| | | | | | | ­£ (#13945) * é…ä¿¡åœæ­¢ã—ãŸã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ä¸€è¦§ãŒè¦‹ã‚Œãªããªã‚‹å•題を修正 * Update CHANGELOG.md
* enhance(backend): improve sentry integrationsyuilo2024-06-071-0/+1
|
* enhance(backend): improve sentry integrationsyuilo2024-06-061-4/+10
|
* fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908)Acid Chicken2024-06-0118-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): use insertOne insteadof insert/findOneOrFail combination * fix: typo * fix(backend): inherit mainAlias? * refactor(backend): use extend * fix(backend): invalid entityTarget * fix(backend): fake where * chore: debug * chore: debug * test: log * fix(backend): column names * fix(backend): remove dummy from * revert: log * fix(backend): position * fix(backend): automatic aliasing * chore(backend): alias * chore(backend): remove from * fix(backend): type * fix(backend): avoid pure name * test(backend): fix type * chore(backend): use cte * fix(backend): avoid useless alias * fix(backend): fix typo * fix(backend): __disambiguation__ * fix(backend): quote * chore(backend): t * chore(backend): accessible * chore(backend): concrete returning * fix(backend): quote * chore: log more * chore: log metadata * chore(backend): use raw * fix(backend): returning column name * fix(backend): transform * build(backend): wanna logging * build(backend): transform empty * build(backend): build alias * build(backend): restore name * chore: return entity * fix: test case * test(backend): 204 * chore(backend): log sql * chore(backend): assert user joined * fix(backend): typo * chore(backend): log long sql * chore(backend): log join * chore(backend): log join depth null * chore(backend): joinAttributes * chore(backend): override createJoinExpression * chore: join log * fix(backend): escape * test(backend): log log * chore(backend): join gonna success? * chore(backend): relations * chore(backend): undefined * chore(backend): target * chore(backend): remove log * chore(backend): log chart update * chore(backend): log columns * chore(backend): check hasMetadata * chore(backend): unshift id when not included * chore(backend): missing select * chore(backend): remove debug code