Compare commits

..
591 Commits
Author SHA1 Message Date
Stefan Dej ebf74860f4 release v2.1.2 (#639) 2022-02-14 22:41:58 +01:00
Stefan Dej ed0a6976c1 Merge branch 'develop' 2022-01-28 19:28:50 +01:00
Furrciak 1c4127acf2 locale(pl): additional fix for polish language (#592) 2022-01-28 19:27:53 +01:00
Furrciak a121e56085 locale(pl): fix polish translation (#589) 2022-01-28 19:27:34 +01:00
Stefan Dej 010b3ac55b chore: push version number to v2.1.1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-27 22:19:40 +01:00
FurrciakandStefan Dej b944af5448 locale(pl): polish translation (#581)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-01-27 22:15:55 +01:00
srbjessen 0f0180bc50 locale(da): danish - minor updates, missing tags and removed "deceleration" (#578) 2022-01-27 21:55:59 +01:00
Stefan Dej 7148bebef2 Merge remote-tracking branch 'origin/develop' into develop 2022-01-27 21:41:49 +01:00
Stefan Dej 63c90c7eb6 Merge branch 'master' into develop 2022-01-27 21:41:37 +01:00
lixxbox ed45815d3b docs: fix some broken links (#580)
fix some broken links
2022-01-27 14:24:43 +01:00
Stefan Dej d856b73cd1 fix: polling klippy error messages (#571) 2022-01-26 01:36:36 +01:00
Stefan Dej 86d3421f1e Merge remote-tracking branch 'origin/develop' into develop 2022-01-23 20:20:22 +01:00
Stefan Dej b5b25bd90c Merge branch 'master' into develop 2022-01-23 20:20:10 +01:00
Stefan Dej 0db74e9e37 fix: hide second notification in timelapse > remove mp4 (#572) 2022-01-23 20:11:27 +01:00
Pedro Lamas be0063e2a0 chore(build): Sets Node engine to version 16 (#569) 2022-01-23 00:26:03 +01:00
Zhu QianandStefan Dej b743467bca locale(zh): Update zh.json (#557)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-01-23 00:23:43 +01:00
Pedro Lamas 8a9bc456b6 chore: Use node 16 for base docker image (#568) 2022-01-23 00:18:21 +01:00
th33xitus 75aad8b880 fix: input field and spinner bug (fixes #551) (#555) 2022-01-22 10:29:53 +01:00
Stefan Dej 7fc5e298ad fix: delete remote printers dont work (#564) 2022-01-22 00:44:38 +01:00
Stefan Dej 1de95b12ec fix: farm printer switch and display klippy connection errors (#563) 2022-01-22 00:18:15 +01:00
Stefan Dej 1e54c92b00 fix: default color mode in gcodeviewer was wrong (#559)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-20 22:51:51 +01:00
Stefan Dej 8eb67ae2b6 fix: read nozzle_diameter from klipper config in gcodeviewer (#558)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-20 22:38:31 +01:00
Paul Cutlerandlixxbox 69bb61a30d docs: Update prepare themes page with review feedback (#554)
Followup to #486 

Signed-off-by Paul Cutler paul@paulcutler.org
Co-authored-by: lixxbox <lixxbox@users.noreply.github.com>
2022-01-20 15:31:26 +01:00
lixxbox a3ad590d4b docs: fix macro link 2022-01-20 13:16:54 +01:00
Paul Cutler 702981e324 docs: Review Themes Chapter in Documentation (#486)
* Review Themes Chapter and fix typos, grammar and readability

Signed-off-by Paul Cutler paul@paulcutler.org
2022-01-19 22:45:23 +01:00
lixxbox b4764194b0 docs: additions to the readme/index for 2.1 (#543) 2022-01-19 22:40:44 +01:00
deddoggo d5694835d0 locale(it): IT translation update (#553) 2022-01-19 22:31:35 +01:00
Stefan Dej 25a4c3e476 Merge branch 'develop' into release/v2.1.0 2022-01-19 20:22:55 +01:00
Emperor 19496a1f0a locale(ru): Update RU v2.1 (#552)
* Update RU v2.1
2022-01-19 20:20:38 +01:00
Stefan Dej 1a8a9558d3 feat: send gcode macro with keyup enter (#544)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-19 19:47:25 +01:00
steadyjaw d94543207f bugfix: fix capitalization of bed_mesh names and renaming functions (fix #545,#546) (#547)
* fix: remove text-transformation on rename-button
* fix: remove toUpperCase on renameProfile
* fix: add remove command to renameProfile
2022-01-19 19:39:17 +01:00
Stefan Dej 9c70a0cafa docs: update screenshot to v2.1.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 22:41:20 +01:00
Stefan Dej c5aaa2f79f Merge branch 'develop' into release/v2.1.0 2022-01-18 22:08:02 +01:00
th33xitus 595c937d50 fix: improve machine settings number inputs (#537)
* fix: truncate excessive decimal places

fix: add `toString` casting to labels

fix: disable spinner appropriately

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: allow smooth time with 3 decimal places

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: disable both spinners if input value triggers error

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add spinnerFactor prop

Simple multiplicator that can be used in combination with spinners to increase/decrease values with a different step size.

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: smooth time step size of 0.001

fix: spinnerFactor of 10

Allows for manual input of numbers with 3 decimal places. Spinners will still increase/decrease by 0.01

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add hasSpinner prop

Allows for individually activating/disabling spinners on a number input field

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: add sane values as spinnerFactor for motion and fw retract spinners

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: nullish coalescing operator logic

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-18 22:07:27 +01:00
Stefan Dej 28a6f5a813 chore: update package-lock.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 20:56:51 +01:00
Stefan Dej 4901d4992c chore: push version number to v2.1.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 20:54:58 +01:00
Stefan Dej 56d61ce6ae fix: ipv6 issues with encodeURI
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 20:47:46 +01:00
Paul Cutler be2efac9fd docs: Update Quicktips (#518)
Reiview and update the whole Quicktip section with better readability, grammar and spelling.

Signed-off-by Paul Cutler paul@paulcutler.org
2022-01-18 14:14:53 +01:00
Kevin Nguyen 7b19c902de fix: encodeURI for thumbnails and timelapse files (#539)
GET requests including file names with special characters such as '%' will properly encode the request to the server.
2022-01-18 01:04:16 +01:00
Morten Lindhardt bf60aef344 fix: set default for min_extrude_temp (#540)
* fix: set default for min_extrude_temp

Signed-off-by: Morten Lindhardt <r3fuze@gmail.com>

* fix: use settings instead of config
2022-01-18 01:02:34 +01:00
Stefan Dej 674ad36ddb fix: klippy connected/disconnected change
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 00:25:36 +01:00
lixxbox f535ccf493 docs: add redirect dor configuration 2022-01-16 21:13:09 +01:00
Stefan Dej 06bf0acdc3 fix: workaround to display download status in gcode-viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-16 20:37:33 +01:00
Stefan Dej 5307412484 fix: workaround to display download status in editor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-15 01:29:44 +01:00
Stefan Dej bd7cf76076 fix: hide snackbar details if total not available
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-14 22:47:22 +01:00
Stefan Dej aa4c269eab fix: sort mcus in SystemPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-14 20:49:11 +01:00
Stefan Dej d7c2dc5033 fix: sort endstops in EndstopPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-14 20:47:42 +01:00
CodingJustForRun 9da5c356f7 locale(hu): 2022 01 12 update (#531)
one key updated
2022-01-12 21:46:36 +01:00
CodingJustForRun bd5723dda6 locale(hu): hun update 20220110 as requested :) (#530) 2022-01-12 21:46:15 +01:00
Stefan Dej 3ab0a5952a locale: fix keys in top corner menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-12 20:53:48 +01:00
Stefan Dej d76343b7bb fix: fix locale output in confirm dialog for service control
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-10 21:04:44 +01:00
Bart Lammers d94e9f18f3 locale(nl): Update NL locale (#529) 2022-01-10 19:09:09 +01:00
cgrossi70 4610eb70bc locale(es): Traslation Spanish RC1 (#528) 2022-01-10 19:08:28 +01:00
srbjessen 649bbaa7dc locale(da): Updated Danish translations (#527) 2022-01-10 19:07:07 +01:00
lixxbox 887da6745a docs: themes / changed name to cryd-s
user changed the name of his github account
2022-01-10 14:22:05 +01:00
Stefan Dej b7e94ba25e locale(fr): update FR locale
thx to Roland Forster

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-09 23:23:26 +01:00
Stefan Dej 629e0f2f7c fix: request metadata for gcode files, when using search function
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-09 11:27:38 +01:00
Stefan Dej e919a81536 Merge remote-tracking branch 'origin/develop' into develop 2022-01-08 01:25:18 +01:00
Stefan Dej d6b98639c1 feat: ignore timelapse pause state during a print
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-08 01:25:07 +01:00
steadyjaw 4ac9b56775 refactor: change default colors (#523)
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-08 00:45:04 +01:00
steadyjaw e0c1330c4a Fix: control panel cross style (#524)
* fix: input rules and move message text to locales
* fix: omit duplicate entries in comboxes
* fix: add key to button group

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-08 00:44:46 +01:00
steadyjaw 0d89f42935 Fix: zSlider and clear button in gcodeviewer (#522)
* refactor: enable zSlider when tracking
* fix: set zSlider to max on start tracking
* fix: disable tracking when pressing CLEAR

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-07 21:41:29 +01:00
Stefan Dej 1e5c6c39de Merge remote-tracking branch 'origin/develop' into develop 2022-01-07 21:32:53 +01:00
steadyjaw ff782d9d04 Fix: control settings (#520)
* fix: input rules and move message text to locales
* fix: omit duplicate entries in comboxes

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-07 21:28:01 +01:00
Stefan Dej 61c2ba38b0 fix: gcode files view with queue on mobile devices
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-07 21:16:26 +01:00
Stefan Dej 65cb342cb8 locale(da): fix typo in locale file
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 23:30:19 +01:00
Stefan Dej 81e78e770c Merge remote-tracking branch 'origin/develop' into develop 2022-01-06 23:27:03 +01:00
CodingJustForRun 5ed63ed27f locale(hu): Hu updated for the latest eng local (#517)
all eng changes follow up has been made
2022-01-06 23:26:37 +01:00
srbjessenandStefan Dej c831d33873 locale(da): Minor changes and spellchecking (#512)
* Update da.json
* locale: fix typo in translation name
* locale: add last translations
* Update da.json

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 23:25:55 +01:00
th33xitus 55df4da104 feat: add displaying/sorting of/by more gcode metadata (#519)
adds displaying of and sorting by nozzle diameter, filament name and filament type metadata

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-06 23:24:31 +01:00
Stefan Dej e3db2731ab fix: only update / send temp commands if they are changed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 13:11:35 +01:00
Stefan Dej f81c253e85 Merge remote-tracking branch 'origin/develop' into develop 2022-01-06 13:05:08 +01:00
Stefan Dej ec67ab3033 fix: only update / send temp commands on blur if they are changed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 13:05:03 +01:00
steadyjaw 8acf2b3b7e refactor: change panel expansion indicator (#516) 2022-01-06 10:48:51 +01:00
steadyjaw 3d14e8ba46 fix: button and input placement based on screen width (#515) 2022-01-06 10:48:15 +01:00
steadyjaw 450c3db1e6 fix: sidebar logo and top-sidebar overlay (#514) 2022-01-06 10:47:49 +01:00
Stefan Dej 39dbebb2d2 locale(de): add temp too high/too low messages to locale file
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 16:30:16 +01:00
Stefan Dej 94f60516c1 locale: add "Temp too high", "Temp too low" output to i18n in ToolsPanel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 15:37:58 +01:00
Stefan Dej 098c946dde fix: send temp input only when blur, select value or press enter or tab key
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 15:13:43 +01:00
Stefan Dej 97020863d2 refactor: sort buttons in status panel toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 14:12:53 +01:00
Stefan Dej d1218aa0f5 fix: hide fps in farm printer panel with mjpegstreamer webcam
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 02:27:29 +01:00
Stefan Dej dc4a322420 fix: restart stream when switching between mjpegstreamer webcams
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 01:48:27 +01:00
Stefan Dej 2ff9e5a111 fix: webcam selector doesnt work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 01:48:00 +01:00
lixxbox 058688d470 docs: first boot - fix info box 2022-01-04 23:05:22 +01:00
th33xitus 26ed70b4a7 refactor: improve confirmation dialog visuals (#508)
* chore: improve confirmation service host control visuals
* fix: add missing klipper restart condition
* i18n: improve wording of english and german translation

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-04 21:25:54 +01:00
Paul Cutlerandlixxbox 7b3781ebaf docs: Update First Boot docs (#506)
* Update first boot page for readability and feedback

Signed-off-by Paul Cutler paul@paulcutler.org

* adjusted some codeblocks

Co-authored-by: lixxbox <lixxbox@users.noreply.github.com>
2022-01-04 16:15:56 +01:00
th33xitus 52ad699f92 fix: logical error causing issues with input fields (#507)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-03 22:49:09 +01:00
steadyjaw b2335b16f2 fix: remove buggy condition for sidebar overlay (#505)
* fix: remove buggy condition for sidebar overlay
* fix: add missing styling in iconsOnly Mode

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-03 12:06:55 +01:00
Paul Cutler a339cabc7d docs: Update Home Page and Setup Guides (#478)
* Update necessary-cfg for grammar and readability fixes
* Update homepage for typos, grammar and readability
* Update index.md in manual setup for readability
* Update for readability and make editing moonraker.conf a sub-chapter
* Update for readabiliy and grammar
* Update for readability and grammar
* Fix PR  #478 with review feedback - fix Klipper pause / resume
* Fix typo (missing s in preset)
* Make call to action stronger, remove "it is" for "time to print!"
* Improve readability on front page
* Update Kiauh page for readability and gramma
* Review and update Update guides for spelling, grammar, readabilty and localization
* Review updates from yesterday and fix some errors from updating the docs
* Apply feedback to fix typos for PR#478

Signed-off-by Paul Cutler paul@paulcutler.org
2022-01-03 10:10:17 +01:00
steadyjaw b6966f05ee fix: UI fixes related to feedback form beta-phase (#494)
* fix: truncated settings menu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change probe chips to label

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): change button color and make responsive

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change display helpers of some buttons

* fix(#390): encodeURI of thumbnails in files page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: responsivity of timelapse-page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): more responsiveness

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): no frames found visibility

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: tooltip on disabled retract /extrude buttons

* refactor(editor): show "read-only" in title if file is not writable

* fix: visibility of reload button

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: select printer dialog new ui style

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add attach prop to inputs w dropdowns

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: paddings of panels on spec. viewports

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: hide spin buttons on number inputs

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor:  hide-spin-buttons after merging timelapseTab

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: add overlay-scrollbar to sidebar

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: scrollbars in settingsmenu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: remember current path when leaving gcode-files-page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: remove comment in gcodefilespanel

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: remember current path in timlapse files panel

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: remember current path in config files panel

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: console text colors and add css classes

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: filepanel-path-persistance to new db layout

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: settings tab scrollbars

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: button logic in heigthmap

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: color  home button in heightmap

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: heightmap add color to small buttons

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: sidebar behavior on touch devices

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: reapply tooltip patch after merge

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: temp sidebar remove touch-condition

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: add save-action for non persistant settings

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: use new save action in setters

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-01 22:55:01 +01:00
Stefan Dej c1b344e94c Merge remote-tracking branch 'origin/develop' into develop 2021-12-31 22:55:29 +01:00
Stefan Dej 35f30aef4f chore: push version number to v2.1.0-rc1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 22:46:19 +01:00
Bart Lammers da72a4e272 locale(nl): add last 2.1-beta strings (#499) 2021-12-31 22:30:28 +01:00
deddoggoandStefan Dej e5b0ad292b locale(it): update IT to beta6 (#483)
* Beta3 IT

* Beta4 IT

* Beta6 (IT)

* locale: remove unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:51:18 +01:00
Stefan Dej a54813a167 locale(zh): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:46:44 +01:00
Stefan Dej 95a13c9c44 locale(zh-tw): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:45:23 +01:00
Stefan Dej d1905f100a locale(ru): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:44:50 +01:00
Stefan Dej a3a12882f8 locale(nl): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:44:07 +01:00
Stefan Dej ffa05ee1d5 locale(it): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:42:42 +01:00
Stefan Dej ea49345138 locale(hu): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:41:43 +01:00
Stefan Dej 83e10bde0c locale(de): fix missing entry
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:41:29 +01:00
srbjessenandStefan Dej 9895622cfa locale(da): update da.json (#491)
* Update da.json

* locale: fix typo in translation name

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale: add last translations

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:23:02 +01:00
cgrossi70 c38716ba2a locale(es): Correcciones de la Beta6 (#492) 2021-12-31 18:09:27 +01:00
Stefan Dej 88ecdcc3c6 locale: fix missing entry
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:07:30 +01:00
Stefan Dej 11f97d6289 locale(fr): update FR translation
thanks to Roland Forster

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 17:47:52 +01:00
Stefan Dej 706ed470c4 fix: hide webcam panel in config & dashboard if no webcam exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 17:33:57 +01:00
Stefan Dej a6c927508f fix: tooltip bug in sidebar with text + icons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 15:48:20 +01:00
Stefan Dej eeac987784 feat: convert presets from V2.0.1 to V2.1.0 moonraker DB
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 15:36:05 +01:00
Stefan Dej 275a268c43 fix: ignore wrong presets in moonraker db
this fixed a not displaying temp table

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 14:54:55 +01:00
th33xitus 9c37383787 fix: dispatch with correct keyName (#498)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-31 14:28:53 +01:00
th33xitus bc353a060d fix: ignore maxTouchPoints === 256 (#493)
It can occur, that a browser on Windows 10 reports a maxTouchPoints count of 256, even though the device is a desktop system without any touch functionality at all.
See also: https://stackoverflow.com/a/67909182

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-30 22:22:34 +01:00
lixxbox 5286be32b1 docs: fix theme 2021-12-27 10:49:52 +01:00
lixxbox 3bb52a566e docs: add new community theme "Cryd" 2021-12-27 10:43:43 +01:00
Stefan Dej 64e7626e04 chore: push version number to v2.1.0-beta6
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 09:59:32 +01:00
Stefan Dej deb81094d0 refactor: remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 09:45:57 +01:00
Stefan Dej 667bb2976d fix: reactivity of sidebar navi points
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 09:45:37 +01:00
Stefan Dej f404895126 locale: add KlipperStop to translate list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 01:34:13 +01:00
Stefan Dej 6a2617075b chore: push version number to v2.1.0-beta5
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 01:01:52 +01:00
Stefan Dej 2f984a6d5b Merge remote-tracking branch 'origin/develop' into develop 2021-12-26 00:56:22 +01:00
th33xitus d16f0e0fdf locale: update de translation (#482)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-26 00:53:44 +01:00
Stefan Dej d91e3a64ba feat: add tooltip by icon only sidebar navi
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 00:29:41 +01:00
Stefan Dej 81a7289194 feat: add special output text for klipper stop service
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 00:09:26 +01:00
Stefan Dej 4f65bd4ba2 refactor: remove old function in TheSidebar.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-25 23:54:27 +01:00
Stefan Dej 1934e29bad fix: settings menu in gcode files
dropdown menu was in the wrong direction

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-25 23:48:43 +01:00
Stefan Dej 73f445d005 feat: confirmation service host control (#481)
* feat: add confirmation for klipper/service/host restart/stop when printer is printing

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale: modify confirmation dialog names

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: en locale syntax

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: locale for service restart dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-25 23:46:37 +01:00
Stefan Dej e45d7d69d2 fix: settings menu in config files
dropdown menu was in the wrong direction

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-25 23:46:17 +01:00
Stefan Dej cd6a5c3b4a fix: tempchart length/duration issues
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 16:33:47 +01:00
Stefan Dej 0c4601e23a fix: check if settings object exists in getMiscellaneous
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 16:31:54 +01:00
Stefan Dej abec546575 fix: check if settings object exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 16:13:34 +01:00
Stefan Dej 93dd1e3034 fix: check if settings object exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 15:24:11 +01:00
Stefan Dej 1decdd2c57 fix: set default primary color in exclude object dialog map
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 13:19:51 +01:00
Stefan Dej 093cd7c5d4 refactor: add variable descriptions in variables.ts
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 01:11:03 +01:00
Stefan Dej a20bab62a5 fix: hide timelapse root directories in config files panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 01:00:10 +01:00
Stefan Dej 02ebeb8371 fix: modify text color of console output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 00:56:04 +01:00
Stefan Dej 814f23213e refactor: remove debug outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 00:52:18 +01:00
Stefan Dej f2a33a8e48 fix: recover gcode viewer after switching tabs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-24 00:35:04 +01:00
Stefan Dej 9df182f44a chore: update gcode-viewer to v2.1.17
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-23 23:39:33 +01:00
Stefan Dej ec832488a9 fix: hide stop moonraker service button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-23 22:44:35 +01:00
Stefan Dej 07d9b75425 fix: disable moonraker serive stop button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-23 22:16:33 +01:00
Stefan Dej a150d11e81 feat: highlight hovered objectname in exclude object dialog list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-23 22:15:07 +01:00
Stefan Dej cb87b4c198 feat: display release_info in SystemPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-22 21:31:49 +01:00
Stefan Dej f4b393053d feat: add fw_retract setting in timelapse setting menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-20 23:53:17 +01:00
Stefan Dej 97ace01908 refactor: remove old comment
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-20 23:46:30 +01:00
Stefan Dej 63f438671f fix: custom console filters were not displayed (rework moonraker db)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-20 22:58:53 +01:00
Stefan Dej 9a8c208930 fix: settings toggle to hide upload & print button doesnt work after store rework
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-20 22:54:25 +01:00
Stefan Dej f8bbc5e97c fix: min height in settings menu cut dropdown menus
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-20 00:02:42 +01:00
Stefan Dej 25d1267a07 fix: issue with tempchart/temphistory if the browser go into sleep mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 23:43:11 +01:00
Stefan Dej 1e090484ae fix: fix renamed moonraker db gui paths
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 21:26:51 +01:00
Stefan Dej 62f95cddf5 refactor: style heightmap tooltip
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 21:11:10 +01:00
Stefan Dej 5e865aa670 fix: axis name are undefined in the heightmap tooltip
fixed #471

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 21:05:32 +01:00
Stefan Dej 5b33db421d chore: update echarts packages
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 20:30:47 +01:00
Stefan Dej 684e65ed59 fix: fixe some renamed store paths
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 18:25:28 +01:00
Stefan Dej 7f6e6e5bdf feat: backup/restore/default moonraker db (#476)
* refactor: reset dbCheckboxes

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework moonraker db reset

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: add function to create a mainsail db backup

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: fix type of dbCheckboxes

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: first restore test

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: restore db from json file

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework gui store

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: rework gui store issues

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: rework gui store issues with extruder panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rename gui/macrogroups to gui/macros and move back to mainsail namespace

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: ignore simple hide macros settings in expert macro mode

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: init load bug

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rename gui/consolefilter to gui/console and move back to mainsail namespace and update gui/macros

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove old function in gui/macros

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework gui/presets

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework gui/gcodehistory

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: add all gui restart actions in gui restart action

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework gui/remoteprinters

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: control store gets

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework reset moonraker db in interface settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework backup moonraker DB

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: rework restore moonraker db

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: backup/restore moonraker db locale

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: backup/restore moonraker db locale, add tempchart

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: change tempchart settings wrong store path

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: add view locale to db backup/restore and delete old locale

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: use /config/.theme/default.json when reset moonraker db to fill in default values after reset

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: use /config/.theme/default.json when mainsail will be loaded the first time

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: add description to backup dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: save macrogroup update

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 17:06:43 +01:00
Stefan Dej c4181443e6 fix: hide timelapse console filter doesnt work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 16:58:29 +01:00
Stefan Dej a51d2167d0 locale(da): add DA language file
a big thx to SRBJ

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 13:14:08 +01:00
Stefan Dej 6c4bbdb5f9 locale(ru): fix ru language file for the word "Flow"
fix issue #477

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 13:11:35 +01:00
Stefan Dej b0e7e503ed locale(fr): update FR language file
a big thx to Ronald Forster

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-19 13:06:44 +01:00
th33xitus fae1cc4ab6 feat: custom number input spin buttons (#468)
* feat: pressure advance settings on dashboard

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: move pressure advance settings

* move pressure advance settings from PrintsettingsPanel to MachineSettingsPanel

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: custom number input spin buttons

* this feature adds custom spin buttons to the number inputs of the motion, pressure advance and firmware retraction settings

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-17 21:46:28 +01:00
th33xitus dda7a488bb fix: correct spelling of max_accel_to_decel input field (#475)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-17 21:44:44 +01:00
lixxbox a33d26f17a docs: thumbnails - replace prusaslicer screenshot 2021-12-13 13:02:31 +01:00
lixxbox 53d85223e8 docs: remove description for legacy slicers 2021-12-13 11:24:26 +01:00
lixxbox 003586cb7a docs: fix thumbnail toc 2021-12-13 11:22:49 +01:00
lixxbox 253ff4900c docs: add youtube videos for themes & thumbnails 2021-12-13 11:16:03 +01:00
lixxbox 91f2b2fa05 docs: fix link to pre-flight 2021-12-13 09:57:38 +01:00
lixxbox f6f7fce424 docs: removed duplicate entry
only renamed for now, in case the file is still needed.
2021-12-13 09:41:08 +01:00
lixxbox f0e3a0a77a docs: fix layout 2021-12-13 09:30:41 +01:00
lixxbox d190657221 docs: fix pre-flight
I have added entries to the table and fixed some links
2021-12-13 09:20:54 +01:00
Stefan Dej 0ba9d9c6b6 feat: display moonraker-timelapse error message (#467)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-11 22:11:28 +01:00
th33xitus 36b8acdcd9 fix: prevent duplicates (#464)
refactor: don't use regex

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-10 00:06:27 +01:00
Eike Ahmels 648bbe581e fix: fixed editor highlight stop bug (#462)
* image fix, grammar fix

* fixed suggestions bug, some cleanup from old editor, svg edge case

* FIX: save a file with special characters

* DOCU: new community theme, multi cam setup

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* FIX: editor highlight bug

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
2021-12-09 13:07:32 +01:00
cgrossi70 0bbab2182f locale(es): fix some missing translates (#461) 2021-12-09 08:22:59 +01:00
Stefan Dej 1298da15f2 feat: store last gcode commands in moonraker db (#460)
* feat: add console gcode history in moonraker db

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 23:22:30 +01:00
Stefan Dej 945a3f8eaf fix: change exclude object icon and cut object name, if it is too long
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 21:56:47 +01:00
th33xitusandStefan Dej abe66b4557 feat: pressure advance settings on dashboard (#459)
* feat: pressure advance settings on dashboard

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: motion setting input layout

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: use restart icon instead of refresh icon

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: fw retract settings input layout

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: move pressure advance settings

* move pressure advance settings from PrintsettingsPanel to MachineSettingsPanel

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: hide spin buttons in fw retract input fields

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: hide spin buttons in pa input fields

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: class assignment conditions in pa settings

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: define function return types

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: remove unused imports

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 20:01:11 +01:00
Stefan Dej 37a08a3a37 fix: disable print start dialog for non gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 19:40:52 +01:00
Stefan Dej 6844e6242c refactor: new sort of context menu options in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 19:39:48 +01:00
Stefan Dej de4efb514c fix: disable context menu options for not allowed file extensions in GcodefilesPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 19:39:12 +01:00
Stefan Dej 9d9e914533 fix: add file extension filter to drag&drop fileupload in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 19:35:35 +01:00
Stefan Dej 4037715c8d fix: add accept attribute to gcode file upload
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 18:26:38 +01:00
EmperorandStefan Dej f1724206f6 locale(ru): update translation file (#458)
* Update ru.json

* locale(ru): remove all unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* Update ru.json

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 00:45:46 +01:00
deddoggo 7005b87870 locale(it): update translation file (#455)
* Beta3 IT

* Beta4 IT
2021-12-08 00:43:54 +01:00
CodingJustForRunandStefan Dej 06cb14db46 locale(hu): update translation file (#454)
* New vesion based on changes in en version

ready for new release

* locale(hu): remove all unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* updated the 3 changes

Group and the 2 hidetimeleapse has been inserted.

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-08 00:42:54 +01:00
Stefan Dej 25062e5a36 fix: delete also timelapse preview image if exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-07 23:51:59 +01:00
Stefan Dej ca368867e2 fix: update job_queue start command
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-07 23:01:02 +01:00
Stefan Dej d654518c65 chore: push version number to v2.1.0-beta4
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-07 00:37:12 +01:00
steadyjaw 8021d5a7ad refactor: some fixes in 2.1.0 beta and minor changes to ui (#457)
* fix: truncated settings menu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change probe chips to label

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): change button color and make responsive

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change display helpers of some buttons

* fix(#390): encodeURI of thumbnails in files page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: responsivity of timelapse-page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): more responsiveness

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): no frames found visibility

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: tooltip on disabled retract /extrude buttons

* refactor(editor): show "read-only" in title if file is not writable

* fix: visibility of reload button

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: select printer dialog new ui style

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add attach prop to inputs w dropdowns

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: paddings of panels on spec. viewports

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: hide spin buttons on number inputs

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor:  hide-spin-buttons after merging timelapseTab

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-12-07 00:36:12 +01:00
Stefan Dej cb4910758e fix: wrong min/max position in current heightmap panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-07 00:17:40 +01:00
Stefan Dej af1809e025 fix: add hideTimelapse setting to console settings tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-07 00:07:19 +01:00
Stefan Dej 6277a7380d feat: add stream_delay_compensation and park_time to timelapse settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-07 00:02:09 +01:00
Stefan Dej 3bfeb4613c chore: update vuetify package (#456)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-06 00:17:08 +01:00
Stefan Dej e68bc016b6 chore: add overlayscrollbars to package.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-06 00:07:17 +01:00
Stefan Dej 0cf0311c54 chore: update vuetify package
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 23:58:42 +01:00
Jérôme W 8110b2f7b7 fix: support for printer farm in https mode (#452) 2021-12-05 18:58:17 +01:00
04ead521b0 locale(nl): NL translations for 2.1-beta (#453)
* locale: NL translations for 2.1-beta

* locale(nl): remove all unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale: NL add missing key

Co-authored-by: Bart Lammers <b.lammers@youweagency.com>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 18:52:07 +01:00
Stefan Dej f6fe02a347 fix: hide console, when klipper is not connected to moonraker
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 17:01:40 +01:00
Stefan Dej 8ef89d42f0 fix: enable g-code files, history and jobqueue when klipper is not ready
also disable all start print buttons in each component

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 16:55:50 +01:00
Stefan Dej fe264e6142 fix: hide SystemPanel.vue if klipper is not connected/ready
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 13:10:15 +01:00
Stefan Dej dd3c897b75 feat: add option to hide TL gcodes in console (#451)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 04:45:11 +01:00
Stefan Dej d3ee2f920b refactor: change icon in PrintsettingsPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 01:32:28 +01:00
Stefan Dej 95ebc25434 fix: cancel open connection before close fetch (#450)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 01:29:46 +01:00
vajonam b533955bc3 feat: icons for print settings (#441) 2021-12-05 01:27:56 +01:00
th33xitusandStefan Dej 501b012bdb fix: correct i18n key name (#449)
* fix: correct i18n key name

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* locale(zh-tw): remove all unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale(it): remove all unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale(zh): remove all unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 00:18:38 +01:00
Stefan Dej 69eb41923d locale(zh): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 00:09:13 +01:00
Stefan Dej 1187216d5b locale(it): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 00:05:15 +01:00
Stefan Dej 61bb2dcac1 locale(zh-tw): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-05 00:02:18 +01:00
BrownRhined 79b42aa588 locale(zh-tw): add chinese traditional (#418)
* add chinese traditional

add chinese traditional

* Update zh-tw.json

fixing of indentation levels
2021-12-04 23:53:21 +01:00
th33xitus 9f506f8cbf fix: input layout on small devices (#448)
* fix: fix input layout on small devices

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: use col-sm class instead of sm property

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-04 23:48:54 +01:00
Stefan Dej b6527b471a locale(fr): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 23:20:31 +01:00
Stefan Dej 85436a0cd6 locale(es): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 23:03:41 +01:00
Stefan Dej 1a6792b6b5 locale(en): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 22:59:58 +01:00
Stefan Dej 7b66065e77 locale(de): remove all unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 22:53:17 +01:00
Stefan Dej 7aad8f905d refactor: fix i18n-extract test in power device dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 22:39:12 +01:00
Stefan Dej 881ebbd49a locale(zh): fix syntax error in zh.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 21:57:09 +01:00
cgrossi70 8a87d8a144 locale(es): update spanish translation (#443)
V2.1.0-beta2 Spanish Translation
2021-12-04 21:44:29 +01:00
deddoggo 6912dc027e locale(it): IT Translation(beta) (#435)
* Add files via upload

updated beta translation

* Beta2 Update
2021-12-04 21:43:29 +01:00
Zhu Qian 123426c6ec locale(zh): Mandarin Translation for V2 beta (#444)
* Update zh.json

* Update zh.json

* Update zh.json
2021-12-04 21:43:01 +01:00
th33xitus 869423f4c6 locale(en): update en translation (#447)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-04 21:35:07 +01:00
th33xitus d92543e1c3 locale(de): update de translation (#446)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-04 21:34:22 +01:00
Stefan Dej 460fa71c70 fix: enable update if commits available but version number is above
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-04 01:37:05 +01:00
th33xitus 1a7a23205b fix: bug in dependency getter (#445)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-03 21:33:53 +01:00
Stefan Dej 3f0f76e2d9 Merge remote-tracking branch 'origin/develop' into develop 2021-12-02 20:48:01 +01:00
Stefan Dej 46381879e3 big thx to Ronald Forster 2021-12-02 20:47:31 +01:00
Stefan Dej 5218b0baea locale(fr): update beta2 fr translations
big thx to Roland Forster!

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-02 20:43:25 +01:00
Stefan Dej ce09984983 chore: push version number to v2.1.0-beta3
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-02 00:15:03 +01:00
Stefan Dej 9bcbfa48de fix: escape urls also escape / in the url
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-01 23:39:14 +01:00
Stefan Dej 43674bf2d5 fix: iOS orientation changed didn't trigger resize event
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-30 23:16:41 +01:00
Stefan Dej 2ebd3a8396 Merge remote-tracking branch 'origin/develop' into develop 2021-11-29 23:44:19 +01:00
Stefan Dej eaba28e24b fix: reload required bug
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-29 23:44:10 +01:00
th33xitus 51602fe69c feat: machine settings panel on dashboard (#440)
* fix: return i18n panel name if it contains dashes

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: machine settings panel on dashboard
* support for motion setting input
* replaces previous machine limits panel on machine page

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: no upper limit for input

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: collapsible sub panels

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: firmware retraction settings panel on dashboard

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-11-29 23:43:57 +01:00
Stefan Dej ee6a603fae chore: push version number to v2.1.0-beta2
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-29 23:18:28 +01:00
Jérôme W 34f2eb3189 fix: macro param regexp (#437)
* Fix macro param regexp

Fix #436

* Simplify regexp
2021-11-29 22:44:42 +01:00
vajonam b6cfb0fd88 fix: allow upper case sensor names (#429)
* lookup keys in case senstive way so now uppercase sensor names work

* one more place to fix it up
2021-11-29 20:05:31 +01:00
Stefan Dej 5d2400ccbe feat: reset timelapse settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-29 00:02:17 +01:00
Stefan Dej a75b133dea fix: special cases in thumbnail urls
fixed #390

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-28 12:19:07 +01:00
Stefan Dej f1ab29e4e6 Merge remote-tracking branch 'origin/develop' into develop 2021-11-28 10:48:32 +01:00
lixxbox bc5731e0bf docs: add "NTC 100K beta 3950" note 2021-11-28 10:33:31 +01:00
lixxbox 44309b37df Update deprecated_option.md 2021-11-28 10:01:23 +01:00
Stefan Dej fbead2efb1 fix: add file permissions to edit gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-28 02:27:37 +01:00
Stefan Dej b6c2901908 fix: disk_usage in sub-directories
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-28 02:22:06 +01:00
Stefan Dej 3f4eeadb6f fix: check if metadata exist in job_queue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-28 01:18:25 +01:00
Stefan Dej 678eda0e8c feat: add metadata to job_queue panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-28 01:00:03 +01:00
Stefan Dej 3784d8e9c0 fix: add path to add gcode files in subdirs to query
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-27 23:31:34 +01:00
Stefan Dej ae1fa8736a refactor: update job_queue to moonraker notification
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-27 23:03:06 +01:00
Stefan Dej 30b0469ffd refactor: update moonraker dependency for job_queue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-27 21:51:12 +01:00
Stefan Dej 7ab6f32d3a fix: dependency build check
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-27 21:50:35 +01:00
Stefan Dej f60811255f feat: add moonraker job queue (#433)
* feat: add moonraker job_queue module and create store module

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: add jobqueue panel in gcode files

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: remove workaround (pause queue at adding the first element)

this function was added in mooonraker

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-27 14:09:24 +01:00
Stefan Dej 47dd6ad6d9 Merge remote-tracking branch 'origin/develop' into develop 2021-11-27 01:28:06 +01:00
Stefan Dej 64f7c2bebd fix: use webcam settings for TL preview image (rotation/mirror)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-27 01:27:58 +01:00
Stefan Dej d4b1be9fcc fix: add webcam rotation to new mjpegstreamer method
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-26 23:32:12 +01:00
Stefan Dej 1779cca828 fix: restart mjpegstreamer stream each 60sec to fix browser issues
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-26 23:29:34 +01:00
Stefan Dej 46e8821821 feat: add serial_number to system cpu info
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-26 22:28:42 +01:00
lixxbox 470a00c288 docs: change default value of PRINT_START macro
to make it more understandable...
2021-11-25 20:29:15 +01:00
steadyjaw ad52728131 fix: UI fixes and changes on timelapse page (#430)
* fix: truncated settings menu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change probe chips to label

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): change button color and make responsive

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change display helpers of some buttons

* fix(#390): encodeURI of thumbnails in files page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: responsivity of timelapse-page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): more responsiveness

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-11-23 00:14:08 +01:00
Stefan Dej 5d94063973 Merge remote-tracking branch 'origin/develop' into develop 2021-11-22 23:58:34 +01:00
dependabot[bot] 0bcfc4b582 build(deps): bump axios from 0.21.1 to 0.21.2 (#420)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 22:17:51 +01:00
th33xitus 57aa96420c fix: patch slider lock feature (#425)
* fix: prevent unnecessary database traffic

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: no lock on elements without a slider

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-11-22 22:10:18 +01:00
vajonam eef899c19e fix: check for null when running in docker or non pi (#428) 2021-11-22 22:07:08 +01:00
Stefan Dej 94c1f35f9c fix: cut heightmap variance to 3 numbers behind the dot
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-22 21:59:26 +01:00
Stefan Dej ed82856140 locale(fr): update fr locale
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-22 19:24:40 +01:00
Stefan Dej a581be6aec fix: reverse logic to show render & save_frames button in TL status panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-21 00:32:07 +01:00
Stefan Dej a2d90df97c fix: webcam create/edit form validation
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 21:48:49 +01:00
Stefan Dej 6fa1c28bc4 fix: rename cancel button in macro management to close
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 21:09:27 +01:00
Stefan Dej 86ab389b32 feat: disable camera setting in timelapse setting if snapshoturl exists in moonraker.conf
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 20:44:19 +01:00
Stefan Dej 88c78518d2 build: push to v2.1.0-beta1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 14:48:18 +01:00
Stefan Dej 0a2a2fd3c5 refactor: remove db update for locked sliders
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 14:24:52 +01:00
Stefan Dej f4e07b7278 refactor: update download button in timelapse preview dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 13:52:22 +01:00
Stefan Dej 96578bb95c fix: add locale for empty timelapse state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 13:49:52 +01:00
Stefan Dej 3262e0cfc1 feat: add save frames button in TimelapseStatusPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 13:49:36 +01:00
Stefan Dej ae6667e259 fix: update action name for saving gui settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 13:48:48 +01:00
Stefan Dej 7553d4e6c8 Merge remote-tracking branch 'origin/develop' into develop 2021-11-20 12:39:01 +01:00
Stefan Dej 97298f92dc fix: webcam mjpegstreamer mode (#419)
* refactor: remove debug output in timelapse mutations

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: use readable stream for Mjpegstreamer.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: use real webcam components in settings preview

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 12:28:04 +01:00
Stefan Dej 05e88f6ee9 refactor: remove debug output in timelapse mutations
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-20 00:04:55 +01:00
Stefan DejandFrY Sennberg 216099c524 feat: gui for the timelapse moonraker plugin (#417)
* feature: initial upload of timelapse support

- add navipoint timelapse
- show filelist of timelapse
- display status and add important settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: hide frame count if its zero

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add timelapse option to start print dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: block "print start" dialog, if printer is printing

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: simplify getConsoleFilterRules getter

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add console filter for timelapse gcodes

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: hide timelapse gcodes in console

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: update timelapse settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: start timelapse settings in settings menu

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add rest of the timelapse settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* timelapse: rearrange and add missing settings  (#364)

* timelapse: rearrange and add missing settings
* timelapse: missing locals
* timelapse: fixed typos and added get/setter of missing settings
* timelapse: added missing settings getDefaultState

* feature: added more options to start print dialog (#366)

* feature: cleanup print start dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: order timelapse settings and add headlines

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add timelapse blocked settings functions (if config exists in configfile)

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: make settings dialog bigger to display timelapse (last line of settings) complete

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: remove headline "camera settings" in timelapse settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: add missing settings and add setting descriptions (#397)

Note: "cameraOptions" are harcoded but should be taken from webcam config (more detail in the dev dc)

* refactor: update timelapse from develop

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: update timelapse file manager

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: uppercase settings doesn't work with moonraker confighelper (#399)

* fix: uppercase settings doesn't work with moonraker confighelper

* fix: uppercase settings doesn't work with moonraker confighelper

* fix: uppercase settings doesn't work with moonraker confighelper

* refactor: fix camera type in timelapse store

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: fix merge from develop

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: list of available webcams in timelapse settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: check if console exist before checking customFilters for convert to new namespace

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove debug outputs

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: add re-rendering option and add snackbar for rendering progress

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: display zip files in TimelapseFilesPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: video preview in timelapse

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: change icon for zip files

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix(locale): add timelapse to en.json

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: add no status message in TL status panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: add en locale for print start button in files

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: FrY Sennberg <fryakatkop@gmail.com>
2021-11-19 23:50:52 +01:00
Stefan Dej c38d770b69 Merge remote-tracking branch 'origin/develop' into develop 2021-11-19 23:49:46 +01:00
Stefan Dej 4ab2def2f8 fix: switch every time to relative mode for movements
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-19 23:49:25 +01:00
mngr0 41584b47f7 locale(IT): minor edits in italian (#415) 2021-11-19 21:34:50 +01:00
steadyjaw 8a4a4ce234 refactor: button overhaul and minor changes to the ui (#413)
* refactor(appbar): change buttons to new design

* refactor(appbar): change height and add pritnername

* refactor: small sidebar

* refactor(vuetify): define parts of the mainsail theme and expose colors to css

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: ui settings add missing divider

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: make topbar buttons hideable via ui settings

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move miniConsole buttons to toolbar and make'em collapsible

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: set matching colors for buttons on console page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: use colornames from theme and set play/resume button to green

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct visibility of hide buttons on collapse

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: add virtual tab button to console-input on touch devices

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove hide e-stop button setting

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: add reactivity to hide upload and print button functionality

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move logo to topbar and clip menu under topbar

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove unused TheSidebarPrinterMenu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: create and add about component to sidebar ...no dialog on click yet

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct appearance of the close icon from interface settings dialog

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* Revert "fix: correct appearance of the close icon from interface settings dialog"

This reverts commit f66e29d4f2.

* refactor: close ui settings on ESC and change close icon to tile

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change font style in wide sidebar and extend width of wide menu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change menu style ui-settings-entry to dropdown

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: correct variablenames in locales

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: re-do menuStyle setting implementation

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(miniconsole): change collapse button to tile and remove empty cols and row in template

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: gui variables and button appearance in toolbars

* move some vars to configure gui appearance to variables.ts

* force buttons in bars to 100% height

* set icon button width to toolbar-heigth

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(heightmap): add autofocus and close on ESC to dialogs

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(throttledStates): bigger dropdownlist in favor of readability

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(confFiles): change imageviewer topbar to darkcolor and move close button to left

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: camera-dropdown visability condition

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(history): ad close on ESC on dialogs

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: button overhaul

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct navigation width and change variablenames

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: change more close buttons to tiles

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-11-19 21:07:22 +01:00
Stefan Dej 5a44322ac2 fix: close button in update manager commits to tile
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-17 23:17:45 +01:00
Stefan Dej 9069617de6 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	src/locales/en.json
2021-11-17 23:04:40 +01:00
Stefan Dej 08b60c0072 feat: reset database namespaces and/or history jobs/totals
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-17 22:53:48 +01:00
th33xitus 6b8f56985a feat: lockable sliders (#412)
* fix: replace tab characters by spaces

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: replace tab characters by spaces

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feature: add lockable sliders

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add lockable sliders

feat: add auto-lock sliders

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* locale: add EN locale for LockSlider and AutoLockSlider features.

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: rename autoLockSliders to lockSliders

refactor: include startLockTimer method in sendCmd method

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: refactor startLockTimer method

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: lockSlidersChanged Watcher

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: remove helper, use new isTouchDevice BaseMixin method instead

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add lockable sliders to miscellaneous sliders

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: every interaction with the slider resets timeout correctly

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: fix typo

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: remove unused import

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: remove unused import

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: replace tabs with spaces

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: replace tabs with spaces / remove trailing newlines

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: rename name/value pairs to a more appropriate name

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor(locale): update EN locale file

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: get/set correct store name

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: use "Delay" instead of "Timeout"

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor(locale): update EN locale file

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor(locale): update DE locale file

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* refactor: rename menuStyle to navigationStyle

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-11-17 21:03:57 +01:00
Stefan Dej de673810c3 fix: main scroll height (smaller topbar)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-16 23:17:12 +01:00
Stefan Dej 5efbd50024 feat(editor): add webcam.conf as webcamd config
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-16 21:22:21 +01:00
steadyjaw 19928e3244 refactor: Minor changes to menu and settings tab (#411)
* refactor(appbar): change buttons to new design

* refactor(appbar): change height and add pritnername

* refactor: small sidebar

* refactor(vuetify): define parts of the mainsail theme and expose colors to css

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: ui settings add missing divider

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: make topbar buttons hideable via ui settings

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move miniConsole buttons to toolbar and make'em collapsible

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: set matching colors for buttons on console page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: use colornames from theme and set play/resume button to green

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct visibility of hide buttons on collapse

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: add virtual tab button to console-input on touch devices

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove hide e-stop button setting

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: add reactivity to hide upload and print button functionality

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move logo to topbar and clip menu under topbar

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove unused TheSidebarPrinterMenu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: create and add about component to sidebar ...no dialog on click yet

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct appearance of the close icon from interface settings dialog

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* Revert "fix: correct appearance of the close icon from interface settings dialog"

This reverts commit f66e29d4f2.

* refactor: close ui settings on ESC and change close icon to tile

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change font style in wide sidebar and extend width of wide menu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change menu style ui-settings-entry to dropdown

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: correct variablenames in locales

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: re-do menuStyle setting implementation

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2021-11-14 22:47:25 +01:00
Stefan Dej fb714fc904 refactor(locale): update FR locale file
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-13 23:53:37 +01:00
Stefan Dej 45a4113420 refactor: update klipper warings output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-13 23:51:37 +01:00
Stefan Dej 09e92caa43 docs: updated all meteyou/mainsail urls to mainsail-crew/mainsail
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-13 21:48:08 +01:00
Stefan Dej ceb4ff395c docs: update mainsailOS urls 2021-11-13 21:39:46 +01:00
Martin ced16fbc1b feat: new design of the web UI (#408)
* refactor(appbar): change buttons to new design

* refactor(appbar): change height and add pritnername

* refactor: small sidebar

* refactor(vuetify): define parts of the mainsail theme and expose colors to css

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: ui settings add missing divider

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: make topbar buttons hideable via ui settings

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move miniConsole buttons to toolbar and make'em collapsible

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: set matching colors for buttons on console page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: use colornames from theme and set play/resume button to green

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct visibility of hide buttons on collapse

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: add virtual tab button to console-input on touch devices

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove hide e-stop button setting

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: add reactivity to hide upload and print button functionality

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: move logo to topbar and clip menu under topbar

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: remove unused TheSidebarPrinterMenu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feature: create and add about component to sidebar ...no dialog on click yet

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: correct appearance of the close icon from interface settings dialog

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* Revert "fix: correct appearance of the close icon from interface settings dialog"

This reverts commit f66e29d4f2.
2021-11-13 16:07:15 +01:00
Stefan Dej d6e4fc09d6 Merge remote-tracking branch 'origin/develop' into develop 2021-11-09 21:50:02 +01:00
Stefan Dej f12d0dd89b fix: dont polling printer.info in klipper state disconnected
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-09 21:49:49 +01:00
lixxbox 4c681d5de1 docs: add 'command format mismatch' to faq (#406) 2021-11-09 13:06:11 +01:00
Stefan Dej d161cf875c fix: wrong action names in settings webcam tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-08 22:32:16 +01:00
Stefan Dej a9bb288407 refactor: cleanup gui/actions from old functions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-08 22:28:25 +01:00
Stefan Dej 5495d53cd3 fix: remove macrogroup panel from dashboard when delete macrogroup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-08 22:28:06 +01:00
Stefan Dej bb9d10e00c fix: display standby macrogroup/macro when klipper state is cancelled
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-08 22:15:36 +01:00
Stefan Dej 6597c9cdc2 refactor: move macrogroups to own moonraker db namespace and create a sub module of gui store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-08 00:28:02 +01:00
Stefan Dej 8ded071403 fix: fix typo from webcam panel logo in settings dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-08 00:27:33 +01:00
Stefan Dej 4fdd49fb27 refactor: remove old actions in farm module
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 23:24:48 +01:00
Stefan Dej 34f44a00b7 refactor: move remotePrinters to own moonraker db namespace and create a sub module of gui store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 23:22:43 +01:00
Stefan Dej 8bc17d01b3 fix: remove replace space to underline in fileupload in topbar upload
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 21:09:44 +01:00
Stefan Dej ec44294441 fix: remove replace space to underline in fileupload
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 21:08:48 +01:00
Stefan Dej 4cc9c90a30 fix: check existsPresetName update index to id
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 20:26:06 +01:00
Stefan Dej 645575ea31 refactor: move consolefilters to own moonraker db namespace and create a sub module of gui store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 17:58:18 +01:00
Stefan Dej d12f1cbb32 refactor: rename webcamTab to webcamsTab in settings menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 17:05:19 +01:00
Stefan Dej 877c7ee861 refactor: use Vue.set in addClosePanel and removeClosePanel mutations
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 16:29:38 +01:00
Stefan Dej c6934d751f refactor: new order of init moonraker databases and printer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 16:06:28 +01:00
Stefan Dej 9cb63ee193 fix: all gui/webcam requests
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 16:05:53 +01:00
Stefan Dej a24c6bd90e refactor: rename gui/webcam to gui/webcams store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 15:58:14 +01:00
Stefan Dej b6fa2e3d83 fix: convert old presets to new namespace
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 15:50:32 +01:00
Stefan Dej b7e58d98ff refactor: move presets to own moonraker db namespace and create sub module of gui store (#405)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 15:22:28 +01:00
Stefan Dej 6a9aef4785 fix: hide deleted macros on dashboard macro groups
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 12:11:07 +01:00
Stefan Dej 890d32c2cf fix: padding in simple macro panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 12:01:17 +01:00
Stefan Dej 16a09e006f refactor: modify dependencies text
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-07 11:52:25 +01:00
Stefan Dej 9a270c5054 fix: remove hide-overlay in settings menu dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-06 18:59:40 +01:00
Stefan Dej 806ac9cd6a fix: update metadata and gcode thumbnail of farm printers
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-06 18:51:09 +01:00
Stefan Dej bf3077d858 refactor: change icon position in top right corner navi
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-05 23:36:50 +01:00
Stefan Dej 2a85e8999f feat: add autofocus and action by press enter in crate/rename dialogs in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-05 21:54:30 +01:00
Stefan Dej 875035f6f3 feat: add autofocus and action by press enter in crate/rename dialogs in config file manager
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-05 21:12:32 +01:00
Stefan Dej 60c218fe18 fix: fix spaces update manager panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-05 21:01:56 +01:00
Stefan Dej 89f2b2ce0b fix: update farm printers webcam to new webcam db namespace
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-05 20:45:11 +01:00
Stefan Dej 7e9a274ff7 fix: store databases in farm printer states
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-05 20:26:22 +01:00
Stefan Dej d4cd31291d fix: don't display confirm changes dialog in editor for read-only files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 23:29:20 +01:00
Stefan Dej 840d8c1c96 fix: wrong download link for load current file in g-code viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 23:23:30 +01:00
Stefan Dej 4340b15ee0 fix: autoscroll function in console page doesn't work after switching to overlay scrollbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 23:12:10 +01:00
Stefan Dej eb88bc703b fix: autoscroll function in update dialog doesn't work after switching to overlay scrollbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 23:10:13 +01:00
Stefan Dej eecd24a8d6 fix: use repo_name instead of update_manager module name for creating github link
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 23:06:46 +01:00
Stefan Dej 2f1fd2788e fix: dependencies getter dont work with commits after release tag
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 22:56:40 +01:00
Stefan Dej 6554f5b084 fix: margin between DependenciesPanel.vue and next panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 22:16:41 +01:00
Stefan Dej 0338efd914 feature: move webcams to new db namespace (#401)
* refactor: create store for seperate webcam namespace

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: update settings webcam and webcam panel to new namespace / store modules

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: types in webcam namespace

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: hide webcam panel, if no webcam is in the db

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove debug output in settings webcam tab

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: margin between DependenciesPanel.vue and next panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-02 22:12:57 +01:00
Stefan Dej e8583181e1 refactor: fix typo in dependency text
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 20:26:45 +01:00
Stefan Dej feeee61ffb refactor: update dependency panel and text
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 20:17:52 +01:00
Stefan Dej e6eb4fae18 feat: mainsail dependencies panel on the dashboard (klipper, moonraker)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 19:42:00 +01:00
Stefan Dej cb2da07479 feat: change overlaps-scrollbar instead of perfect-scrollbar (#400)
perfect-scrollbar have issues with touch devices

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 17:38:56 +01:00
Stefan Dej bad3a842e8 chore: update perfect scrollbar package in npm
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 11:38:00 +01:00
Stefan Dej 6e97cf24f2 feat: add link to gcode thumbnail docs in ui settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 11:37:02 +01:00
Stefan Dej 4a88b74bb7 Merge remote-tracking branch 'origin/develop' into develop 2021-11-01 10:29:34 +01:00
Stefan Dej ca298eba0f fix: drag & drop upload in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 10:29:16 +01:00
Stefan Dej ed3ef6adfc fix: duplicate dirs in filetree
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 10:28:31 +01:00
Stefan Dej e7e87eb20d fix: init directories dont work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-11-01 00:37:18 +01:00
Stefan Dej e3f15325c1 docs: update moonraker dependencies
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 11:46:01 +01:00
Stefan Dej 55ab7395e2 fix: update links from klipper warnings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 11:30:40 +01:00
lixxbox 310e0342c1 docs: pre-flight fix 2021-10-31 09:19:21 +01:00
Stefan Dej 5f784aa4f5 chore: fix types from last commits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 02:19:20 +02:00
Stefan Dej 03b8b591b4 refactor: change main scrollbar to perfect-scrollbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 01:54:51 +02:00
Stefan Dej 581cd2b306 fix: getDirectory didn't check metadata changes
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 01:46:05 +02:00
Stefan Dej 48b84f9ffd refactor: change thumbnail sizes and use a global variable
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 01:45:24 +02:00
Stefan Dej 9627f6248d fix: wrong variable name for cooldown preset gcode
this commit fix #398

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 00:42:21 +02:00
Stefan Dej 94896ac4f8 feat: use moonraker server.files.get_directory root_info to set root permissions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 00:30:55 +02:00
Stefan Dej adf31153eb refactor: use getter getDirectory in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-31 00:04:08 +02:00
Stefan Dej 8ed9f33dc0 feat: add moonraker file_manager permissions to store and config files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-30 23:12:08 +02:00
Stefan Dej 931d0a6d50 feat: add start/stop service buttons and display service state in top corner menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-30 01:36:19 +02:00
Stefan Dej c81311bc61 feat: add full update function to update manager
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-30 00:22:25 +02:00
Stefan Dej c6d4e0630f fix: jumping panels when webcam (mjpegstreamer) is not in viewport
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 23:28:13 +02:00
Stefan Dej f0481501d5 fix: remove eventListener in farmprinter panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 23:02:36 +02:00
Stefan Dej 7a9f601a4a feat: add tooltip with extrude volume on feedrate buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 21:43:51 +02:00
Stefan Dej a307b4e784 fix: change default extruder feedrates
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 21:29:45 +02:00
Stefan Dej c9696ad1f8 refactor: remove divider between buttons in editor toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 20:56:04 +02:00
Stefan Dej dd9c71a3bb refactor: convert editor to panel component and add perfect-scrollbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 20:33:08 +02:00
Stefan Dej 1aeaf7d36f fix: translations in ui-settings tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 19:03:34 +02:00
Stefan Dej 4d52d9660e refactor: convert emergency stop dialog to new panel component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 19:02:34 +02:00
Stefan Dej d1a1d43701 refactor: rename theme settings tab to ui settings and move some ui settings from general to ui-settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 18:58:54 +02:00
Stefan Dej a45d6d2c2e refactor: sort interface settings tabs and add a border between navi and content
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 18:22:41 +02:00
Stefan Dej 42ed8bb548 Merge remote-tracking branch 'origin/develop' into develop 2021-10-29 00:46:39 +02:00
Stefan Dej e9b1b7963b refactor: convert editor confirm dialog to new panel component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 00:46:25 +02:00
Stefan Dej 0909dc1357 feat: add heightmap current mesh information panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-29 00:14:56 +02:00
Stefan Dej b5b1b44c8d fix: update manager commits list icon and show days if smaller than 1 day ago
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-28 21:31:12 +02:00
stefand 76f98caa25 fix: hide horizontal scrollbar in settings menu 2021-10-28 08:59:25 +02:00
stefand 4ef29d3ad3 refactor: change defaults macro param usecase 2021-10-28 08:29:41 +02:00
stefand 922143554b fix: hide string chars in default macro params 2021-10-28 08:28:53 +02:00
Stefan Dej bd1fd1fb12 fix: hide main branch in update manager
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-28 01:02:41 +02:00
Stefan Dej 4335175daa feat: change color of presets button in tool panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-28 00:59:05 +02:00
Stefan Dej 5e0198e259 feat: add a compact console style option
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-28 00:07:54 +02:00
Stefan Dej ee18b4cc33 fix: font size in console was to big after font change
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-27 23:24:41 +02:00
Stefan Dej bafde49d15 fix: safe gcode offset button wrong type
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-27 23:21:05 +02:00
Stefan Dej 243f0d7df0 fix: update getMacroParams regex
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-27 22:55:01 +02:00
Stefan Dej 86d75bce77 Merge remote-tracking branch 'origin/develop' into develop 2021-10-27 22:53:13 +02:00
Felicia Hummel 330dee04ed fix: Bump the version for @codemirror/search to 0.19.2 to benefit from (#394)
these bugfixes:

> Make sure any existing search text is selected when opening the search panel. Add search config option to not match case when search panel is opened (#4)
2021-10-27 22:52:23 +02:00
Felicia Hummel 0a0c456faa feat: Added modified file tracking and a confirmation (#393)
dialog on unsaved changes. This can be disabled
if the user wishes to do so.

Also allows the user to configure if the editor can be
closed by hitting the "ESC" key.
2021-10-27 22:41:15 +02:00
Stefan DejandEike Ahmels 4ece97a535 feat: macro management (#396)
* feature: add multiple macro management settings (simple/expert)

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: create and remove Macrogroups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: edit function for macro groups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: create/edit/delete macrogroups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: init data in heightmap dont exist without bed_mesh

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: extract macro params (#392)

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* feat: finish macro management settings

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: macro management in dashboard settings and display panels

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: align of icons and text in settings dashboard

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: move gcode macros in seperate component

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: combine "show status lines" in edit macro groups

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: display macrogroups and macros in paused state

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: macro group rights and display errors

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove create macrogroup and just add new group without name

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: hide macrogroups when macromanagement is simple

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: change to Roboto-Mono font in console

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: add robotoMono font

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: remove debug outputs

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: update regex for extract params from macros

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: macro params regex update

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feat: hide params with '_' as first char

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: switch simple macros panel to macro-button component

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: fix padding of macro params dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* refactor: add tooltips to macro management icon buttons

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: filter not existing macrogroups in panellist

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* fix: delete layout position when deleting macrogroup

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Eike Ahmels <hui_buh-@gmx.net>
2021-10-27 22:37:15 +02:00
lixxbox 3984a40fd9 docs: add FAQ with some klipper warnings 2021-10-26 15:50:49 +02:00
lixxbox f90fc81634 Update themes.csv 2021-10-25 19:55:36 +02:00
lixxbox 2f81bf390f docs: Add Rat Rig community theme by Raabi91 2021-10-25 19:51:49 +02:00
Stefan Dej e53d5056dd fix: init data in heightmap dont exist without bed_mesh
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-23 02:42:58 +02:00
Stefan Dej ae82bfe7f7 feat: add function to change/select time calculations for estimate and ETA times
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-23 01:51:08 +02:00
Stefan Dej 05f5da93d3 refactor: remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-23 01:50:32 +02:00
Stefan Dej 20a969ebcd fix: load metadata of current print file of farm printers
fix to calc the print percent and display gcode thumbnails in farm printer panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-23 01:48:17 +02:00
Stefan Dej b99463ee99 fix: remove [display_status] from min settings, when [display] exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-22 18:33:23 +02:00
Stefan Dej 332ed154d4 Merge remote-tracking branch 'origin/develop' into develop 2021-10-22 00:05:53 +02:00
goesta 1e10e34449 chore(build): lint errors (#381) 2021-10-22 00:04:40 +02:00
Pedro Lamas ec8bcc7fd8 feat: uses monospace font on console (#389)
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2021-10-22 00:02:58 +02:00
Stefan Dej 8c60877ffe Merge remote-tracking branch 'origin/develop' into develop 2021-10-21 23:21:24 +02:00
Julian Obst a15ddd82bb Add ideaMaker thumbnail instruction to documentation quicktips (#385) 2021-10-20 21:07:16 +02:00
Pedro Lamas a02963cc88 feat: adds optional confirmation dialogs for emergency stop and power device change (#384)
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2021-10-20 21:06:27 +02:00
goesta 182d7f146e fix(websocket): close websocket before connecting (#383) 2021-10-20 15:23:02 +02:00
Stefan Dej 1582d886aa Merge remote-tracking branch 'origin/develop' into develop 2021-10-13 23:09:57 +02:00
goesta 62ccb1f97d fix: inconsistent spelling and typos (#379)
* fix: inconsistent spelling of G-Code
* fix: inconsistent spelling in german translation
2021-10-13 23:09:46 +02:00
Stefan Dej 5f93aac095 feat: redesign commits dialog in update manager (github like list) (#380)
* refactor: redesign commits list in update manager (github like)
2021-10-13 23:09:20 +02:00
Stefan Dej 6b7894eadc Merge remote-tracking branch 'origin/develop' into develop 2021-10-13 22:57:04 +02:00
goesta d21b080c2b feat: add option to hide config backup files (#378) 2021-10-13 20:44:57 +02:00
Stefan Dej c75b621951 Merge remote-tracking branch 'origin/develop' into develop 2021-10-12 23:18:59 +02:00
Stefan Dej f8f730e379 refactor: change color of cooldown button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-12 23:11:04 +02:00
Eike Ahmels fc06389f32 ci(docker): fixing docker systemctl problems and speed up builds process (#376)
* Made service commands available through frontend
* image fix, grammar fix
* fixed suggestions bug, some cleanup from old editor, svg edge case
* FIX: save a file with special characters
* DOCU: new community theme, multi cam setup
* FIX: docker systemctl workaround
* fixed systemctl problem, added delay for simulavr
* chore, removed unused stuff
* bump
* fixed olds paths and changed base image for faster builds
2021-10-12 07:49:36 +02:00
th33xitus 4d2a61b8b7 bugfix: fix the webcam panel collapsible property (#375)
This fixes a bug where the webcam panel is collapsible even when navigated to the webcam page where the panel should not be collapsible.

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-10-11 21:53:03 +02:00
th33xitus 92a848747a bugfix: fix ripple effect on two more buttons (#374)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-10-11 21:52:44 +02:00
th33xitus af6254a8a7 bugfix: fix ripple effect on collapsible-button (#373)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-10-10 22:53:29 +02:00
Stefan Dej 89bc5d6e7d docs: update manual setup/update (#368)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 19:06:31 +02:00
Stefan Dej 39fd77d065 docs: fix order of first-boot.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 18:55:41 +02:00
Stefan Dej ea67e9fa38 docs: remove sudo for editing printer.cfg
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 18:52:59 +02:00
tomlawesome 13233ca878 docs: Major docs update by tomlawesome (#358)
* major docs update
* Delete info.md
* update file permissions
* added screenshots and updated first-boot.md
2021-10-10 18:45:20 +02:00
Stefan Dej f8842ff070 feature(panel): disable text select for panel headline
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 18:29:46 +02:00
Stefan Dej b43cb4efb4 bugfix(machine): fix margins between panels/rows on mobile viewport
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:38:40 +02:00
Stefan Dej 7979eaac9b bugfix(heightmap): hide toolbar buttons on mobile phone
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:35:42 +02:00
Stefan Dej 951de0e5e7 refactor: remove padding right in toolbar to move toolbar buttons to the right corner
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:29:04 +02:00
Stefan Dej 239b4d8525 bugfix: TheSettingsMenu.vue mobile view toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:28:32 +02:00
Stefan Dej 89876a2500 feature: add hover effect to collapse panel button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:24:11 +02:00
Stefan Dej 7ce9dc30a6 refactor: change panel buttons to toolbar text/icon buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 14:04:11 +02:00
Stefan Dej 11c64e084e feature: change panel toolbar buttons to v-toolbar-items
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 13:08:13 +02:00
Stefan Dej 49b806a10e refactor: change StatusPanelExcludeObjectDialog.vue to panel component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 12:22:56 +02:00
Stefan Dej e294a5cdc0 refactor: change CommandHelpModal.vue to panel component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 12:19:09 +02:00
Stefan Dej 4803df5d5d refactor: change TheSettingsMenu.vue to panel component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 12:03:01 +02:00
Stefan Dej 2144888ef8 refactor: change toolbar buttons to text buttons in WebcamPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 12:02:39 +02:00
Stefan Dej ebc61c4e4b refactor: change toolbar buttons to text buttons in ToolsPanel.vue toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-10 12:02:19 +02:00
Stefan Dej 3dae42edb0 feature: collapsable and normalize panels (#372)
* feature: add panel component to normalize all panels
* feature: add expand function to panel component
* chore: remove not used computed value
* feature: add slot for override the icon in the panel
* chore: remove unused package (vue2-collapse)
* feature: change StatusPanel.vue to panel component
* feature: add prop to change toolbar color
* feature: change MinSettingsPanel.vue to panel component
* feature: change MoonrakerStatePanel.vue to panel component
* feature: change KlippyStatePanel.vue to panel component
* feature: change KlipperWarningsPanel.vue to panel component
* feature: change ControlPanel.vue to panel component
* feature: change PrintsettingsPanel.vue to panel component
* feature: change MiscellaneousPanel.vue to panel component
* feature: change ToolsPanel.vue to panel component
* feature: change MacrosPanel.vue to panel component
* feature: change MiniconsolePanel.vue to panel component
* feature: change FarmPrinterPanel.vue to panel component
* bugfix: add toolbar zindex to fix panel hover overlay
* bugfix: remove toolbar zindex and modify hover effect
* bugfix: farmprinter loading state (remove debug output)
* feature: add prop to disable margin botton of panel component
* feature: change HistoryListPanel.vue to panel component
* feature: move history statistics in HistoryStatisticsPanel.vue and use panel component
* feature: change ZoffsetPanel.vue to panel component
* feature: add slot after toolbar title in panel component
* feature: change Heightmap.vue to panel component
* feature: change Files.vue to panel component
* feature: change Viewer.vue to panel component
* feature: add buttons before toolbar in panel component
* feature: change ConfigFilesPanel.vue to panel component
* feature: change EndstopPanel.vue to panel component
* chore: fix typo in card class from ConfigFilesPanel.vue
* feature: change LimitsPanel.vue to panel component
* feature: change LogfilesPanel.vue to panel component
* feature: change SystemPanel.vue to panel component
* feature: change UpdatePanel.vue to panel component
2021-10-09 23:39:06 +02:00
Stefan Dej d147a92695 feature: exclude object map (#371)
* feature: add 2D object map (testing)
* feature: 2D map for objects
* chore: update materialdesignicons
* feature: move exclude object map and list in a differnt dialog
* feature: add hover function to display hovered object in the map
* feature: colorize border of current object
* feature: click on object in map to cancel object
* feature: add mobile support for exclude object dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-08 20:50:38 +02:00
Stefan Dej 4ea2721b75 docs: fix typo in CONTRIBUTING.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-08 17:34:13 +02:00
Stefan Dej 5b3e662062 chore: add CONTRIBUTING.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-07 23:39:07 +02:00
Stefan Dej 9d2ba3b022 chore: move CODE_OF_CONDUCT.md to .github/
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-07 23:21:25 +02:00
Stefan Dej 31327e581d chore: add CODE_OF_CONDUCT.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-07 23:18:58 +02:00
Stefan Dej ea95381410 feature: add perfect scrollbar to update commits dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-06 23:01:25 +02:00
dependabot[bot] af6b45bd92 chore(deps): bump nokogiri from 1.12.3 to 1.12.5 in /docs (#363)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.3 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.3...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 22:53:11 +02:00
Stefan Dej a81a486602 feature: exclude object map (#369)
* feature: add 2D object map (testing)
* feature: 2D map for objects
* chore: update materialdesignicons
* feature: move exclude object map and list in a seperate dialog
* feature: add hover function to display hovered object in the map
* feature: colorize border of current object
* feature: click on object in map to cancel object
* feature: add mobile support for exclude object dialog

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-05 22:52:17 +02:00
Stefan Dej dd2c8c58ca bugfix: convert useCross to control type
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-03 22:48:20 +02:00
Stefan Dej 32310bad29 chore: update gcodeviewer to v2.1.13
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-10-01 23:31:16 +02:00
Stefan Dej eadc796e01 Feature: exclude objects (#362)
* feature: add exclude objects on the dashboard
* chore: fix ts issues from status panel
* chore: update gcodeviewer to v2.1.12
* feature: add object selection to gcode viewer

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-26 17:32:11 +02:00
Stefan Dej dc9d3361a0 bugfix: wrong index in klipper warnings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 21:12:00 +02:00
Stefan Dej 6d5a31cc39 feature: add klipper warnings panel on the dashboard (#355)
* feature: add klipper warnings panel on the dashboard

klipper pr for warnings: KevinOConner/klipper#4659

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: display KlipperWarningsPanel.vue only when klipper is ready

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add deprecated_value message to translations
feature: add link to mainsail docs for each entry

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: fix icon size in download log button

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 20:48:52 +02:00
Stefan Dej 10a867227f chore: change tracking button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 20:40:41 +02:00
Stefan Dej f93ee19b9a bugfix: add resize listener to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 20:40:15 +02:00
Stefan Dej d3c1d1409d feature: add some rendering options to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-20 00:45:49 +02:00
Stefan Dej 5eab1917bd feature: clear settings from gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 23:15:19 +02:00
Stefan Dej c8551abdda feature: optimize g-code viewer workflow and button positions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 16:44:14 +02:00
Stefan Dej fbc3afd69e locale(fr): fix some typos
thx to kataphile

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:18:07 +02:00
Stefan Dej 65acd0f190 chore: update gcodeviewer to v2.1.11
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:04:04 +02:00
Stefan Dej 58bbe40a8c bugfix: fix issue with enable/disable live tracking
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 01:03:45 +02:00
Stefan Dej 638dd0dcb3 feature: automatic rendering after changing color mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 00:13:53 +02:00
Stefan Dej 5b622fdcd9 feature: move color mode select from settings to gcode viewer page and remove debounce of z slider
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-19 00:04:55 +02:00
Stefan Dej 395ead7ce1 bugfix: force redraw after changing z-slider and fix rendering snackbar after fileupload with url
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 23:24:42 +02:00
Stefan Dej 2c38aad7fd feature: add snackbar for display the downloading gcode file and option to cancel it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 23:00:15 +02:00
Stefan Dej 1c1ce285bd bugfix: remove viewer from vuex
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 22:16:17 +02:00
Stefan Dej bb15bbec08 feature: add snackbar for display the rendering process and cancel it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 21:06:58 +02:00
Stefan Dej 542e094348 feature: add backup and restore gcode viewer state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-18 19:09:07 +02:00
Stefan Dej 61232dfd95 chore: update gcodeviewer to v2.1.10
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-12 15:00:23 +02:00
Stefan Dej 5dbffdb167 chore: merge master in develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-09 00:33:17 +02:00
Stefan Dej 7ae0fe2209 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	src/App.vue
#	src/components/panels/ControlPanel.vue
#	src/components/panels/FarmPrinterPanel.vue
#	src/pages/Files.vue
#	src/store/farm/printer/getters.ts
#	src/store/farm/printer/mutations.ts
#	src/store/files/getters.ts
#	src/store/printer/mutations.ts
#	src/store/server/history/getters.ts
#	src/store/socket/getters.ts
2021-09-09 00:27:19 +02:00
Stefan Dej 855959a1f9 chore(type): fix type for build
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 23:24:57 +02:00
Stefan Dej 4d38b019be chore: increment version number to V2.0.1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 23:21:25 +02:00
Stefan Dej 2cf4d8ba58 hotfix(gcodefiles): fix printed files filter
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-08 20:47:49 +02:00
Stefan Dej 62afec1934 hotfix(store): fix error of migrate drv_status in store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-07 23:58:40 +02:00
Stefan Dej 5f40c54160 hotfix(webcam): add leading zero to FPS output below 10 (only adaptive mjpegstreamer)
Closes: #348
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-07 21:34:18 +02:00
Stefan Dej 3c570cadfe hotfix(console): autofocus input field after click on a command
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 22:46:40 +02:00
Stefan Dej 4f42092159 hotfix(theme): fix mainBackground image #349 (#351)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 13:46:46 +02:00
Stefan Dej b2f6e7dc08 hotfix(gcodefiles): fix typo in error message (#350)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 12:18:41 +02:00
Stefan Dej 44c43a6fb5 feature(console): autofocus input field after click on a command
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 12:13:10 +02:00
Stefan Dej f83d33b20d Merge remote-tracking branch 'origin/develop' into develop 2021-09-04 11:43:21 +02:00
Stefan Dej c0a1bdd1d6 chore(editor): update gcodeviewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-09-04 11:43:11 +02:00
3e4c73e381 docs: multi webcam documentation (#343)
* image fix, grammar fix

* fixed suggestions bug, some cleanup from old editor, svg edge case

* FIX: save a file with special characters

* DOCU: new community theme, multi cam setup

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* DOCU: changed some wordings and skipped terminal commands

Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>

* feature: gcodeviewer (#322)

* Initial implementation of GCode Viewer in Mainsail

* Revert files.vue

* Reupdate files.vue

* Fix router

* Add render quality and force line mode settings

* Cache off canvas

Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.

* Loading progress indicator

* Turn off loading progress after changing render quality.

* Failed render check.

* Added a live tracking button

* Work on settings

* Hide the loading required button earlier

* Added more settings.

* min and max feed coloring settings

* Set ZClipPlane for WebGL1 viewers

* Bed and Delta

* Force line rendering is saved

Addressed an issue where watchers could try to fire on  a viewer that is not initialized

* Move loading progress bar

* Multiple UI Updates

Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area

* Update to package 1.0.6

* Pulled latest

* Update to @sindarius/gcodeviewer 2.0.4

Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.

* Set tracking position to 0 when starting tracking.

* A timeout is needed to reset the visual

* Created forceRedraw to deal with a timing issue when starting tracking.

* Update to 2.0.6 package

* Revert "feature: gcodeviewer (#322)" (#341)

This reverts commit 673fd9f879.

Co-authored-by: Juan Rosario <pyroclasmx@yahoo.com>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-31 21:34:34 +02:00
Stefan Dej 005ed8814b bugfix(webcam): display the wrong webcam if you connect to a remote printer with relativ webcam url (#345)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-31 21:33:31 +02:00
Stefan Dej 41b21aa66e hotfix: printerfarm panel (#344)
* bugfix(printerfarm): fix store theme files in farm printer

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature(printerfarm): display dynamic mainsail-logo in printerfarm panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(printerfarm): fix image/webcam height to 3:2 ratio

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(printerfarm): disable webcam if printer is not connected

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(printerfarm): change button to "reconnect" when printer is not connected

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(controlpanel): align center for bar control buttons

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-31 20:03:47 +02:00
Stefan Dej 62e2147f0b bugfix(gcodeviewr): fix z slider height
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 02:04:00 +02:00
Stefan Dej f482b57c71 Revert "feature: gcodeviewer (#322)" (#341)
This reverts commit 673fd9f879.
2021-08-29 01:20:51 +02:00
Juan Rosario 673fd9f879 feature: gcodeviewer (#322)
* Initial implementation of GCode Viewer in Mainsail

* Revert files.vue

* Reupdate files.vue

* Fix router

* Add render quality and force line mode settings

* Cache off canvas

Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.

* Loading progress indicator

* Turn off loading progress after changing render quality.

* Failed render check.

* Added a live tracking button

* Work on settings

* Hide the loading required button earlier

* Added more settings.

* min and max feed coloring settings

* Set ZClipPlane for WebGL1 viewers

* Bed and Delta

* Force line rendering is saved

Addressed an issue where watchers could try to fire on  a viewer that is not initialized

* Move loading progress bar

* Multiple UI Updates

Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area

* Update to package 1.0.6

* Pulled latest

* Update to @sindarius/gcodeviewer 2.0.4

Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.

* Set tracking position to 0 when starting tracking.

* A timeout is needed to reset the visual

* Created forceRedraw to deal with a timing issue when starting tracking.

* Update to 2.0.6 package
2021-08-29 01:17:51 +02:00
Stefan Dej 586977cc89 chore(gcodeviewr): fix some types
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 01:12:02 +02:00
Stefan Dej 2f88def03a chore(gcodeviewr): convert to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 01:06:24 +02:00
Stefan Dej cc85e2a441 Merge branch 'develop' into feature/gcodeviewer 2021-08-28 20:50:38 +02:00
Stefan Dej 13e305e9e7 bugfix(i18n): fix issue after eslint rules fix
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 20:50:24 +02:00
Stefan Dej fb0bc9755e chore: fix eslint rules and update from develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 20:47:58 +02:00
Stefan Dej b2447ee9d9 Merge branch 'develop' into feature/gcodeviewer
# Conflicts:
#	package-lock.json
#	src/components/TheSettingsMenu.vue
#	src/routes/index.ts
#	src/store/gui/index.ts
2021-08-28 16:41:58 +02:00
Stefan Dej f1094e9c29 chore(eslint): config and fix eslint rules (#340)
* chore(eslint): init & config eslint

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore(eslint): fix eslint rules

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-28 16:08:00 +02:00
Juan Rosario 29364f7403 Update to 2.0.6 package 2021-08-27 17:14:24 -05:00
Juan Rosario b078b141f1 Created forceRedraw to deal with a timing issue when starting tracking. 2021-08-26 18:00:40 -05:00
Juan Rosario 5659365588 A timeout is needed to reset the visual 2021-08-26 14:34:54 -05:00
Juan Rosario c27857d1bb Set tracking position to 0 when starting tracking. 2021-08-26 14:08:56 -05:00
Stefan Dej b8c93bdb0f docs: update screenshot to v2.0.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-26 20:27:01 +02:00
Stefan Dej c8df1418d1 Merge branch 'master' into develop 2021-08-26 20:23:09 +02:00
Stefan Dej 3c7f9ae7ba locale(fr): fix one type in settings console tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-26 19:17:12 +02:00
Juan Rosario e896590eb0 Update to @sindarius/gcodeviewer 2.0.4
Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.
2021-08-25 21:47:43 -05:00
Juan Rosario 99dde5405d Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-25 20:46:48 -05:00
Stefan Dej aa6221f1d3 bugfix: autofocus editor to bind search function
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 23:16:35 +02:00
Stefan Dej c346510cdf bugfix: available_services types and getter in topbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 22:47:16 +02:00
Stefan Dej aed9caef6b Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	src/locales/it.json
2021-08-24 20:45:45 +02:00
Stefan Dej 3cf493db73 Merge branch 'master' into develop
# Conflicts:
#	package.json
2021-08-24 20:45:09 +02:00
Stefan Dej d4670c5f0e Merge remote-tracking branch 'origin/master' 2021-08-24 20:42:02 +02:00
Stefan Dej 5a37e67420 chore: increment version number to V2.0.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 20:41:47 +02:00
Stefan Dej 3cfa85fc2b bugfix(configfiles): files sorting store doesn't work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 20:41:05 +02:00
Carlino01andStefan Dej a13f9d9a92 IT translation(beta) (#335)
* Add files via upload

* locale(it): remove unused vars

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 20:17:38 +02:00
Stefan Dej 6e63324187 locale(it): add translation
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-24 20:14:20 +02:00
stefand 61c2f8426d locale(hu): fix last words 2021-08-23 08:09:43 +02:00
Stefan Dej eb1e1d4f5c chore: fix some eslint warnings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 23:25:56 +02:00
Stefan Dej 0f13d2efc1 chore(App): fix build warnings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 20:53:27 +02:00
Stefan Dej 166ffff875 bugfix(App): remove unused vars
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 20:19:39 +02:00
Stefan Dej be065e88f8 chore(build): change sass version as workaround for vuetify sass warnings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 20:19:07 +02:00
Stefan Dej 65855544eb Merge remote-tracking branch 'origin/develop' into develop 2021-08-22 20:11:18 +02:00
Stefan Dej dd5197f1ce Revert "chore(github): add build workflow for test builds"
This reverts commit d39e6b587c.
2021-08-22 20:11:09 +02:00
Stefan Dej 54d3484d02 chore(github): add build workflow for test builds 2021-08-22 20:10:40 +02:00
Stefan Dej d39e6b587c chore(github): add build workflow for test builds
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 19:58:18 +02:00
Stefan Dej ff0c58a901 chore: increment version number to 2.1.0-alpha
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 18:43:27 +02:00
Stefan Dej f7e9b50806 Feature/pronterface control (#323)
* feature: split control panel in components and add circle control panel

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: remove css namespace of SVG

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: add button for QGL and Z-Tilt

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* clear debug status

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix(ControlPanel): change - to en-dash for equal width of negative and positiv buttons in DWC-style ControlPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 18:41:49 +02:00
Stefan Dej b8428c498e chore(docs): update gem packages
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 17:58:13 +02:00
Stefan Dej 9dbde140d8 chore: increment version number to 2.0.0-rc.2
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 16:31:23 +02:00
Stefan Dej 7b08ae5ff7 bugfix(heightmap): fix probe_count for delta printers
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 16:18:15 +02:00
Stefan Dej 9b9d39c1a7 bugfix(editor): fix tab binding
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 15:11:38 +02:00
Stefan Dej 00caf8a655 feature(editor): add JSON syntax highlighting
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 14:57:19 +02:00
Stefan Dej da3f8b2907 bugfix(editor): download json as plaintext to edit it
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-22 14:10:18 +02:00
Juan Rosario af098460df Pulled latest 2021-08-21 19:31:28 -05:00
Juan Rosario 5af6c07fdf Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-21 19:25:55 -05:00
Stefan Dej b6703c84f1 locale(fr): fixed last missing translations
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 18:14:24 +02:00
Stefan Dej ef9b17a9f4 bugfix(heightmap): fixed profiles list for KevinOConnor/klipper#4598
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 18:05:24 +02:00
Stefan Dej 94d445c9fe chore: increment version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 15:32:52 +02:00
Stefan Dej 3f0d595a9d bugfix(heightmap): fix dataShape for all bed_mesh ratios (Y, X) instead of (X, Y)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 15:27:48 +02:00
Stefan Dej d5218ca059 locale(nl): fixed last missing translations
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 14:09:06 +02:00
Stefan Dej ca39f4d91c bugfix(ControlPanel): change - to en-dash for equal width of negative and positiv buttons in DWC-style ControlPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 13:59:36 +02:00
Stefan Dej 90572482ce locale(it): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 13:17:41 +02:00
Stefan Dej bcb541f470 locale(nl): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 13:17:34 +02:00
Stefan Dej c7b70d2cf4 locale(fr): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 13:17:25 +02:00
CodingJustForRunandStefan Dej be0d1433cd locale(hu): update hu json (#333)
* hu json

updated hungarian translation, please check if all parameter is short enough. 
thx

* locale(hu): remove unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* Update hu.json

Just fixed the title.

* locale(hu): move translation to the right location

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale(hu): move translation to the right location

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 13:11:02 +02:00
Stefan Dej e47257386c bugfix(heightmap): prepare for KevinOConnor/klipper#4598
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-21 12:10:35 +02:00
Stefan Dej ca926a5ce1 Merge remote-tracking branch 'origin/master' 2021-08-19 23:41:34 +02:00
winbinandStefan Dej c41ea7aebc locale(zh): update chinese trans (#332)
* update chinese trans

* locale(zh): remove unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-19 23:31:43 +02:00
Stefan Dej 15191784b3 feature: add canvas to tool color picker
now its possible to change the light/density of the color in the color picker

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-19 21:38:40 +02:00
Stefan Dej 24cf380b17 bugfix: add all available sensors to tempchart
on the first klipper load after adding a sensor, it will not be included in the moonraker history

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-19 21:35:15 +02:00
Stefan Dej 6bd2977190 bugfix: add pwm series to chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-16 23:12:47 +02:00
Stefan Dej 0e6897a295 bugfix: hide heaters, temperature_fans and temperature_sensors with _ as first letter in the name in tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-15 19:30:37 +02:00
Stefan Dej da28b87ae1 feature: hide heaters, temperature_fans and temperature_sensors with _ as first letter in the name
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-15 18:29:45 +02:00
Stefan Dej f27b038fa6 bugfix: display name in remove heightmap dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-15 18:07:52 +02:00
Stefan Dej f70a6b6d99 Merge remote-tracking branch 'origin/master' 2021-08-15 18:03:58 +02:00
kolbenhans 2b09a5c927 reworked translation (#329)
* Updated de.json to match latest locale layout

* Update de.json

reverted fixed names to englisch.

* Update de.json

removing comma from json object ends.

* Update de.json

additonal comma fix.

* Update de.json

Chart texts changed to old (v1.6) values
(GUI) Line breaking texts changed.

* Z-Offset Panel headline correction

Changed from Z-Tilt to Z-Offset

* Status Panel line break change 

Change Speed text from "Geschwindigkeit" to "Tempo"

* minor text updates

Voreinstellungen  --> presets
Z-Panel preset text change
2021-08-15 18:03:25 +02:00
cgrossi70 639866ac80 Small fixes / Pequeñas correcciones (#330)
* Create es.json

Agregar Idioma español

* Update es.json

* Update es.json

* Delete es.json

* Add files via upload

Español locales

* Update es.json
2021-08-15 18:03:03 +02:00
Stefan Dej 2403fca28c bugfix: add fixed width of settings sidebar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-15 17:36:54 +02:00
Stefan Dej 5171564d49 bugfix: version number and navi overlaps
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-12 22:55:58 +02:00
Stefan Dej dc379e544a bugfix: console scrolling and min height
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-12 22:48:32 +02:00
Stefan Dej 3b13444859 push version number to v2.0.0-beta4
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-10 22:35:58 +02:00
EmperorandStefan Dej 260fa11362 Update ru.json (#326)
* Update ru.json

* add Settings.Dashboard

* cleanup unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* add last translations

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-10 22:18:27 +02:00
cgrossi70 008351359b Add spanish translation / Agregar traduccion al español (#327)
* Create es.json

Agregar Idioma español

* Update es.json

* Update es.json

* Delete es.json

* Add files via upload

Español locales
2021-08-10 22:08:31 +02:00
Stefan Dej 3c6bbd228a remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-10 21:41:22 +02:00
Stefan Dej ad25c421be push version number to V2.0.0-beta3
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-09 22:06:02 +02:00
Stefan Dej b6223af123 bugfix: hide webcam until socket is connected
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-09 22:05:03 +02:00
Stefan Dej 63aae04794 bugfix: responsive fix on portrait tablet in TheTopbar.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 19:19:58 +02:00
Stefan Dej dd36ffa925 bugfix: responsive fix on portrait tablet in ToolsPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 19:11:36 +02:00
Stefan Dej 2aa459e13e bugfix: responsive fix on portrait tablet in ZoffsetPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 19:06:14 +02:00
Stefan Dej ce35a112e5 bugfix: fix typo in zoffset panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 18:51:11 +02:00
Stefan Dej 97247184d9 bugfix: set tool target temp if new target is out of range
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 18:49:15 +02:00
Stefan Dej 37d1867bd6 remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 13:37:54 +02:00
Stefan Dej 99f5325fe8 bugfix: col width from loading col in settings row
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 13:33:17 +02:00
Stefan Dej 8911ee2633 bugfix: saving webcams in SettingsWebcamTab.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 13:31:00 +02:00
Stefan Dej 77b2b235f1 bugfix: saving presets in SettingsPresetsTab.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 13:23:26 +02:00
FrY Sennberg 65d23b3ded docs: added nvm node install for standalone dev env (#325)
change preferred way of installing node to nvm
2021-08-08 10:25:21 +02:00
218b660a13 Dutch locales (#324)
* locale: add Dutch

* locale: update NL for 2.0

* cleanup unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Bart Lammers <b.lammers@youweagency.com>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-08-08 10:25:09 +02:00
Stefan Dej 30261a076e bugfix: scrollable console in shell style
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-07 11:14:45 +02:00
Juan Rosario e58ce07db1 Update to package 1.0.6 2021-08-07 00:51:32 -05:00
Juan Rosario be470f91f7 Multiple UI Updates
Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area
2021-08-06 19:37:33 -05:00
Stefan Dej 7c5f613f5a feature: add welcome message in empty console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-07 00:50:41 +02:00
Juan Rosario 601c52af40 Move loading progress bar 2021-08-06 14:51:32 -05:00
Juan Rosario 0cf99e8bba Force line rendering is saved
Addressed an issue where watchers could try to fire on  a viewer that is not initialized
2021-08-06 14:36:42 -05:00
Juan Rosario 9437da4444 Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-06 13:58:29 -05:00
Juan Rosario 189c7e428f Bed and Delta 2021-08-06 13:57:48 -05:00
Stefan Dej 96f8a68448 feature: linux like console & customize console height (#321)
* feature: add linux/bash like console style

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: fix not full console position

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* feature: configable console height on dashboard

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: old variable name in MiniconsolePanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* bugfix: console array cut on dashboard dont work with shell style

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-06 14:32:11 +02:00
Juan Rosario 4f0e06f285 Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-06 06:52:57 -05:00
Juan Rosario c6c67996b5 Set ZClipPlane for WebGL1 viewers 2021-08-06 06:52:45 -05:00
Stefan Dej 3aa386b5a4 change icon and message for heightmap error message
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-06 13:45:06 +02:00
Stefan Dej 52d07b7f45 change border to left side of the heightmap warning alert
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-06 12:06:56 +02:00
Stefan Dej 102d429a40 feature: disable heightmap panels when klipper is not ready
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-06 12:00:53 +02:00
Juan Rosario 8cc9018b58 min and max feed coloring settings 2021-08-05 20:28:29 -05:00
Juan Rosario 037e610136 Added more settings. 2021-08-05 18:47:56 -05:00
Juan Rosario 105a493a74 Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-05 08:57:12 -05:00
Juan Rosario 824c68f766 Hide the loading required button earlier 2021-08-05 08:51:56 -05:00
Juan Rosario 7c60c9dd35 Work on settings 2021-08-05 08:10:07 -05:00
Stefan Dej 0f425d30be bugfix: fix interface for heightmapSerie
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-04 23:44:10 +02:00
Stefan Dej 39fd216836 bugfix: fix heightmap for delta printers
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-04 23:42:11 +02:00
Stefan Dej adea64249a bugfix: workaround for dashboard panel sorting on mobile devices
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-04 22:05:28 +02:00
Juan Rosario 30fce076bd Added a live tracking button 2021-08-02 20:10:56 -05:00
Juan Rosario 5a5f0c5fb3 Merge remote-tracking branch 'meteyou/master' into feature/gcodeviewer 2021-08-02 07:28:26 -05:00
Juan Rosario d197b78490 Failed render check. 2021-08-02 06:59:46 -05:00
Juan Rosario bf06dd67c5 Turn off loading progress after changing render quality. 2021-08-02 06:56:49 -05:00
Juan Rosario 382943ab7c Loading progress indicator 2021-08-02 06:51:44 -05:00
Juan Rosario 183b5d8e8e Cache off canvas
Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.
2021-08-01 17:25:17 -05:00
Juan Rosario 069e689306 Add render quality and force line mode settings 2021-08-01 15:54:09 -05:00
Juan Rosario f53d895f4e Fix router 2021-08-01 15:26:23 -05:00
Juan Rosario b325224dbe Reupdate files.vue 2021-08-01 14:06:23 -05:00
Juan Rosario 885df927e8 Revert files.vue 2021-08-01 14:04:16 -05:00
Juan Rosario 2ecb3e461c Initial implementation of GCode Viewer in Mainsail 2021-08-01 11:13:44 -05:00
355 changed files with 37260 additions and 16882 deletions

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}
+13
View File
@@ -0,0 +1,13 @@
# Contributor Code of Conduct
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
+45
View File
@@ -0,0 +1,45 @@
# This is a basic workflow to help you get started with Actions
name: Build
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Fetch repo
uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Copy output
run: cp ${{ github.workspace }}/dist/mainsail.zip mainsail-latest.zip
- uses: actions/upload-artifact@v2.2.4
with:
name: mainsail-latest.zip
path: mainsail-latest.zip
+1
View File
@@ -20,3 +20,4 @@ docker/config/*.cfg
docker/config/*.conf
docker/config/.mainsail.json
docker/config/.theme
.env
+42
View File
@@ -0,0 +1,42 @@
# Mainsail Contributing Guide
Hi! I'm really excited that you are interested in contributing to Mainsail. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
- [Code of Conduct](https://github.com/meteyou/mainsail/.github/CODE_OF_CONDUCT.md)
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
- [Pull Request Guidelines](#pull-request-guidelines)
## Issue Reporting Guidelines
- Use [https://github.com/meteyou/mainsail/issues](https://github.com/meteyou/mainsail/issues) to create new issues.
## Pull Request Guidelines
- The `master` branch is just a snapshot of the latest stable release. All development should be done in dedicated branches. **Do not submit PRs against the `master` branch.**
- Checkout a topic branch from the relevant branch, e.g. `develop`, and merge back against that branch.
- It's OK to have multiple small commits as you work on the PR - GitHub will automatically squash it before merging.
- If adding a new feature:
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
- If fixing bug:
- If you are resolving a special issue, add `(fix #xxxx[,#xxxx])` (#xxxx is the issue id) in your PR title for a better release log, e.g. `update entities encoding/decoding (fix #3899)`.
- Provide a detailed description of the bug in the PR. Live demo preferred.
- Add appropriate test coverage if applicable.
## Committing Changes
Commit messages should follow the [commit message convention](https://www.conventionalcommits.org/en/v1.0.0/) so that changelogs can be automatically generated.
## Financial Contribution
As a pure community-driven project without major corporate backing, we also welcome financial contributions via Patreon and OpenCollective.
- [Become a supporter on Patreon](https://patreon.com/meteyou)
- [One-time donation via Ko-Fi](https://ko-fi.com/mainsail)
## Credits
Thank you to all the people who have already contributed to Mainsail!
+28 -15
View File
@@ -1,39 +1,52 @@
# Mainsail
<p align="center">
<img src="docs/assets/img/logo.png" alt="Sublime's custom image"/>
</p>
Mainsail a lightweight & responsive web interface for [Klipper](https://github.com/KevinOConnor/klipper), the 3D printer firmware. It communicates with [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
# Mainsail
[![downloads](https://img.shields.io/github/downloads/mainsail-crew/mainsail/total?style=flat-square)](https://github.com/mainsail-crew/mainsail/releases) [![localizations](https://shields-staging.herokuapp.com/github/directory-file-count/mainsail-crew/mainsail/src%2Flocales?label=localizations&extension=json&type=file&style=flat-square)](https://docs.mainsail.xyz/development/localization) [![stars](https://img.shields.io/github/stars/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/stargazers) [![forks](https://img.shields.io/github/forks/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/network/members)
[![license](https://img.shields.io/github/license/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/blob/develop/LICENSE) [![last-commit](https://img.shields.io/github/last-commit/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/commits/) ![size](https://img.shields.io/github/repo-size/meteyou/mainsail?style=flat-square)
[![discord](https://img.shields.io/discord/758059413700345988?color=%235865F2&label=discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/skWTwTD) [![patreons](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dmeteyou%26type%3Dpatrons&style=flat-square)](https://www.patreon.com/meteyou)
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy.
[Getting Started](https://docs.mainsail.xyz/setup)
Mainsail is also available in remote mode on [http://my.mainsail.xyz](http://my.mainsail.xyz). Find out [more](https://docs.mainsail.xyz/setup#mymainsailxyz).
[Documentation](https://docs.mainsail.xyz)
[Release Notes](https://github.com/meteyou/mainsail/releases)
[Release Notes](https://github.com/mainsail-crew/mainsail/releases)
## Screenshots
![screenshot-dashboard](docs/assets/img/screenshot.png)
## Features
- Optimized for desktops, tablets and mobile devices
- Responsive web interface, optimized for desktops, tablets and mobile devices
- Supports multiple 3D printers (Printer Farm)
- Localization (i18n)
- File Manager (gcode and config files)
- File Editor (gcode and config files)
- Print History / Stats
- Print History and Statistics
- Job Queue
- Temperature Presets (with custom gcode)
- Bed Mesh Leveling
- Bed Mesh visualisation
- G-Code Viewer
- Multi-Webcam support
- Control power devices (relays, TPLink, Tasmota, ..)
- Customizable UI (logos, backgrounds & even custom css)
- Timelapse integration
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Powerful Macro-Management
- Configurable dashboard
- Customizable user interface including logos, backgrounds, and custom CSS
- Exclude objects (not yet officially supported by Klipper)
## Get support & assistance
Do you need help or just want to talk? Join us on [Discord](https://discord.gg/skWTwTD). We have a very active community.
Have you found a bug? Then we would like you to create an [issue](https://github.com/meteyou/mainsail/issues).
## Help and Support
Do you need help or just want to talk? Join our active community on [Discord](https://discord.gg/skWTwTD).
Have you found a bug? Please create an [Issue](https://github.com/mainsail-crew/mainsail/issues) in GitHub and let us know.
## Support this project
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
## Support Mainsail
Mainsail is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
- [Patreon (recurring)](https://patreon.com/meteyou)
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail)
[![patreon](https://img.shields.io/badge/patreon-participate-yellow.svg?style=flat-square)](https://www.patreon.com/meteyou)
[![kofi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=flat-square)](https://ko-fi.com/mainsail)
## Credit, sources and inspiration
* [Kevin O'Connor](https://github.com/KevinOConnor) for the awesome 3D printer firmware [Klipper](https://github.com/KevinOConnor/klipper)
+3 -3
View File
@@ -1,5 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
presets: [
'@vue/cli-plugin-babel/preset'
]
}
+5 -5
View File
@@ -6,16 +6,16 @@ services:
dockerfile: api/Dockerfile
image: mainsail-stack-api/1
volumes:
- ./docker/config:/home/node/printer_config
- ./docker/logs:/tmp/logs
- ./docker/config:/home/node/klipper_config
- ./docker/logs:/home/node/klipper_logs
- ./docker/gcode:/home/node/gcode
- ./docker/config/moonraker:/home/node/.moonraker_database
container_name: ${APP_NAME}-stack-api
ports:
- 7125:7125
- "7125:7125"
networks:
- dev_net
application:
npm:
build:
context: ./docker
dockerfile: Dockerfile
@@ -24,7 +24,7 @@ services:
- ./:/home/node/mainsail
container_name: ${APP_NAME}-stack-npm
ports:
- 8080:8080
- "8080:8080"
depends_on:
- api
networks:
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:buster AS base
FROM node:16-buster AS base
EXPOSE 8080
+14 -15
View File
@@ -1,21 +1,17 @@
FROM debian:buster AS base
FROM python:3-slim-buster AS base
RUN groupadd --force -g 1000 node
RUN useradd -ms /bin/bash --no-user-group -g 1000 -u 1000 node
RUN apt-get update
RUN apt-get install -y sudo wget cmake swig git virtualenv python-dev libffi-dev build-essential libncurses-dev libusb-dev avrdude gcc-avr binutils-avr avr-libc dfu-util libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0
RUN apt-get install -y sudo wget cmake swig git virtualenv python-dev libffi-dev \
build-essential libncurses-dev libusb-dev avrdude gcc-avr binutils-avr avr-libc \
dfu-util libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0
RUN mkdir /src
WORKDIR /src
RUN wget http://download.savannah.nongnu.org/releases/simulavr/libsim_1.1.0_amd64.deb
RUN apt install /src/libsim_1.1.0_amd64.deb
#prebuild files for simulavr, not needed currently, because we just build the python lib later
#RUN wget http://download.savannah.nongnu.org/releases/simulavr/simulavr_1.1.0_amd64.deb
#RUN apt install /src/simulavr_1.1.0_amd64.deb
#RUN wget http://download.savannah.nongnu.org/releases/simulavr/python3-simulavr_1.1.0_amd64.deb
#RUN apt install /src/python3-simulavr_1.1.0_amd64.deb
RUN cat /etc/passwd
RUN echo 'node ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/node && \
@@ -27,7 +23,7 @@ RUN ln -s /bin/true /bin/systemctl
USER node
WORKDIR /home/node
RUN git clone https://github.com/KevinOConnor/klipper
RUN git clone https://github.com/klipper3d/klipper
WORKDIR /home/node/klipper
COPY api/simulavr.config /home/node/klipper/.config
RUN make
@@ -46,7 +42,6 @@ RUN sed -E 's/check_klipper\(\)/check_klipper() { return 0; }\nold()/' /home/nod
RUN chmod +x /home/node/moonraker/scripts/install-moonraker2.sh
RUN /home/node/moonraker/scripts/install-moonraker2.sh
RUN sudo rm -f /bin/systemctl
#restore backed up systemctl command
#RUN sudo mv /bin/systemctl.bak /bin/systemctl
@@ -54,13 +49,17 @@ WORKDIR /home/node/
RUN git clone https://git.savannah.nongnu.org/git/simulavr.git
WORKDIR /home/node/simulavr
RUN make python
RUN make build
RUN make build -j8
USER root
RUN rm /bin/systemctl
COPY api/run-api /usr/local/bin/run-api
RUN chmod +x /usr/local/bin/run-api
RUN apt-get -y install supervisor
USER node
RUN ln -s /usr/bin/supervisorctl /bin/systemctl
ENTRYPOINT ["run-api"]
RUN mkdir -p /var/log/supervisor
COPY api/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY api/start-api /bin/start-api
RUN chmod +x /bin/start-api
ENTRYPOINT ["/bin/start-api"]
-6
View File
@@ -1,6 +0,0 @@
#!/usr/bin/env bash
PYTHONPATH="/home/node/simulavr/build/pysimulavr/" /home/node/klipper/scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 /home/node/klipper/simulavr.elf &
/home/node/klippy-env/bin/python /home/node/klipper/klippy/klippy.py /home/node/printer_config/printer.cfg -l /tmp/logs/klippy.log -a /tmp/klippy_uds &
/home/node/moonraker-env/bin/python /home/node/moonraker/moonraker/moonraker.py -l /tmp/logs/moonraker.log -c /home/node/printer_config/moonraker.conf &
echo "Starting ..." >> /tmp/logs/klippy.log
tail -f /tmp/logs/klippy.log
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
chown -hR node:node /home/node/klipper_logs
/usr/bin/supervisord
+38
View File
@@ -0,0 +1,38 @@
[supervisord]
#logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
[program:simulavr]
command=bash -c 'sleep 10 && /home/node/klipper/scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 /home/node/klipper/simulavr.elf'
environment=PYTHONPATH=/home/node/simulavr/build/pysimulavr/
user=node
process_name=simulavr
directory=/home/node
autostart=true
autorestart=true
redirect_stderr=true
[program:klipper]
command=/home/node/klippy-env/bin/python /home/node/klipper/klippy/klippy.py /home/node/klipper_config/printer.cfg -l /home/node/klipper_logs/klippy.log -a /tmp/klippy_uds
user=node
process_name=klipper
directory=/home/node
autostart=true
autorestart=true
redirect_stderr=true
[program:moonraker]
command=/home/node/moonraker-env/bin/python /home/node/moonraker/moonraker/moonraker.py -l /home/node/klipper_logs/moonraker.log -c /home/node/klipper_config/moonraker.conf
user=node
process_name=moonraker
directory=/home/node
autostart=true
autorestart=true
redirect_stderr=true
+1 -68
View File
@@ -6,7 +6,7 @@ path: ~/gcode
[mcu]
serial: /tmp/pseudoserial
pin_map: arduino
restart_method: arduino
baud: 250000
[stepper_x]
@@ -110,70 +110,3 @@ max_z_accel: 100
# G28 Y0
# G28 X0
# G28 Z0
[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 230 #edit to your park position
default_parameter_Y: 230 #edit to your park position
default_parameter_Z: 10 #edit to your park position
default_parameter_E: 1 #edit to your retract length
gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-{E} F2100
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
[gcode_macro RESUME]
rename_existing: BASE_RESUME
default_parameter_E: 1 #edit to your retract length
gcode:
G91
G1 E{E} F2100
G90
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME
[gcode_macro CANCEL_PRINT]
rename_existing: BASE_CANCEL_PRINT
gcode:
TURN_OFF_HEATERS
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT
[gcode_macro START_PRINT]
default_parameter_BED_TEMP: 103.3
default_parameter_EXTRUDER_TEMP: 103.3
gcode:
# Start bed heating
M140 S103.3
# Use absolute coordinates
G90
# Reset the G-Code Z offset (adjust Z offset if needed)
SET_GCODE_OFFSET Z=0.0
# Home the printer
G28
# Move the nozzle near the bed
G1 Z5 F3000
# Move the nozzle very close to the bed
G1 Z0.15 F300
# Wait for bed to reach temperature
M190 S103.3
# Set and wait for nozzle to reach temperature
M109 S103.3
[gcode_macro END_PRINT]
gcode:
# Turn off bed, extruder, and fan
M140 S0
M104 S0
M106 S0
# Move nozzle away from print while retracting
G91
G1 X-2 Y-2 E-3 F300
# Raise nozzle by 10mm
G1 Z10 F3000
G90
# Disable steppers
M84
+1
View File
@@ -20,6 +20,7 @@ source "https://rubygems.org"
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem "jekyll-remote-theme"
gem "jekyll-redirect-from"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
+80 -73
View File
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.5)
activesupport (6.0.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -16,28 +16,40 @@ GEM
colorator (1.1.0)
commonmarker (0.17.13)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.8)
dnsruby (1.61.5)
concurrent-ruby (1.1.9)
dnsruby (1.61.7)
simpleidn (~> 0.1)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
ethon (0.14.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
eventmachine (1.2.7-x64-mingw32)
execjs (2.7.0)
faraday (1.3.0)
execjs (2.8.1)
faraday (1.7.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
ffi (1.14.2)
ffi (1.14.2-x64-mingw32)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
ffi (1.15.3)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (212)
github-pages-health-check (= 1.17.0)
github-pages (218)
github-pages-health-check (= 1.17.2)
jekyll (= 3.9.0)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
@@ -52,27 +64,27 @@ GEM
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.2)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.7.1)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.1.1)
jekyll-theme-cayman (= 0.1.1)
jekyll-theme-dinky (= 0.1.1)
jekyll-theme-hacker (= 0.1.2)
jekyll-theme-leap-day (= 0.1.1)
jekyll-theme-merlot (= 0.1.1)
jekyll-theme-midnight (= 0.1.1)
jekyll-theme-minimal (= 0.1.1)
jekyll-theme-modernist (= 0.1.1)
jekyll-theme-primer (= 0.5.4)
jekyll-theme-slate (= 0.1.1)
jekyll-theme-tactile (= 0.1.1)
jekyll-theme-time-machine (= 0.1.1)
jekyll-theme-architect (= 0.2.0)
jekyll-theme-cayman (= 0.2.0)
jekyll-theme-dinky (= 0.2.0)
jekyll-theme-hacker (= 0.2.0)
jekyll-theme-leap-day (= 0.2.0)
jekyll-theme-merlot (= 0.2.0)
jekyll-theme-midnight (= 0.2.0)
jekyll-theme-minimal (= 0.2.0)
jekyll-theme-modernist (= 0.2.0)
jekyll-theme-primer (= 0.6.0)
jekyll-theme-slate (= 0.2.0)
jekyll-theme-tactile (= 0.2.0)
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
kramdown (= 2.3.0)
kramdown (= 2.3.1)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.3)
mercenary (~> 0.3)
@@ -80,7 +92,7 @@ GEM
nokogiri (>= 1.10.4, < 2.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)
github-pages-health-check (1.17.0)
github-pages-health-check (1.17.2)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
@@ -138,7 +150,7 @@ GEM
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.2)
jekyll-remote-theme (0.4.3)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
@@ -150,45 +162,45 @@ GEM
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
jekyll-theme-architect (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-cayman (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-dinky (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.1.2)
jekyll-theme-architect (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.1.1)
jekyll (~> 3.5)
jekyll-theme-cayman (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-merlot (0.1.1)
jekyll (~> 3.5)
jekyll-theme-dinky (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-midnight (0.1.1)
jekyll (~> 3.5)
jekyll-theme-hacker (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.1.1)
jekyll (~> 3.5)
jekyll-theme-leap-day (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.1.1)
jekyll (~> 3.5)
jekyll-theme-merlot (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.5.4)
jekyll-theme-midnight (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.6.0)
jekyll (> 3.5, < 5.0)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.0)
jekyll-theme-slate (0.1.1)
jekyll (~> 3.5)
jekyll-theme-slate (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-tactile (0.1.1)
jekyll (~> 3.5)
jekyll-theme-tactile (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-time-machine (0.1.1)
jekyll (~> 3.5)
jekyll-theme-time-machine (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
@@ -198,41 +210,41 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.4.1)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.6.1)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.14.4)
multipart-post (2.1.1)
nokogiri (1.11.4-x64-mingw32)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.11.4-x86_64-linux)
racc (~> 1.4)
octokit (4.20.0)
octokit (4.21.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
racc (1.5.2)
rb-fsevent (0.10.4)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
ruby-enum (0.9.0)
i18n
ruby2_keywords (0.0.4)
rubyzip (2.3.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
@@ -251,19 +263,14 @@ GEM
ethon (>= 0.9.0)
tzinfo (1.2.9)
thread_safe (~> 0.1)
tzinfo-data (1.2021.1)
tzinfo (>= 1.0.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unf_ext (0.0.7.7-x64-mingw32)
unicode-display_width (1.7.0)
wdm (0.1.1)
zeitwerk (2.4.2)
PLATFORMS
x64-mingw32
x86_64-linux
ruby
DEPENDENCIES
github-pages
@@ -274,4 +281,4 @@ DEPENDENCIES
wdm (~> 0.1.1)
BUNDLED WITH
2.2.13
2.1.4
+1 -1
View File
@@ -1 +1 @@
Welcome to the Mainsail documentation. The [index](http://meteyou.github.io/mainsail) of the docs is here.
Welcome to the Mainsail documentation. The [index](https://docs.mainsail.xyz) of the docs is here.
+4 -2
View File
@@ -8,13 +8,15 @@ color_scheme: "mainsail"
search_enabled: true
aux_links:
"Mainsail on GitHub":
- "//github.com/meteyou/mainsail"
- "//github.com/mainsail-crew/mainsail"
aux_links_new_tab: true
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
image: assets/img/rtfm.png
plugins:
- jekyll-redirect-from
+2
View File
@@ -2,3 +2,5 @@ name,short_note,author,repo
Dracula,,steadyjaw,dracula-mainsail-theme
Cyberpunk,,Dario-Ciceri,cp2077-mainsail-theme
Mainsail x Voron Toolhead,Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png',eriroh,Mainsail-x-Voron-Toolhead-Theme
Rat Rig (unofficial), includes various sidebar images which can be renamed to ‘sidebar-background.png’,Raabi91,ratrig-mainsail-theme
Cryd,,cryd-s,Mainsail-Theme-by-Cryd
1 name short_note author repo
2 Dracula steadyjaw dracula-mainsail-theme
3 Cyberpunk Dario-Ciceri cp2077-mainsail-theme
4 Mainsail x Voron Toolhead Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png' eriroh Mainsail-x-Voron-Toolhead-Theme
5 Rat Rig (unofficial) includes various sidebar images which can be renamed to ‘sidebar-background.png’ Raabi91 ratrig-mainsail-theme
6 Cryd cryd-s Mainsail-Theme-by-Cryd
+15
View File
@@ -49,6 +49,21 @@ $btn-primary-color: $red-300;
content: url("/assets/img/alert.svg");
}
.youtube-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* 9/16 */
}
.youtube-container > iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.key {
padding: 0px 5px;
border-radius: 3px;
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 KiB

After

Width:  |  Height:  |  Size: 692 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

+142
View File
@@ -0,0 +1,142 @@
---
layout: default
title: Configuration
nav_order: 5
has_children: false
permalink: /configuration
redirect_from:
- /necessary-configuration
---
# Required configuration
**Mainsail requires a minimum configuration to function properly and will display a warning at startup if the required parts are not found in your configuration file(s).**
{: .warning}
The following configuration elements are mandatory and must be configured for Mainsail to operate correctly:
* [Virtual SD Card](configuration#virtual_sdcard)
* [Display Status](configuration#display_status)
* [Pause / Resume](configuration#pause_resume)
* [GCode Macros](configuration#pause--resume--cancel)
The following configuration elements are optional, including making tweaks and alterations to Klipper's default commands:
* [Custom Commands](configuration#customisation)
## Virtual SD Card
The `Virtual SD Card` allows gcode file uploads.
```yaml
[virtual_sdcard]
path: ~/gcode_files
```
## Display Status
`Display Status` is required for messages in your status panel, if you don't have `[display]` in your configuration.
```yaml
[display_status]
```
## Pause, Resume, Cancel
These macros enable pause and resume in Klipper.
```yaml
[pause_resume]
```
# Macros
## Add pause / resume / cancel functionality
You can modify the below macros to fit your needs.
{% raw %}
```yaml
[gcode_macro PAUSE]
description: Pause the actual running print
rename_existing: PAUSE_BASE
gcode:
##### set defaults #####
{% set x = params.X|default(230) %} #edit to your park position
{% set y = params.Y|default(230) %} #edit to your park position
{% set z = params.Z|default(10)|float %} #edit to your park position
{% set e = params.E|default(1) %} #edit to your retract length
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% set lift_z = z|abs %}
{% if act_z < (max_z - lift_z) %}
{% set z_safe = lift_z %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
PAUSE_BASE
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E-{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G1 Z{z_safe}
G90
G1 X{x} Y{y} F6000
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
```
```yaml
[gcode_macro RESUME]
description: Resume the actual running print
rename_existing: RESUME_BASE
gcode:
##### set defaults #####
{% set e = params.E|default(1) %} #edit to your retract length
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
```
```yaml
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
```
{% endraw %}
# Optional
## Customisation
Klipper has a number of preset commands that are also just macros.
The default configuration of these may not suit your needs or preferences, though they are usually a good place to start. It's possible to adjust these by including them in your config, along with any additional code you would like to run.
## Example
Adjusting the `BED_MESH_CALIBRATE` command, which is found in the menu at Sidebar > Heightmap > Calibrate.
{% raw %}
```yaml
[gcode_macro BED_MESH_CALIBRATE]
rename_existing: BASE_BED_MESH_CALIBRATE
gcode:
#before the original gcode
BED_MESH_CLEAR
QUAD_GANTRY_LEVEL
G1 X125 Y125 Z5 F6000
#the original gcode
BASE_BED_MESH_CALIBRATE
#after the original gcode
```
{% endraw %}
+5 -5
View File
@@ -13,15 +13,15 @@ description: >-
<!-- {{ page.description }} -->
We would like to say "thank you" to all the
We would like acknowledge the valuable contributions that many people and projects have made to Mainsail, especially the following:
- contributors, who help make Mainsail better
- testers, who help find bugs in Mainsail, so they can be quickly fixed
- supporters via patreon/ko-fi
- supporters via Patreon and Ko-fi
and of course the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"} and [MainsailOS](https://github.com/raymondh2/MainsailOS/){:target="_blank"}.
We would like to thank the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"}, and [MainsailOS](https://github.com/mainsail-crew/MainsailOS/){:target="_blank"}.
**THANK YOU for YOUR support. ❤️**
**THANK YOU for your continued support.**
- TOC
{:toc}
@@ -38,4 +38,4 @@ and of course the projects Mainsail is built on, especially [Klipper](https://gi
| project | license | link |
|:--------|:-------:|:-----|
{% for deps in site.data.licenses %}| **{{ deps[0] }}**<br>{{ deps[1].description }} | [{{ deps[1].licenses }}]({{ deps[1].licenseUrl }}){:target="_blank"} | [{{ deps[1].repository }}]({{ deps[1].repository }}){:target="_blank"} |
{% endfor %}
{% endfor %}
+42
View File
@@ -0,0 +1,42 @@
---
layout: default
title: Data Privacy
nav_order: 99
has_children: false
permalink: /data-privacy
has_toc: false
---
# Data Privacy
Mainsail understands the need for data privacy and it has been designed to only run in your browser locally.
The following table applies to Mainsail when installed locally or accessed remotely at [my.mainsail.xyz](http://my.mainsail.xyz).
| YES | NO |
| :--------------: | :---------------: |
| Store static files in browser storage (.html, .js, .css) | ‘Telemetry’ |
| Communicate directly with your printer via the Moonraker API | Send or transfer any data externally |
## Will my data be safe if I use the hosted version?
Accessing [my.mainsail.xyz](http://my.mainsail.xyz) stores the .html, .js and .css files for Mainsail locally in your brower's storage in exactly the same way that an instance running on your local hardware would do. There is no functional difference or concerns between accessing Mainsail locally or in a remotely public hosted instance.
Running Mainsail both locally and remotely in parallel is also possible.
# Third party software
Mainsail does not modify any third party packages and does not control Data Privacy for any third party packages you choose to install.
If you are concerned, please review the privacy policies for the following third party software:
* [RaspberryOS](https://www.raspberrypi.org/privacy/)
* Klipper
* Moonraker
Please contact the developers of any of the above software if you have any concerns.
It is worth noting that Klipper, Moonraker and RaspberryOS are open source software. This does not bring a guarantee of privacy and security, but the source code is available and open to peer review.
{: .info}
The Raspberry Foundation is a registered charity in the United Kingdom with extensive Privacy and Safeguarding policies.
{: .info}
+2 -2
View File
@@ -19,8 +19,8 @@ You can contribute in a couple of different ways:
(For Example: [BabelEdit](https://www.codeandweb.com/babeledit), [i18N-Manager](https://www.electronjs.org/apps/i18n-manager))
2. Create/Update translations using [VSCode](https://code.visualstudio.com/) and [i18n Ally](https://github.com/lokalise/i18n-ally).
If you have a finished translation file, you can make a [PR (pull request)](https://github.com/meteyou/mainsail/pulls)
on github or create an [issue](https://github.com/meteyou/mainsail/issues) on github and attach the translation.
If you have a finished translation file, you can make a [PR (pull request)](https://github.com/mainsail-crew/mainsail/pulls)
on github or create an [issue](https://github.com/mainsail-crew/mainsail/issues) on github and attach the translation.
## Testing
+13 -7
View File
@@ -26,17 +26,23 @@ cors_domains:
access the local running dev environment with `http://<your local ip>:<local port>`.
(for example: `http://localhost:8080`)
### Nodejs Environment >= v15.9.0
Linux
### Prepare nodejs using nvm
POSIX-compliant shell (sh, dash, ksh, zsh, bash)
unix, macOS, and windows WSL
```shell
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
nvm install node
```
Debian/Ubuntu
make sure you run node >=15.9.0
```shell
sudo apt-get install -y nodejs
node -v
```
For other package-managers look here:
https://nodejs.org/en/download/package-manager/
#### Troubleshoot
follow this guide if you encouter problems with nvm
https://github.com/nvm-sh/nvm#troubleshooting-on-linux
## Start
```shell
+13
View File
@@ -0,0 +1,13 @@
---
layout: default
title: FAQ
nav_order: 110
has_children: true
permalink: /faq/
has_toc: false
---
# Frequently Askes Questions
We are still gathering some "frequently asked questions" and will publish them here soon.
The primary reason why this section already exists, is because of the Klipper warnings in the subcategory, that needed to be fixed fast.
@@ -0,0 +1,48 @@
---
layout: default
title: Command format mismatch
parent: Klipper Errors
grand_parent: FAQ
nav_order: 10
has_children: false
permalink: /faq/klipper_errors/command_format_mismatch
has_toc: false
description: >-
You have updated Klipper and now you get this cryptic error message? We would like to help...
---
# Klipper Error - Command format mismatch
You have updated Klipper and now you get this cryptic error message?
![Command format mismatch](../../assets/img/faq/errors/mcu_error.png)
This is an error and needs to be fixed to make Mainsail and Klipper work again.
{: .info}
## TL;DR
Klipper on your host and on your MCU have different versions.
Recompile and flash your MCUs and it will work again. Please also pay attention to the "Linux MCU", if you had e.g. an adxl345 in use.
The following links should help you to solve the problem:
[Klipper SD-Card Updates](https://www.klipper3d.org/SDCard_Updates.html){:target="_blank"}
[Klipper Building and flashing the micro-controller](https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller){:target="_blank"}
## More detailed
Klipper consists of two parts:
The software on your host (e.g. Raspberry Pi) and the firmware on your microcontroller (MCU).
Under normal circumstances, Klipper (on your host) can simply be updated from Mainsail without any problems and everything will work as expected.
From time to time it happens that there are changes in Klipper that make it necessary to update all your MCUs. Assuming you have run a Klipper update and Klipper on your host now supports commands that your MCUs does not understand. Then you will get the above error message.
Fortunately, these kind of updates don't happen very often, but now it has happened to you. ;-)
In order to solve the problem, you need to update all your MCUs. We are talking about multiple MCUs here, as people tend to forget that they have multiple microcontrollers in use. One of these candidates is the "Linux MCU" that many people install on their Raspberry Pi to measure resonances with an adxl345.
Detailed information on how to update the firmware can be found in the Klipper Documentation linked above (under TL;DR).
As far as we know, work is in progress to let Klipper update the firmware on its own.
{: .info}
+9
View File
@@ -0,0 +1,9 @@
---
layout: default
title: Klipper Errors
parent: FAQ
nav_order: 50
has_children: true
permalink: /faq/klipper_errors
has_toc: false
---
@@ -0,0 +1,95 @@
---
layout: default
title: Deprecated Options
parent: Klipper Warnings
grand_parent: FAQ
nav_order: 20
has_children: false
permalink: /faq/klipper_warnings/deprecated_option
has_toc: false
---
# Deprecated Options
###### default_parameter
## Removal of `default_parameter_` for gcode macros.
In the past, default parameters for gcode macros were defined like so:
```yaml
[gcode_macro PRINT_START]
default_parameter_EXTRUDER: 230
gcode:
...
```
This would define a macro called `PRINT_START` that can be called with an `EXTRUDER` parameter like so: `PRINT_START EXTRUDER=200`. If no value is passed for `EXTRUDER` the default value of 230 is used. This style of default parameters has been deprecated. Instead, define your macro like so:
{% raw %}
```yaml
[gcode_macro PRINT_START]
gcode:
{% set EXTRUDER_TEMP = params.EXTRUDER|default(230)|int %}
```
{% endraw %}
Take note of the following important aspects:
- Parameters passed to gcode macros are stored in the `params` object. So if your macro is called with `VALUE=50`, `params.VALUE` will contain the value 50. After the deprecation, only the `params` object will contain these values.
- Make sure to name your "set variable" something else as the name of the variable in the `params` object (see how I used `EXTRUDER_TEMP` for the "set variable" and `EXTRUDER` for the actual macro parameter above) to avoid confusion and possible parsing errors.
- If you want to pass a default, add `|default(<default value>)` to the end of the params variable (see above, where my default value is 10).
- To ensure that `EXTRUDER_TEMP` will have an integer value, add `|int` to the end of the command, to turn passed parameters (if they exist) and the default into an integer. Depending on what kind of parameter you're passing, there are `|int` `|float` `|bool` or `|string` converters available. Make sure that you convert to int if you want to compare the values in your gcode macro.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
###### step_distance
## Removal of `step_distance`
`step_distance` describes the distance covered by a certain axis with 1 stepper (micro-)step. The downside of this parameter (and one of the reasons for its removal, is that if one were to change the microstepping of a stepper, the step_distance changes as well. Klipper therefore removed the `step_distance` parameter in favor of `rotation_distance` and `full_steps_per_rotation`. These two parameters are unaffected by microstepping, and can be easily determined by inspecting the used hardware.
Perform the following steps to convert your config:
- comment out the old `step_distance` parameter
- add three new parameters:
- `full_steps_per_rotation` this is 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
- `rotation_distance` this can be determined either according to hardware, or by converting the old `step_distance` using math.
- `gear_ratio` can additionally be used to describe an axis that uses a reduction gear (like the Voron-2 Z axis)
- The easiest way to obtain the correct values for `rotation_distance` and `gear_ratio` is to check the official Voron printer github repositories. All example configs have been updated to include the correct values for the new parameters. Keep in mind that you'll still have to calibrate your extruder steps/mm if you choose to copy the values for the extruder. Instructions on how to convert and recalibrate the extruder values can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#extruder).
- The formulas to convert `step_distance` to `rotation distance` can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#obtaining-rotation_distance-from-steps_per_mm-or-step_distance)
- Guidance on how to inspect your hardware to determine your conversion distance can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#obtaining-rotation_distance-by-inspecting-the-hardware). Make sure to also consider any reduction gearing, if applicable, by checking [this section](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#using-a-gear_ratio) as well.
- For every stepper, except your extruder, you should end up with even numbers (e.g. 40 instead of 39.9683).
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
###### pin_map
## Removal of `pin_map`
For Voron printers, this is only relevant if you're running an arduino based controller board and use pins named similar to `ar19` etc. These pin declarations are no longer valid and need to be replaced with their hardware pin identifiers. To find the appropriate hardware pin identifier perform a google image search for your board plus `pinout`. E.g.:
`arduino mega 2560 pinout`
which will yield images such as this one:
![image](https://user-images.githubusercontent.com/4352664/138724260-5813281d-d62d-4b0c-87ee-1f64d301c15f.png)
There, find the pin you're trying to replace. The old pin maps use the digital number of the pin. For example, if your old pin was `ar10`, looking at the image you will find that the `D10` pin corresponds to `PB4`. Replace all pins in your config accordingly, and finally remove the `pin_map:` configuration parameter from your `mcu` section.
Alternatively, you can copy an appropriate `[board_pins]` block from [this location](https://github.com/Klipper3d/klipper/blob/master/config/sample-aliases.cfg) to your config. If you're using multiple arduinos, make sure to add the appropriate mcu to each block like so:
```yaml
[board_pins arduino-mega]
mcu: mcu
```
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
###### pid_integral_max
## Removal of `pid_integral_max`
Remove any instances of `pid_integral_max` from your config.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
@@ -0,0 +1,33 @@
---
layout: default
title: Deprecated Values
parent: Klipper Warnings
grand_parent: FAQ
nav_order: 10
has_children: false
permalink: /faq/klipper_warnings/deprecated_value
has_toc: false
---
# Deprecated Values
###### NTC 100K beta 3950
## Removal of `NTC 100K beta 3950` sensor type.
The "NTC 100K beta 3950" temperature sensor is _deprecated_ and will be removed in the near future.
In order to solve the problem search in your config for `sensor_type: NTC 100K beta 3950` and replace it with `sensor_type: Generic 3950`.
Most users will find the "Generic 3950" temperature sensor more accurate. Anyway you can continue to use the older (typically less accurate) definition. Therefor define a custom thermistor with `temperature1: 25`, `resistance1: 100000`, and `beta: 3950`.
[Source](https://www.klipper3d.org/Config_Changes.html){:target="_blank"} Klipper Configuration Changes
{: .info}
###### rpi_temperature
## Removal of `rpi_temperature` sensor alias.
Replace `sensor_type: rpi_temperature` by `sensor_type: temperature_host` everywhere in your config.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
+9
View File
@@ -0,0 +1,9 @@
---
layout: default
title: Klipper Warnings
parent: FAQ
nav_order: 10
has_children: true
permalink: /faq/klipper_warnings
has_toc: false
---
+24 -18
View File
@@ -6,41 +6,47 @@ has_children: false
---
# Welcome to Mainsail!
Mainsail is a lightweight & responsive web interface for Klipper, the 3D printer firmware. It focuses especially on an intuitive and consistent interface.
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy.
{: .fs-5 }
[Getting Started](/setup){: .btn .btn-primary }
[GitHub](https://github.com/meteyou/mainsail){: .btn}{:target="_blank"}
[Release Notes](https://github.com/meteyou/mainsail/releases){: .btn}{:target="_blank"}
[GitHub](https://github.com/mainsail-crew/mainsail){: .btn}{:target="_blank"}
[Release Notes](https://github.com/mainsail-crew/mainsail/releases){: .btn}{:target="_blank"}
## Screenshots
![Dashboard](assets/img/screenshot.png)
## Features
- Optimized for desktops, tablets and mobile devices
- Responsive web interface, optimized for desktops, tablets and mobile devices
- Supports multiple 3D printers (Printer Farm)
- Localization (i18n)
- File Manager (gcode and config files)
- File Editor (gcode and config files)
- Print History / Stats
- File Manager (G-Code and config files)
- File Editor (G-Code and config files)
- Print History and Statistics
- Job Queue
- Temperature Presets (with custom gcode)
- Bed Mesh Leveling
- Bed Mesh visualisation
- G-Code Viewer
- Multi-Webcam support
- Control power devices (relays, TPLink, Tasmota, ..)
- Customizable UI (logos, backgrounds & even custom css)
- Timelapse integration
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Powerful Macro-Management
- Configurable dashboard
- Customizable user interface including logos, backgrounds, and custom CSS
- Exclude objects (not yet officially supported by Klipper)
## Get support & assistance
Do you need help or just want to talk? Join us on discord. We have a very active community.
Have you found a bug? Then we would like you to create an Issue on GitHub.
## Help and Support
Do you need help or just want to talk? Join our active community on Discord.
Have you found a bug? Please create an Issue in GitHub and let us know.
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
[GitHub Issues](https://github.com/meteyou/mainsail/issues){: .btn}{:target="_blank"}
[GitHub Issues](https://github.com/mainsail-crew/mainsail/issues){: .btn}{:target="_blank"}
## Support this project
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
## Support Mainsail
Mainsail is primarily developed and maintained by `meteyou`. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
- [Patreon (recurring)](https://patreon.com/meteyou){:target="_blank"}
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail){:target="_blank"}
However, we would also like to ask you to support the regular contributors.
{: .info}
Please also support all of our maintainers and contributors.
{: .info}
@@ -1,7 +1,7 @@
---
layout: default
title: Necessary Configuration
nav_order: 5
nav_exclude: true
has_children: false
permalink: /necessary-configuration
---
@@ -120,4 +120,4 @@ gcode:
BASE_BED_MESH_CALIBRATE
#after the original gcode
```
{% endraw %}
{% endraw %}
+3 -3
View File
@@ -5,7 +5,7 @@ parent: Quicktips
has_children: false
permalink: /quicktips/additional-sensors
description: >-
Integrate additional sensors into the temperature graph. For example Raspberry Pi, MCU, BMExxx, HTU21D, LM75 and more..
You can integrate additional sensors [supported by Klipper](https://www.klipper3d.org/Config_Reference.html#temperature-sensors) into the temperature graph in Mainsail.
---
# {{ page.title }}
@@ -13,7 +13,7 @@ description: >-
## Raspberry Pi temperature sensor
Append the following section to your printer.cfg:
Append the following section to your `printer.cfg`:
```yaml
[temperature_sensor raspberry_pi]
@@ -24,7 +24,7 @@ max_temp: 100
## ATSAM, ATAMD, and STM32 temperature sensor
Append the following section to your printer.cfg:
Append the following section to your `printer.cfg`:
```yaml
[temperature_sensor mcu_temp]
+5 -5
View File
@@ -5,22 +5,22 @@ parent: Quicktips
has_children: false
permalink: /quicktips/console-shortcuts
description: >-
Similar to a terminal of your OS, there are some keyboard shortcuts in Mainsail that make your everyday life easier.
Keyboard shortcuts are available for those who prefer shortcuts.
---
# {{ page.title }}
{{ page.description }}
## Help command
## List of Commands
Issue a `HELP` command to get a list of possible commands.
Issue a `HELP` command in the console to get a list of all available commands.
## Autocomplete
You can start typing a command and then complete it with the tab-key. If there are several possibilities, you will get a list of choices.
You can start typing a command and then complete it with the Tab key. If there are several possibilities, a list of choices will be displayed.
![](../assets/img/quicktips/console-shortcuts/tab_complete.gif)
## Scroll through commands
Using the &uarr; up / &darr; down arrow keys you can scroll through previous commands.
Use the &uarr; up and &darr; down arrow keys to scroll through previously used commands in the console.
+2 -2
View File
@@ -5,14 +5,14 @@ parent: Quicktips
has_children: false
permalink: /quicktips/disable-octoprint-lcd-menu
description: >-
Klipper is shipped with an Octoprint entry in the LCD menu. These menu points don't work with Mainsail.
Klipper ships with an Octoprint entry in the LCD menu which does not work with Mainsail.
---
# {{ page.title }}
{{ page.description }}
## Modify printer.cfg
Just add the following entry to your printer.cfg:
Add the following entry to your printer.cfg to disable Octoprint:
```yaml
[menu __main __octoprint]
@@ -5,7 +5,7 @@ parent: Quicktips
has_children: false
permalink: /quicktips/hide-gcode_macros
description: >-
As you probably already noticed, you can show and hide the gcode macros in the interface settings, but there is more...
You can show and hide G-Code macros in the interface settings
---
# {{ page.title }}
@@ -25,10 +25,10 @@ gcode:
M300
```
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` not.
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` does not.
![](../assets/img/quicktips/hide-gcode_macros/my_awesome_macro.png)
By the way, this also works for other configuration sections like, **fans and outputs.**
This also works for other configuration sections including **fans and outputs.**
{: .info}
+7 -6
View File
@@ -1,24 +1,25 @@
---
layout: default
title: Print History/Stats
title: Print History and Statistics
parent: Quicktips
has_children: false
permalink: /quicktips/history
description: >-
Since Mainsail 1.5.0 it is possible to report and visualize print statistics. These contain various information such as print status, print duration, amount of filament used, etc.
You can view your print history and statistics in the History section of Mainsail.
---
# {{ page.title }}
{{ page.description }}
It's also possible to reprint jobs.
This includes print job status, duration, amount of filament used, and more. You can also reprint a print job.
![](../assets/img/quicktips/history/history.png){: style="width: 50%;"}
## Enable print history tracking
For this, it is necessary to enable print history tracking in moonraker.
To enable print history tracking, you must first enable this feature in Moonraker.
Just add `[history]` to your moonraker.conf and restart moonraker.
Add `[history]` to your `moonraker.conf ` configuration file and restart Moonraker.
The new history entry will appear in Mainsails sidebar.
The new history entry will appear in Mainsail's sidebar.
+1 -1
View File
@@ -5,7 +5,7 @@ nav_order: 10
has_children: true
permalink: /quicktips
description: >-
quick tips, without much explanation
Quick tips for Mainsail users.
---
# {{ page.title }}
+130
View File
@@ -0,0 +1,130 @@
---
layout: default
title: Multicam
parent: Quicktips
has_children: false
permalink: /quicktips/multicam
description: >-
How to setup multi Webcams with mainsailOS.
---
# {{ page.title }}
{{ page.description }}
__Disclaimer__
Thank you to [Charlie_Powell](https://community.octoprint.org/u/Charlie_Powell) for letting us adapt his guide for MainsailOS!
The original guide can be found [here](https://community.octoprint.org/t/setting-up-multiple-webcams-in-octopi-the-right-way/32669).
{: .info}
## Prerequisites
For multicam to work, you will need:
- MainsailOS v0.5.0 or higher
- SSH access
- Two or more cameras
__WARNING__
**If you are working with an existing installation, make a backup!**
{: .warning}
## Creating the configuration files
MainsailOS supports an infinite number of `webcam*.txt` style configuration files. They should be placed in
`/home/pi/klipper_config`.
In Mainsail's user interface, go to 'Settings > Interface' and click on (1) and save as `webcam2.txt`.
:image:
You should now have two identical files with different names:
1. `/home/pi/klipper_config/webcam.txt`
2. `/home/pi/klipper_config/webcam2.txt`
## Edit the original configuration file for a specific camera
Find the path to the camera by its ID. This makes it easier to stop `dev/video0` and `/dev/video1` from being switchedin the future.
In a terminal, run the command `ls /dev/v4l/by-id`, copy your camera id and paste it into the editor in Mainsail. For example:
```bash
$ ls /dev/v4l/by-id/
```
returns
```
usb-046d_0825_88C56B60-video-index0 usb-046d_0825_88C56B60-video-index1
```
This example will use the first one: `usb-046d_0825_88C56B60-video-index0`
__Note__
Not sure which device is which? You can run `lsusb` to match a camera name to an ID.
{: .info}
Edit `/home/pi/klipper_config/webcam.txt` by clicking on it in Mainsail.
Insert two lines at the beginning of `webcam.txt`:
```
camera="usb"
camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/<device long id>"
```
The `device long id` should match the camera name from running `lsusb`.
__Note__
If you are using a Raspberry Pi branded camera, set camera="raspi" at the top of the file and you do not have to reference the cameras by device ID.
{: .info}
## 3. Editing the second configuration file
When using a second camera, you must add the port `mjpg_streamer` runs under and the device.
__Note__
If you are using one Raspberry Pi branded camera and a different USB camera you don't need to reference them by ID, as camera="raspi" and camera="usb" is enough.
{: .info}
Similar to finding the first camera, run `ls` and copy the ID of the second camera:
```bash
ls /dev/v4l/by-id/
```
Edit `/home/pi/klipper_config/webcam2.txt` as described above and add:
`camera="usb"` and `set camera_usb_options` but this time using the ID for the second camera:
```bash
camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/<device long id>"
```
Adjust the port by editing `camera_http_options`:
`camera_http_options="-n -p 8081"`
The port should reflect the number in `webcam*.txt`:
```
webcam.txt => -p 8080
webcam1.txt => -p 8081
webcam2.txt => -p 8082
webcam3.txt => -p 8083
```
__INFO__
MainsailOS comes setup with four nginx reverse proxies for port 8080 through 8083, so you can configure 4 webcams with this guide.
For more webcams you will need to edit the nginx configuration, which is not recommended. It can be easy to make a mistake when editing nginx, which will also cause Mainsail to stop working.
If you need more than four webcams, visit us on [Discord](https://discord.gg/skWTwTD){:target="_blank"} and we will help you.
{: .warning}
## 4. Test that it works
Restart `webcamd` by clicking the power button icon in the upper right corner of Mainsail and click `Webcamd` to restart it.
Find your second camera under `http://<your-ip>/webcam2/`.
If it doesn't work, check in the webcam log in the filemanager log section for details.
If it works, you can use the URLs in Mainsail:
Stream: `http://<your-ip>/webcam2/`
__DONE__
Congratulations, you set up multi webcam with Mainsail!
If you want to add more, follow the guide again and increment the `webcam*.txt` number, i.e. `webcam**3**.txt` and so on.
The webcams are accessible through your `http://<your-ip>/webcam`, `http://<your-ip>/webcam2`, etc.
{: .success}
+3 -4
View File
@@ -16,16 +16,15 @@ In Mainsails interface settings you will find a section called "Preheat Presets"
### Preheat
Enter a name \(e.g. name, color and type of filament\) and the temperatures obtained. You can disable individual heaters and even specify a custom gcode for the preheat phase. The gcode will be executed after the selected temperatures are set.
Enter a name for your preset, such as filament, color or other text and the temperature you wish to set the preset at. You can disable individual heaters and even specify a custom gcode for the preheat phase. The G-Code will be executed after the selected temperatures are set.
![](../assets/img/quicktips/presets/preheat.png)
### Further Examples
#### Z-Offset
You can add custom G-Code to make it easier to switch between different Z-Offsets. This makes it easier to work with different surfaces and flexplates.
To quickly switch between different Z-offsets \(flexplates with smooth and textured surfaces\), you can create presets and deactivate the heaters.
As G-Code you simply enter `SET_GCODE_OFFSET Z=0.2`, of course with your determined offset.
To configure the G-Code enter `SET_GCODE_OFFSET Z=0.2`, and change `0.2` to the offset you need.
![](../assets/img/quicktips/presets/gcodeoffset.png)
+16 -25
View File
@@ -11,26 +11,20 @@ description: >-
{{ page.description }}
__Notice__
This is not a complete guide with every single step in detail, but rather a recommendation of what to do and especially what not to do to get access to the printer from somewhere remote from your network.
This guide does not include every step in detail, but is a recommendation for safe remote access.
{: .info}
You have to decide if you ..
- only want to have status messages on your smartphone
- or you need full remote access to Mainsail from everywhere
Of course, you can also use a combination of both.
You will need to decide if you want to receive status messages on your smartphone, have full remote access to Mainsail, or both.
## Status messages
For simple status messages there are a couple of additional tools that can be used:
- __discord:__ Mooncord is a bot that sends you status messages over discord.
[https://github.com/eliteSchwein/mooncord](https://github.com/eliteSchwein/mooncord)
- __telegram:__ moonraker-telegram is a bot that sends you status messages over telegram.
[https://github.com/Raabi91/moonraker-telegram](https://github.com/Raabi91/moonraker-telegram)
For simple status messages there are a two additional tools that can be used:
- __Discord:__ Mooncord is a bot that sends you status messages over Discord: [https://github.com/eliteSchwein/mooncord](https://github.com/eliteSchwein/mooncord)
- __Telegram:__ moonraker-telegram is a bot that sends you status messages over the messaging application Telegram: [https://github.com/Raabi91/moonraker-telegram](https://github.com/Raabi91/moonraker-telegram)
These tools are installed on the local machine and send the status messages via the respective platforms. Thus, no access to your local network from outside is necessary.
These tools are installed on the local machine and send status messages to their respective platforms. No changes are needed to externally access your local network.
For details, please refer to the projects instructions.
For details, please refer to each project's instructions and documentation.
## Remote Access to Mainsail
@@ -45,9 +39,9 @@ What <b>not to do</b>:
<div class="warning">
What you <b>could do</b>:
<ul>
<li>Use an external service provider (e.g. tailscale) to gain access to your home network.
<li>Use an external service provider such as Tailscale to gain access to your home network.
<ul>
<li>Con: you give the control out of your hand</li>
<li>A potential downside is not having personal control of the connection.</li>
</ul>
</li>
<li>Reverse Proxy</li>
@@ -59,8 +53,8 @@ What you <b>could do</b>:
<ul>
<li>Set up your own secured VPN tunnel.
<ul>
<li>either in the router</li>
<li>or your Pi</li>
<li>In your router</li>
<li>Or your Raspberry Pi</li>
</ul>
</li>
</ul>
@@ -68,18 +62,15 @@ What you <b>could do</b>:
## Set up VPN
Several routers allow you to set up a VPN tunnel without much effort.
After you have entered the login data into e.g. your smartphone, you will have secure access to your entire network, including Mainsail.
Several routers allow you to set up a VPN tunnel. After you have configured the VPN and logged in from another device, you will have secure access to your entire network, including Mainsail.
If your router does not support this, you can also set up your own VPN, e.g. on your Pi.
Therefore you could use: [OpenVPN](https://openvpn.net/), [WireGuard](https://www.wireguard.com/) or [PiVPN](https://www.pivpn.io/)
If your router does not support this, you can also set up your own VPN, for example, using your Raspberry Pi.
[OpenVPN](https://openvpn.net/), [WireGuard](https://www.wireguard.com/) or [PiVPN](https://www.pivpn.io/) are all options that could work.
To be able to reach your home network even with a non-static IP address, you should use a dynamic DNS service. This will forward a domain directly to your IP address. Often, these DynDNS services can also be set up directly in the router, so that the IP address gets automatically updated on a change.
Some free services: [DuckDNS](https://www.duckdns.org) or [FreeDNS ](https://freedns.afraid.org/)
To be able to reach your home network even with a non-static IP address, you will need to use a Dynamic DNS service. This will forward a domain directly to your IP address. Often these DynDNS services can also be set up directly in your router so when your external IP address changes, your domain will be automatically updated. Free Dynamic DNS services include [DuckDNS](https://www.duckdns.org) or [FreeDNS ](https://freedns.afraid.org/)
__Notice__
The devices that dial in via the VPN tunnel are assigned to a different address range. This address range must be configured in moonraker under _trusted_clients_ and _cors_domains_. [https://moonraker.readthedocs.io/en/latest/configuration/#authorization](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) <br/><br/>
The devices that you use to access VPN tunnel are assigned to a different address range. This address range must be configured in Moonraker under _trusted_clients_ and _cors_domains_. See also [Moonraker's documentation on network authorization.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) <br/><br/>
For example:
__192.168.1__.x&emsp;_// devices on your regular LAN_
__192.168.50__.x&emsp;_// devices connected through your VPN tunnel_
+8 -9
View File
@@ -9,27 +9,26 @@ description: >-
# {{ page.title }}
{{ page.description }}
Moonraker has compatibility with Octoprint's API. To enable octoprint api compatibility,
add the following to your `moonraker.conf` and restart Moonraker.
Moonraker is compatible with Octoprint's API. To enable Octoprint API compatibility, add the following to your `moonraker.conf` and restart Moonraker.
```
[octoprint_compat]
```
### PrusaSlicer/SuperSlicer (prior to v2.3.0)
### PrusaSlicer / SuperSlicer (PrusaSlicer v2.3.0 and up)
Enable advanced or expert mode and change the options under `Printer Settings / General` as shown in the screenshot below. A "Physical Printer" must be configured in `Printer Settings / General`.
If not already been done, switch to advanced or expert mode and set the options under `Printer Settings / General` as shown in the screenshot below.
### PrusaSlicer / SuperSlicer (prior to PrusaSlicer v2.3.0)
Enable advanced or expert mode and change the options under `Printer Settings / General` as shown in the screenshot below.
For "API Key" you can type anything.
![screenshot](../assets/img/additional/FileUpload-PrusaSlicer-2.2.0.png)
### PrusaSlicer/SuperSlicer (since v2.3.0)
A "Physical Printer" must be defined to configure the settings from above.
More detailed instructions will follow.
### Cura with OctoPrint-Connect
Install the OctoPrint-Connection plugin via Marketplace. In `Settings > Printer > Manage Printers...`
you can find the Button `Connect OctoPrint`. Add your printer and type anything in the `API Key` field.
Install the OctoPrint-Connection plugin in Cura's Marketplace. In Cura go to `Settings > Printer > Manage Printers`
and find the Button `Connect OctoPrint`. Add your printer and type anything in the `API Key` field.
![screenshot](../assets/img/additional/FileUpload-Cura-4.8.png)
+29 -12
View File
@@ -8,35 +8,52 @@ description: >-
---
# {{ page.title }}
{: .no_toc}
{{ page.description }}
![preview](../assets/img/additional/large-preview.png)
### PrusaSlicer (since v2.3.0)
<details open markdown="block">
<summary>
Slicers
</summary>
{: .text-delta }
1. TOC
{:toc}
</details>
## PrusaSlicer (since v2.3.0)
In "Expert" mode PrusaSlicer has an option in the "Printer Settings" tab to activate previews.
Under `General / Firmware`, enter `32x32,400x300` as "G-code thumbnails".
![PrusaSlicer](../assets/img/additional/PrusaSlicer2.3.0-thumbnails.png)
### SuperSlicer (since v2.2.54.0)
<div class="youtube-container">
<iframe type="text/html" src="https://www.youtube.com/embed/4nFqfq8kikU" frameborder="0"></iframe>
</div>
## SuperSlicer (since v2.2.54.0)
In "Expert" mode SuperSlicer has some very convenient options in the "Printer Settings" tab to activate and customize the previews.
![SuperSlicer](../assets/img/additional/SuperSlicer-thumbnails.png)
### PrusaSlicer/SuperSlicer
<div class="youtube-container">
<iframe type="text/html" src="https://www.youtube.com/embed/xdOM5Uco9hM" frameborder="0"></iframe>
</div>
To enable thumbnails, click on `Help > Show Configuration Folder` and navigate to your printer profiles inside the `printer` folder.
Open your printer profile in a text editor and find `thumbnails =` and add the resolutions `32x32,400x300`. Save the file and restart your Slicer.
![PrusaSlicer](../assets/img/additional/PrusaSlicer-thumbnails.png)
From now on the gcode files contain thumbnails displayed by mainsail.
### Cura
## Cura
The Cura plugin "Cura2Moonraker" is required for this. You can find this plugin and a install guide
here: [https://github.com/emtrax-ltd/Cura2MoonrakerPlugin](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
![Cura](../assets/img/additional/Cura-thumbnails.png)
![Cura](../assets/img/additional/Cura-thumbnails.png)
## ideaMaker (since v4.2.1)
To enable thumbnails, open the `Advanced` tab in the `printer settings`, enable the `GCode Thumbnails for Octoprint and Mainsail` option and
enter your prefered *square format* image size in the `Resolution` fields (e.g. `400 X 400`).
It's necessary that the thumbnail width and height resolution is equal.
![ideaMaker](../assets/img/additional/IdeaMaker4.2.1-thumbnails.png)
+4 -4
View File
@@ -13,21 +13,21 @@ description: >-
## Moonraker.conf
Add the following section to your printers moonraker.conf:
To enable updates in Mainsail's web interface, add the following section to your printer's `moonraker.conf`:
```yaml
[update_manager]
[update_manager client mainsail]
type: web
repo: meteyou/mainsail
repo: mainsail-crew/mainsail
path: ~/mainsail
```
Once you have restarted the moonraker service, the Update Manager will appear in Mainsails machine settings.
Restart the Moonraker service and the Update Manager will appear in Mainsail's machine settings.
![](../assets/img/quicktips/update-manager/update-manager.png)
You can find further information on this topic by checking out the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
You can find further information on this topic by visiting the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
{: .info}
+8 -16
View File
@@ -8,26 +8,18 @@ has_toc: false
---
# Setup Guides
To get started, you first have to decide which route you want to follow for the installation. There are several ways to install Mainsail on a Raspberry Pi.
## Local installation
You will need to choose which way you want to install Mainsail on a Raspberry Pi:
- [MainsailOS](mainsail-os.md) <span class="label label-red">recommended</span>
A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go.
A prebuilt image for your Raspberry Pi. Preconfigured and requires the least amount of setup.
- [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_
A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups.
A script toolbox to install and update Klipper, Moonraker and Mainsail. KIAUH contains additional features and is recommended for multi-printer setups.
- [Manual Setup](manual-setup/index.md)
The rocky road. If you want to know how everything is set up by hand, you will get all the information here.
The rocky road for the daring. For those who want to know how everything is set up manually.
## my.mainsail.xyz
In addition to these guides, there is [my.mainsail.xyz](http://my.mainsail.xyz){: target="_blank"}. The latest Mainsail version is always hosted there. This obviates the need to set up a web server for Mainsail on your hardware.
## Hosted
To use [my.mainsail.xyz](http://my.mainsail.xyz){: target="_blank"}, the following requirements must be met:
- Klipper must be installed.
- Moonraker must be installed.
- my.mainsail.xyz must be configured as a CORS domain in moonraker.conf.
**MainsailOS & KIAUH already fulfill these requirements.**
_Note_, only the static .html, .js and .css files are loaded into your browser storage. No further information is transferred to the server. The communication to your printer is then done locally directly between your browser and your Moonraker installation.
If you have any concerns, you can of course still install Mainsail on your hardware locally. Parallel operation is also possible.
{: .info}
You an also setup [remote access](/quicktips/remote-access) without installing or configuring a web server.
You can test and review a hosted version of Mainsail at [my.mainsail.xyz](http://my.mainsail.xyz). Please read the [documentation](/setup/mainsail-hosted) for usage and configuration.
+2 -2
View File
@@ -8,8 +8,8 @@ permalink: /setup/kiauh
---
# Installing Mainsail with KIAUH
[KIAUH](https://github.com/th33xitus/kiauh) is a handy tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various other extensions easily and comfortably.
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
![](../assets/img/setup/kiauh.png)
For more information and get to the guide click [here](https://github.com/th33xitus/kiauh).
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
+48
View File
@@ -0,0 +1,48 @@
---
layout: default
title: my.mainsail.xyz
parent: Setup Guides
nav_order: 4
has_children: false
has_toc: false
permalink: /setup/mainsail-hosted
---
# my.mainsail.xyz
Mainsail and MainsailOS respect [Data Privacy](../data-privacy).
{: .info}
The hosted version of Mainsail can be used on the same local network with your printer or on a different remote to network and requires you to setup [remote access](../quicktips/remote-access).
## Requirements
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service.
- If you have a manual installation, the following requirements must be met:
* Klipper
* Moonraker
* `my.mainsail.xyz` must be configured as a CORS domain in `moonraker.conf`.
### Editing moonraker.conf for remote access
You can learn more about editing Moonraker's authorization [configuration documentation here.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
{: .info}
To configure [my.mainsail.xyz](http://my.mainsail.xyz) for access with your local installation, open `moonraker.conf` and add the following `authorization` section:
```yml
[authorization]
cors_domains:
https://my.mainsail.xyz
http://my.mainsail.xyz
http://*.local
trusted_clients:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
```
+9 -89
View File
@@ -3,100 +3,20 @@ layout: default
title: MainsailOS
parent: Setup Guides
nav_order: 1
has_children: false
has_children: true
has_toc: false
permalink: /setup/mainsail-os
---
# Installing Mainsail with MainsailOS
# Installing MainsailOS
Our recommended way to install Mainsail on a Raspberry Pi is to use [MainsailOS](https://github.com/raymondh2/MainsailOS),
as pre-packaged disk image. If you are building a custom configuration, you may need to skip
these instructions and install Mainsail [manually](manual-setup/index.md).
MainsailOS builds upon Raspberry Pi OS Lite by including Klipper, Moonraker, and Mainsail into the disc image, making setup quick and Mainsail easier to use with Klipper and Moonraker.
**Note: To avoid confusion, the described way is available for Windows, Linux and MacOS because RPI Imager is a Multiplatform Tool!**
{: .info}
Advanced users may want more complex and custom configurations and Mainsail can be [manually installed](manual-setup/index.md).
_Note: It is a good idea to use a premium SDcard from a reputable manufacturer such as Sandisk, Kingston or Samsung. Perfomancewise you should consider using a "A1" or better, marked SDCard. Low end cards will often fail quickly when used in this application
**PLEASE OBEY THAT THIS WILL DESTROY ALL DATA ON YOUR CARD**_
{: .alert}
If you are familiar with process to flash the firmware, then please use your preferred method as you normally would.
1. Download the latest [mainsailOS Release](https://github.com/raymondh2/MainsailOS/releases).
2. Download the latest [Raspberry Pi Imager](https://www.raspberrypi.org/software/), henceforth rpi-imager.
3. Install and Open rpi-imager. Now you should see a Window like this.
If however you are unfamiliar with the flashing process we have documented two methods to flash MainsailOS to your SD card:
![](../assets/img/setup/rpi-imager-launched.png)
_Window Appereance depends on OS, in this case Linux with XFCE was used._
{: .info}
4. Now click on "CHOOSE OS", this will open a popup as shown below.
Click on "Use Custom"
![](../assets/img/setup/rpi-os-popup.png)
This will open a Popup Window to browse your local files. Please navigate to your recently downloaded MainsailOS Zip Archive
_**DO NOT UNPACK THE ZIP FILE!**_
{: .alert}
After you've done that, it should look like this
![](../assets/img/setup/rpi-choosen-os.png)
5. Click on "Storage" and select your desired SDCard.
![](../assets/img/setup/rpi-sdcard.png)
_As an Example..._
6. Now it's time to setup things like Hostname, Wifi, Language and more.
It depends on your needs what you setup, but it has to be WIFI and SSH at least!
Grab your keyboard and hit:
<kbd>CTRL</kbd><span>+</span><kbd>SHIFT</kbd><span>+</span><kbd>X</kbd>
This opens up a Setup Page
![](../assets/img/setup/rpi-setup-1.png)
![](../assets/img/setup/rpi-setup-2.png)
7. As the last Step click on "Write", rpi-imager will give you a Warning. Click "YES" to continue...
![](../assets/img/setup/rpi-warning.png)
8. Watch the Progressbar and wait until you see:
![](../assets/img/setup/rpi-finished.png)
Hit the "Continue" Button and safely remove your SDCard. ( eg. unmount on Linux )
9. Insert the SDcard into your Pi, and power on the Pi.
_Note: Please give the PI some time, during the first boot MainsailOS (like every PI Image) will expand your "root" filesystem accordingly to your SDCard Size! The greater your SDCard is, it will take longer time! Watch out for the little green LED if it turn off or blink from time to time it has finished the resizing._
{: .warning}
_**Make sure that your MCU(s) is connected to your pi, If you will be using wired networking, also make sure your ethernet cable is connected.**_
{: .alert}
10. Find your pi on the network, open up your preferred Browser and type either your IP or Hostname (Depends on your Network configuration)
- If your network supports bonjour, the pi should show up as `mainsailos.local` or the given Hostname in the Setup Section.
- If your network automatically assigns DNS hostnames, it may simply show up as `mainsailos` or accordingly given Hostname.
- Failing these two options, you may need to check your router's DHCP server, and find out what IP address has been assigned to the device.
_**After you're able to get to the Mainsail Webinterface you should consider updating the System to get the latest features. Mainsail, Klipper and Moonraker got a relatively fast Development Cycle. We can't provide MainsailOS Image with all the latest and greatest. So we encourage you to Update on first Login**_
{: .info}
_If you decide to update, you should update in following order:_
1. System Update (Bring latest RaspberryOS Updates to the System)
2. Klipper Update ( To get latest Firmware, often flashing the MCU can wear out his memory )
3. Moonraker ( Having latest Version, could lead to more Features in Frontend )
4. Update Mainsail ( The most important! :P )
5. **Important:** Include the mainsail.cfg into your printer.cfg
This could be done by:
[include mainsail.cfg]
6. Enjoy Mainsail!
* [Raspberry Pi Imager](mainsailos/pi-imager) (cross-platform, easiest) <span class="label label-red">recommended</span>
* [Balena Etcher](mainsailos/balena-etcher) (requires manual setup)
+126
View File
@@ -0,0 +1,126 @@
---
layout: default
title: balenaEtcher
parent: MainsailOS
grand_parent: Setup Guides
nav_order: 2
has_children: false
permalink: /setup/mainsailos/balena-etcher
---
This method requires manual setup for SSH and Wi-Fi.
{: .info}
This method is cross-platform and works with Windows, Linux and MacOS.
{: .info}
We **strongly** recommend you use a premium SD card from a reputable manufacturer such as Sandisk, Kingston or Samsung, using an "A1" (or better) grade SD card. \
\
Low end cards will often fail quickly when used in this application.
{: .warning}
**FLASHING WILL DESTROY ALL DATA ON YOUR SD CARD AND CANNOT BE REVERSED**
{: .alert}
____
# Preparation
Whilst this guide makes specific use of balenaEtcher it is entirely possible to use any flashing software of your choice and then follow the manual steps to enable SSH / network after.
* [Download](https://github.com/mainsail-crew/MainsailOS/releases) the latest MainsailOS release (don't unpack the zip; you don't need to).
* [Download](https://www.balena.io/etcher/) and install the latest balenaEtcher.
# Flashing MainsailOS
balenaEtcher appearance may vary depending on the host OS.
{: .info}
* When opening balenaEtcher you will be presented with the following:
![screenshot-balena-launched](../../assets/img/setup/balena-main-screen.png)
* Select the 'Flash from file' button ('Select image' on Windows) and navigate to the downloaded MainsailOS zip.
![screenshot-balena-select-os](../../assets/img/setup/balena-select-os.png)
* Select the 'Select target' button and choose the SD card you want to flash.
![screenshot-balena-select-sd-card](../../assets/img/setup/balena-select-sd-card.png)
![screenshot-balena-select-sd-card-choice](../../assets/img/setup/balena-select-sd-card-choice.png)
* Return the the main screen, and select 'Flash'. Accept any warnings to continue.
**FLASHING WILL DESTROY ALL DATA ON YOUR SD CARD AND CANNOT BE REVERSED**
{: .alert}
![screenshot-balena-flash](../../assets/img/setup/balena-etcher-flash.png)
* balenaEtcher will now decompress (unzip) the MainsailOS archive, write the disc image to the card and verify the flash.
![screenshot-balena-unzip](../../assets/img/setup/balena-unzipping.png)
![screenshot-balena-flash](../../assets/img/setup/balena-flashing.png)
![screenshot-balena-verify](../../assets/img/setup/balena-etcher-validating.png)
* balenaEtcher will confirm the flash is complete.
![screenshot-balena-finished](../../assets/img/setup/balena-etcher-finished.png)
# Enabling SSH
You may need to safely remove (eject) the SD card and reinsert it for the /boot partition to show.
{: .info}
Before you move on, it is important to check SSH is enabled.
This is done by creating an empty file with no extension named 'SSH', or 'SSH.txt' in the /boot partition of the SD card. MainsailOS includes this file.
![screenshot-balena-boot-partition](../../assets/img/setup/balena-etcher-boot-partition.png)
If for some reason the file is not present, then on linux it can be created by navigating to the /boot partition and opening a terminal:
```bash
sudo touch SSH
sudo touch SSH.txt
```
RaspberryOS will check if /boot/SSH(.txt) is present at first boot. If the file is present then SSH will be enabled.
# Setting up Wi-Fi / Network
SSID's are case-sensitive!
{: .info}
Don't forget to set the country!
{: .warning}
To setup Wi-Fi for a headless Pi install the network SSID and password must be entered into mainsailos-wpa-supplicant.txt
With the SD card inserted into the computer, navigate to the SD card's /boot partition and open mainsail-wpa-supplicant.txt.
Locate the relevant section to your network, remove the comment marks (#) and enter the SSID and password. WPA/WPA2 is the most common.
```yml
Original:
## WPA/WPA2 secured
#network={
# ssid="put SSID here"
# psk="put password here"
#}
Filled out:
## WPA/WPA2 secured
network={
ssid="CaseSensitive_WIFI"
psk="SuperSecrets"
}
...
# Uncomment the country your Pi is in to activate Wifi in RaspberryPi 3 B+ and above
# For full list see: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
country=GB # United Kingdom
```
Save and exit the mainsailos-wpa-supplicant.txt file.
You are now ready to move on to the [first boot](first-boot) of MainsailOS.
---
[< tool selection](../mainsail-os.md){: .btn } [next step >](first-boot){: .btn }
+66
View File
@@ -0,0 +1,66 @@
---
layout: default
title: First boot
parent: MainsailOS
grand_parent: Setup Guides
nav_order: 3
has_children: false
permalink: /setup/mainsailos/first-boot
---
# First boot
Insert the flashed SD card into your Pi and connect any other hardware such a network cable, USB cable to the 3D printer, or a webcam.
Power on the Pi and let it boot up.
**The initial boot of MainsailOS may take some time to expand your "root" filesystem. The larger the SD card, the longer the first boot will take.**
{: .warning}
Initially the green LED on the Pi will be extremely active. After some time it will only intermittently flicker, indicating it has likely completed the boot sequence.
The web interface should now be ready to access on your local network:
```
http://mainsailos.local
```
or
```
http://<IP address of your Pi>
```
## Mainsail.cfg
**Important:** Include `mainsail.cfg` in your printer.cfg file
{: .warning}
Mainsail will not work correctly until `mainsail.cfg` is included in Klipper's configuration file. Open Klipper's default `printer.cfg` file in Mainsail's file manager located in `Settings > Machine`. If you do not have a `printer.cfg` file, you can create one. Add the following line to `printer.cfg`
```
[include mainsail.cfg]
```
![screenshot-web-editor](../../../assets/img/setup/screenshot-web-editor-printer.png)
![screenshot-web-editor-printercfg](../../../assets/img/setup/screenshot-printercfg-include-mainsail.png)
and click on the`Save & Restart` button.
## Updates
Once you've successfully navigated to the Mainsail's web interface it is _strongly_ recommend that you run any available updates.
{: .info}
Klipper, Moonraker and Mainsail have fast development cycles and while we do our best to ensure MainsailOS ships as close to upstream as we can, there will always be a short delay before releases make it into MainsailOS' image.
It is recommended that you enable and use the [built in update-manager](../../update/update-manager) to perform any system updates, then update Klipper, Moonraker, Mainsail as needed.
![screenshot-update-manager](../../../assets/img/update/screenshot-update-manager-example-not-up-to-date.png)
MainsailOS is now configured, and Klipper's configuration file, [printer.cfg], can be setup.
---
[< tool selection](../mainsail-os.md){: .btn } [next step >](klipper-setup){: .btn }
@@ -0,0 +1,45 @@
---
layout: default
title: Klipper
parent: MainsailOS
grand_parent: Setup Guides
nav_order: 4
has_children: false
permalink: /setup/mainsailos/klipper-setup
---
# Klipper setup
Please read and follow the [Klipper documentation](https://klipper3d.org) in order to setup your machine.
{: .info}
You do not need to follow instructions pertaining to Octopi or Octoprint found in the Klipper documentation.
{: .info}
Klipper is a highly versatile piece of software and can run with almost any machine. Due to the plethora of stock and custom hardware options available, it is impossible to ship MainsailOS / Klipper with a default configuration that would work for everyone.
## Modifying/constructing printer.cfg
**You must enter parts of this configuration manually, as it is specific to your printer and MCU hardware**
{: .warning}
To customise your printer.cfg you will need to SSH to your Pi and:
```yml
cd ~/klipper_config
nano printer.cfg
```
Then follow the [Klipper documentation](https://klipper3d.org) to construct your printer.cfg file.
---
Before progressing to the next step, ensure that you have:
* Correctly built the firmware and [flashed the MCU](https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller)
* Correctly written/customised your printer.cfg file using the [Klipper configuration reference](https://www.klipper3d.org/Config_Reference.html).
* Checked and then [verified your printer.cfg](https://www.klipper3d.org/Config_checks.html).
---
[< first boot](first-boot){: .btn } [next step >](../pre-flight){: .btn }
+75
View File
@@ -0,0 +1,75 @@
---
layout: default
title: Raspberry Pi Imager
parent: MainsailOS
grand_parent: Setup Guides
nav_order: 1
has_children: false
permalink: /setup/mainsailos/pi-imager
---
This method is cross-platform and works with Windows, Linux and MacOS
{: .info}
We **strongly** recommend you use a premium SD card from a reputable manufacturer such as Sandisk, Kingston or Samsung, using an "A1" (or better) grade SD card. \
\
Low end cards will often fail quickly when used in this application.
{: .warning}
**FLASHING WILL DESTROY ALL DATA ON YOUR SD CARD AND CANNOT BE REVERSED**
{: .alert}
____
# Preparation
* [Download](https://github.com/mainsail-crew/MainsailOS/releases) the latest MainsailOS release (don't unpack the zip; you don't need to).
* [Download](https://www.raspberrypi.org/software/) and install the latest Raspberry Pi Imager (aka. rpi-imager).
# Flashing MainsailOS
Raspberry Pi Imager appearance may vary depending on the host OS.
{: .info}
* When opening rpi-imager you will be presented with the following:
![screenshot-imager-launched](../../assets/img/setup/rpi-imager-launched.png)
* Select "CHOOSE OS", and a popup will open as illustrated below. Select "Use custom" and navigate to the MainsailOS zip you downloaded.
![screenshot-imager-popup](../../assets/img/setup/rpi-os-popup.png)
![screenshot-imager-os-selected](../../assets/img/setup/rpi-choosen-os.png)
* Click on "STORAGE" and select your desired SD card.
![screenshot-imager-sd-card-selection](../../assets/img/setup/rpi-sdcard.png)
* Hostname, wi-fi, language and numerous other settings can now be scrolled through and pre-configured in a hidden setup menu, opened by pressing:
```bash
CTRL+SHIFT+X
```
As a bare minimumm setup SSH and a network connection (unless wired) at this point, especially if performing a 'headless' installation.
{: .info}
![screenshot-imager-rpi-preconfig1](../../assets/img/setup/rpi-setup-1.png)
![screenshot-imager-rpi-preconfig2](../../assets/img/setup/rpi-setup-2.png)
* With all desired options preconfigured, click on "WRITE" and accept the warning.
![screenshot-imager-warning](../../assets/img/setup/rpi-warning.png)
* Imager will take some time to write the disc image to the SD card. When it's finished, click continue.
![screenshot-imager-write-finished](../../assets/img/setup/rpi-finished.png)
Select the "CONTINUE" button and unmount (safely remove) your newly flashed MainsailOS SD card.
You are now ready to move on to the [first boot](first-boot) of MainsailOS.
---
[< tool selection](../mainsail-os.md){: .btn } [next step >](first-boot){: .btn }
+54 -33
View File
@@ -9,57 +9,78 @@ permalink: /setup/manual-setup/klipper
# Klipper
## Installation
The following commands will clone Klipper to an appropriate directory in HOME and run the setup script.
At first we have to install some OS dependencies:
```bash
sudo apt install virtualenv python-dev libffi-dev build-essential libncurses-dev libusb-dev avrdude gcc-avr binutils-avr avr-libc stm32flash dfu-util libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0
```
The following commands will clone Klipper to an appropriate directory in HOME.
```bash
cd ~
git clone https://github.com/KevinOConnor/klipper
cd ~/klipper
./scripts/install-octopi.sh
```
## Configuration
After Klipper is installed, you will need to change the default location of the printer.cfg and add the UDS (unix domain socket). This is defined in the file `/etc/default/klipper`
Then we can initialize the python virtual environment and install the python dependencies:
```bash
cd ~
virtualenv -p python2 ./klippy-env
./klippy-env/bin/pip install -r ./klipper/scripts/klippy-requirements.txt
```
## Configuration & startup service
After Klipper is installed, you will need to create a startup script to define log, config & UDS service location:
To edit this file type:
```bash
sudo nano /etc/default/klipper
sudo nano /etc/systemd/system/klipper.service
```
find the following line:
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -l /tmp/klippy.log"
```
and change the config location to `/home/pi/klipper_config/printer.cfg` and add `-a /tmp/klippy_uds` to define UDS.
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/klipper_config/printer.cfg -l /tmp/klippy.log -a /tmp/klippy_uds"
fill in these lines:
```yaml
#Systemd Klipper Service
[Unit]
Description=Starts Klipper and provides klippy Unix Domain Socket API
Documentation=https://www.klipper3d.org/
After=network.target
Before=moonraker.service
Wants=udev.target
[Install]
Alias=klippy
WantedBy=multi-user.target
[Service]
Environment=KLIPPER_CONFIG=/home/pi/klipper_config/printer.cfg
Environment=KLIPPER_LOG=/home/pi/klipper_logs/klippy.log
Environment=KLIPPER_SOCKET=/tmp/klippy_uds
Type=simple
User=pi
RemainAfterExit=yes
ExecStart= /home/pi/klippy-env/bin/python /home/pi/klipper/klippy/klippy.py ${KLIPPER_CONFIG} -l ${KLIPPER_LOG} -a ${KLIPPER_SOCKET}
Restart=always
RestartSec=10
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
You have to create the directories for your klipper configuration and the virtual_sdcard directory:
**Please check and modify the username!**
If you do not use the user `pi`, you must replace it in each path and in the variable user in the service file.
{: .warning }
To enable and start the Klipper service execute these commands:
```bash
sudo systemctl enable klipper.service
```
You have to create the directories for your klipper configuration, logs and the virtual_sdcard directory:
```bash
mkdir ~/klipper_config
mkdir ~/klipper_logs
mkdir ~/gcode_files
touch ~/klipper_config/printer.cfg
```
Move your printer.cfg to ~/klipper_config and check if the following entries are present in the config.
```ini
[virtual_sdcard]
# for gcode upload
path: ~/gcode_files
[display_status]
# for display messages in status panel
[pause_resume]
# for pause/resume functionality.
# Mainsail needs gcode macros for `PAUSE`, `RESUME` and `CANCEL_PRINT` to make the buttons work.
```
**These entries are very important.**
For the full functionality of mainsail, you should also define gcode macros for `PAUSE`, `RESUME` and `CANCEL_PRINT`. You'll find further information in [this](../../necessary-cfg.md){: target="_blank"} document.
{: .info }
After your config is in place, restart klipper with `sudo service klipper restart`. Check the `/tmp/klippy.log` for errors, if Klipper starts correctly you can continue the guide.
After your config is in place, restart klipper with `sudo systemctl start klipper`.
---
[< previous step](operating-system.md){: .btn } [next step >](moonraker.md){: .btn}
+42 -15
View File
@@ -31,16 +31,29 @@ Each file can be filled with the following content:
# /etc/nginx/conf.d/upstreams.conf
upstream apiserver {
#if you need to change your api port, edit it here
ip_hash;
server 127.0.0.1:7125;
}
upstream mjpgstreamer {
#if you need to change your webcam port, edit it here
upstream mjpgstreamer1 {
ip_hash;
server 127.0.0.1:8080;
}
upstream mjpgstreamer2 {
ip_hash;
server 127.0.0.1:8081;
}
upstream mjpgstreamer3 {
ip_hash;
server 127.0.0.1:8082;
}
upstream mjpgstreamer4 {
ip_hash;
server 127.0.0.1:8083;
}
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
@@ -64,12 +77,11 @@ Save the file with `CTRL+O` and close the editor with `CTRL+X`.
server {
listen 80 default_server;
listen [::]:80 default_server;
access_log /var/log/nginx/mainsail-access.log;
error_log /var/log/nginx/mainsail-error.log;
#disable this section on smaller hardware like a pi zero
# disable this section on smaller hardware like a pi zero
gzip on;
gzip_vary on;
gzip_proxied any;
@@ -77,21 +89,24 @@ server {
gzip_comp_level 4;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/json application/xml;
gzip_types text/plain text/css text/xml text/javascript application/javascript application/x-javascript application/json application/xml;
#web_path from mainsail static files
# web_path from mainsail static files
root /home/pi/mainsail;
index index.html;
server_name _;
#disable max upload size
# disable max upload size checks
client_max_body_size 0;
# disable proxy request buffering
proxy_request_buffering off;
location / {
try_files $uri $uri/ /index.html;
}
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
@@ -114,9 +129,21 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /webcam/ {
proxy_pass http://mjpgstreamer/;
proxy_pass http://mjpgstreamer1/;
}
location /webcam2/ {
proxy_pass http://mjpgstreamer2/;
}
location /webcam3/ {
proxy_pass http://mjpgstreamer3/;
}
location /webcam4/ {
proxy_pass http://mjpgstreamer4/;
}
}
```
@@ -128,13 +155,13 @@ Create directory for static files and active nginx config:
mkdir ~/mainsail
sudo rm /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/mainsail /etc/nginx/sites-enabled/
sudo service nginx restart
sudo systemctl restart nginx
```
Now you can check again the API if it works with the reverse proxy. Open the url http://\<printer-ip\>/printer/info in your browser. if you see a content like this:
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-479-gd586fb06", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
{"result": {"state_message": "Printer is ready", "klipper_path": "/home/pi/klipper", "config_file": "/home/pi/klipper_config/printer.cfg", "software_version": "v0.9.1-785-g1be19177", "hostname": "raspberrypi", "cpu_info": "4 core ARMv7 Processor rev 4 (v7l)", "state": "ready", "python_path": "/home/pi/klippy-env/bin/python", "log_file": "/home/pi/klipper_log/klippy.log"}}
```
Now we can install Mainsail (static httpdocs).
@@ -145,7 +172,7 @@ Now you can download the current mainsail static data
```
cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
@@ -154,7 +181,7 @@ Now it should be possible to open the interface: `http://<printer-ip>/`.
if you want to get the full experience with mainsail and klipper virtual_sdcard print, you should use these macros, or use them as templates for your own.
[Macro Link](../../necessary-cfg.md){: .btn target="_blank"}
[Macro Link](../../configurations/necessary-cfg.md){: .btn target="_blank"}
## Change the Hostname (optional)
+86 -27
View File
@@ -10,16 +10,22 @@ permalink: /setup/manual-setup/moonraker
Moonraker is a web server that exposes APIs which lets Mainsail interact with Klipper.
## Installation
At first we have to install some OS dependencies:
```bash
sudo apt install python3-virtualenv python3-dev libopenjp2-7 python3-libgpiod curl libcurl4-openssl-dev libssl-dev liblmdb-dev libsodium-dev zlib1g-dev libjpeg-dev
```
Clone Moonraker into your HOME directory:
```bash
cd ~
git clone https://github.com/Arksine/moonraker.git
```
Run Moonrakers install script:
Then we can initialize the python virtual environment and install the python dependencies:
```bash
cd ~/moonraker/scripts
./install-moonraker.sh -c /home/pi/klipper_config/moonraker.conf
cd ~
virtualenv -p python3 ./moonraker-env
./moonraker-env/bin/pip install -r ./moonraker/scripts/moonraker-requirements.txt
```
## Configuration
@@ -31,32 +37,49 @@ For Moonraker you'll need to create a separate config file.
`nano ~/klipper_config/moonraker.conf`
Insert the following part and modify `trusted_clients` according to arksines description below.
Also consider further IP ranges, e.g. when connecting via VPN. To determine your local ip `ip a` and `ifconfig -a` are common ways to do so on Linux and `ipconfig` on Windows.
Insert the following part:
```
[server]
host: 0.0.0.0
port: 7125
enable_debug_logging: False
config_path: ~/klipper_config
log_path: ~/klipper_logs
[authorization]
cors_domains:
https://my.mainsail.xyz
http://my.mainsail.xyz
http://*.local
http://*.lan
trusted_clients:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
# enables partial support of Octoprint API
[octoprint_compat]
# enables moonraker to track and store print history.
[history]
# this enables moonraker's update manager
[update_manager]
[update_manager mainsail]
type: web
repo: mainsail-crew/mainsail
path: ~/mainsail
```
**This is a very basic config**
For more options and detailed explanations you should follow [arksines instructions](https://github.com/Arksine/moonraker/blob/master/docs/installation.md).
{: .info }
```
[server]
host: 0.0.0.0
config_path: ~/klipper_config
[authorization]
enabled: true
trusted_clients:
192.168.1.0/24
2a02:810d:9340:33f6::/64
[update_manager]
[update_manager client mainsail]
type: web
repo: meteyou/mainsail
path: ~/mainsail
```
🔥 **trusted_clients - read carefully** 🔥
A list of newline separated ip addresses and/or ip ranges that are
trusted. Trusted clients are given full access to the API. Both IPv4
@@ -70,11 +93,47 @@ trusted.
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
Restart Moonraker
## Startup service
To edit this file type:
```bash
sudo service moonraker restart
sudo nano /etc/systemd/system/moonraker.service
```
fill in these lines:
```yaml
#Systemd moonraker Service
[Unit]
Description=Moonraker provides Web API for klipper
Documentation=https://moonraker.readthedocs.io/en/latest/
After=network.target klipper.service
[Install]
WantedBy=multi-user.target
[Service]
Environment=MOONRAKER_CONFIG=/home/pi/klipper_config/moonraker.conf
Environment=MOONRAKER_LOG=/home/pi/klipper_logs/moonraker.log
Type=simple
User=pi
RemainAfterExit=yes
ExecStart=/home/pi/moonraker-env/bin/python /home/pi/moonraker/moonraker/moonraker.py -c ${MOONRAKER_CONFIG} -l ${MOONRAKER_LOG}
Restart=always
RestartSec=10
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
**Please check and modify the username!**
If you do not use the user `pi`, you must replace it in each path and in the variable user in the service file.
{: .warning }
To enable Moonraker service execute these commands:
```bash
sudo systemctl enable moonraker.service
```
After your config is in place, start Moonraker with `sudo systemctl start moonraker`.
Open the following url with your printers IP in your browser
```
http://<printer-ip>:7125/printer/info
@@ -82,7 +141,7 @@ http://<printer-ip>:7125/printer/info
If everything has been set up successfully, a message like this should appear:
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
{"result": {"state_message": "Printer is ready", "klipper_path": "/home/pi/klipper", "config_file": "/home/pi/klipper_config/printer.cfg", "software_version": "v0.9.1-785-g1be19177", "hostname": "raspberrypi", "cpu_info": "4 core ARMv7 Processor rev 4 (v7l)", "state": "ready", "python_path": "/home/pi/klippy-env/bin/python", "log_file": "/home/pi/klipper_log/klippy.log"}}
```
---
@@ -12,25 +12,32 @@ description: >-
# {{ page.title }}
{{ page.description }}
**Please don't use an OctoPi image!**
It can cause unforeseeable events, like rips in the space-time continuum. So be aware!
No seriously. Experiences have shown that it is advisable not to use an OctoPi image (especially for beginners).
Do **not** use an OctoPi image as it can cause unforeseen (avoidable) problems.
{: .warning }
Don't forget to enable SSH and configure a network if using Wi-Fi.
{: .info}
It is recommended to use a clean Raspberry Pi OS 32-bit Lite image (previously called Raspbian). You can download it [here](https://downloads.raspberrypi.org/raspios_lite_armhf_latest){:target="_blank"}.
For more information about installing Raspberry Pi OS click [here](https://www.raspberrypi.org/documentation/installation/installing-images/){:target="_blank"}. Don't forget to enable ssh.
It is recommended to use a clean [Raspberry Pi OS 32-bit Lite](https://downloads.raspberrypi.org/raspios_lite_armhf_latest){:target="_blank"} image (previously called Raspbian).
Once you have finished the installation and are connected via ssh, you can continue.
We recommend you follow the RaspberryOS official [documentation](https://www.raspberrypi.org/documentation/installation/installing-images/){:target="_blank"} to flash and install the operating system to your SD card.
Once you have finished the installation and are connected via SSH, you can continue.
## Requirements
Install the required packages and update the system:
```bash
sudo apt update && sudo apt upgrade
sudo apt update --allow-releaseinfo-change && sudo apt upgrade
sudo apt install git dfu-util unzip
```
**Moonraker requires Python 3.7 or greater,** verify that your distribution's Python 3 packages meet this requirement.
**Verify that your distribution's Python 3 package(s) are version 3.7 or newer.**
{: .alert }
Moonraker requires Python 3.7 and will not operate without it.
You can check the current Python version installed to your operating system with the following terminal command:
```
python3 --version
```
+23
View File
@@ -0,0 +1,23 @@
---
layout: default
title: Pre-flight
parent: Setup Guides
nav_order: 5
has_children: false
has_toc: false
permalink: /setup/pre-flight
---
# Preflight Checklist
You may wish to review the list below to make sure you have not missed any important steps during the setup process.
| Installed software components: | Configured: | Completed: |
| :-- | :-- | :-- |
| &#x2705; MainsailOS<br> **OR** <br> &#x2705; Klipper<br> &#x2705; Moonraker<br> &#x2705; Mainsail<br> | &#x2705; Network<br> &#x2705; [Configured printer.cfg](mainsailos/klipper-setup)<br> &#x2705; [Included mainsail.cfg](mainsailos/first-boot#mainsailcfg)| &#x2705; Updates<br> &#x2705; Klipper verification(s)|
# Time to print!
If you have performed all of the installation steps, your installation should be complete and you are ready to start calibrating and printing with your 3D printer.
**Thank you for choosing Mainsail**
+5 -7
View File
@@ -11,29 +11,27 @@ description: >-
# {{ page.title }}
{{ page.description }}
There are two background images that can be used in Mainsail. The first is in the sidebar and the second is in the main section.
At the moment there are two background images that can be set. In the sidebar- and mainview.
![screenshot](../assets/img/customizing/sidebar-main.jpg){:width="50%"}
For uploads you can use the built-in file manager. `(Settings > Machine)`
You can upload a new background image using the file manager located in `Settings > Machine`.
<!-- ![screenshot](../assets/img/customizing/screenshot-sidebar-background.png) -->
## Sidebar background image
Just load a background image into your .theme folder and name it `sidebar-background.<extension>`.
Load the background image into your .theme folder and name it `sidebar-background.<extension>`.
| Filename | sidebar-background |
| Valid file extensions | .jpg, .png, .gif and .svg |
| Recommended image size | 300x1000px |
## Mainview background image
## Main background image
Upload a background image into your .theme folder and name it `main-background.<extension>`.
| Filename | main-background |
| Valid file extensions | .jpg, .png, .gif and .svg |
**Please note**: By default, the background image is stretched to the entire area.
For example, if you want a repeating pattern, you also need to use custom css.
**Please note**: The background image is stretched to cover the entire area by default. For example, if you want a repeating pattern, you will also need to use custom CSS to style it correctly.
{: .info}
+12 -19
View File
@@ -6,49 +6,42 @@ nav_order: 30
permalink: /theming/custom-css
---
# Custom-CSS
# Custom CSS
The custom.css file allows you to customize the appearance of Mainsail
without the need of rebuilding it. All you need to do is to place a file
named "custom.css" into the configuration directory ".theme" and define
your css rules in there.
The `custom.css` file allows you to customize the appearance of Mainsail
without the need of rebuilding it. Place a file named `custom.css` in the `.theme` folder of your Mainsail installation and define your custom **C**ascading **S**tyle **S**heets (CSS) rules inside the file.
![file-screenshot](../assets/img/customizing/screenshot-custom-css.png "custom.css file")
![example result](../assets/img/customizing/screenshot-custom-css-example-result.png "custom.css result")
## How to CSS
## Customizing the CSS
You need to be familiar with the CSS (**C**ascading **S**tyle **S**heets) syntax.
There are many resources to learn CSS online, for example:
You need to be familiar with the CSS syntax to customize Mainsail. There are many resources available to learn CSS online, for example:
- https://www.w3schools.com/css/default.asp
### find the Element selector (example based on Chrome Browser)
### Finding the Element to Customize
Use your browser's built-in developer tools to find the right selector of the element you want to add your own flair to.
Open the developer tools:
right click anywhere on the page and select "inspect" (or F12 on the keyboard)
You will need to use your browser's built in developer tools to find the element you want to customize. You can do this by clicking the "Developer Tools" button in the browser's toolbar or by right clicking on the page and choosing `Inspect Element` or press `F12`.
![open dev-tools](../assets/img/customizing/screenshot-custom-css-inspect.png "open dev-tools")
1. Activate the "inspector"
1. Activate the developer tools and inspector
2. Select the desired element
3. Find the selector
4. Use the style editor and fiddle arround
4. Use the style editor to customize the element. Play around to find the style you like!
![find element](../assets/img/customizing/screenshot-custom-css-find-element.png "find the right element")
![fiddle](../assets/img/customizing/screenshot-custom-css-fiddle.png "fiddle")
When you have achieved your desired appearance copy the full "section" including selector and curly braces
When you have achieved your desired appearance, copy the full "section", including the selector and curly braces.
![fiddle 2](../assets/img/customizing/screenshot-custom-css-fiddle-2.png "fiddle 2")
Then copy it to the "custom.css" file (you can keep everything or only what you have added)
Next copy it inside the "custom.css" file (you can keep everything or only what you have added)
![example](../assets/img/customizing/screenshot-custom-css-example.png "custom.css example")
NOTE: After saving, your browser may need a uncached reload to show the change (https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
NOTE: After saving, your browser may need a uncached reload to show the change. Visit [Wikipedia to learn how.](https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
+7 -5
View File
@@ -1,20 +1,22 @@
---
layout: default
title: Logos/Icons
title: Logos and Icons
parent: Theming
nav_order: 20
permalink: /theming/favicons
description: >-
Replace the default logos/icons, to quickly recognize your printers.
Replace the default logos and icons with your own.
---
# {{ page.title }}
{{ page.description }}
For uploads you can use the built-in file manager. `(Settings > Machine)`
You can use the built in file manager in `Settings > Machine` to upload your own logos and icons. Customizing your icons can help identify your printers.
## Sidebar logo
Just upload a logo into your .theme folder and name it `sidebar-logo.<extension>`.
Upload a logo into your .theme folder and name it `sidebar-logo.<extension>`, where extension is one of the valid file types below.
For more information on creating and uploading to your `.theme` folder, please refer to the [Customizing your theme](/theming/prepare) chapter.
| Filename | sidebar-logo |
| Valid file extensions | .svg, .jpg, .png and .gif |
@@ -30,7 +32,7 @@ Upload favicons into your .theme folder and name them `favicon-32x32.png` *(requ
| Valid file extensions | .png |
| Recommended image size | 32x32px, 16x16px |
A hard browser refresh may be necessary (CTRL+SHIFT+F5 on windows or CMD+SHIFT+R on mac).
A browser refresh may be necessary (CTRL+SHIFT+F5 on windows or CMD++SHIFT+R on macOS) to reload without the browser cache.
{: .info}
![screenshot](../assets/img/customizing/screenshot-favicons.png)
+5 -1
View File
@@ -11,4 +11,8 @@ description: >-
# {{ page.title }}
{{ page.description }}
Start with [prepare](/theming/prepare) to create a basic structure for your own theme, or take a look in [themes](/theming/themes) to see if there are already suitable themes from the Mainsail community.
Start with the [Prepare](/theming/prepare) section to create a basic structure for your own theme or take a look in [themes](/theming/themes) to see if there are themes from the Mainsail community you would like to use or customize.
<div class="youtube-container">
<iframe type="text/html" src="https://www.youtube.com/embed/kbSfLQtl4tA" frameborder="0"></iframe>
</div>
+6 -11
View File
@@ -11,22 +11,17 @@ description: >-
# {{ page.title }}
{{ page.description }}
## Preparing your custom theme
## .theme folder
You only need to create a ".theme" folder in your config folder.
There you will place all the files you need to personalize Mainsail.
You can use Mainsail's built-in file manager (`Settings > Machine`) to create the `.theme` folder. Upload the files to this folder and edit your CSS files.
You can use Mainsail's built-in file manager `(Settings > Machine)` to create the .theme folder and upload all the files and edit your css-files.
The dot in the folder name means that it is a hidden folder. Therefore you have to activate "show hidden files".
The dot in the folder name means that it is a hidden folder. You will need to activate "Show Hidden Files" in Mainsail's file manager.
{: .info}
![screenshot](../assets/img/customizing/screenshot-display-hidden-files.png)
## directory structure
We have prepared the following simple overview for you.
Please refer to the separate instructions for details.
All listed files in the .theme folder are optional and will only be loaded if they are provided.
## Directory structure
The below directory and file structure provides an overview of files you could include. All listed files in the `.theme` folder are optional and will only be loaded if they are provided.
{: .info}
```
@@ -40,4 +35,4 @@ All listed files in the .theme folder are optional and will only be loaded if th
| | |-- favicon-32x32.png
| | |-- custom.css
| | |-- ...
```
```
+1 -1
View File
@@ -16,7 +16,7 @@ description: >-
## Setup Instructions
{: .no_toc}
Go to the repo of the theme and download it. Place the files according to [these instructions](/theming/prepare#directory-structure).
Click on the URL link below to go to the theme's repository and download it. Place the files according to [the instructions in the Preparing your theme section](/theming/prepare#directory-structure).
[KIAUH](/setup/kiauh) has an integrated theme installer
Go to `[Advanced] > [Theme installer]`, enter the desired theme <span class="key">id</span> and confirm with return.
+9 -2
View File
@@ -1,9 +1,16 @@
---
layout: default
title: Update Guide
title: Update Guides
nav_order: 3
has_children: true
permalink: /update/
has_toc: false
---
This is a guide to update up Klipper, Moonraker & Mainsail on your Raspberry Pi.
There are two methods to update Mainsail: from Mainsail's interface in your web browser or by manually updating.
- [Update Manager Guide](update-manager) <span class="label label-red">(Recommended)</span>
Update Klipper, Moonraker and Mainsail in your web browser using Mainsail. This is the recommended method.
- [Manual Update Guide](manual-update)
Review the included guides on how to manually update each component, including Klipper, Moonraker, and Mainsail.
+6 -4
View File
@@ -8,16 +8,18 @@ permalink: /update/klipper
## Klipper
### Update from Repository
To update Klipper directly from its repository, run the following command in a terminal:
```bash
cd ~/klipper
git pull
```
Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts
correctly and then continue the guide.
Restart Klipper using the command `sudo service klipper restart` and check the `klippy.log`. if Klipper started correctly without any errors you may continue.
### Klipper config changes
If you have issues after update your Klipper instance, you can check config changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
### Klipper configuration changes
If you have any issues after updating your Klipper instance, you can check the configuration changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
---
[< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn}
+11 -5
View File
@@ -6,20 +6,26 @@ nav_order: 4
permalink: /update/mainsail
---
## Mainsail
## Updating Mainsail
To update Mainsail manually, run the commands below in your terminal:
```bash
cd ~/mainsail
rm -R ./*
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
```
### Move gui.json from gcodes to klipper_config
This is only necessary if you update from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
### Updating from 0.2.2 to 0.2.3 or higher
If you are updating from Mainsail version 0.2.2 to a newer version, you must move the file `gui.json` from the `gcodes` directory to the `klipper_config' directory.
This is only necessary when updating from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
```
mv ~/sdcard/gui.json ~/klipper_config/
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
You should now be able to open Mainsail in your web browser at `http://<printer-ip>/`.
---
[< previous step](moonraker.md){: .btn }
+13
View File
@@ -0,0 +1,13 @@
---
layout: default
title: Manual Update
parent: Update Guides
nav_order: 3
has_children: true
permalink: /update/manual-update
has_toc: true
---
# Updating Mainsail the manual way
This section covers the individual methods for updating each component of the stack manually.
@@ -0,0 +1,24 @@
---
layout: default
title: Klipper
parent: Manual Update
grand_parent: Update Guides
nav_order: 2
permalink: /update/manual-update/klipper
---
## Klipper
### Update from Repository
```bash
cd ~/klipper
git pull
```
Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts
correctly and then continue the guide.
### Klipper config changes
If you have issues after update your Klipper instance, you can check config changes [here](https://www.klipper3d.org/Config_Changes.html){:target="_blank"}.
---
[< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn}
@@ -0,0 +1,20 @@
---
layout: default
title: Mainsail
parent: Manual Update
grand_parent: Update Guides
nav_order: 4
permalink: /update/manual-update/mainsail
---
## Mainsail
```bash
cd ~/mainsail
rm -R ./*
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
---
[< previous step](moonraker.md){: .btn }
@@ -0,0 +1,33 @@
---
layout: default
title: Moonraker
parent: Manual Update
grand_parent: Update Guides
nav_order: 3
permalink: /update/manual-update/moonraker
---
## Moonraker
```bash
cd ~/moonraker
git pull
```
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
If you see a content like this
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
```
### Update Moonraker dependence
This is only nessasary, if you see missing modules in the moonraker log.
```bash
~/moonraker/scripts/install-moonraker.sh -r
```
### Moonraker config changes
If you have issues after update your Moonraker instance, you can check config changes [here](https://moonraker.readthedocs.io/en/latest/user_changes/){:target="_blank"}.
---
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
+18 -13
View File
@@ -6,45 +6,50 @@ nav_order: 3
permalink: /update/moonraker
---
## Moonraker
## Updating Moonraker
To update Moonraker directly from its repository, run the following command in a terminal:
```bash
cd ~/moonraker
git pull
```
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
Restart Moonraker using the command `sudo service moonraker restart` and open the URL `http://<printer-ip>:7125/printer/info` in your browser.
If you see a content like this
Your printer is updated and ready if you see the following message:
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
```
### Add Moonraker update manager
To use the update manager in Mainsail you have to add this in your moonraker.conf:
### Add Moonraker to the update manager
If you want to update Moonraker using the update manager, you need to add the following section to your printer's `moonraker.conf`:
```
[update_manager]
[update_manager client mainsail]
type: web
repo: meteyou/mainsail
repo: mainsail-crew/mainsail
path: ~/mainsail
```
### Change Moonraker to systemd service (December 6th 2020)
Moonraker is now installed as a systemd service. If `moonraker.conf` is not located in the home directory, the command will looks something like the following:
### Moonraker as a systemd service
As of December 2020, Moonraker is added as a systemd service during installation. If `moonraker.conf` is not located in the home directory, run this command in your terminal:
```bash
~/moonraker/scripts/install-moonraker.sh -f -c /home/pi/klipper_config/moonraker.conf
```
This allows logging to stdout which can be viewed with the `journalctl -u moonraker command`.
This allows logging to `stdout` which can be viewed with the command `journalctl -u moonraker` in your terminal.
### Update Moonraker dependence
This is only nessasary, if you see missing modules in the moonraker log.
### Update Moonraker's dependencies
Updating Moonraker's dependecencies manually is only needed if you see missing modules in the Moonraker log. You can run the following command to update Moonraker's dependencies:
```bash
~/moonraker/scripts/install-moonraker.sh -r
```
### Moonraker config changes
If you have issues after update your Moonraker instance, you can check config changes [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
### Moonraker configuration changes
If you have issues after updating Moonraker, please review the list of changes requiring user intervention [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
---
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
+55
View File
@@ -0,0 +1,55 @@
---
layout: default
title: Update Manager
parent: Update Guides
nav_order: 1
has_children: false
permalink: /update/update-manager
---
# Update Manager
You can find further information on this topic in the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
{: .info}
## Enabling Update Manager
To use the built in Update Manager it must first be enabled by editing the `moonraker.conf` file. From a terminal navigate to Klipper's configuration directory and edit the configuration file:
```bash
cd ~/klipper_config
sudo nano moonraker.conf
```
Add the following section to your printer's `moonraker.conf`:
```yaml
[update_manager]
[update_manager client mainsail]
type: web
repo: mainsail-crew/mainsail
path: ~/mainsail
```
Restart Moonraker:
```bash
sudo systemctl restart moonraker
```
## Using Mainsail to Update
With the update manager enabled, reload your web browser and select the 'Machine' tab from the sidebar. You should now see the Update Manager panel.
Holding shift while clicking the browser's refresh button (or pressing Control + F5) will force it to reload the page fully without the cache.
{: .info}
The update order is top to bottom.
![screenshot-updates-required](../assets/img/update/screenshot-update-manager-example-not-up-to-date.png)
To update a component, click the 'UPDATE' button next to the component you wish to update:
![screenshot-update-button](../assets/img/update/screenshot-update-manager-button-rounded.png)
A popover window will launch and the component will be updated. When the update is finished, you can close the window.
+5471 -4564
View File
File diff suppressed because it is too large. Load diff
+28 -31
View File
@@ -1,6 +1,6 @@
{
"name": "mainsail",
"version": "2.0.0-beta2",
"version": "2.1.2",
"private": true,
"decription": "a klipper web interface",
"author": {
@@ -14,21 +14,31 @@
"i18n-extract": "vue-i18n-extract use-config"
},
"dependencies": {
"@codemirror/basic-setup": "^0.18.2",
"@codemirror/legacy-modes": "^0.18.1",
"@codemirror/state": "^0.18.7",
"@codemirror/stream-parser": "^0.18.2",
"@codemirror/view": "^0.18.19",
"axios": "^0.21.1",
"@codemirror/basic-setup": "^0.19.0",
"@codemirror/language": "^0.19.7",
"@codemirror/highlight": "^0.19.6",
"@codemirror/lang-javascript": "^0.19.3",
"@codemirror/lang-json": "^0.19.1",
"@codemirror/legacy-modes": "^0.19.0",
"@codemirror/search": "^0.19.4",
"@codemirror/state": "^0.19.6",
"@codemirror/stream-parser": "^0.19.2",
"@codemirror/view": "^0.19.28",
"@sindarius/gcodeviewer": "^2.1.17",
"@types/overlayscrollbars": "^1.12.1",
"axios": "^0.21.2",
"core-js": "^3.16.0",
"echarts": "^5.1.2",
"echarts": "^5.2.2",
"echarts-for-vue": "^1.4.1",
"echarts-gl": "^2.0.7",
"echarts-gl": "^2.0.8",
"joi": "^17.4.1",
"js-sha256": "^0.9.0",
"object-assign-deep": "^0.4.0",
"overlayscrollbars": "^1.13.1",
"overlayscrollbars-vue": "^0.2.2",
"sass-loader": "^10.2.0",
"semver": "^7.3.5",
"uuid": "^8.3.2",
"vue": "^2.6.14",
"vue-class-component": "^7.2.6",
"vue-context": "^6.0.0",
@@ -41,16 +51,16 @@
"vue-resource": "^1.5.3",
"vue-simple-upload": "^0.1.6",
"vue-toast-notification": "^0.6.1",
"vue2-perfect-scrollbar": "^1.5.0",
"vuedraggable": "^2.24.3",
"vuetify": "^2.5.8",
"vuetify": "^2.6.1",
"vuex": "^3.6.2"
},
"devDependencies": {
"@mdi/font": "^5.9.55",
"@mdi/font": "^6.2.95",
"@types/semver": "^7.3.8",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"@typescript-eslint/parser": "^4.29.3",
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-eslint": "^4.5.13",
"@vue/cli-plugin-pwa": "^4.5.13",
@@ -62,8 +72,7 @@
"eslint": "^6.8.0",
"eslint-plugin-vue": "^6.2.2",
"generate-file-webpack-plugin": "^1.0.1",
"node-sass": "^6.0.1",
"sass": "^1.37.0",
"sass": "~1.32",
"sw-precache-webpack-plugin": "^1.0.0",
"typescript": "^4.3.5",
"vue-cli-plugin-route": "0.0.7",
@@ -75,21 +84,6 @@
"vue-template-compiler": "^2.6.14",
"vuetify-loader": "^1.7.2"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript/recommended"
],
"rules": {},
"parserOptions": {
"parser": "@typescript-eslint/parser"
}
},
"postcss": {
"plugins": {
"autoprefixer": {}
@@ -98,5 +92,8 @@
"browserslist": [
"> 1%",
"last 2 versions"
]
],
"engines": {
"node": "^16"
}
}
Binary file not shown.
+113
View File
@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="100%"
height="100%"
viewBox="0 0 768 624"
version="1.1"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"
id="svg40"
sodipodi:docname="klipper.svg"
inkscape:version="0.92.4 (unknown)"
inkscape:export-filename="/home/kevin/src/reprap/firmware/klipper/logs/logo-20190416/klipper6.svg.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"><metadata
id="metadata46"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs44">
</defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1030"
id="namedview42"
showgrid="false"
inkscape:zoom="0.95"
inkscape:cx="327.89418"
inkscape:cy="289.76441"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg40"
showguides="false"
showborder="false"><inkscape:grid
type="xygrid"
id="grid905" /></sodipodi:namedview>
<path
style="fill:#3c4b5a"
d="m 30,34 v 140 l 260,255 115,-5 h 80 L 730,174 V 34 H 720 L 385,374 40,34 Z"
id="path2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccc" /><path
style="fill:#3c4b5a;stroke-width:1.03280997"
d="m 140,418 -58,57 1,25 v 19 l 57,57 h 27 v -1 L 91,496.5 167,419 v -1 z"
id="path8"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccc" /><g
transform="translate(-1.08348e-4,0.048)"
id="g17">
<path
d="m 83.041215,464.92108 h 0.001 l -0.04211,27.03092 h 11 l 73.000005,-74 v 14.301 l -63,64.199 63,65.5 v 14 l -73.000002,-75 h -13 c -2,0 -4,-2 -4,-4 h -2 v -33 h 2 c 0,-1 1,-2 3.00004,-2 1.99996,0 2.99996,1 2.99996,2 z"
style="fill:#b12f35"
id="path15"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccc" />
</g><g
id="path839"
transform="matrix(1.03281,0,0,1.0326797,24.31099,-21.921569)">
<rect
x="21"
y="426"
width="30.015202"
height="153"
style="fill:#3c4b5a;fill-rule:nonzero"
id="rect12" />
</g><rect
x="247"
y="469"
width="24"
height="107"
style="fill:#3c4b5a;stroke-width:1.19609642"
id="rect23" /><path
d="m 371.98888,521.45953 c 0,-10.8903 -2.45322,-19.36013 -7.36207,-25.4107 -4.90765,-6.05057 -12.80741,-9.07465 -23.69929,-9.07465 -2.28639,0 -4.6724,0.10081 -7.16044,0.30241 -2.48802,0.20161 -4.94125,0.63842 -7.36207,1.31044 v 60.29926 c 2.15197,1.47844 5.00967,2.85727 8.57188,4.13411 3.56342,1.27684 7.36208,1.91526 11.39597,1.91526 8.87554,0 15.36385,-3.02409 19.46496,-9.07465 4.10111,-6.05057 6.15106,-14.18439 6.15106,-24.40148 z M 397,521.05632 c 0,8.06663 -1.04178,15.46123 -3.12654,22.18261 -2.08476,6.72259 -5.07568,12.50434 -8.97515,17.34409 -3.89947,4.83973 -8.77472,8.60423 -14.62333,11.29351 -5.8498,2.68927 -12.47254,4.0333 -19.86702,4.0333 -4.97606,0 -9.54765,-0.60481 -13.71597,-1.81445 -4.16832,-1.21082 -7.59731,-2.55487 -10.28698,-4.03451 V 611 H 302 V 471.64736 c 4.97486,-1.34524 11.09352,-2.62207 18.35477,-3.83171 C 327.61602,466.60482 335.28055,466 343.34834,466 c 8.33664,0 15.79953,1.27684 22.38866,3.83171 6.58794,2.55487 12.20251,6.21857 16.84131,10.9911 4.6388,4.77253 8.20221,10.5543 10.69024,17.34408 2.48684,6.78859 3.73145,14.4184 3.73145,22.88943 z"
style="fill:#3c4b5a;fill-rule:nonzero;stroke-width:1.20011997"
id="path25"
inkscape:connector-curvature="0" /><path
d="m 492.9892,521.45953 c 0,-10.8903 -2.4544,-19.36013 -7.36198,-25.4107 -4.90759,-6.05057 -12.80725,-9.07465 -23.699,-9.07465 -2.28636,0 -4.67354,0.10081 -7.16034,0.30241 -2.488,0.20161 -4.94119,0.63842 -7.36197,1.31044 v 60.29926 c 2.15074,1.47844 5.00839,2.85727 8.57176,4.13411 3.56337,1.27684 7.36198,1.91526 11.39582,1.91526 8.87423,0 15.36246,-3.02409 19.46352,-9.07465 4.10106,-6.05057 6.15219,-14.18439 6.15219,-24.40148 z M 518,521.05632 c 0,8.06663 -1.04297,15.46123 -3.1265,22.18261 -2.08474,6.72259 -5.07681,12.50434 -8.97624,17.34409 -3.89942,4.83973 -8.77341,8.60423 -14.62314,11.29351 -5.84854,2.68927 -12.47119,4.0333 -19.86677,4.0333 -4.9748,0 -9.54633,-0.60481 -13.7146,-1.81445 -4.16827,-1.21082 -7.59722,-2.55487 -10.28684,-4.03451 V 611 H 423 V 471.64736 c 4.97599,-1.34524 11.09337,-2.62207 18.35454,-3.83171 C 448.61569,466.60482 456.28012,466 464.34782,466 c 8.33773,0 15.80052,1.27684 22.38838,3.83171 6.58905,2.55487 12.20235,6.21857 16.84229,10.9911 4.63875,4.77253 8.20211,10.5543 10.69012,17.34408 2.48679,6.78859 3.73139,14.4184 3.73139,22.88943 z"
style="fill:#3c4b5a;fill-rule:nonzero;stroke-width:1.20011246"
id="path27"
inkscape:connector-curvature="0" /><path
d="m 537,521.00591 c 0,-9.30123 1.37492,-17.45591 4.12595,-24.46521 2.74984,-7.00931 6.40632,-12.83838 10.96942,-17.48839 4.56191,-4.65121 9.79451,-8.15587 15.699,-10.51396 5.90328,-2.3593 11.94191,-3.53835 18.11469,-3.53835 14.49054,0 25.79531,4.51527 33.91308,13.5458 8.11897,9.03174 12.17786,22.51016 12.17786,40.43768 0,1.34749 -0.0335,2.8646 -0.1006,4.54896 -0.0671,1.68555 -0.16768,3.20147 -0.30182,4.55015 h -69.43942 c 0.67068,8.49155 3.65646,15.06171 8.95733,19.71294 5.29967,4.65001 12.98149,6.97562 23.04547,6.97562 5.9033,0 11.30477,-0.5402 16.20202,-1.61818 4.89726,-1.07799 8.75493,-2.22335 11.57304,-3.43729 l 3.22052,20.01612 c -1.34138,0.67495 -3.18699,1.38237 -5.53561,2.12349 -2.34742,0.74112 -5.03139,1.41485 -8.05071,2.02242 -3.01811,0.60637 -6.27217,1.11168 -9.76096,1.51592 -3.4888,0.40425 -7.04467,0.60637 -10.66761,0.60637 -9.25915,0 -17.30985,-1.38116 -24.15211,-4.14471 -6.84346,-2.76354 -12.47968,-6.60507 -16.90744,-11.52457 -4.42778,-4.91951 -7.71537,-10.7161 -9.86278,-17.38854 C 538.0731,536.27095 537,528.95845 537,521.00591 Z m 70.64548,-10.91821 c 0,-3.36991 -0.46948,-6.57138 -1.40846,-9.60442 -0.93897,-3.03303 -2.31508,-5.66063 -4.12595,-7.88517 -1.81207,-2.22335 -4.02535,-3.97627 -6.64226,-5.25638 -2.61689,-1.28131 -5.73561,-1.92137 -9.35855,-1.92137 -3.75708,0 -7.04466,0.70743 -9.86278,2.1235 -2.8181,1.41484 -5.19906,3.26883 -7.14527,5.55956 -1.94501,2.29192 -3.45526,4.92071 -4.52837,7.88516 -1.0731,2.96567 -1.81206,5.99871 -2.21447,9.09912 z"
style="fill:#3c4b5a;fill-rule:nonzero;stroke-width:1.20038378"
id="path29"
inkscape:connector-curvature="0" /><path
d="m 717.7869,492.26931 c -2.00567,-0.67394 -4.78138,-1.38159 -8.32593,-2.12292 -3.54453,-0.74135 -7.65736,-1.11202 -12.33845,-1.11202 -2.67542,0 -5.51799,0.26957 -8.52649,0.80874 -3.0097,0.53915 -5.11684,1.01091 -6.32025,1.41528 V 576 H 658 V 475.28104 c 4.68109,-1.75347 10.53216,-3.40464 17.55439,-4.95472 C 682.57663,468.77504 690.36771,468 698.92762,468 c 1.60574,0 3.47769,0.10109 5.61827,0.30328 2.13938,0.20218 4.27996,0.47176 6.42053,0.80873 2.13939,0.33697 4.2131,0.74255 6.21878,1.21431 2.00687,0.47176 3.6114,0.90983 4.8148,1.3142 z"
style="fill:#3c4b5a;fill-rule:nonzero;stroke-width:1.19865453"
id="path31"
inkscape:connector-curvature="0" /><path
sodipodi:nodetypes="cccccccccccccc"
d="M 259,424 H 360 V 359 L 30,34 H 90 L 385,324 670,34 h 60 L 410,359 v 84.99783 C 410,449 405,454 400,454 H 259 c -12,0 -14,-10 -14,-15 0,-5 2,-15 14,-15 z"
style="fill:#b12f35"
id="path35"
inkscape:connector-curvature="0" />
<rect
id="rect12-6"
style="clip-rule:evenodd;fill:#3c4b5a;fill-rule:nonzero;stroke-width:1.03280997;stroke-linejoin:round;stroke-miterlimit:1.41420996"
height="158"
width="24"
y="418"
x="191" /></svg>

After

Width:  |  Height:  |  Size: 8.0 KiB

+99 -53
View File
@@ -6,6 +6,10 @@
@import './assets/styles/utils.scss';
@import './assets/styles/updateManager.scss';
:root {
--app-height: 100%;
}
#content {
background-attachment: fixed;
background-size: cover;
@@ -15,6 +19,10 @@
.v-btn:not(.v-btn--outlined).primary {
color: var(--v-btn-text-primary)
}
.main-content-scrollbar {
height: calc(var(--app-height) - 48px);
}
</style>
<template>
@@ -23,32 +31,37 @@
<the-sidebar></the-sidebar>
<the-topbar></the-topbar>
<v-main id="content" :style="{ background: mainBackground }">
<v-container fluid id="page-container" class="container px-3 px-sm-6 py-sm-6 mx-auto">
<router-view></router-view>
</v-container>
<v-main id="content" :style="mainStyle">
<overlay-scrollbars class="main-content-scrollbar">
<v-container fluid id="page-container" class="container px-3 px-sm-6 py-sm-6 mx-auto">
<router-view></router-view>
</v-container>
</overlay-scrollbars>
</v-main>
<the-select-printer-dialog v-if="remoteMode"></the-select-printer-dialog>
<the-connecting-dialog v-else></the-connecting-dialog>
<the-update-dialog></the-update-dialog>
<the-editor></the-editor>
<the-timelapse-rendering-snackbar>-</the-timelapse-rendering-snackbar>
</v-app>
</template>
<script lang="ts">
import Component from 'vue-class-component'
import TheSidebar from "@/components/TheSidebar.vue";
import BaseMixin from "@/components/mixins/base";
import TheTopbar from "@/components/TheTopbar.vue";
import {Mixins, Vue, Watch} from "vue-property-decorator";
import TheUpdateDialog from "@/components/TheUpdateDialog.vue";
import TheConnectingDialog from "@/components/TheConnectingDialog.vue";
import TheSelectPrinterDialog from "@/components/TheSelectPrinterDialog.vue";
import TheEditor from "@/components/TheEditor.vue";
import MainsailLogo from "@/components/ui/MainsailLogo.vue";
import TheSidebar from '@/components/TheSidebar.vue'
import BaseMixin from '@/components/mixins/base'
import TheTopbar from '@/components/TheTopbar.vue'
import {Mixins, Watch} from 'vue-property-decorator'
import TheUpdateDialog from '@/components/TheUpdateDialog.vue'
import TheConnectingDialog from '@/components/TheConnectingDialog.vue'
import TheSelectPrinterDialog from '@/components/TheSelectPrinterDialog.vue'
import TheEditor from '@/components/TheEditor.vue'
import {panelToolbarHeight, topbarHeight, navigationItemHeight} from '@/store/variables'
import TheTimelapseRenderingSnackbar from '@/components/TheTimelapseRenderingSnackbar.vue'
@Component({
components: {
TheTimelapseRenderingSnackbar,
TheEditor,
TheSelectPrinterDialog,
TheConnectingDialog,
@@ -58,44 +71,61 @@ import MainsailLogo from "@/components/ui/MainsailLogo.vue";
}
})
export default class App extends Mixins(BaseMixin) {
panelToolbarHeight = panelToolbarHeight
topbarHeight = topbarHeight
navigationItemHeight = navigationItemHeight
get title(): string {
return this.$store.getters["getTitle"]
return this.$store.getters['getTitle']
}
get remoteMode() {
get remoteMode(): boolean {
return this.$store.state.socket.remoteMode ?? false
}
get mainBackground() {
return this.$store.getters["files/getMainBackground"]
get mainBackground(): string {
return this.$store.getters['files/getMainBackground']
}
get mainStyle() {
let style = ''
if (this.mainBackground !== null) {
style = 'background-image: url('+this.mainBackground+');'
}
return style
}
get customStylesheet () {
return this.$store.getters["files/getCustomStylesheet"]
return this.$store.getters['files/getCustomStylesheet']
}
get customFavicons () {
return this.$store.getters["files/getCustomFavicons"] ?? null
get customFavicons(): string | null {
return this.$store.getters['files/getCustomFavicons'] ?? null
}
get language () {
get language(): string {
return this.$store.state.gui.general.language
}
get current_file () {
return this.$store.state.printer.print_stats?.filename ?? ""
get current_file(): string {
return this.$store.state.printer.print_stats?.filename ?? ''
}
get logoColor () {
return this.$store.state.gui.theme.logo
get logoColor(): string {
return this.$store.state.gui.uiSettings.logo
}
get primaryColor () {
return this.$store.state.gui.theme.primary
get primaryColor(): string {
return this.$store.state.gui.uiSettings.primary
}
get primaryTextColor() {
get warningColor(): string {
return this.$vuetify?.theme?.currentTheme?.warning?.toString() ?? '#ff8300'
}
get primaryTextColor(): string {
let splits = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(this.primaryColor)
if (splits) {
const r = parseInt(splits[1], 16) * 0.2126
@@ -109,29 +139,35 @@ export default class App extends Mixins(BaseMixin) {
return '#ffffff'
}
get cssVars() {
get cssVars(): { [key: string]: string } {
return {
'--v-btn-text-primary': this.primaryTextColor
'--v-btn-text-primary': this.primaryTextColor,
'--color-primary': this.primaryColor,
'--color-warning': this.warningColor,
'--panel-toolbar-icon-btn-width': panelToolbarHeight + 'px',
'--panel-toolbar-text-btn-height': panelToolbarHeight + 'px',
'--topbar-icon-btn-width': topbarHeight + 'px',
'--sidebar-menu-item-height': navigationItemHeight + 'px'
}
}
get print_percent () {
return Math.round(this.$store.getters["printer/getPrintPercent"] * 100)
get print_percent(): number {
return Math.round(this.$store.getters['printer/getPrintPercent'] * 100)
}
@Watch('language')
languageChanged(newVal: string) {
this.$i18n.locale = newVal;
languageChanged(newVal: string): void {
this.$i18n.locale = newVal
}
@Watch('customStylesheet')
customStylesheetChanged(newVal: string | null) {
const style = document.getElementById("customStylesheet")
customStylesheetChanged(newVal: string | null): void {
const style = document.getElementById('customStylesheet')
if (newVal !== null && style === null) {
const newStyle = document.createElement('link')
newStyle.id = "customStylesheet"
newStyle.type = "text/css"
newStyle.rel = "stylesheet"
newStyle.id = 'customStylesheet'
newStyle.type = 'text/css'
newStyle.rel = 'stylesheet'
newStyle.href = newVal
document.head.appendChild(newStyle)
} else if (newVal !== null && style) {
@@ -140,24 +176,24 @@ export default class App extends Mixins(BaseMixin) {
}
@Watch('current_file')
current_fileChanged(newVal: string) {
if (newVal !== "") this.$socket.emit("server.files.metadata", { filename: newVal }, { action: "files/getMetadataCurrentFile" });
current_fileChanged(newVal: string): void {
if (newVal !== '') this.$socket.emit('server.files.metadata', { filename: newVal }, { action: 'files/getMetadataCurrentFile' })
}
@Watch('primaryColor')
primaryColorChanged(newVal: string) {
primaryColorChanged(newVal: string): void {
this.$nextTick(() => {
this.$vuetify.theme.currentTheme.primary = newVal
})
}
drawFavicon(val: number) {
const favicon16: HTMLLinkElement | null = document.querySelector("link[rel*='icon'][sizes='16x16']")
const favicon32: HTMLLinkElement | null = document.querySelector("link[rel*='icon'][sizes='32x32']")
drawFavicon(val: number): void {
const favicon16: HTMLLinkElement | null = document.querySelector('link[rel*=\'icon\'][sizes=\'16x16\']')
const favicon32: HTMLLinkElement | null = document.querySelector('link[rel*=\'icon\'][sizes=\'32x32\']')
if (favicon16 && favicon32) {
if (this.printerIsPrinting) {
let faviconSize = 64;
let faviconSize = 64
let canvas = document.createElement('canvas')
canvas.width = faviconSize
@@ -173,9 +209,9 @@ export default class App extends Mixins(BaseMixin) {
context.moveTo(centerX, centerY)
context.arc(centerX, centerY, radius, 0, 2 * Math.PI, false)
context.closePath()
context.fillStyle = "#ddd"
context.fillStyle = '#ddd'
context.fill()
context.strokeStyle = "rgba(200, 208, 218, 0.66)"
context.strokeStyle = 'rgba(200, 208, 218, 0.66)'
context.stroke()
// draw the green circle based on percentage
@@ -219,27 +255,37 @@ export default class App extends Mixins(BaseMixin) {
}
@Watch('customFavicons')
customFaviconsChanged() {
customFaviconsChanged(): void {
this.drawFavicon(this.print_percent)
}
@Watch('logoColor')
logoColorChanged() {
logoColorChanged(): void {
this.drawFavicon(this.print_percent)
}
@Watch('print_percent')
print_percentChanged(newVal: number) {
print_percentChanged(newVal: number): void {
this.drawFavicon(newVal)
}
@Watch('printerIsPrinting')
printerIsPrintingChanged() {
printerIsPrintingChanged(): void {
this.drawFavicon(this.print_percent)
}
mounted() {
appHeight() {
this.$nextTick(() => {
const doc = document.documentElement
doc.style.setProperty('--app-height', window.innerHeight+'px')
})
}
mounted(): void {
this.drawFavicon(this.print_percent)
this.appHeight()
window.addEventListener('resize', this.appHeight)
window.addEventListener('orientationchange', this.appHeight)
}
}
</script>
+8
View File
@@ -45,4 +45,12 @@
font-weight: 900;
src: local('Roboto Black'), local('Roboto-Black'), url(/fonts/roboto-black.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: local('Roboto Mono'), local('Roboto-Mono'), url(/fonts/robotoMono-regular.woff) format('woff');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+4
View File
@@ -1,3 +1,7 @@
html {
overflow: auto;
}
body {
background: #121212;
}
Loaded 100 of 355 files, more files were not shown because too many files have changed in this diff. Show more