Commit Graph

943 Commits

Author SHA1 Message Date
dw-0
2561740c7f Merge 5eff560627 into a374ac8fac 2024-06-19 20:21:23 +02:00
dw-0
5eff560627 Merge remote-tracking branch 'origin/kiauh-v6-dev' into kiauh-v6-dev 2024-06-19 20:21:03 +02:00
Staubgeborener
93ba579232 refactor(klipper_backup): replace is_service_installed with service_instance_exists (#481)
* use service_instance_exists function

* change header in __init__.py

* remove is_service_installed function

* small fix
2024-06-19 20:17:52 +02:00
dw-0
5c090e88c3 refactor(settings): use SimpleConfigParser for KiauhSettings
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-19 20:12:39 +02:00
dw-0
c2dfabb326 Merge commit '08640e5b177595f5e84d4bf9194311282b1a91e2' into kiauh-v6-dev 2024-06-19 20:06:45 +02:00
dw-0
08640e5b17 Squashed 'kiauh/core/submodules/simple_config_parser/' changes from 4d60d30..2698f60
2698f60 refactor: reset state on read method call

git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 2698f600e4bef3197d696a798f2c3436dabe836a
2024-06-19 20:06:45 +02:00
dw-0
802eaccf57 refactor(scp): replace old config parser with new one, remove ConfigManager
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-16 21:46:21 +02:00
dw-0
c6cc3fc0f6 Squashed 'kiauh/core/submodules/simple_config_parser/' changes from 188dd1f..4d60d30
4d60d30 refactor: in multiline options we do not replace the option name
0a1fba5 refactor: set default indent to 4 spaces
ab522bf refactor: the value of an option can be a list of strings

git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 4d60d30a75e7151be7b38b7cdbb2c133711b0091
2024-06-16 18:57:15 +02:00
dw-0
7b9f9b1a67 Merge commit 'c6cc3fc0f6e6400714c67d316f2abf08527ad24e' into kiauh-v6-dev 2024-06-16 18:57:15 +02:00
dw-0
fbab9a769a feat(scp): add new config parser
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-16 18:17:05 +02:00
dw-0
60f8aef69b Squashed 'kiauh/core/submodules/simple_config_parser/' content from commit 188dd1f
git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 188dd1ffd80bf72a2dc6075147ddc9339b059c4b
2024-06-16 18:14:55 +02:00
dw-0
f73ee6e6a0 Merge commit '60f8aef69ba552ce8d31066d2e09829d1cca9df2' as 'kiauh/core/submodules/simple_config_parser' 2024-06-16 18:14:55 +02:00
dw-0
d414be609a feat: add utils function to check for a specific service instance
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 21:32:59 +02:00
dw-0
df45c5955e refactor: add regex pattern as parameter to get_string_input for validating input
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 21:32:15 +02:00
dw-0
70ad635e3d feat: add util function to check if moonraker is installed
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 21:31:26 +02:00
dw-0
6570400f9e fix(moonraker): correctly loading dependencies from system-dependencies.json
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 19:45:05 +02:00
dw-0
aafcba9f40 refactor: replace usage of instance manager method with cmd_sysctl_manage function
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 18:42:20 +02:00
dw-0
91162a7070 refactor: remove redundant printing of status messages
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 18:37:42 +02:00
dw-0
74c70189af feat: implement option to center content in dialogs
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 17:09:41 +02:00
dw-0
017f1d4597 refactor: make format_dialog_content method public, use it in the extensions menu
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-20 19:27:35 +02:00
dw-0
0dfe7672b8 feat(extension): implement PrettyGCode for Klipper extension
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-20 12:15:33 +02:00
dw-0
b3df3e7b5c refactor: improve nginx config generation
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-20 12:14:56 +02:00
dw-0
01afe1fe77 chore: ruff organize imports
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-20 10:52:18 +02:00
dw-0
ac0478b062 refactor: more robust type hinting
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-19 18:41:29 +02:00
dw-0
6eb06772b4 fix(utils): fix condition
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-19 18:39:31 +02:00
dw-0
d6317ad439 chore: cleanup moonraker telegram bot
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-19 16:05:31 +02:00
dw-0
e28869be1a fix(mobileraker): remove copy paste error
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-18 22:39:17 +02:00
dw-0
51993e367d chore: cleanup settings_menu
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 23:07:54 +02:00
dw-0
a03e943ebf chore: check import sorting when linting
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 22:52:25 +02:00
dw-0
fc8fedc9f6 refactor(Klipper): change subprocess imports
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 22:49:26 +02:00
dw-0
7f79f68209 refactor(Klipper): use warn dialog
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 22:29:53 +02:00
dw-0
a44508ead5 refactor: update dependency management
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 22:23:51 +02:00
dw-0
9342c94096 chore: cleanup and update toml, create editorconfig
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 20:18:09 +02:00
dw-0
ea78ba25e6 fix(crowsnest): fix multi instance steps
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 19:45:42 +02:00
dw-0
63cae491f3 refactor: update .gitignore
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-11 12:27:54 +02:00
Patrick Gehrsitz
05b5664062 fix: fix crowsnest installer (#470)
* fix: fix crowsnest installer

Signed-off-by: mryel00 <mryel00.github@gmail.com>

* chore: remove unnecessary code

This check is made inside the called tool too. Therefore removing it here.

Signed-off-by: mryel00 <mryel00.github@gmail.com>

---------

Signed-off-by: mryel00 <mryel00.github@gmail.com>
2024-05-10 21:28:15 +02:00
Justin Otherguy
a374ac8fac fix: add unzip to dependencies for Mainsail and Fluidd 2024-05-09 20:56:16 +02:00
Staubgeborener
a4b149c11a chore: remove test section and add new klipperbackup url in header (#467)
The old test branch will be deleted anyway
2024-05-08 18:44:26 +02:00
dw-0
3b2bc05746 refactor(crowsnest): allow backup before update for crowsnest
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-05 19:23:09 +02:00
dw-0
72663ef71c feat: implement moonraker telegram bot extension
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-05 19:16:03 +02:00
dw-0
8730fc395e refactor: be able to specify last character after printing a dialog
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-05 19:15:25 +02:00
dw-0
3885405366 feat: implement conversion of camel case to kebab case
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-05 16:33:20 +02:00
dw-0
e986dfbf4c fix: fix typo in systemctl command
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-05 14:15:11 +02:00
dw-0
79b4f3eefe refactor(logger): double newline as content allows for a full blank line
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-04 20:41:39 +02:00
dw-0
bf0385e3c9 fix: add missing mobileraker status getter
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-04 00:28:12 +02:00
dw-0
750bf1caaf refactor: rework status fetching to make it more readable
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-04 00:20:53 +02:00
dw-0
27455dfc64 feat: add mobileraker support
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-03 23:21:23 +02:00
dw-0
940f7cfbf1 refactor(KlipperScreen): improve error message
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-03 22:45:44 +02:00
dw-0
e5d0e97b82 refactor(KlipperScreen): reload manager config and reset failed
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-03 22:21:38 +02:00
dw-0
799892500a refactor(sys_utils): rename systemctl method and add new one
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-03 22:20:00 +02:00