Skip to content
Snippets Groups Projects
  1. Feb 22, 2023
  2. Feb 16, 2023
  3. Feb 01, 2023
  4. Jan 08, 2023
  5. Sep 20, 2022
  6. Sep 17, 2022
  7. Jun 14, 2022
  8. Jun 10, 2022
    • Johann150's avatar
      enhance: improve documentation for `/users/` endpoints (#8790) · 78df3dc4
      Johann150 authored
      * 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
      78df3dc4
  9. Apr 03, 2022
  10. Apr 02, 2022
    • syuilo's avatar
      revert 484e023c · c03b70c9
      syuilo authored
      c03b70c9
    • Johann150's avatar
      enhance(doc): required input fields (#8456) · 484e023c
      Johann150 authored
      * 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: default avatarsyuilo <Syuilotan@yahoo.co.jp>
      484e023c
  11. Feb 27, 2022
    • syuilo's avatar
      fix · 39d9c613
      syuilo authored
      39d9c613
    • syuilo's avatar
      refactor: Use ESM (#8358) · d071d18d
      syuilo authored
      * wip
      
      * wip
      
      * fix
      
      * clean up
      
      * Update tsconfig.json
      
      * Update activitypub.ts
      
      * wip
      d071d18d
  12. Feb 20, 2022
    • tamaina's avatar
      Fix ajv (#8333) · fcfb5ef0
      tamaina authored
      * wip
      
      * ✌️
      
      * use ajv/dist/core
      
      * revert try
      
      * clean up
      fcfb5ef0
  13. Feb 19, 2022
    • tamaina's avatar
      ✌️ · 78ad95d3
      tamaina authored
      78ad95d3
    • syuilo's avatar
      refactor: use ajv instead of cafy (#8324) · 510de876
      syuilo authored
      
      * wip
      
      * wip
      
      * Update abuse-user-reports.ts
      
      * Update files.ts
      
      * Update list-remote.ts
      
      * Update list.ts
      
      * Update show-users.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update update.ts
      
      * Update search.ts
      
      * Update reactions.ts
      
      * Update search.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update update.ts
      
      * Update relation.ts
      
      * Update available.ts
      
      * wip
      
      * wip
      
      * wip
      
      * Update packages/backend/src/server/api/define.ts
      
      Co-authored-by: default avatarJohann150 <johann.galle@protonmail.com>
      
      * Update define.ts
      
      * Update define.ts
      
      * typo
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update update.ts
      
      * wip
      
      * Update signup.ts
      
      * Update call.ts
      
      * minimum for limit
      
      * type
      
      * remove needless annotation
      
      * wip
      
      * Update signup.ts
      
      * wip
      
      * wip
      
      * fix
      
      * Update create.ts
      
      Co-authored-by: default avatarJohann150 <johann.galle@protonmail.com>
      510de876
  14. Feb 03, 2022
  15. Jan 18, 2022
    • tamaina's avatar
      refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) · efb0ffc4
      tamaina authored
      * 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.
      
      * ✌️
      
      * clean up
      
      * test?
      
      * wip
      
      * wip
      
      * better schema def
      
      * ✌️
      
      
      
      * 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: default avatarAcid Chicken (硫酸鶏) <root@acid-chicken.com>
      
      * fix
      
      * array oneOfをより正確な型に
      
      * array oneOfをより正確な型に
      
      * wip
      
      * ✌️
      
      * なんかもういろいろ
      
      * remove
      
      * very good schema
      
      * api schema
      
      * wip
      
      * refactor: awaitAllの型定義を変えてみる
      
      * fix
      
      * specify types in awaitAll
      
      * specify types in awaitAll
      
      * ✌️
      
      * wip
      
      * ...
      
      * ✌️
      
      * 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
      
      * ✌️
      
      
      
      * wip
      
      * 分割代入ではなくallOfで定義するように
      
      Co-authored-by: default avatarAcid Chicken (硫酸鶏) <root@acid-chicken.com>
      efb0ffc4
  16. Jan 02, 2022
    • syuilo's avatar
      lint · 4a64280a
      syuilo authored
      4a64280a
  17. Dec 09, 2021
  18. Nov 11, 2021
  19. Oct 19, 2021
  20. Oct 17, 2021
  21. Aug 19, 2021
  22. Jun 08, 2021
  23. May 10, 2020
  24. Mar 21, 2020
    • syuilo's avatar
      Fix #6110 · 346036ec
      syuilo authored
      updatedAt が null なユーザーは検索に出てこなくなる副作用あり
      346036ec
    • syuilo's avatar
      Resolve #6110 · 1471e523
      syuilo authored
      1471e523
  25. Feb 15, 2020
  26. Jan 29, 2020
  27. Jun 27, 2019
  28. Jun 14, 2019
  29. Apr 23, 2019
    • syuilo's avatar
      Refactor API (#4770) · 0463c6bb
      syuilo authored
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update description.ts
      
      * wip
      0463c6bb
  30. Apr 12, 2019
  31. Apr 08, 2019
Loading