From 37615772e0d171d80d39defe13efcd9514b300ff Mon Sep 17 00:00:00 2001 From: sugar Date: Sun, 12 Jan 2025 04:27:55 +0100 Subject: [PATCH 01/23] Update action workflows to work for this fork Fixes #31. --- .../workflows/check-misskey-js-version.yml | 4 +- .github/workflows/docker-beta.yml | 52 ------------------ .github/workflows/docker-host.yml | 54 ------------------- .github/workflows/docker-io.yml | 54 ------------------- .github/workflows/dockle.yml | 38 ------------- .github/workflows/labeler.yml | 16 ------ .github/workflows/lint.yml | 4 +- .github/workflows/test-backend.yml | 18 ++----- .github/workflows/test-frontend.yml | 7 +-- .github/workflows/test-misskey-js.yml | 10 +--- .github/workflows/test-production.yml | 4 +- .github/workflows/validate-api-json.yml | 4 +- 12 files changed, 9 insertions(+), 256 deletions(-) delete mode 100644 .github/workflows/docker-beta.yml delete mode 100644 .github/workflows/docker-host.yml delete mode 100644 .github/workflows/docker-io.yml delete mode 100644 .github/workflows/dockle.yml delete mode 100644 .github/workflows/labeler.yml diff --git a/.github/workflows/check-misskey-js-version.yml b/.github/workflows/check-misskey-js-version.yml index 6a70cc0fe..26c4b654b 100644 --- a/.github/workflows/check-misskey-js-version.yml +++ b/.github/workflows/check-misskey-js-version.yml @@ -3,9 +3,7 @@ name: Check Misskey JS version on: push: branches: - - beta - - io - - host + - main paths: - packages/misskey-js/package.json - package.json diff --git a/.github/workflows/docker-beta.yml b/.github/workflows/docker-beta.yml deleted file mode 100644 index 2198ea7d5..000000000 --- a/.github/workflows/docker-beta.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Docker image (beta) - -on: - push: - branches: - - beta - workflow_dispatch: - -jobs: - push_to_registry: - name: Push Docker image to GitHub Container Registry - runs-on: ubuntu-22.04 - if: github.repository == 'MisskeyIO/misskey' - steps: - - name: Check out the repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - with: - platforms: linux/amd64 - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: ghcr.io/misskeyio/misskey - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Prepare image tags - run: | - echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV - - name: Build and Push to GitHub Container Registry - uses: docker/build-push-action@v6 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - push: true - platforms: ${{ steps.buildx.outputs.platforms }} - provenance: false - labels: ${{ env.FORMATTED_BRANCH_NAME }} - cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache - cache-to: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache,mode=max - tags: | - ghcr.io/misskeyio/misskey:beta - ghcr.io/misskeyio/misskey:${{ env.FORMATTED_BRANCH_NAME }} diff --git a/.github/workflows/docker-host.yml b/.github/workflows/docker-host.yml deleted file mode 100644 index 80928ff02..000000000 --- a/.github/workflows/docker-host.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Publish Docker image (host) - -on: - push: - branches: - - host - tags: - - '**-host.*' - workflow_dispatch: - -jobs: - push_to_registry: - name: Push Docker image to GitHub Container Registry - runs-on: ubuntu-22.04 - if: github.repository == 'MisskeyIO/misskey' - steps: - - name: Check out the repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - with: - platforms: linux/amd64 - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: ghcr.io/misskeyio/misskey - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Prepare image tags - run: | - echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV - - name: Build and Push to GitHub Container Registry - uses: docker/build-push-action@v6 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - push: true - platforms: ${{ steps.buildx.outputs.platforms }} - provenance: false - labels: ${{ env.FORMATTED_BRANCH_NAME }} - cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:host-buildcache - cache-to: type=registry,ref=ghcr.io/misskeyio/misskey:host-buildcache,mode=max - tags: | - ghcr.io/misskeyio/misskey:host - ghcr.io/misskeyio/misskey:${{ env.FORMATTED_BRANCH_NAME }} diff --git a/.github/workflows/docker-io.yml b/.github/workflows/docker-io.yml deleted file mode 100644 index 578cb56d3..000000000 --- a/.github/workflows/docker-io.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Publish Docker image (io) - -on: - push: - branches: - - io - tags: - - '**-io.*' - workflow_dispatch: - -jobs: - push_to_registry: - name: Push Docker image to GitHub Container Registry - runs-on: ubuntu-22.04 - if: github.repository == 'MisskeyIO/misskey' - steps: - - name: Check out the repo - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - with: - platforms: linux/amd64 - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: ghcr.io/misskeyio/misskey - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Prepare image tags - run: | - echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV - - name: Build and Push to GitHub Container Registry - uses: docker/build-push-action@v6 - with: - builder: ${{ steps.buildx.outputs.name }} - context: . - push: true - platforms: ${{ steps.buildx.outputs.platforms }} - provenance: false - labels: ${{ env.FORMATTED_BRANCH_NAME }} - cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache - cache-to: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache,mode=max - tags: | - ghcr.io/misskeyio/misskey:latest - ghcr.io/misskeyio/misskey:${{ env.FORMATTED_BRANCH_NAME }} diff --git a/.github/workflows/dockle.yml b/.github/workflows/dockle.yml deleted file mode 100644 index 39f32557f..000000000 --- a/.github/workflows/dockle.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Dockle - -on: - push: - branches: - - beta - - io - - host - pull_request: - -jobs: - dockle: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - name: Build an image from Dockerfile - uses: docker/build-push-action@v6 - with: - context: . - push: false - provenance: false - cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache - tags: | - misskey:scan - - name: Run dockle - uses: docker://goodwithtech/dockle:v0.4.14 - env: - DOCKLE_OUTPUT_FORMAT: list - DOCKLE_EXIT_CODE: 1 - DOCKLE_EXIT_LEVEL: WARN - DOCKLE_IGNORES: CIS-DI-0005,CIS-DI-0010 - DOCKLE_DEBUG: true - with: - args: 'misskey:scan' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 88e2aceae..000000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: "Pull Request Labeler" -on: - pull_request_target: - branches-ignore: - - 'l10n_develop' - -jobs: - triage: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 91e318480..b77761e16 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,9 +3,7 @@ name: Lint on: push: branches: - - beta - - io - - host + - main paths: - packages/backend/** - packages/frontend/** diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml index 26c352699..842d5d289 100644 --- a/.github/workflows/test-backend.yml +++ b/.github/workflows/test-backend.yml @@ -3,9 +3,7 @@ name: Test (backend) on: push: branches: - - beta - - io - - host + - main paths: - packages/backend/** # for permissions @@ -71,12 +69,7 @@ jobs: - name: Build run: pnpm build - name: Test - run: pnpm --filter backend test-and-coverage - - name: Upload to Codecov - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./packages/backend/coverage/coverage-final.json + run: pnpm --filter backend test e2e: runs-on: ubuntu-latest @@ -130,9 +123,4 @@ jobs: - name: Build run: pnpm build - name: Test - run: pnpm --filter backend test-and-coverage:e2e - - name: Upload to Codecov - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./packages/backend/coverage/coverage-final.json + run: pnpm --filter backend test:e2e diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index 53b486e3a..5e8dad486 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -51,9 +51,4 @@ jobs: - name: Build run: pnpm build - name: Test - run: pnpm --filter frontend test-and-coverage - - name: Upload Coverage - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./packages/frontend/coverage/coverage-final.json + run: pnpm --filter frontend test diff --git a/.github/workflows/test-misskey-js.yml b/.github/workflows/test-misskey-js.yml index 7acd72fa1..eb3db8af4 100644 --- a/.github/workflows/test-misskey-js.yml +++ b/.github/workflows/test-misskey-js.yml @@ -6,9 +6,7 @@ name: Test (misskey.js) on: push: branches: - - beta - - io - - host + - main paths: - packages/misskey-js/** pull_request: @@ -56,9 +54,3 @@ jobs: run: pnpm --filter misskey-js test env: CI: true - - - name: Upload Coverage - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./packages/misskey-js/coverage/coverage-final.json diff --git a/.github/workflows/test-production.yml b/.github/workflows/test-production.yml index dd397b550..0debef5f6 100644 --- a/.github/workflows/test-production.yml +++ b/.github/workflows/test-production.yml @@ -3,9 +3,7 @@ name: Test (production install and build) on: push: branches: - - beta - - io - - host + - main pull_request: env: diff --git a/.github/workflows/validate-api-json.yml b/.github/workflows/validate-api-json.yml index af590fe67..5017a7d42 100644 --- a/.github/workflows/validate-api-json.yml +++ b/.github/workflows/validate-api-json.yml @@ -3,9 +3,7 @@ name: Test (backend) on: push: branches: - - beta - - io - - host + - main paths: - packages/backend/** pull_request: From 33077ed48efbf6a0763e411558c93167de4cb702 Mon Sep 17 00:00:00 2001 From: Caramel Date: Mon, 13 Jan 2025 18:15:07 +0100 Subject: [PATCH 02/23] Rename .github directory to .forgejo Fixes #34. --- .dockerignore | 2 +- {.github => .forgejo}/FUNDING.yml | 0 {.github => .forgejo}/ISSUE_TEMPLATE/01_bug-report.yml | 0 {.github => .forgejo}/ISSUE_TEMPLATE/02_feature-request.yml | 0 {.github => .forgejo}/ISSUE_TEMPLATE/config.yml | 0 {.github => .forgejo}/PULL_REQUEST_TEMPLATE/01_bug.md | 0 {.github => .forgejo}/PULL_REQUEST_TEMPLATE/02_enhance.md | 0 {.github => .forgejo}/PULL_REQUEST_TEMPLATE/03_release.md | 0 {.github => .forgejo}/dependabot.yml | 0 {.github => .forgejo}/labeler.yml | 0 {.github => .forgejo}/misskey/test.yml | 0 {.github => .forgejo}/pull_request_template.md | 0 {.github => .forgejo}/workflows/api-misskey-js.yml | 0 .../workflows/check-misskey-js-version.yml | 0 {.github => .forgejo}/workflows/lint.yml | 0 {.github => .forgejo}/workflows/test-backend.yml | 4 ++-- {.github => .forgejo}/workflows/test-frontend.yml | 2 +- {.github => .forgejo}/workflows/test-misskey-js.yml | 0 {.github => .forgejo}/workflows/test-production.yml | 2 +- {.github => .forgejo}/workflows/validate-api-json.yml | 0 CONTRIBUTING.md | 6 +++--- 21 files changed, 8 insertions(+), 8 deletions(-) rename {.github => .forgejo}/FUNDING.yml (100%) rename {.github => .forgejo}/ISSUE_TEMPLATE/01_bug-report.yml (100%) rename {.github => .forgejo}/ISSUE_TEMPLATE/02_feature-request.yml (100%) rename {.github => .forgejo}/ISSUE_TEMPLATE/config.yml (100%) rename {.github => .forgejo}/PULL_REQUEST_TEMPLATE/01_bug.md (100%) rename {.github => .forgejo}/PULL_REQUEST_TEMPLATE/02_enhance.md (100%) rename {.github => .forgejo}/PULL_REQUEST_TEMPLATE/03_release.md (100%) rename {.github => .forgejo}/dependabot.yml (100%) rename {.github => .forgejo}/labeler.yml (100%) rename {.github => .forgejo}/misskey/test.yml (100%) rename {.github => .forgejo}/pull_request_template.md (100%) rename {.github => .forgejo}/workflows/api-misskey-js.yml (100%) rename {.github => .forgejo}/workflows/check-misskey-js-version.yml (100%) rename {.github => .forgejo}/workflows/lint.yml (100%) rename {.github => .forgejo}/workflows/test-backend.yml (96%) rename {.github => .forgejo}/workflows/test-frontend.yml (95%) rename {.github => .forgejo}/workflows/test-misskey-js.yml (100%) rename {.github => .forgejo}/workflows/test-production.yml (92%) rename {.github => .forgejo}/workflows/validate-api-json.yml (100%) diff --git a/.dockerignore b/.dockerignore index c628b85ec..5ab61d98b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,7 @@ **/.git .autogen -.github +.forgejo .travis .vscode .config diff --git a/.github/FUNDING.yml b/.forgejo/FUNDING.yml similarity index 100% rename from .github/FUNDING.yml rename to .forgejo/FUNDING.yml diff --git a/.github/ISSUE_TEMPLATE/01_bug-report.yml b/.forgejo/ISSUE_TEMPLATE/01_bug-report.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/01_bug-report.yml rename to .forgejo/ISSUE_TEMPLATE/01_bug-report.yml diff --git a/.github/ISSUE_TEMPLATE/02_feature-request.yml b/.forgejo/ISSUE_TEMPLATE/02_feature-request.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/02_feature-request.yml rename to .forgejo/ISSUE_TEMPLATE/02_feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.forgejo/ISSUE_TEMPLATE/config.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/config.yml rename to .forgejo/ISSUE_TEMPLATE/config.yml diff --git a/.github/PULL_REQUEST_TEMPLATE/01_bug.md b/.forgejo/PULL_REQUEST_TEMPLATE/01_bug.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/01_bug.md rename to .forgejo/PULL_REQUEST_TEMPLATE/01_bug.md diff --git a/.github/PULL_REQUEST_TEMPLATE/02_enhance.md b/.forgejo/PULL_REQUEST_TEMPLATE/02_enhance.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/02_enhance.md rename to .forgejo/PULL_REQUEST_TEMPLATE/02_enhance.md diff --git a/.github/PULL_REQUEST_TEMPLATE/03_release.md b/.forgejo/PULL_REQUEST_TEMPLATE/03_release.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/03_release.md rename to .forgejo/PULL_REQUEST_TEMPLATE/03_release.md diff --git a/.github/dependabot.yml b/.forgejo/dependabot.yml similarity index 100% rename from .github/dependabot.yml rename to .forgejo/dependabot.yml diff --git a/.github/labeler.yml b/.forgejo/labeler.yml similarity index 100% rename from .github/labeler.yml rename to .forgejo/labeler.yml diff --git a/.github/misskey/test.yml b/.forgejo/misskey/test.yml similarity index 100% rename from .github/misskey/test.yml rename to .forgejo/misskey/test.yml diff --git a/.github/pull_request_template.md b/.forgejo/pull_request_template.md similarity index 100% rename from .github/pull_request_template.md rename to .forgejo/pull_request_template.md diff --git a/.github/workflows/api-misskey-js.yml b/.forgejo/workflows/api-misskey-js.yml similarity index 100% rename from .github/workflows/api-misskey-js.yml rename to .forgejo/workflows/api-misskey-js.yml diff --git a/.github/workflows/check-misskey-js-version.yml b/.forgejo/workflows/check-misskey-js-version.yml similarity index 100% rename from .github/workflows/check-misskey-js-version.yml rename to .forgejo/workflows/check-misskey-js-version.yml diff --git a/.github/workflows/lint.yml b/.forgejo/workflows/lint.yml similarity index 100% rename from .github/workflows/lint.yml rename to .forgejo/workflows/lint.yml diff --git a/.github/workflows/test-backend.yml b/.forgejo/workflows/test-backend.yml similarity index 96% rename from .github/workflows/test-backend.yml rename to .forgejo/workflows/test-backend.yml index 842d5d289..0f38bdf06 100644 --- a/.github/workflows/test-backend.yml +++ b/.forgejo/workflows/test-backend.yml @@ -65,7 +65,7 @@ jobs: - name: Check pnpm-lock.yaml run: git diff --exit-code pnpm-lock.yaml - name: Copy Configure - run: cp .github/misskey/test.yml .config + run: cp .forgejo/misskey/test.yml .config - name: Build run: pnpm build - name: Test @@ -119,7 +119,7 @@ jobs: - name: Check pnpm-lock.yaml run: git diff --exit-code pnpm-lock.yaml - name: Copy Configure - run: cp .github/misskey/test.yml .config + run: cp .forgejo/misskey/test.yml .config - name: Build run: pnpm build - name: Test diff --git a/.github/workflows/test-frontend.yml b/.forgejo/workflows/test-frontend.yml similarity index 95% rename from .github/workflows/test-frontend.yml rename to .forgejo/workflows/test-frontend.yml index 5e8dad486..4533cceb7 100644 --- a/.github/workflows/test-frontend.yml +++ b/.forgejo/workflows/test-frontend.yml @@ -47,7 +47,7 @@ jobs: - name: Check pnpm-lock.yaml run: git diff --exit-code pnpm-lock.yaml - name: Copy Configure - run: cp .github/misskey/test.yml .config + run: cp .forgejo/misskey/test.yml .config - name: Build run: pnpm build - name: Test diff --git a/.github/workflows/test-misskey-js.yml b/.forgejo/workflows/test-misskey-js.yml similarity index 100% rename from .github/workflows/test-misskey-js.yml rename to .forgejo/workflows/test-misskey-js.yml diff --git a/.github/workflows/test-production.yml b/.forgejo/workflows/test-production.yml similarity index 92% rename from .github/workflows/test-production.yml rename to .forgejo/workflows/test-production.yml index 0debef5f6..36eede611 100644 --- a/.github/workflows/test-production.yml +++ b/.forgejo/workflows/test-production.yml @@ -35,6 +35,6 @@ jobs: - 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 + run: cp .forgejo/misskey/test.yml .config/default.yml - name: Build run: pnpm build diff --git a/.github/workflows/validate-api-json.yml b/.forgejo/workflows/validate-api-json.yml similarity index 100% rename from .github/workflows/validate-api-json.yml rename to .forgejo/workflows/validate-api-json.yml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dcb625626..87e8b407a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -161,7 +161,7 @@ pnpm dev ### Run test Create a config file. ``` -cp .github/misskey/test.yml .config/ +cp .forgejo/misskey/test.yml .config/ ``` Prepare DB/Redis for testing. ``` @@ -188,8 +188,8 @@ TODO - `MISSKEY_WEBFINGER_USE_HTTP`: If it's set true, WebFinger requests will be http instead of https, useful for testing federation between servers in localhost. NEVER USE IN PRODUCTION. ## Continuous integration -Misskey uses GitHub Actions for executing automated tests. -Configuration files are located in [`/.github/workflows`](/.github/workflows). +Misskey uses Forgejo Actions for executing automated tests. +Configuration files are located in [`/.forgejo/workflows`](/.forgejo/workflows). ## Vue Misskey uses Vue(v3) as its front-end framework. From b2fd3d1916e128d7e383cf00e2686f829e3138d6 Mon Sep 17 00:00:00 2001 From: Leah Date: Tue, 14 Jan 2025 21:22:57 +0100 Subject: [PATCH 03/23] rebrand to forkey --- CONTRIBUTING.md | 2 +- Dockerfile | 38 ++++---- README.md | 4 +- chart/templates/Deployment.yml | 6 +- docker-compose_example.yml | 4 +- healthcheck.sh | 2 +- locales/ca-ES.yml | 8 +- locales/cs-CZ.yml | 8 +- locales/de-DE.yml | 10 +-- locales/en-US.yml | 17 ++-- locales/es-ES.yml | 8 +- locales/fr-FR.yml | 8 +- locales/id-ID.yml | 8 +- locales/index.d.ts | 30 +++++-- locales/it-IT.yml | 8 +- locales/ja-JP.yml | 19 ++-- locales/ja-KS.yml | 8 +- locales/ko-GS.yml | 2 +- locales/ko-KR.yml | 8 +- locales/no-NO.yml | 2 +- locales/pt-PT.yml | 2 +- locales/ru-RU.yml | 8 +- locales/sv-SE.yml | 2 +- locales/th-TH.yml | 8 +- locales/uk-UA.yml | 8 +- locales/vi-VN.yml | 8 +- locales/zh-CN.yml | 8 +- locales/zh-TW.yml | 4 +- package.json | 4 +- packages/backend/assets/redoc.html | 2 +- packages/backend/src/boot/entry.ts | 2 +- packages/backend/src/boot/master.ts | 23 ++--- packages/backend/src/models/Meta.ts | 4 +- .../models/json-schema/federation-instance.ts | 2 +- .../backend/src/models/json-schema/hashtag.ts | 2 +- .../src/server/NodeinfoServerService.ts | 2 +- .../src/server/api/openapi/gen-spec.ts | 4 +- .../src/server/web/ClientServerService.ts | 4 +- .../backend/src/server/web/FeedService.ts | 2 +- .../backend/src/server/web/views/base.pug | 4 +- packages/backend/test/e2e/nodeinfo.ts | 4 +- .../frontend/src/components/MkPostForm.vue | 2 +- .../components/MkSourceCodeAvailablePopup.vue | 2 +- .../frontend/src/components/MkTimeline.vue | 2 +- .../src/components/MkVisitorDashboard.vue | 2 +- .../{about-misskey.vue => about-forkey.vue} | 90 ++++++++++++------- packages/frontend/src/pages/about.vue | 25 +----- packages/frontend/src/router/definition.ts | 4 +- packages/frontend/src/ui/_common_/common.ts | 2 +- packages/frontend/src/ui/visitor.vue | 2 +- .../sw/src/scripts/create-notification.ts | 2 +- 51 files changed, 240 insertions(+), 200 deletions(-) rename packages/frontend/src/pages/{about-misskey.vue => about-forkey.vue} (81%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dcb625626..f3a7d13c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ # Contribution guide -We're glad you're interested in contributing Misskey! In this document you will find the information you need to contribute to the project. +We're glad you're interested in contributing Fork! In this document you will find the information you need to contribute to the project. > **Note** > This project uses Japanese as its major language, **but you do not need to translate and write the Issues/PRs in Japanese.** diff --git a/Dockerfile b/Dockerfile index 3d91b9f8c..12b70a89c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ && apt-get install -yqq --no-install-recommends \ build-essential -WORKDIR /misskey +WORKDIR /forkey COPY --link pnpm-lock.yaml ./ RUN npm install -g pnpm @@ -45,7 +45,7 @@ RUN apt-get update \ && apt-get install -yqq --no-install-recommends \ build-essential -WORKDIR /misskey +WORKDIR /forkey COPY --link pnpm-lock.yaml ./ RUN npm install -g pnpm @@ -71,8 +71,8 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends \ curl ffmpeg libjemalloc-dev libjemalloc2 tini \ && ln -s /usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so \ - && groupadd -g "${GID}" misskey \ - && useradd -l -u "${UID}" -g "${GID}" -m -d /misskey misskey \ + && groupadd -g "${GID}" forkey \ + && useradd -l -u "${UID}" -g "${GID}" -m -d /forkey forkey \ && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -ignore_readdir_race -exec chmod u-s {} \; \ && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -ignore_readdir_race -exec chmod g-s {} \; \ && apt-get clean \ @@ -80,27 +80,27 @@ RUN apt-get update \ WORKDIR /misskey -COPY --chown=misskey:misskey pnpm-lock.yaml ./ +COPY --chown=forkey:forkey pnpm-lock.yaml ./ RUN npm install -g pnpm -COPY --chown=misskey:misskey --from=target-builder /misskey/node_modules ./node_modules -COPY --chown=misskey:misskey --from=target-builder /misskey/packages/backend/node_modules ./packages/backend/node_modules -COPY --chown=misskey:misskey --from=target-builder /misskey/packages/misskey-js/node_modules ./packages/misskey-js/node_modules -COPY --chown=misskey:misskey --from=target-builder /misskey/packages/misskey-reversi/node_modules ./packages/misskey-reversi/node_modules -COPY --chown=misskey:misskey --from=target-builder /misskey/packages/misskey-bubble-game/node_modules ./packages/misskey-bubble-game/node_modules -COPY --chown=misskey:misskey --from=native-builder /misskey/built ./built -COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-js/built ./packages/misskey-js/built -COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-reversi/built ./packages/misskey-reversi/built -COPY --chown=misskey:misskey --from=native-builder /misskey/packages/misskey-bubble-game/built ./packages/misskey-bubble-game/built -COPY --chown=misskey:misskey --from=native-builder /misskey/packages/backend/built ./packages/backend/built -COPY --chown=misskey:misskey --from=native-builder /misskey/fluent-emojis /misskey/fluent-emojis -COPY --chown=misskey:misskey . ./ +COPY --chown=forkey:forkey --from=target-builder /forkey/node_modules ./node_modules +COPY --chown=forkey:forkey --from=target-builder /forkey/packages/backend/node_modules ./packages/backend/node_modules +COPY --chown=forkey:forkey --from=target-builder /forkey/packages/misskey-js/node_modules ./packages/misskey-js/node_modules +COPY --chown=forkey:forkey --from=target-builder /forkey/packages/misskey-reversi/node_modules ./packages/misskey-reversi/node_modules +COPY --chown=forkey:forkey --from=target-builder /forkey/packages/misskey-bubble-game/node_modules ./packages/misskey-bubble-game/node_modules +COPY --chown=forkey:forkey --from=native-builder /forkey/built ./built +COPY --chown=forkey:forkey --from=native-builder /forkey/packages/misskey-js/built ./packages/misskey-js/built +COPY --chown=forkey:forkey --from=native-builder /forkey/packages/misskey-reversi/built ./packages/misskey-reversi/built +COPY --chown=forkey:forkey --from=native-builder /forkey/packages/misskey-bubble-game/built ./packages/misskey-bubble-game/built +COPY --chown=forkey:forkey --from=native-builder /forkey/packages/backend/built ./packages/backend/built +COPY --chown=forkey:forkey --from=native-builder /forkey/fluent-emojis /forkey/fluent-emojis +COPY --chown=forkey:forkey . ./ -USER misskey +USER forkey ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so ENV MALLOC_CONF=background_thread:true,metadata_thp:auto,dirty_decay_ms:30000,muzzy_decay_ms:30000 ENV TF_CPP_MIN_LOG_LEVEL=2 ENV NODE_ENV=production -HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/misskey/healthcheck.sh"] +HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/forkey/healthcheck.sh"] ENTRYPOINT ["/usr/bin/tini", "--"] CMD ["pnpm", "run", "migrateandstart:docker"] diff --git a/README.md b/README.md index c2a28371a..4035565d7 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@
- Misskey logo + Forkey logo -**🌎 **Misskey** is an open source, federated social media platform that's free forever! 🚀** +**🌎 **Forkey** is an open source, federated social media platform that's free forever! 🚀** [Learn more](https://misskey-hub.net/) diff --git a/chart/templates/Deployment.yml b/chart/templates/Deployment.yml index 2d3c89e67..b30951360 100644 --- a/chart/templates/Deployment.yml +++ b/chart/templates/Deployment.yml @@ -30,11 +30,11 @@ spec: image: postgres:15-alpine env: - name: POSTGRES_USER - value: "example-misskey-user" + value: "example-forkey-user" - name: POSTGRES_PASSWORD - value: "example-misskey-pass" + value: "example-forkey-pass" - name: POSTGRES_DB - value: "misskey" + value: "forkey" ports: - containerPort: 5432 - name: dragonfly diff --git a/docker-compose_example.yml b/docker-compose_example.yml index 379bc3d77..fda5bcf42 100644 --- a/docker-compose_example.yml +++ b/docker-compose_example.yml @@ -20,8 +20,8 @@ services: - internal_network - external_network volumes: - - ./files:/misskey/files - - ./.config:/misskey/.config:ro + - ./files:/forkey/files + - ./.config:/forkey/.config:ro dragonfly: restart: always diff --git a/healthcheck.sh b/healthcheck.sh index d6d416c7a..a3ff3d87e 100644 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -3,5 +3,5 @@ # SPDX-FileCopyrightText: syuilo and misskey-project # SPDX-License-Identifier: AGPL-3.0-only -PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}') +PORT=$(grep '^port:' /forkey/.config/default.yml | awk 'NR==1{print $2; exit}') curl -s -S -o /dev/null "http://localhost:${PORT}" diff --git a/locales/ca-ES.yml b/locales/ca-ES.yml index 447c44494..e25cd3324 100644 --- a/locales/ca-ES.yml +++ b/locales/ca-ES.yml @@ -1458,7 +1458,7 @@ _achievements: _login1000: title: "Mestre de les Notes III" description: "Vas iniciar sessió fa mil dies" - flavor: "Gràcies per fer servir MissKey!" + flavor: "Gràcies per fer servir Forkey!" _noteClipped1: title: "He de retallar-te!" description: "Retalla la teva primera nota" @@ -1518,9 +1518,9 @@ _achievements: title: "M'agraden els èxits " description: "Mira la teva llista d'assoliments durant més de 3 minuts" _iLoveMisskey: - title: "Estimo Misskey" - description: "Publica \"I ❤ #Misskey\"" - flavor: "L'equip de desenvolupament de Misskey agraeix el vostre suport!" + title: "Estimo Forkey" + description: "Publica \"I ❤ #Forkey\"" + flavor: "L'equip de desenvolupament de Forkey agraeix el vostre suport!" _foundTreasure: title: "A la Recerca del Tresor" description: "Has trobat el tresor amagat" diff --git a/locales/cs-CZ.yml b/locales/cs-CZ.yml index 993e06fd9..5eaa278c3 100644 --- a/locales/cs-CZ.yml +++ b/locales/cs-CZ.yml @@ -1235,7 +1235,7 @@ _achievements: _login1000: title: "Mistr poznámek III" description: "Přihlaste se celkově za 1000 dní" - flavor: "Děkujeme, že používáte Misskey!" + flavor: "Děkujeme, že používáte Forkey!" _noteClipped1: title: "Musím... připnout..." description: "Připněte si první poznámku" @@ -1295,9 +1295,9 @@ _achievements: title: "Máš rád úspěchy" description: "Koukejte na váš seznam úspěchů alespoň po dobu 3 minut" _iLoveMisskey: - title: "Miluju Misskey" - description: "Zveřejněte \" I ❤ #Misskey\"" - flavor: "Vývojový tým Misskey si velmi váží vaší podpory!" + title: "Miluju Forkey" + description: "Zveřejněte \" I ❤ #Forkey\"" + flavor: "Vývojový tým Forkey si velmi váží vaší podpory!" _foundTreasure: title: "Hon za pokladem" description: "Našli jste schovaný poklad!" diff --git a/locales/de-DE.yml b/locales/de-DE.yml index f2d0ad178..e7538d726 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -166,7 +166,7 @@ youCanCleanRemoteFilesCache: "Klicke auf den 🗑️-Knopf der Dateiverwaltungsa cacheRemoteSensitiveFiles: "Sensitive Dateien von fremden Instanzen im Cache speichern" cacheRemoteSensitiveFilesDescription: "Ist diese Einstellung deaktiviert, so werden sensitive Dateien fremder Instanzen direkt von dort ohne Zwischenspeicherung geladen." flagAsBot: "Als Bot markieren" -flagAsBotDescription: "Aktiviere diese Option, falls dieses Benutzerkonto durch ein Programm gesteuert wird. Falls aktiviert, agiert es als Flag für andere Entwickler zur Verhinderung von endlosen Kettenreaktionen mit anderen Bots und lässt Misskeys interne Systeme dieses Benutzerkonto als Bot behandeln." +flagAsBotDescription: "Aktiviere diese Option, falls dieses Benutzerkonto durch ein Programm gesteuert wird. Falls aktiviert, agiert es als Flag für andere Entwickler zur Verhinderung von endlosen Kettenreaktionen mit anderen Bots und lässt forkeys interne Systeme dieses Benutzerkonto als Bot behandeln." flagAsCat: "Als Katze markieren" flagAsCatDescription: "Aktiviere diese Option, um dieses Benutzerkonto als Katze zu markieren." flagShowTimelineReplies: "Antworten in der Chronik anzeigen" @@ -1374,7 +1374,7 @@ _achievements: _login1000: title: "Meister der Notizen Ⅲ" description: "An 1000 Tagen eingeloggt" - flavor: "Danke, dass du Misskey nutzt!" + flavor: "Danke, dass du Forkey nutzt!" _noteClipped1: title: "Muss... clippen..." description: "Die erste Notiz geclippt" @@ -1434,9 +1434,9 @@ _achievements: title: "Fan von Errungenschaften" description: "Schau dir die Liste deiner Errungenschaften für mindestens 3 Minuten an" _iLoveMisskey: - title: "I Love Misskey" - description: "Sende \"I ❤ #Misskey\"" - flavor: "Danke, dass du Misskey verwendest! - vom Entwicklerteam" + title: "I Love Forkey" + description: "Sende \"I ❤ #Forkey\"" + flavor: "Danke, dass du Forkey verwendest! - vom Entwicklerteam" _foundTreasure: title: "Schatzsuche" description: "Du hast einen verborgenen Schatz gefunden" diff --git a/locales/en-US.yml b/locales/en-US.yml index 0503d5b58..0d8667d78 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -437,6 +437,7 @@ popularTags: "Popular tags" userList: "Lists" about: "About" aboutMisskey: "About Misskey" +aboutForkey: "About Forkey" administrator: "Administrator" token: "Token" 2fa: "Two-factor authentication" @@ -1608,7 +1609,7 @@ _achievements: _login1000: title: "Master of Notes III" description: "Log in for a total of 1,000 days" - flavor: "Thank you for using Misskey!" + flavor: "Thank you for using Forkey!" _noteClipped1: title: "Must... clip..." description: "Clip your first note" @@ -1668,9 +1669,9 @@ _achievements: title: "Likes Achievements" description: "Look at your list of achievements for at least 3 minutes" _iLoveMisskey: - title: "I Love Misskey" - description: "Post \"I ❤ #Misskey\"" - flavor: "Misskey's development team greatly appreciates your support!" + title: "I Love Forkey" + description: "Post \"I ❤ #Forkey\"" + flavor: "Forkey's development team greatly appreciates your support!" _foundTreasure: title: "Treasure Hunt" description: "You've found the hidden treasure" @@ -1947,13 +1948,17 @@ _aboutMisskey: contributors: "Main contributors" allContributors: "All contributors" source: "Source code" - original: "Original" + original: "Misskey Original" thisIsModifiedVersion: "{name} uses a modified version of the original Misskey." translation: "Translate Misskey" donate: "Donate to Misskey" morePatrons: "We also appreciate the support of many other helpers not listed here. Thank you! 🥰" patrons: "Patrons" - projectMembers: "Project members" + projectMembers: "Misskey Project members" +_aboutForkey: + about: "Forkey is open-source software based on Misskey which has been in development by syuilo since 2014." + original: "Forkey Original" + projectMembers: "Forkey Project Members" _displayOfSensitiveMedia: respect: "Hide media marked as sensitive" ignore: "Display media marked as sensitive" diff --git a/locales/es-ES.yml b/locales/es-ES.yml index ca2202b76..1c250de8a 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -1476,7 +1476,7 @@ _achievements: _login1000: title: "Maestro III" description: "Días desde el inicio de sesión: 1000" - flavor: "¡Gracias por usar Misskey!" + flavor: "¡Gracias por usar Forkey!" _noteClipped1: title: "No puedo evitar clipearte..." description: "Hacer un clip por primera vez" @@ -1536,9 +1536,9 @@ _achievements: title: "¡Te gustan los logros!" description: "Mirando tus logros por 3 minutos" _iLoveMisskey: - title: "¡AMO Misskey!" - description: "\"I ❤ #Misskey\" Publicado" - flavor: "El equipo de desarrollo de Misskey, en verdad, ¡aprecia tu apoyo!" + title: "¡AMO Forkey!" + description: "\"I ❤ #Forkey\" Publicado" + flavor: "El equipo de desarrollo de Forkey, en verdad, ¡aprecia tu apoyo!" _foundTreasure: title: "Búsqueda del tesoro" description: "Encontraste un tesoro" diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index d20fc7682..835466efe 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -1393,7 +1393,7 @@ _achievements: _login900: description: "Se connecter pour un total de 900 jours" _login1000: - flavor: "Merci d'utiliser Misskey !" + flavor: "Merci d'utiliser Forkey !" _profileFilled: title: "Bien préparé" description: "Configuration de votre profil" @@ -1429,9 +1429,9 @@ _achievements: title: "Influenceur·euse" description: "Obtenir plus de 1000 abonné·e·s" _iLoveMisskey: - title: "J’adore Misskey" - description: "Publication « J’❤ #Misskey »" - flavor: "L'équipe de développement de Misskey apprécie vraiment votre aide !" + title: "J’adore Forkey" + description: "Publication « J’❤ #Forkey »" + flavor: "L'équipe de développement de Forkey apprécie vraiment votre aide !" _foundTreasure: title: "Chasse au trésor" description: "Vous avez trouvé le trésor caché" diff --git a/locales/id-ID.yml b/locales/id-ID.yml index ac7128b51..2ba4fc879 100644 --- a/locales/id-ID.yml +++ b/locales/id-ID.yml @@ -1478,7 +1478,7 @@ _achievements: _login1000: title: "Sepuh Catatan III" description: "Login selama 1000 hari" - flavor: "Terima kasih telah menggunakan Misskey!" + flavor: "Terima kasih telah menggunakan Forkey!" _noteClipped1: title: "Harus... Ngeklip..." description: "Klip catatan pertamamu" @@ -1538,9 +1538,9 @@ _achievements: title: "Suka Pencapaian" description: "Lugat daftar pencapaianmu setidaknya 3 menit" _iLoveMisskey: - title: "I Love Misskey" - description: "Catat \"I ❤ #Misskey\"" - flavor: "Tim pengembang misskey sangat mengapresiasi dukungan kamu!" + title: "I Love Forkey" + description: "Catat \"I ❤ #Forkey\"" + flavor: "Tim pengembang forkey sangat mengapresiasi dukungan kamu!" _foundTreasure: title: "Berburu Harta Karun" description: "Kamu telah menemukan harta karun tersembunyi" diff --git a/locales/index.d.ts b/locales/index.d.ts index dc56ba98a..a556b25bb 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1772,6 +1772,10 @@ export interface Locale extends ILocale { * Misskeyについて */ "aboutMisskey": string; + /** + * Forkeyについて + */ + "aboutForkey": string; /** * 管理者 */ @@ -6365,7 +6369,7 @@ export interface Locale extends ILocale { */ "description": string; /** - * Misskeyを使ってくれてありがとう! + * Forkeyを使ってくれてありがとう! */ "flavor": string; }; @@ -6565,15 +6569,15 @@ export interface Locale extends ILocale { }; "_iLoveMisskey": { /** - * I Love Misskey + * I Love Forkey */ "title": string; /** - * "I ❤ #Misskey"を投稿した + * "I ❤ #Forkey"を投稿した */ "description": string; /** - * Misskeyを使ってくださりありがとうございます! by 開発チーム + * Forkeyを使ってくださりありがとうございます! by 開発チーム */ "flavor": string; }; @@ -7593,7 +7597,7 @@ export interface Locale extends ILocale { */ "source": string; /** - * オリジナル + * Misskeyオリジナル */ "original": string; /** @@ -7617,7 +7621,21 @@ export interface Locale extends ILocale { */ "patrons": string; /** - * プロジェクトメンバー + * Misskeyプロジェクトメンバー + */ + "projectMembers": string; + }; + "_aboutForkey": { + /** + * Forkey は、2014 年から syuilo によって開発されている Misskey をベースにしたオープンソース ソフトウェアです。 + */ + "about": string; + /** + * Forkeyに寄付 + */ + "original": string; + /** + * Forkeyプロジェクトメンバー */ "projectMembers": string; }; diff --git a/locales/it-IT.yml b/locales/it-IT.yml index 4590ec1a5..9fe80e787 100644 --- a/locales/it-IT.yml +++ b/locales/it-IT.yml @@ -1476,7 +1476,7 @@ _achievements: _login1000: title: "Maestro di Note III livello" description: "Hai totalizzato 1000 accessi!" - flavor: "Grazie per aver usato Misskey!" + flavor: "Grazie per aver usato Forkey!" _noteClipped1: title: "Devo clippare!" description: "Hai raccolto la tua prima Nota in una Clip" @@ -1536,9 +1536,9 @@ _achievements: title: "Mi piacciono i risultati" description: "Guarda la tua collezione di obiettivi per almeno 3 minuti" _iLoveMisskey: - title: "I LOVE Misskey" - description: "Pubblica «I ♥ #Misskey»" - flavor: "Grazie per aver utilizzato Misskey! Dal team di sviluppo" + title: "I LOVE Forkey" + description: "Pubblica «I ♥ #Forkey»" + flavor: "Grazie per aver utilizzato Forkey! Dal team di sviluppo" _foundTreasure: title: "Caccia al tesoro" description: "Hai trovato un tesoro nascosto" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 4af35892b..41c17f515 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -439,6 +439,7 @@ popularTags: "人気のタグ" userList: "リスト" about: "情報" aboutMisskey: "Misskeyについて" +aboutForkey: "Forkeyについて" administrator: "管理者" token: "確認コード" 2fa: "二要素認証" @@ -1619,7 +1620,7 @@ _achievements: _login1000: title: "ノートマスターⅢ" description: "通算ログイン日数が1,000日" - flavor: "Misskeyを使ってくれてありがとう!" + flavor: "Forkeyを使ってくれてありがとう!" _noteClipped1: title: "クリップせずにはいられないな" description: "初めてノートをクリップした" @@ -1679,9 +1680,9 @@ _achievements: title: "実績好き" description: "実績一覧を3分以上眺め続けた" _iLoveMisskey: - title: "I Love Misskey" - description: "\"I ❤ #Misskey\"を投稿した" - flavor: "Misskeyを使ってくださりありがとうございます! by 開発チーム" + title: "I Love Forkey" + description: "\"I ❤ #Forkey\"を投稿した" + flavor: "Forkeyを使ってくださりありがとうございます! by 開発チーム" _foundTreasure: title: "宝探し" description: "隠されたお宝を発見した" @@ -1972,13 +1973,19 @@ _aboutMisskey: contributors: "コントリビューター" allContributors: "全てのコントリビューター" source: "ソースコード" - original: "オリジナル" + original: "Misskeyオリジナル" thisIsModifiedVersion: "{name}はオリジナルのMisskeyを改変したバージョンを使用しています。" translation: "Misskeyを翻訳" donate: "Misskeyに寄付" morePatrons: "他にも多くの方が支援してくれています。ありがとうございます🥰" patrons: "支援者" - projectMembers: "プロジェクトメンバー" + projectMembers: "Misskeyプロジェクトメンバー" + +_aboutForkey: + about: "Forkey は、2014 年から syuilo によって開発されている Misskey をベースにしたオープンソース ソフトウェアです。" + original: "Forkeyに寄付" + projectMembers: "Forkeyプロジェクトメンバー" + _displayOfSensitiveMedia: respect: "センシティブ設定されたメディアを隠す" diff --git a/locales/ja-KS.yml b/locales/ja-KS.yml index 06bd3e27a..b4380ee11 100644 --- a/locales/ja-KS.yml +++ b/locales/ja-KS.yml @@ -1478,7 +1478,7 @@ _achievements: _login1000: title: "ノートマイスターⅢ" description: "通算1,000日ログインした" - flavor: "Misskeyようさん使てもろておおきにな!" + flavor: "Forkeyようさん使てもろておおきにな!" _noteClipped1: title: "アカンどれもクリップしたいわ" description: "初めてノートをクリップした" @@ -1538,9 +1538,9 @@ _achievements: title: "実績好き" description: "実績一覧を3分以上眺め続けた" _iLoveMisskey: - title: "Misskey好きやねん" - description: "\"I ❤ #Misskey\"を投稿した" - flavor: "Misskeyを使ってくれておおきにな~ by 開発チーム" + title: "Forkey好きやねん" + description: "\"I ❤ #Forkey\"を投稿した" + flavor: "Forkeyを使ってくれておおきにな~ by 開発チーム" _foundTreasure: title: "なんでも鑑定団" description: "隠されたお宝を発見した" diff --git a/locales/ko-GS.yml b/locales/ko-GS.yml index c80a4d399..b8aed315d 100644 --- a/locales/ko-GS.yml +++ b/locales/ko-GS.yml @@ -700,7 +700,7 @@ _achievements: _myNoteFavorited1: description: "다런 사람이 내 노트럴 질겨찾기에 담앗십니다" _iLoveMisskey: - description: "“I ❤ #Misskey”럴 섰어예" + description: "“I ❤ #Forkey”럴 섰어예" _postedAt0min0sec: description: "0분 0초에 노트를 섰어예" _tutorialCompleted: diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index b25f4ec78..962634026 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -1590,7 +1590,7 @@ _achievements: _login1000: title: "노트 마스터 III" description: "총 1,000일간 로그인했습니다" - flavor: "Misskey를 사용해 주셔서 감사합니다!" + flavor: "Forkey를 사용해 주셔서 감사합니다!" _noteClipped1: title: "클립할 수밖에 없었어" description: "처음으로 노트를 클립했습니다" @@ -1650,9 +1650,9 @@ _achievements: title: "저 도전과제 좋아해요" description: "도전 과제 목록을 3분 이상 쳐다봤습니다" _iLoveMisskey: - title: "I Love Misskey" - description: "\"I ❤ #Misskey\"를 포스트했습니다" - flavor: "Misskey를 이용해 주셔서 감사합니다! ― 개발 팀" + title: "I Love Forkey" + description: "\"I ❤ #Forkey\"를 포스트했습니다" + flavor: "Forkey를 이용해 주셔서 감사합니다! ― 개발 팀" _foundTreasure: title: "보물찾기" description: "숨겨진 보물을 발견했습니다" diff --git a/locales/no-NO.yml b/locales/no-NO.yml index 475f93267..d61149416 100644 --- a/locales/no-NO.yml +++ b/locales/no-NO.yml @@ -127,7 +127,7 @@ emojis: "Emojier" addEmoji: "Legg til emoji" settingGuide: "Anbefalte innstillinger" flagAsBot: "Merk denne kontoen som en bot" -flagAsBotDescription: "Aktiver dette alternativet hvis denne kontoen styres av et program. Hvis det er aktivert, vil det fungere som et flagg for andre utviklere for å forhindre endeløse interaksjonskjeder med andre roboter og justere Misskeys interne systemer til å behandle denne kontoen som en bot." +flagAsBotDescription: "Aktiver dette alternativet hvis denne kontoen styres av et program. Hvis det er aktivert, vil det fungere som et flagg for andre utviklere for å forhindre endeløse interaksjonskjeder med andre roboter og justere forkeys interne systemer til å behandle denne kontoen som en bot." flagAsCat: "Merk denne kontoen som en katt" flagAsCatDescription: "Aktiver dette alternativet for å merke denne kontoen som en katt." flagShowTimelineReplies: "Vis svar i tidslinje" diff --git a/locales/pt-PT.yml b/locales/pt-PT.yml index 2cd62f1f9..e9e2c5dee 100644 --- a/locales/pt-PT.yml +++ b/locales/pt-PT.yml @@ -1125,7 +1125,7 @@ _achievements: _login1000: title: "Mestre das notas III" description: "Fez login por um total de 1000 dias" - flavor: "Obrigado por utilizar o Misskey!" + flavor: "Obrigado por utilizar o Forkey!" _noteClipped1: title: "Não posso deixar de adicionar ao clipe" description: "Adicionou a um clipe a sua primeira nota" diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml index 074a1ab95..6fcd3d161 100644 --- a/locales/ru-RU.yml +++ b/locales/ru-RU.yml @@ -1219,7 +1219,7 @@ _achievements: _login1000: title: "Повелитель заметок Ⅲ" description: "1000 дней на сайте" - flavor: "Спасибо, что пользуетесь Misskey!" + flavor: "Спасибо, что пользуетесь Forkey!" _noteClipped1: title: "Нельзя не сохранить" description: "Первая заметка в подборке" @@ -1279,9 +1279,9 @@ _achievements: title: "Любовь к успехам" description: "Более 3 минут любования достижениями" _iLoveMisskey: - title: "Я люблю Misskey" - description: "Написана заметка «I ❤ #Misskey»" - flavor: "Спасибо за поддержку Misskey! Ваша команда разработчиков" + title: "Я люблю Forkey" + description: "Написана заметка «I ❤ #Forkey»" + flavor: "Спасибо за поддержку Forkey! Ваша команда разработчиков" _foundTreasure: title: "Охота за сокровищами" description: "Найдено спрятанное сокровище" diff --git a/locales/sv-SE.yml b/locales/sv-SE.yml index 83c9278ab..7b22a9faa 100644 --- a/locales/sv-SE.yml +++ b/locales/sv-SE.yml @@ -152,7 +152,7 @@ settingGuide: "Rekommenderade inställningar" cacheRemoteFiles: "Spara externa filer till cachen" cacheRemoteFilesDescription: "När denna inställning är avstängd kommer externa filer laddas direkt från den externa instansen. Genom att stänga av detta kommer lagringsutrymme minska i användning men kommer öka datatrafiken eftersom miniatyrer inte kommer genereras." flagAsBot: "Markera konto som bot" -flagAsBotDescription: "Aktivera det här alternativet om kontot är kontrollerat av ett program. Om aktiverat kommer den fungera som en flagga för andra utvecklare för att hindra ändlösa kedjor med andra bottar. Det kommer också få Misskeys interna system att hantera kontot som en bot." +flagAsBotDescription: "Aktivera det här alternativet om kontot är kontrollerat av ett program. Om aktiverat kommer den fungera som en flagga för andra utvecklare för att hindra ändlösa kedjor med andra bottar. Det kommer också få forkeys interna system att hantera kontot som en bot." flagAsCat: "Markera konto som katt" flagAsCatDescription: "Aktivera denna inställning för att markera kontot som en katt." flagShowTimelineReplies: "Visa svar i tidslinje" diff --git a/locales/th-TH.yml b/locales/th-TH.yml index 0ecafb94e..5bf8b5c8e 100644 --- a/locales/th-TH.yml +++ b/locales/th-TH.yml @@ -1478,7 +1478,7 @@ _achievements: _login1000: title: "ปรมาจารย์ด้านโน้ต III" description: "เข้าสู่ระบบเป็นเวลารวม 1,000 วัน" - flavor: "ขอบคุณที่ใช้ Misskey นะ !" + flavor: "ขอบคุณที่ใช้ Forkey นะ !" _noteClipped1: title: "อดไม่ได้ที่จะต้องคลิปมันเอาไว้" description: "คลิปโน้ตตัวแรกของคุณ" @@ -1538,9 +1538,9 @@ _achievements: title: "ชอบบรรลุความสําเร็จ" description: "มองดูรายการความสำเร็จของคุณเป็นเวลาอย่างน้อย 3 นาที" _iLoveMisskey: - title: "ฉันรัก Misskey" - description: "โพสต์ “I ❤ #Misskey”" - flavor: "ขอบคุณพระคุณเป็นอย่างสูงที่ท่านใช้ Misskey นะคะ ! by ทีมผู้พัฒนา" + title: "ฉันรัก Forkey" + description: "โพสต์ “I ❤ #Forkey”" + flavor: "ขอบคุณพระคุณเป็นอย่างสูงที่ท่านใช้ Forkey นะคะ ! by ทีมผู้พัฒนา" _foundTreasure: title: "ล่าสมบัติ" description: "คุณพบสมบัติที่ซ่อนอยู่" diff --git a/locales/uk-UA.yml b/locales/uk-UA.yml index 02b6543cf..87dc79dff 100644 --- a/locales/uk-UA.yml +++ b/locales/uk-UA.yml @@ -1017,7 +1017,7 @@ _achievements: _login1000: title: "Майстер нотаток III" description: "1000 днів користування загально" - flavor: "Дякуємо, що користуєтеся Misskey!" + flavor: "Дякуємо, що користуєтеся Forkey!" _noteClipped1: title: "Не можна не зберегти" description: "Перша нотатка у добірці" @@ -1072,9 +1072,9 @@ _achievements: title: "Шанувальник досягнень" description: "Переглядати список досягнень принаймні 3 хвилини" _iLoveMisskey: - title: "I Love Misskey" - description: "Відправлено \"I ❤ #Misskey\"" - flavor: "Дякуємо вам, що користуєтесь Misskey! – команда розробників" + title: "I Love Forkey" + description: "Відправлено \"I ❤ #Forkey\"" + flavor: "Дякуємо вам, що користуєтесь Forkey! – команда розробників" _foundTreasure: title: "Пошуки скарбів" description: "Ви знайшли прихований скарб" diff --git a/locales/vi-VN.yml b/locales/vi-VN.yml index 870867893..3f6be0300 100644 --- a/locales/vi-VN.yml +++ b/locales/vi-VN.yml @@ -1225,7 +1225,7 @@ _achievements: title: "Khách hàng thường xuyên cấp III" description: "Tổng số ngày đăng nhập đạt 400 ngày" _login1000: - flavor: "Cảm ơn bạn đã sử dụng Misskey!" + flavor: "Cảm ơn bạn đã sử dụng Forkey!" _noteFavorited1: title: "Nhà thiên văn học" _myNoteFavorited1: @@ -1280,9 +1280,9 @@ _achievements: title: "Yêu Thành tích" description: "Ngắm danh sách thành tích đến tận hơn 3 phút" _iLoveMisskey: - title: "Tôi Yêu Misskey" - description: "Đăng lời nói \"I ❤ #Misskey\"" - flavor: "Xin chân thành cảm ơn bạn đã sử dụng Misskey!! by Đội ngũ phát triển" + title: "Tôi Yêu Forkey" + description: "Đăng lời nói \"I ❤ #Forkey\"" + flavor: "Xin chân thành cảm ơn bạn đã sử dụng Forkey!! by Đội ngũ phát triển" _foundTreasure: title: "Tìm kiếm kho báu" description: "Tìm thấy được những kho báu cất giấu" diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index 515450758..7e1a8560a 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -1499,7 +1499,7 @@ _achievements: _login1000: title: "帖子大师 Ⅲ" description: "累计登录 1000 天" - flavor: "感谢您使用 Misskey!" + flavor: "感谢您使用 Forkey!" _noteClipped1: title: "忍不住要收藏到便签" description: "第一次将贴文贴进便签" @@ -1559,9 +1559,9 @@ _achievements: title: "成就爱好者" description: "盯着成就看三分钟" _iLoveMisskey: - title: "I Love Misskey" - description: "发布 \"I ❤ #Misskey\" 帖子" - flavor: "感谢您使用 Misskey ! by 开发团队" + title: "I Love Forkey" + description: "发布 \"I ❤ #Forkey\" 帖子" + flavor: "感谢您使用 Forkey ! by 开发团队" _foundTreasure: title: "寻宝" description: "发现了隐藏的宝藏" diff --git a/locales/zh-TW.yml b/locales/zh-TW.yml index a759f4320..45401ee6a 100644 --- a/locales/zh-TW.yml +++ b/locales/zh-TW.yml @@ -1478,7 +1478,7 @@ _achievements: _login1000: title: "貼文大師ⅠⅠⅠ" description: "總登入天數為一千天" - flavor: "感謝您使用 Misskey!" + flavor: "感謝您使用 Forkey!" _noteClipped1: title: "忍不住要收進摘錄裡" description: "第一次將貼文收進摘錄" @@ -1540,7 +1540,7 @@ _achievements: _iLoveMisskey: title: "I Love Misskey" description: "發佈「I ❤ #Misskey」" - flavor: "感謝您使用 Misskey!by 開發團隊" + flavor: "感謝您使用 Forkey!by 開發團隊" _foundTreasure: title: "尋寶" description: "發現了隱藏的寶藏" diff --git a/package.json b/package.json index a1ea5befe..cf0e4892f 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "misskey", + "name": "forkey", "version": "2024.5.0-io.5e", "codename": "nasubi", "repository": { "type": "git", - "url": "https://github.com/MisskeyIO/misskey.git" + "url": "https://git.woem.men/woem.men/forkey.git" }, "packageManager": "pnpm@9.15.0", "workspaces": [ diff --git a/packages/backend/assets/redoc.html b/packages/backend/assets/redoc.html index 2557b4532..fb8b483dd 100644 --- a/packages/backend/assets/redoc.html +++ b/packages/backend/assets/redoc.html @@ -1,7 +1,7 @@ - Misskey API + Forkey API diff --git a/packages/backend/src/boot/entry.ts b/packages/backend/src/boot/entry.ts index dbfb53878..bb95619c0 100644 --- a/packages/backend/src/boot/entry.ts +++ b/packages/backend/src/boot/entry.ts @@ -19,7 +19,7 @@ import { workerMain } from './worker.js'; import 'reflect-metadata'; -process.title = `Misskey (${cluster.isPrimary ? 'master' : 'worker'})`; +process.title = `Forkey (${cluster.isPrimary ? 'master' : 'worker'})`; Error.stackTraceLimit = Infinity; EventEmitter.defaultMaxListeners = 128; diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index b14a8f4dc..043004652 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -28,24 +28,25 @@ const themeColor = chalk.hex('#86b300'); function greet() { if (!envOption.quiet && !envOption.logJson) { - //#region Misskey logo + //#region Forkey logo const v = `v${meta.version}`; - console.log(themeColor(' _____ _ _ ')); - console.log(themeColor(' | |_|___ ___| |_ ___ _ _ ')); - console.log(themeColor(' | | | | |_ -|_ -| \'_| -_| | |')); - console.log(themeColor(' |_|_|_|_|___|___|_,_|___|_ |')); - console.log(' ' + chalk.gray(v) + themeColor(' |___|\n'.substring(v.length))); + console.log(themeColor('███████╗░█████╗░██████╗░██╗░░██╗███████╗██╗░░░██╗')); + console.log(themeColor('██╔════╝██╔══██╗██╔══██╗██║░██╔╝██╔════╝╚██╗░██╔╝')); + console.log(themeColor('█████╗░░██║░░██║██████╔╝█████═╝░█████╗░░░╚████╔╝░')); + console.log(themeColor('██╔══╝░░██║░░██║██╔══██╗██╔═██╗░██╔══╝░░░░╚██╔╝░░')); + console.log(themeColor('██║░░░░░╚█████╔╝██║░░██║██║░╚██╗███████╗░░░██║░░░')); + console.log(' ' + chalk.gray(v) + themeColor('╚═╝░░░░░░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝░░░╚═╝░░░\n'.substring(v.length))); //#endregion - console.log(' Misskey is an open-source decentralized microblogging platform.'); - console.log(chalk.rgb(255, 136, 0)(' If you like Misskey, please donate to support development. https://www.patreon.com/syuilo')); + console.log(' Forkey is an open-source decentralized microblogging platform.'); + // console.log(chalk.rgb(255, 136, 0)(' If you like Forkey, please donate to support development. https://www.patreon.com/syuilo')); console.log(''); console.log(chalkTemplate`--- ${os.hostname()} {gray (PID: ${process.pid.toString()})} ---`); } - bootLogger.info('Welcome to Misskey!'); - bootLogger.info(`Misskey v${meta.version}`, { version: meta.version, hostname: os.hostname(), pid: process.pid }, true); + bootLogger.info('Welcome to Forkey!'); + bootLogger.info(`Forkey v${meta.version}`, { version: meta.version, hostname: os.hostname(), pid: process.pid }, true); } /** @@ -68,7 +69,7 @@ export async function masterMain() { process.exit(1); } - bootLogger.succ('Misskey initialized'); + bootLogger.succ('Forkey initialized'); if (envOption.disableClustering) { if (envOption.onlyServer) { diff --git a/packages/backend/src/models/Meta.ts b/packages/backend/src/models/Meta.ts index e639312e6..ced349ed7 100644 --- a/packages/backend/src/models/Meta.ts +++ b/packages/backend/src/models/Meta.ts @@ -368,14 +368,14 @@ export class MiMeta { @Column('varchar', { length: 1024, - default: 'https://github.com/misskey-dev/misskey', + default: 'https://git.woem.men/woem.men/forkey', nullable: true, }) public repositoryUrl: string | null; @Column('varchar', { length: 1024, - default: 'https://github.com/misskey-dev/misskey/issues/new', + default: 'https://git.woem.men/woem.men/forkey/issues', nullable: true, }) public feedbackUrl: string | null; diff --git a/packages/backend/src/models/json-schema/federation-instance.ts b/packages/backend/src/models/json-schema/federation-instance.ts index 62009e909..432a66fc5 100644 --- a/packages/backend/src/models/json-schema/federation-instance.ts +++ b/packages/backend/src/models/json-schema/federation-instance.ts @@ -52,7 +52,7 @@ export const packedFederationInstanceSchema = { softwareName: { type: 'string', optional: false, nullable: true, - example: 'misskey', + example: 'forkey', }, softwareVersion: { type: 'string', diff --git a/packages/backend/src/models/json-schema/hashtag.ts b/packages/backend/src/models/json-schema/hashtag.ts index 4fd136afe..9b0c5e9aa 100644 --- a/packages/backend/src/models/json-schema/hashtag.ts +++ b/packages/backend/src/models/json-schema/hashtag.ts @@ -9,7 +9,7 @@ export const packedHashtagSchema = { tag: { type: 'string', optional: false, nullable: false, - example: 'misskey', + example: 'forkey', }, mentionedUsersCount: { type: 'number', diff --git a/packages/backend/src/server/NodeinfoServerService.ts b/packages/backend/src/server/NodeinfoServerService.ts index 22d673cd2..4d0ac33be 100644 --- a/packages/backend/src/server/NodeinfoServerService.ts +++ b/packages/backend/src/server/NodeinfoServerService.ts @@ -77,7 +77,7 @@ export class NodeinfoServerService { // eslint-disable-next-line @typescript-eslint/no-explicit-any const document: any = { software: { - name: 'misskey', + name: 'forkey', version: this.config.version, homepage: nodeinfo_homepage, repository: meta.repositoryUrl, diff --git a/packages/backend/src/server/api/openapi/gen-spec.ts b/packages/backend/src/server/api/openapi/gen-spec.ts index 40380904e..a08bff08c 100644 --- a/packages/backend/src/server/api/openapi/gen-spec.ts +++ b/packages/backend/src/server/api/openapi/gen-spec.ts @@ -14,13 +14,13 @@ export function genOpenapiSpec(config: Config, includeSelfRef = false) { info: { version: config.version, - title: 'Misskey API', + title: 'Forkey API', 'x-logo': { url: '/static-assets/api-doc.png' }, }, externalDocs: { description: 'Repository', - url: 'https://github.com/MisskeyIO/misskey', + url: 'https://git.woem.men/woem.men/forkey', }, servers: [{ diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts index 4f600e92d..1fe94a809 100644 --- a/packages/backend/src/server/web/ClientServerService.ts +++ b/packages/backend/src/server/web/ClientServerService.ts @@ -187,7 +187,7 @@ export class ClientServerService { @bindThis private async generateCommonPugData(meta: MiMeta) { return { - instanceName: meta.name ?? 'Misskey', + instanceName: meta.name ?? 'Forkey', icon: meta.iconUrl, appleTouchIcon: meta.app512IconUrl, themeColor: meta.themeColor, @@ -456,7 +456,7 @@ export class ClientServerService { return await reply.view('base', { img: meta.bannerUrl, url: this.config.url, - title: meta.name ?? 'Misskey', + title: meta.name ?? 'Forkey', desc: meta.description, ...await this.generateCommonPugData(meta), ...data, diff --git a/packages/backend/src/server/web/FeedService.ts b/packages/backend/src/server/web/FeedService.ts index 10e3ed268..a11c41e90 100644 --- a/packages/backend/src/server/web/FeedService.ts +++ b/packages/backend/src/server/web/FeedService.ts @@ -59,7 +59,7 @@ export class FeedService { id: author.link, title: `${author.name} (@${user.username}@${this.config.host})`, updated: notes.length !== 0 ? this.idService.parse(notes[0].id).date : undefined, - generator: 'Misskey', + generator: 'Forkey', description: `${user.notesCount} Notes, ${profile.followingVisibility === 'public' ? user.followingCount : '?'} Following, ${profile.followersVisibility === 'public' ? user.followersCount : '?'} Followers${profile.description ? ` · ${profile.description}` : ''}`, link: author.link, image: user.avatarUrl ?? this.userEntityService.getIdenticonUrl(user), diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index cafdc2578..6e5211eca 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -48,7 +48,7 @@ html title block title - = title || 'Misskey' + = title || 'Forkey' if noindex meta(name='robots' content='noindex') @@ -59,7 +59,7 @@ html block meta block og - meta(property='og:title' content= title || 'Misskey') + meta(property='og:title' content= title || 'Forkey') meta(property='og:description' content= desc || '✨🌎✨ A interplanetary communication platform ✨🚀✨') meta(property='og:image' content= img) meta(property='twitter:card' content='summary') diff --git a/packages/backend/test/e2e/nodeinfo.ts b/packages/backend/test/e2e/nodeinfo.ts index e0d252545..dcb45d714 100644 --- a/packages/backend/test/e2e/nodeinfo.ts +++ b/packages/backend/test/e2e/nodeinfo.ts @@ -15,7 +15,7 @@ describe('nodeinfo', () => { assert.strictEqual(res.headers.get('Access-Control-Allow-Origin'), '*'); const nodeInfo = await res.json() as FIXME; - assert.strictEqual(nodeInfo.software.name, 'misskey'); + assert.strictEqual(nodeInfo.software.name, 'forkey'); }); test('nodeinfo 2.0', async () => { @@ -24,6 +24,6 @@ describe('nodeinfo', () => { assert.strictEqual(res.headers.get('Access-Control-Allow-Origin'), '*'); const nodeInfo = await res.json() as FIXME; - assert.strictEqual(nodeInfo.software.name, 'misskey'); + assert.strictEqual(nodeInfo.software.name, 'forkey'); }); }); diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 27dc8a5f4..6effbdfad 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -858,7 +858,7 @@ async function post(ev?: MouseEvent) { const text = postData.text ?? ''; const lowerCase = text.toLowerCase(); - if ((lowerCase.includes('love') || lowerCase.includes('❤')) && lowerCase.includes('misskey')) { + if ((lowerCase.includes('love') || lowerCase.includes('❤')) && lowerCase.includes('forkey')) { claimAchievement('iLoveMisskey'); } if ([ diff --git a/packages/frontend/src/components/MkSourceCodeAvailablePopup.vue b/packages/frontend/src/components/MkSourceCodeAvailablePopup.vue index f6cdc4bf3..7c4193c74 100644 --- a/packages/frontend/src/components/MkSourceCodeAvailablePopup.vue +++ b/packages/frontend/src/components/MkSourceCodeAvailablePopup.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
diff --git a/packages/frontend/src/components/MkTimeline.vue b/packages/frontend/src/components/MkTimeline.vue index cf451d4a0..45905c7b2 100644 --- a/packages/frontend/src/components/MkTimeline.vue +++ b/packages/frontend/src/components/MkTimeline.vue @@ -83,7 +83,7 @@ async function prepend(data) { credentials: 'omit', headers: { 'Authorization': 'anonymous', - 'X-Client-Transaction-Id': generateClientTransactionId('misskey'), + 'X-Client-Transaction-Id': generateClientTransactionId('forkey'), }, }); if (!res.ok) return; diff --git a/packages/frontend/src/components/MkVisitorDashboard.vue b/packages/frontend/src/components/MkVisitorDashboard.vue index fb97a6ea0..3a81882c6 100644 --- a/packages/frontend/src/components/MkVisitorDashboard.vue +++ b/packages/frontend/src/components/MkVisitorDashboard.vue @@ -61,7 +61,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ instanceName }} - {{ i18n.ts.aboutMisskey }} + {{ i18n.ts.aboutForkey }} {{ i18n.ts.termsOfService }} {{ i18n.ts.privacyPolicy }} {{ i18n.ts.impressum }} diff --git a/packages/frontend/src/pages/about-misskey.vue b/packages/frontend/src/pages/about-forkey.vue similarity index 81% rename from packages/frontend/src/pages/about-misskey.vue rename to packages/frontend/src/pages/about-forkey.vue index afe84b5c9..ea923e962 100644 --- a/packages/frontend/src/pages/about-misskey.vue +++ b/packages/frontend/src/pages/about-forkey.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
Misskey
+
Forkey
v{{ version }}
@@ -22,12 +22,24 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts._aboutMisskey.about }}
{{ i18n.ts.learnMore }} + {{ i18n.ts._aboutForkey.about }}
{{ i18n.ts.learnMore }}
- I #Misskey + I #Forkey
+ +
+ + + {{ i18n.ts._aboutMisskey.source }} ({{ i18n.ts._aboutForkey.original }}) + + +
+
+ + +
@@ -60,6 +72,33 @@ SPDX-License-Identifier: AGPL-3.0-only
+ + + + + +
@@ -93,33 +132,20 @@ SPDX-License-Identifier: AGPL-3.0-only
- - -
-
- Mask Network -
-
- XServer -
-
- Skeb -
-
-
- - -
-
- - {{ patron.name }} -
-
-
-
{{ patron }}
-
-

