summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* feat: 公開リスト (#10842)Chocolate Pie2023-05-198-14/+370
| | | | | | | | | | | | | | | | | | | | | | | * feat: まず公開できるように (misskey-dev/misskey#10447) * feat: 公開したリストのページを作成 (misskey-dev/misskey#10447) * feat: いいねできるように * feat: インポートに対応 * wip * wip * CHANGELOGを編集 * add note * refactor --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: ↵syuilo2023-05-191-1/+1
| | | | センシティブなカスタム絵文字のリアクションを受け入れない設定を追加
* feat: ↵syuilo2023-05-182-8/+50
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* fix streamin errorsyuilo2023-05-171-1/+1
|
* enhance: ↵syuilo2023-05-169-30/+28
| | | | | | タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように Resolve #10646
* fix typosyuilo2023-05-112-3/+3
|
* feat: ↵syuilo2023-05-102-1/+4
| | | | | | 投稿したコンテンツのAIによる学習を軽減するオプションを追加 Resolve #10819
* fix(backend): fix channels/ownedsyuilo2023-05-081-1/+1
| | | | Fix #10791
* fix(backend): ↵syuilo2023-05-072-3/+5
| | | | 凍結されたユーザーが一部APIのレスポンスに含まれる問題を修正
* enhance(backend): SearchService.searchNoteでhost指定対応syuilo2023-05-071-2/+2
|
* fix testsyuilo2023-05-071-1/+1
|
* refactorsyuilo2023-05-061-4/+7
|
* feat: アンテナのエクスポート・インポート (#10754)Chocolate Pie2023-05-064-0/+123
| | | | | | | | | | | | | | | | | | | * feat: アンテナのエクスポートに対応 (misskey-dev/misskey#10690) * feat: アンテナのインポートに対応 (misskey-dev/misskey#10690) * fix: タイポを修正 * feat: ユーザーリストをサポート * fix: バグを直した * fix: バグを直した * fix: 適当に決めた変数名を変更 * fix * fix: 変数の変更、リファクタリング
* feat: チャンネルの削除syuilo2023-05-065-2/+7
| | | | | Resolve #7171 Resolve #9935
* ロールにNSFWを強制的につけるオプションを追加 (#10731)nenohi2023-05-052-3/+21
| | | | | | | | | | | | | | | | | | | | | * ロールにNSFWを強制的につけるオプションを追加 * すでにあるファイルにNSFWが付与できない * NSFWを付与しようとするとエラーに * add test * Update packages/backend/src/core/RoleService.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * spacingで怒られたので * ロール作成時のプロパティ削除 --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: Introduce Meilisearch (#10755)syuilo2023-05-052-32/+10
| | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update SearchService.ts * Update SearchService.ts * wip * wip * Update SearchService.ts * Update CHANGELOG.md * wip * Update SearchService.ts * Update docker-compose.yml.example
* fix #10666 ↵たーびん2023-05-051-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | チャンネル検索ですべてのチャンネルの取得/表示ができるようにする (#10667) * Update CHANGELOG.md * fix : able to search all channels * add chennel/search test * update Changelog --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com> Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com> Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> Co-authored-by: xianon <xianon@hotmail.co.jp> Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com> Co-authored-by: YS <47836716+yszkst@users.noreply.github.com> Co-authored-by: Khsmty <me@khsmty.com> Co-authored-by: Soni L <EnderMoneyMod@gmail.com> Co-authored-by: mei23 <m@m544.net> Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com> Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com> Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
* refactortamaina2023-05-021-1/+0
|
* 初期ユーザー登録時にはpreservedUsernamesを無視するtamaina2023-05-021-1/+2
| | | | Fix #10738
* feat: チャンネルに色を設定できるようにsyuilo2023-05-022-0/+4
|
* enhance: account migration (#10592)Namekuji2023-04-3049-146/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * copy block and mute then create follow and unfollow jobs * copy block and mute and update lists when detecting an account has moved * no need to care promise orders * refactor updating actor and target * automatically accept if a locked account had accepted an old account * fix exception format * prevent the old account from calling some endpoints * do not unfollow when moving * adjust following and follower counts * check movedToUri when receiving a follow request * skip if no need to adjust * Revert "disable account migration" This reverts commit 2321214c98591bcfe1385c1ab5bf0ff7b471ae1d. * fix translation specifier * fix checking alsoKnownAs and uri * fix updating account * fix refollowing locked account * decrease followersCount if followed by the old account * adjust following and followers counts when unfollowing * fix copying mutings * prohibit moved account from moving again * fix move service * allow app creation after moving * fix lint * remove unnecessary field * fix cache update * add e2e test * add e2e test of accepting the new account automatically * force follow if any error happens * remove unnecessary joins * use Array.map instead of for const of * ユーザーリストの移行は追加のみを行う * nanka iroiro * fix misskey-js? * :v: * 移行を行ったアカウントからのフォローリクエストの自動許可を調整 * newUriを外に出す * newUriを外に出す2 * clean up * fix newUri * prevent moving if the destination account has already moved * set alsoKnownAs via /i/update * fix database initialization * add return type * prohibit updating alsoKnownAs after moving * skip to add to alsoKnownAs if toUrl is known * skip adding to the list if it already has * use Acct.parse instead * rename error code * :art: * 制限を5から10に緩和 * movedTo(Uri), alsoKnownAsはユーザーidを返すように * test api res * fix * 元アカウントはミュートし続ける * :art: * unfollow * fix * getUserUriをUserEntityServiceに * ? * job! * :art: * instance => server * accountMovedShort, forbiddenBecauseYouAreMigrated * accountMovedShort * fix test * import, pin禁止 * 実績を凍結する * clean up * :v: * change message * ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに * Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに" This reverts commit 3bd7be35d8aa455cb01ae58f8172a71a50485db1. * validateAlsoKnownAs * 移行後2時間以内はインポート可能なファイルサイズを拡大 * clean up * どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする * handle error? * リモートからの移行処理の条件を是正 * log, port * fix * fix * enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように * refactor (use checkHttps) * MISSKEY_WEBFINGER_USE_HTTP * Environment Variable readme * NEVER USE IN PRODUCTION * fix punyHost * fix indent * fix * experimental --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): Use ThinUser in admin/federation/remove-all-followingtamaina2023-04-291-1/+1
|
* fix #10651 (#10684)Namekuji2023-04-291-1/+1
|
* feat: preserved usernamessyuilo2023-04-295-3/+28
| | | | Resolve #10704
* enhance(backend): tweak cache of federated instancesyuilo2023-04-221-1/+3
| | | | #10631
* fix(backend): make isExplorable optional for backward compatibilitytamaina2023-04-201-3/+2
| | | | https://github.com/misskey-dev/misskey/pull/10677#issuecomment-1516394630
* Role timeline setting (#10677)nenohi2023-04-203-1/+9
| | | | | | | | | | | | | | | | | | | | | | | * ロールタイムライン設定 * isRoleTimeline to isExplorable * ポリシーではないので削除 * 型からも * wip * 足りてなかった説 * wip * listはpublicを表示 * 前回の記載修正( #10671 ) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: Server rules (#10660)syuilo2023-04-192-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance(frontend): サーバールールのデザイン調整 * enhance(frontend): i18n * enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動 * enhance(frontend): サーバールールのデザイン調整 * Update CHANGELOG.md * 不要な差分を削除 * fix(frontend): lint * ui tweak * test: add stories * tweak * test: bind args * test: add interaction tests * fix bug * Update packages/frontend/src/pages/admin/server-rules.vue Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> * Update misskey-js.api.md * chore: windowを明示 * :art: * refactor * :art: * :art: * fix e2e test * :art: * :art: * fix icon * fix e2e --------- Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* カスタム絵文字のライセンスを一括でできるように (#10671)nenohi2023-04-193-0/+43
| | | | | | | | | * setlicensebulk追加 * 5時に誤字った!w * 並び順の変更(set,add,removeの順 * add changelog
* fix(backend): アバターとバナーがリセットできない (#10643)Nanashia2023-04-161-0/+8
| | | | | * fix(backend): avatar and banner couldn't be reset * Update CHANGELOG.md
* カスタム絵文字の検索を絵文字ピッカー使用できるよう ↵nenohi2023-04-141-5/+11
| | | | | | | | | | | | | | | (#10335) * fix( #10013) * add changelog * also in about.emojis.vue * fix changelog --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix typessyuilo2023-04-148-8/+8
|
* refactor(backend): tweak repository namesyuilo2023-04-131-6/+6
|
* feat: 自分用メモ機能 (#10516)Ebise Lutica2023-04-133-0/+91
| | | | | | | | | | | | | | | * 自分用メモを作成する機能 * 不要なCSSを削除 * メモ: デザイン調整 * デザイン崩れを修正 * fix: メモ機能のe2eテストで見つかった不具合を修正 * デザイン調整 * fix(frontend): 自分用メモtextareaにline-heightが適用されない問題を修正
* [ci skip] remove outdated commentsyuilo2023-04-131-2/+0
|
* fix(server): ↵futchitwo2023-04-132-8/+8
| | | | | | | アンテナとロールTLのuntil/sinceプロパティが動くように (#10605) * fix(server): アンテナとロールTLのuntil/sinceプロパティが動くように * fix
* fix type in CustomEmojiService 2tamaina2023-04-121-1/+1
|
* feat: role timelinesyuilo2023-04-128-2/+205
| | | | Resolve #10581
* feat: queueing bulk follow/unfollow and block/unblock (#10544)Namekuji2023-04-122-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wrap follow/unfollow and block/unblock as job queue * create import job to follow in each iteration * make relationship jobs concurrent * replace to job queue if called repeatedly * use addBulk to import * omit stream when importing * fix job caller * use ThinUser instead of User to reduce redis memory consumption * createImportFollowingToDbJobの呼び出し方を変える, 型補強 * Force ThinUser * オブジェクト操作のみのメソッド名はgenerate...Data * Force ThinUser in generateRelationshipJobData * silent bulk unfollow at admin api endpoint --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* enhance(backend): APIパラメータサイズ上限を128kbから1mbに緩和syuilo2023-04-111-1/+1
|
* enhance(backend): APIパラメータサイズ上限を32kbから128kbに緩和syuilo2023-04-111-1/+1
| | | | Fix #10574
* fix #10554 チャンネルの検索用ページとAPIの追加 (#10555)たーびん2023-04-113-0/+73
| | | | | | | | | | | | | | | | | | | | | | * add channel search * move channel search to channel list page --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com> Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com> Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> Co-authored-by: xianon <xianon@hotmail.co.jp> Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com> Co-authored-by: YS <47836716+yszkst@users.noreply.github.com> Co-authored-by: Khsmty <me@khsmty.com> Co-authored-by: Soni L <EnderMoneyMod@gmail.com> Co-authored-by: mei23 <m@m544.net> Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com> Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
* fix(backend): イベント用redis分離が上手く動かない問題を修正syuilo2023-04-091-4/+4
|
* fix(backend): ↵syuilo2023-04-091-2/+2
| | | | ストリーミングのLTLチャンネルでサーバー側にエラーログが出るのを修正
* fix: redis から取得できないチャンネル投稿はDBから取得 ↵futchitwo2023-04-091-6/+12
| | | | (#10539)
* disable account migrationsyuilo2023-04-081-2/+2
|
* fetch person again (#10514)Namekuji2023-04-081-13/+17
|
* feat: account migration (#10507)Namekuji2023-04-084-0/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add Move activity * add endpoint to move from local to remote * follow move activity coming to inbox * fix move endpoint * add known-as endpoint to create account alias * add migration page * add route to migration page * add move and known-as endpoints * fix dependnecies error * fix new endpoints * fix move activity id * fix refollow * add movedToUri and alsoKnownAs to api * fix moveToUri indicator * fix missing context * add chengelog * rename MkMoved to MkAccountMoved * add missing semicolon * fix targetUri * fix followings query * remove redundant null check
* enhance(backend): ↵syuilo2023-04-081-24/+43
| | | | | | Redisにチャンネル投稿がない場合はDBから持ってくるように Fix #10473
* feat(backend): イベント用Redisを別サーバーに分離できるようにsyuilo2023-04-071-4/+4
|