summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/processors (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: 禁止キーワードを含むノートがDelayed ↵anatawa122024-02-221-1/+9
| | | | | | | | | | | | | Queueに追加されて再処理される問題 (#13428) * refactor: use IdentifiableError instead of NoteCreateService.ContainsProhibitedWordsError * fix: notes with prohibited words are reprocessed with delay * docs(changelog): 禁止キーワードを含むノートがDelayed Queueに追加されて再処理される問題 * lint: fix lint errors * fix: rethrowするべきなのにrethrowし忘れていたのを修正
* (re) update SPDX-FileCopyrightTexttamaina2024-02-1330-30/+30
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-1330-31/+31
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-1230-31/+31
|
* enhance(reversi): more robust matching processsyuilo2024-01-241-0/+4
|
* feat: export clips (#12931)Kagami Sascha Rosylight2024-01-071-0/+206
| | | | | * feat: export clips * Update CHANGELOG.md
* enhance(backend): ActivityPub 周りで連合先から HTTP 429 Too Many ↵riku64602024-01-063-3/+3
| | | | | | | | | | | Requests を受け取った際にジョブをリトライするように (#12917) * enhance(backend): ActivityPub 周りで HTTP 429 Too Many Requests を受け取った際にリトライするように * add to changelog --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(backend): ActivityPub Deliver ↵MeiMei2024-01-061-1/+1
| | | | | | | | | | | | | | | queueでBodyを事前処理するように (#12916) * Pre-processing deliver body * CHANGELOG * ループ内で計算されると意味がないので * 同じ処理を同じ形に --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* Remove unnecessary nullish coalescing (#12058)woxtu2023-10-181-1/+1
|
* 新規にフォローした人のwithRepliesをtrueにする機能を追加 ↵anatawa122023-10-172-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12048) * feat: add defaultWithReplies to MiUser * feat: use defaultWithReplies when creating MiFollowing * feat: update defaultWithReplies from API * feat: return defaultWithReplies as a part of $i * feat(frontend): configure defaultWithReplies * docs(changelog): 新規にフォローした人のをデフォルトでTL二追加できるように * fix: typo * style: fix lint failure * chore: improve UI text * chore: make optional params of UserFollowingService.follow() object * chore: UserFollowingService.follow() accept withReplies * chore: add withReplies to MiFollowRequest * chore: process withReplies for follow request * feat: accept withReplies on 'following/create' endpoint * feat: store defaultWithReplies in client store * Revert "feat: return defaultWithReplies as a part of $i" This reverts commit f2cc4fe6 * Revert "feat: update defaultWithReplies from API" This reverts commit 95e3cee6 * Revert "feat: add defaultWithReplies to MiUser" This reverts commit 9f5ab14d7063532de2b049bc2ed40a15658168f5. * feat: configuring withReplies in import-following * feat(frontend): configure withReplies * fix(frontend): incorrectly showRepliesToOthersInTimeline can be shown * fix(backend): withReplies of following/create not working * fix(frontend): importFollowing error * fix: withReplies is not working with follow import * fix(frontend): use v-model * style: fix lint --------- Co-authored-by: Sayamame-beans <61457993+sayamame-beans@users.noreply.github.com> Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
* feat: local-only antennasyuilo2023-10-162-0/+3
| | | | Resolve #11869
* perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-165-54/+55
| | | | 無駄なDateインスタンスの生成を避けるように
* feat: improve tl performance (#11946)syuilo2023-10-034-28/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * Update NoteCreateService.ts * wip * wip * wip * wip * Update NoteCreateService.ts * wip * Update NoteCreateService.ts * wip * Update user-notes.ts * wip * wip * wip * Update NoteCreateService.ts * wip * Update timeline.ts * Update timeline.ts * Update timeline.ts * Update timeline.ts * Update timeline.ts * wip * Update timelines.ts * Update timelines.ts * Update timelines.ts * wip * wip * wip * Update timelines.ts * Update misskey-js.api.md * Update timelines.ts * Update timelines.ts * wip * wip * wip * Update timelines.ts * wip * Update timelines.ts * wip * test * Update activitypub.ts * refactor: UserListJoining -> UserListMembership * Update NoteCreateService.ts * wip
* feat: 通知の受信設定を強化syuilo2023-09-291-1/+1
|
* refactor(backend): update directory structure for modelssyuilo2023-09-207-11/+11
|
* 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-1612-41/+41
| | | | | | | | | | | | | | | | | | | | | * 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-2729-0/+145
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* 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
|