summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* perf(backend): improve performance of timeline apissyuilo2023-03-193-3/+9
|
* 絵文字のライセンスを表示できるようにsyuilo2023-03-174-18/+63
|
* feat: clip favoritesyuilo2023-03-1612-7/+222
| | | | Resolve #10337
* enhance: ↵syuilo2023-03-163-0/+4
| | | | | | カスタム絵文字にライセンス情報を付与できるように Resolve #10091
* refactor(backend): integrate CreateNotificationService to NotificationServicesyuilo2023-03-162-5/+3
|
* fix(server): prevent creation of empty antennassyuilo2023-03-151-0/+4
|
* Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( ↵CyberRex2023-03-142-2/+2
| | | | | | | | | | | | | | | #10298 関係 ) (#10317) * enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように * Update CHANGELOG.md * Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加 * Fix lint * Mapを使用するように * Fix typo
* fix: ↵YS2023-03-148-8/+8
| | | | | | | クエリキャッシュ無効化時の絵文字操作エラーを解消 (#10320) * disabledCache: trueのときにqueryResultCacheへアクセスしないように * append changelog
* enhance: make configurable to whether notes search available by rolesyuilo2023-03-131-0/+13
| | | | Resolve #10318
* feat: sensitive wordsyuilo2023-03-132-0/+16
|
* enhance: ロールの並び順を設定可能にsyuilo2023-03-122-0/+6
|
* tweak postgresql entitiessyuilo2023-03-103-19/+3
| | | | Fix #10266
* refactor: rename schema to json-schemasyuilo2023-03-1013-14/+14
|
* enhance(backend): restore OpenAPI endpoints (#10281)Kagami Sascha Rosylight2023-03-103-1/+225
| | | | | | | | | | | | | | | | | * enhance(backend): restore OpenAPI endpoints * Update CHANGELOG.md * version * set max-age * update redoc * follow redoc documentation --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* enhance: ↵tamaina2023-03-093-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | アカウント削除時のクライアントの挙動をいい感じにするなど (#10002) * refreshAccounts Resolve #9322 * アカウント管理画面でリストを更新するように * Update packages/frontend/src/account.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * :v: * クライアント起動時は現在ログインしているアカウントのみリフレッシュする * clean up * なんかめっちゃ変えた * refactor * refactor * fix lint --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix: 登録メール送信時に重複確認を行う (#10231)RyotaK2023-03-091-6/+19
| | | | | | | * fix: 登録メール送信時に重複確認を行う * try-catchを使う必要はない * Remove spaces
* fix: ↵mmorita2023-03-091-2/+6
| | | | | | | | | チャンネルの編集権限をチャンネル所有者とモデレーターに限定する (#10268) * チャンネルの編集権限をチャンネルオーナーとモデレーターに限定する * PR 指摘点対応(共有ボタンを全員に表示、$i の nullable 対応、fix a typo) * everyOne -> share
* feat: Reaction acceptance (#10256)syuilo2023-03-081-1/+3
| | | | | | | * wip * wip * デフォルト設定
* feat: Per-user renote mute (#10249)syuilo2023-03-0821-3/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: per-user renote muting From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey * Update ja-JP.yml * Delete renote-muting.ts * rename * fix ids * lint * fix * Update CHANGELOG.md * リノートをミュートしたユーザー一覧を見れるように * :art: * add test * fix test --------- Co-authored-by: Hélène <pleroma-dev@helene.moe>
* lint fixsyuilo2023-03-071-2/+2
|
* fix(backend): ↵danominium2023-03-071-2/+2
| | | | | ブロックホストがない場合はINクエリを生成しない。 (#10258) 空のINクエリはシンタックスエラーとなるため。
* enhance(server): tweak notes/featured apisyuilo2023-03-071-1/+1
|
* test(backend): APIテストの復活 (#10163)Kagami Sascha Rosylight2023-03-033-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert 1c5291f8185651c231903129ee7c1cee263f9f03 * APIテストの復活 * apiテストの移行 * moduleNameMapper修正 * simpleGetでthrowしないように status確認しているので要らない * longer timeout * ローカルでは問題ないのになんで * case sensitive * Run Nest instance within the current process * Skip some setIntervals * wait for 5 seconds * kill them all!! * logHeapUsage: true * detectOpenHandlesがじゃましているらしい * maxWorkers=1? * restore drive api tests * workerIdleMemoryLimit: 500MB * 1024MiB * Wait what
* fix(server): ↵kabo24682023-03-031-0/+6
| | | | | | | チャンネルでミュートが正しく機能していないのを修正 (#10166) * fix(server): チャンネルでミュートが正しく機能していないのを修正 * Update CHANGELOG.md
* :art:syuilo2023-03-011-0/+1
|
* fix of #10145syuilo2023-03-012-2/+2
|
* feat: 時限ロール (#10145)syuilo2023-03-014-40/+22
| | | | | | | | | | | | | | | * feat: 時限ロール * クライアントから期限を確認できるように * リファクタとか * fix test * fix test * fix test * clean up
* fix Serialized typesyuilo2023-02-281-1/+8
|
* fix(server): ↵syuilo2023-02-281-2/+2
| | | | メールアドレス更新時にバリデーションが正しく行われていないのを修正
* fix(backend): return HTTP 404 for any unknown api endpoint paths (#10130)Kagami Sascha Rosylight2023-02-271-2/+18
| | | | | * fix(backend): return HTTP 400 for any invalid api endpoint paths * 404
* fix(server): 単純にrenoteできないのを修正tamaina2023-02-262-0/+16
|
* refactorsyuilo2023-02-261-11/+5
|
* ホームタイムラインの読み込みでクエリタイムアウトに ↵xianon2023-02-261-10/+13
| | | | るのを修正する (#10106)
* fix(server): エラーのスタックトレースは返さないようにsyuilo2023-02-261-2/+5
| | | | Fix #10064
* [Fix] fixed an typo in error message (#10102)daima36292023-02-261-1/+1
|
* test(server): add validation test of api:notes/create (#10090)tamaina2023-02-2610-190/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(server): notes/createのバリデーションが効いていない Fix #10079 Co-Authored-By: mei23 <m@m544.net> * anyOf内にバリデーションを書いても最初の一つしかチェックされない * :v: * wip * wip * :v: * RequiredProp * Revert "RequiredProp" This reverts commit 74693900119a590263106fa3adefd008d69ce80c. * add api:notes/create * fix lint * text * :v: * improve readability --------- Co-authored-by: mei23 <m@m544.net> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: in-channel featured notesyuilo2023-02-251-0/+3
| | | | Resolve #9938
* fix(server): ↵tamaina2023-02-241-0/+10
| | | | | | | notes/createで、fileIdsと見つかったファイルの数が異なる場合はエラーにする (#9911) * fix(server): notes/createで、fileIdsと見つかったファイルの数が異なる場合はエラーにする * NO_SUCH_FILE
* fix: ↵tamaina2023-02-231-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i/notificationsで古い通知タイプを許容するなど、古い通知タイプの清算 (#10042) * wip * fix * create migration * oops * fix front const * changelog * fix type * fix * wip * Revert "wip" This reverts commit 6cdb3600e280be3550b8b6353b2c7930f7b31438. * enumのこす * fix --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(server): tweak admin/show-user apisyuilo2023-02-221-6/+0
| | | | Fix #9883
* fix typessyuilo2023-02-221-4/+4
|
* fix typesyuilo2023-02-221-2/+2
|
* chore: add tiny definition for redis-lock (#9971)dojineko2023-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * add tiny definition for redis-lock * Update packages/backend/src/@types/redis-lock.d.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * fix type name * add @typescript-eslint/naming-convention * define taskToPerform type * chore: use default settings for `@typescript-eslint/naming-convention` * set `format:none` to typeParameter (default) * ignore lines to be treated as exceptions * chore: fix naming --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: ↵tamaina2023-02-221-53/+54
| | | | | | | | | | | | MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正 (#9943) * fix: MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正 Fix #9627 * update CHANGELOG.md * clean up * search-by-username-and-host大改造
* enhance: ↵syuilo2023-02-229-4/+259
| | | | exploreで公開ロール一覧とそのメンバーを閲覧できるように
* fix(server): improve security of admin/drive/show-filesyuilo2023-02-211-4/+12
|
* :art: 2FA設定のデザイン向上 / ↵tamaina2023-02-2010-26/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | セキュリティキーの名前を変更できるように (#9985) * wip * fix * wip * wip * :v: * rename key * :art: * update CHANGELOG.md * パスワードレスログインの判断はサーバーで * 日本語 * 日本語 * 日本語 * 日本語 * :v: * fix * refactor * トークン→確認コード * fix password-less / qr click * use otpauth * 日本語 * autocomplete * パスワードレス設定は外に出す * :art: * :art: --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: 型エラー修正 / Fix type errors backend (#9983)noonworks2023-02-202-4/+4
| | | | | | | | | | | | | | | | | * refactor: fix type errors in backend * revert some changes * なるべくJS挙動を変えない方法に修正 * Update packages/backend/src/server/api/ApiCallService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * コンフリクトするファイルを削除 --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* chore(server): tweak notes/featured apisyuilo2023-02-191-1/+1
|
* refactor: fix typessyuilo2023-02-171-1/+2
|