Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 13.12.0 #10774

Merged
merged 216 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
9bb6c53
test(#10336): add `components/Mk[A-B].*` stories (#10475)
acid-chicken Apr 13, 2023
7d11cf8
Revert #10475 in MkTime
tamaina Apr 13, 2023
605f149
feat: 自分用メモ機能 (#10516)
EbiseLutica Apr 13, 2023
97abfd4
refactor(backend): tweak repository name
syuilo Apr 13, 2023
5cac151
fix(backend): user.memoはdetailがtrueな時だけに
syuilo Apr 13, 2023
e014c91
enhance(frontend): ユーザーメニューからユーザーメモを編集できるように
syuilo Apr 13, 2023
dffefda
fix: #9998 MkNote.vue, MkNoteDetailed.vue で、特定のMFMによってフッターのボタンが押せなくなる…
hapo31 Apr 13, 2023
4634467
refactor: init.ts周りのeslintエラーと型の修正 (#10157)
k35o Apr 13, 2023
2423fb8
fix: proper expire remote user drivefile over limits at adding time (…
CGsama Apr 13, 2023
93dcd1c
fix DriveService.ts
tamaina Apr 13, 2023
55c10d0
fix(client): fix narrow style of MkPostForm
tamaina Apr 13, 2023
47c7b4b
fix(#10609): remove isChromatic on real build (#10613)
acid-chicken Apr 13, 2023
21dfce2
test(backend): catching up with #10516 (#10624)
Nanashia Apr 13, 2023
5f67ca4
update ioredis 5.x
syuilo Apr 14, 2023
a674399
fix types
syuilo Apr 14, 2023
14f30af
fix check_connect.js
tamaina Apr 14, 2023
168fe0e
fix(server): Force the extention of exported file (#10630)
tamaina Apr 14, 2023
9469b26
カスタム絵文字の検索を絵文字ピッカー使用できるように (#10335)
nenohi Apr 14, 2023
7d3b798
update CHANGELOG.md
tamaina Apr 14, 2023
c47a0f7
fix(client): cat ears are clipped in MkReactionsViewer (#10445)
acid-chicken Apr 14, 2023
83d0f81
refactor(backend): validateNoteの引数の型を強くし、anyを除去 (#10325)
KisaragiEffective Apr 14, 2023
da0c295
Update about-misskey.vue
syuilo Apr 14, 2023
69adbde
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 14, 2023
5a8748b
Update node version (#10639)
inductor Apr 15, 2023
98383b2
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 15, 2023
bcbf06a
feat(client): データセーバーモードの追加 (#10478)
kakkokari-gtyih Apr 15, 2023
38fdc73
Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
tamaina Apr 15, 2023
15761a0
enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452)
tamaina Apr 15, 2023
973e70b
chore: Use [email protected] on DevContainer (#10642)
Nanashia Apr 15, 2023
6c5b5f5
update CHANGELOG.md
tamaina Apr 15, 2023
d2aba9b
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
tamaina Apr 15, 2023
9ad250b
enhance(frontend): improve MkPostForm behaviour
syuilo Apr 15, 2023
0ddc79b
fix(backend): アバターとバナーがリセットできない (#10643)
Nanashia Apr 16, 2023
fa60f54
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 16, 2023
d2d1784
ci: fix story impl files were ignored
acid-chicken Apr 16, 2023
cc27c14
Update CHANGELOG.md
syuilo Apr 17, 2023
614f123
feat(frontend): 通知の表示をカスタマイズできるように
syuilo Apr 17, 2023
aa289c9
use channels/my-favorites on deck/channel-column/setChannel (#10662)
tsukimizake Apr 18, 2023
471b836
fix(sw): 通知全削除時にread_notification通知が消えないように
tamaina Apr 18, 2023
b26807b
fix: text color of follow button (#10672)
sasagar Apr 18, 2023
65ff2c2
カスタム絵文字のライセンスを一括でできるように (#10671)
nenohi Apr 18, 2023
b8dacaa
Update pull_request_template.md
syuilo Apr 19, 2023
f5c502a
Update labeler.yml
syuilo Apr 19, 2023
3a61af3
Update about-misskey.vue
syuilo Apr 19, 2023
8c9cb9e
update deps
syuilo Apr 19, 2023
d868f8f
Update labeler.yml
syuilo Apr 19, 2023
323af09
Update labeler.yml
syuilo Apr 19, 2023
0f7defc
Update test-frontend.yml
syuilo Apr 19, 2023
e1f9ab7
feat: Server rules (#10660)
syuilo Apr 19, 2023
dc8a3f2
fix(server): 1:1ではない画像のリアクション通知バッジが左や上に寄ってしまっていたのを中央に来るように修正
tamaina Apr 19, 2023
67d218f
tweak MkSignupDialog.rules.vue
syuilo Apr 20, 2023
7cc7970
tweak MkSignupDialog.rules.vue
syuilo Apr 20, 2023
206baa1
enhance(frontend): tweak retention rate heatmap rendering
syuilo Apr 20, 2023
e89d0aa
update pnpm and summaly
tamaina Apr 20, 2023
795cb1e
:art:
syuilo Apr 20, 2023
3af99d0
enhance(frontend): サーバー情報ページでサーバールールを見れるように
syuilo Apr 20, 2023
40debf2
add new achievement
syuilo Apr 20, 2023
af738d9
:art:
syuilo Apr 20, 2023
8dc60cd
Role timeline setting (#10677)
nenohi Apr 20, 2023
5cae078
fix(backend): make isExplorable optional for backward compatibility
tamaina Apr 20, 2023
4054f9c
update deps
syuilo Apr 21, 2023
8b833c8
vite動かなかったため戻した
syuilo Apr 21, 2023
1dac961
enhance(frontend): INVALID_PARAMおよびROLE_PERMISSION_DENIEDエラーを分かりやすく表示…
syuilo Apr 21, 2023
18df1c7
Revert ":art:"
syuilo Apr 21, 2023
87ff004
:art:
syuilo Apr 21, 2023
7b721c2
Update about-misskey.vue
syuilo Apr 21, 2023
ca49ac2
chore: remove unused files
syuilo Apr 21, 2023
9145302
fix(frontend): fix wrong icon name
syuilo Apr 21, 2023
5a7a1d0
:art:
syuilo Apr 22, 2023
eacdc01
:art:
syuilo Apr 22, 2023
d437e14
:art:
syuilo Apr 22, 2023
2718d86
:art:
syuilo Apr 22, 2023
eb0e2ce
:art:
syuilo Apr 22, 2023
5ddffa7
fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680)
tinaxd Apr 22, 2023
e461fb1
refactor(frontend): refactor MkNumberDiff.vue
syuilo Apr 22, 2023
918a96d
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 22, 2023
34492f3
enhance(backend): tweak cache of federated instance
syuilo Apr 22, 2023
8876ae0
.js
syuilo Apr 22, 2023
b57ee4d
fix of 34492f3c9a
syuilo Apr 22, 2023
62af89d
:art:
syuilo Apr 22, 2023
59dc951
refactor(frontend): use composition aoi
syuilo Apr 22, 2023
f3206d0
build: set default theme for Storybook
acid-chicken Apr 23, 2023
b2a28ad
Update about-misskey.vue
syuilo Apr 23, 2023
b9b9cd0
enhance(server): 環境変数MISSKEY_CONFIG_YMLでdefault.ymlを任意のymlに変更可能に (#10…
tamaina Apr 25, 2023
2aa75f5
fix
tamaina Apr 25, 2023
a986203
[fix] .wav .flac ファイルを再生可能にする (#10686)
yuriha-chan Apr 25, 2023
52a1d96
fix(play preset): Set failback for notes without text or user.name in…
futchitwo Apr 26, 2023
6e0f998
test: use pnpm v8
tamaina Apr 26, 2023
5124db5
fix email test (#10719)
tar-bin Apr 27, 2023
8fbca63
feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647)
kakkokari-gtyih Apr 29, 2023
e8177ee
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 29, 2023
0ad7869
feat: preserved usernames
syuilo Apr 29, 2023
8fb5457
[ci skip] fix typo
syuilo Apr 29, 2023
e2d9c0e
fix(backend): `alsoKnownAs`の誤った定義を修正 (#10725)
Apr 29, 2023
9d5911d
feat: make `MkImgWithBlurhash` transitionable (#10500)
acid-chicken Apr 29, 2023
87657d0
wip
tamaina Apr 28, 2023
2d3d986
test: Check availability of production build (#10734)
tamaina Apr 29, 2023
09764b9
enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように (#10717)
tamaina Apr 29, 2023
0ab50f8
fix #10651 (#10684)
nmkj-io Apr 29, 2023
351bee3
perf(backend): Use ThinUser in admin/federation/remove-all-following
tamaina Apr 29, 2023
149ddeb
fix(frontend): ロールのタイトルのバグを解決、Reactivity Transformで型エラーを出さないように (#10729)
chocolate-pie Apr 29, 2023
d28866f
enhance: account migration (#10592)
nmkj-io Apr 29, 2023
7de59a8
fix(backend): サーバーメトリクスのメモリ使用率が不正確になることがある不具合の修正 (#10728)
nexryai Apr 29, 2023
5f4d20a
ThisIsExperimentalFeature → thisIsExperimentalFeature
tamaina Apr 30, 2023
5b7482d
Update about-misskey.vue
syuilo May 1, 2023
25580e8
:art:
syuilo May 1, 2023
e48926b
Update about-misskey.vue
syuilo May 1, 2023
1631e62
refactor(frontend): use css modules
syuilo May 2, 2023
f5e9886
Update MkInput.vue
syuilo May 2, 2023
4495969
Update MkInput.vue
syuilo May 2, 2023
0cbdbf2
Create MkColorInput.vue
syuilo May 2, 2023
d535ec2
feat: チャンネルに色を設定できるように
syuilo May 2, 2023
cbd183a
fix: return null from Mk:dialog (#10676)
tsukimizake May 2, 2023
e9ba896
Update CHANGELOG.md
syuilo May 2, 2023
8dc5edd
fix(backend): フォローリクエストの通知が残る問題を修正
syuilo May 2, 2023
379c5a8
enhance(frontend): use MkColorInput
syuilo May 2, 2023
a2e475f
Update CHANGELOG.md
syuilo May 2, 2023
b3ec47c
初期ユーザー登録時にはpreservedUsernamesを無視する
tamaina May 2, 2023
f3e43a0
refactor
tamaina May 2, 2023
bcd1233
update deps
syuilo May 2, 2023
4359360
fix(backend): `fields`の誤った定義を修正 (#10737)
May 2, 2023
363eb73
fix
tamaina May 2, 2023
58c3fc6
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
tamaina May 2, 2023
dbc24ce
Update about-misskey.vue
syuilo May 3, 2023
1f9f63d
「このファイルからノートを作成」ボタンを追加 (#10758)
kakkokari-gtyih May 4, 2023
2c60602
:art
syuilo May 4, 2023
ae80dc9
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo May 4, 2023
5349899
Update about-misskey.vue
syuilo May 4, 2023
2cfed33
feat: condense acct (#10753)
acid-chicken May 4, 2023
febb9f3
enhance(frontend): make MkCondensedLine experimental
syuilo May 4, 2023
9ee0022
:art:
syuilo May 4, 2023
8c70bbe
:art:
syuilo May 4, 2023
8dab464
fix #10666 チャンネル検索ですべてのチャンネルの取得/表示ができるようにする (#10667)
tar-bin May 4, 2023
5f62cef
Update CHANGELOG.md
syuilo May 4, 2023
5c08f2b
feat: Introduce Meilisearch (#10755)
syuilo May 4, 2023
b45bc3f
feat(frontend): in channel search
syuilo May 5, 2023
b3b8ee4
13.12.0-beta.1
syuilo May 5, 2023
6db37d4
fix(backend): ノートの検索インデックス条件を調整
syuilo May 5, 2023
be226ec
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo May 5, 2023
2d84e04
ロールにNSFWを強制的につけるオプションを追加 (#10731)
nenohi May 5, 2023
e1bc832
Update CHANGELOG.md
syuilo May 5, 2023
14e364a
13.12.0-beta.2
syuilo May 5, 2023
4a72941
perf: use slacc on check-word-mute (#10721)
acid-chicken May 5, 2023
ae21b75
fix(backend): Use SSL option for Meilisearch (#10772)
caipira113 May 5, 2023
3a10502
enhance: プロフィール設定「追加情報」の並び替え・削除に対応 (#10766)
kakkokari-gtyih May 5, 2023
5dfbce7
feat: チャンネルの削除
syuilo May 5, 2023
39748ea
feat: アンテナのエクスポート・インポート (#10754)
chocolate-pie May 5, 2023
30bc59c
Update CHANGELOG.md
syuilo May 5, 2023
c7d4264
refactor
syuilo May 6, 2023
bd1c2ab
clean up
syuilo May 6, 2023
10ff379
enhance(backend/frontend): モデレーションノートをユーザーのプロフィールページからも閲覧および編集できるように
syuilo May 6, 2023
e36f959
:art:
syuilo May 6, 2023
d17c289
13.12.0-beta.3
syuilo May 6, 2023
521bb9b
Update CHANGELOG.md
syuilo May 6, 2023
0a59407
fix type
syuilo May 6, 2023
63be1ee
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo May 6, 2023
732d714
fix(dev): fix vite config
syuilo May 6, 2023
0735ca0
fix test
syuilo May 6, 2023
1a4b434
fix(backend): sort notes
syuilo May 6, 2023
484dfb6
enhance(frontend): update aiscript to 0.13.2
syuilo May 6, 2023
8c4e918
13.12.0-beta.4
syuilo May 6, 2023
39becdb
miauthでは寄付popupを表示しない (#10779)
kakkokari-gtyih May 6, 2023
3401ab0
:art:
syuilo May 7, 2023
119f025
:art:
syuilo May 7, 2023
78273f9
Update 01_bug-report.md
syuilo May 7, 2023
84beecd
fix lint
syuilo May 7, 2023
1ff23d7
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo May 7, 2023
6ad9a96
fix test
syuilo May 7, 2023
29a8423
enhance(backend): SearchService.searchNoteでhost指定対応
syuilo May 7, 2023
95e7e00
fix test
syuilo May 7, 2023
8a9cc0e
fix text
syuilo May 7, 2023
61c1229
fix test
syuilo May 7, 2023
50985b2
fix test
syuilo May 7, 2023
95a2de8
fix(backend): 凍結されたユーザーが一部APIのレスポンスに含まれる問題を修正
syuilo May 7, 2023
8957a89
update test
syuilo May 7, 2023
963aa49
Update CHANGELOG.md
syuilo May 7, 2023
8310d92
enhance(frontend): 閲覧注意設定された画像は表示した状態でもそれが閲覧注意だと分かる表示をするように
syuilo May 7, 2023
448a933
enhance(frontend): モデレーターはノートに添付された画像上から直接NSFW設定できるように
syuilo May 7, 2023
4da22b8
New Crowdin updates (#10614)
syuilo May 7, 2023
be7b11e
13.12.0-beta.5
syuilo May 7, 2023
9016573
chore: min-scale for MkAcct
acid-chicken May 7, 2023
d526cd7
fix: use max-width instead of width
acid-chicken May 7, 2023
853f9dc
:art:
syuilo May 7, 2023
f82810c
chore(frontend): クライアントの全般設定を整理
syuilo May 7, 2023
63a0b73
chore(frontend): クライアントの全般設定を整理
syuilo May 7, 2023
7d1dde0
chore(frontend): クライアントの全般設定を整理
syuilo May 7, 2023
4dfe2c1
fix(backend): Fix #10786
tamaina May 7, 2023
f94f3da
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
tamaina May 7, 2023
44ba2fd
fix(client): Fix #10746
tamaina May 7, 2023
b8b91b3
enhance(client): :art: gallery/:id/edit
tamaina May 7, 2023
b565df6
fix(backend): fix channels/owned
syuilo May 7, 2023
5c80d90
fix(frontend): fix MkInput style
syuilo May 7, 2023
151586a
refactor
syuilo May 7, 2023
d5e92c3
refactor(frontend): use css modules
syuilo May 8, 2023
85a4c8d
feat(frontend): アカウント初期設定ウィザード (#10799)
syuilo May 8, 2023
b271d02
tweak of #10799
syuilo May 8, 2023
6fd63c1
tweak of #10799
syuilo May 8, 2023
1a96425
chore: 猫耳の先端って本来少し丸まっているものなのではないだろうか (#10800)
acid-chicken May 8, 2023
41e9aa6
fix(frontend): センシティブ設定された画像を開くとき一瞬レイアウトが崩れる問題を修正
syuilo May 8, 2023
8709487
fix(frontend): チャンネルが新規作成できなかったのを修正
syuilo May 8, 2023
f8ed6b1
refactor
syuilo May 8, 2023
2a92e3c
fix of f8ed6b1a5
syuilo May 8, 2023
7c8ca26
New Crowdin updates (#10795)
syuilo May 8, 2023
66da7e1
Update CHANGELOG.md
syuilo May 8, 2023
65a597a
13.12.0-beta.6
syuilo May 8, 2023
34e958c
test: Storybook is broken
acid-chicken May 8, 2023
3510768
ci: check for PRs (#10804)
acid-chicken May 8, 2023
a531b8a
refactor for e2e
syuilo May 8, 2023
a6e7c19
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo May 8, 2023
8f36a80
fix e2e test
syuilo May 8, 2023
b16d7cc
chore(frontend): より柔軟な文言に変更
syuilo May 8, 2023
5c54e12
fix(test): ジョブキューをテストが終わったら停止するように
syuilo May 8, 2023
aa28ddf
fix(frontend): fix e2e
syuilo May 8, 2023
7feca2a
fix(frontend): fix e2e
syuilo May 8, 2023
c8343b2
[ci skip] New Crowdin updates (#10803)
syuilo May 9, 2023
e382f74
[ci skip] 13.12.0
syuilo May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 8 additions & 9 deletions .config/docker_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,14 @@ redis:
# #prefix: example-prefix
# #db: 1

# ┌─────────────────────────────┐
#───┘ Elasticsearch configuration └─────────────────────────────

#elasticsearch:
# host: localhost
# port: 9200
# ssl: false
# user:
# pass:
# ┌───────────────────────────┐
#───┘ MeiliSearch configuration └─────────────────────────────

#meilisearch:
# host: meilisearch
# port: 7700
# apiKey: ''
# ssl: true

# ┌───────────────┐
#───┘ ID generation └───────────────────────────────────────────
Expand Down
29 changes: 16 additions & 13 deletions .config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,14 @@ redis:
# #prefix: example-prefix
# #db: 1

# ┌─────────────────────────────
#───┘ Elasticsearch configuration └─────────────────────────────
# ┌───────────────────────────┐
#───┘ MeiliSearch configuration └─────────────────────────────

#elasticsearch:
#meilisearch:
# host: localhost
# port: 9200
# ssl: false
# user:
# pass:
# port: 7700
# apiKey: ''
# ssl: true

# ┌───────────────┐
#───┘ ID generation └───────────────────────────────────────────
Expand Down Expand Up @@ -133,16 +132,20 @@ id: 'aid'
#clusterLimit: 1

# Job concurrency per worker
# deliverJobConcurrency: 128
# inboxJobConcurrency: 16
#deliverJobConcurrency: 128
#inboxJobConcurrency: 16
#relashionshipJobConcurrency: 16
# What's relashionshipJob?:
# Follow, unfollow, block and unblock(ings) while following-imports, etc. or account migrations.

# Job rate limiter
# deliverJobPerSec: 128
# inboxJobPerSec: 16
#deliverJobPerSec: 128
#inboxJobPerSec: 16
#relashionshipJobPerSec: 64

# Job attempts
# deliverJobMaxAttempts: 12
# inboxJobMaxAttempts: 8
#deliverJobMaxAttempts: 12
#inboxJobMaxAttempts: 8

# IP address family used for outgoing request (ipv4, ipv6 or dual)
#outgoingAddressFamily: ipv4
Expand Down
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"service": "app",
"workspaceFolder": "/workspace",
"features": {
"ghcr.io/devcontainers-contrib/features/pnpm:2": {}
"ghcr.io/devcontainers-contrib/features/pnpm:2": {},
"ghcr.io/devcontainers/features/node:1": {
"version": "18.16.0"
}
},
"forwardPorts": [3000],
"postCreateCommand": "sudo chmod 755 .devcontainer/init.sh && .devcontainer/init.sh",
Expand Down
17 changes: 8 additions & 9 deletions .devcontainer/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,14 @@ redis:
# #prefix: example-prefix
# #db: 1

# ┌─────────────────────────────┐
#───┘ Elasticsearch configuration └─────────────────────────────

#elasticsearch:
# host: localhost
# port: 9200
# ssl: false
# user:
# pass:
# ┌───────────────────────────┐
#───┘ MeiliSearch configuration └─────────────────────────────

#meilisearch:
# host: meilisearch
# port: 7700
# apiKey: ''
# ssl: true

# ┌───────────────┐
#───┘ ID generation └───────────────────────────────────────────
Expand Down
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ build/
built/
db/
docker-compose.yml
elasticsearch/
node_modules/
packages/*/node_modules
redis/
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ Please include errors from the developer console and/or server log files if you
## 📌 Environment

<!-- Tell us where on the platform it happens -->
<!-- DO NOT WRITE "latest". Please provide the specific version. -->

Misskey version:
PostgreSQL version:
Redis version:
Your OS:
Your browser:
21 changes: 15 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
'⚙️Server':
'packages/backend':
- packages/backend/**/*

'🖥️Client':
'packages/backend:test':
- packages/backend/test/**/*

'packages/frontend':
- packages/frontend/**/*

'🧪Test':
'packages/frontend:test':
- cypress/**/*
- packages/backend/test/**/*

'‼️ wrong locales':
- any: ['locales/*.yml', '!locales/ja-JP.yml']
'packages/sw':
- packages/sw/**/*

'packages/misskey-js':
- packages/misskey-js/**/*

'packages/misskey-js:test':
- packages/misskey-js/test/**/*
- packages/misskey-js/test-d/**/*
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md
## Checklist
- [ ] Read the [contribution guide](https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md)
- [ ] Test working in a local environment
- [ ] (If needed) Add story of storybook
- [ ] (If needed) Update CHANGELOG.md
- [ ] (If possible) Add tests
2 changes: 1 addition & 1 deletion .github/workflows/api-misskey-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 18.x
node-version-file: '.node-version'
cache: 'pnpm'

- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
submodules: true
- uses: pnpm/action-setup@v2
with:
version: 7
version: 8
run_install: false
- uses: actions/[email protected]
with:
node-version: 18.x
node-version-file: '.node-version'
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
Expand All @@ -48,7 +48,7 @@ jobs:
run_install: false
- uses: actions/[email protected]
with:
node-version: 18.x
node-version-file: '.node-version'
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
Expand All @@ -74,7 +74,7 @@ jobs:
run_install: false
- uses: actions/[email protected]
with:
node-version: 18.x
node-version-file: '.node-version'
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
Expand Down
40 changes: 30 additions & 10 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Storybook

on:
push:
branches-ignore:
- l10n_develop
branches:
- master
- develop
pull_request_target:

jobs:
build:
Expand All @@ -17,15 +19,18 @@ jobs:
with:
fetch-depth: 0
submodules: true
- name: Checkout HEAD
if: github.event_name == 'pull_request'
run: git checkout ${{ github.head_ref }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
run_install: false
- name: Use Node.js 18.x
uses: actions/[email protected]
with:
node-version: 18.x
node-version-file: '.node-version'
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
Expand All @@ -36,13 +41,13 @@ jobs:
- name: Build storybook
run: pnpm --filter frontend build-storybook
- name: Publish to Chromatic
if: github.ref == 'refs/heads/master'
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
run: pnpm --filter frontend chromatic --exit-once-uploaded -d storybook-static
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: Publish to Chromatic
if: github.ref != 'refs/heads/master'
id: chromatic
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/master'
id: chromatic_push
run: |
DIFF="${{ github.event.before }} HEAD"
if [ "$DIFF" = "0000000000000000000000000000000000000000 HEAD" ]; then
Expand All @@ -55,16 +60,31 @@ jobs:
pnpm --filter frontend chromatic --exit-once-uploaded -d storybook-static $(echo "$CHROMATIC_PARAMETER")
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: Publish to Chromatic
if: github.event_name == 'pull_request'
id: chromatic_pull_request
run: |
DIFF="${{ github.base_ref }} HEAD"
if [ "$DIFF" = "0000000000000000000000000000000000000000 HEAD" ]; then
DIFF="HEAD"
fi
CHROMATIC_PARAMETER="$(node packages/frontend/.storybook/changes.js $(git diff-tree --no-commit-id --name-only -r $(echo "$DIFF") | xargs))"
if [ "$CHROMATIC_PARAMETER" = " --skip" ]; then
echo "skip=true" >> $GITHUB_OUTPUT
fi
pnpm --filter frontend chromatic --exit-once-uploaded -d storybook-static $(echo "$CHROMATIC_PARAMETER")
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: Notify that Chromatic will skip testing
uses: actions/[email protected]
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/develop' && steps.chromatic.outputs.skip == 'true'
if: github.event_name == 'pull_request' && steps.chromatic_pull_request.outputs.skip == 'true'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.repos.createCommitComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
commit_sha: context.sha,
body: 'Chromatic will skip testing but you may still have to [review the changes on Chromatic](https://www.chromatic.com/pullrequests?appId=6428f7d7b962f0b79f97d6e4).'
})
- name: Upload Artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
install: false
start: pnpm start:test
wait-on: 'http://localhost:61812'
headless: false
headed: true
browser: ${{ matrix.browser }}
- uses: actions/upload-artifact@v2
if: failure()
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/test-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test (production install and build)

on:
push:
branches:
- master
- develop
pull_request:

env:
NODE_ENV: production

jobs:
production:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/[email protected]
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .github/misskey/test.yml .config/default.yml
- name: Build
run: pnpm build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ built
/data
/.cache-loader
/db
/elasticsearch
/meili_data
npm-debug.log
*.pem
run.bat
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.13.0
18.16.0
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"files.associations": {
"*.test.ts": "typescript"
},
"jest.jestCommandLine": "pnpm run jest",
"jest.autoRun": "off"
}
Loading