pinpox
4e17d9ec0f
Revert "vars: retrieve generators for multiple machines"
...
This reverts commit 501d020562 .
2025-09-01 15:00:21 +02:00
clan-bot
87ea942399
Merge pull request 'Update data-mesher' ( #5044 ) from update-data-mesher into main
2025-09-01 07:49:03 +00:00
clan-bot
39a032a285
Update data-mesher
2025-09-01 05:00:37 +00:00
clan-bot
a06940e981
Merge pull request 'Update treefmt-nix in devFlake' ( #5043 ) from update-devFlake-treefmt-nix into main
2025-08-31 20:13:10 +00:00
clan-bot
4aebfadc8a
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5042 ) from update-devFlake-nixpkgs-dev into main
2025-08-31 20:11:27 +00:00
clan-bot
f45f26994e
Merge pull request 'Update treefmt-nix' ( #5041 ) from update-treefmt-nix into main
2025-08-31 20:11:10 +00:00
clan-bot
c777a1a2b9
Update treefmt-nix in devFlake
2025-08-31 20:01:38 +00:00
clan-bot
36fe7822f7
Update nixpkgs-dev in devFlake
2025-08-31 20:01:33 +00:00
clan-bot
0ccf3310f9
Update treefmt-nix
2025-08-31 20:01:10 +00:00
clan-bot
a8d6552caa
Merge pull request 'Update nixos-facter-modules' ( #5032 ) from update-nixos-facter-modules into main
2025-08-31 19:39:40 +00:00
hsjobeki
a131448dcf
Merge pull request 'ui/scene: init move machine' ( #5031 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5031
2025-08-31 15:22:32 +00:00
hsjobeki
14a52dbc2e
Merge pull request 'api/modules: improve logic for builtin modules' ( #5040 ) from fix-modules-spagetti-other into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5040
2025-08-31 15:12:31 +00:00
Johannes Kirschbauer
565391bd8c
ui/modules: deduplicate information
2025-08-31 17:09:36 +02:00
Johannes Kirschbauer
9bffa2a774
ui/clanContext: simplify
...
Try to avoid classes for use cases like this
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
e42a07423e
ui/machineLabels: use troika for label rendering
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
c5178ac16a
ui/fonts: use ttf font for 3d texture rendering
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
33791e06cd
ui: cleanup unused code
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
c7e3bf624e
ui/scene: replace 2d labels
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
ba027c2239
ui/scene: init move machine
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
25fdabee29
ui/menu: add simple context menu
2025-08-31 17:04:03 +02:00
clan-bot
de69c63ee3
Update nixos-facter-modules
2025-08-31 15:00:41 +00:00
Johannes Kirschbauer
b9573636d8
ui/modules: simplify ui logic
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
3862ad2a06
api/modules: add foreign key to instances
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
c447aec9d3
api/modules: improve logic for builtin modules
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
5137d19b0f
nix_modules: fix and update None types
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
453f2649d3
clanInternals: expose builtin modules
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
58cfcf3d25
api/modules: delete instances.py duplicate
2025-08-31 15:58:39 +02:00
clan-bot
c260a97cc1
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5033 ) from update-devFlake-nixpkgs-dev into main
2025-08-31 13:49:44 +00:00
clan-bot
3eb64870b0
Update nixpkgs-dev in devFlake
2025-08-31 13:44:23 +00:00
Mic92
7412b958c6
Merge pull request 'disable state-version in right place' ( #5038 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5038
2025-08-31 13:43:07 +00:00
Jörg Thalheim
a0c27194a6
disable state-version in right place
2025-08-31 15:37:25 +02:00
Mic92
3437af29cb
Merge pull request 'vars: fix var name in error message' ( #5037 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5037
2025-08-31 13:33:01 +00:00
Jörg Thalheim
0b1c12d2e5
flash-installer: disable state-version
...
We cannot have vars in here because it breaks:
```
clan flash write --flake https://git.clan.lol/clan/clan-core/archive/main.tar.gz --ssh-pubkey $HOME/.ssh/id_ed25519.pub --keymap us --language en_US.UTF-8 --disk main /dev/sdb flash-installer
```
2025-08-31 15:26:04 +02:00
Jörg Thalheim
8620761bbd
vars: fix var name in error message
2025-08-31 15:23:24 +02:00
Mic92
d793b6ca07
Merge pull request 'vars: improve error message when storing trying to store a var in a read-only flake' ( #5036 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5036
2025-08-31 13:20:13 +00:00
Jörg Thalheim
17e9231657
vars: improve error message when storing trying to store a var in a read-only flake
2025-08-31 14:14:56 +02:00
Mic92
acc2674d79
Merge pull request 'fix: check if phases are non-default when installing' ( #5024 ) from sachk/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5024
2025-08-29 16:16:01 +00:00
Jörg Thalheim
c34a21a3bb
install: make Step a String enum
2025-08-29 17:45:16 +02:00
Mic92
275bff23da
Merge pull request 'zfs-latest: fix eval errors' ( #5029 ) from zfs-latest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5029
2025-08-29 15:26:58 +00:00
Sacha Korban
1a766a3447
fix: check if phases are non-default when running
2025-08-29 17:26:49 +02:00
Jörg Thalheim
c22844c83b
zfs-latest: fix eval errors
2025-08-29 17:20:56 +02:00
clan-bot
5472ca0e21
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5028 ) from update-devFlake-nixpkgs-dev into main
2025-08-29 15:08:13 +00:00
clan-bot
ad890b0b6b
Update nixpkgs-dev in devFlake
2025-08-29 15:01:35 +00:00
DavHau
a364b5ebf3
API/list_service_instances: add module metadata ( #5023 )
...
@hsjobeki
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5023
2025-08-29 13:14:19 +00:00
brianmcgee
d0134d131e
Merge pull request 'feat(ui): display add machine in sidebar when machine list is empty' ( #5027 ) from ui/refine-add-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5027
2025-08-29 12:27:33 +00:00
Brian McGee
ccf0dace11
feat(ui): display add machine in sidebar when machine list is empty
2025-08-29 13:23:45 +01:00
hsjobeki
9977a903ce
Merge pull request 'ui/scene: cursor and mode fixes' ( #5026 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5026
2025-08-29 12:01:56 +00:00
Johannes Kirschbauer
dc9bf5068e
ui/scene: make 'select' the default mode
2025-08-29 13:58:35 +02:00
Johannes Kirschbauer
6b4f79c9fa
ui/scene: add different cursor type
2025-08-29 13:54:32 +02:00
brianmcgee
b2985b59e9
Merge pull request 'feat(ui): stop reloading sidebar when moving between machine' ( #5025 ) from ui/stop-sidebar-pane-re-opening into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5025
2025-08-29 11:27:03 +00:00
Brian McGee
d4ac3b83ee
feat(ui): stop reloading sidebar when moving between machine
2025-08-29 12:06:28 +01:00
hsjobeki
00bf55be5a
Merge pull request 'ui/implement-add-machine-workflow' ( #5021 ) from ui/implement-add-machine-workflow into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5021
2025-08-29 08:42:31 +00:00
Johannes Kirschbauer
851d6aaa89
ui/machines: hook up create machine with scene workflow
2025-08-29 10:39:05 +02:00
Johannes Kirschbauer
f007279bee
ui: format and debug messages
2025-08-29 10:38:39 +02:00
Brian McGee
5a3381d9ff
ui/machines: add machine workflow
2025-08-29 10:34:03 +02:00
clan-bot
83e51db2e7
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5022 ) from update-devFlake-nixpkgs-dev into main
2025-08-29 00:11:06 +00:00
clan-bot
4e4af8a52f
Update nixpkgs-dev in devFlake
2025-08-29 00:01:29 +00:00
Brian McGee
54a8ec717e
chore(ui): rename install workflow to InstallMachine
2025-08-28 22:44:27 +02:00
hsjobeki
d3e5e6edf1
Merge pull request 'ui/service: rewire to allow external selection' ( #5020 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5020
2025-08-28 20:43:07 +00:00
Johannes Kirschbauer
a4277ad312
ui/service: rewire to allow external selection
2025-08-28 22:39:49 +02:00
Johannes Kirschbauer
8877f2d451
ui/scene: lift state signals to allow external access
2025-08-28 22:39:23 +02:00
Johannes Kirschbauer
9275b66bd9
ui/machine: remove unsued imports
2025-08-28 22:38:19 +02:00
Johannes Kirschbauer
6a964f37d5
ui/machineRepr: listen to highlight state
2025-08-28 22:38:19 +02:00
Johannes Kirschbauer
73f2a4f56f
ui/hooks: add clickOutside hook
2025-08-28 22:37:34 +02:00
Johannes Kirschbauer
85fb0187ee
ui/typography: add missing label xxs
2025-08-28 22:37:15 +02:00
Johannes Kirschbauer
db9812a08b
ui/sidebar: remove unused imports
2025-08-28 22:37:05 +02:00
Johannes Kirschbauer
ca69530591
ui/search: fix divider and text styles
2025-08-28 22:36:50 +02:00
Johannes Kirschbauer
fc5b0e4113
ui/multisearch: make controlled for now
2025-08-28 22:36:21 +02:00
Johannes Kirschbauer
278af5f0f4
ui/queries: add instances query
2025-08-28 22:35:58 +02:00
Johannes Kirschbauer
e7baf25ff7
ui/toast: add toast temporarily
2025-08-28 22:35:33 +02:00
Johannes Kirschbauer
fada75144c
ui/highlight: add global highlighter store
2025-08-28 22:35:15 +02:00
brianmcgee
803ef5476f
Merge pull request 'feat(ui): disable button when loading state is active' ( #5018 ) from ui/disable-button-when-loading into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5018
2025-08-28 16:00:57 +00:00
brianmcgee
016bd263d0
Merge pull request 'ui/refine-sidebar-sidepane' ( #5017 ) from ui/refine-sidebar-sidepane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5017
2025-08-28 15:44:27 +00:00
Brian McGee
f9143f8a5d
feat(ui): disable button when loading state is active
2025-08-28 16:43:23 +01:00
Brian McGee
92eb27fcb1
feat(ui): reduce size of sidebar when selecting a machine
2025-08-28 16:40:47 +01:00
Brian McGee
0cc9b91ae8
fix(ui): quirks with sidebar sizing
2025-08-28 15:56:37 +01:00
hsjobeki
2ed3608e34
Merge pull request 'ui/clan: wire up service create' ( #5016 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5016
2025-08-28 12:17:03 +00:00
Johannes Kirschbauer
a92a1a7dd1
ui/clan: wire up service create
2025-08-28 14:13:39 +02:00
Johannes Kirschbauer
9a903be6d4
ui/services: add submit handler to create the instance
2025-08-28 14:13:26 +02:00
Johannes Kirschbauer
adea270b27
ui/tagSelect: remove left over console.log
2025-08-28 14:13:05 +02:00
clan-bot
765eb142a5
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5014 ) from update-devFlake-nixpkgs-dev into main
2025-08-28 10:08:09 +00:00
clan-bot
faa1405d6b
Update nixpkgs-dev in devFlake
2025-08-28 10:01:48 +00:00
hsjobeki
0c93aab818
Merge pull request 'ui/services: workflow init' ( #5013 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5013
2025-08-28 08:19:01 +00:00
Johannes Kirschbauer
56923ae2c3
ui/services: workflow init
2025-08-28 10:11:15 +02:00
Johannes Kirschbauer
e2f64e1d40
ui/stepper: forward props in backButton
2025-08-28 10:10:52 +02:00
Johannes Kirschbauer
c574b84278
ui/tagSelect: simplify by requiring objects with value key
2025-08-28 10:10:25 +02:00
Johannes Kirschbauer
640f15d55e
ui/search: remove portal, fix styling
2025-08-28 10:09:41 +02:00
Johannes Kirschbauer
789d326273
ui/queries: add list tags query
2025-08-28 10:09:03 +02:00
clan-bot
1763d85d91
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5011 ) from update-devFlake-nixpkgs-dev into main
2025-08-27 20:10:01 +00:00
clan-bot
082fa05083
Update nixpkgs-dev in devFlake
2025-08-27 20:01:45 +00:00
brianmcgee
9ed7190606
Merge pull request 'fix(ui): icon alignment in alerts' ( #5008 ) from ui/fix-icon-misalignment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5008
2025-08-27 16:33:29 +00:00
Brian McGee
6c22539dd4
fix(ui): icon alignment in alerts
...
Closes #5004
2025-08-27 17:30:08 +01:00
Luis Hebendanz
e6819ede61
Merge pull request 'docs/update: refactor machine update guide' ( #4997 ) from docs-10 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4997
2025-08-27 15:40:34 +00:00
Qubasa
186a760529
docs: fixup links to networking guide, improve introduction.
2025-08-27 17:37:15 +02:00
clan-bot
a84aee7b0c
Merge pull request 'Update nixos-facter-modules' ( #5007 ) from update-nixos-facter-modules into main
2025-08-27 15:10:12 +00:00
clan-bot
cab2fa44ba
Update nixos-facter-modules
2025-08-27 15:00:55 +00:00
Mic92
5962149e55
Merge pull request 'remove diskId from existing templates' ( #5006 ) from drop-diskid into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5006
2025-08-27 13:31:23 +00:00
Jörg Thalheim
00f9d08a4b
remove diskId from existing templates
...
we don't have a replacement yet, but at least this will work.
2025-08-27 15:24:59 +02:00
clan-bot
3d0c843308
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5003 ) from update-devFlake-nixpkgs-dev into main
2025-08-27 10:08:09 +00:00
clan-bot
847138472b
Update nixpkgs-dev in devFlake
2025-08-27 10:01:50 +00:00
Johannes Kirschbauer
c7786a59fd
docs/update: refactor machine update guide
...
Restructured page: core workflow first, advanced usage after.
Improved grammar, phrasing, and capitalization (Clan CLI, apostrophes).
Added warnings/notes for buildHost and CPU architecture.
Polished code snippets and CLI examples for clarity.
2025-08-27 10:26:53 +02:00
hsjobeki
3b2d357f10
Merge pull request 'api/modules: unify duplicate endpoints for {modules, instances}' ( #4994 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4994
2025-08-27 07:13:46 +00:00
DavHau
a83dbf604c
Merge pull request 'vars: always generate dependents' ( #4996 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4996
2025-08-27 05:59:13 +00:00
DavHau
f77456a123
vars: simplify graph implementation, remove obsolete closure functions
...
- full_closure is obsolete since it is the same as calling requested_closure with the full list of generators.
- minimal_closure is obsolete as well. Since the recent addition of dependents to the closure via 3d2127ce1e it is essentially the same as the all_missing_closure
2025-08-27 12:50:59 +07:00
DavHau
6e4c3a638d
vars: move graph tests to separate file
2025-08-27 11:47:46 +07:00
DavHau
3d2127ce1e
vars: always generate dependents
...
Even for the minimal closure case (when a specific generator was picked), we should still force regeneration of all dependents, as otherwise we risk keeping outdated dependents from previous generations
2025-08-27 11:47:46 +07:00
DavHau
a4a5916fa2
vars: generate over multiple machines at once
2025-08-27 11:45:45 +07:00
Johannes Kirschbauer
f6727055cd
api/modules: unify duplicate endpoints for {modules, instances}
2025-08-26 21:44:58 +02:00
hsjobeki
0517d87caa
Merge pull request 'api/instances: add list service instances' ( #4993 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4993
2025-08-26 16:52:53 +00:00
Johannes Kirschbauer
89e587592c
api/instances: add list service instances
2025-08-26 18:47:08 +02:00
hsjobeki
439495d738
Merge pull request 'ui/search: fix height of overflow' ( #4992 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4992
2025-08-26 16:46:29 +00:00
Johannes Kirschbauer
0b2fd681be
ui/search: fix height of overflow
2025-08-26 18:43:09 +02:00
hsjobeki
41de615331
Merge pull request 'ui/services: add more features to components' ( #4988 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4988
2025-08-26 16:40:51 +00:00
Johannes Kirschbauer
b7639b1d81
ui/services: fix some background colors
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
602879c9e4
ui/services: workflow select service
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
53e16242b9
ui/search: add loading state
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
24c5146763
ui/search: fix height calculate to avoid overlaying components
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
dca7aa0487
ui/modules: hook up list modules query
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
647bc4e4df
api/list_modules: return a simpler list of modules
2025-08-26 18:35:43 +02:00
brianmcgee
1c80223fe3
Merge pull request 'feat(ui): remove light typography weight' ( #4991 ) from misc/fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4991
2025-08-26 16:18:21 +00:00
Brian McGee
7ac9b00398
feat(ui): remove light typography weight
2025-08-26 16:13:53 +01:00
brianmcgee
d37c9e3b04
Merge pull request 'feat(ui): refine remove clan button copy' ( #4986 ) from ui/refine-remove-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4986
2025-08-26 14:44:12 +00:00
Brian McGee
0fe9d0e157
feat(ui): refine remove clan button copy
2025-08-26 15:40:24 +01:00
Mic92
5479c767c1
Merge pull request 'try{300,301,400}: fix' ( #4984 ) from checkout-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4984
2025-08-26 14:31:57 +00:00
brianmcgee
edc389ba4b
Merge pull request 'feat(ui): change button font to normal instead of monospace' ( #4985 ) from ui/change-button-font into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4985
2025-08-26 14:23:10 +00:00
Jörg Thalheim
4cb17d42e1
PLR2004: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
f26499edb8
pyproject.toml: add descriptions to each rule
2025-08-26 16:21:15 +02:00
Jörg Thalheim
2857cb7ed8
remove various ignores that had no actual issue
2025-08-26 16:21:15 +02:00
Jörg Thalheim
3168fecd52
PT100: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
24c20ff243
TRY400: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
8ba8fda54b
RUF100: fix
2025-08-26 16:21:15 +02:00
Brian McGee
0992a47b00
feat(ui): change button font to normal instead of monospace
2025-08-26 15:13:30 +01:00
Jörg Thalheim
d5b09f18ed
RET504: fix
2025-08-26 15:55:23 +02:00
Jörg Thalheim
fb2fe36c87
SIM112: fix
2025-08-26 15:55:23 +02:00
hsjobeki
3db51887b1
Merge pull request 'ui/select machines/tags: add custom combobox' ( #4983 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4983
2025-08-26 13:51:50 +00:00
Johannes Kirschbauer
24f3bcca57
ui/select: rename to tagSelect
2025-08-26 15:48:28 +02:00
Johannes Kirschbauer
85006c8103
ui/select machines/tags: add custom combobox
...
This just renders machines and tags as chips
onclick will open another combobox
2025-08-26 15:47:22 +02:00
Jörg Thalheim
db5571d623
SIM108: fix
2025-08-26 15:23:36 +02:00
Jörg Thalheim
d4bdaec586
SIM102: fix
2025-08-26 15:22:25 +02:00
Jörg Thalheim
cb9c8e5b5a
try{300,301,400}: fix
2025-08-26 15:17:16 +02:00
Mic92
0a1802c341
Merge pull request 'github/repo-sync: v4 -> v5' ( #4982 ) from checkout-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4982
2025-08-26 12:59:10 +00:00
Mic92
dfae1a4429
Merge pull request 'PLC0415: fix' ( #4981 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4981
2025-08-26 12:58:37 +00:00
Jörg Thalheim
c1dc73a21b
github/repo-sync: v4 -> v5
2025-08-26 14:54:41 +02:00
Jörg Thalheim
8145740cc1
api: lazly load Api options
2025-08-26 14:48:20 +02:00
Jörg Thalheim
b2a54f5b0d
PLC0415: fix
2025-08-26 14:46:42 +02:00
hsjobeki
9c9adc6e16
Merge pull request 'ui/tags: refactor generic children and icon' ( #4960 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4960
2025-08-26 12:14:41 +00:00
Johannes Kirschbauer
f7cde8eb0f
ui/tags: refactor generic children and icon
2025-08-26 14:11:14 +02:00
DavHau
501d020562
vars: retrieve generators for multiple machines
...
This is necessary ground work for fixing regeneration behavior spanning over multiple machines
2025-08-26 18:55:54 +07:00
Mic92
a9bafd71e1
Merge pull request 'templates/list: we can compute the lenght of an dictionary directly' ( #4980 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4980
2025-08-26 11:45:44 +00:00
Mic92
166e4b8081
Merge pull request 'add feature: ask for vars input confirmation, and fail after 3 attempts. fixes accidental misinputs when typing passwords!' ( #4920 ) from adeci-2xconfirm into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4920
2025-08-26 11:41:16 +00:00
Jörg Thalheim
c3eb40f17a
templates/list: we can compute the lenght of an dictionary directly
2025-08-26 13:39:49 +02:00
Jörg Thalheim
7330285150
prompt/multiline: strip final newline just like hidden prompt
2025-08-26 13:35:12 +02:00
Luis Hebendanz
8cf8573c61
Merge pull request 'clan-app: Maybe fix the logging errror ValueError: I/O operation on closed file.' ( #4974 ) from Qubasa/clan-core:fix_logging into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4974
2025-08-26 11:32:48 +00:00
Jörg Thalheim
5bfa0d7a9d
prompt: catch EOF errors
2025-08-26 13:26:49 +02:00
adeci
8ea2dd9b72
add feature: ask for vars input confirmation, and fail after 3 attempts. fixes accidental misinputs when typing passwords!
2025-08-26 13:26:49 +02:00
Mic92
6efcade56a
Merge pull request 'Enable "all" ruff lint fixes' ( #4978 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4978
2025-08-26 11:26:47 +00:00
Jörg Thalheim
6d2372be56
machines/update: fix incorrecct nixos-rebuild command
2025-08-26 13:11:43 +02:00
brianmcgee
626af4691b
Merge pull request 'feat(ui): pin stepper buttons to the bottom' ( #4979 ) from ui/pinned-stepper-buttons into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4979
2025-08-26 11:07:30 +00:00
Jörg Thalheim
63697ac4b1
various fixes
2025-08-26 13:07:22 +02:00
Brian McGee
0ebb1f0c66
feat(ui): pin stepper buttons to the bottom
...
Closes #4968
2025-08-26 12:02:28 +01:00
Jörg Thalheim
1dda60847e
PLW0602: fix
2025-08-26 12:57:31 +02:00
Jörg Thalheim
a7bce4cb19
pyproject: enable all lints
2025-08-26 12:57:31 +02:00
Mic92
a5474bc25f
Merge pull request 'ruff-7-misc' ( #4939 ) from ruff-7-misc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4939
2025-08-26 10:43:12 +00:00
Jörg Thalheim
f634b8f1fb
merge-after-ci: move away from writePython3Bin
...
this is one is doing checks we don't want because we already have ruff.
2025-08-26 12:39:50 +02:00
brianmcgee
0ad40a0233
Merge pull request 'ui/refine-select-folder-onboarding' ( #4977 ) from ui/refine-select-folder-onboarding into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4977
2025-08-26 10:30:23 +00:00
Luis Hebendanz
78abc36cd3
Merge pull request 'clan-cli: clan machines update-hardware-config now uses kexec, and supports non NixOS targets' ( #4948 ) from Qubasa/clan-core:fix_update_hardware_config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4948
2025-08-26 10:16:59 +00:00
Brian McGee
f5158b068f
feat(ui): reduce size of sidebar pane
...
Make it clearer the distinction between parent and child panes.
2025-08-26 11:16:03 +01:00
Jörg Thalheim
e6066a6cb1
spawn_tor: catch OSError and wrap as ClanError
2025-08-26 12:12:29 +02:00
clan-bot
fc8b66effa
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4972 ) from update-devFlake-nixpkgs-dev into main
2025-08-26 10:09:59 +00:00
Qubasa
16b92963fd
clan-app: Maybe fix the logging errror ValueError: I/O operation on closed file.
2025-08-26 12:08:45 +02:00
Brian McGee
2ff3d871ac
feat(ui): allow placing machines directly next to each other
2025-08-26 11:02:58 +01:00
clan-bot
108936ef07
Update nixpkgs-dev in devFlake
2025-08-26 10:01:48 +00:00
Jörg Thalheim
c45d4cfec9
D413/D212: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
64217e1281
G001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
d1421bb534
EXE002: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
ac20514a8e
EXE001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
79c4e73a15
test_http_api: remove unused logging middleware
2025-08-26 12:01:47 +02:00
Jörg Thalheim
61a647b436
PLR1704: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
c9a709783a
BLE001: fix
2025-08-26 12:01:47 +02:00
Kenji Berthold
c55b369899
Merge pull request 'docs: Add edit button to documentation pages' ( #4969 ) from kenji/ke-add-repo-url into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4969
2025-08-26 09:59:14 +00:00
Brian McGee
084b8bacd3
fix(ui): typos in install machine workflow
2025-08-26 10:52:52 +01:00
a-kenji
47ad7d8a95
docs: Add edit button to documentation pages
...
Closes : #4966
2025-08-26 11:52:08 +02:00
a-kenji
3798808013
docs: Fix edit uri
2025-08-26 11:51:53 +02:00
Brian McGee
43a39267f3
feat(ui): make the intention of the select folder button clearer in Onboarding
2025-08-26 10:44:42 +01:00
Mic92
db94ea2d2e
Merge pull request 'Misc ruff fixes' ( #4965 ) from ruff-foo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4965
2025-08-26 09:44:06 +00:00
hsjobeki
f0533f9bba
Merge pull request 'ui/scene: dont snap to occupied positions' ( #4967 ) from fixes-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4967
2025-08-26 09:43:59 +00:00
Johannes Kirschbauer
360048fd04
ui/scene: dont snap to occupied positions
2025-08-26 11:40:38 +02:00
Jörg Thalheim
8f8426de52
PGH003: fix
2025-08-26 11:36:38 +02:00
Qubasa
4bce390e64
clan-cli: clan machiens update-hardware-config now uses kexec, and supports non NixOS targets
2025-08-26 11:35:44 +02:00
DavHau
2b7837e2b6
Merge pull request 'GUI: add port option for ssh remote' ( #4961 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4961
2025-08-26 09:33:26 +00:00
Jörg Thalheim
cbf9678534
flake/prefetch: Fix unconditional truthy string causes always-True
2025-08-26 11:07:57 +02:00
Jörg Thalheim
b38b10c9a6
automatic ruff fixes
2025-08-26 11:07:57 +02:00
Jörg Thalheim
31cbb7dc00
PLC0415: fix
2025-08-26 11:07:57 +02:00
hsjobeki
0fa4377793
Merge pull request 'ui/scene: add reload button' ( #4962 ) from fixes-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4962
2025-08-26 09:01:45 +00:00
Johannes Kirschbauer
7b0d10e8c2
ui/queries: remove annoying refetch interval, invalidate on change instead
2025-08-26 10:58:39 +02:00
Johannes Kirschbauer
bb41adab4b
ui/scene: fix syncing remote and local state
2025-08-26 10:40:09 +02:00
DavHau
648aa7dc59
Merge pull request 'API: fix serialization of union types' ( #4963 ) from serde into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4963
2025-08-26 08:26:13 +00:00
DavHau
3073969c92
vars/tests: add comments
2025-08-26 15:17:41 +07:00
DavHau
2f1dc3a33d
API: fix serialization of union types
...
Due to this bug in serde.py, the run_generators API id not work for the frontend
2025-08-26 15:16:55 +07:00
Johannes Kirschbauer
b707dcea2d
ui/scene: add reload button
2025-08-26 10:08:05 +02:00
Johannes Kirschbauer
4f0c8025b2
ui/queries: remove annoying refetch interval, invalidate on change instead
2025-08-26 10:07:41 +02:00
pinpox
b91bee537a
Merge pull request 'Enable state-version in defaults' ( #4711 ) from default-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4711
2025-08-26 07:49:46 +00:00
pinpox
7207a3e8cd
Cleanup state-version test
2025-08-26 09:44:01 +02:00
pinpox
ac675a5af0
Merge pull request 'Add coredns module' ( #4837 ) from coredns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4837
2025-08-26 07:39:57 +00:00
pinpox
64caebde62
service/state-version: drop
2025-08-26 09:32:36 +02:00
pinpox
4934884e0c
Enable state-version in defaults
2025-08-26 09:32:36 +02:00
pinpox
22cd9baee2
Merge pull request 'Improve inventory docs' ( #4933 ) from inventory-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4933
2025-08-26 07:32:23 +00:00
pinpox
84232b5355
Improve inventory docs
2025-08-26 09:29:25 +02:00
DavHau
5bc7c255c1
GUI: add port option for ssh remote
...
I need this for testing with a local VM, which ahs a different port than 22.
This also disables host key checking, as there is currently no workflow int he GUI which can handle a mismatch, which mismatches are common.
2025-08-26 13:28:27 +07:00
clan-bot
d11d83f699
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4959 ) from update-devFlake-clan-core-for-checks into main
2025-08-26 05:08:08 +00:00
clan-bot
2ef1b2a8fa
Update clan-core-for-checks in devFlake
2025-08-26 05:01:46 +00:00
clan-bot
f7414d7e6e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4957 ) from update-devFlake-clan-core-for-checks into main
2025-08-26 00:08:04 +00:00
clan-bot
ab384150b2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4958 ) from update-devFlake-nixpkgs-dev into main
2025-08-26 00:07:37 +00:00
clan-bot
0b6939ffee
Update nixpkgs-dev in devFlake
2025-08-26 00:01:48 +00:00
clan-bot
bc6a1a9d17
Update clan-core-for-checks in devFlake
2025-08-26 00:01:28 +00:00
clan-bot
7055461cf0
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4956 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 20:10:56 +00:00
clan-bot
a9564df6a9
Update clan-core-for-checks in devFlake
2025-08-25 20:01:26 +00:00
brianmcgee
e2dfc74d02
Merge pull request 'feat(ui): fix layout and size of install progress and done screens' ( #4954 ) from ui/fix-install-modal-sizes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4954
2025-08-25 16:55:48 +00:00
Brian McGee
326cb60aea
feat(ui): fix layout and size of install progress and done screens
2025-08-25 17:51:20 +01:00
brianmcgee
68b264970a
Merge pull request 'feat(ui): set loading status on update hardware report button in install workflow' ( #4951 ) from ui/update-hardware-report-loading-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4951
2025-08-25 16:46:16 +00:00
Brian McGee
1fa4ef82e9
feat(ui): set loading status on update hardware report button in install workflow
2025-08-25 17:32:15 +01:00
Kenji Berthold
bd93651f12
Merge pull request 'pkgs/clan-app: Refactor debugger' ( #4949 ) from kenji/ke-debug-view-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4949
2025-08-25 16:30:48 +00:00
a-kenji
85ad51ce4c
pkgs/clan-app: Refactor debugger
2025-08-25 18:25:02 +02:00
Luis Hebendanz
59e50c6150
Merge pull request 'clan-app: Add new icons' ( #4947 ) from Qubasa/clan-core:new_app_icons into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4947
2025-08-25 16:11:15 +00:00
Qubasa
f347568de3
clan-app: Add new icons
2025-08-25 18:07:11 +02:00
brianmcgee
bdad7d81b2
Merge pull request 'Clan Settings modal' ( #4941 ) from ui/clan-settings-modal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4941
2025-08-25 15:33:31 +00:00
Brian McGee
b8203cdf73
feat(ui): support removing a clan
...
Also fixes:
- close modal on escape key
- handle class attribute in form components correctly
2025-08-25 16:28:13 +01:00
Brian McGee
431e45cc3a
feat(ui): support editing basic metadata for a Clan
2025-08-25 16:28:12 +01:00
brianmcgee
f185d28f68
Merge pull request 'ui/fix-clan-list-select-same-clan' ( #4944 ) from ui/fix-clan-list-select-same-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4944
2025-08-25 15:26:05 +00:00
Brian McGee
d8e6fcf773
chore(ui): move list clans modal into modals directory
2025-08-25 16:22:58 +01:00
Brian McGee
23b7d24399
fix(ui): allow reloading the failed active clan in clan list modal
2025-08-25 16:19:07 +01:00
clan-bot
a1ed512da4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4943 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 15:09:34 +00:00
clan-bot
40ac96cd10
Update clan-core-for-checks in devFlake
2025-08-25 15:01:41 +00:00
hsjobeki
c4da43da0f
Merge pull request 'ui: add multiple search for machines and tags' ( #4942 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4942
2025-08-25 14:57:06 +00:00
Johannes Kirschbauer
8822f6dadc
ui: add multiple search for machines and tags
2025-08-25 16:53:49 +02:00
Mic92
b5a7a91612
Merge pull request 'ruff-6-warnings' ( #4937 ) from ruff-6-warnings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4937
2025-08-25 14:06:20 +00:00
Mic92
453b1a91a8
Merge pull request 'ruff-5-docstring-fixes' ( #4938 ) from ruff-5-docstring-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4938
2025-08-25 14:03:43 +00:00
Jörg Thalheim
70274d69e9
templates/list: “Last input” detection is off when some inputs don’t define this template_type.
...
is_last_input compares against len(templates.custom.items()) - 1, but you continue past inputs that lack template_type,
so the ASCII tree may render └ on non-final printed items. Compute the filtered inputs list first.
2025-08-25 15:59:54 +02:00
Jörg Thalheim
c57d8b30d3
vms/qemu: Fix CID range to exclude reserved vsock IDs
2025-08-25 15:27:03 +02:00
Jörg Thalheim
7407fef21b
zerotier/generate: use with for urlopen and also set a 5s timeout
2025-08-25 15:25:50 +02:00
Jörg Thalheim
23c152541a
docs/getting-started: remove duplicate nixosConfigurations
2025-08-25 15:22:30 +02:00
Jörg Thalheim
6765e27031
pkgs/clan-cli/clan_lib/services/modules.py: fix Exception in docs
2025-08-25 15:20:15 +02:00
Jörg Thalheim
cbb789bc69
PLW1508: fix
2025-08-25 15:17:06 +02:00
Jörg Thalheim
7f68a21257
PLW1641: fix
2025-08-25 15:17:06 +02:00
Jörg Thalheim
fc66dc78c3
PLW0603: fix
2025-08-25 15:17:06 +02:00
Jörg Thalheim
1d0e0f243e
PLW2901: fix
2025-08-25 15:17:06 +02:00
Mic92
8134ffd787
Merge pull request 'ruff-4-perf-fixes' ( #4935 ) from ruff-4-perf-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4935
2025-08-25 13:12:14 +00:00
Jörg Thalheim
7f1590c729
PERF403: fix
2025-08-25 15:06:32 +02:00
Jörg Thalheim
c65bb0b1ce
PERF401: fix
2025-08-25 15:06:32 +02:00
Mic92
d8bc5269ee
Merge pull request 'ruff-5-docstring-fixes' ( #4936 ) from ruff-5-docstring-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4936
2025-08-25 13:04:05 +00:00
Jörg Thalheim
917407c475
D210: fix
2025-08-25 14:56:48 +02:00
Jörg Thalheim
d9e6e0c540
D417: fix
2025-08-25 14:56:48 +02:00
Jörg Thalheim
ef5ab0c2f4
D404: fix
2025-08-25 14:56:48 +02:00
Jörg Thalheim
34816013ad
D106: fix
2025-08-25 14:56:48 +02:00
Mic92
05665b1c7e
Merge pull request 'ruff-3-arg-fixes' ( #4934 ) from ruff-3-arg-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4934
2025-08-25 12:54:04 +00:00
Jörg Thalheim
2bebcab736
zerotier-members: fix passing member_ip
2025-08-25 14:46:12 +02:00
Jörg Thalheim
306f83e357
flash: skip test on aarch64-linux
2025-08-25 14:46:12 +02:00
Jörg Thalheim
04457b1272
ARG001: fix
2025-08-25 14:46:12 +02:00
Jörg Thalheim
4986fe30c3
ARG002/ARG005: fix
2025-08-25 14:36:36 +02:00
Mic92
de33a07875
Merge pull request 'ruff-2-security-fixes' ( #4931 ) from ruff-2-security-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4931
2025-08-25 12:30:20 +00:00
Jörg Thalheim
5233eb7fdb
ARG002: fix
2025-08-25 14:24:21 +02:00
Jörg Thalheim
94a158b77a
ARG001: fix
2025-08-25 14:24:21 +02:00
hsjobeki
98af47d0b5
Merge pull request 'docs: change wording, update links' ( #4929 ) from cleanup-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4929
2025-08-25 12:18:55 +00:00
Johannes Kirschbauer
4470bb886e
docs: move 'migrate-flake' to 'convert existing nixos'
2025-08-25 14:11:31 +02:00
Jörg Thalheim
f4feac0d6b
logmanager: fix exceptions in python docs
2025-08-25 14:11:25 +02:00
Jörg Thalheim
7547761812
zerotier-members: validate hex input to prevent ValueError
...
Add proper validation for network_id and identity parameters to ensure
they contain valid hexadecimal characters. Previously, non-hex input
would raise ValueError instead of the expected ClanError, bypassing
proper error handling.
2025-08-25 14:11:25 +02:00
Jörg Thalheim
23d11651fc
Preserve symlinks during store copy
2025-08-25 14:11:25 +02:00
Jörg Thalheim
03a4ac5bde
sudo_askpass_proxy: check for stdin before print
2025-08-25 14:11:25 +02:00
Jörg Thalheim
ab50b433ee
type_to_jsonschema: throw correct Error
2025-08-25 14:11:25 +02:00
Jörg Thalheim
123e8398d8
S310: fix
2025-08-25 14:11:25 +02:00
Jörg Thalheim
6a2dfb8176
S101: fix
2025-08-25 14:11:25 +02:00
Jörg Thalheim
332d10e306
s110: address
2025-08-25 14:07:59 +02:00
Jörg Thalheim
f3f6692e4d
S102: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
954301465f
s608: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
2199f4efd5
S324: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
e208c02be7
S311: fix random usage
2025-08-25 14:07:59 +02:00
Jörg Thalheim
7747e3cc0d
S604: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
1c24b4c6cb
S604: fix
2025-08-25 14:07:59 +02:00
Jörg Thalheim
4b1ab4cdde
S105: fix
2025-08-25 13:43:33 +02:00
Jörg Thalheim
4852e79c3c
S310: fix
2025-08-25 13:43:33 +02:00
Jörg Thalheim
0a70ed6268
S108: ignore our uses
2025-08-25 13:43:33 +02:00
Mic92
136acc7901
Merge pull request 'ruff-1-initial-fixes' ( #4930 ) from ruff-1-initial-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4930
2025-08-25 11:38:36 +00:00
Jörg Thalheim
70d1dd0deb
nix_setup/cp: remove xcp again
2025-08-25 13:33:13 +02:00
Jörg Thalheim
df32da304f
drop agit
2025-08-25 13:06:04 +02:00
Jörg Thalheim
76eb3c13e9
add various module docstrings
2025-08-25 13:06:04 +02:00
Jörg Thalheim
6e88046fd4
PERF404: fix
2025-08-25 13:06:04 +02:00
Jörg Thalheim
b3cafa4a8c
log_manager: drop example usage
...
don't need this.
2025-08-25 13:06:04 +02:00
Jörg Thalheim
d1cf87d2ce
BLE001: don't catch blind errors
2025-08-25 13:06:04 +02:00
Jörg Thalheim
dc5485d9f1
ruff: replace asserts outside of tests with Exceptions
2025-08-25 13:06:04 +02:00
Johannes Kirschbauer
1b12882e29
docs: change wording, update links
2025-08-25 12:42:03 +02:00
hsjobeki
5be9b8383b
Merge pull request 'clan/inventory: allow list usage of roles via polymorphism' ( #4918 ) from cleanup-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4918
2025-08-25 10:41:49 +00:00
DavHau
c308fd63a7
vars: delete old var when changing share
...
When changing a password from non-shared to shared, we want to remove the old one
2025-08-25 10:37:46 +00:00
clan-bot
fcdfd80b34
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4925 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 10:37:07 +00:00
clan-bot
c5d975542d
Merge pull request 'Update nixos-facter-modules' ( #4832 ) from update-nixos-facter-modules into main
2025-08-25 10:25:02 +00:00
clan-bot
526eccdf16
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4926 ) from update-devFlake-nixpkgs-dev into main
2025-08-25 10:23:25 +00:00
clan-bot
f7dd34be21
Merge pull request 'Update disko' ( #4924 ) from update-disko into main
2025-08-25 10:22:23 +00:00
Mic92
289732ad20
Merge pull request 'Replace funky utf-8 singlequotes with decent ones' ( #4923 ) from replace-backticks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4923
2025-08-25 10:03:46 +00:00
pinpox
a50b6f7bc7
Merge pull request 'Allow shared user password' ( #4921 ) from TilmanBaumann/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4921
Reviewed-by: pinpox <clan@pablo.tools >
2025-08-25 10:02:59 +00:00
clan-bot
51c679d3a9
Update nixpkgs-dev in devFlake
2025-08-25 10:01:50 +00:00
clan-bot
470c3d330f
Update clan-core-for-checks in devFlake
2025-08-25 10:01:32 +00:00
clan-bot
df596ed59f
Update nixos-facter-modules
2025-08-25 10:00:58 +00:00
clan-bot
f2c1202b03
Update disko
2025-08-25 10:00:51 +00:00
pinpox
cdd241d8ff
Replace funky utf-8 singlequotes with decent ones
2025-08-25 11:56:29 +02:00
Mic92
0803d9c864
Merge pull request 'Apply automatic ruff lints' ( #4919 ) from ruff-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4919
2025-08-25 09:53:41 +00:00
Tilman Baumann
7171864a5e
Allow shared user password
...
By default each user gets a new password on every host.
Now you can use a shared vars.
2025-08-25 11:46:09 +02:00
Mic92
7aa9a34168
Merge pull request 'services/user: add migration guide for root-password' ( #4917 ) from root-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4917
2025-08-25 09:36:02 +00:00
Jörg Thalheim
0ec2c32ff8
ruff: apply automatic unsafe fixes
2025-08-25 11:34:41 +02:00
Jörg Thalheim
ea2d6aab65
ruff: apply automatic fixes
2025-08-25 11:34:41 +02:00
Jörg Thalheim
4101ebc45b
services/user: add migration guide for root-password
2025-08-25 11:29:56 +02:00
Johannes Kirschbauer
4414403dec
clan/inventory: allow list usage of roles via polymorphism
2025-08-25 11:27:38 +02:00
Johannes Kirschbauer
2d78730037
clan/schema: rename json schemas consistent {clanSchemaNix, clanSchemaJson}
2025-08-25 11:27:03 +02:00
hsjobeki
45c7c42634
Merge pull request 'tests/dirs: unify test files' ( #4916 ) from cleanup-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4916
2025-08-25 09:26:12 +00:00
Johannes Kirschbauer
8baf4fcedd
docs: refine autoincludes
2025-08-25 11:19:39 +02:00
Johannes Kirschbauer
a41e0ba80f
nix_models: fix typo
2025-08-25 11:19:39 +02:00
DavHau
798d445f3e
docs: move options search to separate page
2025-08-25 15:51:24 +07:00
Johannes Kirschbauer
00bd003be4
tests/dirs: unify test files
2025-08-25 10:14:02 +02:00
clan-bot
5841432b6f
Merge pull request 'Update data-mesher' ( #4914 ) from update-data-mesher into main
2025-08-25 05:24:10 +00:00
clan-bot
1fb91ec161
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4915 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 05:23:55 +00:00
clan-bot
fc16879336
Update clan-core-for-checks in devFlake
2025-08-25 05:01:34 +00:00
clan-bot
290510ae74
Update data-mesher
2025-08-25 05:00:51 +00:00
clan-bot
7b926d43dc
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4913 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 00:21:50 +00:00
clan-bot
d91a44c7c5
Update clan-core-for-checks in devFlake
2025-08-25 00:01:31 +00:00
clan-bot
a47ed71bb7
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4911 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 20:19:28 +00:00
clan-bot
18f9df29da
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4912 ) from update-devFlake-nixpkgs-dev into main
2025-08-24 20:09:41 +00:00
clan-bot
2438dc09a2
Update nixpkgs-dev in devFlake
2025-08-24 20:01:48 +00:00
clan-bot
420412e60c
Update clan-core-for-checks in devFlake
2025-08-24 20:01:29 +00:00
clan-bot
aee6bc335b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4910 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 15:18:34 +00:00
clan-bot
6ae679fb3d
Update clan-core-for-checks in devFlake
2025-08-24 15:01:31 +00:00
clan-bot
b40a13b4c5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4906 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 10:18:53 +00:00
clan-bot
dd2aa70efd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4907 ) from update-devFlake-nixpkgs-dev into main
2025-08-24 10:09:48 +00:00
clan-bot
2a9c9f7f2c
Update nixpkgs-dev in devFlake
2025-08-24 10:01:51 +00:00
clan-bot
82001544fd
Update clan-core-for-checks in devFlake
2025-08-24 10:01:32 +00:00
brianmcgee
9f352aa362
Merge pull request 'feat(ui): remove focus-visible state from readonly form inputs' ( #4905 ) from ui/disable-active-status-readonly-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4905
2025-08-24 09:53:06 +00:00
Brian McGee
35177ead40
feat(ui): remove focus-visible state from readonly form inputs
2025-08-24 10:49:34 +01:00
brianmcgee
1931c17513
Merge pull request 'feat(ui): make save button clearer in sidebar section forms' ( #4904 ) from ui/sidebar-section-save-button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4904
2025-08-24 09:45:23 +00:00
Brian McGee
b12debf373
feat(ui): make save button clearer in sidebar section forms
2025-08-24 10:42:01 +01:00
clan-bot
0b3d362357
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4903 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 05:21:48 +00:00
clan-bot
d8119f2308
Update clan-core-for-checks in devFlake
2025-08-24 05:01:46 +00:00
clan-bot
ce36894ab1
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4902 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 00:19:01 +00:00
clan-bot
c5f4f2e1d6
Update clan-core-for-checks in devFlake
2025-08-24 00:01:33 +00:00
clan-bot
c861ffe07b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4900 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 20:17:58 +00:00
clan-bot
6df980bc57
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4901 ) from update-devFlake-nixpkgs-dev into main
2025-08-23 20:09:30 +00:00
clan-bot
9d1d07b0ca
Update nixpkgs-dev in devFlake
2025-08-23 20:01:48 +00:00
clan-bot
24a774b5d6
Update clan-core-for-checks in devFlake
2025-08-23 20:01:29 +00:00
clan-bot
442f673128
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4898 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 15:20:43 +00:00
clan-bot
8905b5c5f1
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4899 ) from update-devFlake-nixpkgs-dev into main
2025-08-23 15:12:14 +00:00
clan-bot
3eff656dfa
Update nixpkgs-dev in devFlake
2025-08-23 15:01:50 +00:00
clan-bot
79e6f34c9e
Update clan-core-for-checks in devFlake
2025-08-23 15:01:31 +00:00
clan-bot
9c6e8f7735
Merge pull request 'Update treefmt-nix' ( #4894 ) from update-treefmt-nix into main
2025-08-23 10:24:13 +00:00
clan-bot
cc4fd1369e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4895 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 10:23:54 +00:00
clan-bot
7f32d6f81a
Merge pull request 'Update treefmt-nix in devFlake' ( #4897 ) from update-devFlake-treefmt-nix into main
2025-08-23 10:17:23 +00:00
clan-bot
a450ca10b8
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4896 ) from update-devFlake-nixpkgs-dev into main
2025-08-23 10:17:07 +00:00
clan-bot
06fbf32691
Update treefmt-nix in devFlake
2025-08-23 10:01:56 +00:00
clan-bot
d4bd297439
Update nixpkgs-dev in devFlake
2025-08-23 10:01:51 +00:00
clan-bot
acc8043f26
Update clan-core-for-checks in devFlake
2025-08-23 10:01:32 +00:00
clan-bot
35e5d0daab
Update treefmt-nix
2025-08-23 10:01:29 +00:00
clan-bot
e51c9ef1ad
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4892 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 05:19:20 +00:00
clan-bot
cdcbe3359a
Update clan-core-for-checks in devFlake
2025-08-23 05:01:32 +00:00
clan-bot
e5b51e6a2b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4891 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 00:20:46 +00:00
clan-bot
694ebc5b30
Update clan-core-for-checks in devFlake
2025-08-23 00:01:30 +00:00
lassulus
ff2555cc4a
Merge pull request 'Enable network configuration in iwd settings' ( #4886 ) from RuboGubo/clan-core:fixDHCPinstaller into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4886
2025-08-22 22:34:07 +00:00
lassulus
016255459c
Merge pull request 'clan_lib flake: fix handling of maybes and empty sets' ( #4890 ) from select_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4890
2025-08-22 22:31:29 +00:00
lassulus
14f03bcab0
Merge pull request 'vars: add .exists to files' ( #4889 ) from vars_exist into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4889
2025-08-22 21:47:16 +00:00
lassulus
4dc90b3d39
clan_lib flake: fix handling of maybes and empty sets
2025-08-22 23:44:14 +02:00
lassulus
8cdce6c0c8
vars: add .exists to files
2025-08-22 23:30:19 +02:00
clan-bot
8904cf27a4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4888 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 20:19:40 +00:00
clan-bot
493194c124
Merge pull request 'Update nix-select' ( #4887 ) from update-nix-select into main
2025-08-22 20:15:43 +00:00
clan-bot
5d1600a077
Update clan-core-for-checks in devFlake
2025-08-22 20:01:38 +00:00
clan-bot
7daaacbddf
Update nix-select
2025-08-22 20:01:00 +00:00
RuboGubo
30e18bbc66
Enable network configuration in iwd settings
...
closes #4885
2025-08-22 20:20:37 +01:00
hsjobeki
16dffa99c0
Merge pull request 'ui/search: add search with virtualized scrolling' ( #4884 ) from ui-search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4884
2025-08-22 16:07:54 +00:00
Johannes Kirschbauer
58ad50b749
ui/search: add search with virtualized scrolling
2025-08-22 17:52:48 +02:00
clan-bot
bc25074f5b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4882 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 15:18:46 +00:00
clan-bot
c79916d06c
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4883 ) from update-devFlake-nixpkgs-dev into main
2025-08-22 15:09:43 +00:00
clan-bot
4d53542f79
Update nixpkgs-dev in devFlake
2025-08-22 15:01:50 +00:00
clan-bot
d3ef03aeb3
Update clan-core-for-checks in devFlake
2025-08-22 15:01:31 +00:00
brianmcgee
9949fac5ea
Merge pull request 'feat(ui): refine spacing in NavSection' ( #4881 ) from ui/navigation-section into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4881
2025-08-22 12:32:10 +00:00
Brian McGee
6d236a6282
feat(ui): refine spacing in NavSection
2025-08-22 13:28:06 +01:00
brianmcgee
6e6a920796
Merge pull request 'ui/navigation-section' ( #4880 ) from ui/navigation-section into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4880
2025-08-22 11:20:14 +00:00
Brian McGee
99092a6ef2
chore(ui): lint
2025-08-22 12:16:21 +01:00
Brian McGee
1897b7bb06
feat(ui): use NavSection in installer workflow
2025-08-22 12:15:16 +01:00
Brian McGee
878789cf38
feat(ui): use NavSection in ListClansModal
2025-08-22 12:11:22 +01:00
Brian McGee
8a59cf7ea3
feat(ui): add NavSection component
2025-08-22 12:07:26 +01:00
brianmcgee
7ade9cd222
Merge pull request 'Handle error cases when switching clan' ( #4879 ) from feat/handle-clan-switch-errors into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4879
2025-08-22 10:47:35 +00:00
Brian McGee
447f619ecc
feat(ui): handle when a clan folder has been moved/renamed
2025-08-22 11:44:16 +01:00
clan-bot
657a55517b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4878 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 10:20:14 +00:00
clan-bot
16a5b34ddf
Update clan-core-for-checks in devFlake
2025-08-22 10:01:32 +00:00
Luis Hebendanz
23f303b6ba
Merge pull request 'clan_lib: Fix run_machine_install incorrect pesist_state path' ( #4877 ) from Qubasa/clan-core:fix_install into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4877
2025-08-22 09:36:34 +00:00
Qubasa
84bf9f3bc5
clan_lib: Fix run_machine_install incorrect pesist_state path
2025-08-22 11:21:44 +02:00
brianmcgee
48736011de
Merge pull request 'fix(ui): remove custom viewboxes for some icons' ( #4876 ) from ui/fix-icons into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4876
2025-08-22 08:14:22 +00:00
Brian McGee
cf5675b7f3
fix(ui): remove custom viewboxes for some icons
2025-08-22 09:11:09 +01:00
Brian McGee
f0bbdad9ef
feat(ui): improve clan list logic in SidebarHeader
2025-08-22 08:51:27 +01:00
Brian McGee
5f83fe02a1
feat(ui): move isLoading logic into ClanContext
2025-08-22 08:51:26 +01:00
Brian McGee
8cb92e143d
feat(ui): by default do not retry queries
2025-08-22 08:51:26 +01:00
Brian McGee
73f5f887f3
feat(ui): add clanURI to ClanContext
2025-08-22 08:51:25 +01:00
clan-bot
db4e6c0be5
Merge pull request 'Update nix-darwin' ( #4872 ) from update-nix-darwin into main
2025-08-22 05:22:33 +00:00
clan-bot
c24892f865
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4873 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 05:20:02 +00:00
clan-bot
6badc14936
Update clan-core-for-checks in devFlake
2025-08-22 05:01:33 +00:00
clan-bot
3d1fb401fd
Update nix-darwin
2025-08-22 05:00:53 +00:00
clan-bot
f2cdac75e2
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4871 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 00:19:10 +00:00
clan-bot
5d6e35832c
Update clan-core-for-checks in devFlake
2025-08-22 00:01:33 +00:00
Luis Hebendanz
9aa9ba500e
Merge pull request 'clan-lib: Make Flake throw more concrete errors if the flake path is invalid or non existend' ( #4870 ) from Qubasa/clan-core:fix_ui_stuff2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4870
2025-08-21 22:08:28 +00:00
Qubasa
2934269279
clan-lib: Make Flake throw more concrete errors if the flake path is invalid or non existend
...
treefmt
2025-08-21 23:53:26 +02:00
clan-bot
1c7323c90a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4869 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 20:18:08 +00:00
clan-bot
e667e03832
Update clan-core-for-checks in devFlake
2025-08-21 20:01:29 +00:00
brianmcgee
7f227b232c
Merge pull request 'ui/icons: update app icons' ( #4867 ) from ui-search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4867
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-08-21 17:14:34 +00:00
Johannes Kirschbauer
9d887805a8
ui/icons: update app icons
2025-08-21 19:11:08 +02:00
hsjobeki
244e1c7447
Merge pull request 'ui/cubes: scene add tooltip descriptions to toolbar' ( #4866 ) from api-modules-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4866
2025-08-21 16:25:11 +00:00
Johannes Kirschbauer
78911063a6
ui/tooltip: cleanup hostfileInput
...
Components should not rely on any global css classes
This can have bad side effects
2025-08-21 18:22:15 +02:00
hsjobeki
d86509e97b
Merge pull request 'feat(ui): history stack for stepper' ( #4834 ) from ui/fix-backwards-nav-installer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4834
2025-08-21 16:15:26 +00:00
Johannes Kirschbauer
6de431df2c
ui/stepper: use initial step from opts
2025-08-21 18:12:06 +02:00
Johannes Kirschbauer
cda49b5b20
ui/cubes: scene add tooltip descriptions to toolbar
2025-08-21 18:04:12 +02:00
brianmcgee
678841e64c
Merge pull request 'fix(ui): blurry bold variants for CommitMono' ( #4864 ) from fix/commit-mono-bold into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4864
2025-08-21 15:37:21 +00:00
Johannes Kirschbauer
74549164e4
ui/toolbarButton: wrap in tooltip for always having more information
2025-08-21 17:36:01 +02:00
Johannes Kirschbauer
6afe8695de
ui/tooltip: refactor tooltip
2025-08-21 17:35:13 +02:00
Brian McGee
460800b6fb
fix(ui): blurry bold variants for CommitMono
2025-08-21 16:33:51 +01:00
clan-bot
5558bf3b9a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4862 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 15:18:02 +00:00
clan-bot
62701f7730
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4863 ) from update-devFlake-nixpkgs-dev into main
2025-08-21 15:11:45 +00:00
clan-bot
a2f3e2e513
Update nixpkgs-dev in devFlake
2025-08-21 15:01:50 +00:00
clan-bot
4867d467de
Update clan-core-for-checks in devFlake
2025-08-21 15:01:31 +00:00
brianmcgee
d9685acc37
Merge pull request 'feat(ui): introduce a top-level Clan context' ( #4860 ) from feat/handle-clan-switch-errors into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4860
2025-08-21 13:57:13 +00:00
pinpox
1aaa157f20
Merge pull request 'Cleanup machine-id,postgresql test' ( #4858 ) from cleanup-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4858
2025-08-21 12:58:36 +00:00
hsjobeki
9a0ad4182f
Merge pull request 'api/modules: unify frontmatter with module manifest' ( #4847 ) from api-modules-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4847
Reviewed-by: lassulus <clanlol@lassul.us >
2025-08-21 12:56:19 +00:00
pinpox
65d194af58
Cleanup machine-id,postgresql test
2025-08-21 14:52:13 +02:00
Johannes Kirschbauer
1f2f71ab03
lib/modules: make categories class method
2025-08-21 14:41:03 +02:00
Brian McGee
f985187999
feat(ui): introduce a top-level Clan context
2025-08-21 12:20:51 +01:00
clan-bot
396a8d1e5e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4857 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 10:23:58 +00:00
clan-bot
651f630080
Merge pull request 'Update nix-darwin' ( #4856 ) from update-nix-darwin into main
2025-08-21 10:21:19 +00:00
clan-bot
21de41f1c0
Update clan-core-for-checks in devFlake
2025-08-21 10:01:29 +00:00
clan-bot
98e5987e22
Update nix-darwin
2025-08-21 10:00:54 +00:00
brianmcgee
a77af2d379
Merge pull request 'ui/misc-fixes' ( #4855 ) from ui/misc-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4855
2025-08-21 09:58:34 +00:00
Brian McGee
ccde9e0ba6
feat(ui): replace modal backdrop blur with opacity
2025-08-21 10:14:17 +01:00
Brian McGee
6f6f582fe3
feat(ui): improve spacing in sidebar dropdown
2025-08-21 10:04:21 +01:00
pinpox
ec70de406b
Add coredns module
2025-08-21 10:29:54 +02:00
clan-bot
29a3140702
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4854 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 05:20:25 +00:00
clan-bot
465eda24bc
Update clan-core-for-checks in devFlake
2025-08-21 05:01:37 +00:00
clan-bot
2888907109
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4852 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 00:19:00 +00:00
clan-bot
f770f600c6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4853 ) from update-devFlake-nixpkgs-dev into main
2025-08-21 00:10:35 +00:00
clan-bot
729f1673b3
Update nixpkgs-dev in devFlake
2025-08-21 00:01:46 +00:00
clan-bot
7c95cb0177
Update clan-core-for-checks in devFlake
2025-08-21 00:01:30 +00:00
clan-bot
b7f159aea3
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4850 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 20:20:07 +00:00
clan-bot
06a0062311
Update clan-core-for-checks in devFlake
2025-08-20 20:01:29 +00:00
Luis Hebendanz
aa840d9758
Merge pull request 'working check_machine_up_to_date' ( #4754 ) from Qubasa/clan-core:build_is_installed_api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4754
2025-08-20 19:12:53 +00:00
hsjobeki
d1e6da0779
Merge pull request 'api/install: set install date after install' ( #4838 ) from install-done into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4838
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-08-20 19:02:13 +00:00
Johannes Kirschbauer
e6981ddd72
cli/install: add --no-persist-state
...
Skip persisting the current date after successful install
This is a workaround due to incomplete test setup - installing a clan machine without having a clan
2025-08-20 20:46:44 +02:00
Qubasa
101c52f7c2
clan_lib: Add 'address' field to LocalHost
2025-08-20 20:28:21 +02:00
Johannes Kirschbauer
a83f301e59
docs/render: remove dead code
2025-08-20 20:19:49 +02:00
Qubasa
5120d90b85
clanService: telegraf.nix add json exporter over http
2025-08-20 20:17:49 +02:00
Qubasa
ea1e470502
clan_lib: add 'get_metrics' API endpoint
2025-08-20 20:17:14 +02:00
Johannes Kirschbauer
f4d6edc501
api/modules: unify frontmatter with module manifest
2025-08-20 20:15:41 +02:00
Johannes Kirschbauer
cbbc235570
api/modules: rename Frontmatter -> ModulesFrontmatter to make room for other disk templates metadata
2025-08-20 19:46:28 +02:00
brianmcgee
56d9256c02
Merge pull request 'chore(ui): remove close this clan button' ( #4846 ) from chore/remove-close-clan-button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4846
2025-08-20 15:55:50 +00:00
Brian McGee
e131d3d036
chore(ui): remove close this clan button
2025-08-20 16:52:47 +01:00
brianmcgee
7f5b7b5057
Merge pull request 'ui/clan-switching' ( #4844 ) from ui/clan-switching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4844
2025-08-20 15:46:11 +00:00
brianmcgee
c27fa9f56e
Merge pull request 'fix(ui): inverted dividers in SectionGeneral component' ( #4845 ) from fix/inverted-dividers-in-sidebar-pane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4845
2025-08-20 15:41:31 +00:00
Brian McGee
1a1addb19d
fix(ui): cancel loading state properly for select folder button in onboarding
2025-08-20 16:40:50 +01:00
Brian McGee
349da24b29
feat(ui): enable switching between clans
2025-08-20 16:40:49 +01:00
Brian McGee
717f66b613
fix(ui): inverted dividers in SectionGeneral component
...
Closes #4836
2025-08-20 16:37:33 +01:00
clan-bot
dcbc8c9a50
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4842 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 15:21:49 +00:00
Brian McGee
9834f413cc
feat(ui): introduce Add clan button into sidebar
2025-08-20 16:21:40 +01:00
Brian McGee
fb5645ae33
fix(ui): mock machine state in Sidebar stories
2025-08-20 16:21:39 +01:00
Brian McGee
dc311d78e2
fix(ui): add mock api client provider to Sidebar stories
2025-08-20 16:21:39 +01:00
clan-bot
f0b1d8b2af
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4843 ) from update-devFlake-nixpkgs-dev into main
2025-08-20 15:12:06 +00:00
clan-bot
7f0d55ef74
Update nixpkgs-dev in devFlake
2025-08-20 15:01:51 +00:00
clan-bot
6e8860b3a0
Update clan-core-for-checks in devFlake
2025-08-20 15:01:31 +00:00
Mic92
5a5ec468c7
Merge pull request 'clan-cli: use automatic networking for vars upload and machines update' ( #4792 ) from networking_4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4792
2025-08-20 12:42:56 +00:00
Kenji Berthold
fbc2b889b5
Merge pull request 'docs: Fix migration docs for clan modules' ( #4839 ) from kenji/ke-fix-migration-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4839
2025-08-20 12:27:09 +00:00
lassulus
fb094e8f3b
add tor network to default template
2025-08-20 14:24:43 +02:00
lassulus
e2eb26345f
networking: add documentation, unhide from CLI
2025-08-20 14:22:58 +02:00
a-kenji
6f1a94e825
docs: Fix migration docs for clan modules
2025-08-20 14:13:27 +02:00
Johannes Kirschbauer
05951ffdb9
api/install: set install date after install
2025-08-20 13:39:32 +02:00
clan-bot
69de5f10c0
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4833 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 10:20:20 +00:00
Brian McGee
c01a191f3a
feat(ui): history stack for stepper
2025-08-20 11:02:38 +01:00
clan-bot
dfe1a3e67f
Update clan-core-for-checks in devFlake
2025-08-20 10:01:34 +00:00
brianmcgee
e975b67fad
Merge pull request 'fix(ui): de-duplicate clan uris when adding to local storage' ( #4831 ) from ui/deduplicate-clan-storage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4831
2025-08-20 09:38:02 +00:00
Brian McGee
5c08893db0
fix(ui): de-duplicate clan uris when adding to local storage
2025-08-20 10:34:53 +01:00
brianmcgee
cb679dbee2
Merge pull request 'ui/install-workflow-refinements' ( #4827 ) from ui/install-workflow-refinements into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4827
2025-08-20 09:23:04 +00:00
Brian McGee
f339ca0d85
feat(ui): allow installer splash screens to change modal size
2025-08-20 10:19:19 +01:00
Brian McGee
547ba4276e
feat(ui): improve copy in create installer intro
2025-08-20 10:01:40 +01:00
Brian McGee
cae63cc45d
fix(ui): spelling mistake
2025-08-20 10:01:39 +01:00
DavHau
527b4b2e40
vars: ensure shared generators don't depend on machine specific generators
...
A dependency relation like this would not make sense as it would not be clear which machines generator the shared generator would depend on
2025-08-20 15:39:17 +07:00
DavHau
de0b1b2d70
vars: fix regenerating a specific generator
...
This was broken after re-designing the API -> added a test
2025-08-20 14:49:27 +07:00
clan-bot
6996a6340a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4824 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 05:25:25 +00:00
clan-bot
3c433da8f5
Update clan-core-for-checks in devFlake
2025-08-20 05:01:28 +00:00
DavHau
ef2a2bdb67
vars: improve tests for --regenerate
...
Ensures that all generators values actually change after running with --regenerate
2025-08-20 11:59:18 +07:00
DavHau
7b61a668e9
vars: refactor: use Machine objects instead of base_dir strings
...
Replace base_dir string parameters with Machine objects throughout the vars
module for better type safety and consistency.
2025-08-20 11:59:18 +07:00
clan-bot
bdab3e23af
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4822 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 00:18:32 +00:00
clan-bot
2b068928a2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4823 ) from update-devFlake-nixpkgs-dev into main
2025-08-20 00:10:20 +00:00
clan-bot
ec798f89fd
Update nixpkgs-dev in devFlake
2025-08-20 00:01:49 +00:00
clan-bot
9efee40477
Update clan-core-for-checks in devFlake
2025-08-20 00:01:30 +00:00
lassulus
448c22c280
clan-cli: use automatic networking for vars upload and machines update
...
This uses the networking module to find the best_host, as we already do
with ssh and install. So if we don't supply a --target-host and a
networking module is configured, the remote should be autodetected.
Since vars upload doesn't have a --target-host argument, we always try
to use get_best_remote
2025-08-19 23:40:57 +02:00
lassulus
6c6e30ae60
Merge pull request 'Add type to group and owner vars options' ( #4819 ) from fix-4814 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4819
Reviewed-by: lassulus <clanlol@lassul.us >
2025-08-19 21:13:51 +00:00
pinpox
b27ff67a14
Add type to group and owner vars options
2025-08-19 22:46:30 +02:00
clan-bot
c0ffb17e00
Merge pull request 'Update nixpkgs' ( #4818 ) from update-nixpkgs into main
2025-08-19 20:21:34 +00:00
Mic92
e9ccf157b6
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4744 ) from update-devFlake-clan-core-for-checks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4744
2025-08-19 20:21:18 +00:00
clan-bot
451f2427fe
Merge pull request 'Update nixos-facter-modules' ( #4724 ) from update-nixos-facter-modules into main
2025-08-19 20:15:55 +00:00
clan-bot
1676cdd9a4
Update clan-core-for-checks in devFlake
2025-08-19 20:01:30 +00:00
clan-bot
109e6473ab
Update nixpkgs
2025-08-19 20:01:23 +00:00
clan-bot
55acff50d0
Update nixos-facter-modules
2025-08-19 20:00:54 +00:00
hsjobeki
eee1bd1ae0
Merge pull request 'ui/select: display no options placeholder' ( #4817 ) from install-story into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4817
2025-08-19 19:50:56 +00:00
Johannes Kirschbauer
e46d5870ff
ui/select: display no options placeholder
2025-08-19 21:46:26 +02:00
hsjobeki
f6ec32a5d1
Merge pull request 'ui/modal/select: fix z-index stacking' ( #4816 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4816
2025-08-19 17:19:18 +00:00
Johannes Kirschbauer
e336d1b19c
ui/modal/select: fix z-index stacking
2025-08-19 19:15:40 +02:00
brianmcgee
7399f59652
Merge pull request 'fix(ui): reload machine list in sidebar after adding a machine' ( #4815 ) from ui/invalidate-list-query-on-add into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4815
2025-08-19 16:41:31 +00:00
Brian McGee
088abe396e
fix(ui): reload machine list in sidebar after adding a machine
2025-08-19 17:37:53 +01:00
Mic92
26b31e24a3
Merge pull request 'Make most vm tests pure.' ( #4796 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4796
2025-08-19 16:10:08 +00:00
brianmcgee
099f4c2b8b
Merge pull request 'feat(api): define list machine options as data class' ( #4811 ) from api/list-machine-data-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4811
2025-08-19 16:07:13 +00:00
brianmcgee
b43605c168
Merge pull request 'ui/filter-usb-devices' ( #4813 ) from ui/filter-usb-devices into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4813
2025-08-19 15:58:27 +00:00
Jörg Thalheim
899dba5a08
tests/vms: add chroot-realpath (needed on aarch64)
2025-08-19 15:53:46 +00:00
Brian McGee
d2b94ced5a
feat(api): define list machine options as data class
2025-08-19 16:51:30 +01:00
Jörg Thalheim
cdf9fa1753
move vm configuration into a stand-alone module and include it in our test vms
...
This hasn't reduced the extra deps we have to pass to our nixos build
unfortunally, but maybe at least it can safe us a few in the future.
2025-08-19 15:45:57 +00:00
Brian McGee
d1e7e2993d
feat(ui): filter block devices in flash installer
...
Only display usb or mmc (SD card) drives.
2025-08-19 16:45:47 +01:00
Brian McGee
e05d85c759
feat(ui): darken modal overlay
2025-08-19 16:13:19 +01:00
clan-bot
53873411a6
Merge pull request 'Update disko' ( #4793 ) from update-disko into main
2025-08-19 14:42:47 +00:00
clan-bot
39e0ab21bd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4794 ) from update-devFlake-nixpkgs-dev into main
2025-08-19 14:28:48 +00:00
clan-bot
8269d869c3
Update disko
2025-08-19 14:24:27 +00:00
clan-bot
e19d1c8122
Update nixpkgs-dev in devFlake
2025-08-19 14:24:17 +00:00
brianmcgee
0cd4ff1b12
Merge pull request 'tracking machine install state' ( #4803 ) from feat/machine-install-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4803
2025-08-19 14:23:35 +00:00
Brian McGee
9aebf02f05
feat(ui): display machine install state and install button
2025-08-19 15:09:34 +01:00
Jörg Thalheim
ffb7b91da7
drop impure checks from ci
2025-08-19 15:28:25 +02:00
Jörg Thalheim
2d264a8e5e
mark vm tests as pure
2025-08-19 15:28:25 +02:00
Mic92
abf6893714
Merge pull request 'Fix aarch64-linux vm support' ( #4810 ) from various-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4810
2025-08-19 13:21:28 +00:00
Jörg Thalheim
699c56c721
qemu: enable usb tablet option only on x86_64-linux
...
at least on aarch64-linux this locks up the hypervisor
2025-08-19 15:16:56 +02:00
Jörg Thalheim
2ce5388a75
qemu: fix machine types for various platforms
2025-08-19 15:16:56 +02:00
Jörg Thalheim
3e664255d6
speed up tests by doing reflink copies
2025-08-19 15:16:56 +02:00
Jörg Thalheim
5b1a9d6848
vms: also prebuild for aarch64
2025-08-19 14:49:52 +02:00
Jörg Thalheim
1850abdd0d
clan-cli/vms/run: generate secret before inspect_vm
...
inspect_vm does some caching, which lead to secrets not beeing found.
2025-08-19 14:49:52 +02:00
Jörg Thalheim
ed503f64da
vms/run: move python import to the top.
2025-08-19 14:49:52 +02:00
Jörg Thalheim
4074a184b2
make vm test pure
2025-08-19 14:47:12 +02:00
Jörg Thalheim
6fe2b06f09
qemu: fix nix chroot store support
2025-08-19 14:47:12 +02:00
Jörg Thalheim
8fe7cb1b3d
virtiofsd: fix nix chroot store support
2025-08-19 14:47:12 +02:00
DavHau
815c6c9438
vars: move generation functions to clan_lib
2025-08-19 18:05:53 +07:00
DavHau
9ce563aa08
vars: log var updates under specific machine
...
This makes it easier in the logs to identify which machine a var update belongs to
2025-08-19 11:03:36 +00:00
hsjobeki
c25844dd07
Merge pull request 'ui/modal: refactor mounting and controlled state' ( #4807 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4807
2025-08-19 10:55:43 +00:00
Johannes Kirschbauer
a167e70e63
ui/modal: refactor mounting and controlled state
2025-08-19 12:52:20 +02:00
hsjobeki
dd96fe6b73
Merge pull request 'ui/routing: re-route on changes not only on page load' ( #4805 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4805
2025-08-19 10:15:59 +00:00
Johannes Kirschbauer
40d35d37e2
ui/routing: re-route on changes not only on page load
2025-08-19 12:10:04 +02:00
Luis Hebendanz
071f0f8034
Merge pull request 'codeowners: init team code owners' ( #4786 ) from codeowners-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4786
Reviewed-by: lassulus <clanlol@lassul.us >
Reviewed-by: pinpox <clan@pablo.tools >
Reviewed-by: DavHau <d.hauer.it@gmail.com >
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-08-19 09:54:33 +00:00
Johannes Kirschbauer
81d88fe253
codeowners: init team code owners
2025-08-19 11:35:10 +02:00
DavHau
ab274ce932
vars: refactor - remove generate_vars() in favor of run_generators()
...
The motivation is to have one shared entry point for the CLI as well as API/GUI
2025-08-19 16:26:53 +07:00
hsjobeki
ba1e598a76
Merge pull request 'ui/alert: migrate to css modules' ( #4802 ) from css-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4802
2025-08-19 08:58:22 +00:00
Johannes Kirschbauer
b5d29bd301
ui/alert: migrate to css modules
2025-08-19 10:27:55 +02:00
Johannes Kirschbauer
e174e8e029
css-modules: add typechecking for css module classes
2025-08-19 10:20:50 +02:00
Kenji Berthold
453d2b4a0a
Merge pull request 'pkgs/remove-moonlight-sunshine-accept: drop' ( #4798 ) from remove-moonlight-sunshine-accept into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4798
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-08-19 07:50:41 +00:00
DavHau
aadc8a1d63
vars: refactor - remove _generate_vars_for_machine function
...
This became unnecessary by now
2025-08-19 07:41:31 +00:00
DavHau
aaca8f4763
vars: refactor - move generator specific code to Generator class
...
Several functions in generate.py were specific to generator instances. Let's move them into the Generator class
2025-08-19 07:41:31 +00:00
DavHau
0a1a63dfdd
Merge pull request 'vars: refactor - remove create_machine_vars_interactive in favor of run_generators' ( #4795 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4795
2025-08-19 06:41:12 +00:00
DavHau
ee87f20471
vars: refactor - remove create_machine_vars_interactive in favor of run_generators
...
The motivation is to create one powerful entrypoint shared by the GUI as well as the CLI in order to not having to maintain too much separate code paths.
As a next step, generate_vars can probably also be removed.
2025-08-19 13:26:38 +07:00
hsjobeki
43febe5f33
Merge pull request 'Typography and contrast improvements for the UI' ( #4797 ) from ui/typography-size-increases into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4797
2025-08-19 06:25:37 +00:00
clan-bot
c63bbabceb
Merge pull request 'Update nuschtos in devFlake' ( #4800 ) from update-devFlake-nuschtos into main
2025-08-19 00:10:33 +00:00
clan-bot
8f1b270b59
Update nuschtos in devFlake
2025-08-19 00:01:53 +00:00
hsjobeki
da0af8bd53
Merge pull request 'Api/schema: improve types top schema conversion' ( #4799 ) from api-types into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4799
2025-08-18 17:48:36 +00:00
Johannes Kirschbauer
f82d18d649
API: rename util file to 'type_to_jsonschema'
2025-08-18 19:30:43 +02:00
Johannes Kirschbauer
287a303484
API/schema: make type conversion more strict in terms of undefined fields
2025-08-18 19:29:54 +02:00
Johannes Kirschbauer
1213608f30
API: init support for narrowing union types
...
This allows to relax constraints on functions using overloaded interfaces
I.e. for unifying logic this allows passing 'callable | dict'
Conretely useful for prompt values that are asked on demand in the cli, vs upfront in the ui
2025-08-18 19:28:47 +02:00
pinpox
fa1693e8c0
pkgs/remove-moonlight-sunshine-accept: drop
...
Removes this package as the module has already be deprecated and removed
2025-08-18 14:39:08 +02:00
Brian McGee
ed3ed7cb2a
chore(ui): lint
2025-08-18 12:52:33 +01:00
Brian McGee
b2e88fb3fa
chore(ui): fmt
2025-08-18 12:52:33 +01:00
Brian McGee
d6ca50218a
feat(ui): increase fg/def/4 from 500 to 600
2025-08-18 12:52:32 +01:00
Brian McGee
7d1f0956d6
feat(ui): refine Tag and line-height for labels
2025-08-18 12:52:32 +01:00
Brian McGee
d150c80854
feat(ui): move sidebar section header outside content
2025-08-18 12:52:31 +01:00
Brian McGee
2d1828d088
feat(ui): better contrast in sidebar
2025-08-18 12:52:31 +01:00
Brian McGee
f7f897a311
feat(ui): add xs button type
2025-08-18 12:52:30 +01:00
Brian McGee
683ffbdc76
feat(ui): refine Select with new typography sizes
2025-08-18 12:52:30 +01:00
Brian McGee
480ad3a5f1
feat(ui): increase label font sizes
2025-08-18 12:52:29 +01:00
Brian McGee
16361f03e9
feat(ui): typography size increases
2025-08-18 12:52:27 +01:00
clan-bot
3fb8b6587d
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4791 ) from update-devFlake-nixpkgs-dev into main
2025-08-17 00:08:28 +00:00
clan-bot
6aee353b43
Update nixpkgs-dev in devFlake
2025-08-17 00:01:48 +00:00
hsjobeki
e109361e81
Merge pull request 'clanModules: remove unused code' ( #4785 ) from clean-dead-code into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4785
2025-08-16 11:03:16 +00:00
Johannes Kirschbauer
3c34f81a44
inventory/tests: remove unused tests
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
72e7c2e9b9
clanModules: cleanup some more unused code
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
03968d8fbc
api/inventory: remove leaked schemas
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
2f27b3941e
lib/inventory: limit access to defined keys
2025-08-16 12:56:30 +02:00
clan-bot
e9dc5b9ba6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4787 ) from update-devFlake-nixpkgs-dev into main
2025-08-16 10:07:46 +00:00
clan-bot
e4ef885cd5
Update nixpkgs-dev in devFlake
2025-08-16 10:01:45 +00:00
Johannes Kirschbauer
9fe457ebd5
lib/clanModules: update nix_models
2025-08-16 11:59:16 +02:00
Johannes Kirschbauer
4a51aa9316
clanModules: remove unused test code
2025-08-16 11:58:55 +02:00
Johannes Kirschbauer
308a10d6e6
clanModules: remove unused code
2025-08-16 11:48:13 +02:00
clan-bot
90f513a08f
Merge pull request 'Update nixpkgs' ( #4784 ) from update-nixpkgs into main
2025-08-16 00:21:23 +00:00
clan-bot
4ddc61d132
Update nixpkgs
2025-08-16 00:01:27 +00:00
clan-bot
fc0088e9ea
Merge pull request 'Update nix-darwin' ( #4783 ) from update-nix-darwin into main
2025-08-15 20:16:14 +00:00
clan-bot
71094f7fa1
Update nix-darwin
2025-08-15 20:00:52 +00:00
clan-bot
a8516cf9c6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4782 ) from update-devFlake-nixpkgs-dev into main
2025-08-15 15:08:18 +00:00
clan-bot
a89e2f877a
Update nixpkgs-dev in devFlake
2025-08-15 15:01:50 +00:00
Mic92
ed78e49c47
Merge pull request 'vms/inspect: mark test as pure' ( #4781 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4781
2025-08-15 11:54:46 +00:00
Jörg Thalheim
3ef0a7919d
vms/inspect: mark test as pure
2025-08-15 13:31:27 +02:00
Jörg Thalheim
36812d5f95
test_vars_deployment: simplify test to just start one vm
2025-08-15 13:30:30 +02:00
Mic92
f5bcdb4ba0
Merge pull request 'flakes/inspect: mark test as pure' ( #4779 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4779
2025-08-15 11:28:22 +00:00
Jörg Thalheim
b69ad0eca5
backups/list: mark as pure
2025-08-15 13:10:41 +02:00
Jörg Thalheim
b221c29694
flakes/inspect: mark test as pure
2025-08-15 13:08:30 +02:00
Luis Hebendanz
7dc7f09173
Merge pull request 'clanServices: telegraf -> add basic auth' ( #4777 ) from Qubasa/clan-core:basic_auth_telegraf into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4777
2025-08-15 11:07:44 +00:00
Mic92
ec3d224e1d
Merge pull request 'tests_secrets_generate: mark as pure' ( #4766 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4766
2025-08-15 11:06:47 +00:00
Luis Hebendanz
00c5312080
Merge pull request 'docs: Revamp Getting Started guide for clarity and usability' ( #4776 ) from scriptogre/clan-core:update-getting-started-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4776
2025-08-15 11:04:52 +00:00
Qubasa
7811a56d2b
clanServices: telegraf -> add basic auth
...
treefmt
2025-08-15 18:02:31 +07:00
Jörg Thalheim
e9401177b7
installation: make sure target host is actually down
2025-08-15 12:51:20 +02:00
Jörg Thalheim
ef56258e8b
impure-checks: reduce to 6 jobs
2025-08-15 12:51:20 +02:00
Jörg Thalheim
c4d9b39a17
tests_secrets_generate: mark as pure
2025-08-15 12:51:20 +02:00
Mic92
1f59b75c20
Merge pull request 'Delete old files when deploying docs' ( #4775 ) from deploy-docs-delete into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4775
2025-08-15 10:24:10 +00:00
scriptogre
6b6da7b897
docs: Revamp and simplify Getting Started guide
2025-08-15 13:19:39 +03:00
pinpox
4391c19ee9
Delete old files when deploying docs
2025-08-15 12:04:46 +02:00
hsjobeki
eb993b7060
Merge pull request 'ui/vars: add more vars to install story' ( #4747 ) from ui-install-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4747
2025-08-15 09:14:46 +00:00
Johannes Kirschbauer
08cb6993a8
install/progress: display usb-stick
2025-08-15 11:10:57 +02:00
Johannes Kirschbauer
872f640211
install/assets: init usb-stick png image
2025-08-15 11:04:10 +02:00
Johannes Kirschbauer
c58f7c573d
ui/install: clean up design
2025-08-15 11:04:09 +02:00
Johannes Kirschbauer
7b807a0745
ui/vars: add more vars to install story
2025-08-15 11:04:09 +02:00
pinpox
62805c66ff
Merge pull request 'Add monitoring service' ( #4756 ) from monitoring-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4756
2025-08-15 08:57:36 +00:00
pinpox
30b737ae1f
init telegraph service
2025-08-15 10:54:39 +02:00
Luis Hebendanz
cc41185f98
Merge pull request 'flake.py: Error messages are now always ClanSelectErrors. Improved error messages' ( #4773 ) from Qubasa/clan-core:improve_select_error into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4773
2025-08-15 06:50:46 +00:00
Qubasa
606aae7212
flake.py: Error messages are now always ClanSelectErrors. Improved error messages
...
flake.py: Fix unbound variable
flake.py: Fix test_create.py test
2025-08-15 13:46:12 +07:00
clan-bot
c31d884dc7
Merge pull request 'Update nixpkgs' ( #4772 ) from update-nixpkgs into main
2025-08-15 05:22:06 +00:00
clan-bot
f546ce82f6
Update nixpkgs
2025-08-15 05:01:35 +00:00
clan-bot
b173bc37f5
Merge pull request 'Update nixpkgs' ( #4771 ) from update-nixpkgs into main
2025-08-15 00:18:55 +00:00
clan-bot
0c20cfb34a
Update nixpkgs
2025-08-15 00:01:25 +00:00
clan-bot
6c096a276d
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4770 ) from update-devFlake-nixpkgs-dev into main
2025-08-14 20:08:03 +00:00
clan-bot
b7436b5b7f
Update nixpkgs-dev in devFlake
2025-08-14 20:01:49 +00:00
hsjobeki
a84ab5d4bf
Merge pull request 'exports: rename special args' ( #4765 ) from exports-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4765
2025-08-14 16:11:07 +00:00
Johannes Kirschbauer
a82ecbcbff
docs: update docs for exports
2025-08-14 18:01:19 +02:00
Mic92
4ae3abe8c2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4669 ) from update-devFlake-nixpkgs-dev into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4669
2025-08-14 16:01:05 +00:00
Johannes Kirschbauer
90c7951704
exports: expose in special args or 'perInstance' and 'perMachine'
2025-08-14 17:58:23 +02:00
Johannes Kirschbauer
116ff37156
exports: rename special args
2025-08-14 17:58:23 +02:00
clan-bot
f11df276a9
Update nixpkgs-dev in devFlake
2025-08-14 15:57:22 +00:00
Mic92
d44b43a937
Merge pull request 'test_machines_cli: remove more tests from the impure set' ( #4764 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4764
2025-08-14 15:22:01 +00:00
Jörg Thalheim
716b74bc02
test_machines_cli: remove more tests from the impure set
2025-08-14 17:14:35 +02:00
Mic92
c85969c2b4
Merge pull request 'chore: remove spurious folder' ( #4763 ) from orga into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4763
2025-08-14 15:11:51 +00:00
Johannes Kirschbauer
edb7dcc154
chore: remove spurious folder
2025-08-14 17:06:02 +02:00
Mic92
3586b4f48c
Merge pull request 'clan-cli/machines/list: mark test as pure' ( #4761 ) from no-impure-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4761
2025-08-14 14:59:10 +00:00
Jörg Thalheim
9cdc6a27b6
test_copy_from_nixstore_symlink: drop test.
...
seems a bit overkill to have a test for two lines of python code...
2025-08-14 16:53:39 +02:00
Mic92
ceecdc0eef
Merge pull request 'clan-cli/flash: remove impure tests' ( #4757 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4757
2025-08-14 14:41:12 +00:00
Jörg Thalheim
96014c02c5
clan-cli/templates: mark tests as pure
2025-08-14 16:35:25 +02:00
Jörg Thalheim
810a2c67f9
clan-cli/machines/list: mark test as pure
2025-08-14 16:33:21 +02:00
Jörg Thalheim
fbb28afb2f
clan-cli/flash: make tests runnable in sandbox
2025-08-14 16:23:22 +02:00
hsjobeki
a6ef38dadd
Merge pull request 'vars: move generator class and bound methods into seperate module' ( #4734 ) from generator-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4734
2025-08-14 14:17:14 +00:00
Mic92
328e0b20ac
Merge pull request 'machines/list: make tests pure' ( #4759 ) from no-impure-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4759
2025-08-14 14:07:51 +00:00
brianmcgee
7e77505316
Merge pull request 'fix(ui): host file input max width' ( #4760 ) from fix/host-file-input-max-width into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4760
2025-08-14 14:01:34 +00:00
Brian McGee
245453b461
fix(ui): host file input max width
2025-08-14 14:57:26 +01:00
Jörg Thalheim
21e6a01cf3
machines/list: make tests pure
2025-08-14 15:54:00 +02:00
brianmcgee
302adf6f41
Merge pull request 'chore(ui): general cleanup' ( #4758 ) from chore/cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4758
2025-08-14 13:32:36 +00:00
Brian McGee
f754b88ae4
chore(ui): general cleanup
2025-08-14 14:28:23 +01:00
Mic92
34d27e6bab
Merge pull request 'clan-vm-manager: don't mark test_is_local as impure' ( #4755 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4755
2025-08-14 13:12:59 +00:00
Jörg Thalheim
5817713e39
clan-vm-manager: don't mark test_is_local as impure.
...
should just work without it
2025-08-14 15:09:33 +02:00
clan-bot
cc283e88c9
Merge pull request 'Update disko' ( #4700 ) from update-disko into main
2025-08-14 12:33:03 +00:00
clan-bot
1bb9f4741d
Update disko
2025-08-14 12:12:27 +00:00
clan-bot
0d26e991e6
Merge pull request 'Update nuschtos in devFlake' ( #4674 ) from update-devFlake-nuschtos into main
2025-08-14 12:11:19 +00:00
gitea-actions[bot]
961beda3e5
Update nuschtos in devFlake
2025-08-14 14:07:34 +02:00
clan-bot
0a8a1d4354
Merge pull request 'Update nixpkgs' ( #4667 ) from update-nixpkgs into main
2025-08-14 12:05:03 +00:00
clan-bot
daf8d8e80d
Update nixpkgs
2025-08-14 14:02:09 +02:00
Mic92
011b2a5872
Merge pull request 'update-flake-inputs: set different author' ( #4753 ) from macos-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4753
2025-08-14 11:35:09 +00:00
Jörg Thalheim
da06babcc2
update-flake-inputs: set different author
2025-08-14 13:30:22 +02:00
Mic92
c43eeb68a5
Merge pull request 'macos: don't build devShell until CI error is fixed' ( #4752 ) from macos-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4752
2025-08-14 11:27:30 +00:00
Jörg Thalheim
5e485a37f5
macos: don't build devShell until CI error is fixed
2025-08-14 13:05:02 +02:00
pinpox
ce902bed0a
Merge pull request 'Remove clanModules (again)' ( #4387 ) from remove-modules-new into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4387
2025-08-14 10:39:23 +00:00
pinpox
a5d401b715
Update migration status table
2025-08-14 12:29:27 +02:00
pinpox
2637496059
zt-tcp-relay: drop
2025-08-14 12:03:47 +02:00
pinpox
87c8a4549b
re-add table with migration status
2025-08-14 12:02:40 +02:00
pinpox
35e5f4a42a
Remove clanModules
...
- Removes clanModules in favor of the new clanServices
- Adds a warning and link to the migration guide
2025-08-14 12:02:40 +02:00
pinpox
e4949755d7
Merge pull request 'Migrate matrix-synapse to clan services' ( #4684 ) from migrate-matrix-synapse into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4684
2025-08-14 10:01:14 +00:00
pinpox
b239c5bd88
Migrate matrix-synapse to clan services
2025-08-14 11:54:52 +02:00
Johannes Kirschbauer
4312e3fc2f
vars: move generator class and bound methods into seperate module
2025-08-14 11:05:42 +02:00
hsjobeki
62ef90e959
Merge pull request 'codeowners: remove @lopter due to inactivity' ( #4742 ) from codeowners into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4742
2025-08-13 17:48:08 +00:00
hsjobeki
7fdbd2e3eb
Merge pull request 'dirs: remove unused conditional import' ( #4736 ) from import-cleanup-dirs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4736
2025-08-13 17:46:19 +00:00
hsjobeki
7daebd5ee0
Merge pull request 'networking: remove unused conditional import' ( #4737 ) from networking-import into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4737
2025-08-13 17:46:04 +00:00
hsjobeki
cc8dd0564b
Merge pull request 'askpass: use protocol as interface' ( #4739 ) from interface-askpass into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4739
2025-08-13 17:43:01 +00:00
Johannes Kirschbauer
23e52954c9
codeowners: remove @lopter due to inactivity
2025-08-13 19:41:47 +02:00
hsjobeki
4717d1f149
Merge pull request 'lib/Remote: Unify class method _parse_ssh_uri with class file' ( #4733 ) from imports-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4733
2025-08-13 17:40:36 +00:00
Johannes Kirschbauer
e28f280036
vars: remove unused conditional import
2025-08-13 19:24:53 +02:00
Johannes Kirschbauer
6fa2a977df
askpass: use protocol as interface
...
Avoids a cyclic dependency on the Remote class
Strips down the dependency closure by explizitly declaring what functions it needs
2025-08-13 19:21:18 +02:00
Johannes Kirschbauer
65dba2508f
dirs: remove unused conditional import
2025-08-13 19:04:32 +02:00
Johannes Kirschbauer
9884643070
networking: remove unused conditional import
2025-08-13 19:03:35 +02:00
Johannes Kirschbauer
5083992f7b
lib: remove unused TYPE_CHECKING
2025-08-13 18:26:57 +02:00
Johannes Kirschbauer
6bd8839128
lib/Remote: Unify class method _parse_ssh_uri with class file
2025-08-13 18:26:28 +02:00
clan-bot
765bdb262a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4731 ) from update-devFlake-clan-core-for-checks into main
2025-08-13 15:22:38 +00:00
gitea-actions[bot]
05c00fbe82
Update clan-core-for-checks in devFlake
2025-08-13 15:01:35 +00:00
clan-bot
7e97734797
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4727 ) from update-devFlake-clan-core-for-checks into main
2025-08-13 13:57:32 +00:00
gitea-actions[bot]
6384c4654e
Update clan-core-for-checks in devFlake
2025-08-13 13:54:09 +00:00
DavHau
72d3ad09a4
vars: refactor - pass Machine objects to run_generators
2025-08-13 12:45:47 +00:00
DavHau
a535450ec0
vars: refactor - unify get_generators and _get_closure
2025-08-13 12:45:47 +00:00
Mic92
aaeb616f82
Merge pull request 'Drop update-private-flake-inputs ci action' ( #4730 ) from init-wireguard-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4730
2025-08-13 12:42:59 +00:00
Jörg Thalheim
434edeaae1
drop update-private-flake-inputs
2025-08-13 14:35:43 +02:00
Mic92
a4efd3cb16
Merge pull request 'update-sops-nix2' ( #4719 ) from update-sops-nix2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4719
2025-08-13 12:34:37 +00:00
Jörg Thalheim
13131ccd6e
docs/wireguard: put requirements at the top
2025-08-13 14:34:15 +02:00
hsjobeki
3a8309b01f
Merge pull request 'UI/install: add loading animation' ( #4723 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4723
2025-08-13 12:19:23 +00:00
Johannes Kirschbauer
10065a7c8f
UI/install: add loading to button
2025-08-13 14:15:52 +02:00
Johannes Kirschbauer
176b54e29d
UI/Button: move state out of the button
2025-08-13 14:15:29 +02:00
Jörg Thalheim
be048d8307
morph/flash: use patched clan-core-for-checks
...
the other one doesn't override flake.lock
2025-08-13 11:41:09 +00:00
gitea-actions[bot]
52fcab30e7
Update sops-nix
2025-08-13 11:41:09 +00:00
Mic92
d3b423328f
Merge pull request 'Add wireguard service module' ( #3354 ) from init-wireguard-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3354
2025-08-13 10:55:48 +00:00
Jörg Thalheim
1177e84dcc
vars/generate: print the files that were found when files are missing
...
this helps fixing typos in the generator scripts
2025-08-13 12:29:52 +02:00
pinpox
414952dfa3
Add wireguard service module
2025-08-13 12:29:52 +02:00
DavHau
24194011ac
vars: refactor - remove unnecessary return values
...
The boolean return value signaling if anything was ran or not isn't that useful. We are not doing anything with it.
2025-08-13 12:54:05 +07:00
DavHau
4f78a8ff94
Merge pull request 'networking_3' ( #4507 ) from networking_3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4507
2025-08-13 05:20:03 +00:00
DavHau
068b5d4c1e
install: fix error message when target host not specified
2025-08-13 12:04:14 +07:00
DavHau
adccef4757
install: fix torify package not available
2025-08-13 12:04:14 +07:00
Qubasa
980d94d47d
clan_cli: Improve cli message if no networks present
2025-08-13 12:04:14 +07:00
lassulus
a50b25eea2
clan-cli network: refactor, use new networking in ssh and install commands
2025-08-13 12:04:14 +07:00
lassulus
017989841d
refactor: remove DeployInfo class and use Network/Remote directly
...
- Remove DeployInfo class entirely, replacing with direct Remote usage
- Update parse_qr_json_to_networks to return dict with network and remote
- Refactor all code to work with Remote lists instead of DeployInfo
- Add get_remote_for_machine context manager for network connections
- Update tests to use new Network/Remote structure
2025-08-13 12:04:14 +07:00
lassulus
c14a5fcc69
refactor: move ssh/upload.py from cli to lib
...
Move the upload module to clan_lib to better organize SSH-related
utilities. Updated all imports across the codebase.
2025-08-13 12:04:14 +07:00
clan-bot
4f60345ba7
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4726 ) from update-devFlake-clan-core-for-checks into main
2025-08-13 00:21:42 +00:00
gitea-actions[bot]
ece48d3b5f
Update clan-core-for-checks in devFlake
2025-08-13 00:01:32 +00:00
clan-bot
4eea8d24f0
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4725 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 20:26:23 +00:00
gitea-actions[bot]
49099df3fb
Update clan-core-for-checks in devFlake
2025-08-12 20:01:32 +00:00
Johannes Kirschbauer
62ccba9fb5
ui/install: test connection
2025-08-12 21:04:18 +02:00
Johannes Kirschbauer
0b44770f1f
UI/install: add loading animation
2025-08-12 20:45:55 +02:00
hsjobeki
61c3d7284a
Merge pull request 'pkgs/clan/lib(install): implement separate nixos-anywhere install phases' ( #4710 ) from ke-install-phases into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4710
2025-08-12 15:34:15 +00:00
clan-bot
44b1be5ed4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4717 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 15:30:32 +00:00
Jörg Thalheim
88871bea69
clan_lib/flash: remove trailing whitespace
2025-08-12 17:14:52 +02:00
Johannes Kirschbauer
5141ea047c
install: init secrets
2025-08-12 17:11:58 +02:00
gitea-actions[bot]
ff6a03a646
Update clan-core-for-checks in devFlake
2025-08-12 15:01:31 +00:00
Johannes Kirschbauer
bc379c985d
ui/install: update storybook mock data
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
69d8b029d6
ui/install: fix alignment of some steps
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
f3617b0407
ui/vars: sanitize generator and prompt field names
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
a5205681cc
ui/select: fix z-index of trigger
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
9880847d43
install: add progress to ui
2025-08-12 16:35:34 +02:00
a-kenji
8aa88b22ab
pkgs/clan/lib(install): implement separate nixos-anywhere install phases
...
Split the `nixos-anywhere` phases into it's components,
so we provide the user with better feedback.
Closes : #4682
2025-08-12 16:35:34 +02:00
brianmcgee
ff979eba61
Merge pull request 'ui/integrate-clan-tags-machine-detail' ( #4716 ) from ui/integrate-clan-tags-machine-detail into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4716
2025-08-12 14:20:27 +00:00
Brian McGee
5d1abbd303
feat(ui): integrate tags info from field schema into tags section
2025-08-12 15:16:59 +01:00
Brian McGee
92e9bb2ed8
feat(ui): integrate list_tags api call into machine detail
2025-08-12 14:46:43 +01:00
brianmcgee
ea75c9bfa9
Merge pull request 'feat(ui): add small and transparent variants for Alert component' ( #4713 ) from feat/small-variant-for-alert into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4713
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-08-12 12:04:31 +00:00
hsjobeki
2adf65482d
Merge pull request 'feat(api): add list_inventory_tags' ( #4692 ) from feat/machine-tags-writeability into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4692
2025-08-12 11:33:49 +00:00
DavHau
5684ddf104
vars: health check also for API not just cli
2025-08-12 11:28:02 +00:00
Johannes Kirschbauer
f74e444120
api/tags: add docs
2025-08-12 13:19:11 +02:00
Johannes Kirschbauer
0ef57bfc8e
api/tags: add init.py for pytest
2025-08-12 13:07:36 +02:00
Brian McGee
8f43af3c48
feat(ui): add transparent option for Alert component
2025-08-12 11:52:38 +01:00
Brian McGee
eeaec583cb
feat(ui): add small variant for Alert component
2025-08-12 11:52:37 +01:00
Johannes Kirschbauer
a9d1ff83f2
api/tags: split list into options and non-configurable tags
2025-08-12 12:41:15 +02:00
DavHau
89cb22147c
Revert "machines update: support --target-host localhost"
...
This reverts commit a2818d4946cc66a08b9dd7a1ab95dc48ea708fe3.
Setting `--target-host localhost` breaks with:
sudo: no askpass program specified, try setting SUDO_ASKPASS
2025-08-12 17:39:40 +07:00
Jörg Thalheim
1006fc755e
clanTest/vars-executor: add debugging to finalScript
2025-08-12 12:38:47 +02:00
clan-bot
f100177df3
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4709 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 10:26:57 +00:00
Johannes Kirschbauer
cbd3b08296
api/tags: add from all possible sources
2025-08-12 11:05:10 +01:00
Brian McGee
2608bee30a
feat(api): add list_inventory_tags
2025-08-12 11:05:10 +01:00
gitea-actions[bot]
a29459a384
Update clan-core-for-checks in devFlake
2025-08-12 10:01:30 +00:00
DavHau
1abdd45821
vars: add doc comments for fix() and health_check()
2025-08-12 09:13:54 +00:00
brianmcgee
b058fcc8eb
Merge pull request 'fix(ui): swap colors for inverted/non-inverted in Divider component' ( #4696 ) from fix/invert-default-color-scheme-divider into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4696
2025-08-12 09:09:20 +00:00
Brian McGee
24ae95a007
fix(ui): swap colors for inverted/non-inverted in Divider component
...
Fixes #4602
2025-08-12 10:00:40 +01:00
brianmcgee
39510b613f
Merge pull request 'fix color=inherit in typography component' ( #4693 ) from fix/typography-color-inherit into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4693
2025-08-12 09:00:20 +00:00
Brian McGee
dcdab61d13
feat(ui): improve color=inherit example in typography story
2025-08-12 09:56:26 +01:00
hsjobeki
f86fe07b63
Merge pull request 'fix/commit-mono-woff2' ( #4695 ) from fix/commit-mono-woff2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4695
2025-08-12 07:51:57 +00:00
Brian McGee
84bf9fe3cf
fix(ui): load CommitMono via woff2 instead of OTF
...
Fixes #4611
2025-08-12 07:48:21 +00:00
Luis Hebendanz
9737ce51b1
Merge pull request 'Fix clan select hiding error messages' ( #4704 ) from Qubasa/clan-core:clan_select_error_msg into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4704
2025-08-12 07:46:35 +00:00
Qubasa
3c1c6c1942
flake.py: Add a custom error message for missing clan export
...
test_clan_create_api: Fix check for SelectCmdError
2025-08-12 14:41:26 +07:00
Qubasa
0904c9da60
flake.py: Don't hide error messages
2025-08-12 14:18:19 +07:00
Luis Hebendanz
73e03c21f7
Merge pull request 'templates: Fix missing export of clan = clan.config;' ( #4703 ) from Qubasa/clan-core:fix_templates2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4703
2025-08-12 07:05:07 +00:00
Qubasa
743f05a1b5
templates: Fix missing export of clan = clan.config;
2025-08-12 13:50:09 +07:00
DavHau
e28b8dc944
vars: refactor - health checks on multiple generators
2025-08-12 13:12:49 +07:00
clan-bot
8d871aafe8
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4701 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 05:25:52 +00:00
DavHau
26559ff88b
Merge pull request 'machines update: support --target-host localhost' ( #4623 ) from jfly/clan-core:localhost-as-target-host-without-ssh into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4623
2025-08-12 05:10:53 +00:00
gitea-actions[bot]
b39aead1db
Update clan-core-for-checks in devFlake
2025-08-12 05:01:29 +00:00
DavHau
caae6c7a55
docs: improve wording on getting-started
...
I found the header text to be confusing at places:
- `at least one machine to push to`: Pushing what? Where? DO I ned a git server? Do you mean installing?
-> I re-phrased the text
Also removed the tree command, as this is not available on most systems by default
2025-08-12 11:33:28 +07:00
DavHau
df90fb20a0
clan-lib/hosts: reintroduce test for localhost
2025-08-12 10:18:55 +07:00
clan-bot
d6577ec05d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4698 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 00:17:53 +00:00
gitea-actions[bot]
9a66170aa1
Update clan-core-for-checks in devFlake
2025-08-12 00:01:27 +00:00
clan-bot
3effd8fd9a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4697 ) from update-devFlake-clan-core-for-checks into main
2025-08-11 20:18:06 +00:00
hsjobeki
86d6b42f4c
Merge pull request 'api/machines: add tests for tags readOnly' ( #4694 ) from readonly-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4694
2025-08-11 20:09:25 +00:00
gitea-actions[bot]
5e2ffa9491
Update clan-core-for-checks in devFlake
2025-08-11 20:01:27 +00:00
Mic92
ba58d6d91a
Merge pull request 'devFlake: switch back to main' ( #4691 ) from update-nixpkgs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4691
2025-08-11 16:44:31 +00:00
Jörg Thalheim
38e2d00bbc
flash test: enable useNixStoreImage
...
we had some weird corruption, this hopefully helps. Unclear if it's
slower..
2025-08-11 18:23:28 +02:00
Johannes Kirschbauer
4f29f2e2ca
api/machines: add tests for tags readOnly
2025-08-11 18:07:02 +02:00
Jörg Thalheim
5c23e24315
devFlake: switch back to main
2025-08-11 18:02:56 +02:00
Johannes Kirschbauer
1009c61c9f
api/machines: use get_value_by_path utility for nested dict access
2025-08-11 17:49:25 +02:00
hsjobeki
0817f83b0b
Merge pull request 'api/machines: expose readonly tags' ( #4690 ) from readonly-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4690
2025-08-11 15:40:42 +00:00
Mic92
4f191f3ebe
Merge pull request 'Bump nixpkgs + ci fixes' ( #4688 ) from update-nixpkgs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4688
2025-08-11 15:35:55 +00:00
Johannes Kirschbauer
9f48b7a2fa
inventory: rename 'unmerge-lists' to 'list_difference'
2025-08-11 17:35:31 +02:00
Johannes Kirschbauer
b17466c84b
api/machines: expose readonly tags
2025-08-11 17:30:35 +02:00
Jörg Thalheim
d2814efcde
update: sort precached vars
2025-08-11 17:18:01 +02:00
Jörg Thalheim
6a5a83f57a
devFlake: switch to clan-core-for-checks to this branch
2025-08-11 17:17:27 +02:00
Jörg Thalheim
9e9ab22c37
skip private inputs again
2025-08-11 17:16:34 +02:00
gitea-actions[bot]
2840d3a5fc
Update nixpkgs
2025-08-11 17:16:34 +02:00
clan-bot
a305f98586
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4689 ) from update-devFlake-clan-core-for-checks into main
2025-08-11 15:13:45 +00:00
hsjobeki
96fe387399
Merge pull request 'api: init notification queue' ( #4678 ) from ui-notify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4678
2025-08-11 15:13:42 +00:00
gitea-actions[bot]
d022f26c2c
Update clan-core-for-checks in devFlake
2025-08-11 15:01:28 +00:00
Johannes Kirschbauer
d1f5a8e263
ui/install: set fixed dimensions for modal
2025-08-11 17:00:20 +02:00
Mic92
a6a5c1e21d
Merge pull request 'zt-tcp-relay: 2023-07-11 -> 2025-07-03' ( #4687 ) from zt-tcp-relay into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4687
2025-08-11 14:27:35 +00:00
Jörg Thalheim
f1867bdd7a
zt-tcp-relay: 2023-07-11 -> 2025-07-03
2025-08-11 16:23:10 +02:00
DavHau
ee8e44d255
vars/generators: refactor - identify generators by name + machine
...
This brings us one step closer towards re-generating over multiple machines reliably
2025-08-11 21:02:55 +07:00
Mic92
f730f4fa06
Merge pull request 'make clan-core-for-checks a dev flake input' ( #4247 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4247
2025-08-11 13:45:22 +00:00
Jörg Thalheim
567570e89c
make clan-core-for-checks a dev flake input
2025-08-11 15:36:40 +02:00
Johannes Kirschbauer
54797dd5f5
ui/install: hook up notification bus
2025-08-11 15:30:55 +02:00
Johannes Kirschbauer
c70c588c1c
ui/api: init message bus subscriber hooks
2025-08-11 15:24:41 +02:00
Johannes Kirschbauer
bb6fab1168
api: init notification queue
2025-08-11 15:24:41 +02:00
Johannes Kirschbauer
0859a86ce0
ui/api: simplify types in api
2025-08-11 15:24:41 +02:00
hsjobeki
1524dc963e
Merge pull request 'ui/install: hook up {cancel, close} method' ( #4685 ) from install-cancel into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4685
2025-08-11 13:24:26 +00:00
Johannes Kirschbauer
eebd3fa4ec
ui/install: hook up {cancel, close} method
2025-08-11 15:15:00 +02:00
brianmcgee
a1ff794d57
Merge pull request 'feat: ui/machine-detail-writeability' ( #4577 ) from ui/machine-detail-writeability into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4577
2025-08-11 11:40:30 +00:00
pinpox
6693cda465
Merge pull request 'Refactor admin module' ( #4681 ) from fix-admin-service-split into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4681
2025-08-11 11:36:24 +00:00
Brian McGee
bf0691587d
feat(ui): integrate machine writeability
2025-08-11 12:34:00 +01:00
brianmcgee
deecb966ce
Merge pull request 'wip(ui): MachineTags component and tags section in machine detail pane' ( #4560 ) from ui/machine-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4560
2025-08-11 11:31:11 +00:00
Brian McGee
2d2d9c9dca
chore(ui): remove some console.log statements
2025-08-11 12:21:36 +01:00
Brian McGee
e0e16de144
feat(ui): MachineTags component and tags section in machine detail pane
2025-08-11 12:21:33 +01:00
pinpox
75c60a6103
Refactor admin module
2025-08-11 13:13:24 +02:00
pinpox
1373670dfc
Merge pull request 'Migrate dyndns to clanServices' ( #4390 ) from migrate-dyndns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4390
2025-08-11 10:23:02 +00:00
pinpox
03b13e9ed4
Migrate dyndns to clanServices
2025-08-11 12:19:21 +02:00
pinpox
a79027c312
Merge pull request 'Improve hello-world example service' ( #4679 ) from better-hello into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4679
2025-08-11 10:16:18 +00:00
pinpox
bdcdf4e788
Merge branch 'main' into better-hello
2025-08-11 10:11:42 +00:00
pinpox
e3ed9d7b4b
Improve hello-world example service
2025-08-11 12:03:04 +02:00
Mic92
ddf2b57b3f
Merge pull request 'install: precache vars' ( #4680 ) from install-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4680
2025-08-11 10:02:33 +00:00
Jörg Thalheim
5ab3a164c8
install: precache vars
2025-08-11 11:51:06 +02:00
DavHau
073027f7c6
vars/generate: refactor - mark private as private
2025-08-11 11:46:25 +07:00
DavHau
d0374c0d7c
vars/keygen: add --no-interactive flags
...
This is useful to force on-interactive mode with automatic key selection. In unit tests this is necessary. When debugging a test on a real terminal interactive mode is not desired
2025-08-11 11:29:25 +07:00
clan-bot
6137701532
Merge pull request 'Update Clan Core for Checks' ( #4675 ) from update-clan-core-for-checks into main
2025-08-11 03:03:57 +00:00
clan-bot
1560c5f8cf
Update pinned clan-core for checks
2025-08-11 02:51:46 +00:00
Kenji Berthold
5d884cecc2
Merge pull request 'formatter: init sizelint' ( #4673 ) from kenji/init-sizelint into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4673
2025-08-10 21:57:10 +00:00
a-kenji
8a3cade082
formatter: init sizelint
2025-08-10 23:50:34 +02:00
Kenji Berthold
10b4389309
Merge pull request 'chore(inputs): bump treefmt-nix' ( #4672 ) from kenji/ke-bump-treefmt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4672
2025-08-10 21:49:12 +00:00
a-kenji
2879c72a89
chore(inputs): bump treefmt-nix
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1298185c05a56bff66383a20be0b41a307f52228?narHash=sha256-B%2B3g9%2B76KlGe34Yk9za8AF3RL%2BlnbHXkLiVHLjYVOAc%3D' (2025-08-06)
→ 'github:numtide/treefmt-nix/7d81f6fb2e19bf84f1c65135d1060d829fae2408?narHash=sha256-2vX8QjO5lRsDbNYvN9hVHXLU6oMl%2BV/PsmIiJREG4rE%3D' (2025-08-10)
2025-08-10 23:41:48 +02:00
clan-bot
547e912c4e
Merge pull request 'Update treefmt-nix in devFlake' ( #4671 ) from update-devFlake-treefmt-nix into main
2025-08-10 20:28:18 +00:00
Kenji Berthold
87125f1ff7
Merge branch 'main' into update-devFlake-treefmt-nix
2025-08-10 20:25:17 +00:00
pinpox
804f606384
Merge pull request 'Migrate localbackup to clanServices' ( #4656 ) from migrate-localbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4656
2025-08-10 20:14:27 +00:00
gitea-actions[bot]
997c7de942
Update treefmt-nix in devFlake
2025-08-10 20:06:20 +00:00
hsjobeki
e7323999f2
Merge pull request 'Sops: generate key should always 'generate' a key pair when beeing called' ( #4664 ) from sops-keys into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4664
2025-08-10 12:09:47 +00:00
Johannes Kirschbauer
31d3997358
Secrets: fix tests
2025-08-10 13:06:42 +02:00
Johannes Kirschbauer
62b748624d
Secrets: allow to generate additional keys with --new
2025-08-10 13:04:34 +02:00
Johannes Kirschbauer
29f440a482
Sops: generate key should always 'generate' a key pair when beeing called
...
Check if you want to generate a new key as a caller
2025-08-10 13:04:34 +02:00
clan-bot
f15fd1be52
Merge pull request 'Update Clan Core for Checks' ( #4662 ) from update-clan-core-for-checks into main
2025-08-10 02:59:55 +00:00
clan-bot
beaacf81c6
Update pinned clan-core for checks
2025-08-10 02:51:46 +00:00
pinpox
1ae023f4bf
Remove old backup test
2025-08-10 00:56:36 +02:00
hsjobeki
9becd4e0c4
Merge pull request 'Vars: remove spurious 'fake_prompt' with mocked method' ( #4659 ) from cleaner into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4659
2025-08-09 22:53:18 +00:00
Johannes Kirschbauer
454b09a67e
Vars: remove unused return
2025-08-10 00:19:08 +02:00
Johannes Kirschbauer
787781c2ad
Vars: remove spurious 'fake_prompt' with mocked method
2025-08-10 00:18:01 +02:00
hsjobeki
469c6ba42d
Merge pull request 'UI: Resolve some more install blockers' ( #4657 ) from feat-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4657
2025-08-09 18:12:35 +00:00
hsjobeki
21f335fa15
Merge pull request 'fix: remove spurious test file' ( #4658 ) from cleaner into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4658
2025-08-09 18:08:30 +00:00
Johannes Kirschbauer
d98b76e734
fix: remove spurious test file
2025-08-09 20:04:11 +02:00
Johannes Kirschbauer
e2cb1fd83f
UI/install: run generators
2025-08-09 20:02:06 +02:00
Johannes Kirschbauer
91646b323a
API/generators: adjust filtering to match cli logic
2025-08-09 19:58:23 +02:00
Johannes Kirschbauer
121548ffb7
UI/onboarding: init admin instance
2025-08-09 19:56:23 +02:00
Johannes Kirschbauer
966a3ee919
UI/queries: init generators query
2025-08-09 19:56:23 +02:00
Johannes Kirschbauer
d007b0f1b3
API/generators: expose display attribute of prompts
2025-08-09 19:56:23 +02:00
Johannes Kirschbauer
034982bff2
API/modules: init create_service_instance endpoint
2025-08-09 19:56:04 +02:00
pinpox
7c37bddeea
Add localbackup clan service
2025-08-09 19:52:41 +02:00
Kenji Berthold
c1a87e5c6a
Merge pull request 'pkgs/clan/lib(directory): Add API function to query the configured directory' ( #4655 ) from kenji/ke-add-clan-dir-api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4655
2025-08-09 15:29:55 +00:00
a-kenji
e5bea3d49a
pkgs/clan/lib(directory): Add API function to query the configured directory
...
Similar to the implementation in #4526
Co-authored-by: Mayeu <m@mayeu.me >
2025-08-09 15:39:43 +02:00
hsjobeki
40682972ef
Merge pull request 'UI/install: add configure disk' ( #4653 ) from feat-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4653
2025-08-09 11:55:56 +00:00
Johannes Kirschbauer
6035455cba
Root-password: add display attributes
2025-08-09 13:48:32 +02:00
Johannes Kirschbauer
9be53a9a63
UI/install: add configure disk
2025-08-09 13:48:06 +02:00
Kenji Berthold
29ec9dbe26
Merge pull request 'pkgs/clan/lib: Handle basecase of directory functionality' ( #4654 ) from kenji/ke-add-directory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4654
2025-08-09 11:12:23 +00:00
a-kenji
a1874c940e
pkgs/cli/lib: Fix api test
2025-08-09 12:48:13 +02:00
a-kenji
d115705cb4
pkgs/clan/lib/directory: Improve error message formatting
2025-08-09 12:32:18 +02:00
a-kenji
eceb6eb999
pkgs/clan/lib: Handle basecase of directory functionality
2025-08-09 12:30:28 +02:00
hsjobeki
d25cace522
Merge pull request 'Host: convert to proctocol to avoid forced inheritance' ( #4647 ) from host-protocol into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4647
2025-08-09 09:29:09 +00:00
hsjobeki
3c6567e67d
Merge pull request 'Zerotier: make networkId nullable' ( #4652 ) from install-fixing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4652
2025-08-09 09:22:23 +00:00
Johannes Kirschbauer
628e45293e
Update: avoid mutating and shadowing arguments
2025-08-09 11:18:50 +02:00
Johannes Kirschbauer
954c14513a
Zerotier: make networkId nullable
...
This prevents vars from evaluating if the var doesn't exist
Bootstrapping deadlock
2025-08-09 11:17:16 +02:00
clan-bot
cb8a01d448
Merge pull request 'Update Clan Core for Checks' ( #4651 ) from update-clan-core-for-checks into main
2025-08-09 03:00:19 +00:00
clan-bot
8e53e42b74
Update pinned clan-core for checks
2025-08-09 02:51:46 +00:00
Kenji Berthold
ed596a57f0
Merge pull request 'templates(flake-parts-minimal): Fix erroneous removal' ( #4648 ) from kenji/ke-fix-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4648
2025-08-08 23:07:00 +00:00
a-kenji
b6bccd218a
templates(flake-parts-minimal): Fix erroneous removal
2025-08-09 00:56:21 +02:00
Johannes Kirschbauer
1df9b6e97d
Remote: set default for commance_prefix
2025-08-08 22:48:19 +02:00
Johannes Kirschbauer
58fa7ac32b
Host: convert to proctocol to avoid forced inheritance
2025-08-08 22:33:05 +02:00
hsjobeki
110d1d4921
Merge pull request 'UI/Install workflow: integrate api until hardware report' ( #4646 ) from ui-more into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4646
2025-08-08 19:23:00 +00:00
hsjobeki
46aee098c4
Merge pull request 'API: add sane defaults to some endpoints' ( #4645 ) from readonly into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4645
2025-08-08 19:08:02 +00:00
Johannes Kirschbauer
9d6735e8c4
Ui/install: machine targetHost & hw_report steps
2025-08-08 21:04:39 +02:00
Johannes Kirschbauer
47c94c51b6
UI: finish up create installer subflow
2025-08-08 21:03:53 +02:00
Johannes Kirschbauer
1eb567682c
API/ts: fix empty object is not nullish
2025-08-08 21:03:03 +02:00
Johannes Kirschbauer
fcd83e7a60
Machine: add install button
2025-08-08 21:02:30 +02:00
Johannes Kirschbauer
af4b00408a
UI/queries: add machine hw query
2025-08-08 21:01:24 +02:00
Johannes Kirschbauer
aaff3b9b38
UI/queries: remove unused argument
2025-08-08 21:01:03 +02:00
Johannes Kirschbauer
c13741602c
UI/select: make z-index adjustable
2025-08-08 20:59:55 +02:00
Johannes Kirschbauer
6cbe221f44
UI/modal: fix styling bugs
2025-08-08 20:58:53 +02:00
Johannes Kirschbauer
3cf8f605d5
flash: default keymap and lang
2025-08-08 20:56:45 +02:00
Johannes Kirschbauer
cc07e0ea44
update hw config: add nixos-facter as default
2025-08-08 20:56:15 +02:00
Johannes Kirschbauer
ccb9340478
Host: add None as default to command_prefix
2025-08-08 20:55:54 +02:00
Mic92
df096fe53b
Merge pull request 'switch to flake-compat for private flake' ( #4639 ) from flake-compat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4639
2025-08-08 13:14:07 +00:00
Jörg Thalheim
f248cc91ad
switch to flake-compat for private flake
2025-08-08 15:06:57 +02:00
Jeremy Fleischman
1129862293
machines update: support --target-host localhost
...
This is basically
<af7ce9b8ed >,
but with support for deploying locally.
This failed to install secrets to `/var/lib/sops-nix`. That's because
our `LocalHost` didn't have support for sudo yet. I fixed that.
2025-08-08 12:42:26 +00:00
lassulus
e2cb75784c
Merge pull request 'Add default bootstrapNodes for data-mesher service' ( #4555 ) from fix-4424 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4555
Reviewed-by: lassulus <clanlol@lassul.us >
2025-08-08 12:24:51 +00:00
pinpox
a8d48b22f8
Add default bootstrapnodes for data-mesher service
2025-08-08 11:18:08 +02:00
hsjobeki
c0f2bcf751
Merge pull request 'API/Machine: refactor api returns readonly' ( #4627 ) from readonly into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4627
2025-08-08 08:54:49 +00:00
Johannes Kirschbauer
20c23fa64b
API/Machine: refactor api returns readonly
2025-08-08 10:44:32 +02:00
clan-bot
23573e16c4
Merge pull request 'Update flake-parts' ( #4620 ) from update-flake-parts into main
2025-08-08 07:18:42 +00:00
gitea-actions[bot]
eaee4e8cad
Update flake-parts
2025-08-08 17:08:03 +10:00
clan-bot
10e43a8884
Merge pull request 'Update nixpkgs' ( #4443 ) from update-nixpkgs into main
2025-08-08 05:57:37 +00:00
Michael Hoang
dc1cd03717
Merge pull request 'cli: fix missing newline in error message' ( #4634 ) from push-lnmsprtyuntw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4634
2025-08-08 05:30:05 +00:00
Michael Hoang
a71a5880c1
treewide: reformat
2025-08-08 15:28:37 +10:00
gitea-actions[bot]
6b137f21de
Update nixpkgs
2025-08-08 15:28:37 +10:00
Michael Hoang
fbc14bf20f
Merge pull request 'docs: fix command in Secrets guide' ( #4635 ) from push-mxkpvktxwypw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4635
2025-08-08 05:25:38 +00:00
Michael Hoang
2f2f3b6898
cli: fix missing newline in error message
2025-08-08 15:19:19 +10:00
Michael Hoang
3ae0f37bcb
docs: fix command in Secrets guide
2025-08-08 15:16:58 +10:00
clan-bot
e49d432542
Merge pull request 'Update Clan Core for Checks' ( #4633 ) from update-clan-core-for-checks into main
2025-08-08 03:00:34 +00:00
clan-bot
76955533cf
Update pinned clan-core for checks
2025-08-08 02:51:46 +00:00
hsjobeki
d0ebc75135
Merge pull request 'ui/install: hook up stepper store and api' ( #4626 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4626
2025-08-07 14:21:21 +00:00
Johannes Kirschbauer
40503306d1
cli/flash: fixup types
2025-08-07 16:09:36 +02:00
hsjobeki
da99407e74
Merge pull request 'Vars: rename classmethod to get_machine_generators' ( #4629 ) from vars-fixing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4629
2025-08-07 13:50:38 +00:00
Johannes Kirschbauer
915178765b
Vars: rename classmethod to get_machine_generators
2025-08-07 15:31:17 +02:00
Johannes Kirschbauer
518de45d41
ui/install: hook up stepper store and api
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
7d23189c1c
ui/intall: extend stories to mock router and api
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
eec55f73a2
ui/stepper: add stepper store to hook
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
484d274c3c
ui/queries: add required flash data queries
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
a4b20f9167
UI/queries: migrate existing queries to useApiClient
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
dc7291c62b
UI/api: add api client provider
...
This allows to switch out the used api backend for testing purposes.
Or for different plattforms
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
a814a44bc6
UI/Select: add async option loading
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
86a6177126
UI/useClan: add error debugging
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
4536a5b4f5
clan/flash: provide defaults for verbose flash options
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
a9cfda9acb
dirs: add local path to clan_core flake in dirs
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
b9f60218d7
UI/install: create installer improve wording
2025-08-07 13:46:07 +02:00
clan-bot
f69e28a133
Merge pull request 'Update Clan Core for Checks' ( #4625 ) from update-clan-core-for-checks into main
2025-08-07 03:00:25 +00:00
clan-bot
1968230c28
Update pinned clan-core for checks
2025-08-07 02:51:46 +00:00
clan-bot
9cad074732
Merge pull request 'Update treefmt-nix' ( #4621 ) from update-treefmt-nix into main
2025-08-06 15:20:13 +00:00
gitea-actions[bot]
4859a9ab7c
Update treefmt-nix
2025-08-06 15:01:29 +00:00
hsjobeki
b53ecdc89d
Merge pull request 'UI/install: add machine progress, minor stepper fixes' ( #4619 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4619
2025-08-06 14:49:30 +00:00
Johannes Kirschbauer
19603e1a1c
UI/install: add machine progress
2025-08-06 16:44:30 +02:00
Johannes Kirschbauer
7d20f3a33b
UI/install: create installer improve wording
2025-08-06 16:43:48 +02:00
Johannes Kirschbauer
fa03c190f8
UI/install: split initial choice
2025-08-06 16:43:24 +02:00
Johannes Kirschbauer
65101ad55a
UI/steps: make step footer next text customizable
2025-08-06 16:42:45 +02:00
Johannes Kirschbauer
e5db3e269b
UI/stepper: hooks add helper to more typesafe define steps
2025-08-06 16:42:03 +02:00
Johannes Kirschbauer
073750e4c5
clanServices: update description of generators that can be left empty
2025-08-06 16:41:11 +02:00
DavHau
8bafbcb295
machines update: use 'localhost' for local build
2025-08-06 19:06:20 +07:00
hsjobeki
dbef6ced77
Merge pull request 'cubes and lighting: refinements on coloring of cubes and lighting to fit with design' ( #4617 ) from ui/3d-cubes-refinement into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4617
2025-08-06 10:47:00 +00:00
Timo
65e7f9e6ca
cubes and lighting: refinements on coloring of cubes and lighting to fit with design
2025-08-06 12:33:53 +02:00
Mic92
e1062ed97c
Merge pull request 'docs/update: mention build-host local and uploading flake inputs' ( #4614 ) from local-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4614
2025-08-06 10:18:28 +00:00
Jörg Thalheim
2eb1a56d8f
update.md: mention build-host local and uploading flake inputs
2025-08-06 12:14:35 +02:00
clan-bot
0f499fc651
Merge pull request 'Update Clan Core for Checks' ( #4608 ) from update-clan-core-for-checks into main
2025-08-06 03:00:32 +00:00
clan-bot
bcb7a1aa60
Update pinned clan-core for checks
2025-08-06 02:51:47 +00:00
Mic92
273c83ec27
Merge pull request 'update/flake-upload: use ssh-ng:// for nix copy' ( #4597 ) from local-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4597
2025-08-05 20:47:23 +00:00
clan-bot
c74d7857da
Merge pull request 'Update flake-parts' ( #4607 ) from update-flake-parts into main
2025-08-05 20:12:05 +00:00
gitea-actions[bot]
11405966c6
Update flake-parts
2025-08-05 20:00:50 +00:00
hsjobeki
220839598d
Merge pull request 'UI/install: bootstrap visuals for {createImage, Installer}' ( #4605 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4605
2025-08-05 17:34:14 +00:00
Jörg Thalheim
44dcfa7844
rename --fetch-local to --upload-inputs
2025-08-05 19:31:29 +02:00
Jörg Thalheim
98f685f3ca
update/flake-upload: set correct remote-program for macOS targets
2025-08-05 19:31:29 +02:00
Johannes Kirschbauer
9e43285ba8
UI/install: bootstrap steps for {DiskSchema, Vars, Summary}
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
c0bc0417a6
UI/install: fix metaHeader reactive
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
c90b69d499
UI/install: clean up create steps
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
0240acdf3e
UI/modal: move common styling into meta header
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
92726ecebc
UI/install: installer steps bootstrap visuals {TargetHost,hw_report}
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
b8e9546762
UI/install: bootstrap visuals for createInstaller
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
2039f034b1
UI/steps: minor layout fixes
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
0a329f43a8
UI/Modal: add 'disablePadding'
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
bde0a2845c
UI/LoadingBar: allow injecting props
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
af3c6282c9
UI/Alert: make description optional
2025-08-05 19:29:06 +02:00
hsjobeki
73ab4d2a6e
Merge pull request 'ui/install: add disk selection step to image create' ( #4598 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4598
2025-08-05 16:16:54 +00:00
Johannes Kirschbauer
cc269c4f58
ui/install: add disk selection step to image create
2025-08-05 16:22:44 +02:00
Johannes Kirschbauer
20021a92ea
ui/next-button: fix interface should extend button
2025-08-05 16:22:02 +02:00
Johannes Kirschbauer
7b54e9b033
ui/loading-bar: move into component
2025-08-05 16:20:56 +02:00
hsjobeki
7971eceb74
Merge pull request 'UI: extend components to prepare install workflows' ( #4576 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4576
2025-08-05 13:36:31 +00:00
Johannes Kirschbauer
49a5763f69
Install: split steps into files
2025-08-05 15:32:43 +02:00
Johannes Kirschbauer
10694e58c8
install: use typed stepper
2025-08-05 15:10:38 +02:00
Johannes Kirschbauer
0d919c4fce
hooks/stepper: add generic stepper hook
2025-08-05 15:09:29 +02:00
Johannes Kirschbauer
8cccf757a8
Fix: modal header slot was renamed to metaHeader
2025-08-05 13:52:03 +02:00
Johannes Kirschbauer
80c8cc8628
HostFileInput: allow overriding placeholder
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
ab63f0d7a4
divider: add extra class prop
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
06e0461ec9
Modal: add metaHeader slot, fix border styling
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
60ba00dd8f
Select: add simple select dropdown for single select
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
90ef55f040
Label: add support for kobalte select
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
de81a5d810
Modal: prepare for install flow
2025-08-05 13:48:49 +02:00
Mic92
3fe65f1f12
Merge pull request 'machines update: support local build' ( #4515 ) from local-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4515
2025-08-05 11:28:50 +00:00
Jörg Thalheim
6bb998f9dd
update/flake-upload: use ssh-ng:// for nix copy
...
I had concurrency issues with `nix copy` and the ssh:// protocol when
using a machine both as the build host/target host (for different
machines), where it make the result path partially available to a
different update command thread.
2025-08-05 13:26:34 +02:00
DavHau
af7ce9b8ed
machines update: support local build
...
Now the user can pass `--build-host local`, to select the local machine as a build host, in which case no ssh is used.
This means the admin machine does not necessarily have ssh set up to itself, which was confusing for many users.
Also this makes it easier to re-use a well configured nix remote build setup which is only available on the local machine. Eg if `--build-host local` nix' defaults for remote builds on that machine will be utilized.
2025-08-05 13:16:59 +02:00
DavHau
b74193514d
ssh: refactor callers to use new Host interface
2025-08-05 13:16:59 +02:00
DavHau
c33fd4e504
ssh: Introduce LocalHost vs. Remote via Host interface
...
Motivation: local builds and deployments without ssh
Add a new interface `Host` which is implemented bei either `Remote` or `Localhost`
This simplifies all interactions with hosts. THe caller does ot need to know if the Host is remote or local in mot cases anymore
2025-08-05 13:16:59 +02:00
pinpox
65f3cb562a
Merge pull request 'Reduce targetHost warning level' ( #4594 ) from fix-target-warning into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4594
2025-08-05 09:55:30 +00:00
Mic92
355ff648d7
Merge pull request 'consistently use tarball urls in documentation' ( #4589 ) from no-git-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4589
Reviewed-by: pinpox <clan@pablo.tools >
2025-08-05 09:55:15 +00:00
pinpox
f314eb04d6
Reduce targetHost warning level
...
The documentation currently lists setting targetHost in the NixOS
configuration as a slower, but valid option. Especially for dynamic
values, this is the recommended way but it results in a lot of annyoing
warnings.
This lowers the warning level, so it will only get printed on --debug
2025-08-05 11:52:06 +02:00
clan-bot
ebe206cdc0
Merge pull request 'Update Clan Core for Checks' ( #4593 ) from update-clan-core-for-checks into main
2025-08-05 09:02:50 +00:00
clan-bot
2a138d3248
Update pinned clan-core for checks
2025-08-05 08:53:28 +00:00
Kenji Berthold
77810b1d4f
Merge pull request 'clanServices: migrate syncthing module to clanServices' ( #4558 ) from ke-migrate-clan-module-syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4558
2025-08-05 08:25:07 +00:00
a-kenji
77c840c9ba
services/syncthing: Add basic usage documentation
2025-08-05 10:00:30 +02:00
a-kenji
9df7e6df1e
services/syncthing: Add eval-test
2025-08-05 10:00:30 +02:00
a-kenji
a5e51f658d
clanServices: migrate syncthing module to clanServices
...
Migrate the syncthing module from `clanModules` to `clanServices`.
2025-08-05 10:00:01 +02:00
clan-bot
98d5b3651b
Merge pull request 'Update sops-nix' ( #4591 ) from update-sops-nix into main
2025-08-04 20:12:26 +00:00
gitea-actions[bot]
713a1a550e
Update sops-nix
2025-08-04 20:01:21 +00:00
Jörg Thalheim
d51d656391
consistently use tarball urls in documentation
...
otherwise users not using our templates will find themselves missing
git.
2025-08-04 11:20:14 +02:00
lassulus
0f79af697e
Merge pull request 'simplify select debug output logic, add better error messages' ( #4582 ) from select-debug into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4582
2025-08-02 20:55:31 +00:00
lassulus
0119fc06ca
clan-cli select: show if select is cached or not
2025-08-02 21:26:39 +02:00
lassulus
5361261bd5
clan select: better error
2025-08-02 17:59:12 +02:00
lassulus
86e7bcc389
clan select: simplify select logging
2025-08-02 17:19:35 +02:00
clan-bot
79281aba90
Merge pull request 'Update flake-parts' ( #4581 ) from update-flake-parts into main
2025-08-02 00:13:08 +00:00
gitea-actions[bot]
dade91c292
Update flake-parts
2025-08-02 00:00:52 +00:00
clan-bot
d285a0e716
Merge pull request 'Update treefmt-nix' ( #4579 ) from update-treefmt-nix into main
2025-08-01 20:13:21 +00:00
gitea-actions[bot]
a97128db17
Update treefmt-nix
2025-08-01 20:01:25 +00:00
brianmcgee
ff7b49be5f
Merge pull request 'feat: ui/auto-resizing-textarea' ( #4562 ) from ui/auto-resizing-textarea into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4562
2025-08-01 09:40:33 +00:00
Luis Hebendanz
0b816a2672
Merge pull request 'Fix getting-started guide' ( #4545 ) from Qubasa/clan-core:migrate-dyndns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4545
2025-08-01 08:30:09 +00:00
hsjobeki
e6ec331da0
Merge pull request 'vars: add display attribute submodule for customisable ux' ( #4559 ) from vars-display into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4559
Reviewed-by: DavHau <d.hauer.it@gmail.com >
2025-08-01 07:55:07 +00:00
Qubasa
0b05b0b1ec
docs: review fixups
...
docs: review fixups
docs: review fixups
docs: fixup links in cli
docs: fixup links in cli
2025-08-01 14:53:31 +07:00
Michael Hoang
efd9beba15
Merge pull request 'docs: macOS' ( #4563 ) from push-xptxwrqwvymq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4563
2025-08-01 05:49:35 +00:00
Michael Hoang
dc03a9183f
docs: macOS
2025-08-01 15:45:41 +10:00
Johannes Kirschbauer
ab3158ca07
vars/decrypt_dependencies: simplify
2025-08-01 04:01:43 +00:00
Brian McGee
75a1f7b67f
feat(ui): auto-resizing textarea
2025-07-31 18:50:39 +01:00
brianmcgee
d453720a57
Merge pull request 'feat(ui): add tooltips for general section in machine detail pane' ( #4561 ) from feat/machine-detail-tooltips into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4561
2025-07-31 17:48:27 +00:00
Brian McGee
a4331cc109
feat(ui): add tooltips for general section in machine detail pane
2025-07-31 18:38:56 +01:00
hsjobeki
434ce1af49
Merge pull request 'vars/list: doogfood get_machines into cli' ( #4549 ) from vars-dog into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4549
2025-07-31 17:19:42 +00:00
Johannes Kirschbauer
488ee1ae63
users/display: add display properties
2025-07-31 16:45:20 +02:00
Johannes Kirschbauer
fc2e619046
vars: add display attribute submodule for customizable ux
2025-07-31 16:35:15 +02:00
Johannes Kirschbauer
cf6c3604ca
generators_from_flake: vars always bind to store
2025-07-31 16:16:36 +02:00
hsjobeki
a3ea62caba
Merge pull request 'docs: add vars/gaph doc-strings' ( #4554 ) from vars-docs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4554
2025-07-31 13:37:29 +00:00
Johannes Kirschbauer
e2e4837b29
docs: add vars/gaph doc-strings
2025-07-31 15:26:22 +02:00
Johannes Kirschbauer
96fc3d409a
vars/list: untangle generators_from_flake and get_generators
2025-07-31 15:17:57 +02:00
Johannes Kirschbauer
392f244361
vars/list: doogfood get_machines into cli
...
This is important otherwise cli diverges from api
2025-07-31 14:02:50 +02:00
Qubasa
d2529704d5
docs: Split up getting-started guide in a Physical and Virtual installation, and properly document how to install on non-NixOS machines
...
docs: git add docs
2025-07-31 17:06:44 +07:00
Qubasa
62a3503987
clan-lib: Always set a static private key for nixos-anywhere, to make --phases work properly
2025-07-31 17:06:00 +07:00
Qubasa
c39aa89e29
docs: Add a nixos-anywhere debugging hint
2025-07-31 17:06:00 +07:00
Mic92
d19ac1b9f5
Merge pull request 'machines update: refactor - simplify' ( #4506 ) from simplify-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4506
2025-07-30 18:42:02 +00:00
Jörg Thalheim
57eec8edb4
bump clan-core-for-checks
2025-07-30 20:15:44 +02:00
Jörg Thalheim
e99981cfaf
flake: fix privateInputs loading in nix store contexts
...
When clan-core is fetched via fetchgit (e.g. in tests), the devFlake/private
directory exists but cannot be loaded as a flake. This causes errors when
building test machines.
Fix by:
1. Adding a .skip-private-inputs marker file in clan-core-for-checks to
explicitly disable private inputs in test contexts
2. Checking for this marker file before attempting to load private inputs
3. Keeping the original tryEval approach as a fallback for compatibility
This ensures tests can run without errors while preserving the ability to
load private inputs in development environments.
2025-07-30 20:15:44 +02:00
Jörg Thalheim
ae0ea37437
add update test
2025-07-30 19:13:17 +02:00
Jörg Thalheim
15557cb532
test/installation: drop out-dated comment
2025-07-30 17:58:12 +02:00
Jörg Thalheim
8f3a0b59f3
update-hardware-configuration: remove unused CLAN_FLAKE
2025-07-30 17:49:28 +02:00
Jörg Thalheim
10f731c974
container-test-driver: fix rebuild and make container-test-driver importable
2025-07-30 17:49:28 +02:00
hsjobeki
0e5c8d1a33
Merge pull request 'ui/hostfile: convert to use css modules' ( #4540 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4540
2025-07-30 14:34:52 +00:00
Johannes Kirschbauer
e5f8c515cd
ui/hostfile: convert to use css modules
2025-07-30 16:30:46 +02:00
hsjobeki
e856d4018a
Merge pull request 'ui/button: hide loader when not loading' ( #4539 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4539
2025-07-30 13:50:35 +00:00
Johannes Kirschbauer
17b75500fb
ui/button: hide loader when not loading
2025-07-30 15:46:43 +02:00
Kenji Berthold
cf8b7f63fc
Merge pull request 'pkgs/clan/lib: Move get_clan_directories to dirs' ( #4538 ) from kenji/ke-directory-move into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4538
2025-07-30 13:17:37 +00:00
a-kenji
62c4f735ed
pkgs/clan/lib: Move get_clan_directories to dirs
2025-07-30 15:07:05 +02:00
brianmcgee
cba951b2c5
Merge pull request 'feat: ui/machine-detail-pane' ( #4531 ) from ui/machine-detail-pane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4531
2025-07-30 12:59:27 +00:00
clan-bot
ef6f652b92
Merge pull request 'Update treefmt-nix' ( #4492 ) from update-treefmt-nix into main
2025-07-30 12:39:59 +00:00
Johannes Kirschbauer
3d51cee4bb
ui/modal: autofocus first input
2025-07-30 12:31:10 +00:00
Kenji Berthold
1791743444
Merge pull request 'pkgs/clan/lib: Add clan api to get the relative clan directory' ( #4534 ) from kenji/ke-add-computed-directory-function into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4534
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-07-30 12:30:30 +00:00
gitea-actions[bot]
6208a6e857
Update treefmt-nix
2025-07-30 12:28:55 +00:00
Johannes Kirschbauer
4759cce8a4
ui/modal: autofocus first input
2025-07-30 14:27:10 +02:00
a-kenji
c7ad875e7e
pkgs/clan/lib: Add clan api to get the relative clan directory
...
This is a Continuation of: #4519
2025-07-30 14:22:23 +02:00
hsjobeki
2ef292942f
Merge pull request 'ui/button: fix loader needs explizit styling, not stylable via css leakage anymore' ( #4536 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4536
2025-07-30 12:20:45 +00:00
Johannes Kirschbauer
b83f5d2ffc
ui/button: fix loader needs explizit styling, not stylable via css leakage anymore
2025-07-30 14:16:23 +02:00
hsjobeki
567e8b57cd
Merge pull request 'ui/modal: use css modules' ( #4535 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4535
2025-07-30 11:55:35 +00:00
Johannes Kirschbauer
7f1a7da5c7
ui/modal: use css modules
2025-07-30 13:51:47 +02:00
hsjobeki
bb92ffb898
Merge pull request 'ui/toolbarButton: fix selected state' ( #4533 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4533
2025-07-30 11:45:19 +00:00
Johannes Kirschbauer
7ed62c427c
ui/toolbarButton: fix selected state
2025-07-30 13:40:08 +02:00
Johannes Kirschbauer
596458d809
fix: set fixed height for SidebarSectionForm controls
2025-07-30 12:32:59 +01:00
Brian McGee
f677d96acf
feat(ui): add sidebar pane for machine detail
2025-07-30 12:32:58 +01:00
Brian McGee
2c3b0f3771
feat(ui): use keyed show to re-render Machine route when route changes
2025-07-30 12:32:57 +01:00
Brian McGee
ae20230a57
feat(ui): change machineID to machineName
...
And no longer base64 encode it in url params or cache keys.
The term used in the API is name, so this is aligning with that.
2025-07-30 12:32:57 +01:00
Kenji Berthold
549ba9bdc2
Merge pull request 'pkgs/cli/lib: Remove obsolete clan creation function' ( #4532 ) from kenji/ke-add-computed-directory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4532
2025-07-30 10:52:16 +00:00
a-kenji
e167137672
pkgs/cli/lib: Remove obsolete clan creation function
2025-07-30 12:41:42 +02:00
hsjobeki
e36735119c
Merge pull request 'ui/loader: transform to use css modules' ( #4530 ) from ui-css into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4530
2025-07-30 09:07:59 +00:00
Johannes Kirschbauer
f8cdac2a63
ui/debug: remove floating debug buttons
2025-07-30 11:04:22 +02:00
Johannes Kirschbauer
ea63b4411e
ui/splashscreen: transform to use css modules
2025-07-30 11:03:56 +02:00
Johannes Kirschbauer
a070fc74c1
ui/loader: transform to use css modules
2025-07-30 11:03:56 +02:00
DavHau
b30686269b
machines update: fix lacks a signature by a trusted key
...
Despite using `root` as the ssh user, `ssh-ng` still fails with:
`error: cannot add path '/nix/store/...' because it lacks a signature by a trusted key
`
This does not happen with `ssh` instead of `ssh-ng`
2025-07-30 15:15:57 +07:00
Jörg Thalheim
1626d179a0
run_machine_update: document missing flag
2025-07-30 09:54:50 +02:00
Jörg Thalheim
6ec38c33d7
container-test-driver: fixup /etc/passwd for unprivileged user
...
By default /etc/passwd in container build sandboxes have two users
(root,nixbld) mapped to root. This confuses nix especially it behaves
different if it runs as root. setuid/setgid() is not enough because ssh
will break if the current uid does not exist in /etc/passwd.
Along with this we now also only run the setup for setting up the
network bridge and cgroup filesystems once and not per container.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
fdfbed1a3f
nixos_test_lib/setup_ssh_connection: no forward in container tests
2025-07-30 09:54:50 +02:00
Jörg Thalheim
f44b8c63c2
nixos_test_lib/prepare_test_flake: return a Path instead of str
2025-07-30 09:54:50 +02:00
Jörg Thalheim
092ac21dcd
git_clan_flake_toplevel: gracefully handle permission errors
...
since this code is used as a default in the cli parser, we should not
crash on OSError because we wouldn't be abe to perform basic tasks such
as --help.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
bd6f7b03af
inline find_git_repo_root
2025-07-30 09:54:50 +02:00
Jörg Thalheim
0908a2efb8
don't resolve absolute paths for flake uri
...
pathlib.Path("git+file:///foo").resolve() might resolve to urls like
PosixPath('/home/joerg/work/clan/clan-core/git+file:/foo'). If those
then actually exist, this can have weird behavior. We should in general
avoid changing directories for everything except for subprocess.run.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
6c84b2e100
container-test-driver: also setup network if we start a single container
2025-07-30 09:54:50 +02:00
Jörg Thalheim
de65619442
update: explain why we use sudo rather than --use-remote-sudo
2025-07-30 09:54:50 +02:00
DavHau
85dda9e125
machines update: refactor - simplify
...
This is an attempt to reduce cognitive load when trying to understand the host related logic in run_machine_update.
The change should not affect behavior.
Done:
- make it very clear early on, that build_host == target_host if build_host is not set.
- rename some variables to make relations more clear
- remove `deploy_host` variable. unnecessary complexity
- remove `become_root` variable. After simplifying via boolean algebra, this boils down to `build_host == target_host`.
2025-07-30 09:54:50 +02:00
hsjobeki
7961a92d32
Merge pull request 'ui/toolbar: fix overly specifify css selectors' ( #4525 ) from toolbar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4525
2025-07-30 06:48:52 +00:00
hsjobeki
50ba21316e
Merge pull request 'ui/sidebar: fix close animation' ( #4524 ) from sidebar-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4524
2025-07-29 17:14:33 +00:00
Johannes Kirschbauer
08342578f1
ui/toolbar: fix story types
2025-07-29 19:12:27 +02:00
Johannes Kirschbauer
9954653657
ui/toolbar: use css modules
2025-07-29 19:10:42 +02:00
Johannes Kirschbauer
6e71b541aa
ui/toolbar: fix overly specifify css selectors
2025-07-29 18:50:34 +02:00
Johannes Kirschbauer
0f72f12461
ui/sidebar: fix close animation
...
Animation needs static layout as a starting point
2025-07-29 18:03:00 +02:00
Kenji Berthold
db579e169c
Merge pull request 'pkgs/clan/lib: Fix directory functionality' ( #4519 ) from kenji/ke-fix-directory-usage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4519
2025-07-29 16:01:35 +00:00
a-kenji
31438d6781
pkgs/clan/lib: Fix directory functionality
...
Fix the directory functionality of clan (clan.directory).
The python API interface was not able to distinguish if the directory
was set to anything other than `self.src`.
Breaking every command that relied on the clan directory, for example:
- `clan machines update`
- `clan machines update-hardware-config`
See more in #2906
This is the first step in fixing all those commands.
Individual command support and implementation will be implemented in
follow ups.
2025-07-29 17:51:12 +02:00
Kenji Berthold
eac21c5176
Merge pull request 'pkgs/clan/lib: Fix documentation of from_ssh_uri in the Remote class' ( #4523 ) from kenji/ke-fix-remote-documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4523
2025-07-29 15:47:47 +00:00
Kenji Berthold
2bd432bdb7
Merge pull request 'pkgs/clan/cli: Fix typo in machines update' ( #4522 ) from kenji/ke-machines-update-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4522
2025-07-29 15:46:18 +00:00
a-kenji
7ef09343ed
pkgs/clan/lib: Fix documentation of from_ssh_uri in the Remote class
2025-07-29 17:37:50 +02:00
a-kenji
8c2cee0e44
pkgs/clan/cli: Fix typo in machines update
2025-07-29 17:32:45 +02:00
hsjobeki
b421698f70
Merge pull request 'templates: fix urls for relative file paths' ( #4520 ) from fix-template-urls into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4520
2025-07-29 15:19:20 +00:00
hsjobeki
857b9d0260
Merge pull request 'docs/templates: add more docs for template urls' ( #4521 ) from docs-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4521
2025-07-29 15:11:15 +00:00
Johannes Kirschbauer
2776294de0
templates: url add support for home and abspath
2025-07-29 17:04:15 +02:00
Johannes Kirschbauer
c90b8d7401
templates/cli: add more help
2025-07-29 16:58:19 +02:00
Johannes Kirschbauer
5c746311c7
templates: init docs
2025-07-29 16:50:48 +02:00
Johannes Kirschbauer
7784df8180
templates: fix urls for relative file paths
2025-07-29 15:01:29 +02:00
Kenji Berthold
5d0ca5aff8
Merge pull request 'pkgs/clan/lib: Fix clan template creation when already in a flake' ( #4501 ) from kenji/ke-clan-flakes-create-existing-flake-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4501
2025-07-29 11:19:04 +00:00
a-kenji
3ef6b2f715
pkgs/clan/cli: Add test for builtin flakeref
2025-07-29 13:07:48 +02:00
Kenji Berthold
58053748b9
Merge pull request 'pkgs/clan/cli: Add clan flake validation to clan vars check' ( #4513 ) from kenji/ke-vars-check-validation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4513
2025-07-29 11:03:45 +00:00
DavHau
19a8101e98
Merge pull request 'pkgs/cli/create: Show less output by default' ( #4499 ) from kenji/ke-create-show-less-output into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4499
2025-07-29 10:45:16 +00:00
pinpox
e5cb5afb4b
Merge pull request 'Migrate postgresql to clan.core' ( #4466 ) from postgres-core into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4466
2025-07-29 09:50:08 +00:00
pinpox
b75cf516f6
Merge branch 'main' into postgres-core
2025-07-29 09:41:50 +00:00
pinpox
3c58e2f04e
Migrate postgresql to clan.core
2025-07-29 10:33:14 +02:00
a-kenji
35315d9596
pkgs/clan/cli: Add clan flake validation to clan vars check
...
This now gives a clearer error than:
```
Traceback (most recent call last):
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/bin/.clan-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 516, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 113, in check_command
ok = check_vars(args.machine, args.flake, generator_name=args.generator)
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 103, in check_vars
status = vars_status(machine_name, flake, generator_name=generator_name)
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 41, in vars_status
generators = Generator.generators_from_flake(machine.name, machine.flake)
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/generate.py", line 67, in generators_from_flake
generators_data = flake.select_machine(
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'select_machine'
```
When not being in a flake.
2025-07-29 10:25:28 +02:00
a-kenji
0a43721a45
pkgs/clan/lib: Fix clan template creation when already in a flake
...
Fix clan template creation when already in a flake.
Currently we already fail with very clear and descriptive error when
trying to evaluate the template of the flake we are in:
```
Failed to select template 'flake-parts' from flake '/tmp/superclan' (via attribute path: /tmp/superclan#clanInternals.templates.clan."flake-parts")
```
This is undesired behavior.
When we are trying to create a clan with `clan flakes create`.
We can't rely on the fact that the flake we are currently in exports flake templates.
Now we *try* to evaluate the flake we are in upon creation.
If there are no clan templates available, we now will fall back to
builtin templates.
Closes : #4472
2025-07-26 15:21:44 +02:00
a-kenji
51eb7bd0b5
pkgs/cli/create: Show less output by default
...
This masks the output of `nix flake update`, since it is quite verbose
and takes attention away to usually more interesting and pressing
information.
Example:
```
unpacking 'https://git.clan.lol/clan/clan-core/archive/main.tar.gz ' into the Git cache...
warning: creating lock file "/tmp/hoowowo/clan/flake.lock":
• Added input 'clan-core':
'1d8ac7b1b5 .tar.gz?narHash=sha256-eBxi0ZMwaALfMsP70N0FRMlOSq0qePv%2BjebVBHXlOqk%3D' (2025-07-25)
• Added input 'clan-core/data-mesher':
'18dfd42bdb .tar.gz?narHash=sha256-jyoEbaXa8/MwVQ%2BPajUdT63y3gYhgD9o7snO/SLaikw%3D' (2025-07-21)
• Added input 'clan-core/data-mesher/flake-parts':
follows 'clan-core/flake-parts'
• Added input 'clan-core/data-mesher/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/data-mesher/treefmt-nix':
follows 'clan-core/treefmt-nix'
• Added input 'clan-core/disko':
'github:nix-community/disko/545aba02960caa78a31bd9a8709a0ad4b6320a5c?narHash=sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb%2BmYCodI5uuB8%3D' (2025-07-21)
• Added input 'clan-core/disko/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/flake-parts':
'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
• Added input 'clan-core/flake-parts/nixpkgs-lib':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/nix-darwin':
'github:nix-darwin/nix-darwin/e04a388232d9a6ba56967ce5b53a8a6f713cdfcf?narHash=sha256-HsJM3XLa43WpG%2B665aGEh8iS8AfEwOIQWk3Mke3e7nk%3D' (2025-06-30)
• Added input 'clan-core/nix-darwin/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/nix-select':
'69d8bf5961 .tar.gz?narHash=sha256-IVaoOGDIvAa/8I0sdiiZuKptDldrkDWUNf/%2BezIRhyc%3D' (2025-04-18)
• Added input 'clan-core/nixos-facter-modules':
'github:nix-community/nixos-facter-modules/14df13c84552a7d1f33c1cd18336128fbc43f920?narHash=sha256-uP9Xxw5XcFwjX9lNoYRpybOnIIe1BHfZu5vJnnPg3Jc%3D' (2025-06-20)
• Added input 'clan-core/nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre827262.be9e214982e2/nixexprs.tar.xz?narHash=sha256-lUi%2BsPH7Kuh9uP3PyfgbENcJGReUM8Ffk9GxGBFbSN8%3D ' (1980-01-01)
• Added input 'clan-core/sops-nix':
'github:Mic92/sops-nix/2c8def626f54708a9c38a5861866660395bb3461?narHash=sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U%3D' (2025-07-15)
• Added input 'clan-core/sops-nix/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Added input 'clan-core/treefmt-nix':
'github:numtide/treefmt-nix/421b56313c65a0815a52b424777f55acf0b56ddf?narHash=sha256-tzbhc4XttkyEhswByk5R38l%2BztN9UDbnj0cTcP6Hp9A%3D' (2025-07-20)
• Added input 'clan-core/treefmt-nix/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'flake-parts':
'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
• Added input 'flake-parts/nixpkgs-lib':
follows 'clan-core/nixpkgs'
• Added input 'nixpkgs':
follows 'clan-core/nixpkgs'
```
Those are 48 lines that seldom carry actual useful information.
This can be shown on running `clan flakes create` with the `--debug`
flag.
Closes : #4496
2025-07-26 14:11:56 +02:00