Johannes Kirschbauer
8aed51c63e
fix(morph/test): temporary workaround for morph test
2025-05-26 16:06:12 +02:00
Johannes Kirschbauer
73d72298cc
chore: add todo comments for template logic in create machine
2025-05-26 16:05:20 +02:00
brianmcgee
d389c4dc5d
Merge pull request 'feat(ui): introduces storybook' ( #3767 ) from feat/storybook into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3767
2025-05-26 13:55:46 +00:00
kenji
91cf2a54bb
Merge pull request 'pkgs/generate-test-vars: Fix build' ( #3769 ) from kenji/clan-core:ke-vars-generator-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3769
2025-05-26 13:48:49 +00:00
a-kenji
322068dad1
pkgs/generate-test-vars: Fix erroneous module import
...
The machines module lives in the `clan_lib` library.
2025-05-26 15:43:41 +02:00
a-kenji
39995eef39
pkgs/generate-test-vars: Add basic module test
...
Add a basic module test that can catch breaking changes in module
usage.
2025-05-26 15:41:48 +02:00
kenji
01eff2c6b9
Merge pull request 'clanServices/wifi/tests: Use undeprecated module registration' ( #3768 ) from kenji/clan-core:ke-wifi-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3768
2025-05-26 12:59:01 +00:00
a-kenji
491dd8134a
clanServices/wifi/tests: Use undeprecated module registration
2025-05-26 14:44:00 +02:00
DavHau
7e4e083014
Merge pull request 'services/wifi: migrate to NetworkManager' ( #3766 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3766
2025-05-26 12:14:08 +00:00
DavHau
f561102ca8
clanModules/wifi: remove module
...
It was replaces by a service module and experimental anyways
2025-05-26 19:09:20 +07:00
DavHau
6d6a0521ff
services/wifi: migrate to NetworkManager
2025-05-26 19:09:20 +07:00
Brian McGee
bf993af56f
feat(ui): introduces storybook
...
- adds the necessary dependencies and configuration for Storybook.
- refactors the `Button` component and adds some stories for it.
2025-05-26 12:56:51 +01:00
brianmcgee
7503784699
Merge pull request 'feat(ui): add a clan context provider' ( #3744 ) from feat/clan-uri-context into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3744
2025-05-26 09:26:07 +00:00
renovate[bot]
1c62c287b7
Update data-mesher digest to f52e3ee
2025-05-26 08:00:31 +00:00
renovate[bot]
a32b3db8e5
Update treefmt-nix digest to 1f3f7b7
2025-05-26 07:40:10 +00:00
clan-bot
04d0087239
Merge pull request 'Update Clan Core for Checks' ( #3762 ) from update-clan-core-for-checks into main
2025-05-26 03:01:06 +00:00
clan-bot
6777baca96
Update pinned clan-core for checks
2025-05-26 02:51:22 +00:00
renovate[bot]
4b44892b47
Update disko digest to a894f28
2025-05-26 02:22:29 +00:00
renovate[bot]
339696da1f
Lock file maintenance
2025-05-26 00:20:21 +00:00
renovate[bot]
1644dc66e7
Lock file maintenance
2025-05-26 00:00:32 +00:00
Luis Hebendanz
4aaa985703
Merge pull request 'clan-cli: Fix too long path for socket issue #3756 ' ( #3757 ) from Qubasa/clan-core:fix_path_to_long into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3757
2025-05-25 20:28:46 +00:00
Qubasa
8a40d46e96
clan-cli: Fix too long path for socket issue #3756
2025-05-25 22:16:51 +02:00
kenji
c7515ab5e9
Merge pull request 'typo' ( #3755 ) from nim65s/clan-core:typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3755
2025-05-25 17:05:30 +00:00
Guilhem Saurel
447a4ecc3e
another typo
2025-05-25 18:02:06 +02:00
Guilhem Saurel
df12613ad8
typo
2025-05-25 17:36:14 +02:00
clan-bot
fe39c37c07
Merge pull request 'Update Clan Core for Checks' ( #3754 ) from update-clan-core-for-checks into main
2025-05-25 03:01:27 +00:00
clan-bot
6b8c0ba57a
Update pinned clan-core for checks
2025-05-25 02:51:32 +00:00
clan-bot
5f10f5712e
Merge pull request 'Update Clan Core for Checks' ( #3753 ) from update-clan-core-for-checks into main
2025-05-24 03:00:43 +00:00
clan-bot
2bf33ea295
Update pinned clan-core for checks
2025-05-24 02:51:23 +00:00
Johannes Kirschbauer
eadc7997cd
Fix(machines/create): check if machine is already created
2025-05-23 22:31:06 +02:00
Johannes Kirschbauer
43be58c433
Fix(machines/create): always add 'deploy.targetHost'
...
Rationale: not passing the value, is equivalent to deleting a value from the inventory store
See: 'delete_by_path'
deploy.targetHost has a default of null (None)
2025-05-23 22:07:09 +02:00
Johannes Kirschbauer
d8a835c7ae
test(persist/inventory): add test for adding deferredModule
...
This feature will allow us to read/write to 'settings' of service
'instances' which are of type deferredModule.
Usually a deferredModule needs to be evaulated, but because we use our
own type, which forces some constraints, we can safely perform read and
write
2025-05-23 21:49:16 +02:00
Johannes Kirschbauer
f746184bf6
fix(persist/delete): delete explizitly
2025-05-23 21:47:12 +02:00
Johannes Kirschbauer
de25fda5b3
fix(tests): use inventory store to interact with the inventory
2025-05-23 21:46:35 +02:00
Johannes Kirschbauer
bb2955d9ad
feat(persist/inventory): add transformation and filtering to support deferredModules
2025-05-23 21:45:52 +02:00
Johannes Kirschbauer
467c1e7f28
fixes(persist/util): fix some expected error messages in tests
2025-05-23 21:43:49 +02:00
Johannes Kirschbauer
4c3dcfe8b5
test(persist/util): add test for adding empty submodules
2025-05-23 21:43:09 +02:00
Johannes Kirschbauer
2170235958
refactor(persist/util): improve calc_patches
2025-05-23 21:42:35 +02:00
Johannes Kirschbauer
60bd7bc3ce
feat(persist/util): init parent_is_dict
...
Check if a parent value is of type dict
This utility is helpfull for cross checking of flattened dicts
2025-05-23 21:41:34 +02:00
Johannes Kirschbauer
634b4f8e46
chore(inventory): find_deleted_paths rename variables
2025-05-23 21:40:02 +02:00
Johannes Kirschbauer
8c9e1538fb
fix(inventory/store): keep empty dicts as leafs
2025-05-23 21:39:23 +02:00
Johannes Kirschbauer
3974bd1580
test(inventory/store): clean up simple test
2025-05-23 21:38:16 +02:00
Johannes Kirschbauer
ed764a2f0f
feat(inventory/store): init path_match utility
2025-05-23 21:36:14 +02:00
lassulus
e5ba0489c4
Merge pull request 'clan_lib flake_test: fix on darwin' ( #3750 ) from clan-lib-darwin-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3750
2025-05-23 10:43:31 +00:00
lassulus
98b0f97d45
clan_lib flake_test: fix on darwin
2025-05-23 12:29:34 +02:00
clan-bot
57cd50ae35
Merge pull request 'Update Clan Core for Checks' ( #3749 ) from update-clan-core-for-checks into main
2025-05-23 03:01:12 +00:00
clan-bot
176b1f94bc
Update pinned clan-core for checks
2025-05-23 02:51:24 +00:00
Luis Hebendanz
d4e5a5ef8b
Merge pull request 'clan-cli: Move Machine object to clan_lib' ( #3747 ) from Qubasa/clan-core:machine_object into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3747
2025-05-22 17:23:46 +00:00
Qubasa
0ca7600439
clan-cli: Move Machine object to clan_lib
2025-05-22 19:11:19 +02:00
Brian McGee
aa1bbd1180
feat(ui): add a clan context provider
...
- introduces a new consolidated store with `localStorage` support
- introduces a top-level `ClanProvider` providing access to `activeClanURI` and `clanURIs`
- redirects to `/welcome` if `activeClanURI` is `undefined`
- consolidates clan meta querying
- centralises the logic for removal of clan uri's which no longer exist
- fixed some miscellaneous missing `await` calls
2025-05-22 13:24:27 +00:00