Commit Graph

456 Commits

Author SHA1 Message Date
th33xitus
af37622a9a refactor(moonraker.sh): fix errors & confirms
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
491de50d8c refactor(klipper.sh): fix errors
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
ebc7c56713 style(install_klipper_webui.sh): fix some shellsheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
ec1bc0a309 refactor(pretty_gcode.sh): merge pgc code and fix some shellsheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
d18f679ece refactor(utilities.sh): fix some shellsheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
eb46600ec0 refactor(mjpg-streamer.sh): merge code and fix shellsheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
a71b98967b style(flash_klipper.sh): fix some shellcheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
e72b799205 refactor: rough refactor of octoprint functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
d71009f614 refactor(dwc): remove unnecessary variable
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
441be1740b refactor: rough refactor of DWC2
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
47775cca91 refactor: remove mainsailOS & fluiddPi migration helper
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
7aa248a5d8 refactor: klipperscreen & moonraker-telegram-bot
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
c812117755 refactor: moonraker-telegram-bot
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
92f84c03e4 refactor: klipperscreen
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
f4d065919c refactor(ui): beginning of UI improvements
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
b96dbd7a06 refactor(moonraker.sh): full rewrite
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
b25f2c490a style(kiauh.sh): typo in comment
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
5fc31ccf0a style(kiauh.sh): save line of code
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
d82f6f9b5f refactor(kiauh.sh): no global confirm / error message anymore
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
5a4866d821 fix(klipper.sh): single brackets for test
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
95ca439524 refactor(klipper.sh): remove function call that will be obsolete soon
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
99a617b9ab fix(klipper.sh): correct shebang
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
008b2aeecb refactor(klipper.sh): always create a clean virtualenv
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
e4c0f34629 fix(klipper.sh): fix typo
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
2432883c6c fix(klipper.sh): fix typo
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
75bd8f76f3 refactor: full rework of klipper related functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
8e20e4999e refactor: rename functions.sh to utilities.sh
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
d668807d1b refactor: make dependency_check() take an array as first argument
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
02a87216d2 refactor(klipper): merge all klipper functions into one file
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:58 +02:00
th33xitus
dd58229fee fix: bug in remove_klipperscreen() 2022-03-06 11:56:31 +01:00
th33xitus
4c083ceade fix: broken set_klipper_cfg_path function (#163) 2022-02-26 16:51:43 +01:00
th33xitus
259a6919f0 fix: link for theme data csv 2022-02-10 09:14:44 +01:00
th33xitus
4f7a49d85a fix: bug not updating all when selecting to do so.
* also make the confirm message more verbose and make it clear that KIAUH won't update any held back packages or any dist upgrades.
2022-02-07 14:47:36 +01:00
th33xitus
005a5061a7 chore: apply changes made in mainsailOS 0.6.1 2022-02-03 16:57:55 +01:00
th33xitus
634d795557 fix: bug not successfully copying new upstreams.conf and common_vars.conf 2022-01-31 12:00:57 +01:00
th33xitus
a14e321df9 fix: apply required changes due to introduction of PolicyKit and PackageKit in Moonraker 2022-01-29 23:06:02 +01:00
th33xitus
d049d4c770 script: remove unused functions 2022-01-08 21:48:38 +01:00
th33xitus
108cda3cd6 shellcheck: apply fixes for SC2086 2022-01-08 21:45:55 +01:00
th33xitus
d7de58f538 feat: check for apache2 and prompt for action 2022-01-08 20:57:47 +01:00
th33xitus
e8c0b3cf39 fix: formatting / add INFO prefix 2021-12-26 12:18:45 +01:00
th33xitus
cfad7a1fb0 fix: add check for membership of group 'tty'
It's possible that being part of group 'tty' is also needed to be able to flash an MCU
2021-12-25 00:52:08 +01:00
th33xitus
4113732daa fix: check if group dialout exists
first check if group dialout exists on the system. then check if the current user is not part of it. only then ask for adding the user to that group
2021-12-24 23:33:05 +01:00
th33xitus
95808a0d5b shellcheck: apply several fixes
apply fix for SC2219, SC2086, SC2236
2021-12-24 23:02:38 +01:00
th33xitus
e551c02507 chore: remove unused code 2021-12-24 22:52:21 +01:00
th33xitus
1f40686ea1 fix: improve moonraker service detection (fixes #156) 2021-12-24 22:50:50 +01:00
th33xitus
9b3d96545b refactor: improve error message 2021-12-24 16:22:46 +01:00
th33xitus
a632fae8f6 fix: check if user is in group "dialout" before starting flash or build+flash routine 2021-12-24 16:17:07 +01:00
th33xitus
4e3a701db4 fix: warn_msg should be status_msg 2021-12-24 14:49:23 +01:00
th33xitus
0c760b5aa2 fix: check membership of "video" usergroup (should fix #135) 2021-12-24 14:36:30 +01:00
th33xitus
b92cfc3984 fix: klipper_cfg_loc was an empty string
if the config location wasn't already set before installing mjpg-streamer, klipper_cfg_loc was empty, even after calling the check_klipper_cfg_path function beforehand

moonraker.conf: set refresh_interval to 24hrs
2021-12-24 00:22:15 +01:00