forked from taiyme/misskey
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into taiyme_original
- Loading branch information
Showing
77 changed files
with
5,002 additions
and
2,649 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,115 +4,72 @@ on: | |
push: | ||
branches: | ||
- taiyme | ||
- develop | ||
- release | ||
paths: | ||
- .github/workflows/check-spdx-license-id.yaml | ||
- cypress/e2e/**/* | ||
- packages/**/* | ||
- scripts/**/* | ||
|
||
pull_request_target: | ||
branches: | ||
- taiyme | ||
- release | ||
paths: | ||
- cypress/e2e/**/* | ||
- packages/**/* | ||
- scripts/**/* | ||
|
||
permissions: | ||
contents: read | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
pre-checkout: | ||
name: Pre checkout | ||
uses: ./.github/workflows/pre-checkout.yaml | ||
|
||
check-spdx-license-id: | ||
name: Check SPDX-License-Identifier | ||
runs-on: ubuntu-22.04 | ||
needs: | ||
- pre-checkout | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ needs.pre-checkout.outputs.sha }} | ||
fetch-depth: 1 | ||
|
||
- name: Check SPDX-License-Identifier | ||
uses: actions/[email protected] | ||
- name: Check | ||
run: | | ||
counter=0 | ||
search() { | ||
local directory="$1" | ||
if [[ ! -d "$directory" ]]; then | ||
return 0 | ||
fi | ||
find "$directory" -type f \ | ||
\( \ | ||
-name '*.html' -or \ | ||
-name '*.scss' -or \ | ||
-name '*.css' -or \ | ||
-name '*.vue' \ | ||
\) -or \ | ||
\( \ | ||
\( \ | ||
-name '*.ts' -or \ | ||
-name '*.js' -or \ | ||
-name '*.mjs' -or \ | ||
-name '*.cjs' \ | ||
\) -and \( \ | ||
-not -name '*.config.*' \ | ||
\) \ | ||
\) | ||
'(' \ | ||
-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: ' "$file" && | ||
grep -q 'SPDX-License-Identifier: ' "$file" | ||
grep -q "SPDX-FileCopyrightText: syuilo and misskey-project" "$file" || | ||
grep -q "SPDX-License-Identifier: AGPL-3.0-only" "$file" | ||
); then | ||
echo "::error file=${file},line=0::Missing SPDX-License-Identifier" | ||
echo "Missing: $file" | ||
((counter++)) | ||
fi | ||
} | ||
directories=( | ||
'cypress/e2e' | ||
'packages/backend/migration' | ||
'packages/backend/src' | ||
'packages/backend/test' | ||
'packages/backend/test-federation' | ||
'packages/backend/test-server' | ||
'packages/frontend/.storybook' | ||
'packages/frontend/@types' | ||
'packages/frontend/lib' | ||
'packages/frontend/public' | ||
'packages/frontend/src' | ||
'packages/frontend/test' | ||
'packages/frontend-embed/@types' | ||
'packages/frontend-embed/src' | ||
'packages/frontend-shared/@types' | ||
'packages/frontend-shared/js' | ||
'packages/misskey-bubble-game/src' | ||
'packages/misskey-reversi/src' | ||
'packages/sw/src' | ||
'scripts' | ||
"cypress/e2e" | ||
"packages/backend/migration" | ||
"packages/backend/src" | ||
"packages/backend/test" | ||
"packages/frontend-shared/@types" | ||
"packages/frontend-shared/js" | ||
"packages/frontend/.storybook" | ||
"packages/frontend/@types" | ||
"packages/frontend/lib" | ||
"packages/frontend/public" | ||
"packages/frontend/src" | ||
"packages/frontend/test" | ||
"packages/frontend-embed/@types" | ||
"packages/frontend-embed/src" | ||
"packages/misskey-bubble-game/src" | ||
"packages/sw/src" | ||
"scripts" | ||
) | ||
for directory in "${directories[@]}"; do | ||
for file in $(search "$directory"); do | ||
for file in $(search $directory); do | ||
check "$file" | ||
done | ||
done | ||
if [ "$counter" -gt 0 ]; then | ||
echo "::error::SPDX-License-Identifier is missing in ${counter} file(s)." | ||
if [ $counter -gt 0 ]; then | ||
echo "SPDX-License-Identifier is missing in $counter files." | ||
exit 1 | ||
else | ||
echo '::notice::SPDX-License-Identifier is certainly described in all target file(s)!' | ||
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Build and Push VRTL Misskey Docker Image | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*-vrtl.*' | ||
|
||
env: | ||
DOCKER_REGISTRY_NAME: ghcr.io | ||
DOCKER_IMAGE_NAME: anatawa12/vrtl-misskey | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: read | ||
packages: write | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to Docker hub | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ${{ env.DOCKER_REGISTRY_NAME }} | ||
username: ${{ github.repository_owner }} | ||
password: ${{ github.token }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: ${{ env.DOCKER_REGISTRY_NAME }}/${{ env.DOCKER_IMAGE_NAME }} | ||
|
||
- name: Build & Push | ||
uses: docker/build-push-action@v2 | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
with: | ||
context: . | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: ${{ env.DOCKER_REGISTRY_NAME }}/${{ env.DOCKER_IMAGE_NAME }}:latest | ||
build-args: BUILDKIT_INLINE_CACHE=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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ run.bat | |
api-docs.json | ||
*.log | ||
/redis | ||
|
||
.DS_Store | ||
/files | ||
ormconfig.json | ||
|
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 |
---|---|---|
|
@@ -8,4 +8,6 @@ | |
"github.vscode-github-actions", | ||
"redhat.vscode-yaml", | ||
], | ||
|
||
} | ||
|
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 |
---|---|---|
|
@@ -19,3 +19,4 @@ | |
], | ||
}, | ||
} | ||
|
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,25 @@ | ||
# CHANGELOG about VRTL | ||
|
||
VRTLのブランチで行われた変更点をまとめています | ||
|
||
<!-- VV Please add changelog here VV --> | ||
|
||
--- 2024.9.0-vrtl.1 released at this time --- | ||
|
||
--- 2024.8.0-vrtl.1 released at this time --- | ||
|
||
- fix(frontend): VRTL VSTLの名前が表示されないところがある問題 (anatawa12#97) - 2024/08/07 | ||
- fic(frontend): VRTL VSTLでリプライのトグルが表示されない問題 (anatawa12#92) - 2024/08/04 | ||
|
||
--- 2024.7.0-vrtl.1 released at this time --- | ||
|
||
--- 2024.5.0-vrtl.2 released at this time --- | ||
|
||
- chore(backend): VRTL参加サーバーの取得に失敗したときのリトライの間隔を短く | ||
- feat: VRTL/VSTLに連合なし投稿を含めるかを選択可能に | ||
- もともとのVRTL/VSTLでは連合なし投稿が常に含まれていましたが、正しくVRTL/VSTLのノートを表現するために含めないようにできるようになりました | ||
- VSTLの場合、連合なし投稿を含めないようにしてもフォローしている人の連合なし投稿は表示されます | ||
- fix(frontend): ウィジェットでVRTL/VSTLが使用できない問題を修正 | ||
- fix(backend): 自分自身に対するリプライがwithReplies = falseなVRTL/VSTLにて含まれていない問題を修正 | ||
- feat(backend): `vmimiRelayTimelineImplemented` と `disableVmimiRelayTimeline` nodeinfo に追加しました | ||
- これによりサードパーティクライアントがVRTLの有無を認知できるようになりました。 |
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,11 +1,11 @@ | ||
# taiyme (taiy fork) | ||
# 信濃式taiyme改 (SHINANO taiyme fork) | ||
|
||
[taiyme](https://github.com/taiyme/misskey)は、[Misskey](https://github.com/misskey-dev/misskey)から派生したオープンソースのソフトウェアです。 | ||
[信濃式taiyme改](https://github.com/DA-TENSHI/VRTL_with_taiyme)は[taiyme](https://github.com/taiyme/misskey)より派生したフォークです。 | ||
|
||
## 機能のリクエスト・問題の報告 | ||
|
||
GitHubのアカウントをお持ちの方は [Issue](https://github.com/taiyme/misskey/issues) を、それ以外の方は [リクエストフォーム](https://forms.gle/pwBVN29KnJbbs7Gk9) をご利用ください。 | ||
なんかIssueとかよくわからんので[しなのあれぐれっどのアカウント](https://misskey.shinanomai.xyz/@SHINANOMAI)または[mail(mailtoリンク)]([email protected])へ。 | ||
|
||
## 支援について | ||
|
||
[Patreon](https://www.patreon.com/taiy) もしくは <https://u.taiy.me/donate> を参照してください。 | ||
いつか自分で鯖弄れるようになったら解禁するかも |
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
Oops, something went wrong.