summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy28 hours4-7/+7
|
* remove unused variablesdakkar2025-06-141-3/+0
|
* fix `UserEntityService` packMany hintsdakkar2025-06-131-30/+8
| | | | | | | | | | | | | | | * there's no need to pre-load follow requests for many users, since at most we'll pack them for only 1 user (the one requesting the data) * similarly, it makes sense to preload security keys for many users if we're serving a moderator's request, but if not, we need at most 1 user's keys (the requesting user's), and we can let `.pack()` fetch those * we always need to preload relations when serving a detailed request, not only when the set of users to pack does not include the requesting user
* merge: Avoid more N+1 queries in NoteEntityService and UserEntityService (!1099)Hazelnoot2025-06-122-247/+406
|\ | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1099 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * fix mixed-up userFollowingsCache / userFollowersCacheHazelnoot2025-06-091-4/+4
| |
| * normalize userFollowingsCache / userFollowersCache and add ↵Hazelnoot2025-06-092-37/+17
| | | | | | | | hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places
| * re-type userFollowingsCache to match the othersHazelnoot2025-06-091-9/+5
| |
| * fix reversed isBlocking / isBlocked in UserEntityService.getRelationHazelnoot2025-06-091-4/+4
| |
| * fix single-user relation calculationsHazelnoot2025-06-091-4/+4
| |
| * fix note/user accumulation in NoteEntityService.packMany, improving ↵Hazelnoot2025-06-091-25/+48
| | | | | | | | performance and avoiding extra sub-packs and fetches
| * populate userProfile in more placesHazelnoot2025-06-092-6/+21
| |
| * use more bulk hints in NoteEntityService / UserEntityService, and run the ↵Hazelnoot2025-06-092-213/+358
| | | | | | | | packMany queries in parallel
* | add missing comma to NoteEntityService.tsHazelnoot2025-06-091-1/+1
|/
* add ActivityPub representation to admin-user.vueHazelnoot2025-06-071-0/+9
|
* add relation from user->user_profile to speed up UserEntityService.pack and ↵Hazelnoot2025-06-041-7/+27
| | | | packMany
* add targetInstance to abuse report schemaHazelnoot2025-06-041-3/+24
|
* pack users with "me" context in AbuseUserReportEntityServiceHazelnoot2025-06-041-5/+8
|
* implement InstanceEntityService.fetchInstancesByHostHazelnoot2025-06-041-1/+28
|
* merge: Rework queries and add indexes to improve timeline performance (!1091)Hazelnoot2025-06-041-0/+1
|\ | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1091 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * add instance.isSilenced to PackedUserLiteHazelnoot2025-06-031-0/+1
| |
* | merge develop and fix conflicts.piuvas2025-06-033-13/+18
|\|
| * merge: Instance admin UX improvements (!1059)Hazelnoot2025-06-011-0/+1
| |\ | | | | | | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1059 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| | * disable status badge strip in admin-user and instance-infoHazelnoot2025-05-291-0/+1
| | |
| * | clear federatedInstanceCache when meta host lists changeHazelnoot2025-05-281-1/+1
| | |
| * | use instance block columns instead of checking meta columnsHazelnoot2025-05-281-3/+3
| |/
| * handle `EntityNotFoundError` on all calls to `*.pack()`dakkar2025-05-251-9/+13
| |
* | initial link attributions work.piuvas2025-05-261-0/+1
|/
* use targetNotes to reduce duplicate codeHazelnoot2025-05-081-29/+22
|
* avoid error when editing notes without any mentionsHazelnoot2025-05-081-4/+1
|
* resolve mentioned user handles on the backendHazelnoot2025-05-081-2/+56
|
* fix null checks for background in UserEntityService.tsHazelnoot2025-04-241-2/+2
|
* merge upstream againHazelnoot2025-04-241-6/+6
|\
| * fix: avatarId が null のときにも avatarUrl が non null ↵anatawa122025-04-151-4/+4
| | | | | | | | 担ってることがある問題 (#15833)
* | restore poll and myReaction for packed notesHazelnoot2025-04-131-10/+9
| |
* | Merge tag '2025.4.0' into merge/2025-03-24Hazelnoot2025-04-132-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/storybook.yml # locales/index.d.ts # package.json # packages/backend/src/models/json-schema/role.ts # packages/frontend/src/components/MkPageWindow.vue # packages/frontend/src/pages/admin/roles.editor.vue # packages/frontend/src/pages/admin/roles.vue # packages/frontend/src/pages/settings/preferences.vue # packages/frontend/src/pages/settings/privacy.vue # packages/frontend/src/pages/timeline.vue # packages/frontend/src/pref-migrate.ts # packages/frontend/src/ui/_common_/common.vue # packages/frontend/src/ui/deck.vue # packages/frontend/src/ui/universal.vue # packages/misskey-js/src/autogen/types.ts
| * hideNotesInSensitiveChannel -> excludeNotesInSensitiveChannelsyuilo2025-04-081-1/+1
| |
| * enhance: チャットの閲覧を無効化できるように (#15765)かっこかり2025-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance: チャットの閲覧を無効化できるように * fix * fix * fix * readonlyの説明を追加 * enhance: チャットが無効な場合はチャット関連の設定も隠すように * fix * refactor: ChatServiceからApiに関するドメイン知識を排除
* | Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-04-032-5/+7
|\| | | | | | | | | | | | | | | | | # Conflicts: # package.json # packages/backend/src/core/AccountMoveService.ts # packages/frontend/src/components/MkDateSeparatedList.vue # packages/misskey-js/etc/misskey-js.api.md # pnpm-lock.yaml
| * Copy role on move (#15745)anatawa122025-04-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(backend): copyOnMoveAccount * feat(endpoints): copyOnMoveAccount * feat(frontend): copyOnMoveAccount * docs(changelog): アカウントのマイグレーション時に古いアカウントからロールをコピーできるようになりました。 * fix: spdx header for migration * Update locales/ja-JP.yml * copyOnMoveAccount -> preserveAssignmentOnMoveAccount * fix: check for preserveAssignmentOnMoveAccount --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * fix: チャット周りの修正 (#15741)かっこかり2025-04-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(misskey-js): チャットのChannel型定義を追加 * fix(backend); canChatで塞いでいない書き込み系のAPIを塞ぐ * fix(frontend): チャット周りのフロントエンド型修正 * lint fix * fix broken lockfile * fix * refactor * wip * wip * wip * clean up --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* | merge from misskey-developHazelnoot2025-04-022-0/+2
|\|
| * feat: ↵Nanashi.2025-04-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | アンテナでセンシティブなチャンネルからのノートを除外できるように (#15346) * feat(db): マイグレーションを追加 * feat(backend): カラムの定義を追加 * wip * feat: フラグを設定出来るように * feat: /notesエンドポイントを対応 * feat: websocketを対応 * test: テストを追加 * docs: CHANGELOGを更新 * docs: CHANGELOGの追加場所を修正 * chore: api.jsonを更新 * docs(CHANGELOG): General欄に移動 * docs: フォーマットを揃える * chore: クエリを削除 * revert: 英訳を消す * chore: note.channelを追加するところを変える * docs: CHANGELOGを更新する * docs(CHANGELOG): 2025.3.2に移動 * chore: changelogを下に移動 * ci: CI再実行用の空コミット --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * enhance: implement `sentryForFrontend` (#15433)zyoshoka2025-04-021-0/+1
| | | | | | Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* | lint and type fixesHazelnoot2025-04-011-8/+10
| |
* | fix missing import in UserEntityService.tsHazelnoot2025-04-011-0/+1
| |
* | Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-03-301-0/+1
|\|
| * enhance(backend): ↵syuilo2025-03-281-0/+1
| | | | | | | | アカウントでチャットが有効になっているかどうかをユーザーのレスポンスに含めるように
* | Revert "feat: google analytics (#15451)"Hazelnoot2025-03-251-1/+0
| | | | | | | | This reverts commit 2b6638e1
* | Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-03-251-6/+15
|\| | | | | | | | | | | | | | | | | | | # 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
| * fix(backend): ↵syuilo2025-03-251-1/+1
| | | | | | | | 承認したチャットルームへの招待の通知が存在するとエラーになる問題を修正