summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/endpoints (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: チャンネルに色を設定できるようにsyuilo2023-05-022-0/+4
|
* enhance: account migration (#10592)Namekuji2023-04-3046-139/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-294-2/+22
| | | | 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-191-0/+37
| | | | | | | | | * 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-146-6/+6
|
* refactor(backend): tweak repository namesyuilo2023-04-131-6/+6
|
* feat: 自分用メモ機能 (#10516)Ebise Lutica2023-04-131-0/+85
| | | | | | | | | | | | | | | * 自分用メモを作成する機能 * 不要な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
* feat: role timelinesyuilo2023-04-123-2/+113
| | | | 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>
* fix #10554 チャンネルの検索用ページとAPIの追加 (#10555)たーびん2023-04-111-0/+67
| | | | | | | | | | | | | | | | | | | | | | * 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: redis から取得できないチャンネル投稿はDBから取得 ↵futchitwo2023-04-091-6/+12
| | | | (#10539)
* fetch person again (#10514)Namekuji2023-04-081-13/+17
|
* feat: account migration (#10507)Namekuji2023-04-082-0/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* perf(backend): cache avatar and banner url to dbsyuilo2023-04-0619-119/+25
|
* fixsyuilo2023-04-061-1/+1
|
* perf(backend): cache local custom emojissyuilo2023-04-069-228/+23
|
* fix: 通知インジケータが光りっぱなしになる問題を修正 ↵tamaina2023-04-061-1/+1
| | | | | | | | | | | (#10483) * fix(misskey-js): ストリームがstringで送信される場合があるのを修正 * pnpm run api * force read notification * fix competition
* enhance(backend): improve cachesyuilo2023-04-0510-55/+7
|
* enhance(backend): improve cachesyuilo2023-04-044-4/+11
|
* perf(backend): 通知をRedisに保存するようにsyuilo2023-04-044-166/+35
| | | | Resolve #10168
* perf(backend): store notes of an antenna to redis instead of postgresqlsyuilo2023-04-031-12/+28
| | | | Resolve #10169
* perf(backend): cache timeline of a channel to redissyuilo2023-04-031-3/+26
|
* feat: チャンネルにノートをピン留めできるようにsyuilo2023-03-312-3/+10
| | | | Resolve #7740
* feat: チャンネルをお気に入りに登録できるようにsyuilo2023-03-313-0/+171
| | | | Resolve #10097
* lint fixsyuilo2023-03-301-1/+1
|
* enhance(backend): ↵syuilo2023-03-242-0/+10
| | | | リモートサーバーのチャート生成を無効にするオプションを追加
* enhance(backend): use :heart: for reaction fallbacksyuilo2023-03-242-6/+0
|
* refactorsyuilo2023-03-241-1/+1
|
* fix(server): 空のアンテナが作成できるのを修正syuilo2023-03-241-1/+1
|
* enhance(backend): ↵syuilo2023-03-242-0/+10
| | | | リモートユーザーのチャート生成を無効にするオプションを追加
* fix(backend): ↵syuilo2023-03-221-6/+6
| | | | | | 絵文字を編集すると保存できないことがある問題を修正 Fix #10384
* feat: queue force promote (#10370)CyberRex2023-03-221-0/+52
| | | | | | | * feat: queue force promote * Update CHANGELOG.md * small fix
* enhance: 使われてないアンテナは自動停止されるようにsyuilo2023-03-202-1/+8
| | | | Resolve #9373
* fix(users/show): ↵choco2023-03-201-0/+1
| | | | | | | ユーザーが見つからなかった場合に404ステータスコードを返す (#10344) * fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す * test(users/show): ステータスコードの期待値を修正
* 絵文字の名前に@や:が使用できる (#9964)nenohi2023-03-201-3/+8
| | | | | | | | | | | | | * fix(#9918)名前の一致でもエラーとするように * 判定を逆に * )の位置間違えてる * カテゴリ分けとかしたときにエラーになる * エラー消し * こういうこと・・・?
* feat: drive cleaner (#10366)CyberRex2023-03-201-0/+10
| | | | | * feat: drive-cleaner * Update CHANGELOG.md
* perf(backend): improve performance of timeline apissyuilo2023-03-193-3/+9
|
* 絵文字のライセンスを表示できるようにsyuilo2023-03-172-18/+57
|
* feat: clip favoritesyuilo2023-03-1610-7/+204
| | | | Resolve #10337