summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor(backend): update directory structure for modelssyuilo2023-09-208-15/+15
|
* update deps (#11820)syuilo2023-09-1524-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip
* enhance(backend): ↵syuilo2023-09-071-6/+12
| | | | | | 古いアンテナを自動停止するか切り替え可能に Resolve #11785
* feat: 'server' webhook payload which hold misskey server url (#11752)anatawa122023-08-211-0/+1
|
* refactor: prefix Mi for all entities (#11719)syuilo2023-08-1613-50/+50
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update RepositoryModule.ts * wip * wip * wip * Revert "wip" This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
* refactor(backend): Remove unused injections (#11462)woxtu2023-08-0523-141/+9
| | | | | * Remove unused injections * Remove unused imports
* chore: ↵Shun Sakai2023-07-2734-1/+171
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(backend): ↵tamaina2023-07-201-5/+2
| | | | | | | | | | | | | | | | | | | 設定ファイルでioredisの全てのオプションを指定可能に (#11329) * enhance(backend): 設定ファイルでioredisの全てのオプションを指定可能に * yappa kousuru * fix * fix? * fix * Revert "fix" This reverts commit 227f19ff3afcbbd560b831493975206263a1a5a3. * fix
* 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-085-11/+11
| | | | | | | | | * 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>
* Update QueueProcessorService.tssyuilo2023-05-291-9/+11
|
* refactor of QueueProcessorServicesyuilo2023-05-291-20/+64
|
* enhance(backend): migrate bull to bullmq (#10910)syuilo2023-05-2932-307/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* enhance(backend): graceful shutdown for job queue and refactorsyuilo2023-05-106-182/+91
|
* refactorsyuilo2023-05-062-36/+43
|
* feat: アンテナのエクスポート・インポート (#10754)Chocolate Pie2023-05-065-0/+214
| | | | | | | | | | | | | | | | | | | * feat: アンテナのエクスポートに対応 (misskey-dev/misskey#10690) * feat: アンテナのインポートに対応 (misskey-dev/misskey#10690) * fix: タイポを修正 * feat: ユーザーリストをサポート * fix: バグを直した * fix: バグを直した * fix: 適当に決めた変数名を変更 * fix * fix: 変数の変更、リファクタリング
* enhance: account migration (#10592)Namekuji2023-04-303-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1216-110/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-142-1/+3
| | | | | | | | | | | | | | | #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-1624-29/+15
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* refactorsyuilo2023-02-131-2/+2
|
* refactor: fix typessyuilo2023-02-131-2/+2
|