summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/endpoints (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore(client): tweak uisyuilo2022-06-301-2/+3
|
* chore(client): tweak clientsyuilo2022-06-301-0/+10
|
* improve instance doughnut chartssyuilo2022-06-281-3/+18
|
* feat(api): add federation/stats endpointsyuilo2022-06-281-0/+49
|
* feat: make possible to delete an account by adminsyuilo2022-06-272-17/+34
| | | | Resolve #8830
* feat: allow GET for some endpointssyuilo2022-06-2512-11/+47
| | | | Resolve #8263
* fix: always respect instance mutes (#8854)Johann1502022-06-256-28/+30
| | | | | | | | | * fix: muted user query also checks instances This way it can be ensured that the instance mute is used everywhere it is required without checking the whole codebase again. Muted users and muted instances should be used together anyways. * fix lint
* feat: ↵syuilo2022-06-241-9/+14
| | | | 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように
* enhance: Redisをioredisに統一してIPv6サポート (#8869)MeiMei2022-06-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * Use ioredis, Supports IPv6 host https://github.com/misskey-dev/misskey/issues/8862 * Fix import * order * a * i * fix * flushdb * family * CHANGELOG * redis_version Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: simplify ap/show with DbResolver (#8838)Johann1502022-06-231-99/+33
| | | | | | Using the existing code in DbResolver we can avoid separate code for parsing the URIs in this endpoint. Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Improve: unclip (#8823)futchitwo2022-06-181-0/+57
| | | | | | | | | | | | | | | | | | | | | | | * Refactor clip page to use Composition API * Refactor clip page * Refactor clip page * Refactor clip page * Improve: unclip * Fix unclip * Fix unclip * chore: better type and name * Fix * Fix clipPage vue provider Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: add limit to i/notifications (#8836)tamaina2022-06-141-0/+5
| | | | | | | * fix: add limit to i/notifications * ms * remove ms
* fix(docs): use correct description propertyJohann1502022-06-141-5/+2
|
* lint fixessyuilo2022-06-1488-188/+188
|
* fix: some fixes of multiple notification read (#8819)tamaina2022-06-121-1/+5
| | | | | | | * fix: limit multiple notification read * fix * fix
* enhance: improve documentation for `/users/` endpoints (#8790)Johann1502022-06-1049-0/+224
| | | | | | | | | | | | | | | | | | | * docs: category & description for reset password * docs: category & description for testing * docs: descriptions for groups endpoints * docs: descriptions for drive file endpoints * docs: descriptions for sw endpoints * docs: descriptions for user list endpoints * docs: descriptions & result type for gallery posts * docs: descriptions & result type for user endpoints * docs: add return type for stats
* refactor: use awaitAll to reduce duplication (#8791)Johann1502022-06-081-61/+25
| | | | | | | * refactor: use awaitAll to reduce duplication * fix lint * fix typo
* User moderation details (#8762)PikaDude2022-06-031-5/+37
| | | | | | | | | | | | | | | | | * add more user details for admins to see * fix some issues * small style fix as suggested by Johann150 Co-authored-by: Johann150 <johann@qwertqwefsday.eu> * fix Co-authored-by: Johann150 <johann@qwertqwefsday.eu> Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix: validate text is not emptyJohann1502022-05-281-1/+1
| | | fix #8747
* enhance: uniform theme color (#8702)Johann1502022-05-191-1/+1
| | | | | | | | | | | | | | | | | | * enhance: make theme color format uniform All newly fetched instance theme colors will be uniformely formatted as hashtag followed by 6 hexadecimal digits. Colors are checked for validity and invalid colors are not handled. * better input validation for own theme color * migration to unify theme color formats Fixes theme colors of other instances as well as the local instance. * add changelog entry Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: postgres type errorJohann1502022-05-151-1/+1
| | | | Fix a bug introduced in #8659. Solution was already tested there.
* fix: ↵tamaina2022-05-141-1/+8
| | | | | | | ユーザー検索で、クエリがusernameの条件を満たす場合はusernameもLIKE検索するように (#8644) * Fix #8643 * 部分一致にする
* fix: keep file order (#8659)Johann1502022-05-141-4/+8
|
* enhance: Display TOTP Register URLsyuilo2022-05-141-3/+5
| | | | | | Close #7261 Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
* feat: Improve Push Notification (#7667)tamaina2022-04-302-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clean up * ev => data * refactor * clean up * add type * antenna * channel * fix * add Packed type * add PackedRef * fix lint * add emoji schema * add reversiGame * add reversiMatching * remove signin schema (use Signin entity) * add schemas refs, fix Packed type * wip PackedHoge => Packed<'Hoge'> * add Packed type * note-reaction * user * user-group * user-list * note * app, messaging-message * notification * drive-file * drive-folder * following * muting * blocking * hashtag * page * app (with modifying schema) * import user? * channel * antenna * clip * gallery-post * emoji * Packed * reversi-matching * update stream.ts * https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339 * fix lint * clean up? * add app * fix * nanka iroiro * wip * wip * fix lint * fix loginId * fix * refactor * refactor * remove follow action * clean up * Revert "remove follow action" This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a. * Revert "clean up" This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2. * remove fetch specification * renoteの条件追加 * apiFetch => cli * bypass fetch? * fix * refactor: use path alias * temp: add submodule * remove submodule * enhane: unison-reloadに指定したパスに移動できるように * null * null * feat: ログインするアカウントのIDをクエリ文字列で指定する機能 * null * await? * rename * rename * Update read.ts * merge * get-note-summary * fix * swパッケージに * add missing packages * fix getNoteSummary * add webpack-cli * :v: * remove plugins * sw-inject分離したがテストしてない * fix notification.vue * remove a blank line * disconnect intersection observer * disconnect2 * fix notification.vue * remove a blank line * disconnect intersection observer * disconnect2 * fix * :v: * clean up config * typesを戻した * Update packages/client/src/components/notification.vue Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * disconnect * oops * Failed to load the script unexpectedly回避 sw.jsとlib.tsを分離してみた * truncate notification * Update packages/client/src/ui/_common_/common.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * clean up * clean up * キャッシュ対策 * Truncate push notification message * クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正 * components/drive-file-thumbnail.vue * components/drive-select-dialog.vue * components/drive-window.vue * merge * fix * Service Workerのビルドにesbuildを使うようにする * return createEmptyNotification() * fix * i18n.ts * update * :v: * remove ts-loader * fix * fix * enhance: Service Workerを常に登録するように * pollEnded * URLをsw.jsに戻す * clean up Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: アンテナ、クリップ、リストの表示を速くする (#8518)xianon2022-04-193-18/+6
| | | | | | | | | * アンテナノートを取得するクエリがタイムアウトしないように速くする * テーブル名を直接指定しないようにする * クリップの取得を速くする * リストの取得を速くする
* refactorsyuilo2022-04-171-11/+11
|
* refactor: fix typesyuilo2022-04-171-3/+3
|
* refactor: fix typesyuilo2022-04-171-4/+15
|
* refactor: fix typesyuilo2022-04-171-5/+10
|
* refactor: fix typesyuilo2022-04-171-4/+4
|
* refactor: fix typesyuilo2022-04-171-4/+4
|
* refactor: fix typesyuilo2022-04-172-4/+4
|
* refactorsyuilo2022-04-081-8/+8
|
* fix(api): parameter validation of users/show was wrongsyuilo2022-04-061-3/+3
|
* fix typessyuilo2022-04-031-1/+2
|
* chore: fix lintsyuilo2022-04-036-11/+10
|
* fix: validation (better #8456) (#8461)Johann1502022-04-0329-105/+298
| | | | | | | | | * Revert "revert 484e023c0" This reverts commit c03b70c949923b830a6d0361d1aa4d5f5614b7b7. * also allow pure renote * fix checks for pure renote
* fix(api): admin/update-meta was not workingsyuilo2022-04-031-1/+3
|
* revert 484e023c0syuilo2022-04-0229-292/+100
|
* feat: Webhook (#8457)syuilo2022-04-025-0/+212
| | | | | | | | | | | * feat: introduce webhook * wip * wip * wip * Update CHANGELOG.md
* enhance(doc): required input fields (#8456)Johann1502022-04-0229-100/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove empty file If the endpoint is to be implemented later, the file can be added back, but for now it is confusing to have an empty file. * enhance(doc): document defaults Default for `isPublic` is based on the database schema default value. Defaults for `local` and `withFiles` are based on the behaviour of the endpoint. * enhance(doc): explain nullable emoji category * fix: make nullable if default is null * enhance(doc): explain mute attribute expiresAt * fix: define required fields - `notes/create`: the default for `text` has been removed because ajv can not handle `default` inside of `anyOf`, see https://ajv.js.org/guide/modifying-data.html#assigning-defaults and the default value cannot be `null` if text is `nullable: false` in the `anyOf` first alternative. - `notes/create`: The `mediaIds` property has been marked as deprecated because it has the same behaviour as using `fileIds`, but the implementation tries to handlè `fileIds` first. - The result schema for `admin/emoji/list` has been altered because the `host` property will always be `null` as it is filtered this way in the database query. See packages/backend/src/server/api/endpoints/admin/emoji/list.ts line 67. * enhance(doc): explain nullable hostname * update changelog Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(server): add missing importsyuilo2022-03-291-0/+1
|
* perf(server): reduce db query when get notificationssyuilo2022-03-261-0/+2
|
* refactor: migrate to typeorm 3.0 (#8443)syuilo2022-03-26171-311/+326
| | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update following.ts * wip * wip * wip * Update resolve-user.ts * maxQueryExecutionTime * wip * wip
* perf(server): refactor and performance improvementssyuilo2022-03-2514-17/+31
|
* refactorsyuilo2022-03-252-8/+3
|
* refactor: separate meta api for admin or notsyuilo2022-03-252-184/+401
|
* fix API console (#8416)Johann1502022-03-191-2/+2
| | | | Adjusted the server to send the API description based on the new API type declarations introduced previously.
* remove HTTPS handling (#8380)Johann1502022-03-081-8/+0
|