From 5d396b9f2529dd192af0c313fd61af58fc64fb9f Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 15 Oct 2022 09:31:29 +1300 Subject: [PATCH 01/13] Update build workflow --- .github/workflows/release-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 26a2e9e..38e8c02 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -23,6 +23,7 @@ jobs: steps: - uses: actions/checkout@v3 + # @TODO: replace deprecated action with ${{ github.ref_name }} - name: Get tag id: tag uses: dawidd6/action-get-tag@v1 @@ -32,6 +33,7 @@ jobs: with: node-version: 16 cache: 'npm' + - run: echo "Building assets for ${{ github.ref_name }}" - run: npm install - run: npm run package @@ -46,4 +48,5 @@ jobs: asset_name: mailpit-${{ matrix.goos }}-${{ matrix.goarch }} extra_files: LICENSE README.md md5sum: false + overwrite: true ldflags: -w -X "github.com/axllent/mailpit/config.Version=${{ steps.tag.outputs.tag }}" From 205611856b6a55db6218794b9ce57934bf3e4e29 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 15 Oct 2022 09:35:06 +1300 Subject: [PATCH 02/13] UI: Bump build action to use node 18 --- .github/workflows/release-build.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 38e8c02..8541a63 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -31,7 +31,7 @@ jobs: # build the assets - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 cache: 'npm' - run: echo "Building assets for ${{ github.ref_name }}" - run: npm install diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 82ca334..3b4bcab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: # build the assets - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 cache: 'npm' - run: npm install - run: npm run package From d9dc000e8991c465a45c00584e3c82dc90e180d8 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 15 Oct 2022 23:14:51 +1300 Subject: [PATCH 03/13] UI: Theme changes --- server/ui-src/App.vue | 37 +++++----- .../ui-src/assets/_bootstrap_variables.scss | 2 +- server/ui-src/assets/styles.scss | 14 ++++ server/ui-src/templates/Message.vue | 68 +++++++++--------- server/ui/favicon.svg | 50 +++++++++++++ server/ui/index.html | 2 +- server/ui/mailpit.png | Bin 3044 -> 0 bytes server/ui/mailpit.svg | 51 ++++++++++++- 8 files changed, 168 insertions(+), 56 deletions(-) create mode 100644 server/ui/favicon.svg delete mode 100644 server/ui/mailpit.png diff --git a/server/ui-src/App.vue b/server/ui-src/App.vue index 0ebdadb..df45da1 100644 --- a/server/ui-src/App.vue +++ b/server/ui-src/App.vue @@ -505,34 +505,33 @@ export default {