summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/processors (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* perf: use slacc instead of unzipper (#10780)Acid Chicken (硫酸鶏)2023-07-201-7/+11
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* Fix auto-fixable issues (#11314)woxtu2023-07-192-4/+4
|
* fix of #11293syuilo2023-07-161-3/+3
|
* Export notes with file detail (#11293)CGsama2023-07-161-2/+8
|
* refactor: 可読性のため一部で`Array.prototype.at`を使うように ↵okayurisotto2023-07-148-17/+17
| | | | | | | (#11274) * refactor: `Array.prototype.at`を使うように * fixup! refactor: `Array.prototype.at`を使うように
* fix(backend): Remove Meilisearch index when notes are deleted (#10988)Caipira2023-07-081-0/+6
| | | | | | | | | | | | * fix(backend): Include feature to delete Meilisearch index notes * Update variable name `cascadingNotesFilter` -> `federatedLocalCascadingNotes` * tweak --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-084-10/+10
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(backend): use node16 for moduleResolution (#10938)syuilo2023-06-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(backend): use node16 for moduleResolution * update deps * Update tsconfig.json * :v: * revive KEYWORD * restore strict-event-emitter-types dependency * restore ms dependency * cancel redundant import reorder * fix * Delete ms.ts * remove rndstr --------- Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
* enhance(backend): migrate bull to bullmq (#10910)syuilo2023-05-2929-175/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update QueueService.ts * wip * refactor * :v: * fix * Update QueueStatsService.ts * refactor * Update ApNoteService.ts * Update mock-resolver.ts * refactor * Update mock-resolver.ts
* feat: ↵syuilo2023-05-181-0/+3
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* refactorsyuilo2023-05-062-36/+43
|
* feat: アンテナのエクスポート・インポート (#10754)Chocolate Pie2023-05-062-0/+192
| | | | | | | | | | | | | | | | | | | * feat: アンテナのエクスポートに対応 (misskey-dev/misskey#10690) * feat: アンテナのインポートに対応 (misskey-dev/misskey#10690) * fix: タイポを修正 * feat: ユーザーリストをサポート * fix: バグを直した * fix: バグを直した * fix: 適当に決めた変数名を変更 * fix * fix: 変数の変更、リファクタリング
* enhance: account migration (#10592)Namekuji2023-04-302-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* enhance(backend): tweak cache of federated instancesyuilo2023-04-222-16/+4
| | | | #10631
* fix(server): Force the extention of exported file (#10630)tamaina2023-04-146-6/+6
| | | | | * fix(server): Force the extention of exported file * update changelog.md
* feat: queueing bulk follow/unfollow and block/unblock (#10544)Namekuji2023-04-1211-94/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* perf(backend): cache local custom emojissyuilo2023-04-061-3/+3
|
* fix misskey-dev/misskey-#10417 (#10418)totegamma2023-04-061-0/+4
|
* fix: webhook delivery content-type (#9823) (#10458)xtexChooser2023-04-051-0/+1
| | | | | | | | | | | | | | | | * fix: webhook delivery content-type (#9823) * style: indent * Update packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * style: trailing comma --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* enhance(backend): improve cachesyuilo2023-04-051-10/+4
|
* enhance(backend): improve cachesyuilo2023-04-041-5/+5
|
* refactor(backend): rename Cache -> MemoryCachesyuilo2023-04-041-3/+3
|
* perf(backend): 通知をRedisに保存するようにsyuilo2023-04-041-8/+1
| | | | Resolve #10168
* perf(backend): store notes of an antenna to redis instead of postgresqlsyuilo2023-04-031-4/+1
| | | | Resolve #10169
* enhance(backend): ↵syuilo2023-03-242-4/+12
| | | | リモートサーバーのチャート生成を無効にするオプションを追加
* refactor(backend): rename cache classsyuilo2023-03-241-3/+3
|
* enhance: 使われてないアンテナは自動停止されるようにsyuilo2023-03-201-2/+13
| | | | Resolve #9373
* enhance: ↵syuilo2023-03-161-0/+1
| | | | | | カスタム絵文字にライセンス情報を付与できるように Resolve #10091
* refactor(backend): integrate CreateNotificationService to NotificationServicesyuilo2023-03-161-4/+4
|
* Update AggregateRetentionProcessorService.tssyuilo2023-03-151-0/+2
|
* fix: tweak retention rate aggregationsyuilo2023-03-151-7/+16
|
* Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( ↵CyberRex2023-03-141-1/+1
| | | | | | | | | | | | | | | #10298 関係 ) (#10317) * enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように * Update CHANGELOG.md * Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加 * Fix lint * Mapを使用するように * Fix typo
* enhance(backend): 配送先が410 ↵CyberRex2023-03-131-0/+12
| | | | | | | Goneで応答してきた場合配送停止するように (#10298) * enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように * Update CHANGELOG.md
* refactor(backend): 必要ないas anyを消去 (#10293)Kisaragi2023-03-111-1/+1
|
* feat: Reaction acceptance (#10256)syuilo2023-03-082-1/+3
| | | | | | | * wip * wip * デフォルト設定
* feat: 時限ロール (#10145)syuilo2023-03-011-2/+16
| | | | | | | | | | | | | | | * feat: 時限ロール * クライアントから期限を確認できるように * リファクタとか * fix test * fix test * fix test * clean up
* refactor: remove all unused imports (#9951)Kagami Sascha Rosylight2023-02-1620-24/+14
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* refactorsyuilo2023-02-131-2/+2
|
* refactor: fix typessyuilo2023-02-131-2/+2
|
* fix(server): validate filename and emoji name to improve securitysyuilo2023-02-052-1/+9
|
* drop hashtag chartsyuilo2023-02-033-9/+1
|
* fix(server): fix aggregation of retentionsyuilo2023-01-271-1/+8
|
* fix(server): node-fetchおよびgotを使う以前の実装に戻すsyuilo2023-01-251-21/+18
| | | | see #9710
* enhance: ↵syuilo2023-01-141-2/+2
| | | | ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に
* enhance: Judge instance block by endsWith (#9263)tamaina2023-01-132-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * TypeScriptでendsWith * fix * SQL? * バ〜カアホ * Update packages/backend/src/core/UtilityService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * add comment * add description * Update packages/backend/src/core/UtilityService.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * Update packages/backend/src/core/chart/charts/federation.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * remove comment * fix * fix? * add changelog * ILIKE, ARRAY Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): Use undici instead of node-fetch and got (#9459)tamaina2023-01-121-18/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement? HttpFetchService * :v: * remove node-fetch * fix * refactor * fix * gateway timeout * UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない) * fix * add logger and fix url preview * fix ip check * enhance logger and error handling * fix * fix * clean up * Use custom fetcher for ApRequest / ApResolver * bypassProxyはproxyBypassHostsに判断を委譲するように * set maxRedirections (default 3, ApRequest/ApResolver: 0) * fix comment * handle error s3 upload * add debug message * no return await * Revert "no return await" This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2. * reduce maxSockets * apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger * Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger" This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4. * add logger * fix * change logger name * safe * デフォルトでUser-Agentを設定
* clean upsyuilo2023-01-031-5/+0
|
* :v:syuilo2023-01-032-9/+22
|
* drop latestStatus of instancesyuilo2023-01-031-2/+0
|
* drop lastCommunicatedAt of instancesyuilo2023-01-032-2/+0
|