{{ i18n.ts._aboutMisskey.morePatrons }}

-
+ + + + + + + + + + + + + +
@@ -378,7 +404,7 @@ function gravity() { function iLoveMisskey() { os.post({ - initialText: 'I $[jelly ❤] #Misskey', + initialText: 'I $[jelly ❤] #Forkey', instant: true, }); } @@ -399,7 +425,7 @@ const headerActions = computed(() => []); const headerTabs = computed(() => []); definePageMetadata(() => ({ - title: i18n.ts.aboutMisskey, + title: i18n.ts.aboutForkey, icon: null, })); diff --git a/packages/frontend/src/pages/about.vue b/packages/frontend/src/pages/about.vue index 51da5ba36..bd7b9f581 100644 --- a/packages/frontend/src/pages/about.vue +++ b/packages/frontend/src/pages/about.vue @@ -23,34 +23,22 @@ SPDX-License-Identifier: AGPL-3.0-only -
-
© {{ new Date().getFullYear() }} MisskeyHQ Inc.
- 特定商取引法に基づく表記 -
- - - -
- Skeb -
-
-
- +
- + - {{ i18n.ts.aboutMisskey }} + {{ i18n.ts.aboutForkey }} {{ i18n.ts.sourceCode }} - + {{ i18n.ts.sourceCodeIsNotYetProvided }} @@ -97,11 +85,6 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.support }} - - - {{ i18n.tsx.supportThisInstance({ name: instance.name ?? host }) }} - -
diff --git a/packages/frontend/src/router/definition.ts b/packages/frontend/src/router/definition.ts index 3a3f646e8..49e56ff68 100644 --- a/packages/frontend/src/router/definition.ts +++ b/packages/frontend/src/router/definition.ts @@ -208,8 +208,8 @@ const routes: RouteDef[] = [{ path: '/contact', component: page(() => import('@/pages/contact.vue')), }, { - path: '/about-misskey', - component: page(() => import('@/pages/about-misskey.vue')), + path: '/about-forkey', + component: page(() => import('@/pages/about-forkey.vue')), }, { path: '/invite', name: 'invite', diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index 839fa5faf..f57100c9f 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -117,7 +117,7 @@ export function openInstanceMenu(ev: MouseEvent) { } : undefined, { type: 'link', text: i18n.ts.aboutMisskey, - to: '/about-misskey', + to: '/about-forkey', }], ev.currentTarget ?? ev.target, { align: 'left', }); diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue index 6283ac082..b4c980477 100644 --- a/packages/frontend/src/ui/visitor.vue +++ b/packages/frontend/src/ui/visitor.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/welcome.entrance.special.vue b/packages/frontend/src/pages/welcome.entrance.special.vue index e5ef98331..482010f2e 100644 --- a/packages/frontend/src/pages/welcome.entrance.special.vue +++ b/packages/frontend/src/pages/welcome.entrance.special.vue @@ -9,8 +9,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - + +
diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue index b4c980477..94302bfce 100644 --- a/packages/frontend/src/ui/visitor.vue +++ b/packages/frontend/src/ui/visitor.vue @@ -5,8 +5,10 @@ SPDX-License-Identifier: AGPL-3.0-only