summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor(backend): update directory structure for modelssyuilo2023-09-2066-5141/+0
|
* enhance: ↵syuilo2023-09-171-0/+5
| | | | 各ノートが被クリップ数を保持するようにし、無意味にnotes/clipsを叩かないように
* enhance(backend): improve server icon settingsyuilo2023-09-161-0/+18
| | | | | Resolve #11481 Resolve #10901
* feat: テスト通知を送信できるようにする (#11810)かっこかり2023-09-111-0/+1
| | | | | | | | | | | * (add) Notification test * Update Changelog * (add) backend, frontend impl * globalEventの名前を明確にする * Run API Extractor
* feat: passkey support (#11804)syuilo2023-09-082-58/+30
| | | https://github.com/MisskeyIO/misskey/pull/149
* feat: Refine 2fa (#11766)syuilo2023-08-281-0/+5
| | | | | | | | | | | | | * wip * Update 2fa.qrdialog.vue * Update 2fa.vue * Update CHANGELOG.md * tweak * :v:
* プロフィールにその人が作ったPlayの一覧出せるように ↵GrapeApple02023-08-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#11445) * プロフィールにその人が作ったPlayの一覧出せるように * Update CHANGELOG.md * playの公開範囲を設定できるように * 間違えて変更してしまったのを修正 * Update packages/frontend/src/pages/flash/flash-edit.vue * Update packages/frontend/src/pages/flash/flash-edit.vue * tweak * Update packages/backend/migration/1690796169261-play-visibility.js * Update packages/backend/src/models/entities/Flash.ts * Update packages/backend/src/models/entities/Flash.ts * Update Flash.ts --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: prefix Mi for all entities (#11719)syuilo2023-08-1667-554/+554
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update RepositoryModule.ts * wip * wip * wip * Revert "wip" This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
* feat: refine announcement (#11497)syuilo2023-08-131-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update read-announcement.ts * wip * wip * wip * Update index.d.ts * wip * Create 1691649257651-refine-announcement.js * wip * wip * wip * wip * wip * wip * Update announcements.vue * wip * wip * Update announcements.vue * wip * Update announcements.vue * wip * Update misskey-js.api.md * Update users.ts * Create MkAnnouncementDialog.stories.impl.ts * wip * wip * Create AnnouncementService.ts
* chore: cacheRemoteFilesのデフォルト値をfalseに (#11398)tamaina2023-08-051-1/+1
| | | | | | | | | | | | | | | | | * chore: cacheRemoteFilesのデフォルト値をfalseに * proxyRemoteFiles to default * update ja-JP.yml * update ja-JP.yml * youCanCleanRemoteFilesCache * changelog --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: sensitive channel (#11438)anatawa122023-08-051-0/+5
| | | | | | | | | | | | | | | * feat(backend): add isSensitive to Channel * feat(backend): support isSensitive in channel endpoints * feat(frontend/channel-editor): support isSensitive in create/edit channel page * feat(frontend/channel): show sensitive indicator for sensitive channels * docs(changelog): add チャンネルをセンシティブ指定できるようになりました * chore: license header for each file * chore: add isSensitive of channel to Note object
* chore: ↵Shun Sakai2023-07-2767-0/+335
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* feat(backend): allow disabling cache for sensitive files (#11245)Kagami Sascha Rosylight2023-07-151-1/+5
| | | | | | | | | | | | | * feat(backend): allow disabling cache for sensitive files * Update CHANGELOG.md * fix storybook * Update locales/ja-JP.yml --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance: 招待機能の改善 (#11195)yukineko2023-07-151-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(backend): 招待機能を改修 * feat(backend): 招待コードのcreate/delete/listエンドポイントを追加 * add(misskey-js): エンドポイントと型を追加 * change(backend): metaでinvite関連の情報も返すように * add(misskey-js): エンドポイントと型を追加 * add(backend): `/endpoints/invite/limit`を追加 * fix: createdByがnullableではなかったのを修正 * fix: relationが取得できていなかった問題を修正 * fix: パラメータを間違えていたのを修正 * feat(client): 招待ページを実装 * change(client): インスタンスメニューの「招待」押した場合に招待ページに飛ぶように変更 * feat: 招待コードをコピーできるように * change(backend): metaに招待コード発行に関する情報を持たせるのをやめる * feat: ロールごとに招待コードの発行上限数などを設定できるように * change(client): 招待コードをコピーしたときにダイアログを出すように * add: 招待に関する管理者用のエンドポイントを追加 * change(backend): モデレーターであれば作成者以外でも招待コードを削除できるように * change(backend): admin/invite/listはオフセットでページネーションするように * feat(client): 招待コードの管理ページを追加 * feat(client): 招待コードのリストをソートできるように * change: `admin/invite/create`のレスポンスを修正 * fix(client): 有効期限を指定できていなかった問題を修正 * refactor: 必要のない箇所を削除 * perf(backend): use limit() instead of take() * change(client): 作成ボタンを見た目を変更 * refactor: 招待コードの生成部分を共通化し、コード内に"01OI"のいずれかの文字を含まないように * fix(client): paginationの仕様が変わっていたので修正 * change(backend): expiresAtパラメータのnullを許容 * change(client): 有効期限を設けないときは日付の入力欄を非表示に * fix: 自身のポリシーよりもインスタンス側のポリシーが優先表示される問題を修正 * fix: n時間のときに「n時間間」となってしまうのを修正 * fix(backend): ポリシーが途中で変更されたときに作成可能数がマイナス表記になってしまうのを修正 * change(client): 招待コードのユーザー名が不明な理由を表示するように * update: CHANGELOG.md * lint * refactor * refactor * tweak ui * :art: * :art: * add(backend): indexを追加 * change(backend): indexの追加に伴う変更 * change(client): インスタンスメニューの「招待」の場所を変更 * add(frontend): MkInviteCode用のstorybookを追加 * Update misskey-js.api.md * fix(misskey-js): InviteのcreatedByの型が間違っていたのを修正 --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* 広告の曜日を設定できるように (#10095)nenohi2023-07-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 曜日選択できるように * ラベル選択でもチェックが変更されるように * adを参照しないといけないかも * smallint -> integer * 異物混入だったので取りだし * タイムゾーン指定(Date2つ使うのなんか違和感 * 未テスト * これにすると出てこないかも * UIチョット変更 * UI変更 fix bug * 畳むように修正 * dayofweek->dayOfWeek * マイグレ時にnot null,default設定してるのでnullable:falseでよさそう * コメントの記載 * Update packages/backend/src/server/api/endpoints/meta.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-081-1/+1
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): make some features optionablesyuilo2023-07-021-0/+10
| | | | | Resolve #11064 Resolve #11065
* tweak of f3a16bcd6syuilo2023-06-101-5/+0
|
* ロールのユーザーリストを非公開にできるように (#10987)nenohi2023-06-101-0/+5
| | | | | * ロールのユーザーリストを非公開にできるように * Changelog update
* エラー画像URLを設定可能に (#10959)Ebise Lutica2023-06-091-2/+14
| | | | | | | | | | | * エラー画像URLを設定可能に * Update CHANGELOG.md * 設定したエラーアイコンをprefetchするようにbase.pugを変更 * 不足していたデータを追加 * enhance(frontend): デザイン調整
* feat: 公開リスト (#10842)Chocolate Pie2023-05-192-0/+39
| | | | | | | | | | | | | | | | | | | | | | | * 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-181-0/+16
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* enhance: ↵syuilo2023-05-161-6/+0
| | | | | | タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように Resolve #10646
* fix typosyuilo2023-05-111-1/+1
|
* enhance(backend): publicReactionsをデフォルトtrueにsyuilo2023-05-101-1/+1
|
* feat: ↵syuilo2023-05-101-0/+5
| | | | | | 投稿したコンテンツのAIによる学習を軽減するオプションを追加 Resolve #10819
* feat: チャンネルの削除syuilo2023-05-061-0/+6
| | | | | Resolve #7171 Resolve #9935
* feat: チャンネルに色を設定できるようにsyuilo2023-05-021-0/+6
|
* enhance: account migration (#10592)Namekuji2023-04-301-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* feat: preserved usernamessyuilo2023-04-291-0/+5
| | | | Resolve #10704
* Role timeline setting (#10677)nenohi2023-04-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * ロールタイムライン設定 * isRoleTimeline to isExplorable * ポリシーではないので削除 * 型からも * wip * 足りてなかった説 * wip * listはpublicを表示 * 前回の記載修正( #10671 ) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: Server rules (#10660)syuilo2023-04-191-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>
* feat: 自分用メモ機能 (#10516)Ebise Lutica2023-04-131-0/+42
| | | | | | | | | | | | | | | * 自分用メモを作成する機能 * 不要なCSSを削除 * メモ: デザイン調整 * デザイン崩れを修正 * fix: メモ機能のe2eテストで見つかった不具合を修正 * デザイン調整 * fix(frontend): 自分用メモtextareaにline-heightが適用されない問題を修正
* feat: account migration (#10507)Namekuji2023-04-081-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* perf(backend): cache avatar and banner url to dbsyuilo2023-04-061-0/+20
|
* perf(backend): 通知をRedisに保存するようにsyuilo2023-04-041-118/+16
| | | | Resolve #10168
* perf(backend): store notes of an antenna to redis instead of postgresqlsyuilo2023-04-031-43/+0
| | | | Resolve #10169
* feat: チャンネルにノートをピン留めできるようにsyuilo2023-03-312-35/+5
| | | | Resolve #7740
* feat: チャンネルをお気に入りに登録できるようにsyuilo2023-03-311-0/+41
| | | | Resolve #10097
* enhance(backend): ↵syuilo2023-03-241-0/+5
| | | | リモートサーバーのチャート生成を無効にするオプションを追加
* enhance(backend): use :heart: for reaction fallbacksyuilo2023-03-241-5/+0
|
* enhance(backend): ↵syuilo2023-03-241-0/+5
| | | | リモートユーザーのチャート生成を無効にするオプションを追加
* enhance: ↵syuilo2023-03-231-1/+13
| | | | | | コンディショナルロールの条件に「投稿数が~以下」「投稿数が~以上」を追加 Resolve #10395
* enhance: 使われてないアンテナは自動停止されるようにsyuilo2023-03-201-0/+10
| | | | Resolve #9373
* feat: clip favoritesyuilo2023-03-162-0/+39
| | | | Resolve #10337
* enhance: ↵syuilo2023-03-161-0/+5
| | | | | | カスタム絵文字にライセンス情報を付与できるように Resolve #10091
* fix: tweak retention rate aggregationsyuilo2023-03-151-0/+6
|
* feat: sensitive wordsyuilo2023-03-131-0/+5
|
* enhance: ロールの並び順を設定可能にsyuilo2023-03-121-0/+6
|