Michael Hoang
230f3ad36c
docs: set manifest.readme for services to include README in the docs
2025-07-10 12:55:27 +10:00
renovate[bot]
a18cd40525
chore(deps): update disko digest to 7926429
2025-07-10 02:30:12 +00:00
kenji
1cb1c53dfd
Merge pull request 'pkgs/clan: Fix template listing' ( #4291 ) from kenji/ke-template-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4291
2025-07-09 17:40:01 +00:00
a-kenji
2281e61232
pkgs/clan: Fix template listing
2025-07-09 19:29:15 +02:00
hsjobeki
9300fd9dc7
Merge pull request 'refactor: move docs transformOptions to clanLib to reduce rebuilds' ( #4259 ) from self into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4259
2025-07-09 15:31:25 +00:00
hsjobeki
6ad5d8d28c
Merge pull request 'openapi: add strict top-level checking' ( #4280 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4280
2025-07-09 15:24:45 +00:00
Johannes Kirschbauer
dd1429c89f
Docs: fix rendering clan source code url
2025-07-09 17:24:20 +02:00
Jörg Thalheim
8d4099d13d
refactor: move docs transformOptions to clanLib to reduce rebuilds
...
- Add clanLib.docs.stripStorePathsFromDeclarations to deduplicate code
- Update all documentation generation to use the shared function
- This strips store paths from option declarations to prevent options.json
from rebuilding when only store paths change but content remains the same
- Reduces unnecessary documentation rebuilds when making unrelated changes
2025-07-09 16:59:58 +02:00
Johannes Kirschbauer
e3a882002c
openapi: add strict top-level checking
2025-07-09 16:57:06 +02:00
Johannes Kirschbauer
150e070a09
api: rename {list_system_services_mdns, list_system_storage_devices}
2025-07-09 16:51:42 +02:00
lassulus
cf3e5befda
Merge pull request 'feat: implement macOS sandboxing for vars generation using sandbox-exec' ( #4228 ) from darwin-sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4228
2025-07-09 14:37:24 +00:00
Jörg Thalheim
b53ff99248
sandbox_exec: refactor to use context manager for cleanup
...
Changed sandbox_exec_cmd to return a context manager that automatically
handles profile file cleanup. This ensures the temporary profile is
always removed, even if exceptions occur.
2025-07-09 16:27:04 +02:00
Mic92
0f1b816844
Merge pull request 'bump flake.lock' ( #4290 ) from flakes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4290
2025-07-09 12:53:20 +00:00
Jörg Thalheim
9f1eabd3e1
bump flake.lock
2025-07-09 14:38:23 +02:00
Luis Hebendanz
74489d399a
Merge pull request 'clan-app: init clan http api' ( #4278 ) from Qubasa/clan-core:add_middleware_tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4278
2025-07-09 11:53:10 +00:00
lassulus
7c11ed1d8d
clan-cli: implement macOS sandboxing for vars generation using sandbox-exec
...
Adds macOS sandboxing support similar to Linux bubblewrap implementation:
- Created clan_lib/sandbox_exec module with sandbox profile creation
- Implemented file system isolation allowing only tmpdir and nix store access
- Added network restrictions (deny outbound except localhost)
- Integrated sandbox-exec command into vars generation on macOS
- Added comprehensive test suite for macOS sandbox functionality
- Fixed working directory handling for generators writing to CWD
2025-07-09 13:51:18 +02:00
Mic92
ac7e082ce4
Merge pull request 'generate_test_vars: fix it' ( #4289 ) from generate_test_vars-fix-it into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4289
2025-07-09 11:49:06 +00:00
Qubasa
c76f7bb020
clan-app: Add swagger redirect
2025-07-09 18:48:00 +07:00
Qubasa
317cd7b5f5
clan-app: Cleaned up http code
2025-07-09 18:45:42 +07:00
Qubasa
3fbf34044a
clan-app: Working swagger
2025-07-09 18:34:58 +07:00
kenji
ab7d4409f6
Merge pull request 'pkgs/clan: Fix state list and add regression tests' ( #4284 ) from kenji/ke-test-state-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4284
2025-07-09 11:33:59 +00:00
a-kenji
65778cb9fe
pkgs/clan: Fix state list and add regression tests
...
Fix the `clan state list` subcommands, it now correctly propagates the
flake argument.
Also adds regression tests.
2025-07-09 13:22:21 +02:00
Mic92
8180745c50
Merge pull request 'fix build host with sudo' ( #4267 ) from fix-sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4267
2025-07-09 10:03:01 +00:00
Qubasa
4008d2c165
clan-app: Better http architecture
2025-07-09 16:40:49 +07:00
Qubasa
1c269d1eaa
clan-app: init clan http api
...
clan-app: nix fmt
2025-07-09 16:40:49 +07:00
DavHau
84a21d1bab
generate_test_vars: fix it
2025-07-09 16:20:37 +07:00
kenji
28d5294292
Merge pull request 'pkgs/clan: Add test for clan flash list' ( #4281 ) from kenji/ke-test-flash into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4281
2025-07-09 09:08:34 +00:00
a-kenji
3a52189ed6
pkgs/clan: Add test for clan flash list
...
Add a test for `clan flash list`.
This tests the basic functionality, as well as that listing actually
works.
2025-07-09 11:02:24 +02:00
kenji
5c33e02e24
Merge pull request 'pkgs/clan: Add test for clan templates list' ( #4282 ) from kenji/ke-test-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4282
2025-07-09 08:37:26 +00:00
a-kenji
2aa2145876
pkgs/clan: Add test for clan templates list
...
Add a test for clan templates list.
This tests the basic functionality, as well as that listing actually
works.
2025-07-09 10:29:29 +02:00
hsjobeki
fa517e1149
Merge pull request 'openapi: improve spec compat with swagger.io' ( #4279 ) from openapi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4279
2025-07-09 07:52:49 +00:00
Johannes Kirschbauer
6855ab859d
api: rename run_blocking_task into run_task_blocking
2025-07-09 09:43:56 +02:00
Johannes Kirschbauer
3828a0cf49
openapi: improve spec compat with swagger.io
2025-07-09 09:40:06 +02:00
hsjobeki
75501a914b
Merge pull request 'API Improvements' ( #4276 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4276
2025-07-08 21:17:12 +00:00
Johannes Kirschbauer
c9b8bdd6de
api/docs: sort resources into tree order
2025-07-08 23:06:20 +02:00
hsjobeki
5a4a7e9158
Merge pull request 'UI: init cubes scene' ( #4277 ) from ui-scene into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4277
2025-07-08 20:40:42 +00:00
Johannes Kirschbauer
83ad0ae836
UI: fix lint
2025-07-08 22:36:14 +02:00
Johannes Kirschbauer
57163cf135
UI: Cubes improve memory usage
2025-07-08 22:33:52 +02:00
Johannes Kirschbauer
13185d005d
UI: dispay selected cube base
2025-07-08 22:14:44 +02:00
Johannes Kirschbauer
18a6b57673
UI: Init CubesScene
...
UI: init cube base scene
2025-07-08 22:14:42 +02:00
kenji
31f2c5106d
Merge pull request 'refactor: decouple vars stores from machine instances' ( #4269 ) from davhau/vars-new into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4269
2025-07-08 18:11:03 +00:00
Johannes Kirschbauer
4dfd151cd2
api: rename 'run_machine_deploy' into 'run_machine_update'
2025-07-08 17:21:18 +02:00
Johannes Kirschbauer
8ddd2b607e
api/disk_schema: make getter consistent
2025-07-08 17:20:59 +02:00
hsjobeki
b4544b824a
Merge pull request 'api/disk_schema: rename getter consistent' ( #4274 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4274
2025-07-08 14:43:29 +00:00
hsjobeki
50122c2215
Merge pull request 'docs: disable footer navigation' ( #4275 ) from docs-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4275
2025-07-08 14:42:36 +00:00
Johannes Kirschbauer
c65b35edc1
docs: disable footer navigation
...
This gives the content more space
Especially for plugins (options, developer tabs)
2025-07-08 16:38:33 +02:00
Johannes Kirschbauer
2eb6ee2264
api/disk_schema: make getter consistent
2025-07-08 16:31:51 +02:00
hsjobeki
ec1363aedf
Merge pull request 'UI: remove 2d-ui, its broken now since we deleted the symlinked files in #4266 ' ( #4273 ) from ui-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4273
2025-07-08 14:28:56 +00:00
Johannes Kirschbauer
90495d4157
UI: remove 2d-ui, its broken now since we deleted the symlinked files in #4266
2025-07-08 16:23:30 +02:00
kenji
b8fa4b4677
Merge pull request 'pkgs/cli: Add regression test for clan show' ( #4272 ) from kenji/ke-test-add-show into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4272
2025-07-08 14:01:02 +00:00