Commit Graph

955 Commits

Author SHA1 Message Date
dw-0
f7eb2ddcb3 refactor: improve config creations and patching
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-21 18:02:20 +02:00
dw-0
61156e52ff Merge commit 'e7bbe64b68f7e10610ee0f00db563da09b49c744' into feat/obico-for-v6 2024-06-21 17:40:50 +02:00
dw-0
e7bbe64b68 Squashed 'kiauh/core/submodules/simple_config_parser/' changes from 47c353f..3655330
3655330 refactor: use pop() for removing elements from lists and dicts
99733f1 refactor: add empty options dict to _all_options on section parsing

git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 3655330d2156e13acffc56fac070ab8716444c85
2024-06-21 17:40:50 +02:00
dw-0
dbea2f4def Merge commit '64de883b3f40322c5048745af0a5eef5be570616' into feat/obico-for-v6 2024-06-21 15:52:08 +02:00
dw-0
64de883b3f Squashed 'kiauh/core/submodules/simple_config_parser/' changes from 7aa6586..47c353f
47c353f refactor: improve section regex
dd904bc test: add more test cases

git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 47c353f4e91e6be9605394b174834e1f34c9cfdf
2024-06-21 15:52:08 +02:00
dw-0
81bbbb5630 fix: wrong condition in _load_config
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-20 21:04:57 +02:00
dw-0
d5ec761f5f refactor: use SimpleConfigParser and finalize the code
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-19 21:17:04 +02:00
dw-0
a17171b88e Squashed 'kiauh/core/submodules/simple_config_parser/' changes from 2698f60..7aa6586
7aa6586 fix: sections can have hyphens in their second word
44cedf5 fix(tests): fix whitespaces in expected output

git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 7aa658654eeb08fd53831effbfba4503a61e0eff
2024-06-19 21:14:50 +02:00
dw-0
7889b00999 Merge commit 'a17171b88e982c8343761bf07c5a4373acdbd205' into feat/obico-for-v6 2024-06-19 21:14:50 +02:00
dw-0
494545b0a9 Merge branch 'refs/heads/kiauh-v6-dev' into feat/obico-for-v6 2024-06-19 20:24:13 +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
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
c2dfabb326 Merge commit '08640e5b177595f5e84d4bf9194311282b1a91e2' into kiauh-v6-dev 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
ff777ce7e9 fix: fix logic of asking for linking
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 23:04:42 +02:00
dw-0
5ce925c734 fix: correctly recognize the suffix of the instance
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 23:03:39 +02:00
dw-0
5dd276f56b refactor: add obico to moonraker suffix blacklist
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 21:49:04 +02:00
dw-0
02bb1b34fd feat(obico): add obico extension
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-05-25 21:34:23 +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
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