From 0115033d9425fba3a3465929bab0580113e44c84 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 24 Sep 2023 15:28:28 +0000 Subject: [PATCH 01/18] chore(deps): bump actions/upload-artifact from 2 to 3 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test-frontend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index 0618a0ef0..45645934c 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -108,12 +108,12 @@ jobs: wait-on: 'http://localhost:61812' headed: true browser: ${{ matrix.browser }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: ${{ matrix.browser }}-cypress-screenshots path: cypress/screenshots - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: always() with: name: ${{ matrix.browser }}-cypress-videos From f1cc6b8bd91f3d4a27ba695b881683cb1b7476fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 24 Sep 2023 15:28:35 +0000 Subject: [PATCH 02/18] chore(deps): bump actions/github-script from 6.3.3 to 6.4.1 Bumps [actions/github-script](https://github.com/actions/github-script) from 6.3.3 to 6.4.1. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6.3.3...v6.4.1) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/pr-preview-deploy.yml | 6 +++--- .github/workflows/pr-preview-destroy.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index 44f97645d..5b0e5e726 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -13,7 +13,7 @@ jobs: github.event.client_payload.slash_command.sha != '' && contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.sha) steps: - - uses: actions/github-script@v6.3.3 + - uses: actions/github-script@v6.4.1 id: check-id env: number: ${{ github.event.client_payload.pull_request.number }} @@ -37,7 +37,7 @@ jobs: return check[0].id; - - uses: actions/github-script@v6.3.3 + - uses: actions/github-script@v6.4.1 env: check_id: ${{ steps.check-id.outputs.result }} details_url: ${{ github.server_url }}/${{ github.repository }}/runs/${{ github.run_id }} @@ -72,7 +72,7 @@ jobs: timeout: 15m # Update check run called "integration-fork" - - uses: actions/github-script@v6.3.3 + - uses: actions/github-script@v6.4.1 id: update-check-run if: ${{ always() }} env: diff --git a/.github/workflows/pr-preview-destroy.yml b/.github/workflows/pr-preview-destroy.yml index 8adfad9da..f7357a4d0 100644 --- a/.github/workflows/pr-preview-destroy.yml +++ b/.github/workflows/pr-preview-destroy.yml @@ -10,7 +10,7 @@ jobs: destroy-preview-environment: runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6.3.3 + - uses: actions/github-script@v6.4.1 id: check-conclusion env: number: ${{ github.event.number }} From 44cd9c0dab82ab52fbc9f2b33340defadf2d0390 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sat, 7 Oct 2023 00:57:21 +0200 Subject: [PATCH 03/18] upd: use calc on top, left, right for background --- packages/frontend/src/pages/user/home.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 163ad22a5..49e5b1d3f 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -355,9 +355,9 @@ onUnmounted(() => { pointer-events: none; filter: blur(8px) opacity(0.6); // Funny CSS schenanigans to make background escape container - top: -100%; - left: -100%; - right: -100%; + left: calc(0vh - 1.9vmax); + top: calc(1vh - 1.9vmax); + right:calc(0vh - 1.9vmax); background-attachment: fixed; } From a60ec12b4e5502b6bce4665b2e947a75f3b7b11c Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sat, 7 Oct 2023 01:09:28 +0200 Subject: [PATCH 04/18] revert: recent change --- packages/frontend/src/pages/user/home.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 49e5b1d3f..39227f726 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -355,9 +355,9 @@ onUnmounted(() => { pointer-events: none; filter: blur(8px) opacity(0.6); // Funny CSS schenanigans to make background escape container - left: calc(0vh - 1.9vmax); - top: calc(1vh - 1.9vmax); - right:calc(0vh - 1.9vmax); + left: -100%; + top: -100%; + right: -100%; background-attachment: fixed; } From a64dae2d07afd02fd8260e188a75505b74497011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=82=8A=E3=81=99?= Date: Sat, 7 Oct 2023 08:33:17 +0900 Subject: [PATCH 05/18] Fix. Fixed build problem with Docker --- docker-compose.yml.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml.example b/docker-compose.yml.example index a9a2ff5d9..287a23cab 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -61,7 +61,8 @@ services: # volumes: # - ./meili_data:/meili_data + networks: shonk: web: - external: true + external: true From 48bc32d17e26a3acc1df86a6e8c44d385e7f0d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=82=8A=E3=81=99?= Date: Sat, 7 Oct 2023 13:25:47 +0900 Subject: [PATCH 06/18] Fix. Fixed a problem that flagSpeakAsCat and flagSpeakAsCatDescription are not set and not displayed in ja-JP and ja-KS. --- locales/ja-JP.yml | 2 ++ locales/ja-KS.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index f0145a864..08c1bde73 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -164,6 +164,8 @@ flagAsBot: "Botとして設定" flagAsBotDescription: "このアカウントがプログラムによって運用される場合は、このフラグをオンにします。オンにすると、反応の連鎖を防ぐためのフラグとして他の開発者に役立ったり、Sharkeyのシステム上での扱いがBotに合ったものになります。" flagAsCat: "にゃああああああああああああああ!!!!!!!!!!!!" flagAsCatDescription: "にゃにゃにゃ??" +flagSpeakAsCat: "猫語で話す" +flagSpeakAsCatDescription: "有効にすると、あなたの投稿の 「な」を「にゃ」にします。" flagShowTimelineReplies: "タイムラインにノートへの返信を表示する" flagShowTimelineRepliesDescription: "オンにすると、タイムラインにユーザーのノート以外にもそのユーザーの他のノートへの返信を表示します。" autoAcceptFollowed: "フォロー中ユーザーからのフォロリクを自動承認" diff --git a/locales/ja-KS.yml b/locales/ja-KS.yml index 32367453b..abcf3bff9 100644 --- a/locales/ja-KS.yml +++ b/locales/ja-KS.yml @@ -163,6 +163,8 @@ flagAsBot: "Botにするで" flagAsBotDescription: "もしこのアカウントをプログラム使うて運用するんやったら、このフラグをオンにしてや。オンにすれば、反応がバーッて連鎖せんように開発者が使うたり、Sharkeyのシステム上での扱いがBotに合ったもんになるからな。" flagAsCat: "Catやで" flagAsCatDescription: "ワレ、猫ちゃんならこのフラグをつけてみ?" +flagSpeakAsCat: "猫語で話すで" +flagSpeakAsCatDescription: "有効にすると、あなたの投稿の 「な」を「にゃ」にするでー。" flagShowTimelineReplies: "タイムラインにノートへの返信を表示するで" flagShowTimelineRepliesDescription: "オンにしたら、タイムラインにユーザーのノートの他にもそのユーザーの他のノートへの返信を表示するで。" autoAcceptFollowed: "フォローしとるユーザーからのフォローリクエストを勝手に許可しとく" From 7250af1cabfa36be9bda20022cde7c9734d18ee3 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 05:51:31 +0200 Subject: [PATCH 07/18] Wip package.yml --- .github/workflows/package.yml | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/package.yml diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml new file mode 100644 index 000000000..b3d4cd3f6 --- /dev/null +++ b/.github/workflows/package.yml @@ -0,0 +1,60 @@ +name: Publish prebuild + +on: + push: + branches: + - stable + paths: + - packages/** + - locales/** + release: + types: [published] + workflow_dispatch: + +jobs: + push_to_registry: + name: Push Docker image to GHCR + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x] + python-version: [3.11.x] + if: github.repository == 'transfem-org/Sharkey' + permissions: + contents: read + packages: write + + steps: + - name: Check out the repo + uses: actions/checkout@v4.1.0 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Setup Python + uses: actions/setup-python@v4.7.1 + with: + python-version: ${{ matrix.python-version }} + + - name: Cache APT Packages + uses: awalsh128/cache-apt-pkgs-action@v1.3.0 + with: + packages: "build-essential uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" + + - name: Cache node modules + uses: actions/cache@v3 + with: + path: ~/.npm + key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }} + restore-keys: v1-npm-deps- + + - name: Build + run: | + corepack enable pnpm@latest + pnpm install + npm install -g pkg + pnpm run build + cd packages/backend + pkg --public ./built/boot/entry.js From eff2e5574bd52d1cd16bbbb92dcb10cdfa56c927 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:00:39 +0200 Subject: [PATCH 08/18] Rename package workflow to proper naming scheme --- .github/workflows/package.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index b3d4cd3f6..ee0ecb1f9 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -12,8 +12,8 @@ on: workflow_dispatch: jobs: - push_to_registry: - name: Push Docker image to GHCR + build_binaries: + name: Build & ship binaries runs-on: ubuntu-latest strategy: matrix: @@ -52,9 +52,11 @@ jobs: - name: Build run: | - corepack enable pnpm@latest + corepack enable + corepack prepare pnpm@latest --activate pnpm install npm install -g pkg pnpm run build cd packages/backend pkg --public ./built/boot/entry.js + ls From 790ab85c06022f563eeabae3630563287b8a5c59 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:16:36 +0200 Subject: [PATCH 09/18] Checkout submodules --- .github/workflows/package.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ee0ecb1f9..672f52568 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -27,6 +27,9 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4.1.0 + with: + lfs: true + submodules: 'recursive' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -41,7 +44,7 @@ jobs: - name: Cache APT Packages uses: awalsh128/cache-apt-pkgs-action@v1.3.0 with: - packages: "build-essential uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" + packages: "build-essential ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" - name: Cache node modules uses: actions/cache@v3 From cb8136c8fedb4fbca6b5dcd93bf74c8cdcb7fcde Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:42:39 +0200 Subject: [PATCH 10/18] Update package workflow --- .github/workflows/package.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 672f52568..f0972893f 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -44,7 +44,7 @@ jobs: - name: Cache APT Packages uses: awalsh128/cache-apt-pkgs-action@v1.3.0 with: - packages: "build-essential ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" + packages: "build-essential binfmt-support qemu-user-static ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev" - name: Cache node modules uses: actions/cache@v3 @@ -53,6 +53,10 @@ jobs: key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }} restore-keys: v1-npm-deps- + - uses: MOZGIII/install-ldid-action@v1 + with: + tag: v2.1.5-procursus2 + - name: Build run: | corepack enable @@ -61,5 +65,5 @@ jobs: npm install -g pkg pnpm run build cd packages/backend - pkg --public ./built/boot/entry.js + pkg --debug --public ./built/boot/entry.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 ls From a6e7941e04ecf34e5ba049b16272b0b0e88deb79 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:06:19 +0200 Subject: [PATCH 11/18] Transpile when packaging from ESM to CJS *insert April ranting about Javascript here* --- .github/workflows/package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index f0972893f..a635d9749 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -63,7 +63,10 @@ jobs: corepack prepare pnpm@latest --activate pnpm install npm install -g pkg + npm install -g rollup pnpm run build cd packages/backend + mkdir dist + rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs pkg --debug --public ./built/boot/entry.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 ls From 3d15f896381bd97c55a25e601be84e958b0b6de3 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:06:49 +0200 Subject: [PATCH 12/18] Change pkg command --- .github/workflows/package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index a635d9749..2ee37c0c8 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -68,5 +68,5 @@ jobs: cd packages/backend mkdir dist rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs - pkg --debug --public ./built/boot/entry.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 + pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 ls From 447399eb078db97647e421edec1bfcb02ea6d6c4 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:21:09 +0200 Subject: [PATCH 13/18] Wrap entry into async function --- packages/backend/src/boot/entry.ts | 95 +++++++++++++++--------------- 1 file changed, 49 insertions(+), 46 deletions(-) diff --git a/packages/backend/src/boot/entry.ts b/packages/backend/src/boot/entry.ts index fc8fc2ffb..bd0ed29fc 100644 --- a/packages/backend/src/boot/entry.ts +++ b/packages/backend/src/boot/entry.ts @@ -27,60 +27,63 @@ const logger = new Logger('core', 'cyan'); const clusterLogger = logger.createSubLogger('cluster', 'orange', false); const ev = new Xev(); -//#region Events +// We wrap this in a main function, that gets called, +// because not all platforms support top level await :/ -// Listen new workers -cluster.on('fork', worker => { - clusterLogger.debug(`Process forked: [${worker.id}]`); -}); +async function main() { + //#region Events + // Listen new workers + cluster.on('fork', worker => { + clusterLogger.debug(`Process forked: [${worker.id}]`); + }); -// Listen online workers -cluster.on('online', worker => { - clusterLogger.debug(`Process is now online: [${worker.id}]`); -}); + // Listen online workers + cluster.on('online', worker => { + clusterLogger.debug(`Process is now online: [${worker.id}]`); + }); -// Listen for dying workers -cluster.on('exit', worker => { - // Replace the dead worker, - // we're not sentimental - clusterLogger.error(chalk.red(`[${worker.id}] died :(`)); - cluster.fork(); -}); + // Listen for dying workers + cluster.on('exit', worker => { + // Replace the dead worker, + // we're not sentimental + clusterLogger.error(chalk.red(`[${worker.id}] died :(`)); + cluster.fork(); + }); -// Display detail of unhandled promise rejection -if (!envOption.quiet) { - process.on('unhandledRejection', console.dir); -} + // Display detail of unhandled promise rejection + if (!envOption.quiet) { + process.on('unhandledRejection', console.dir); + } -// Display detail of uncaught exception -process.on('uncaughtException', err => { - try { - logger.error(err); - console.trace(err); - } catch { } -}); + // Display detail of uncaught exception + process.on('uncaughtException', err => { + try { + logger.error(err); + console.trace(err); + } catch { } + }); -// Dying away... -process.on('exit', code => { - logger.info(`The process is going to exit with code ${code}`); -}); + // Dying away... + process.on('exit', code => { + logger.info(`The process is going to exit with code ${code}`); + }); + //#endregion -//#endregion + if (cluster.isPrimary || envOption.disableClustering) { + await masterMain(); + if (cluster.isPrimary) { + ev.mount(); + } + } + if (cluster.isWorker || envOption.disableClustering) { + await workerMain(); + } -if (cluster.isPrimary || envOption.disableClustering) { - await masterMain(); - - if (cluster.isPrimary) { - ev.mount(); + // ユニットテスト時にMisskeyが子プロセスで起動された時のため + // それ以外のときは process.send は使えないので弾く + if (process.send) { + process.send('ok'); } } -if (cluster.isWorker || envOption.disableClustering) { - await workerMain(); -} - -// ユニットテスト時にMisskeyが子プロセスで起動された時のため -// それ以外のときは process.send は使えないので弾く -if (process.send) { - process.send('ok'); -} +main(); From 2e75ae905d138d152843cae81dbf527151e15c67 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:01:20 +0200 Subject: [PATCH 14/18] Upload release artifacts --- .github/workflows/package.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 2ee37c0c8..7a8b80073 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -4,9 +4,6 @@ on: push: branches: - stable - paths: - - packages/** - - locales/** release: types: [published] workflow_dispatch: @@ -70,3 +67,29 @@ jobs: rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 ls + - name: Upload linux x64 + uses: actions/upload-artifact@v3.1.3 + with: + name: sharkey-linux-x64 + path: packages/backend/bundle-linuxstatic-x64 + - name: Upload linux arm64 + uses: actions/upload-artifact@v3.1.3 + with: + name: sharkey-linux-arm64 + path: packages/backend/bundle-linuxstatic-arm64 + - name: Upload mac arm64 + uses: actions/upload-artifact@v3.1.3 + with: + name: sharkey-macos-arm64 + path: packages/backend/bundle-macos-arm64 + - name: Upload mac x64 + uses: actions/upload-artifact@v3.1.3 + with: + name: sharkey-macos-arm64 + path: packages/backend/bundle-macos-x64 + - name: Upload Windows + uses: actions/upload-artifact@v3.1.3 + with: + name: sharkey-win-x64.exe + path: packages/backend/bundle-win-x64.exe + From 60bc2b426906b701f9b6615f969f993ce8bb6c68 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:12:30 +0200 Subject: [PATCH 15/18] Greet new contributors (#58) * Greet new contributors Added a workflow to greet new contributors and first time issuers. * add Token + msg change * Change welcome action * Use official GH action --- .github/workflows/welcome.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 000000000..a320276ee --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,25 @@ +name: Welcome +on: + pull_request: + types: [opened] + issues: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1.2.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + 👋 @{{ author }} + Thanks for opening your first issue here! If you are reporting a bug, please make sure to include steps on how to reproduce it! :D + + pr-message: | + 👋 @{{ author }} + Thanks for opening this pull request! We will review it as soon as we can :3 + Please check out our contributing guidelines in the meantime. + + # FIRST_PR_MERGED: | + # 🎉 @{{ author }} + # Congrats on getting your first pull request merged! We are proud of you :3 ❤️ From feb1bcf46ba71b8032b433f9c9ef0ab4e910892b Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:36:54 +0200 Subject: [PATCH 16/18] Use rollup node resolve --- .github/workflows/package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 7a8b80073..26c41372a 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -61,10 +61,11 @@ jobs: pnpm install npm install -g pkg npm install -g rollup + npm install -g @rollup/plugin-node-resolve pnpm run build cd packages/backend mkdir dist - rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs + rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs -p @rollup/plugin-node-resolve pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64 ls - name: Upload linux x64 From beb998f23d31832d358e6b503870796da5e7e7e2 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 18:28:57 +0200 Subject: [PATCH 17/18] Update welcome.yml --- .github/workflows/welcome.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index a320276ee..ada3db2d5 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/first-interaction@v1.2.0 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: | 👋 @{{ author }} Thanks for opening your first issue here! If you are reporting a bug, please make sure to include steps on how to reproduce it! :D From 8961872edcb2a9507cba4e2de4a1c379d67f18a0 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sat, 7 Oct 2023 18:57:09 +0200 Subject: [PATCH 18/18] fix: background overlapping certain elements in visitor view --- packages/frontend/src/ui/visitor.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue index 4d2678a4c..d7aa87471 100644 --- a/packages/frontend/src/ui/visitor.vue +++ b/packages/frontend/src/ui/visitor.vue @@ -185,6 +185,7 @@ defineExpose({ width: 500px; height: 100vh; background: var(--accent); + z-index: 1; > .banner { position: absolute; @@ -213,6 +214,8 @@ defineExpose({ > .header { background: var(--panel); + position: relative; + z-index: 1; > .wide { line-height: 50px;