Skip to content
Snippets Groups Projects
  1. Apr 05, 2022
  2. Apr 03, 2022
  3. 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
  4. Mar 26, 2022
  5. Feb 27, 2022
  6. Feb 20, 2022
    • tamaina's avatar
      Fix ajv (#8333) · fcfb5ef0
      tamaina authored
      * wip
      
      * ✌️
      
      * use ajv/dist/core
      
      * revert try
      
      * clean up
      fcfb5ef0
  7. 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
  8. 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
  9. Jan 02, 2022
    • syuilo's avatar
      lint · 4a64280a
      syuilo authored
      4a64280a
  10. Dec 09, 2021
  11. Nov 11, 2021
  12. Aug 19, 2021
  13. Jun 08, 2021
  14. Mar 24, 2021
    • syuilo's avatar
      Refactor (#7394) · ce340aba
      syuilo authored
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update define.ts
      
      * Update update.ts
      
      * Update user.ts
      
      * wip
      
      * wip
      
      * Update request.ts
      
      * URL
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update invite.ts
      
      * Update create.ts
      ce340aba
  15. Mar 23, 2021
  16. Nov 08, 2020
  17. Feb 15, 2020
  18. Jan 01, 2020
  19. Jun 28, 2019
  20. Jun 27, 2019
  21. 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
  22. Apr 21, 2019
  23. Apr 15, 2019
  24. Apr 12, 2019
  25. Apr 07, 2019
    • syuilo's avatar
      Refactor · d9780606
      syuilo authored
      d9780606
    • syuilo's avatar
      Use PostgreSQL instead of MongoDB (#4572) · f0a29721
      syuilo authored
      * wip
      
      * Update note.ts
      
      * Update timeline.ts
      
      * Update core.ts
      
      * wip
      
      * Update generate-visibility-query.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update global-timeline.ts
      
      * wip
      
      * wip
      
      * wip
      
      * Update vote.ts
      
      * wip
      
      * wip
      
      * Update create.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update files.ts
      
      * wip
      
      * wip
      
      * Update CONTRIBUTING.md
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update read-notification.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update cancel.ts
      
      * wip
      
      * wip
      
      * wip
      
      * Update show.ts
      
      * wip
      
      * wip
      
      * Update gen-id.ts
      
      * Update create.ts
      
      * Update id.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Docker: Update files about Docker (#4599)
      
      * Docker: Use cache if files used by `yarn install` was not updated
      
      This patch reduces the number of times to installing node_modules.
      For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.
      
      * Docker: Migrate MongoDB to Postgresql
      
      Misskey uses Postgresql as a database instead of Mongodb since version 11.
      
      * Docker: Uncomment about data persistence
      
      This patch will save a lot of databases.
      
      * wip
      
      * wip
      
      * wip
      
      * Update activitypub.ts
      
      * wip
      
      * wip
      
      * wip
      
      * Update logs.ts
      
      * wip
      
      * Update drive-file.ts
      
      * Update register.ts
      
      * wip
      
      * wip
      
      * Update mentions.ts
      
      * wip
      
      * wip
      
      * wip
      
      * Update recommendation.ts
      
      * wip
      
      * Update index.ts
      
      * wip
      
      * Update recommendation.ts
      
      * Doc: Update docker.ja.md and docker.en.md (#1) (#4608)
      
      Update how to set up misskey.
      
      * wip
      
      * ✌️
      
      * wip
      
      * Update note.ts
      
      * Update postgre.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update add-file.ts
      
      * wip
      
      * wip
      
      * wip
      
      * Clean up
      
      * Update logs.ts
      
      * wip
      
      * 🍕
      
      * wip
      
      * Ad notes
      
      * wip
      
      * Update api-visibility.ts
      
      * Update note.ts
      
      * Update add-file.ts
      
      * tests
      
      * tests
      
      * Update postgre.ts
      
      * Update utils.ts
      
      * wip
      
      * wip
      
      * Refactor
      
      * wip
      
      * Refactor
      
      * wip
      
      * wip
      
      * Update show-users.ts
      
      * Update update-instance.ts
      
      * wip
      
      * Update feed.ts
      
      * Update outbox.ts
      
      * Update outbox.ts
      
      * Update user.ts
      
      * wip
      
      * Update list.ts
      
      * Update update-hashtag.ts
      
      * wip
      
      * Update update-hashtag.ts
      
      * Refactor
      
      * Update update.ts
      
      * wip
      
      * wip
      
      * ✌️
      
      * clean up
      
      * docs
      
      * Update push.ts
      
      * wip
      
      * Update api.ts
      
      * wip
      
      * ✌️
      
      * Update make-pagination-query.ts
      
      * ✌️
      
      * Delete hashtags.ts
      
      * Update instances.ts
      
      * Update instances.ts
      
      * Update create.ts
      
      * Update search.ts
      
      * Update reversi-game.ts
      
      * Update signup.ts
      
      * Update user.ts
      
      * id
      
      * Update example.yml
      
      * 🎨
      
      * objectid
      
      * fix
      
      * reversi
      
      * reversi
      
      * Fix bug of chart engine
      
      * Add test of chart engine
      
      * Improve test
      
      * Better testing
      
      * Improve chart engine
      
      * Refactor
      
      * Add test of chart engine
      
      * Refactor
      
      * Add chart test
      
      * Fix bug
      
      * コミットし忘れ
      
      * Refactoring
      
      * ✌️
      
      * Add tests
      
      * Add test
      
      * Extarct note tests
      
      * Refactor
      
      * 存在しないユーザーにメンションできなくなっていた問題を修正
      
      * Fix bug
      
      * Update update-meta.ts
      
      * Fix bug
      
      * Update mention.vue
      
      * Fix bug
      
      * Update meta.ts
      
      * Update CONTRIBUTING.md
      
      * Fix bug
      
      * Fix bug
      
      * Fix bug
      
      * Clean up
      
      * Clean up
      
      * Update notification.ts
      
      * Clean up
      
      * Add mute tests
      
      * Add test
      
      * Refactor
      
      * Add test
      
      * Fix test
      
      * Refactor
      
      * Refactor
      
      * Add tests
      
      * Update utils.ts
      
      * Update utils.ts
      
      * Fix test
      
      * Update package.json
      
      * Update update.ts
      
      * Update manifest.ts
      
      * Fix bug
      
      * Fix bug
      
      * Add test
      
      * 🎨
      
      * Update endpoint permissions
      
      * Updaye permisison
      
      * Update person.ts
      
      #4299
      
      * データベースと同期しないように
      
      * Fix bug
      
      * Fix bug
      
      * Update reversi-game.ts
      
      * Use a feature of Node v11.7.0 to extract a public key (#4644)
      
      * wip
      
      * wip
      
      * ✌️
      
      * Refactoring
      
      #1540
      
      * test
      
      * test
      
      * test
      
      * test
      
      * test
      
      * test
      
      * test
      
      * Fix bug
      
      * Fix test
      
      * 🍣
      
      * wip
      
      * #4471
      
      * Add test for #4335
      
      * Refactor
      
      * Fix test
      
      * Add tests
      
      * 🕓
      
      * Fix bug
      
      * Add test
      
      * Add test
      
      * rename
      
      * Fix bug
      f0a29721
  26. Feb 23, 2019
    • syuilo's avatar
      Introduce OpenAPI specs (#4351) · 52774bbe
      syuilo authored
      * wip
      
      * wip
      
      * wip
      
      * Update index.ts
      
      * Update gen-openapi-spec.ts
      
      * Update api.ja-JP.md
      
      * Fix
      
      * Improve doc
      
      * Update gen-openapi-spec.ts
      
      * Update redoc.html
      
      * Improve doc
      
      * Update gen-openapi-spec.ts
      
      * Improve doc
      
      * Update CHANGELOG.md
      52774bbe
  27. Feb 22, 2019
    • syuilo's avatar
      Improve error handling of API (#4345) · 2756f553
      syuilo authored
      * wip
      
      * wip
      
      * wip
      
      * Update attached_notes.ts
      
      * wip
      
      * Refactor
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * Update call.ts
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * ✌️
      
      * Fix
      2756f553
  28. Feb 15, 2019
  29. Feb 13, 2019
  30. Feb 05, 2019
  31. Feb 03, 2019
  32. Nov 22, 2018
  33. Nov 03, 2018
  34. Nov 02, 2018
  35. Nov 01, 2018
  36. Oct 30, 2018
    • MeiMei's avatar
      Fix: can't recognize rebirthed instance user (#3046) · 441ab2b5
      MeiMei authored
      * resync uri from WebFinger
      
      * trigger resync on user page
      
      * allways update on resync
      
      * Revert "trigger resync on user page"
      
      This reverts commit 8ff139fb49ee61ad55e4b42c562f8a2c3f8098ac.
      
      * background resync
      441ab2b5
Loading