Yifei Ding
45050770de
Merge branch 'th33xitus:master' into whiptail
2021-11-13 13:06:49 -08:00
Yifei Ding
9915f00ceb
script: whiptail Octoprint dialog
2021-11-13 12:56:26 -08:00
Yifei Ding
68bedd7218
script: separate moonraker removal with whiptail
2021-11-13 12:29:34 -08:00
Yifei Ding
17ca9e50a0
script: whiptail backup menu
2021-11-13 11:29:38 -08:00
Yifei Ding
a5ae3fb891
script: whiptail remove menu
2021-11-13 01:17:44 -08:00
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
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
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
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