Brian McGee
7f436d1a8b
feat(ui): update border and background colors
...
To match latest design.
2025-05-30 13:46:57 +01:00
Brian McGee
8e155dd164
feat(ui): update primary colors
...
To match latest design.
2025-05-30 13:46:56 +01:00
Brian McGee
bbe14dbb3b
chore(ui): setup base for Typography V2
...
Also removes Button stories for V1 component.
2025-05-30 13:46:55 +01:00
clan-bot
c375a39137
Merge pull request 'Update Clan Core for Checks' ( #3781 ) from update-clan-core-for-checks into main
2025-05-30 10:41:20 +00:00
Mic92
5a8f8fc0bf
Merge pull request 'container-test: better error message for nsenter' ( #3794 ) from container-test-improv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3794
2025-05-30 10:35:02 +00:00
clan-bot
a3cb5f5159
Update pinned clan-core for checks
2025-05-30 10:29:19 +00:00
Jörg Thalheim
1a1898b5f1
container-test: better error message for nsenter
2025-05-30 12:27:51 +02:00
brianmcgee
9341c14997
Merge pull request 'feat(ui): enable storybook snapshot tests' ( #3789 ) from feat/storybook-snapshot-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3789
2025-05-30 10:22:10 +00:00
Mic92
5ef82a1367
Merge pull request 'Revert "services/wifi: rename ssid -> network-name"' ( #3796 ) from revert-wifi-change into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3796
2025-05-30 10:15:45 +00:00
Jörg Thalheim
2154af7f95
Revert "services/wifi: rename ssid -> network-name"
...
This reverts commit e45e994b83 .
2025-05-30 12:09:46 +02:00
Jörg Thalheim
681a67f531
Revert "serivces/wifi: make generator names generic"
...
This reverts commit 2a347fb406 .
2025-05-30 12:09:30 +02:00
Brian McGee
543cfd4fc6
fix(ui): disable storybook devshell and package on Darwin
2025-05-30 11:06:14 +01:00
Brian McGee
807b9fd61f
feat(ui): enable storybook snapshot tests
...
- adds a process-compose namespace for running `storybook` and `luakit` together to replicate the `webkit`-based rendering that happens inside of `webview`
- adds some helper scripts for running storybook tests and updating snapshots, with documentation in the README.
- adds a `clan-app-ui-storybook` package which builds and tests the storybook, checking for rendering changes
Currently, we’re only doing markup-based snapshot tests. We’re also using headless chromium for the tests by default as I couldn't get webkit to work in the nix build.
As we’re only markup-based for the time being, this should be ok. But eventually I'd like to get it working with webkit.
2025-05-30 11:06:14 +01:00
Mic92
d1ad8c6c87
Merge pull request 'container-test: disable UsePam for ssh' ( #3795 ) from use-pam into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3795
2025-05-30 10:05:08 +00:00
Jörg Thalheim
795ace408a
container-test: disable UsePam for ssh
...
doesn't work without setuid, which we currently do not support.
2025-05-30 11:53:20 +02:00
Mic92
aba30e156a
Merge pull request 'vars: add restartUnits option' ( #3784 ) from vars-userborn into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3784
2025-05-30 09:45:17 +00:00
hsjobeki
672ef7c4d2
Merge pull request 'Tests(inventoryStore): add tests for intersecting nix/json lists' ( #3783 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3783
2025-05-30 08:35:13 +00:00
Johannes Kirschbauer
c42d981285
Test(InventoryPersistence): improve error message
2025-05-30 10:23:57 +02:00
DavHau
e45e994b83
services/wifi: rename ssid -> network-name
2025-05-29 20:21:09 +07:00
DavHau
2a347fb406
serivces/wifi: make generator names generic
...
rename from iwd.<name> to wifi.<name>
2025-05-29 20:06:19 +07:00
Mic92
610253d45e
Merge pull request 'vars upload: also add become_root' ( #3788 ) from sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3788
2025-05-28 18:45:34 +00:00
Jörg Thalheim
229401e6ef
vars upload: also add become_root
2025-05-28 20:35:45 +02:00
Mic92
0d7c7a8856
Merge pull request 'add sudo_askpass_proxy' ( #3642 ) from sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3642
2025-05-28 18:32:16 +00:00
Jörg Thalheim
e733619139
test_upload_single_file: add missing ssh_control_master
2025-05-28 20:25:53 +02:00
Jörg Thalheim
14324a059b
move test_ssh_remote to remote_test
2025-05-28 20:13:48 +02:00
Jörg Thalheim
7314f6b2ff
vars: add restartUnits option
...
For secrets not part of the nix store there is no other way in NixOS to
restart a service after the secret is updated. One example is changing
password in userborn, which doesn't run as a activation script but as a
systemd service.
2025-05-28 16:44:19 +02:00
Jörg Thalheim
ac31b20522
re-store controllmaster in various places where it got removed.
2025-05-28 16:21:30 +02:00
Jörg Thalheim
75dd389c2c
no longer require controlmaster for interactive ssh
...
we only run one ssh command, so control master is not needed
2025-05-28 16:21:30 +02:00
Jörg Thalheim
31274212a8
ssh/remote: Improve error message if _control_path_dir is not set
2025-05-28 16:21:30 +02:00
Jörg Thalheim
e0ebea7eb8
update/upload_sources remove ssh_control_master again from upload_sources
2025-05-28 16:21:30 +02:00
Jörg Thalheim
f06313d5b2
add sudo_askpass_proxy
2025-05-28 16:21:30 +02:00
Jörg Thalheim
5a560ff219
ssh/remote: make sure we also cleanup clan-ssh in the error case
2025-05-28 16:21:30 +02:00
Jörg Thalheim
91406b2016
remove unused method
2025-05-28 16:21:30 +02:00
Johannes Kirschbauer
1582402634
Tests(inventoryStore): add tests for intersecting nix/json lists
2025-05-28 15:39:52 +02:00
hsjobeki
2efb4994a6
Merge pull request 'Tests(inventoryStore): add fixture, make extensible' ( #3782 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3782
2025-05-28 13:12:19 +00:00
Johannes Kirschbauer
dc94749647
Tests(inventoryStore): add fixture, make extensible
2025-05-28 15:06:17 +02:00
hsjobeki
53244303f6
Merge pull request 'chore(nix_models): use exported clan models' ( #3773 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3773
2025-05-28 12:25:07 +00:00
Johannes Kirschbauer
2da7ebaa21
Fix(machines/create): use 'InventorySnapshot' as init argument
...
Inventory as a model is generally not json serializable
InventorySnapshot is the return value of InventoryStore.{read, write}
And should be used in API calls, because the other fields might not be compatible in general
2025-05-28 14:09:45 +02:00
Johannes Kirschbauer
e57c8f6f9a
feat(InventoryStore): return a restricted view of the inventory
2025-05-28 14:04:34 +02:00
Johannes Kirschbauer
467aa546c4
Chore: update clan nix_models
2025-05-28 14:03:23 +02:00
Johannes Kirschbauer
19dbc0ff73
chore(nix_models): migrate import to use exported clan models
2025-05-28 14:03:22 +02:00
Johannes Kirschbauer
8eb2ad6c6d
feat(nix_models): replace inventory model by holistic clan model
2025-05-28 14:02:43 +02:00
Johannes Kirschbauer
111983b508
feat(classgen): make type generation more predictable across
2025-05-28 14:02:43 +02:00
Johannes Kirschbauer
e2e4344d83
fix(clan/interface): minor fixes
2025-05-28 14:02:43 +02:00
hsjobeki
51c2f72174
Merge pull request 'Tests(clan_lib): enable clan_lib pytests not marked with_core' ( #3779 ) from inventory-0 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3779
2025-05-28 09:45:56 +00:00
Johannes Kirschbauer
5271b5c599
Fix(inventoryStore): use 'nix_eval' wrapper to set the store correct
2025-05-28 11:34:16 +02:00
Johannes Kirschbauer
f6c869dbae
Fix(clan_cli): filter tests files from source
2025-05-28 11:34:12 +02:00
Johannes Kirschbauer
673b6bb31f
Fix(tests): fix failing pytests
2025-05-28 11:01:54 +02:00
Johannes Kirschbauer
6f0a4549a5
Tests(inventoryStore): fixup tests to run in ci
2025-05-28 10:42:47 +02:00
Johannes Kirschbauer
c6c43ba737
Feat(inventoryStore): add possibility to turn off output filtering
2025-05-28 10:42:47 +02:00