Commit Graph

81 Commits

Author SHA1 Message Date
Phil Merricks
b39577ad4d feat: 2-column dashboard layout toggle + local timelapse
2-column layout: settings toggle switches dashboard between 1-col
(current behaviour) and 2-col (Camera|Progress, Temps|AMS side by
side, motion cards in 2×2). Preference stored in localStorage only
(per-browser, not printer config). Mobile always stays 1-col via CSS.

Local timelapse: new TimelapseSpool class captures JPEG frames from
the camera stream during a print at a configurable interval (default
4s) and encodes them to MP4 with ffmpeg on print end. Stored in
data/timelapses/, indexed in SQLite. New /kx/timelapses API + browser
tab in the file store panel with download and delete. Also wires the
undocumented printer-native timelapse MQTT field as an experimental
opt-in setting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 22:20:35 +01:00
Phil Merricks
cfe46b4cad feat: add vibration_compensation and flow_calibration print settings
Expose resonance compensation and flow calibration as configurable
toggles in the settings UI, config.ini [print] section, and CLI args.
Both default to 0 (off). Previously hardcoded to 0 in all three
print-start MQTT payload paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 12:21:29 +01:00
Phil Merricks
250e89f18a fix: slot assignment dialog now matches "PLA Silk", "Matte PLA" etc. to PLA slots
_normalizeMaterialKey now scans all space-separated words in a slot label and
returns the first known base material type found. This handles both "modifier
first" ("Matte PLA") and "modifier last" ("PLA Silk", "PLA Matte") patterns,
which arise when users label slots with full product-style names while OrcaSlicer
writes only the base type (PLA, PETG, …) in GCode comments.

Dash-suffix composites ("PLA-CF", "PETG-CF") contain no space and are unchanged,
preserving correct incompatibility with their base types.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 12:05:11 +01:00
031e34d8ea merge: PR #42 — Dryer toggle false error (@gangoke)
ACE-Dryer setDry geht jetzt fire-and-forget (timeout=0, kein Response-
Check). Drucker führt den Befehl korrekt aus, aber liefert code:0
statt code:200 — was eine 502-Fehlermeldung in der Bridge-UI auslöste
obwohl der Trockner-Toggle eigentlich funktioniert hat.

Pattern identisch zu setAutoFeed (Z.3161).
2026-06-01 14:28:42 +02:00
Gangoke
fc89dfffa5 fire and forget setDry 2026-05-31 17:27:01 -10:00
ac695ecf36 build: sources for v0.9.18 2026-05-31 19:53:36 +02:00
23b8a69065 merge: PR #40 — Spanish Translation Fixes (@pezfisk)
Native-speaker review der spanischen Übersetzung — fehlende Akzente
(impresión, cámara, después, animación, …) und sprachliche
Korrekturen (Pause→Pausa, Start→Iniciar, Layer→Capa, Stream→Stream).
Zusätzlich neue README.es.md plus Links in README.md + README.de.md.
2026-05-31 18:42:06 +02:00
22dc58258c Spanish translation 2026-05-31 15:47:19 +02:00
e4b4d091f3 Spanish translation 2026-05-31 15:42:28 +02:00
ba209827ce build: sources for v0.9.17 2026-05-30 19:32:39 +02:00
d26b37b332 build: sources for v0.9.17 2026-05-30 19:29:10 +02:00
6f269833d2 merge: PR #37 — Language Refactor (@gangoke)
Sprach-System modernisiert:
- Inline-JS-Translations → web/translations/{de,en,es,zh-cn}.json
- Toggle-Button → Dropdown mit Globe-Icon
- Browser-Locale-Detection mit LocalStorage-Priorität
- Backend-Route /kx/ui/translations/<lang>.json (regioned codes wie zh-cn)
- de.json fd_used 'GENUTZT' → 'BELEGT' (Slot-Kontext lesbarer)
- ES + ZH-CN sind AI-übersetzt (Hinweis im PR)
2026-05-30 18:28:58 +02:00
d808cd3ea8 fix(de): fd_used 'GENUTZT' → 'BELEGT' (klingt im deutschen Slot-Kontext natürlicher) 2026-05-30 18:28:28 +02:00
Gangoke
ecd444525a additional mappings and translations 2026-05-28 17:40:22 -10:00
Gangoke
d4bb79a68f revert docker-compose to image 2026-05-28 14:43:06 -10:00
Gangoke
cdaf74985c locale detection to auto select language if user didnt change language manually 2026-05-28 14:41:44 -10:00
Gangoke
8383c59b39 language refactor, baseline, de, en, es, zh-cn 2026-05-28 14:34:17 -10:00
1645de4cad fix: Review-Fixes für PR #32 (Content-Disposition + DE-Übersetzungen)
Nach Squash-Merge von #32 die Reviews-Anpassungen nachgereicht, die im
Dev-Repo (viewit/KX-Bridge@7c834bc) bereits enthalten waren:

