th33xitus
680f4e16e5
refactor(utilities.sh): add logging to do_action_service function
...
- remove unused restart_nginx function
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-20 11:32:50 +02:00
th33xitus
ebca847123
refactor(nginx.sh): reword local scope variables
...
- fix typo for reading kiauh ini
- use different method for restarting nginx
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-20 11:32:07 +02:00
th33xitus
156fec37f2
refactor: remove octoprint disable prompt
...
the octoprint service itself does not cause any issues. so it is safe to have it still running besides mainsail or fluidd. only programs like haproxy, lighttps or apache2 cause issues in combination with nginx
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-20 00:18:43 +02:00
th33xitus
b73274053e
refactor: fluidd installer
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-20 00:11:53 +02:00
th33xitus
140a287249
refactor: mainsail installer & mainsail theme installer
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-19 23:58:19 +02:00
th33xitus
48309fae24
refactor: mjgp-streamer installer
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-19 21:37:17 +02:00
th33xitus
1475ea5786
style: fix indentation
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-19 21:27:27 +02:00
th33xitus
b84a04be14
fix: typo
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-18 17:31:19 +02:00
th33xitus
c20fd1a79a
fix: wrong status display
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-18 17:30:18 +02:00
th33xitus
e6df33c518
refactor: multiple
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-18 10:53:11 +02:00
th33xitus
9722a1fcfe
style(globals.sh): add quotes
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-18 09:51:07 +02:00
th33xitus
28782e910e
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-04-18 01:29:08 +02:00
th33xitus
856fa8dfa5
fix(octoprint.sh): typo in argument
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 23:28:35 +02:00
th33xitus
21a7d59ff5
fix(octoprint.sh): typos
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 20:21:24 +02:00
th33xitus
c7ad061332
refactor(octoprint.sh): use utility function for checking tty and dialout usergroup
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 20:11:09 +02:00
th33xitus
539653d9cf
refactor: octoprint status
...
also remove unused functions
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 20:03:34 +02:00
th33xitus
bc2ce383ee
refactor: fluidd status
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 19:57:03 +02:00
th33xitus
4487b9593c
refactor: mainsail status
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 19:55:46 +02:00
th33xitus
26c812e1d3
refactor: rework some klipperscreen functions
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 19:50:05 +02:00
th33xitus
3664cf0e2f
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-04-17 19:45:00 +02:00
th33xitus
6463f5007d
refactor: rework moonraker telegram bot functions
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 19:44:02 +02:00
th33xitus
e968ed1d6d
fix: make klipper install account for custom klipper repo
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 19:03:51 +02:00
th33xitus
239f759c61
fix: dialog allowed a higher option than actually possible
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 18:59:11 +02:00
th33xitus
ac163589e8
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-04-17 18:03:25 +02:00
th33xitus
3d198ab153
refactor: tweak repo file and settings
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 17:58:33 +02:00
th33xitus
c1523a0ea1
feat: custom klipper repos
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 17:45:10 +02:00
th33xitus
c735d0327b
refactor: improve flash methods
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 13:47:30 +02:00
th33xitus
011d90e4fa
refactor: rename start_flash_mcu_sd to start_flash_sd
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 11:54:07 +02:00
th33xitus
8aab598b8b
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-04-17 11:51:18 +02:00
th33xitus
3ea0623d95
fix: bug in mcu index selection
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-17 11:46:14 +02:00
th33xitus
aa418ae73a
style: add copyright and shellcheck ignores
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-14 19:49:37 +02:00
th33xitus
f91b2aa230
refactor: flash_klipper.sh
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-14 19:45:49 +02:00
th33xitus
3de826bd52
feat: allow klipper installation with python3
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-12 20:35:41 +02:00
th33xitus
5001681ee2
fix: group dialout is required for klippers USB communication
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-12 19:11:15 +02:00
th33xitus
077cb1654a
refactor: update update_menu.sh and update functions
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-12 16:02:48 +02:00
th33xitus
02e49edd08
refactor: update backup.sh
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-12 13:44:29 +02:00
th33xitus
c655ca9212
refactor: rewrite feature for changing config directory
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-12 13:42:29 +02:00
th33xitus
e24b392605
fix(main_menu.sh): fix menu
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-12 13:34:32 +02:00
th33xitus
ecbb14f929
fix(settings_menu.sh): fix menu
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-05 13:44:37 +02:00
th33xitus
e8dd0aed7d
fix(utilities.sh): fix no such file or directory
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-05 12:30:06 +02:00
th33xitus
ea85749492
style(globals.sh): add comment, remove empty lines
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-05 12:29:22 +02:00
th33xitus
8f3af54251
feat: outsource globals in own file
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-05 12:14:01 +02:00
th33xitus
114684030b
feat: read custom klipper config location from file
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-05 11:40:29 +02:00
th33xitus
2ad1ec5573
refactor(network_functions.sh): some refactor
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-04 00:02:20 +02:00
th33xitus
da2b5b777c
refactor(backup.sh): some refactor
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-03 23:48:30 +02:00
th33xitus
1dbbcf1eb2
refactor(flash_klipper.sh): fix some shellcheck warnings
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-03 23:29:44 +02:00
th33xitus
00d63816ae
refactor(octoprint.sh): rename base_dir to basedir
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-03 23:12:09 +02:00
th33xitus
898a6bbfd0
refactor(octoprint.sh): full refactor
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-03 20:07:48 +02:00
th33xitus
81b69d455a
refactor(moonraker.sh): reduce function calls
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-03 18:27:11 +02:00
th33xitus
c6d7ba8f9c
fix(klipper.sh): bug in instance confirmation
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-04-03 15:47:56 +02:00