Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream merge #2

Open
wants to merge 174 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
6e7ef65
fix: remove variable check in klipper config StreamParser (#1435)
meteyou Jun 28, 2023
d844125
locale(pl): Update Polish translation (#1447)
Daviteusz Jun 28, 2023
21d3d39
refactor: build version file for moonraker (#1449)
meteyou Jul 1, 2023
a7e70c7
fix: fix condition in restartServiceNameExists check (#1450)
meteyou Jul 1, 2023
ef2d17c
chore: add dev-dist to .gitignore (#1451)
meteyou Jul 1, 2023
3959000
fix: avoid hitting 100% before print is complete (#1455)
jamincollins Jul 9, 2023
bcbef2f
locale(zh): Update Chinese (zh) localization (#1459)
Samuel-0-0 Jul 12, 2023
039a446
fix: fix issue with ETA and 12h time format (#1463)
meteyou Jul 13, 2023
7c81690
refactor: use moonraker webcam api instead of direct DB access (#1445)
meteyou Jul 16, 2023
1895d2d
fix: fix issue with CSV separator in contents (#1460)
meteyou Jul 16, 2023
a1d3dc9
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#1470)
dependabot[bot] Jul 19, 2023
a58bef2
locale(pl): update polish locale (#1471)
antekmeco Jul 19, 2023
6758049
locale(pl): Update Polish translation (#1476)
Daviteusz Jul 20, 2023
db09bbe
refactor: change SettingsGeneralTab file (#1475)
meteyou Jul 22, 2023
5b2bea5
fix: fix issue with webcams in farm printers (#1469)
meteyou Jul 22, 2023
be25316
refactor: extract Presets and Settings from TemperaturePanel (#1465)
meteyou Jul 22, 2023
0cefa24
refactor: display errors and warnings in the update_manager (#1453)
meteyou Jul 22, 2023
f52b94c
locale(tr): update turkish locale (#1480)
meteyou Jul 24, 2023
98160e1
chore: push version number to v2.6.1
github-actions[bot] Jul 24, 2023
eceb442
docs(changelog): update changelog
meteyou Jul 24, 2023
0c5aca8
locale(pl): Update Polish translation (#1482)
Daviteusz Jul 24, 2023
8447be2
fix: fix editor save & restart button behavior (#1483)
meteyou Jul 24, 2023
0b47a80
refactor: refactor SettingsRow (#1484)
meteyou Jul 24, 2023
e929c7c
fix: hide rpm in temperature_fans without tachometer_pin (#1489)
meteyou Jul 27, 2023
5c40820
fix: fix flip function in several webcam clients (#1487)
meteyou Jul 27, 2023
aeee198
fix: fix issue with camel-case object names in temperature panel (#1491)
meteyou Jul 28, 2023
d67ef3a
fix: use webcam name instead of UUID for timelapse plugin (#1492)
meteyou Jul 30, 2023
6a4cca7
fix: fix issue with create/edit presets and refactor settings (#1499)
meteyou Jul 30, 2023
9eb133b
fix: fix multiple issues in the refactored update manager (#1497)
meteyou Jul 30, 2023
cda3098
fix: fix issue with cannot extrude after a Klipper restart (#1495)
meteyou Jul 30, 2023
7251a8c
locale(zh): update chinese locale (#1486)
xiaoqianzi15 Jul 30, 2023
1a12554
chore: push version number to v2.6.2
github-actions[bot] Jul 30, 2023
9e2e923
docs(changelog): update changelog
meteyou Jul 30, 2023
dbb5f81
locale(zh): Update Chinese (zh) localization (#1503)
Samuel-0-0 Aug 7, 2023
fe7aee9
locale(pl): Update Polish translation (#1502)
Daviteusz Aug 7, 2023
15371ad
feat: hide screws tilt adjust dialog, when using MAX_DEVIATION (#1474)
meteyou Aug 7, 2023
9883457
feat: add option to hide MCU/Host sensors in the temp panel (#1496)
meteyou Aug 7, 2023
da15789
feat: hide axis controls during print (#1452)
sddev0 Aug 7, 2023
98d9b0a
fix: fix cursor style for item name to be a pointer (#1514)
rackrick Aug 8, 2023
e9c22d3
feat: add an option to set the sidebar default state (#1462)
meteyou Aug 8, 2023
69eaeb6
feat: add option to hide FPS counter in webcams (#1488)
meteyou Aug 9, 2023
16165ec
refactor: soft down info buttons in update manager (#1513)
meteyou Aug 9, 2023
0c4b9e7
feat: add a select all option on the backup and restore dialogs (#1448)
FGRCL Aug 9, 2023
1cd2541
feat: add nevermore to temperature panel (#1511)
meteyou Aug 9, 2023
90d76c1
locale(pl): Update Polish translation (#1515)
Daviteusz Aug 10, 2023
b0491de
chore: push version number to v2.7.0
github-actions[bot] Aug 12, 2023
57de746
docs(changelog): update changelog
meteyou Aug 12, 2023
caaf5e1
locale(zh): Update Chinese (zh) localization (#1521)
Samuel-0-0 Aug 16, 2023
218f85c
fix: fix issue on tablet and smaller devices with the sidebar (#1518)
meteyou Aug 16, 2023
5997689
chore: push version number to v2.7.1
github-actions[bot] Aug 16, 2023
c725fb0
docs(changelog): update changelog
meteyou Aug 16, 2023
871688f
fix: show confirm emergency stop dialog only when turned on (#1526)
rackrick Aug 21, 2023
18a5c73
fix: eta time format detection from browser (#1522)
rackrick Aug 22, 2023
98d99d2
locale(pl): Update Polish translations (#1544)
Daviteusz Sep 1, 2023
1aa9f34
fix: fix min/max positions in heightmap current mesh data panel (#1533)
meteyou Sep 4, 2023
fd293d2
fix: fix autorestart of webcam camerastreamer (#1546)
meteyou Sep 4, 2023
9f08afc
fix: fix missing reset options for print history data (#1534)
meteyou Sep 5, 2023
e0f5166
fix: fix some issues with the presets (#1529)
meteyou Sep 5, 2023
ecaa894
refactor: refactor ToolheadControlPanel (#1530)
meteyou Sep 5, 2023
c87586a
fix: fix macro parameter with spaces (#1551)
meteyou Sep 14, 2023
5007646
feat: add warning for outdated browsers (#1537)
meteyou Sep 19, 2023
9a2328b
feat: automatic selection of the gcode offset save gcode (#1531)
meteyou Sep 19, 2023
a0ad7e8
feat: hide Moonraker power devices with a `_` as first char (#1545)
meteyou Sep 19, 2023
09c2526
feat: add option to block autoscroll in console (#1519)
meteyou Sep 19, 2023
bf04ec3
build(deps): bump tough-cookie and @cypress/request (#1517)
dependabot[bot] Sep 19, 2023
7ae9589
build(deps): bump @cypress/request and cypress (#1560)
dependabot[bot] Sep 19, 2023
e1dd59d
fix: fix type issue in TemperaturePanelListItem (#1563)
meteyou Sep 20, 2023
f3fcce3
locale(pl): update polish locale (#1554)
Daviteusz Sep 23, 2023
79014ac
locale(es): update spanish locale (#1548)
lotusotho Sep 23, 2023
890b996
refactor: split ExtruderControlPanel.vue in multiple SFC (#1565)
meteyou Sep 23, 2023
2b73cce
fix: fix webcam (camera-streamer) stop autorestart beforeDestory (#1556)
meteyou Oct 1, 2023
b7914f8
fix: fix gcode command for generic_heater in presets (#1569)
meteyou Oct 1, 2023
a28c6fd
feat: add 12-hour time format in printers overview (#1571)
meteyou Oct 1, 2023
8fc0d5c
locale(pl): Update Polish translations (#1573)
Daviteusz Oct 1, 2023
79a5f9a
build: update toolchain to the latest version (#1575)
pataar Oct 2, 2023
5eb50bb
refactor: remove unused import in store/printer/getters.ts (#1574)
meteyou Oct 4, 2023
2670eb6
refactor: rework tool color in extruder panel (#1576)
meteyou Oct 4, 2023
7d86df0
fix: fix wrong date function in multiple files (#1568)
meteyou Oct 4, 2023
5734f1c
feat: add monitors (like TMC2240) to Temperature Panel (#1532)
meteyou Oct 6, 2023
d8430f5
feat: add spoolman support (#1542)
meteyou Oct 6, 2023
8a43eca
build(dependabot): add Dependabot to the repository (#1577)
pataar Oct 6, 2023
3994a8e
refactor: update webcam "WebRTC MediaMTX" client (#1558)
meteyou Oct 7, 2023
82e3dd8
feat: add optional background color for big gcode thumbnails (#1535)
meteyou Oct 7, 2023
4970d02
locale(de): update german translations (#1583)
meteyou Oct 7, 2023
cd1b9b8
locale(en): remove unused keys in english locale (#1585)
meteyou Oct 7, 2023
a3e74aa
fix: fix WebRTC (camera-streamer) port with external instance (#1586)
meteyou Oct 7, 2023
1a7aca6
fix: fix webcam flip in timelapse preview (#1587)
meteyou Oct 7, 2023
09a994d
locale(zh): Update Chinese (zh) localization (#1588)
Samuel-0-0 Oct 7, 2023
e445fbe
fix: fix webcam switch button (#1589)
meteyou Oct 7, 2023
c8a1e8c
chore: push version number to v2.8.0
github-actions[bot] Oct 7, 2023
5b62b97
chore: fix ftp upload in release workflow (#1590)
meteyou Oct 7, 2023
298eae8
docs(changelog): update changelog
meteyou Oct 7, 2023
817efba
ci(docker): ensure that the docker images are tagged correctly (#1591)
pataar Oct 7, 2023
3212234
perf(vite): chunk webcams, locales and large libraries (#1578)
pataar Oct 7, 2023
932a2c3
locale(zh): Update Chinese (zh) localization (#1595)
Samuel-0-0 Oct 8, 2023
b6f32c0
locale(pl): Update Polish translations (#1593)
Daviteusz Oct 12, 2023
4d2caeb
locale(fr): French translation of the Spoolman module (#1598)
Oct 12, 2023
e1a754a
locale(it): Italian translation of the Spoolman module (#1606)
Giadej Oct 14, 2023
edc2af4
locale(it): Italian translation completed and more fixes (#1608)
Giadej Oct 15, 2023
789a4c2
feat: rework spoolman change dialog to display spool ids (#1605)
rackrick Oct 15, 2023
0779542
locale(it): fix several old translation errors (#1609)
Giadej Oct 16, 2023
5cd5aa4
locale(fr): French full translation (#1613)
Oct 17, 2023
f35252e
fix: allow null as spool id response from spoolman (#1611)
meteyou Oct 18, 2023
6001c92
build(deps-dev): bump @babel/traverse from 7.23.0 to 7.23.2 (#1615)
dependabot[bot] Oct 19, 2023
6e21642
locale(fr):correction of several errors (#1614)
Bahoue Oct 19, 2023
c14873a
fix: fix filament type check in StartPrintDialog (#1620)
meteyou Oct 22, 2023
b445c8d
locale(fr):Correction of the term Unretract (#1628)
Bahoue Oct 26, 2023
6481c6f
chore: disable workbox logs (#1629)
meteyou Oct 29, 2023
e31e8ec
locale(da): Update Danish locale (#1634)
srbjessen Nov 2, 2023
049997a
chore: add workflow to check PR title for conventional commits (#1640)
meteyou Nov 3, 2023
af547b3
refactor: also allow FILAMENT_LOAD and FILAMENT_UNLOAD macros (#1639)
meteyou Nov 3, 2023
3666e29
build(cliff): add a new way to sort the commit groups (#1592)
pataar Nov 6, 2023
6ed57fc
feat: add buttons for PURGE_FILAMENT and CLEAN_NOZZLE (#1641)
meteyou Nov 6, 2023
3a651c9
fix: fix round issue in git commit list diff calculation (#1637)
meteyou Nov 8, 2023
182d954
fix: fix hide/show navi points in different languages (#1638)
meteyou Nov 8, 2023
3c0b537
build(deps): bump axios from 0.27.2 to 1.6.0 (#1647)
dependabot[bot] Nov 12, 2023
8f96faa
fix: fix adding multiple presets (#1636)
meteyou Nov 14, 2023
46c9d6f
fix: fix wrong output in temp chart tooltip (#1646)
meteyou Nov 18, 2023
ec399c2
fix: fix ETA 12hour detection if the user use default setting (#1657)
meteyou Nov 18, 2023
e8755fa
chore: update check_locale.yml to new github workflow output (#1584)
meteyou Nov 18, 2023
c36bfe6
fix: fix 12hour browser time format detection (#1660)
meteyou Nov 23, 2023
0ecd818
locale(fr): Add translation clean_nozzle and purge_filament (#1645)
Bahoue Nov 23, 2023
c09ba2f
fix: fix 12-hour time format in ETA output (#1662)
meteyou Nov 28, 2023
98ebeef
feat: add different color maps for heightmap (#1666)
DustSwiffer Nov 28, 2023
1ad9334
feat: add option to change the save z-offset method (#1631)
meteyou Nov 28, 2023
ad18c1d
feat: add option to hide parts of the ToolheadPanel (#1621)
meteyou Nov 28, 2023
d278eff
locale(fr): Add HeightMapTab and others updates (#1667)
Bahoue Nov 29, 2023
70ad25a
chore: fix check-pr-title workflow to allow locale as type (#1663)
meteyou Nov 29, 2023
82f0647
feat(file browsers): add ability to quickly jump to any segment (#1659)
mdziekon Dec 1, 2023
0f695db
fix(pwa): make sure the service worker can be loaded (#1594)
pataar Dec 1, 2023
07d4eb4
feat: add macro prompt dialog (#1630)
meteyou Dec 3, 2023
465ddb5
fix: fix issue with hidden LED groups (#1669)
meteyou Dec 3, 2023
eab9060
refactor: fix linter issue in SettingsControlTab (#1677)
meteyou Dec 8, 2023
fdf3a93
fix: more tolerant with thumbnails sizes (#1674)
meteyou Dec 8, 2023
523d155
feat: add minimum_cruise_ratio support in MotionSettingsPanel (#1670)
meteyou Dec 8, 2023
c5b3f47
build(deps-dev): bump vite from 4.4.10 to 4.4.12 (#1671)
dependabot[bot] Dec 8, 2023
9395a81
feat: show filament sensor state even when it is disabled (#1656)
EiNSTeiN- Dec 8, 2023
dd7da32
feat: add option to hide parts of the ExtruderPanel (#1679)
meteyou Dec 9, 2023
7939357
feat(webcam): add support for go2rtc webrtc (#1651)
meteyou Dec 10, 2023
623bdae
feat: add moonraker init component check with warning (#1680)
meteyou Dec 10, 2023
af959d1
feat: resize heightmap to get a better heightmap overview (#1683)
meteyou Dec 13, 2023
d606319
fix: add anchor to regex for special msg replacement (#1635)
rackrick Dec 13, 2023
59c31e7
feat: light mode ui (#1580)
inhabitworker Dec 16, 2023
20524b0
fix: add port to webcam url if port is not 80 (#1566)
dictor93 Dec 16, 2023
c97dfbc
refactor: import unused getter from printer/getters (#1686)
meteyou Dec 16, 2023
eeaa6a4
feat: Improve contrast of job queue items count (#1678)
mdziekon Dec 16, 2023
ac698b7
locale(de): update german locale (#1687)
meteyou Dec 16, 2023
eb7773d
fix: add random colors, when colorArray is too small (#1688)
meteyou Dec 16, 2023
c92f4c0
fix: Incorrect sum of rest jobs printing time (#1689)
mdziekon Dec 16, 2023
af5a3e1
feat: add mmu.log to logfiles panel (#1685)
meteyou Dec 16, 2023
a56e50d
fix: fix panels squeezed on mobile when navi is open (#1690)
meteyou Dec 16, 2023
b3a0a21
chore: push version number to v2.9.0
github-actions[bot] Dec 16, 2023
0783b4e
docs(changelog): update changelog
meteyou Dec 16, 2023
00e04ee
fix: fix language switch (#1704)
meteyou Dec 25, 2023
45c8f3e
refactor: remove unused icon in SettingsGeneralTab.vue (#1705)
meteyou Dec 25, 2023
e4ffa6c
fix: only display section options which exists in ExtruderPanel (#1694)
meteyou Dec 25, 2023
3108389
fix: fix spoolman list (comment & location) (#1693)
meteyou Dec 25, 2023
4743eff
fix: fix theme issue in tempchart (#1706)
meteyou Dec 25, 2023
5b02b12
fix: fix aspectRatio in MjpegstreamerAdaptive (#1707)
meteyou Dec 26, 2023
1ad3410
fix: fix webcam url with multiple moonraker instances (#1713)
meteyou Dec 26, 2023
8b2b5ba
fix: fix icon for deleted files in the history (#1708)
meteyou Dec 26, 2023
2088693
locale(sv): update swedish translation (#1720)
eltacoloco Dec 29, 2023
74d4a48
fix(exclude_objects): fix order of objects in map (#1716)
meteyou Dec 30, 2023
6beca12
fix: fix tooltip of tempchart (#1715)
meteyou Dec 30, 2023
ff926bf
fix(exclude objects): fix tooltip position in object map (#1719)
meteyou Dec 30, 2023
caaca54
build(docker): fix docker release tags (#1723)
meteyou Dec 30, 2023
e86d918
build(changelog): fix issue with wrong urls in changelog.md (#1697)
meteyou Dec 30, 2023
74ff01b
fix: fix long initial time with huge print history (#1714)
meteyou Dec 31, 2023
d8ebc86
fix(temperature): hide multiple same temp presets in dropdown (#1724)
meteyou Dec 31, 2023
53fe09c
fix: only check initableServerComponents for init server check (#1725)
meteyou Dec 31, 2023
2ee81e5
chore: push version number to v2.9.1
github-actions[bot] Dec 31, 2023
c5cde36
docs(changelog): update changelog
meteyou Dec 31, 2023
a8aad31
build(deps): bump tj-actions/changed-files from 23 to 41 (#1727)
dependabot[bot] Jan 5, 2024
635283d
Merged with upstream.
goeland86 Jan 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Set update schedule for GitHub Actions

version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
# Check for updates to GitHub Actions every week
interval: 'weekly'

- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
allow:
# Ignore major updates to all dependencies. We're using old versions of some packages that are incompatible with newer versions of other packages.
- dependency-name: '*'
update-type: 'semver:non-major'
dependency-type: 'direct'
assignees:
- 'meteyou'
6 changes: 3 additions & 3 deletions .github/workflows/auto-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
auto-analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Check package.json was changed
id: changed-file-package-json
uses: tj-actions/changed-files@v23
uses: tj-actions/changed-files@v41
with:
sha: ${{ github.event.pull_request.head.sha }}

- name: Install node
uses: actions/setup-node@v3
if: contains(steps.changed-file-package-json.outputs.modified_files, 'package.json')
with:
node-version: '16'
node-version: 20
cache: 'npm'

- uses: preactjs/compressed-size-action@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Fetch repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install node
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: 20

- name: Install dependencies
run: npm ci
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Copy output
run: cp ${{ github.workspace }}/dist/mainsail.zip mainsail-latest.zip

- uses: actions/upload-artifact@v2.2.4
- uses: actions/upload-artifact@v3
with:
name: mainsail-latest.zip
path: mainsail-latest.zip
2 changes: 1 addition & 1 deletion .github/workflows/build_size_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'analyze')
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: preactjs/compressed-size-action@v2
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Check PR title

on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

jobs:
lint:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
fix
feat
perf
refactor
style
locale
docs
test
chore
build
ci
revert
requireScope: false
ignoreLabels: |
bot
ignore-semantic-pull-request
10 changes: 5 additions & 5 deletions .github/workflows/check_locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
run: sudo apt install -y jq

- name: Fetch repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Install node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v23
uses: tj-actions/changed-files@v41
with:
sha: ${{ github.event.pull_request.head.sha }}
files: 'src/locales/*.json'
Expand All @@ -43,10 +43,10 @@ jobs:
npm run i18n-extract -- --languageFiles=src/locales/${file##*/} --output=i18n-extract/${file##*/}
MISSING=$(cat i18n-extract/${file##*/} | jq '.missingKeys | length')
UNUSED=$(cat i18n-extract/${file##*/} | jq '.unusedKeys | length')
echo "::set-output name=$file::|${file##*/}|${MISSING}|${UNUSED}|"
echo "$file=|${file##*/}|${MISSING}|${UNUSED}|" >> $GITHUB_OUTPUT
done
- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
uses: thollander/actions-comment-pull-request@v2
with:
message: |
Language file analysis report:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Fetch repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Install node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci

- name: Run linters
uses: wearerequired/lint-action@v1
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
eslint_dir: src
eslint_extensions: ts,vue
eslint_extensions: ts,vue,json
2 changes: 1 addition & 1 deletion .github/workflows/label-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v2
- uses: dessant/label-actions@v3
25 changes: 15 additions & 10 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Create and publish a Docker image

on:
push:
branches: ['master', 'develop']
branches:
- 'develop'
tags:
- '*'
- 'v*'
pull_request:
branches:
- '*'
Expand All @@ -22,32 +23,36 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v1
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
type=edge,branch=develop
type=ref,event=tag
type=semver,pattern=v{{major}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
type=sha

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
push-version-number:
runs-on: ubuntu-latest
steps:
- name: Clone develop repository
uses: actions/checkout@v3
- name: Checkout develop branch
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
ref: 'develop'
Expand Down Expand Up @@ -50,18 +50,19 @@ jobs:

release:
needs: ['update-master-branch']
name: Build and release
runs-on: ubuntu-latest
steps:
- name: Fetch repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'master'
fetch-depth: 0

- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Install dependencies
run: npm ci
Expand All @@ -80,7 +81,7 @@ jobs:
echo "TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_OUTPUT

- name: Generate a changelog
uses: orhun/git-cliff-action@v1
uses: orhun/git-cliff-action@v2
id: generate-changelog
with:
config: ./cliff-release.toml
Expand All @@ -92,7 +93,7 @@ jobs:
with:
name: v${{ github.event.inputs.version }}
tag_name: v${{ github.event.inputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT }}
files: ./mainsail.zip
body: ${{ steps.generate-changelog.outputs.content }}

Expand Down Expand Up @@ -129,7 +130,7 @@ jobs:
echo "TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_OUTPUT

- name: Generate a changelog
uses: orhun/git-cliff-action@v1
uses: orhun/git-cliff-action@v2
id: git-cliff
with:
config: cliff.toml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
# container: cypress/browsers:node16.13.2-chrome97-ff96
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Install dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ design
*.log
packages/test
dist
dev-dist
temp
.vuerc
.version
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"semi": false,
"printWidth": 120,
"bracketSameLine": true,
"trailingComma": "es5",
"htmlWhitespaceSensitivity": "ignore",
"overrides": [
{
Expand Down
Loading
Loading