From aeb25a61189279ba5e73668a16d46fce947ea70a Mon Sep 17 00:00:00 2001 From: chenjl-ops <81603118+chenjl-ops@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:21:00 +0800 Subject: [PATCH 1/6] Update support button link in base.layout.vue update support url to self domain --- src/layouts/base.layout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/base.layout.vue b/src/layouts/base.layout.vue index ef534209..d5d8de5f 100644 --- a/src/layouts/base.layout.vue +++ b/src/layouts/base.layout.vue @@ -123,7 +123,7 @@ const tools = computed(() => [ Date: Mon, 19 Oct 2026 14:38:23 +0800 Subject: [PATCH 2/6] Delete .vscode directory delete vscode dir --- .vscode/extensions.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 35488bcd..00000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin", "dbaeumer.vscode-eslint", "lokalise.i18n-ally"] -} From 0daad46cd9fb3bef54e53d74815f45c0d7503800 Mon Sep 17 00:00:00 2001 From: chenjl-ops <81603118+chenjl-ops@users.noreply.github.com> Date: Mon, 19 Oct 2026 14:38:48 +0800 Subject: [PATCH 3/6] Delete .github/workflows directory disable github actions --- .github/workflows/ci.yml | 34 ------ .github/workflows/docker-nightly-release.yml | 87 ---------------- .github/workflows/e2e-tests.yml | 47 --------- .github/workflows/releases.yml | 104 ------------------- 4 files changed, 272 deletions(-) delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/docker-nightly-release.yml delete mode 100644 .github/workflows/e2e-tests.yml delete mode 100644 .github/workflows/releases.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 4dd9ffb7..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: ci - -on: - pull_request: - push: - branches: - - main - -jobs: - ci: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - run: corepack enable - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'pnpm' - - - name: Install dependencies - run: pnpm i - - - name: Run linters - run: pnpm lint - - - name: Run unit test - run: pnpm test - - - name: Type check - run: pnpm typecheck - - - name: Build the app - run: pnpm build diff --git a/.github/workflows/docker-nightly-release.yml b/.github/workflows/docker-nightly-release.yml deleted file mode 100644 index 41dbb155..00000000 --- a/.github/workflows/docker-nightly-release.yml +++ /dev/null @@ -1,87 +0,0 @@ -name: Docker nightly release - -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * *' - -jobs: - check_date: - runs-on: ubuntu-latest - name: Check latest commit - outputs: - should_run: ${{ steps.should_run.outputs.should_run }} - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - name: print latest_commit - run: echo ${{ github.sha }} - - - id: should_run - continue-on-error: true - name: check latest commit is less than a day - if: ${{ github.event_name == 'schedule' }} - run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" - - ci: - runs-on: ubuntu-latest - needs: check_date - if: ${{ needs.check_date.outputs.should_run != 'false' }} - - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - run: corepack enable - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'pnpm' - - - name: Install dependencies - run: pnpm i - - - name: Run linters - run: pnpm lint - - - name: Run unit test - run: pnpm test - - - name: Build the app - run: pnpm build - - build: - runs-on: ubuntu-latest - needs: - - ci - - steps: - - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - corentinth/it-tools:nightly - ghcr.io/corentinth/it-tools:nightly diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml deleted file mode 100644 index 13b787ef..00000000 --- a/.github/workflows/e2e-tests.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: E2E tests -on: - pull_request: - push: - branches: - - main -jobs: - test: - timeout-minutes: 10 - runs-on: ubuntu-latest - strategy: - matrix: - shard: [1/3, 2/3, 3/3] - steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - - run: corepack enable - - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'pnpm' - - - name: Get Playwright version - id: playwright-version - run: echo "PLAYWRIGHT_VERSION=$(jq -r .dependencies.playwright package.json)" >> "$GITHUB_OUTPUT" - - - name: Install dependencies - run: pnpm install - - - name: Build app - run: pnpm build - - - name: Restore Playwright browsers from cache - uses: actions/cache@v3 - with: - path: ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }} - restore-keys: | - ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}- - ${{ runner.os }}-playwright- - - - name: Install Playwright Browsers - run: pnpm exec playwright install --with-deps - - - name: Run Playwright tests - run: pnpm run test:e2e --shard=${{ matrix.shard }} diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml deleted file mode 100644 index d0d3febd..00000000 --- a/.github/workflows/releases.yml +++ /dev/null @@ -1,104 +0,0 @@ -name: Release new versions - -on: - push: - tags: - - 'v*.*.*' - -jobs: - docker-release: - runs-on: ubuntu-latest - steps: - - name: Get release version - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - - - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - corentinth/it-tools:latest - corentinth/it-tools:${{ env.RELEASE_VERSION }} - ghcr.io/corentinth/it-tools:latest - ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}} - - github-release: - runs-on: ubuntu-latest - needs: docker-release - steps: - - name: Get release version - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - - - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - - run: corepack enable - - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'pnpm' - - - name: Install dependencies - run: pnpm i - - - name: Build the app - run: pnpm build - - - name: Zip the app - run: zip -r it-tools-${{ env.RELEASE_VERSION }}.zip dist/* - - - name: Get changelog - id: changelog - run: | - EOF=$(openssl rand -hex 8) - echo "changelog<<$EOF" >> $GITHUB_OUTPUT - node ./scripts/getLatestChangelog.mjs >> $GITHUB_OUTPUT - echo "$EOF" >> $GITHUB_OUTPUT - - - name: Create Release - uses: softprops/action-gh-release@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - files: it-tools-${{ env.RELEASE_VERSION }}.zip - tag_name: v${{ env.RELEASE_VERSION }} - draft: true - prerelease: false - body: | - ## Docker images - - - Docker Hub - - `corentinth/it-tools:latest` - - `corentinth/it-tools:${{ env.RELEASE_VERSION }}` - - GitHub Container Registry - - `ghcr.io/corentinth/it-tools:latest` - - `ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}` - - ## Changelog - - ${{ steps.changelog.outputs.changelog }} From 488da7e6ae0e7511a067b7f64428aaa61a2af578 Mon Sep 17 00:00:00 2001 From: chenjl-ops <81603118+chenjl-ops@users.noreply.github.com> Date: Mon, 19 Oct 2026 14:56:11 +0800 Subject: [PATCH 4/6] delete github and x url delete github and x url --- src/components/NavbarButtons.vue | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/components/NavbarButtons.vue b/src/components/NavbarButtons.vue index 4084526d..70cd1390 100644 --- a/src/components/NavbarButtons.vue +++ b/src/components/NavbarButtons.vue @@ -7,32 +7,6 @@ const { isDarkTheme } = toRefs(styleStore);