-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
115 changed files
with
2,077 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
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/[email protected] | ||
- 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" | ||
if ! ( | ||
grep -q "SPDX-FileCopyrightText: syuilo and misskey-project" "$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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
"dbaeumer.vscode-eslint", | ||
"Vue.volar", | ||
"Orta.vscode-jest", | ||
"dbaeumer.vscode-eslint", | ||
"mrmlnc.vscode-json5" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
## Unreleased | ||
|
||
### Note | ||
- コントロールパネル内にあるサマリープロキシの設定個所がセキュリティから全般へ変更となります。 | ||
|
||
### General | ||
- | ||
- Enhance: URLプレビューの有効化・無効化を設定できるように #13569 | ||
- Enhance: アンテナでBotによるノートを除外できるように | ||
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/545) | ||
- Fix: Play作成時に設定した公開範囲が機能していない問題を修正 | ||
|
||
### Client | ||
- Enhance: 自分のノートの添付ファイルから直接ファイルの詳細ページに飛べるように | ||
- Enhance: 広告がMisskeyと同一ドメインの場合はRouterで遷移するように | ||
- Enhance: リアクション・いいねの総数を表示するように | ||
- Enhance: リアクション受け入れが「いいねのみ」の場合はリアクション絵文字一覧を表示しないように | ||
- Enhance: 設定>プラグインのページからプラグインの簡易的なログやエラーを見られるように | ||
- 実装の都合により、プラグインは1つエラーを起こした時に即時停止するようになりました | ||
- Enhance: ページのデザインを変更 | ||
- Fix: 一部のページ内リンクが正しく動作しない問題を修正 | ||
- Fix: 周年の実績が閏年を考慮しない問題を修正 | ||
- Fix: ローカルURLのプレビューポップアップが左上に表示される | ||
- Fix: WebGL2をサポートしないブラウザで「季節に応じた画面の演出」が有効になっているとき、Misskeyが起動できなくなる問題を修正 | ||
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/459) | ||
- Fix: ページタイトルでローカルユーザーとリモートユーザーの区別がつかない問題を修正 | ||
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/528) | ||
- Fix: コードブロックのシンタックスハイライトで使用される定義ファイルをCDNから取得するように #13177 | ||
- CDNから取得せずMisskey本体にバンドルする場合は`pacakges/frontend/vite.config.ts`を修正してください。 | ||
|
||
### Server | ||
- | ||
- Enhance: エンドポイント`antennas/update`の必須項目を`antennaId`のみに | ||
- Enhance: misskey-dev/[email protected]の取り込み(プレビュー生成処理の効率化) | ||
- Fix: フォローリクエストを作成する際に既存のものは削除するように | ||
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/440) | ||
|
||
## 2024.3.1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
declare global { | ||
namespace Cypress { | ||
interface Chainable { | ||
login(username: string, password: string): Chainable<void>; | ||
|
||
registerUser( | ||
username: string, | ||
password: string, | ||
isAdmin?: boolean | ||
): Chainable<void>; | ||
|
||
resetState(): Chainable<void>; | ||
|
||
visitHome(): Chainable<void>; | ||
} | ||
} | ||
} | ||
|
||
export {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"lib": ["dom", "es5"], | ||
"target": "es5", | ||
"types": ["cypress", "node"] | ||
}, | ||
"include": ["./**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
/* | ||
* SPDX-FileCopyrightText: syuilo and misskey-project | ||
* SPDX-License-Identifier: AGPL-3.0-only | ||
*/ | ||
|
||
import { loadConfig } from './built/config.js' | ||
import { genOpenapiSpec } from './built/server/api/openapi/gen-spec.js' | ||
import { writeFileSync } from "node:fs"; | ||
|
||
const config = loadConfig(); | ||
const spec = genOpenapiSpec(config, true); | ||
|
||
writeFileSync('./built/api.json', JSON.stringify(spec), 'utf-8'); | ||
writeFileSync('./built/api.json', JSON.stringify(spec), 'utf-8'); |
5 changes: 5 additions & 0 deletions
5
packages/backend/migration/1689325027964-UserBlacklistAnntena.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.