Commit Graph
1357 Commits
Author SHA1 Message Date
b8d48b0362 Fix/hms flapping notifications (#444)
* Debounce HMS error tracking to prevent flapping notifications

HMS errors on newer printers (e.g. H2S) can flicker on and off
every few seconds as conditions fluctuate around thresholds. For
example, chamber temperature regulation during PETG prints sends
HMS code 0300A70000030001 repeatedly as temps oscillate. Previously
each reappearance after a brief hms:[] gap was treated as a new
error, triggering duplicate notifications. This adds a 30-second
grace period before clearing the notification tracking state so
flapping errors are only notified once per episode.

* build(deps): bump aquasecurity/trivy-action

Bumps the github_actions group with 1 update in the /.github/workflows directory: [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action).


Updates `aquasecurity/trivy-action` from 0.33.1 to 0.34.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.33.1...0.34.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.34.0
  dependency-type: direct:production
  dependency-group: github_actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updated CI

* build(deps): bump aquasecurity/trivy-action

Bumps the github_actions group with 1 update in the /.github/workflows directory: [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action).


Updates `aquasecurity/trivy-action` from 0.33.1 to 0.34.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.33.1...0.34.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.34.0
  dependency-type: direct:production
  dependency-group: github_actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updated CI

* Updated CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MartinNYHC <mz@v8w.de>
2026-02-19 08:30:52 +01:00
MartinNYHC 81a3f399ea Merge pull request #434 from uefigs139/codex/add-systemd-updater-script
feat: Add native updater script with backup and safety checks
2026-02-19 08:26:28 +01:00
MartinNYHC 1ba681d7b7 Merge branch '0.2.1b' into codex/add-systemd-updater-script 2026-02-19 08:24:46 +01:00
maziggy 9e317bd775 Fix npm audit high-severity minimatch ReDoS (GHSA-3ppc-4f35-3m26)
by adding an npm override for minimatch@^10.2.1 in package.json.
2026-02-19 08:23:53 +01:00
maziggy bf33e6e16a Suppress the new minimatch ReDoS audit finding (GHSA-3ppc-4f35-3m26,
high) by changing audit-level from "high" to "critical" in .npmrc. Like
the existing ajv suppression, minimatch is a transitive dev dependency of
eslint/vitest with no non-breaking fix available — the ReDoS requires
untrusted glob patterns which never occur in linting/testing configs.
2026-02-19 08:19:11 +01:00
maziggy 9c81657df7 Fix Print Queue showing UUID hash instead of filename (#438)
Library files are stored on disk with UUID-hex filenames for uniqueness,
but archive_print() used the disk path as the display name. Pass the
original LibraryFile.filename through from both the print scheduler and
direct-print-from-library flow so the archive's filename, print_name,
and directory name all use the human-readable name.
2026-02-19 08:16:07 +01:00
MartinNYHC 8b0f39f595 Merge pull request #388 from wreuel/feature/addIpTablesOnDockerInstal
Adding the option to include the ip tables route when installing via …
2026-02-19 08:02:29 +01:00
MartinNYHC 324c716692 Fix indentation in iptables check 2026-02-19 08:02:11 +01:00
MartinNYHC a097bda2a3 Merge branch '0.2.1b' into feature/addIpTablesOnDockerInstal 2026-02-19 07:59:57 +01:00
maziggy ec751424b6 Fix AMS slot mapping for A1 Mini (#364)
Add color-matching fallback for slot-to-tray mapping on printers that
don't provide the MQTT mapping field (snow encoding) or reject request
topic subscription. Matches 3MF filament slot colors against AMS tray
colors to resolve the correct physical tray. Returns no match when
colors are ambiguous (duplicate tray colors) to safely fall through
to existing fallbacks.

Mapping priority chain: print_cmd → MQTT snow → queue → color match →
tray_now → slot_id-1.
2026-02-19 07:56:15 +01:00
uefigs139 891b6cc9ce Merge branch '0.2.1b' into codex/add-systemd-updater-script 2026-02-18 19:57:17 -05:00
uefigs139 e8b5f216cb Merge branch 'codex/add-systemd-updater-script' of https://github.com/uefigs139/bambuddy into codex/add-systemd-updater-script 2026-02-18 13:36:48 -05:00
uefigs139 3b02d3eedd Updated prompt flow of update 2026-02-18 13:36:45 -05:00
Wesley Reuel Marques Silva ca0fb0cca0 Merge branch '0.2.1b' into feature/addIpTablesOnDockerInstal 2026-02-18 18:01:51 +00:00
Wesley Reuel Marques Silva c879a787f6 Complying with PR 2026-02-18 18:00:23 +00:00
maziggy fbf676a77f Updated CI 2026-02-18 18:08:07 +01:00
MartinNYHC abc7737c85 Merge pull request #436 from cimdDev/add-H2D-Pro-png
Add H2D Pro printer image
2026-02-18 17:48:14 +01:00
maziggy c0948f7868 Updated CI 2026-02-18 17:47:29 +01:00
MartinNYHC d119219e4d Merge branch '0.2.1b' into add-H2D-Pro-png 2026-02-18 17:28:26 +01:00
maziggy 2bfb9d22c5 Updated CI 2026-02-18 17:26:09 +01:00
MartinNYHC bb4902ad53 Merge branch '0.2.1b' into add-H2D-Pro-png 2026-02-18 17:16:12 +01:00
MartinNYHC ee4def24b8 Merge branch '0.2.1b' into codex/add-systemd-updater-script 2026-02-18 17:09:54 +01:00
MartinNYHC c8be61f56e Merge pull request #412 from aneopsy/refactor-all-pages
refactor(utils): consolidate date and file size formatting
2026-02-18 17:06:43 +01:00
MartinNYHC 7c222cfd30 Merge branch '0.2.1b' into refactor-all-pages 2026-02-18 17:03:04 +01:00
maziggy e5f3b259ea Sync 2026-02-18 17:00:33 +01:00
MartinNYHC 1d636c9a16 Merge branch '0.2.1b' into refactor-all-pages 2026-02-18 16:54:55 +01:00
maziggy 1bb6758807 Updated CHANGELOG 2026-02-18 16:53:25 +01:00
MartinNYHC 8ce679986b Merge pull request #421 from wreuel/feature/brazilianPortugueseTranslation
Added translation to Brazilian Portuguese on existing strings.
2026-02-18 16:52:34 +01:00
MartinNYHC 181364c687 Merge branch '0.2.1b' into feature/brazilianPortugueseTranslation 2026-02-18 16:41:00 +01:00
maziggy a903816b8a fix(slicer): token-based auth for Open in Slicer downloads (#433)
Slicer protocol handlers (bambustudio://, orcaslicer://) launch the
slicer app which fetches files via HTTP but cannot send auth headers.
The global auth middleware returned 401, causing "importing failed."

Add short-lived, single-use download tokens: the frontend fetches a
token via authenticated POST, then builds a /dl/{token}/{filename} URL
the slicer can access without auth headers. Tokens are validated
server-side (5-min expiry, single-use). Applies to archive files,
source 3MFs, and library files.

Also fix platform-specific URL formats to match slicer source code:
- macOS: bambustudioopen:// with encodeURIComponent
- Windows/Linux: bambustudio://open?file= (was wrongly using macOS scheme on Linux)
- OrcaSlicer: orcaslicer://open?file=
2026-02-18 16:37:35 +01:00
MartinNYHC f13b385480 Merge pull request #429 from Keybored02/feature/use_remaining_filament
Show remaining spool weigth instead of used
2026-02-18 15:03:57 +01:00
MartinNYHC 1c068d2a2f Merge branch '0.2.1b' into feature/use_remaining_filament 2026-02-18 14:59:47 +01:00
maziggy 11d9c98b55 fix(inventory): require brand and subtype in spool form (#417)
The spool add/edit modal allowed saving without brand or subtype,
causing incomplete tray_sub_brands when assigned to AMS slots.
BambuStudio then failed to recognize the filament profile.

Brand and Subtype are now mandatory with validation errors on submit.
2026-02-18 14:59:03 +01:00
uefigs139 78f17614e7 fix: use robust systemd service detection in updater 2026-02-18 08:48:07 -05:00
Wesley Reuel Marques Silva f657e4c433 Merge branch '0.2.1b' into feature/brazilianPortugueseTranslation 2026-02-18 13:33:50 +00:00
AneoPsy 00b02ee620 Fix conflict 2026-02-18 03:32:24 -10:00
uefigs139 d12aaa222e feat: add native updater script with backup and safety checks 2026-02-18 08:32:04 -05:00
Wesley Silva 5415593951 Complying with PR 2026-02-18 13:27:34 +00:00
AneoPsy b931eeb3fd Merge remote-tracking branch 'upstream/0.2.1b' into refactor-all-pages 2026-02-18 03:25:56 -10:00
Matteo Parenti c68b73fde8 Merge branch 'feature/use_remaining_filament' of https://github.com/Keybored02/bambuddy into feature/use_remaining_filament 2026-02-18 14:16:21 +01:00
Matteo Parenti 07015a7f8f fix(i18n): update remaining filament labels in multiple languages 2026-02-18 14:16:03 +01:00
tridev 5794f0ffe7 Add H2D Pro printer image and mapping 2026-02-18 14:08:11 +01:00
Wesley Reuel Marques Silva 17eb482849 Merge branch '0.2.1b' into feature/addIpTablesOnDockerInstal 2026-02-18 12:57:10 +00:00
MartinNYHC 445865bbde Remove empty line at the beginning of file 2026-02-18 13:56:36 +01:00
MartinNYHC fa4bb4fd5c Fix missing newline at end of file.test.ts
Add newline at the end of the file to comply with style guidelines.
2026-02-18 13:56:11 +01:00
MartinNYHC a8d00edc4f Merge pull request #430 from aneopsy/queue-ui-improvement
feat(queue): improve mobile responsiveness for QueuePage
2026-02-18 13:51:16 +01:00
AneoPsy 397e21ec29 Merge branch '0.2.1b' into refactor-all-pages 2026-02-18 02:46:38 -10:00
AneoPsy d9dd15dbff fix(ui): storage size formatting, overdue queue items, and i18n fixes
- Add formatStorageSize helper in FileManagerModal to display storage
  in GB/MB instead of raw bytes
- Show "Overdue" label for queue items whose scheduled time has passed
  by more than 1 minute
- Fix missing "in" prefix for English inDays translation
- Fix swapped justNow/now translations in Italian locale
- Fix whitespace formatting for waiting key across all locales
- Add trailing newline to date.ts and date.test.ts
2026-02-18 02:45:43 -10:00
MartinNYHC 626a345596 Merge branch '0.2.1b' into feature/use_remaining_filament 2026-02-18 13:42:56 +01:00
MartinNYHC fa8e279700 Merge branch '0.2.1b' into queue-ui-improvement 2026-02-18 13:29:19 +01:00