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

13.11.0 #10506

Merged
merged 436 commits into from
Apr 8, 2023
Merged

13.11.0 #10506

Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
436 commits
Select commit Hold shift + click to select a range
723cff0
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Mar 24, 2023
8332c03
build(#10336): sync
acid-chicken Mar 24, 2023
5be5445
Update CHANGELOG.md
syuilo Mar 24, 2023
2bce064
build(#10336): full reload server on change
acid-chicken Mar 25, 2023
b56d173
chore: use defaultStore instead
acid-chicken Mar 25, 2023
8ca9621
build(#10336): show popups on Story
acid-chicken Mar 25, 2023
899c624
refactor(#10336): remove redundant div
acid-chicken Mar 25, 2023
3b524f3
Subtree merged in packages/misskey-js
saschanaz Mar 25, 2023
efb5e1d
Additional changes for the merge
saschanaz Mar 25, 2023
abdb43c
Revert "Additional changes for the merge"
saschanaz Mar 25, 2023
772e05e
Revert "Subtree merged in packages/misskey-js"
saschanaz Mar 25, 2023
31cc188
regionが空文字列のときはundefinedとする (#10410)
yszkst Mar 25, 2023
6fe12b5
Update ja-JP.yml
syuilo Mar 25, 2023
4a0995a
Update CHANGELOG.md
syuilo Mar 25, 2023
225a8e1
docs: fix
acid-chicken Mar 25, 2023
356fd72
build(#10336): interactions
acid-chicken Mar 25, 2023
bc6d576
build(#10336): add an interaction test for `<MkA/>`
acid-chicken Mar 25, 2023
a529b0e
New Crowdin updates (#10407)
syuilo Mar 26, 2023
4535746
fix: add workaround for cat ears on iOS Safari
acid-chicken Mar 26, 2023
07cfab0
fix: add tight state to cat ears for workarounds
acid-chicken Mar 26, 2023
4d3f0be
chore: respect the animation preference
acid-chicken Mar 27, 2023
8963e36
docs: note change logs
acid-chicken Mar 27, 2023
c1d9e23
enhance(client): 検索ページでURLを入力した際に照会したときと同等の挙動をするように
syuilo Mar 29, 2023
49d4c53
fix: typo
acid-chicken Mar 29, 2023
cee1d5e
chore: integrate misskey-js as a workspace item (git subtree) (#10409)
saschanaz Mar 30, 2023
5c80ad8
Merge branch 'develop' into acid-chicken-patch-1
acid-chicken Mar 30, 2023
0fa9f94
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Mar 30, 2023
bb2b33f
update deps
syuilo Mar 30, 2023
e03d5a8
lint fix
syuilo Mar 30, 2023
e9769c9
misskey-jsのビルド設定を修正
syuilo Mar 30, 2023
ffbe896
enhance(client): ノートのリアクションを大きく表示するオプションを追加
syuilo Mar 30, 2023
ea6f9f1
tweak misskey-js config
syuilo Mar 30, 2023
d7fbef0
specify .js
syuilo Mar 30, 2023
231b54a
Update api-misskey-js.yml
syuilo Mar 30, 2023
74e0824
Revert "Update api-misskey-js.yml"
syuilo Mar 30, 2023
6d78162
tweak misskey-js config
syuilo Mar 30, 2023
dccf03f
Fix misskey-js/tsconfig.json
tamaina Mar 30, 2023
0398787
fix misskey-js/tsconfig.json (add dom lib)
tamaina Mar 30, 2023
26068a3
use workspace:*, use pnpm@8.1.0
tamaina Mar 30, 2023
3db0147
build(#10336): bump storybook
acid-chicken Mar 30, 2023
d1c5556
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Mar 30, 2023
5393436
docs(#10336): mention to pre-build misskey-js
acid-chicken Mar 30, 2023
98fd6b5
build(#10336): write stories for `MkAcct`
acid-chicken Mar 30, 2023
a23b25b
tweak misskey-js eslintrc
syuilo Mar 31, 2023
5d94062
lint fix
syuilo Mar 31, 2023
3cb0cc7
feat: チャンネルをお気に入りに登録できるように
syuilo Mar 31, 2023
f0a70a7
refactor
syuilo Mar 31, 2023
9bc5d52
feat: チャンネルにノートをピン留めできるように
syuilo Mar 31, 2023
70fc25a
build(#10336): write stories for `MkAd`
acid-chicken Mar 31, 2023
bf9846a
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Mar 31, 2023
558d73b
build(#10336): fix missing type definition
acid-chicken Mar 31, 2023
85f50f3
build(#10336): use `toHaveTextContent`
acid-chicken Mar 31, 2023
6a4d56c
fix(client): set overflow: clip to page header title container
tamaina Mar 31, 2023
152247b
refactor: remove autobind-decorator dep
syuilo Mar 31, 2023
a9f0bea
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Mar 31, 2023
13a406b
Merge branch 'develop' into acid-chicken-patch-1
acid-chicken Mar 31, 2023
14977ed
fix: the avatar in the title bar is clipped
acid-chicken Mar 31, 2023
671ce6a
build(#10336): write some stories
acid-chicken Mar 31, 2023
5605b03
build(#10336): hide internal args
acid-chicken Apr 1, 2023
c823cbe
refactor(frontend): remove $store
syuilo Apr 1, 2023
a47f4b8
build(#10336): generate `components/global` stories only
acid-chicken Apr 1, 2023
7a8a756
refactor(frontend): remove $instance
syuilo Apr 1, 2023
2b831da
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Apr 1, 2023
c6d12c2
build(#10336): write stories for `MkMisskeyFlavoredMarkdown`
acid-chicken Apr 1, 2023
f16a7cb
refactor(frontend): remove $i
syuilo Apr 1, 2023
d300f4a
fix: conflict errors
acid-chicken Apr 1, 2023
5667f0f
build(#10336): subcomponents on sidebar
acid-chicken Apr 1, 2023
9224b66
refactor(frontend): remove $ts and $t
syuilo Apr 1, 2023
bc5e457
Delete vue.d.ts
syuilo Apr 1, 2023
f246699
refactor: restore `SatisfiesExpression`
acid-chicken Apr 1, 2023
f3a29cb
docs(#10336): note development status
acid-chicken Apr 1, 2023
3f1a87d
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Apr 1, 2023
139dade
build(#10336): use chokidar-cli
acid-chicken Apr 1, 2023
f7bc442
docs(#10336): note chokidar-cli mode
acid-chicken Apr 1, 2023
f5fd59d
chore(#10336): untrack generated stories files
acid-chicken Apr 1, 2023
38b153c
fix: pointer handling
acid-chicken Apr 1, 2023
1521bb0
build(#10336): finalize
acid-chicken Apr 1, 2023
0960d61
chore: add static option to `MkLoading`
acid-chicken Apr 1, 2023
f39b5be
refactor(#10336): bind to local args
acid-chicken Apr 1, 2023
4521e61
fix: missing case
acid-chicken Apr 1, 2023
e7a15b5
revert: restore `SatisfiesExpression`
acid-chicken Apr 1, 2023
65f20de
build(#10336): make storybook buildable
acid-chicken Apr 1, 2023
ec8905f
build(#10336): staticify assets
acid-chicken Apr 1, 2023
88981e9
build(#10336): staticified directory structure
acid-chicken Apr 1, 2023
0f334f9
build(#10336): normalize path for Windows
acid-chicken Apr 1, 2023
7256b1f
ci(#10336): create actions
acid-chicken Apr 1, 2023
20fb266
build(#10336): ignore tsc errors
acid-chicken Apr 1, 2023
b0fa9f3
build(#10336): ignore tsc errors
acid-chicken Apr 1, 2023
9773170
build(#10336): missing dependencies
acid-chicken Apr 1, 2023
8b30a0d
build(#10336): missing dependencies
acid-chicken Apr 1, 2023
fc76829
build(#10336): use fast-glob
acid-chicken Apr 1, 2023
97e7f7e
fix: invalid lockfile
acid-chicken Apr 1, 2023
b9289c3
ci(#10336): increase heap size
acid-chicken Apr 1, 2023
3f4d93a
build(#10336): use unpkg for storybook tabler icons
acid-chicken Apr 1, 2023
edeabac
build(#10336): use unpkg for storybook twemojis
acid-chicken Apr 1, 2023
903d0bd
build(#10336): disable `ProfilePageCat`
acid-chicken Apr 2, 2023
9982ead
build(#10336): blur `MkA` before interaction ends
acid-chicken Apr 2, 2023
388ecfb
ci(#10336): stabilize
acid-chicken Apr 2, 2023
a217344
ci(#10336): fetch-depth
acid-chicken Apr 2, 2023
faf827a
build(#10336): isChromatic
acid-chicken Apr 2, 2023
5ab02cb
Merge branch 'storybook' of https://github.com/misskey-dev/misskey in…
acid-chicken Apr 2, 2023
5143f33
ci(#10336): notify on changes
acid-chicken Apr 2, 2023
252fe24
ci(#10336): fix typo
acid-chicken Apr 2, 2023
f9693d1
ci(#10336): missing working directory
acid-chicken Apr 2, 2023
e4f6fac
ci(#10336): skip build
acid-chicken Apr 2, 2023
d57a504
ci(#10336): fix path
acid-chicken Apr 2, 2023
29c63ad
build(#10336): fails on Windows
acid-chicken Apr 2, 2023
9946ba0
build(#10336): available on Windows
acid-chicken Apr 2, 2023
ddb1635
ci(#10336): disable animation on chromatic
acid-chicken Apr 2, 2023
d6b1e5b
Merge branch 'storybook' of https://github.com/misskey-dev/misskey in…
acid-chicken Apr 2, 2023
dfb6df0
ci(#10336): add static option to `PageHeader.tabs`
acid-chicken Apr 2, 2023
a0c3ded
enhance(server): 動画サムネイルの縦の長さを最大422pxにする
tamaina Apr 2, 2023
36e8988
chore: void
acid-chicken Apr 2, 2023
a61fe90
Merge branch 'develop' into storybook
acid-chicken Apr 2, 2023
3ab2a00
ci(#10336): change parameters
acid-chicken Apr 2, 2023
423a67f
Merge branch 'storybook' of https://github.com/misskey-dev/misskey in…
acid-chicken Apr 2, 2023
3877b36
除外範囲考慮するように
na2na-p Apr 3, 2023
902d7c5
docs(#10336): update CONTRIBUTING
acid-chicken Apr 3, 2023
4f7ba29
docs(#10336): note about meta overriding and etc.
acid-chicken Apr 3, 2023
a46bfc7
レビュー対応
na2na-p Apr 3, 2023
4f9f625
perf(backend): cache timeline of a channel to redis
syuilo Apr 3, 2023
c032dd1
fix(frontend): tweak MkPagination behaviouyr
syuilo Apr 3, 2023
b53d6c7
perf(backend): store notes of an antenna to redis instead of postgresql
syuilo Apr 3, 2023
92ddebb
オブジェクトストレージの設定画面を分かりやすくする (#10456)
nexryai Apr 3, 2023
da6b30c
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 3, 2023
8a9847b
Merge branch 'develop' into acid-chicken-patch-1
acid-chicken Apr 3, 2023
58f3a2e
Merge pull request #10420 from misskey-dev/acid-chicken-patch-1
acid-chicken Apr 3, 2023
b1b871a
ci(#10336): use Chromatic for checks
acid-chicken Apr 3, 2023
b303a80
Merge branch 'storybook' of https://github.com/misskey-dev/misskey in…
acid-chicken Apr 3, 2023
9b00424
ci(#10336): use `pull_request` instead of `pull_request_target` for now
acid-chicken Apr 3, 2023
8d90e88
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Apr 3, 2023
2acb655
ci(#10336): use `exitOnceUploaded`
acid-chicken Apr 3, 2023
b3b64d8
ci(#10336): reuse built storybook
acid-chicken Apr 3, 2023
211682d
ci(#10336): back to `pull_request_target`
acid-chicken Apr 3, 2023
32149f5
Update CHANGELOG.md
syuilo Apr 3, 2023
38b9fc4
chore: unused dependencies
acid-chicken Apr 3, 2023
14591aa
style(#10336): reduce prettier indents
acid-chicken Apr 3, 2023
ce1fb06
Merge branch 'develop' into fix/visibility-widening
na2na-p Apr 3, 2023
8a0201f
add notes
syuilo Apr 3, 2023
b91d831
style: note about `TSSatisfiesExpression`
acid-chicken Apr 3, 2023
38d0b62
build(#10336): Storybook & Chromatic & msw (#10365)
acid-chicken Apr 4, 2023
c25d89e
fix(client): fix prop type in MkOmit
tamaina Apr 4, 2023
30d6992
perf(backend): 通知をRedisに保存するように
syuilo Apr 4, 2023
6954a63
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 4, 2023
7e845eb
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
acid-chicken Apr 4, 2023
55652a7
build(#10336): bump storybook to v7
acid-chicken Apr 4, 2023
d6e04da
style(#10336): update comment-out codes
acid-chicken Apr 4, 2023
a5f76c0
Merge pull request #10466 from misskey-dev/storybook
acid-chicken Apr 4, 2023
7f3afac
refactor(backend): rename Cache -> MemoryCache
syuilo Apr 4, 2023
ecaf152
enhance(backend): improve cache
syuilo Apr 4, 2023
7bd0001
Merge branch 'develop' into fix/visibility-widening
acid-chicken Apr 4, 2023
3f39fc9
Merge pull request #10457 from na2na-p/fix/visibility-widening
acid-chicken Apr 4, 2023
625fed8
enhance(backend): チャンネルの既読管理を削除
syuilo Apr 4, 2023
f445040
enhance(backend): improve cache
syuilo Apr 5, 2023
1c3d9a5
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 5, 2023
cf6a302
add note
syuilo Apr 5, 2023
28647de
enhance(backend): improve userkeypair cache
syuilo Apr 5, 2023
288cce4
fix
syuilo Apr 5, 2023
a093c37
fix
syuilo Apr 5, 2023
d739aee
fix(frontend): add missing import
syuilo Apr 5, 2023
6798eff
enhance(client): 投稿フォームをちょっといい感じに (#10442)
tamaina Apr 5, 2023
62efe2b
fix: webhook delivery content-type (#9823) (#10458)
xtexChooser Apr 5, 2023
3f3eca7
Update CHANGELOG.md
syuilo Apr 5, 2023
0bb882c
:art:
syuilo Apr 5, 2023
41aafde
test(#10336): stabilize `MkError` stories
acid-chicken Apr 5, 2023
712c601
ci: fix syntax
acid-chicken Apr 5, 2023
2650a7a
fix: 通知インジケータが光りっぱなしになる問題を修正 (#10483)
tamaina Apr 5, 2023
516a791
docs: thanks (#10487)
acid-chicken Apr 5, 2023
3b3f683
feat(#8149): respect nsfw settings on gallery list (#10481)
acid-chicken Apr 5, 2023
10c3c15
Update CHANGELOG.md
syuilo Apr 5, 2023
19349b9
:art:
syuilo Apr 5, 2023
e76d3e7
refactor(fronted): setup syntax to menubar of Classic UI (#10474)
ltlapy Apr 5, 2023
9629929
fix misskey-dev/misskey-#10417 (#10418)
totegamma Apr 5, 2023
3c04fef
13.11.0.beta-1
syuilo Apr 5, 2023
384a3be
perf(backend): reduce db query
syuilo Apr 6, 2023
bd142b8
refactor
syuilo Apr 6, 2023
fd05826
fix(ci): use redis 7
syuilo Apr 6, 2023
437de64
Update CHANGELOG.md
syuilo Apr 6, 2023
73203a3
perf(backend): cache local custom emojis
syuilo Apr 6, 2023
e9165a0
13.11.0.beta-2
syuilo Apr 6, 2023
a574d0f
fix
syuilo Apr 6, 2023
a2e0226
New Crowdin updates (#10430)
syuilo Apr 6, 2023
5201161
13.11.0.beta-3
syuilo Apr 6, 2023
bc5be83
use pnpm@8.1.1
tamaina Apr 6, 2023
b38811a
fix(backend): fix pack of notification behaviour
syuilo Apr 6, 2023
a0d5e24
Update about-misskey.vue
syuilo Apr 6, 2023
de9d136
perf(backend): reduce db query
syuilo Apr 6, 2023
c29f21a
perf(backend): prevent emit needless db queries
syuilo Apr 6, 2023
521eb95
perf(backend): cache avatar and banner url to db
syuilo Apr 6, 2023
f8cdab6
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 6, 2023
89c1294
13.11.0-beta.4
syuilo Apr 6, 2023
88f22da
update deps
syuilo Apr 6, 2023
a561b83
fix deps
syuilo Apr 6, 2023
f4588f3
perf(backend): reduce db query
syuilo Apr 7, 2023
ff6d9d2
feat(backend): イベント用Redisを別サーバーに分離できるように
syuilo Apr 7, 2023
239d3f2
feat(backend): ジョブキュー用Redisを別サーバーに分離できるように
syuilo Apr 7, 2023
1e3fb55
typo
syuilo Apr 7, 2023
58c8d21
13.11.0-beta.5
syuilo Apr 7, 2023
69828e8
fix(sw): プッシュ通知の操作でZen UIなクライアントが開かれてしまう場合がある問題を修正 (#10497) (#10498)
okayurisotto Apr 7, 2023
3bbeec7
perf(backend): improve cache of instance of user
syuilo Apr 7, 2023
930724f
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 7, 2023
6e1ae7b
enhance(backend): tweak cache of role
syuilo Apr 7, 2023
1377ea4
perf(backend): improve cache of federated instances
syuilo Apr 7, 2023
ed4a100
fix(backend): restore date properly of federated instance cache
syuilo Apr 7, 2023
e3f4c9b
13.11.0-beta.6
syuilo Apr 7, 2023
cb39db1
test
syuilo Apr 7, 2023
7da2ca1
Revert "test"
syuilo Apr 7, 2023
191ed3c
fix(test): disable remote user tests
syuilo Apr 7, 2023
abda3b6
ci(#10336): use TurboSnap (#10494)
acid-chicken Apr 7, 2023
eb30976
Update CHANGELOG.md
syuilo Apr 7, 2023
79f198e
ci: ignore develop commits
acid-chicken Apr 7, 2023
44a4fae
feat: add minimize/Fold button for windows (#10508)
2minwia Apr 8, 2023
33bce49
lint fix
syuilo Apr 8, 2023
e3b8e87
lint fixes
syuilo Apr 8, 2023
40b3041
tweak MkWindow.vue
syuilo Apr 8, 2023
fa67fb4
enhance(backend): Redisにチャンネル投稿がない場合はDBから持ってくるように
syuilo Apr 8, 2023
25ebb73
feat: account migration (#10507)
nmkj-io Apr 8, 2023
68e8892
chore: use for instead of forEach
syuilo Apr 8, 2023
008e3fb
Create 1680931179228-account-move.js
syuilo Apr 8, 2023
05aa0fa
:art:
syuilo Apr 8, 2023
551b003
use css module
syuilo Apr 8, 2023
b697f94
Update misskey-js.api.md
syuilo Apr 8, 2023
65584f2
Update misskey-js.api.md
syuilo Apr 8, 2023
1aa8f09
13.11.0-beta.7
syuilo Apr 8, 2023
33e9428
chore: disable sampling for cat ears (#10513)
acid-chicken Apr 8, 2023
132feea
:art
syuilo Apr 8, 2023
9114c8c
feat(backend): support replication of postgresql
syuilo Apr 8, 2023
eefa066
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 8, 2023
975e79f
fix type
syuilo Apr 8, 2023
7636536
tweak locale
syuilo Apr 8, 2023
0f328e8
Update CHANGELOG.md
syuilo Apr 8, 2023
e23cf77
fetch person again (#10514)
nmkj-io Apr 8, 2023
e72d6c9
13.11.0-beta.8
syuilo Apr 8, 2023
a432f53
ci: avoid 0000000
acid-chicken Apr 8, 2023
59693bc
docs: thanks (#10518)
acid-chicken Apr 8, 2023
6634233
chore: local test が redis version 起因で落ちる (#10519)
omi-key Apr 8, 2023
95f670e
test: use M PLUS Rounded 1c on Storybook (#10520)
acid-chicken Apr 8, 2023
90df0d8
disable flaky test
syuilo Apr 8, 2023
cc57fc0
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 8, 2023
abe73c9
New Crowdin updates (#10512)
syuilo Apr 8, 2023
6892e9f
fix(frontend): URLに他のクエリがあるときにもZen UIが適用されるように (#10477)
okayurisotto Apr 8, 2023
5cd9383
enhance(client): 広告・お知らせが新規登録時に増殖しないように (#10412)
atsu1125 Apr 8, 2023
a745503
Update CHANGELOG.md
syuilo Apr 8, 2023
cd915b6
[ci skip] Update CHANGELOG.md
syuilo Apr 8, 2023
1c158dc
fix(client): Fix antenna list infinite items loading
tamaina Apr 8, 2023
ad9f722
use for of
syuilo Apr 8, 2023
c5ccd82
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Apr 8, 2023
50a9b29
[ci skip] 13.11.0
syuilo Apr 8, 2023
2321214
disable account migration
syuilo Apr 8, 2023
789689e
[ci skip] Update CHANGELOG.md
syuilo Apr 8, 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
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .config/docker_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ db:
#extra:
# ssl: true

dbReplications: false

# You can configure any number of replicas here
#dbSlaves:
# -
# host:
# port:
# db:
# user:
# pass:
# -
# host:
# port:
# db:
# user:
# pass:

# ┌─────────────────────┐
#───┘ Redis configuration └─────────────────────────────────────

Expand All @@ -62,6 +79,22 @@ redis:
#prefix: example-prefix
#db: 1

#redisForPubsub:
# host: redis
# port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass
# #prefix: example-prefix
# #db: 1

#redisForJobQueue:
# host: redis
# port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass
# #prefix: example-prefix
# #db: 1

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

Expand Down
33 changes: 33 additions & 0 deletions .config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ db:
#extra:
# ssl: true

dbReplications: false

# You can configure any number of replicas here
#dbSlaves:
# -
# host:
# port:
# db:
# user:
# pass:
# -
# host:
# port:
# db:
# user:
# pass:

# ┌─────────────────────┐
#───┘ Redis configuration └─────────────────────────────────────

Expand All @@ -62,6 +79,22 @@ redis:
#prefix: example-prefix
#db: 1

#redisForPubsub:
# host: localhost
# port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass
# #prefix: example-prefix
# #db: 1

#redisForJobQueue:
# host: localhost
# port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass
# #prefix: example-prefix
# #db: 1

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

Expand Down
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ db:
#extra:
# ssl: true

dbReplications: false

# You can configure any number of replicas here
#dbSlaves:
# -
# host:
# port:
# db:
# user:
# pass:
# -
# host:
# port:
# db:
# user:
# pass:

# ┌─────────────────────┐
#───┘ Redis configuration └─────────────────────────────────────

Expand All @@ -62,6 +79,22 @@ redis:
#prefix: example-prefix
#db: 1

#redisForPubsub:
# host: redis
# port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass
# #prefix: example-prefix
# #db: 1

#redisForJobQueue:
# host: redis
# port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass
# #prefix: example-prefix
# #db: 1

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

Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/api-misskey-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: API report (misskey.js)

on: [push, pull_request]

jobs:
report:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3.3.0

- run: corepack enable

- name: Setup Node.js
uses: actions/setup-node@v3.6.0
with:
node-version: 18.x
cache: 'pnpm'

- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Build
run: pnpm --filter misskey-js build

- name: Check files
run: ls packages/misskey-js/built

- name: API report
run: pnpm --filter misskey-js api-prod

- name: Show report
if: always()
run: cat packages/misskey-js/temp/misskey-js.api.md
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- backend
- frontend
- sw
- misskey-js
steps:
- uses: actions/checkout@v3.3.0
with:
Expand All @@ -61,6 +62,7 @@ jobs:
matrix:
workspace:
- backend
- misskey-js
steps:
- uses: actions/checkout@v3.3.0
with:
Expand Down
74 changes: 74 additions & 0 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Storybook

on:
push:
branches-ignore:
- l10n_develop

jobs:
build:
runs-on: ubuntu-latest

env:
NODE_OPTIONS: "--max_old_space_size=7168"

steps:
- uses: actions/checkout@v3.3.0
with:
fetch-depth: 0
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
run_install: false
- name: Use Node.js 18.x
uses: actions/setup-node@v3.6.0
with:
node-version: 18.x
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Build misskey-js
run: pnpm --filter misskey-js build
- name: Build storybook
run: pnpm --filter frontend build-storybook
- name: Publish to Chromatic
if: 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
run: |
DIFF="${{ github.event.before }} 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/github-script@v6.4.0
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/develop' && steps.chromatic.outputs.skip == 'true'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.repos.createCommitComment({
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
uses: actions/upload-artifact@v3
with:
name: storybook
path: packages/frontend/storybook-static
2 changes: 1 addition & 1 deletion .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
redis:
image: redis:6
image: redis:7
ports:
- 56312:6379

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
redis:
image: redis:6
image: redis:7
ports:
- 56312:6379

Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/test-misskey-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Test (misskey.js)

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Checkout
uses: actions/checkout@v3.3.0

- run: corepack enable

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.6.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml

- name: Build
run: pnpm --filter misskey-js build

- name: Test
run: pnpm --filter misskey-js test
env:
CI: true

- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/misskey-js/coverage/coverage-final.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ api-docs.json
.DS_Store
/files
ormconfig.json
temp
/packages/frontend/src/**/*.stories.ts

# blender backups
*.blend1
Expand Down
Loading