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

2024.5.0 and Vmimi relay timeline updates #195

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
efda2e9
Update README.md
syuilo Mar 2, 2024
38837bd
test(backend): refactor tests (#13499)
zyoshoka Mar 3, 2024
9834801
chore: Automated release (#13075)
tamaina Mar 4, 2024
9542cb8
fix(backend): リモートサーバーの情報が更新できなくなっていた問題を修正 (#13507)
tamaina Mar 4, 2024
96ab1af
Update CHANGELOG.md
kakkokari-gtyih Mar 4, 2024
13f5faf
remove template txt
tamaina Mar 4, 2024
83a5bc0
doc: Nestで循環依存がある場合のCONTRIBUTING.mdに書く (#13522)
tamaina Mar 5, 2024
45672a7
fix(frontend): router遷移時にmatchAllに入った場合一度`location.href`を経由するように (#13…
kakkokari-gtyih Mar 5, 2024
08d618b
enhance(frontend): 自分のノートの添付ファイルから直接ファイルの詳細ページに飛べるようにする (#13520)
kakkokari-gtyih Mar 5, 2024
4457b02
fix(frontend)?: importAppScriptはimportをawaitするように
tamaina Mar 6, 2024
00c1e4e
perf: boot.jsの調整
tamaina Mar 6, 2024
6292235
Revert "perf: boot.jsの調整"
tamaina Mar 6, 2024
7ead98c
enhance(frontend): リアクションの総数を表示するように (#13532)
kakkokari-gtyih Mar 6, 2024
412e9f2
test(backend): enable typecheck by workflow (#13526)
zyoshoka Mar 7, 2024
c680e35
enhance(frontend): 広告が同一ドメインの場合はRouterで遷移するように (#13510)
kakkokari-gtyih Mar 7, 2024
f4a5740
fix(frontend): 周年の実績が閏年を考慮するように (#13525)
kakkokari-gtyih Mar 7, 2024
27f823e
enhance(frontend): リアクションの総数を表示するか設定で選べるように (#13539)
kakkokari-gtyih Mar 8, 2024
1b064d7
chore(backend): validateNoteの結果Errorはそのままthrowする
tamaina Mar 9, 2024
45d1af2
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
tamaina Mar 9, 2024
db29680
chore(dev): remove deprecated vscode plugins
syuilo Mar 9, 2024
dbc4fd3
Update about-misskey.vue
syuilo Mar 9, 2024
e4eaf12
Update example.yml (#13551)
FineArchs Mar 9, 2024
6b676a9
enhance(backend): antennas/updateの必須項目をantennaIdのみに (#13542)
yupix Mar 10, 2024
e23e2f4
Fix Changelog
kakkokari-gtyih Mar 12, 2024
b280faa
enhance(frontend): 各サーバーはMisskeyを利用したサービスであることを強調 (#13559)
kakkokari-gtyih Mar 12, 2024
6d9c234
fix: URL preview popup for local URL appears in the upper left corner…
anatawa12 Mar 12, 2024
5c1d86b
refactor(backend): UserEntityService.packMany()の高速化 (#13550)
samunohito Mar 12, 2024
29f6ba6
chore: add missing SPDX ID and workflow check (#13570)
zyoshoka Mar 13, 2024
88d47ab
プラグインの簡易的なログを表示する機能 (#13564)
FineArchs Mar 13, 2024
75fa43b
fix(dev): fix duplication in .vscode/extensions.json
tamaina Mar 14, 2024
8604bd9
fix(dev): vscode-jest: Deprecated: Please use jest.runMode instead.
tamaina Mar 14, 2024
71d0538
fix(frontend): update locales/index.d.ts
tamaina Mar 14, 2024
4b1ca9e
fix(general): `flash/create`でPlayの公開範囲を指定できない問題の修正と編集画面の調整 (#13574)
zyoshoka Mar 15, 2024
7e63ab0
refactor(backend): refactor chart engine
syuilo Mar 17, 2024
282cfae
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Mar 17, 2024
dcfab91
feat: send heartbeat right after visibility changed to 'visible' (#13…
backrunner Mar 17, 2024
b65203c
fix(frontend): WebGL2コンテキストの初期化に失敗するとMisskeyが起動できなくなる問題を修正 (#13587)
kakkokari-gtyih Mar 17, 2024
a38646b
fix(backend): フォローリクエストを作成する際に既存のものは削除するように (#13588)
kakkokari-gtyih Mar 18, 2024
067cdf3
enhance(frontend): ページのデザインを調整 (#13590)
kakkokari-gtyih Mar 18, 2024
0226a67
fix(backend): ユーザーやノートのOGPでローカルとリモートユーザーの見分けが付かない問題を修正 (#13586)
kakkokari-gtyih Mar 18, 2024
5f6863b
Add missing credit (for #13586)
kakkokari-gtyih Mar 18, 2024
115d918
fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする (#13598)
samunohito Mar 20, 2024
d7bb6c8
Cypress typescript (#13591)
dakkar Mar 20, 2024
ca2df14
fix(frontend): woodenPanelの配色を修正 (#13561)
kakkokari-gtyih Mar 20, 2024
7795045
Update about-misskey.vue
syuilo Mar 20, 2024
f4838e5
enhance(antenna): Botの投稿を除外できるように (#13603)
kakkokari-gtyih Mar 20, 2024
831c74a
fix: URLプレビューの動作改善+動作設定を可能にする (#13579)
samunohito Mar 21, 2024
40bb606
fix(frontend): URLプレビューのto/hrefがない問題を修正
tamaina Mar 21, 2024
c9c6424
enhance(frontend): TOTPの入力ダイアログを改良 (#13607)
kakkokari-gtyih Mar 22, 2024
6bd7877
enhance(frontend): リアクション受け入れがいいねのみの場合はボタンホバーでツールチップが出るように (#13613)
kakkokari-gtyih Mar 22, 2024
3db26f2
fix(backend): fix openAPI operationId format
syuilo Mar 23, 2024
539718f
fix(misskey-js): fix ESLint error in generator due to `operationId` c…
zyoshoka Mar 24, 2024
a1bc8fa
test(backend): fix streaming test error when replying to followers-on…
zyoshoka Mar 24, 2024
8f415d6
fix(generator): APIクライアントのパスにoperationIdが使われる問題を修正 (#13622)
kakkokari-gtyih Mar 25, 2024
f90be42
fix(frontend): 「今日誕生日のフォロー中ユーザー」ウィジェットが正しく動作しない問題を修正 (#12835)
kakkokari-gtyih Mar 25, 2024
f3500ff
fix: report progress out of 100% in CleanRemoteFilesProcessorService …
nilathedragon Mar 30, 2024
b35ae97
fix(backend): better `notes/translate` error response (#13631)
zyoshoka Mar 30, 2024
2a85143
fix: misskey-js、bubble-game、reversiのビルドをesbuildに統合する (#13600)
samunohito Mar 30, 2024
50da7d2
enhance(frontend): 2要素認証セットアップウィザードにアプリを起動するボタンを新設 (#13636)
kakkokari-gtyih Mar 30, 2024
b96d9c6
fix/enhance(frontend): 映像・音声周りの改修 (#13206)
kakkokari-gtyih Mar 30, 2024
d4ca973
Enhance(frontend): もっと!ボタンでリアクション一覧が開けるように (#12935)
1STEP621 Mar 30, 2024
0f2e651
fix(frontend): remove duplicate CSS declaration (#13640)
l2dy Mar 31, 2024
efafa02
enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように (#13568)
kakkokari-gtyih Mar 31, 2024
61978cb
fix(frontend): ページデザインの修正 (#13642)
kakkokari-gtyih Mar 31, 2024
b4b47d8
refactor(frontend): use `scrollX` or `scrollY` (#13645)
kakkokari-gtyih Apr 1, 2024
c4fc582
Merge pull request from GHSA-fpvp-74wx-35p3
jorgectf Apr 3, 2024
efa42a1
fix(backend): バックエンドのpnpm devによるビルド後にbuild-assetsを行うようにする (#13659)
samunohito Apr 4, 2024
2f8fb10
fix(deps): aiscript-vscodeのインストール中にWARNが出るのを修正 (#13661)
kakkokari-gtyih Apr 5, 2024
959cc8f
refactor(general): use `Date.now()` instead of creating a new `Date` …
zyoshoka Apr 7, 2024
960c4df
enhance(frontend): better condition for posting and displaying Notes …
zyoshoka Apr 7, 2024
b322f55
dev: fix misskey-tga (#13312)
Srgr0 Apr 8, 2024
7586ef7
fix(frontend): MkDialogのinputで字数制限に違反していてもEnterキーが押せてしまうのを修正 (#13677)
1STEP621 Apr 9, 2024
eb1ef14
enhance(frontend): add link of 2fa guide
syuilo Apr 9, 2024
f5100cc
feat(frontend): アップロードするファイルの名前をランダム文字列にできるように (#13688)
kakkokari-gtyih Apr 13, 2024
5c7c44c
fix(backend): 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように (#13703)
kakkokari-gtyih Apr 13, 2024
48a7679
test: do not use indexedDB in cypress environment due to chrome bug (…
anatawa12 Apr 13, 2024
7cf0c18
fix(backend): FileServerServiceでレンジリクエストの場合に適切なレスポンスコードが返らない問題を修正 (#1…
kakkokari-gtyih Apr 14, 2024
8c5d9a6
fix(backend): incorrect logic for determining whether Quote or not (#…
zyoshoka Apr 14, 2024
bba3097
enhance: クリップのノート数を表示するように (#13686)
kakkokari-gtyih Apr 14, 2024
b4faa7c
chore: Use integrity for Redoc script (#13716)
mei23 Apr 15, 2024
c687b4e
fix(backend): nginx経由で/files/にRangeリクエストされた場合に正しく応答できないのを修正 (#13712)
mei23 Apr 15, 2024
ca0d148
ci: Check Misskey JS autogenを様々改善 (#13718)
anatawa12 Apr 15, 2024
e9e877f
fix: ダイレクト投稿の宛先が保存されない (#13717)
anatawa12 Apr 16, 2024
6f489b5
enhance(frontend): ページの表示部上部に編集リンクを追加 (#13724)
kakkokari-gtyih Apr 17, 2024
977e2d2
enhance(frontend): フォローするかどうかの確認ダイアログを出せるように (#13723)
kakkokari-gtyih Apr 17, 2024
e423b8c
細かいミュートの処理の修正 (#13695)
anatawa12 Apr 17, 2024
ea9aa6f
:art: (ページ表示部上部のボタン順序を変更)
kakkokari-gtyih Apr 17, 2024
cd7f727
enhance: 新しいコンディショナルロール条件の実装 (#13732)
samunohito Apr 19, 2024
f9aed8f
fix: 正規化されていない状態のhashtagが連合されてきたhtmlに含まれているとhashtagが正しくhashtagに復元されない…
anatawa12 Apr 19, 2024
553ba84
AiScriptのバージョンを0.18.0に上げる (#13743)
FineArchs Apr 25, 2024
85339ca
feat: improve emoji endpoint (#13742)
Hoto-Cocoa Apr 25, 2024
6abb8c4
Merge pull request from GHSA-m9qf-3pfj-2r86
mei23 Apr 27, 2024
f53e22d
add comma (#13746)
salano-ym Apr 27, 2024
0a31e13
fix(frontend): PlayのAiScriptランタイムが停止したときに画面が初期化されていない問題を修正 (#13747)
kakkokari-gtyih Apr 27, 2024
cb5d8bd
fix(backend): ページのOGP URLが違うのを修正 (#13749)
kakkokari-gtyih Apr 27, 2024
7ce6a9b
fix(frontend): グループ通知の人数をちゃんと数えるように (#13751)
kakkokari-gtyih Apr 27, 2024
78e61c6
fix(frontend_reversi): 共有ボタンの実装を改善 (#13750)
kakkokari-gtyih Apr 27, 2024
20eb4bc
Fix(backend): ActivityPubでのHTMLへのシリアライズを修正 (#13752)
ikasoba Apr 27, 2024
fe1172f
fix: ハイフンを含むリモート絵文字が描画されない (#13715)
anatawa12 Apr 27, 2024
8e8ee2a
open links in abuse comment in new window (#13381)
anatawa12 Apr 27, 2024
c7d7da8
AP Link等は添付ファイル扱いしないようになど (#13754)
mei23 Apr 28, 2024
e2ff5f5
lint
syuilo Apr 28, 2024
2ff90a8
fix(backend): add detailed schema to `fetch-rss` endpoint (#13764)
zyoshoka Apr 29, 2024
2017f91
refactor(frontend): 非ログイン画面でのmeta取得を減らす (#13776)
kakkokari-gtyih May 1, 2024
8c5e564
fix type error
kakkokari-gtyih May 1, 2024
ef630df
enhance(frontend): add contact page
syuilo May 1, 2024
9f66f22
fix(frontend): 連合なしの状態の読み書きができない問題 (#13777)
taiyme May 1, 2024
d2a5bb3
Merge pull request from GHSA-2vxv-pv3m-3wvj
tesaguri May 1, 2024
9c057e6
fix(frontend): fix Storybook type errors (#13779)
zyoshoka May 1, 2024
c530a46
enhance(backend): ドライブのファイルがNSFWかどうか個別に連合されるように (#13756)
KisaragiEffective May 1, 2024
053e762
enhance(frontend_ais): PostForm系の設定項目を追加 (#13788)
kakkokari-gtyih May 4, 2024
eef7fcd
chore(frontend): ui tweak
syuilo May 4, 2024
2b21c19
update deps (#13624)
syuilo May 4, 2024
fc77ad9
refactor(frontend): provide linkNavigationBehavior
syuilo May 6, 2024
c639f30
Update CHANGELOG.md
syuilo May 6, 2024
73a5b6c
Bump version to 2024.5.0-beta.0
github-actions[bot] May 6, 2024
455543b
change package.json
tamaina May 6, 2024
313515c
Bump version to 2024.5.0-beta.1
github-actions[bot] May 7, 2024
0fd06e3
fix
tamaina May 7, 2024
f5d57c0
dev: modify release manager to set indent type
tamaina May 7, 2024
6e6bb56
Merge branch 'develop' into release/2024.5.0
tamaina May 7, 2024
b298897
fix(backend): 不要なUserProfileの取得を修正 (#13812)
samunohito May 10, 2024
f6af6d9
fix(backend): UserEntityService.getRelationsの取得処理を軽量化 (#13811)
samunohito May 10, 2024
6046ba1
Merge pull request #13816 from misskey-dev/develop
syuilo May 10, 2024
12ae9a2
feat: DevContainerにpnpmをインストールする際、corepackを使うようにする (#13821)
frfs May 13, 2024
9b0fc31
Update FUNDING.yml
syuilo May 14, 2024
def7b8c
fix(frontend): fix Chromatic test fails (#13826)
zyoshoka May 18, 2024
ba62b73
fix(storybook): fix wrong `tabler-icons` CSS path (#13828)
zyoshoka May 18, 2024
acf84a2
FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題を修正 (#13837)
anatawa12 May 19, 2024
4d0db37
fix notification limit with exclude/include types (#13836)
anatawa12 May 20, 2024
f6df940
Exclude channel notes from featured polls (#13838)
anatawa12 May 20, 2024
ed74f7b
ci: use pnpm version from packageManager field in the package.json. (…
anatawa12 May 20, 2024
5836bd8
fix: 複数idを指定する`users/show`が関係ないユーザを返すことがある問題を修正 (#13765)
anatawa12 May 20, 2024
367bf0c
fix: `/share` with unicode characters in the URL (#13846)
anatawa12 May 20, 2024
1d4e639
ci: verify locale data (#13849)
acid-chicken May 21, 2024
3fba768
New Crowdin updates (#13500)
syuilo May 21, 2024
7bde630
`/tags` と `/user-tags` が検索エンジンにインデックスされないように (#13847)
anatawa12 May 21, 2024
37f2952
Update about-misskey.vue
syuilo May 21, 2024
3340631
Update about-misskey.vue
syuilo May 21, 2024
126383d
deps: AiScript VSCodeのバージョンを上げる (#13851)
kakkokari-gtyih May 21, 2024
6a637db
enhance(frontend): 通常のノートでも、お気に入りに登録したチャンネルにリノートできるように (#13855)
kakkokari-gtyih May 21, 2024
20c0bd9
happy-domにメモリリークがありそう
syuilo May 21, 2024
4a3c01d
Merge branch 'develop' into release/2024.5.0
syuilo May 21, 2024
c69de6b
fix(l10n): fix wrong description of server silence (#13857)
Sayamame-beans May 21, 2024
ed432d0
New Crowdin updates (#13850)
syuilo May 21, 2024
aafa669
feat(frontend): 長いテキストをペーストした際にテキストファイルとして添付するかどうかを選択できるように (#13862)
anatawa12 May 23, 2024
4ee4456
Merge branch 'develop' into release/2024.5.0
syuilo May 23, 2024
8489d39
Bump version to 2024.5.0-beta.2
github-actions[bot] May 23, 2024
611e303
feat(backend): add /healthz endpoint (#13834)
acid-chicken May 23, 2024
83a9aa4
feat: suspend instance improvements (#13861)
anatawa12 May 23, 2024
e0b4799
fix(backend): `read:admin:show-user` と `read:admin:show-users` を統合 (#…
kakkokari-gtyih May 23, 2024
3ffbf62
feat: 個別のお知らせにリンクで飛べるように (#13885)
kakkokari-gtyih May 27, 2024
1df8ea8
fix(backend): `/@` にアクセスするとサーバーエラーが発生する問題を修正 (#13884)
kakkokari-gtyih May 27, 2024
1b81ca4
enhance(frontend): 「見たことのあるリノートを省略して表示」の名称を変更 (#13883)
kakkokari-gtyih May 27, 2024
805a11a
enhance(backend): プロフィールのリンク検証にtry-catchを追加 (#13882)
kakkokari-gtyih May 27, 2024
d013e45
enhance(frontend): お気に入りチャンネルをキャッシュするように (#13881)
kakkokari-gtyih May 27, 2024
6af9492
Quick action implement (#13878)
Sayamame-beans May 27, 2024
140df4b
Bump version to 2024.5.0-beta.3
github-actions[bot] May 27, 2024
579b88a
Merge branch 'develop' into release/2024.5.0
syuilo May 27, 2024
e501077
Bump version to 2024.5.0-beta.4
github-actions[bot] May 27, 2024
28e0e20
[ci skip] Delete .github/FUNDING.yml
kakkokari-gtyih May 27, 2024
cf2256c
fix: CHANGELOG not reflecting correctly (#13888)
zyoshoka May 27, 2024
a7a8dc4
もともとセンシティブではないと連合されていたファイルがセンシティブとして連合された場合にセンシティブとしてそのファイルを扱うように (#1…
anatawa12 May 27, 2024
d7982e4
New Crowdin updates (#13860)
syuilo May 27, 2024
4579be0
新着ノートをサウンドで通知する機能をdeck UIに追加 (#13867)
anatawa12 May 27, 2024
d3b9693
Merge branch 'develop' into release/2024.5.0
syuilo May 27, 2024
4704dfe
Bump version to 2024.5.0-beta.5
github-actions[bot] May 27, 2024
934f9f8
docs: 「Feat: 個別のお知らせにリンクで飛べるように」のcherry-pick元を指定 (#13891)
KisaragiEffective May 27, 2024
de9e391
[skip ci] update release manager actions
tamaina May 27, 2024
1bb1a32
[skip ci] update release manager actions
tamaina May 27, 2024
89b27d8
fix(federation): InboxにきたCreate, AnnounceのobjectがBearcaps urlだった際はスキッ…
tamaina May 28, 2024
80f3cb9
feat: sentry integration (#13897)
syuilo May 28, 2024
e2eb7e8
Merge branch 'develop' into release/2024.5.0
syuilo May 28, 2024
244adef
Bump version to 2024.5.0-rc.6
github-actions[bot] May 28, 2024
f75e467
Bump version to 2024.5.0-rc.7
github-actions[bot] May 28, 2024
44cafbb
refactor: avoid `as any[]` on FetchInstanceMetadataService.ts (#13905)
KisaragiEffective May 28, 2024
e57ce4f
chore(backend): rename local variable (#13904)
KisaragiEffective May 28, 2024
cf670e8
refactor(backend): avoid `as any` on CustomEmojiService.ts (#13903)
KisaragiEffective May 28, 2024
eaadd64
chore(misskey-js): fix `repository` and add `license` in `package.jso…
zyoshoka May 29, 2024
24d4124
fix(frontend): ノートにテキストがなくてもファイルが5つ以上あるときは折りたたむように (#13907)
kanarikanaru May 30, 2024
ac4a001
fix code style
syuilo May 31, 2024
be11fd7
enhance: サーバーのお問い合わせ先URLを設定できるように
syuilo May 31, 2024
5b8f8e7
fix(backend): fix backward compatibility of antenna
syuilo May 31, 2024
0082747
New Crowdin updates (#13892)
syuilo May 31, 2024
dfeaa11
Merge branch 'develop' into release/2024.5.0
syuilo May 31, 2024
eaa85f5
fix test
syuilo May 31, 2024
a0c596b
Merge branch 'develop' into release/2024.5.0
syuilo May 31, 2024
1e007b6
Bump version to 2024.5.0-rc.8
github-actions[bot] May 31, 2024
97be1a5
Update 1717117195275-inquiryUrl.js
syuilo May 31, 2024
a3468fd
Merge branch 'develop' into release/2024.5.0
syuilo May 31, 2024
514a65e
perf(backend): avoid N+1 selects from `user` table when packing many …
zyoshoka May 31, 2024
90ba1ca
Merge branch 'develop' into release/2024.5.0
syuilo May 31, 2024
dc55adb
Bump version to 2024.5.0-rc.9
github-actions[bot] May 31, 2024
030082f
:art:
syuilo May 31, 2024
e8f523f
Merge branch 'develop' into release/2024.5.0
syuilo May 31, 2024
374c879
Bump version to 2024.5.0-rc.10
github-actions[bot] May 31, 2024
46164f8
Bump version to 2024.5.0-rc.11
github-actions[bot] May 31, 2024
316d192
Bump version to 2024.5.0-rc.12
github-actions[bot] May 31, 2024
27d1b7e
2024.5.0
syuilo May 31, 2024
61eec93
Revert "2024.5.0"
syuilo May 31, 2024
a59aa20
Bump version to 2024.5.0-rc.13
github-actions[bot] May 31, 2024
6078081
[skip ci] Release: 2024.5.0
github-actions[bot] May 31, 2024
a0e1d5a
Merge tag 'refs/tags/2024.5.0' into vmimi-relay-timeline
anatawa12 May 31, 2024
9d25ad9
chore: reimplement mute system with new APIs
anatawa12 May 31, 2024
6a2cf7d
Merge pull request #25 from anatawa12/vmimi-relay-timeline-merge-2024…
anatawa12 May 31, 2024
5d7e327
Merge remote-tracking branch 'refs/remotes/origin/vmimi-relay-timelin…
anatawa12 May 31, 2024
8ccaffc
ci: allow non-syuilo FileCopyrightText
anatawa12 May 31, 2024
657334f
fix: add FileCopyrightText
anatawa12 May 31, 2024
335030e
fix: follow upstream API changes
anatawa12 May 31, 2024
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
  •  
  •  
  •  
19 changes: 17 additions & 2 deletions .config/docker_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ redis:
# ┌───────────────────────────┐
#───┘ MeiliSearch configuration └─────────────────────────────

# You can set scope to local (default value) or global
# You can set scope to local (default value) or global
# (include notes from remote).

#meilisearch:
Expand Down Expand Up @@ -136,6 +136,21 @@ redis:

id: 'aidx'

# ┌────────────────┐
#───┘ Error tracking └──────────────────────────────────────────

# Sentry is available for error tracking.
# See the Sentry documentation for more details on options.

#sentryForBackend:
# enableNodeProfiling: true
# options:
# dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'

#sentryForFrontend:
# options:
# dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'

# ┌─────────────────────┐
#───┘ Other configuration └─────────────────────────────────────

Expand Down Expand Up @@ -185,7 +200,7 @@ proxyRemoteFiles: true
signToActivityPubGet: true

# For security reasons, uploading attachments from the intranet is prohibited,
# but exceptions can be made from the following settings. Default value is "undefined".
# but exceptions can be made from the following settings. Default value is "undefined".
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
#allowedPrivateNetworks: [
# '127.0.0.1/32'
Expand Down
17 changes: 16 additions & 1 deletion .config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# Option 3: If neither of the above applies to you.
# (In this case, the source code should be published
# on the Misskey interface. IT IS NOT ENOUGH TO
# DISCLOSE THE SOURCE CODE WEHN A USER REQUESTS IT BY
# DISCLOSE THE SOURCE CODE WHEN A USER REQUESTS IT BY
# E-MAIL OR OTHER MEANS. If you are not satisfied
# with this, it is recommended that you read the
# license again carefully. Anyway, enabling this
Expand Down Expand Up @@ -205,6 +205,21 @@ redis:

id: 'aidx'

# ┌────────────────┐
#───┘ Error tracking └──────────────────────────────────────────

# Sentry is available for error tracking.
# See the Sentry documentation for more details on options.

#sentryForBackend:
# enableNodeProfiling: true
# options:
# dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'

#sentryForFrontend:
# options:
# dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'

# ┌─────────────────────┐
#───┘ Other configuration └─────────────────────────────────────

Expand Down
9 changes: 3 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
"service": "app",
"workspaceFolder": "/workspace",
"features": {
"ghcr.io/devcontainers-contrib/features/pnpm:2": {
"version": "8.9.2"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "20.10.0"
}
"version": "20.12.2"
},
"ghcr.io/devcontainers-contrib/features/corepack:1": {}
},
"forwardPorts": [3000],
"postCreateCommand": "sudo chmod 755 .devcontainer/init.sh && .devcontainer/init.sh",
Expand All @@ -19,7 +17,6 @@
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"Vue.volar",
"Vue.vscode-typescript-vue-plugin",
"Orta.vscode-jest",
"dbaeumer.vscode-eslint",
"mrmlnc.vscode-json5"
Expand Down
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,21 @@ redis:

id: 'aidx'

# ┌────────────────┐
#───┘ Error tracking └──────────────────────────────────────────

# Sentry is available for error tracking.
# See the Sentry documentation for more details on options.

#sentryForBackend:
# enableNodeProfiling: true
# options:
# dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'

#sentryForFrontend:
# options:
# dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'

# ┌─────────────────────┐
#───┘ Other configuration └─────────────────────────────────────

Expand Down
2 changes: 2 additions & 0 deletions .devcontainer/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -xe

sudo chown -R node /workspace
git submodule update --init
corepack install
corepack enable
pnpm config set store-dir /home/node/.local/share/pnpm/store
pnpm install --frozen-lockfile
cp .devcontainer/devcontainer.yml .config/default.yml
Expand Down
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

147 changes: 73 additions & 74 deletions .github/workflows/check-misskey-js-autogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,26 @@ on:
branches:
- master
- develop
- improve-misskey-js-autogen-check
paths:
- packages/backend/**

jobs:
check-misskey-js-autogen:
# pull_request_target safety: permissions: read-all, and there are no secrets used in this job
generate-misskey-js:
runs-on: ubuntu-latest
permissions:
pull-requests: write

env:
api_json_name: "api-head.json"

contents: read
if: ${{ github.event.pull_request.mergeable == null || github.event.pull_request.mergeable == true }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
with:
submodules: true
ref: refs/pull/${{ github.event.number }}/merge
ref: refs/pull/${{ github.event.pull_request.number }}/merge

- name: setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
uses: pnpm/action-setup@v4

- name: setup node
id: setup-node
Expand All @@ -39,79 +36,81 @@ jobs:
- name: install dependencies
run: pnpm i --frozen-lockfile

- name: wait get-api-diff
uses: lewagon/wait-on-check-action@v1.3.3
# generate api.json
- name: Copy Config
run: cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
- name: Generate API JSON
run: pnpm --filter backend generate-api-json

# build misskey js
- name: Build misskey-js
run: |-
cp packages/backend/built/api.json packages/misskey-js/generator/api.json
pnpm run --filter misskey-js-type-generator generate

# packages/misskey-js/generator/built/autogen
- name: Upload Generated
uses: actions/upload-artifact@v4
with:
name: generated-misskey-js
path: packages/misskey-js/generator/built/autogen

# pull_request_target safety: permissions: read-all, and there are no secrets used in this job
get-actual-misskey-js:
runs-on: ubuntu-latest
permissions:
contents: read
if: ${{ github.event.pull_request.mergeable == null || github.event.pull_request.mergeable == true }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
with:
ref: ${{ github.event.pull_request.head.sha }}
check-regexp: get-from-misskey .+
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 30
submodules: true
ref: refs/pull/${{ github.event.pull_request.number }}/merge

- name: Download artifact
uses: actions/github-script@v7.0.1
- name: Upload From Merged
uses: actions/upload-artifact@v4
with:
script: |
const fs = require('fs');

const workflows = await github.rest.actions.listWorkflowRunsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
head_sha: `${{ github.event.pull_request.head.sha }}`
}).then(x => x.data.workflow_runs);

console.log(workflows.map(x => ({name: x.name, title: x.display_title})));

const run_id = workflows.find(x => x.name.includes("Get api.json from Misskey")).id;

let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: run_id,
});

let matchArtifacts = allArtifacts.data.artifacts.filter((artifact) => {
return artifact.name.startsWith("api-artifact-") || artifact.name == "api-artifact"
});

await Promise.all(matchArtifacts.map(async (artifact) => {
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: artifact.id,
archive_format: 'zip',
});
await fs.promises.writeFile(`${process.env.GITHUB_WORKSPACE}/${artifact.name}.zip`, Buffer.from(download.data));
}));

- name: unzip artifacts
run: |-
find . -mindepth 1 -maxdepth 1 -type f -name '*.zip' -exec unzip {} -d . ';'
ls -la
name: actual-misskey-js
path: packages/misskey-js/src/autogen

- name: get head checksum
run: |-
checksum=$(realpath head_checksum)
# pull_request_target safety: nothing is cloned from repository
comment-misskey-js-autogen:
runs-on: ubuntu-latest
needs: [generate-misskey-js, get-actual-misskey-js]
permissions:
pull-requests: write
steps:
- name: download generated-misskey-js
uses: actions/download-artifact@v4
with:
name: generated-misskey-js
path: misskey-js-generated

cd packages/misskey-js/src
find autogen -type f -exec sh -c 'echo $(sed -E "s/^\s+\*\s+generatedAt:.+$//" {} | sha256sum | cut -d" " -f 1) {}' \; > $checksum
cd ../../..
- name: download actual-misskey-js
uses: actions/download-artifact@v4
with:
name: actual-misskey-js
path: misskey-js-actual

- name: build autogen
run: |-
checksum=$(realpath ${api_json_name}_checksum)
mv $api_json_name packages/misskey-js/generator/api.json
- name: check misskey-js changes
id: check-changes
run: |
diff -r -u --label=generated --label=on-tree ./misskey-js-generated ./misskey-js-actual > misskey-js.diff || true

cd packages/misskey-js/generator
pnpm run generate
cd built
find autogen -type f -exec sh -c 'echo $(sed -E "s/^\s+\*\s+generatedAt:.+$//" {} | sha256sum | cut -d" " -f 1) {}' \; > $checksum
cd ../../../..
if [ -s misskey-js.diff ]; then
echo "changes=true" >> $GITHUB_OUTPUT
else
echo "changes=false" >> $GITHUB_OUTPUT
fi

- name: check update for type definitions
run: diff head_checksum ${api_json_name}_checksum
- name: Print full diff
run: cat ./misskey-js.diff

- name: send message
if: failure()
if: steps.check-changes.outputs.changes == 'true'
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: check-misskey-js-autogen
Expand All @@ -125,7 +124,7 @@ jobs:
```

- name: send message
if: success()
if: steps.check-changes.outputs.changes == 'false'
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: check-misskey-js-autogen
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/check-spdx-license-id.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Check SPDX-License-Identifier

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

jobs:
check-spdx-license-id:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Check
run: |
counter=0

search() {
local directory="$1"
find "$directory" -type f \
'(' \
-name "*.cjs" -and -not -name '*.config.cjs' -o \
-name "*.html" -o \
-name "*.js" -and -not -name '*.config.js' -o \
-name "*.mjs" -and -not -name '*.config.mjs' -o \
-name "*.scss" -o \
-name "*.ts" -and -not -name '*.config.ts' -o \
-name "*.vue" \
')' -and \
-not -name '*eslint*'
}

check() {
local file="$1"
# SPDX-FileCopyrightText might be other than syuilo for fork changes
if ! (
grep -q "SPDX-FileCopyrightText: " "$file" ||
grep -q "SPDX-License-Identifier: AGPL-3.0-only" "$file"
); then
echo "Missing: $file"
((counter++))
fi
}

directories=(
"cypress/e2e"
"packages/backend/migration"
"packages/backend/src"
"packages/backend/test"
"packages/frontend/.storybook"
"packages/frontend/@types"
"packages/frontend/lib"
"packages/frontend/public"
"packages/frontend/src"
"packages/frontend/test"
"packages/misskey-bubble-game/src"
"packages/misskey-reversi/src"
"packages/sw/src"
"scripts"
)

for directory in "${directories[@]}"; do
for file in $(search $directory); do
check "$file"
done
done

if [ $counter -gt 0 ]; then
echo "SPDX-License-Identifier is missing in $counter files."
exit 1
else
echo "SPDX-License-Identifier is certainly described in all target files!"
exit 0
fi
Loading
Loading