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
3bc2f3b498
doc: document passing parameters to gcode_shell_commands
2021-12-24 01:08:09 +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
01790b5c11
moonraker.conf: pre-configure clients for pre-release updates
...
moonraker.conf: set refresh_interval to 24hrs
2021-12-23 17:17:48 +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
771191ab69
chore: update .gitignore
2021-12-22 22:39:17 +01:00
th33xitus and GitHub
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
e0ae312a9e
fix: missing declaration for OctoPrint backup ( fixes #143 )
2021-11-17 18:30:33 +01:00
th33xitus
4ce1ce72d3
chore: update moonraker.conf template
2021-11-14 11:29:14 +01:00
th33xitus
60842a330d
chore: update webui links
2021-11-14 11:21:34 +01:00
th33xitus and GitHub
05a59e9261
fix: correct ls command to find kiauh_macros.cfg
2021-11-11 14:15:00 +01:00
th33xitus and GitHub
36a8757cfd
chore: use ls to look for webcamd installation
2021-11-11 13:26:01 +01:00
th33xitus and GitHub
fe4625d3e1
chore: refactor how moonraker is detected
2021-11-11 13:21:57 +01:00
th33xitus
19ddf3e023
fix: silence grep
2021-11-11 13:02:36 +01:00
th33xitus
ba888b1f97
chore: use ls within remove_nginx method
2021-11-11 12:51:09 +01:00
th33xitus
0284a36e7f
chore: use ls to look for nginx installation
2021-11-11 12:43:13 +01:00
th33xitus
22f705e06c
chore: manage moonraker service enable/start with do_action_service method
2021-11-11 12:28:20 +01:00
th33xitus
4c34245da0
chore: refactor how klipper services are count
2021-11-11 12:12:43 +01:00
th33xitus
f7cb3d6c97
script: refactor exit code evaluation in flash_mcu.sh
2021-10-31 13:53:22 +01:00
th33xitus
aaf4f7dd5c
script: add logrotate rule for webcam service ( #127 )
2021-10-31 11:23:48 +01:00
th33xitus and GitHub
aa4bdfc7b2
fix: invalid command bug in rollback UI ( fixes #131 )
2021-10-29 14:04:39 +02:00
th33xitus and GitHub
311f3be864
fix: wrong check for moonraker multi-instance
...
The previous command also counted an available `moonraker-telegram-bot.service` and caused further issues with enabling the mainsail remoteMode accidentially.
2021-10-26 20:55:31 +02:00
th33xitus
511df1a889
fix: use correct themes.csv url
2021-10-25 22:22:32 +02:00
th33xitus
8d3ddc273a
fix: allow non-single digit instance counts containing a 0 #129
2021-10-22 23:52:58 +02:00
th33xitus and GitHub
f231fa9c69
gcode_shell_command: make RUN_SHELL_COMMAND accept optional parameters
...
Thanks @lixxbox for that code
2021-10-17 20:13:48 +02:00
th33xitus
9b6925e9c4
fix: add missing function call in install_webui
2021-10-02 11:26:43 +02:00
th33xitus
7f8ee7939c
script: move nginx functions from install_moonraker.sh to install_klipper_webui.sh
...
nginx was removed as a dependency from moonraker. moonraker didn't make use of it, only mainsail/fluidd do. so moving all nginx related functions to is reasonable
2021-10-01 23:58:03 +02:00
th33xitus
4d4c49d4c9
script: only display dialogs if files/service not found
2021-10-01 22:53:32 +02:00
th33xitus
7692227946
fix: function setup_moonraker_nginx_cfg
2021-10-01 21:51:33 +02:00
th33xitus
3da993a67c
fix: breaking bug
2021-09-29 18:55:13 +02:00
th33xitus
6b74c59d15
script: add function to match nginx configurations
...
this should fix a common issue where mainsail/fluidd was installed with a more up2date nginx config which didn't match with a previously configured upstreams.conf.
this should also cover cases where the upstreams.conf is more up2date than the corresponding interface configs.
2021-09-29 14:44:01 +02:00
th33xitus
9cd27f7052
fix: backup nginx configs now works correctly
2021-09-28 18:22:50 +02:00
th33xitus
fc4fe130cd
script: read webui ports from nginx config, write them to kiauh.ini
2021-09-28 18:22:50 +02:00
th33xitus
2a46b00cda
Updating README.md / changelog.md
2021-09-28 17:25:40 +02:00
th33xitus
560186a40b
chore: little UI tweaks, renaming "MTelegramBot" to "Telegram Bot"
2021-09-28 17:24:52 +02:00
th33xitus
75bca847f8
fix: remove telegram bot log also from ~/klipper_logs upon removal
2021-09-28 16:56:17 +02:00
th33xitus and GitHub
1e8c379623
Create FUNDING.yml
2021-09-24 12:21:30 +02:00
th33xitus
6a8991d51e
Update changelog.md
2021-09-24 12:19:41 +02:00
th33xitus
fb4367bb41
script: refactoring of the flash routine
...
script: uart devices can be detected/selected now
script: first implementation of a little help page
2021-09-24 11:59:50 +02:00
th33xitus
9463b719e4
script: update klipper github repository URL
2021-09-24 08:31:11 +02:00
th33xitus
65bf3d5251
fix: fix of previous commit and small refactor
2021-09-12 20:46:39 +02:00
th33xitus
14ef39b87c
fix: typo and missing function call for PrettyGCode
2021-08-25 10:14:05 +02:00
th33xitus
969d3b5dab
script: add --allow-releaseinfo-change option to apt-get update
2021-08-25 10:05:31 +02:00
th33xitus
05842f8e1d
feat: add PrettyGCode for Klipper
2021-08-10 12:25:05 +02:00
th33xitus and GitHub
39219c105e
script: add additional dependency check - should fix #97
...
Before starting the firmware building process, check for dependencies again.
2021-07-25 18:42:22 +02:00
th33xitus
7984c28fe5
script: add more default trusted_clients to moonraker.conf template
...
the previous method of adding the host network range was too unreliable in some cases and didn't cover some popular usecases
2021-07-11 19:13:37 +02:00
th33xitus
b44e855a98
script: simplify python dependency installation during klipper and moonraker update
2021-07-11 14:45:58 +02:00
th33xitus
52ab909ba5
script: update moonraker.conf, apply recent changes to the update manager section
2021-07-10 09:27:13 +02:00
th33xitus
4d7e10e5c3
script: update nginx configurations
2021-07-10 09:22:43 +02:00
th33xitus
d3726733e5
fix: small flash routine rework + user input validation
2021-07-04 20:09:25 +02:00
th33xitus and GitHub
765f016ea2
fix: menu action for removing mainsail theme was missing
2021-07-01 21:38:14 +02:00
th33xitus
5deb987b8a
script: patch log_path to moonraker.conf if missing
2021-06-29 22:58:21 +02:00
th33xitus
47d1321979
script: mainsail theme installer overhaul
2021-06-22 17:12:38 +02:00
th33xitus
b47a9cf7ed
feat: add voron toolhead theme to mainsail theme installer
2021-06-22 12:07:27 +02:00
th33xitus and GitHub
a9f23e9b23
script: remove else statement from do_action_service
...
Caused spamming of error messages when starting from a complete new Pi image.
2021-06-21 20:43:01 +02:00
th33xitus and GitHub
814acbe92a
script: add virtualenv to the moonraker dependency check #95
2021-06-21 08:44:37 +02:00
th33xitus
991dd79d01
script: add simple check for DietPi distro when creating the klipper dependency array
2021-06-18 18:28:27 +02:00
th33xitus
40875dfe49
script: simplify service action methods
2021-06-18 18:03:47 +02:00
th33xitus and GitHub
806c6fd275
Update changelog.md
2021-06-15 17:36:08 +02:00
th33xitus
e9706b52d8
Update changelog.md
2021-06-15 17:22:39 +02:00
th33xitus
412e084d6d
script: add short changelog url to kiauh update message
2021-06-15 16:40:10 +02:00
th33xitus
3ebee823ad
script: remove KlipperScreen.log symlink dialog.
2021-06-15 16:12:58 +02:00
th33xitus
72312422e3
fix: performance improvement for loading the advanced menu ui
2021-06-15 15:56:13 +02:00
th33xitus
54089582e4
script: rewrite the auto mainsailOS/fluiddPi migration function
...
No auto update anymore when updating Klipper. The user now must start this function. It's available in the Advanced Menu.
2021-06-15 15:56:13 +02:00
th33xitus
9fd3f930df
script: advanced_menu.sh, switch version becomes switch branch
2021-06-15 15:56:13 +02:00
th33xitus
98f0aa4b8f
script: update log-upload function
2021-06-15 15:56:13 +02:00
th33xitus
19b37e4dc4
script: update klipper.service raw file link
2021-06-15 15:56:13 +02:00
th33xitus
d344b1c5f6
feat: auto mainsailOS / fluiddPi migration
...
script: make use of moonrakers new log_path configuration option
script: create webui nginx log symlinks upon installation/update
2021-06-15 15:56:13 +02:00
th33xitus
0edfc746d4
script: improve dependency checks on klipper/moonraker update
2021-06-08 17:55:40 +02:00
th33xitus
02ef0578e3
script: reading klipper/moonraker dependencies from their respective install scripts
2021-06-08 17:54:23 +02:00
th33xitus
5d11cd212a
script: update install_moonraker.sh ( #89 )
2021-06-04 14:01:54 +02:00
th33xitus
0815d7778c
feat: add cyberpunk theme to mainsail theme installer
2021-05-25 18:53:07 +02:00
th33xitus
9a3814f480
fix: typo in SYSTEMDDIR variable
2021-05-25 18:49:45 +02:00
th33xitus
a83585fb06
fix: improve pattern matching
2021-05-25 18:39:37 +02:00
th33xitus
dc27fe47e1
Merge branch 'b3tuning-install-mjpg-steamer-fix'
2021-05-25 12:16:27 +02:00
th33xitus
11b3d7a961
fix: replace config dir in webcamd file
2021-05-25 12:15:01 +02:00
th33xitus
9e0cdb0715
fix: remove webcamd file when removing mjpgstreamer
2021-05-25 12:13:36 +02:00
th33xitus
8abda56749
fix: typo in WEBCAM_TXT_SRC
2021-05-25 12:04:13 +02:00
th33xitus
6c8845d7b4
script: show found services in error message
2021-05-23 11:38:32 +02:00
th33xitus
fb0a30814d
fix: validate user input for amount of Klipper instances to install
2021-05-23 10:44:51 +02:00
th33xitus
87f229c62d
Update README.md
2021-05-23 10:08:16 +02:00
th33xitus
5b1da45688
fix: typo in dialog of get_mcu_id
2021-05-23 09:58:34 +02:00
th33xitus
545b978e80
update kiauh_macros.cfg
...
Update macros to reflect recent changes to Klipper
https://github.com/KevinOConnor/klipper/commit/f10247a498f2a73f5b2ffab931ff427951bf5342
2021-05-21 08:55:11 +02:00
th33xitus
44f5609de6
script: remove deprecated moonraker.conf entries
2021-04-20 21:53:13 +02:00
th33xitus
f2a26d9b3d
fix: false positive error message during klipper setup
...
add fix some status.sh functions too
2021-04-15 13:03:36 +02:00
th33xitus
d6596d0a3d
script: change kiauh update notification to a dialog
2021-04-08 18:07:30 +02:00
th33xitus
865fbc07dc
script: updating webui nginx config and moonraker.conf template
2021-04-05 08:59:19 +02:00
th33xitus
40ba33eb19
fix: fix a bug that potentially caused writing a wrong config directory path to the moonraker.service file under special conditions
2021-04-03 19:29:59 +02:00
th33xitus
49b77162b0
fix: typo
2021-03-31 10:06:11 +02:00