Johannes Kirschbauer
7f3292ceb0
Docs: improve api docs of {open_file, open_clan_folder}
2025-07-10 18:40:48 +02:00
hsjobeki
387807800e
Merge pull request 'UI/App: improve cube scene' ( #4298 ) from ui-scene into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4298
2025-07-10 16:27:49 +00:00
Johannes Kirschbauer
d0bc2e9074
UI/Cubes: init circle positioning
2025-07-10 18:23:32 +02:00
Johannes Kirschbauer
a5d5736981
UI/qubescene: add create animation
2025-07-10 17:00:36 +02:00
Johannes Kirschbauer
219e974fc6
UI/qubescene: add delete and reposition animation
2025-07-10 16:53:49 +02:00
Johannes Kirschbauer
57fb62c2c8
UI/qubescene: dynamically recalculate the positions
2025-07-10 16:49:14 +02:00
Johannes Kirschbauer
0d5199604e
UI/cubescene: init delete cube
2025-07-10 16:45:49 +02:00
Qubasa
695141b2ae
clan-app: Make http server non blocking, add tests for the http server and for cancelling tasks
2025-07-10 17:21:18 +07:00
Qubasa
70eb67ffd2
stash
2025-07-10 16:09:08 +07:00
Qubasa
90a32dba0f
clan-app: Working swagger requests
2025-07-10 16:09:08 +07:00
Qubasa
dbb3e889e1
clan-lib: Fix @API.register_abstract not throwing correct error when called directly without implementation
...
clan-app: Fix mypy lint
clan-lib: Mark test as with_core
2025-07-10 15:09:51 +07:00
Qubasa
f3873683cc
clan_lib: Add test for check_valid_clan function
2025-07-10 14:20:02 +07:00
Qubasa
b1c3acb008
clan-app: Implement open_clan_folder api request
2025-07-10 14:19:19 +07:00
Qubasa
70f7f7e676
clan-app: Moved thread handling up to the ApiBridge
2025-07-10 12:02:30 +07:00
a-kenji
80655edf6a
pkgs/clan: Fix template listing
2025-07-09 19:29:15 +02:00
hsjobeki
73c74cb967
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
e4de5fe035
openapi: add strict top-level checking
2025-07-09 16:57:06 +02:00
Johannes Kirschbauer
474a0a3f9d
api: rename {list_system_services_mdns, list_system_storage_devices}
2025-07-09 16:51:42 +02:00
lassulus
e5f07cd0d2
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
f646890bb3
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
Luis Hebendanz
260448d734
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
194647dc71
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
6ced2eac05
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
97650daa10
clan-app: Add swagger redirect
2025-07-09 18:48:00 +07:00
Qubasa
6d166cc7a7
clan-app: Cleaned up http code
2025-07-09 18:45:42 +07:00
Qubasa
0987c4b2cc
clan-app: Working swagger
2025-07-09 18:34:58 +07:00
kenji
4cb4a1b81c
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
83c3abc225
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
e12311ff3b
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
0b4eb9202e
clan-app: Better http architecture
2025-07-09 16:40:49 +07:00
Qubasa
053ed833d9
clan-app: init clan http api
...
clan-app: nix fmt
2025-07-09 16:40:49 +07:00
DavHau
8ed2adbc5b
generate_test_vars: fix it
2025-07-09 16:20:37 +07:00
kenji
db0f01a20a
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
7ea0c6d2d1
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
a-kenji
6b4c8fa222
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
Johannes Kirschbauer
186ce03e6d
api: rename run_blocking_task into run_task_blocking
2025-07-09 09:43:56 +02:00
Johannes Kirschbauer
dcc54185f3
openapi: improve spec compat with swagger.io
2025-07-09 09:40:06 +02:00
hsjobeki
7096ed8959
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
da04ab63b2
api/docs: sort resources into tree order
2025-07-08 23:06:20 +02:00
Johannes Kirschbauer
040df8529e
UI: fix lint
2025-07-08 22:36:14 +02:00
Johannes Kirschbauer
8493776ea6
UI: Cubes improve memory usage
2025-07-08 22:33:52 +02:00
Johannes Kirschbauer
f555dd349e
UI: dispay selected cube base
2025-07-08 22:14:44 +02:00
Johannes Kirschbauer
0b2657cb0c
UI: Init CubesScene
...
UI: init cube base scene
2025-07-08 22:14:42 +02:00
kenji
07f30928e6
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
4beff2e023
api: rename 'run_machine_deploy' into 'run_machine_update'
2025-07-08 17:21:18 +02:00
Johannes Kirschbauer
dbafd01482
api/disk_schema: make getter consistent
2025-07-08 17:20:59 +02:00
hsjobeki
311f11698b
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
Johannes Kirschbauer
3e295869cc
api/disk_schema: make getter consistent
2025-07-08 16:31:51 +02:00
Johannes Kirschbauer
ff9f657ba5
UI: remove 2d-ui, its broken now since we deleted the symlinked files in #4266
2025-07-08 16:23:30 +02:00
a-kenji
5c960cfdab
pkgs/cli: Add regression test for clan show
2025-07-08 15:55:01 +02:00