Commit Graph

702 Commits

Author SHA1 Message Date
th33xitus
1cdd24d0de refactor: mjgp-streamer installer
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
97d984a105 style: fix indentation
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
cdfc82ffcc fix: typo
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
32b96b6fc1 fix: wrong status display
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
6f85ad6815 refactor: multiple
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
0f43a4d61f changelog: update changelog
correct date needs to be added once released

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
7d75a3f7fa style(globals.sh): add quotes
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
c557d8df1e refactor(octoprint.sh): octoprint instance setup
one dedicated env for each instance. allows independent installation of plugins. previously, all instances shared the same env and therefore all plugins.

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
efcd0dc12b fix(octoprint.sh): typo in argument
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
c6e907ae99 fix(octoprint.sh): typos
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
fb9e6807b7 refactor(octoprint.sh): use utility function for checking tty and dialout usergroup
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
3731d3aed8 refactor: octoprint status
also remove unused functions

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
8af4564570 refactor: fluidd status
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
11d3939e92 refactor: mainsail status
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
35dc2c75e3 refactor: rework some klipperscreen functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
413abf003e refactor: move python check to utilities.sh
also remove several unused service start and restart functions

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
67add53f27 refactor: rework moonraker telegram bot functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
d1a7673520 fix: make klipper install account for custom klipper repo
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
f362cdce8f fix: dialog allowed a higher option than actually possible
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
02d0ce8a78 refactor: remove switch menu from advanced menu
this function got replaced by the custom klipper repo function

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
9c523e1ff6 refactor: tweak repo file and settings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
af0f03008c feat: custom klipper repos
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
5f78228eb0 refactor: improve flash methods
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:00 +02:00
th33xitus
421dacf317 refactor: rename start_flash_mcu_sd to start_flash_sd
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
ea622be257 refactor: remove octoprint service toggle option
the octoprint process does not interfere with any moonraker/mainsail/fluidd instance. that option is therefore not really required anymore as haproxy is the real 'troublemaker'

Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
b7d44f46bb fix: bug in mcu index selection
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
0c104ec291 style: remove unused commented code
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
b315eeb50c style: add copyright and shellcheck ignores
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
f9e2ff89a4 refactor: flash_klipper.sh
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
46510f2b22 feat: allow klipper installation with python3
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
07af423fa3 fix: group dialout is required for klippers USB communication
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
63ef9a07db refactor: update update_menu.sh and update functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
acd53953ae refactor: update backup.sh
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
4bee1fc8d0 refactor: rewrite feature for changing config directory
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
8fce0f42ea fix(main_menu.sh): fix menu
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
602822a852 fix(settings_menu.sh): fix menu
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
4cc8c33ee3 fix(utilities.sh): fix no such file or directory
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
5ba3476069 style(globals.sh): add comment, remove empty lines
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
85b533e703 feat: outsource globals in own file
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
8a293011c5 feat: read custom klipper config location from file
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
5e6edebaa6 refactor(network_functions.sh): some refactor
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
314df68d35 refactor(backup.sh): some refactor
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
4d113619d4 refactor(flash_klipper.sh): fix some shellcheck warnings
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
ca858d676f refactor(octoprint.sh): rename base_dir to basedir
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
cf67463af5 refactor(octoprint.sh): full refactor
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
baef41d346 refactor(moonraker.sh): reduce function calls
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
e4a6a95288 fix(klipper.sh): bug in instance confirmation
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
70a4b34356 fix(moonraker.sh): remove polkit before deleting moonraker dir
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
88120b8bbc fix(moonraker.sh): remove polkit before deleting moonraker dir
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
f9fe774c81 fix(moonraker.sh): bug in instance confirmation
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00