Commit Graph

245 Commits

Author SHA1 Message Date
まっちゃとーにゅ
1b509cb955
Merge remote-tracking branch 'misskey-dev/develop' into io 2024-01-13 23:48:15 +09:00
おさむのひと
57017f2747
feat(CI): CHANGELOG.mdの追記個所をチェックするCIを追加 (#12963)
* feat(CI): CHANGELOG.mdの追記個所をチェックするCIを追加

* fix

* remove strategy

* fix

* fix
2024-01-13 21:17:30 +09:00
zyoshoka
d792f4f348
fix(backend): 虚無ノートを投稿できる問題の修正と api.json の OpenAPI Specification 3.1.0 への対応 (#12969)
* fix(backend): `text: null`だけのノートは投稿できないように

* add test

* Update CHANGELOG.md

* chore: bump OpenAPI Specification from 3.0.0 to 3.1.0

* chore: テストがすでにコメントで記述されていたのでそっちを使うことにする

* fix test

* fix(backend): prohibit posting whitespace-only notes

* Update CHANGELOG.md

* fix(backend): `renoteId`または`fileIds`(`mediaIds`)または`poll`が`null`でない場合に、`text  が空白文字のみで構成されたリクエストになることを許可して、結果は`text: null`を返すように

* test(backend): 引用renoteで空白文字のみで構成されたtextにするとレスポンスが`text: null`になることをチェックするテストを追加

* fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように

* fix(misskey-js): OpenAPI 3.1に対応

* fix(misskey-js): 型生成をOpenAPI Specification 3.1.0に対応

* fix(ci): `validate-api.json`をOpenAPI Specification 3.1.0に対応

* fix(ci): スキーマ書き換えの際のミスを修正

* Revert "fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように"

This reverts commit a9ca55343d.

* fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように

* Revert "fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように"

This reverts commit 865458989f.

* fix(misskey-js): `openapi-parser`で`validate`のかわりに`parse`を用いるように

* Update CHANGELOG.md
2024-01-13 16:54:25 +09:00
まっちゃとーにゅ
abe95d9b67
Merge branch 'develop' of misskey-dev into merge-upstream 2024-01-10 03:13:22 +09:00
おさむのひと
34088ecd27
feat(ci): api.jsonのバリデーションチェックCIを追加 (#12950)
* feat(ci): api.jsonのバリデーションチェックCIを追加

* fix name
2024-01-09 08:34:23 +09:00
おさむのひと
0f9e3bccef
refactor(CI): 修正範囲と関係ないActionsが走るのを抑止する (#12918)
* refactor?: 修正範囲と関係ないActionsが走るのを抑止する

* fix

* バックエンドの対象にmisskey-jsを追加&フロントエンドの対象にmisskey-jsとbackendを追加
2024-01-08 23:51:31 +09:00
おさむのひと
35ec41fc1e
enhance(backend): テストの高速化 (#12939)
* enhance(backend): テストの高速化

* add ls

* 自動的にマージされるようなので不要

* 起動方法を揃える

* fix test
2024-01-08 17:43:52 +09:00
Kagami Sascha Rosylight
9eae82de1d
chore(dependabot) open-pull-requests-limit=10?
Somehow it's not opening any PR, so try higher count
2024-01-06 13:33:56 +01:00
Kagami Sascha Rosylight
4893cce43c
chore(dependabot): try enabling again 2023-12-31 19:48:27 +01:00
まっちゃとーにゅ
48dba91e8a
chore(ci): ioブランチのコミットごとにdockerイメージをビルドするように (MisskeyIO#304) 2023-12-29 16:22:13 +09:00
riku6460
018ff4cbda
Merge tag '2023.12.1' into merge-upstream 2023-12-28 03:58:07 +09:00
Chocolate Pie
a598baaf01
fix(test): CIが落ちている問題を修正 (#12816)
* fix(test): CIが落ちているのを修正

* fix(ci)?: CIの`typecheck`が落ちる問題を修正

* fix(ci): コンフィグファイルのタイポを修正
2023-12-27 17:36:38 +09:00
かっこかり
a9b42765f9
(dev) Issue Templateに、自分で実装してPRを出したいかの意思表明を追加 (#12799)
* Update 01_bug-report.yml

* Update 02_feature-request.yml
2023-12-26 11:40:55 +09:00
anatawa12
316ffcea54
ci: Get api.json from Misskeyでupload-artifact@v4で同名artifactでエラーになるのを修正 (#12770)
* ci: upload-artifact@v4で同名artifactでエラーになるのを修正

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>

* report-api-diff.ymlの最中にエラーが発生したときに分かりづらいので、PRにコメントを残すようにする

* 古いget-api-diffを使ってるactionとの互換性をもたせる

---------

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2023-12-24 14:20:43 +09:00
riku6460
b3de794bdd
Merge tag '2023.12.0-beta.6' into merge-upstream 2023-12-21 11:56:34 +09:00
dependabot[bot]
ffa0470cf8
chore(deps): bump actions/setup-node from 4.0.0 to 4.0.1 (#12713)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 11:37:14 +09:00
Kagami Sascha Rosylight
d14eb20122
chore(workflows): use postgres 15 everywhere (#12726) 2023-12-21 10:29:51 +09:00
riku6460
00c9e43861
Merge tag '2023.12.0-beta.5' into merge-upstream 2023-12-21 07:03:04 +09:00
dependabot[bot]
1260e8b74b
chore(deps): bump actions/upload-artifact from 2 to 4 (#12670)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 08:58:03 +09:00
riku6460
e77ddfce91
Merge tag '2023.12.0-beta.3' into merge-upstream 2023-12-10 10:29:33 +09:00
zyoshoka
6c1f839cbe
chore: labelerが治っていなかったのを修正 (#12610)
* fix ci

* fix

* fix labeler.yml

* Revert "fix labeler.yml"

This reverts commit 9b6a7d02cd.

---------

Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
2023-12-09 09:54:43 +09:00
zyoshoka
d10048edac
chore: fix labeler's config (#12609) 2023-12-08 20:16:15 +09:00
dependabot[bot]
f80ae7f686
chore(deps): bump actions/labeler from 4 to 5 (#12584)
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 09:00:37 +09:00
nullnyat
5cd4c36cad
rename docker-compose.yml.example to docker-compose_example.yml (#12530)
* rename docker-compose.yml.example to docker-compose_example.yml

* fix: dockle.yml
2023-12-01 11:19:33 +09:00
anatawa12
c41d03018c
ci: use refs/pull/*/merge to get head (#12508) 2023-11-30 01:06:11 +09:00
syuilo
06ed64f26f update node to 20.10.0 2023-11-24 09:20:41 +09:00
まっちゃとーにゅ
b918e417f7
Merge remote-tracking branch 'misskey-dev/develop' into io 2023-11-24 02:20:14 +09:00
anatawa12
44a378c46e
Use generate-api-json for api.json diff GitHub comment (#12408)
* ci: use generate-api-json to get api.json changes

* restore copying default.yml

* refactor: get api.json with single workflow

* ci: api.jsonのdiffをbackendが変更されたときのみ取るように
2023-11-23 20:17:21 +09:00
dependabot[bot]
1b9b189c60
build(deps): bump actions/upload-artifact from 2 to 3 (MisskeyIO#231)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 07:42:07 +09:00
riku6460
455c7eb653
Merge tag '2023.11.1' into merge-upstream 2023-11-17 20:19:02 +09:00
dependabot[bot]
d2906d4628
build(deps): bump actions/github-script from 6 to 7 (#12328)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 21:19:26 +09:00
おさむのひと
7701bf0642
「この機能が解決すべき具体的な問題またはニーズ、および誰がそれに役立つと考えているかを説明してください。」という旨の項目を追加 (#12253)
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-10 15:08:12 +09:00
riku6460
50e811e862
Merge branch 'io' into merge-upstream 2023-11-09 17:43:42 +09:00
riku6460
2bc887a6c5
Merge tag '2023.11.0' into merge-upstream 2023-11-09 16:10:53 +09:00
まっちゃとーにゅ
5a85d06571
misc(GitHub Actions): ioに不要なGitHub ActionsのWorkflowファイルを削除 (MisskeyIO#225)
* Dockle 公式のactionを使うように

Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com>
2023-11-09 02:43:24 +09:00
riku6460
48042557c2
Docker のビルドキャッシュに type=registry を使用する (MisskeyIO#211)
タグでビルドしているため、Actions のキャッシュが効かない
2023-11-06 23:39:33 +09:00
Shun Sakai
359f3d5ef5
chore: Convert issue templates to YAML (#12194) 2023-10-30 19:35:10 +09:00
dependabot[bot]
38c163d67c
chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0 (#12128)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.8.1...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 12:43:29 +09:00
まっちゃとーにゅ
16f213ef0c
spec(deps): use node 20 (MisskeyIO#197) 2023-10-30 00:41:08 +09:00
まっちゃとーにゅ
db7a17d396
テストなどにKeyDBを使うように (MisskeyIO#195) 2023-10-30 00:27:20 +09:00
anatawa12
7e15f71916
ci: fix pullreq number may not get correctly (#12127)
* Revert "remove save-pr-number"

This reverts commit 085f4bd769.

* Revert "Update report-api-diff.yml"

This reverts commit b73daf4c0e.

* Revert "Update report-api-diff.yml"

This reverts commit cbf2b5ad8a.

* Revert "try to get pull request id from github.event.workflow_run.pull_requests"

This reverts commit 07517ce501.
2023-10-24 14:02:06 +09:00
anatawa12
b22066b9a2
ci: fix pull_req時にAPI diffの実行ができない (#12123)
* initial commit for report-api-diff.yml

* add api-{base,head}.json into api-artifact

* try to get pull request id from github.event.workflow_run.pull_requests

* Update report-api-diff.yml

* Update report-api-diff.yml

* remove save-pr-number
2023-10-24 06:16:40 +09:00
riku6460
78835eac52
Merge tag '2023.10.2' into merge-upstream 2023-10-21 19:40:18 +09:00
taichan
3e5c55c14e
chore: Pull Request時にapi.jsonの差分を表示するActions workflow (#12090)
* chore: Pull Request時にapi.jsonのdiffを出力するworkflow

* refactor: job names

* fix: set repository to get api diff

* chore: set permission to workflow

* set sleep 30s (shorter)

* chore: set label of diff

* chore: more attempts to fetch misskey

* chore: add full diff output of api.js

* chore: save full-diff to Artifact

* chore: add message to download diff Artifact
2023-10-21 07:45:47 +09:00
dependabot[bot]
3c3d05ba2e
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#12062)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 19:35:13 +09:00
riku6460
56a817b004
update actions 2023-09-28 06:05:39 +09:00
riku6460
3a57fb2b4b
Merge tag '2023.9.1' into merge-upstream 2023-09-27 04:56:47 +09:00
dependabot[bot]
2039e244c5
build(deps): bump actions/checkout from 4.0.0 to 4.1.0 (#11900)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 16:05:02 +09:00
riku6460
87223add7b
Merge tag '2023.9.0' into merge-upstream 2023-09-25 15:27:13 +09:00
syuilo
6cf466e5d1
update deps (#11820)
* update deps

* fix

* wip

* wip

* wip

* Update docker-compose.yml.example

* Delete reviewer-lottery.yml

* Update RepositoryModule.ts

* wip

* wip

* clean up

* update deps

* wip

* wip
2023-09-15 14:28:29 +09:00