Commit Graph

43 Commits

Author SHA1 Message Date
DaanSelen 9d49032857 fix: when not specifying any, grab all 2025-11-05 15:53:38 +01:00
Daan Selen 80ad7f865a refac: remove seemingly unneeded function 2025-09-25 15:40:58 +02:00
Daan Selen 9d2999476d refac: added some type checking and fixed a duplicate bug (apparently) 2025-09-25 09:49:19 +02:00
Daan Selen f34d1dc7ae refac(meshbook): rework the targeting module to now be case insensitive 2025-09-10 16:26:52 +02:00
DaanSelen a736a74af6 Added more robust code checking (#15)
Co-authored-by: Daan Selen <dselen@systemec.nl>
2025-08-07 13:56:38 +02:00
DaanSelen 733136c1ab Version 1.3.1 (#14)
* Looks to be manual overriding, testing now.

* Working

* Added a nice way of handling it intern

---------

Co-authored-by: Daan Selen <dselen@systemec.nl>
2025-08-07 11:14:36 +02:00
daanselen 615a438003 Changed compatibility 2025-07-21 22:42:16 +02:00
daanselen e729c72c6a added support for totp 2025-07-11 16:24:21 +02:00
daanselen b20d56170e bumped libmeshctrl 2025-06-30 20:51:11 +02:00
daanselen 764ed1ef10 Minor indentation change 2025-04-30 16:58:48 +02:00
dselen 58598d8d17 Rewrote Meshbook with submodules with classes (#12)
* Massive update, bringing a lot of QoL. RC

* 0.5 seconds delay between tasks.
    insignificant for humans.
    Like a thousand years for computers to get ready.

* Added new features such as ignore_categorisation.

* Version 1.3 RC

* Added defaults.
2025-04-25 16:03:07 +02:00
daanselen ac4dd8994c Removed more prints 2025-04-07 16:55:58 +02:00
daanselen 7a60cd7280 hotfix 2025-04-07 16:52:19 +02:00
daanselen 1d4b89a2ed Targeting tags seems to work well. Needing doc update. 2025-03-27 11:19:04 +01:00
daanselen b2bf899d42 Renamed config due to autocorrect. 2025-03-27 10:15:21 +01:00
daanselen 0a211da4d6 Slight modification. 2025-03-27 10:11:33 +01:00
daanselen 1450416d62 Test new filtering logic. 2025-03-27 10:01:49 +01:00
daanselen b0f34e9ea0 add target_tag in function parameters. 2025-03-26 16:58:12 +01:00
daanselen 47eef4cfb0 Added 'all' option to the groups option. 2025-03-04 11:57:41 +01:00
daanselen ba74e038f7 Renamed meshcentral.conf -> meshbook.conf 2025-03-03 14:01:41 +01:00
daanselen f5453353fe +el 2025-02-28 14:52:16 +01:00
daanselen 898098105c Small logic change. Added extra check and error handling. 2025-02-28 14:19:40 +01:00
daanselen 6f945d30d7 Hotfix in powershell checking code. 2025-02-27 21:58:09 +01:00
daanselen a722c024f5 Expansion of previous commit. 2025-02-27 21:47:55 +01:00
daanselen 9caa52f59e pb -> mb reference. (M)esh(B)ook 2025-02-27 14:52:56 +01:00
daanselen d62d80fb16 Changed hostname value. 2025-02-27 14:52:25 +01:00
daanselen a4335ce8ac Expanded logic in replace_placeholder() function so this is easier to work with. 2025-02-25 10:39:07 +01:00
daanselen 193cb546f4 Added slight change to fix some Windows JSON formatting. 2025-02-14 13:30:44 +01:00
daanselen e69ad445e2 Fix Windows terminal outputs. 2025-02-14 13:03:35 +01:00
daanselen 7f0159a8fa Tidying up everything and adding slight QoL changes. 2025-02-13 15:21:18 +01:00
daanselen 4f75969ed8 Added multiple group and device targeting with 'groups' and 'devices'. Also more error handling. 2025-02-13 14:22:03 +01:00
daanselen b7b9fdaea7 Added minor changes (documentation) and indentation for readability.
Readme correct referencing to new docs directory its file.
    couple comments and indentations to improve readability.
    Added a dummy Ubuntu 22 and MacOS categories as an example.
2025-02-13 12:29:06 +01:00
daanselen ab1105b058 Added OS filtering doc and supported (1 level deep) nested definition. 2025-02-13 12:20:03 +01:00
daanselen 9494aa14c9 Changed logic in device filtering and made code a little more readable with newlines. 2025-02-13 11:44:53 +01:00
daanselen 6a7ec78fe9 Updated OS categorisation and bumped libmeshctrl to 1.1.1 2025-02-12 16:58:20 +01:00
daanselen 74d1e8f3bb Removed print line for aesthetic 2025-02-03 15:10:22 +01:00
daanselen 7dd32902c4 Added basic operating system filtering. 2025-01-31 23:29:02 +01:00
daanselen 0cd653dfe3 Added extra field inside the response JSON. task_name and data.
Made grace-period countdown more verbose.
2025-01-17 09:52:07 +01:00
daanselen ba970f585a Increased timeout for certain actions like updating etc. 2025-01-16 16:12:04 +01:00
daanselen 876ea0738e minimal change. 2025-01-10 12:21:34 +01:00
daanselen b5aa645850 Added an optional grace-period to the execution of the script.
This is done to prevent accidentaly wrong launches. If its not needed then disable it through `--nograce` (no grace (period))
2025-01-10 10:56:03 +01:00
daanselen 5492bd7e2f Slight modifications and gave round response a better name: Task {Number}. 2025-01-09 10:08:47 +01:00
daanselen 27473583e4 Moved python package and requirements file up a directory. 2025-01-09 10:01:28 +01:00