- Content-Disposition mit RFC5987 filename*=UTF-8 + ASCII-Fallback
- DE-Strings im Verify-Dialog übersetzt (msg/confirm/abort)
2026-05-27 23:38:05 +02:00
42898c385c feat: GCode Web-Upload + Download + Verify-Dialog (PR #32)
Übernommen mit Anpassungen aus PR #32 von @gangoke:
- Drag&Drop GCode-Upload
- Download-Button pro Datei
- Web-Upload-Verify-Dialog (persistent Flag, global abschaltbar)

Review-Fixes:
- Content-Disposition mit RFC5987 filename*= + ASCII-Fallback
- DE-Strings übersetzt

Dev-Repo: viewit/KX-Bridge@7c834bc
Co-authored-by: gangoke <gangoke@noreply.localhost>
Co-committed-by: gangoke <gangoke@noreply.localhost>
2026-05-27 23:37:41 +02:00
6c5dd14dbd fix: config/config.ini und data/ ignorieren
Bei lokaler Nutzung von docker-compose im Release-Repo legt die Bridge
config.ini (mit Drucker-Credentials!) und data/ (SQLite, GCode-Store) an.
Diese Pfade dürfen niemals im öffentlichen Release-Repo landen.
2026-05-23 23:18:51 +02:00
c2d16270bc feat: docker-compose nutzt Registry-Image als Default
gitea.it-drui.de/viewit/kx-bridge:latest wird automatisch beim Push gebaut
(multi-arch amd64+arm64). 'build: .' bleibt als Kommentar für Self-Builder.
2026-05-23 23:14:59 +02:00
fd4b9b1254 docs: 'docker compose pull' als Update-Weg im README ergänzen
Bridge wird jetzt automatisch als Multi-Arch-Image (amd64+arm64) nach
gitea.it-drui.de/viewit/kx-bridge gebaut. Nutzer können mit
'docker compose pull && docker compose up -d' updaten.
2026-05-23 23:14:07 +02:00
21cd356757 docs: OrcaSlicer-KX (gepatchter Slicer) im README verlinken 2026-05-23 12:57:50 +02:00
40a27a47fc build: sources for v0.9.16 2026-05-22 11:26:16 +02:00
7815c66a82 build: sources for v0.9.15 2026-05-21 21:17:41 +02:00
312b4083d2 build: sources for v0.9.14 2026-05-21 14:35:25 +02:00
534ea41816 docs: Update-Warnung im 0.9.13-CHANGELOG 2026-05-20 17:56:50 +02:00
f1bfab969c build: sources for v0.9.13 2026-05-20 15:14:37 +02:00
81729c37a5 build: sources for v0.9.12 2026-05-20 15:00:02 +02:00
fe1ed4b096 build: sources for v0.9.11 2026-05-20 11:12:53 +02:00
33fffa0fc0 docs: GPLv3 LICENSE + NOTICE + License-Hinweise in README EN/DE 2026-05-19 22:23:22 +02:00
d040475a62 release: v0.9.10 2026-05-17 22:33:07 +02:00
9f6b6a8518 release: v0.9.9 2026-05-14 17:23:05 +02:00
5eda8a241f docs: README.md englisch + README.de.md deutsch mit Sprach-Cross-Link 2026-05-12 19:41:16 +02:00
2aaaa5bbbe README.de.md aktualisiert 2026-05-12 17:20:38 +02:00
374457fb07 release: v0.9.8 2026-05-12 15:05:35 +02:00
618f1039c3 release: v0.9.7 2026-05-08 18:24:14 +02:00
e98a3706be Merge pull request 'enable http communication with printer to fetch user and password' (#19) from bebu/KX-Bridge-Release:feature/fetch_credentials into master
Reviewed-on: viewit/KX-Bridge-Release#19
2026-05-08 16:17:42 +02:00
e8bd362d34 README.md aktualisiert 2026-05-08 16:11:40 +02:00
377a7a4984 README.de.md aktualisiert 2026-05-08 16:11:03 +02:00
9279036c51 enable http communication with printer to fetch user and password 2026-05-07 12:49:10 +02:00
ce63cc5e7a fix: YouTube Thumbnail auf hqdefault 2026-05-04 14:39:00 +02:00
5c83cc6df0 docs: Video Tutorial in README 2026-05-04 14:37:10 +02:00
be11217896 release: v0.9.6.1 v0.9.6.1 2026-05-02 21:31:54 +02:00
0292785fd8 release: v0.9.6.1 2026-05-02 21:27:19 +02:00
50419fb487 release: v0.9.6 v0.9.6 2026-05-02 20:58:40 +02:00
f196b8d29a release: v0.9.5 v0.9.5 2026-05-01 18:09:24 +02:00
1d3c5a7e1b release: v0.9.4 v0.9.4 2026-05-01 11:24:08 +02:00
c22296d880 chore: sync v0.9.3 – alle Fixes, CHANGELOG, README, VERSION 2026-05-01 10:36:09 +02:00
d9d3581e22 fix: VERSION ins Dockerfile, STABLE_RELEASE_API fix, Version im Header (#14) v0.9.3 2026-05-01 10:11:54 +02:00