Commit Graph

407 Commits

Author SHA1 Message Date
Yifei Ding
d7ab5dc017 script: use whiptail for upload log 2021-11-13 01:01:44 -08:00
Yifei Ding
a60223306c scripts: rename update_dialog 2021-11-13 01:01:11 -08:00
Yifei Ding
44966cba2d fix: upload log should not rerun the main_menu 2021-11-13 00:48:25 -08:00
Yifei Ding
f42ce0f0c5 script: rename general_ui and separate dialog 2021-11-13 00:46:17 -08:00
Yifei Ding
e7873fd057 script: add service menu 2021-11-13 00:42:53 -08:00
Yifei Ding
00fa372e0c script: multi-layer install menu 2021-11-13 00:42:23 -08:00
Yifei Ding
4613a85ccf script: remove unsupported color of status 2021-11-12 16:18:03 -08:00
Yifei Ding
ecf4041851 fix: remove redundant global for moonraker 2021-11-12 16:14:27 -08:00
Yifei Ding
77a768026b refactor: SYSTEMDDIR -> SYSTEMD_DIR 2021-11-12 15:27:23 -08:00
Yifei Ding
de23b41759 Revert "script: remove unsupported color of statuses"
This reverts commit b1bfe7089a.
2021-11-12 15:25:13 -08:00
Yifei Ding
600036059f script: remove redundant systemd constant 2021-11-12 15:20:39 -08:00
Yifei Ding
b1bfe7089a script: remove unsupported color of statuses 2021-11-12 15:03:05 -08:00
Yifei Ding
4121461303 scripts: whiptail migration menu 2021-11-12 14:58:19 -08:00
Yifei Ding
90208f6480 script: Move functions
hove print_kiauh_version and kiauh_update_dialog to general_ui and functions

main_menu performance improvements
2021-11-12 14:44:05 -08:00
Yifei Ding
980f6d5ddd script: fix main_menu confirm result and refactor 2021-11-12 14:23:47 -08:00
Yifei Ding
fa1fe33fe1 script: Fix whiptail cancel behavior
set -e causes the script to exit when whiptail exit with 1 (meaning user picked cancel)
2021-11-10 18:19:15 -08:00
Yifei Ding
0b737e46b4 script: use whiptail for kiauh_update_dialogue 2021-11-09 12:43:59 -08:00
Yifei Ding
ab81cf500d script: adjust order 2021-11-09 12:42:42 -08:00
Yifei Ding
e231c6b2d6 scripts: switch print_msg and main_menu to whiptail 2021-11-09 11:41:56 -08:00
Yifei Ding
415d057efe script: use whiptail for check_euid 2021-11-08 17:33:55 -08:00
Yifei Ding
c7ce5ad36c script: move constants to dedicated files 2021-11-08 17:05:14 -08: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
aa4bdfc7b2 fix: invalid command bug in rollback UI (fixes #131) 2021-10-29 14:04:39 +02:00
th33xitus
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
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
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
Evgenii Shavrin
bb1f2eadca feat: add moonraker-telegram-bot by nlef (#117)
Adds installation and removing feature for https://github.com/nlef/moonraker-telegram-bot
2021-09-28 16:52:59 +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
65bf3d5251 fix: fix of previous commit and small refactor 2021-09-12 20:46:39 +02:00
AKA "Thom Wiley
68327262fc chore: change submenu "quit" to "back"
Changing the "Quit" option to "Back" as it is more intuitive, causes less confusion and is in fact the more fitting description of what is happening.
2021-09-12 20:41:27 +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
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
d3726733e5 fix: small flash routine rework + user input validation 2021-07-04 20:09:25 +02:00
th33xitus
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