summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/schema (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename schema to json-schemasyuilo2023-03-1023-1620/+0
|
* feat: Reaction acceptance (#10256)syuilo2023-03-081-0/+4
| | | | | | | * wip * wip * デフォルト設定
* feat: Per-user renote mute (#10249)syuilo2023-03-082-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* refactor: fix typessyuilo2023-02-171-5/+31
|
* refactor: fix typessyuilo2023-02-171-0/+51
|
* drop group (#9942)syuilo2023-02-152-40/+1
| | | | | * drop group * Update operations.ts
* drop messaging (#9919)syuilo2023-02-152-77/+0
| | | | | * drop messaging (from backend) * wip
* drop twitter/github/discord integrationssyuilo2023-02-031-4/+0
| | | | Close #9775
* ローカルのカスタム絵文字については直接オリジナルURL ↵syuilo2023-01-211-0/+4
| | | | リクエストするように
* refactor: rename instance.caughtAt to instance.firstRetrievedAtsyuilo2023-01-161-1/+1
|
* カスタム絵文字一覧情報をmetaから分離syuilo2023-01-091-6/+2
|
* drop lastCommunicatedAt of instancesyuilo2023-01-031-5/+0
|
* drop latestRequestSentAt of instancesyuilo2023-01-031-5/+0
|
* clean upsyuilo2022-12-311-10/+0
|
* enhance(server): clean emoji responsesyuilo2022-12-312-37/+0
|
* refactor: 絵文字URLを引き回すのをやめる (#9423)syuilo2022-12-291-1/+1
|
* fix typesyuilo2022-09-241-0/+5
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-3/+0
|
* feat: auto nsfw detection (#8840)syuilo2022-07-071-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: auto nsfw detection * :v: * Update ja-JP.yml * Update ja-JP.yml * ポルノ判定のしきい値を高めに * エラーハンドリングちゃんとした * Update ja-JP.yml * 感度設定を強化 * refactor * feat: add video support for auto nsfw detection * rename: image -> media * .js * fix: add missing error handling * fix: use valid pathname instead of using filename due to invalid usage * perf(nsfw-detection): decode frames * disable detection of video for some reasons * perf(nsfw-detection): streamify detection process for video * disable disallowUploadWhenPredictedAsPorn option * fix(nsfw-detection): improve reliability * fix(nsfw-detection): use Math.ceil instead of Math.round * perf(nsfw-detection): delete tmp frames after used * fix(nsfw-detection): FSWatcher does not emit ready event * perf(nsfw-detection): skip black frames * refactor: strip exists check * Update package.json * めっちゃ変えた * lint * Update COPYING * オプションで動画解析できるように * Update yarn.lock * Update CHANGELOG.md Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix(api): fix instance schemasyuilo2022-06-281-0/+4
|
* tweak clientsyuilo2022-06-211-0/+4
|
* fix(server): faviconUrl of federated instance is missingsyuilo2022-06-211-0/+5
|
* fix: validation (better #8456) (#8461)Johann1502022-04-032-0/+2
| | | | | | | | | * Revert "revert 484e023c0" This reverts commit c03b70c949923b830a6d0361d1aa4d5f5614b7b7. * also allow pure renote * fix checks for pure renote
* revert 484e023c0syuilo2022-04-022-2/+0
|
* enhance(doc): required input fields (#8456)Johann1502022-04-022-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* feat: 時限ミュートsyuilo2022-03-041-0/+5
| | | | #7677
* refactor: Use ESM (#8358)syuilo2022-02-272-2/+2
| | | | | | | | | | | | | | | * wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
* refactor: add InstanceRepositorysyuilo2022-02-181-8/+0
|
* refactor: ↵tamaina2022-01-1823-0/+1668
APIエンドポイントファイルの定義を良い感じにする (#8154) * Fix API Schema Error * Delete SimpleSchema/SimpleObj and Move schemas to dedicated files * Userのスキーマを分割してみる * define packMany type * add , * Ensure enum schema and Make "as const" put once * test? * Revert "test?" This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79. * Revert "Fix API Schema Error" This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323. * :v: * clean up * test? * wip * wip * better schema def * :v: * fix * add minLength property * wip * wip * wip * anyOf/oneOf/allOfに対応? ~ relation.ts * refactor! * Define MinimumSchema * wip * wip * anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正 * anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正 * Update packages/backend/src/misc/schema.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * fix * array oneOfをより正確な型に * array oneOfをより正確な型に * wip * :v: * なんかもういろいろ * remove * very good schema * api schema * wip * refactor: awaitAllの型定義を変えてみる * fix * specify types in awaitAll * specify types in awaitAll * :v: * wip * ... * :v: * AllowDateはやめておく * 不必要なoptional: false, nullable: falseを廃止 * Packedが展開されないように * 続packed * wip * define note type * wip * UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように * wip * wip * wip specify user type of other schemas * ok * convertSchemaToOpenApiSchemaを改修 * convertSchemaToOpenApiSchemaを改修 * Fix * fix * :v: * wip * 分割代入ではなくallOfで定義するように Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>