Michael Hoang
10737f7d94
Merge pull request 'clanServices/wifi: fix autoConnect setting not doing anything' ( #4204 ) from push-msokoouryrwq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4204
2025-07-04 14:33:49 +00:00
Michael Hoang
eb54fdc741
clanServices/wifi: fix autoConnect setting not doing anything
2025-07-05 00:05:48 +10:00
pinpox
4aa90f009f
Merge pull request 'Re-introduce state-version option' ( #4179 ) from state-version-option-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4179
2025-07-04 14:02:05 +00:00
pinpox
ae9d219dea
Merge branch 'main' into state-version-option-again
2025-07-04 11:56:15 +00:00
hsjobeki
899051a570
Merge pull request 'clan_lib/openapi: add openapi rendering' ( #4200 ) from lib-openapi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4200
2025-07-04 11:54:13 +00:00
hsjobeki
a44740d902
Merge pull request 'Clan_lib: add filtering by tag to list API' ( #4197 ) from cli-fixup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4197
2025-07-04 11:53:43 +00:00
Johannes Kirschbauer
ba0397242f
api: rename script to openapi.py
2025-07-04 13:40:59 +02:00
Luis Hebendanz
79560ac202
Merge pull request 'clan-app: Implement dynamic groups and array based filtering of logs and groups' ( #4190 ) from Qubasa/clan-core:add_clan_group into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4190
2025-07-04 11:06:50 +00:00
Qubasa
52aaad272f
clan-app: Implement dynamic log groups into javascript callApi
...
nix fmt
2025-07-04 17:49:00 +07:00
Johannes Kirschbauer
62c1db9769
Docs: init redoc internal rest inspired docs
2025-07-04 12:45:39 +02:00
Johannes Kirschbauer
b41029ea48
clan_lib/openapi: add openapi rendering
2025-07-04 12:09:16 +02:00
pinpox
a0a9cef2a6
Add state-version nixos option
...
This reverts commit 695574988e .
2025-07-04 11:54:12 +02:00
brianmcgee
14b428216d
Merge pull request 'ui/form-components' ( #4118 ) from ui/form-components into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4118
2025-07-04 08:30:22 +00:00
Johannes Kirschbauer
91df5c258e
lib/convert_inventory_to_machines: add classmethod for common conversion of Machine and InventoryMachine
2025-07-04 10:18:14 +02:00
Johannes Kirschbauer
fcb38820ec
lib/get_host: improve abstraction, turn missconfiguration into a warning
...
Motivation: A warning should encourage consistent usage of inventory.machines setting targetHost inside the machine should be considered a custom override
Changing the warning strings to avoid the term 'nix'/'json' both inventory and nixos machines are nix features
2025-07-04 10:02:06 +02:00
Johannes Kirschbauer
6d85cc0ff2
Clan_lib: add filtering by tag to list API
2025-07-04 09:48:21 +02:00
Johannes Kirschbauer
10fbae0c15
cli: move some references to duplicate list machines
2025-07-04 09:32:43 +02:00
Qubasa
aef1edf8e3
clan_lib: Move load_in_all_api_functions to clan_lib
2025-07-04 14:22:40 +07:00
Qubasa
18735a150f
clan_lib: Heavily simplified log_manager and test suite to concentrate on actually used features
2025-07-04 14:05:31 +07:00
Qubasa
c354a87765
clan_lib: Add better docstrings to log_manager
2025-07-04 13:35:34 +07:00
Qubasa
70d57cb267
clan_lib: expose log_manager with API.register properly
2025-07-04 13:19:09 +07:00
Qubasa
24b8cb799a
clan-cli: Print function name to raise for unsupported types by API.register
2025-07-04 13:17:01 +07:00
renovate[bot]
68e61d66d7
chore(deps): update sops-nix digest to 3633fc4
2025-07-04 05:30:12 +00:00
DavHau
2e191d7db8
Merge pull request 'reverting 4c2bb0791d47c91130541333b296b2e8a39c4d08' ( #4194 ) from davhau/dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4194
2025-07-04 03:51:22 +00:00
DavHau
969b7606a6
reverting 4c2bb0791d
2025-07-04 10:35:30 +07:00
Mic92
631d17b6e9
Merge pull request 'actually import state-version' ( #4193 ) from fix-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4193
2025-07-03 18:32:15 +00:00
Jörg Thalheim
ba5b81abf0
actually import state-version
2025-07-03 20:19:19 +02:00
lassulus
1bcd2be478
Merge pull request 'refactor: remove _serialized field and implement efficient vars selection' ( #4187 ) from remove_serialized into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4187
2025-07-03 17:18:27 +00:00
lassulus
a6409f921b
refactor: remove _serialized field and implement efficient vars selection
...
- Remove _serialized field from vars interface to prevent serialization
errors with throwing passBackend field
- Implement direct selection of generator fields using multi-select syntax
- Refactor vars_generators() to use new Generator.from_flake() method that
selects only safe fields (avoiding non-serializable values)
- Remove unused legacy methods: Generator.from_json(), Var.from_json(),
Prompt.from_json()
- Update precaching to match new selection approach
This fixes the serialization errors that were preventing vars from working
with the new password-store implementation by avoiding the problematic
_serialized field entirely.
2025-07-03 18:53:36 +02:00
lassulus
8f9d88a104
flake: prevent outPath in multiselect to avoid serialization issues
...
When using multiselect with outPath like {outPath,?meta}, nix evaluation
collapses the attrset to just the outPath string, breaking further selection.
Add validation during selector parsing to catch this and provide a clear error.
2025-07-03 18:53:36 +02:00
Brian McGee
9003204b54
fix(ui): disabled storybook derivation
...
Something about passing orientation in any of the Form stories is causing the browser to crash
`npm run test-storybook-static` works fine in the devshell.
Disabling for now as it's slowing down development.
2025-07-03 17:50:42 +01:00
Brian McGee
7939cfc9a9
feat(ui): flatten the Field pattern and introduce Orienter component
2025-07-03 17:50:41 +01:00
Brian McGee
7232892feb
feat(ui): simplify timeout speedup for button stories
2025-07-03 17:50:40 +01:00
Brian McGee
c3ba72e82c
feat(ui): Combobox component and style tooltip for label
2025-07-03 17:50:40 +01:00
Brian McGee
17b4f95055
feat(ui): simplify form components
...
Better pass through to the underlying Kobalte API without re-defining types.
2025-07-03 17:50:39 +01:00
Brian McGee
3c72ad1c92
fix(ui): hover and inverted colors for checkbox
2025-07-03 17:50:39 +01:00
Brian McGee
5b46136ca8
feat(ui): add fieldset component
2025-07-03 17:50:38 +01:00
Brian McGee
04c59c76ee
feat(ui): add form field with text, textarea and checkbox support
2025-07-03 17:50:38 +01:00
hsjobeki
fbb93c8412
Merge pull request 'docs: update vpn setup instructions' ( #4192 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4192
2025-07-03 14:32:13 +00:00
Johannes Kirschbauer
e0993559db
docs: add zerotier debugging commands
2025-07-03 16:25:10 +02:00
Qubasa
76bba13a7f
clan-app: Implement dynamic groups and array based filtering of logs and groups
2025-07-03 17:49:34 +07:00
hsjobeki
12c2c4ee89
Merge pull request 'inventory: fix missing default for instances.*.module' ( #4189 ) from fix-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4189
2025-07-03 10:13:57 +00:00
Johannes Kirschbauer
f8d36634ee
inventory: fix missing default for instances.*.module
2025-07-03 12:06:29 +02:00
Johannes Kirschbauer
b27ed51284
docs: update vpn setup instructions
2025-07-03 12:04:56 +02:00
Johannes Kirschbauer
a81701b59a
docs: fix wrong roles assignment syntax
2025-07-03 11:42:26 +02:00
lassulus
609db2f00c
Merge pull request 'refactor: remove deployment.json and use direct selectors' ( #4142 ) from lassulus/remove-deployment-json into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4142
2025-07-02 19:13:39 +00:00
lassulus
40065c7a00
refactor: remove deployment.json and use direct selectors
...
- Remove deployment.json file generation from outputs.nix
- Add throw for deprecated deployment.file usage with upgrade instructions
- Remove vars data from deployment.data
- Update Machine class to use direct select() calls instead of deployment property
- Update all deployment property accesses to use direct selectors
- Add precaching for frequently accessed values in update.py:
- Module paths for facts and vars
- Deployment settings (requireExplicitUpdate, nixosMobileWorkaround)
- Services and generators data
- Secret upload locations
- This removes unnecessary JSON serialization and makes the code more composable
2025-07-02 20:56:23 +02:00
hsjobeki
2e4cbdc7c8
Merge pull request 'machines/update: queue update only for machines_to_update' ( #4186 ) from cli-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4186
2025-07-02 17:16:12 +00:00
Johannes Kirschbauer
9aa7be3aba
machines/update: queue update only for machines_to_update
2025-07-02 19:05:37 +02:00
hsjobeki
b2e8b8bf59
Merge pull request 'clan.deployment: unify deprecated options' ( #4184 ) from cli-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4184
2025-07-02 16:48:19 +00:00