th33xitus
c8629edcea
refactor(moonraker.sh): full rewrite
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 22:45:03 +01:00
th33xitus
067ea360b0
style(kiauh.sh): typo in comment
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 22:15:05 +01:00
th33xitus
b20e9455ff
style(kiauh.sh): save line of code
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 22:12:08 +01:00
th33xitus
4409331441
refactor(kiauh.sh): no global confirm / error message anymore
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 19:22:15 +01:00
th33xitus
b75167928d
fix(klipper.sh): single brackets for test
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 14:44:09 +01:00
th33xitus
87fded584f
refactor(klipper.sh): remove function call that will be obsolete soon
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 14:09:44 +01:00
th33xitus
1494005630
fix(klipper.sh): correct shebang
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 14:05:25 +01:00
th33xitus
85b12cf77a
refactor(klipper.sh): always create a clean virtualenv
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 13:50:43 +01:00
th33xitus
9eab46f02a
fix(klipper.sh): fix typo
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 13:46:18 +01:00
th33xitus
6ff55a9ea7
fix(klipper.sh): fix typo
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 13:39:53 +01:00
th33xitus
61b5ccde00
refactor: full rework of klipper related functions
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 12:32:51 +01:00
th33xitus
cfaa2ddafc
refactor: rename functions.sh to utilities.sh
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 01:15:10 +01:00
th33xitus
2993d5ed33
refactor: make dependency_check() take an array as first argument
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-19 01:13:26 +01:00
th33xitus
d9f94fa58d
refactor(klipper): merge all klipper functions into one file
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-03-17 10:48:25 +01: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
th33xitus
8c7891e360
fix: libjpeg dependencies for ubuntu
...
chore: several shellcheck fixes
2021-12-23 16:50:48 +01:00
th33xitus
852f7c056a
fix: wrong logic in if condition
2021-12-23 16:45:06 +01:00
th33xitus
8cffd07aef
fix: klipper service detection
...
refactor: move $INSTANCE_COUNT into setup function
refactor: creating $PKGLIST
script: add short description to the dialog for selecting the amount of klipper instances
chore: several shellcheck fixes
2021-12-23 15:03:52 +01:00
th33xitus
40745e90df
refactor: move $INSTANCE_COUNT into setup function
2021-12-23 14:19:06 +01:00
th33xitus
a43645cca0
refactor: better klipper service detection
2021-12-23 10:35:18 +01:00
th33xitus
4d834db5df
refactor: unlink moonraker install from klipper instances
...
chore: several shellcheck fixes
2021-12-23 10:35:09 +01:00
th33xitus
7afe943ecc
shellcheck: apply fix for SC2086
2021-12-19 17:14:24 +01:00
th33xitus
b06c17c184
fix: confirm flash condition ( fixes #155 )
2021-12-19 17:05:41 +01:00
th33xitus
b58e79634c
fix: update URLs
2021-11-29 11:13:47 +01:00
Yoshito Komatsu
1ef9b0f58f
fix: use [[:digit:]] instead of \d ( #146 )
2021-11-29 11:09:24 +01:00
th33xitus
8333ae1dc4
fix: also get pre-release versions
...
previous endpoint didn't allow kiauh to get pre-release versions of mainsail/fluidd
2021-11-20 15:17:21 +01:00
th33xitus
60842a330d
chore: update webui links
2021-11-14 11:21:34 +01:00
th33xitus
05a59e9261
fix: correct ls command to find kiauh_macros.cfg
2021-11-11 14:15:00 +01:00
th33xitus
36a8757cfd
chore: use ls to look for webcamd installation
2021-11-11 13:26:01 +01:00
th33xitus
fe4625d3e1
chore: refactor how moonraker is detected
2021-11-11 13:21:57 +01:00