clan-bot
d694ef9bad
Merge pull request 'Improved desktop file installation' ( #609 ) from Qubasa-main into main
2023-12-05 15:20:03 +00:00
Qubasa
63c820ed86
clan_cli: Added ClanURI class parser
2023-12-05 16:17:15 +01:00
clan-bot
0b772668a8
Merge pull request 'backups: add clanCore backup & clan borgbackup module' ( #605 ) from lassulus-backups into main
2023-12-04 16:51:33 +00:00
lassulus
e772d29f44
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00
Johannes Kirschbauer
bdcf5dbe8b
extend clan history model
2023-12-02 16:16:38 +01:00
Jörg Thalheim
4fd84d1c48
disallow variable shadowing
2023-11-30 14:31:37 +01:00
Jörg Thalheim
31ce8f7357
fix build
2023-11-30 11:08:50 +01:00
Jörg Thalheim
3ae1c9cf75
integegrate remote-viewer instead of spicy
2023-11-29 16:07:12 +01:00
Jörg Thalheim
f1b223d0a1
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
Jörg Thalheim
26e3e3872c
enable more linting
2023-11-29 13:29:45 +00:00
Jörg Thalheim
02a6162a1d
test: add ipv6 example without port
2023-11-29 11:38:01 +01:00
Jörg Thalheim
303df741e9
allow ipv6 addresses in deployment addresses
2023-11-28 10:05:45 +01:00
Jörg Thalheim
884c200061
rename vms create to vms run
2023-11-24 15:00:08 +01:00
Qubasa
832c41df7e
Added gtk demo app
2023-11-23 15:03:38 +01:00
Qubasa
17c71d2f40
Added more deal tests
2023-11-21 16:44:38 +01:00
Jörg Thalheim
8759e5a049
drop dependency on fastapi in the cli
2023-11-21 15:09:18 +01:00
Jörg Thalheim
7afaaf8c5a
get rid of pydantic in cli
2023-11-21 12:48:35 +00:00
DavHau
c46638f589
api/flake/history: implement review requests
2023-11-17 18:26:55 +07:00
DavHau
64649ff7a9
api/flake/list_history: init
...
Add an api endpoint to list the history of clan flakes that have been interacted with
Also add `clan flake list`
2023-11-17 17:56:14 +07:00
DavHau
999ad67277
api/flake/add: init
...
Adds an endpoint to memoize clans.
clan flakes can be added to the history either via the endpoint or by executing `clan flakes add`
2023-11-17 17:05:15 +07:00
lassulus
1ea13646ea
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
Jörg Thalheim
b9618e57c5
fix exception when file does not exist
...
fixes https://git.clan.lol/clan/clan-core/issues/488
2023-11-14 16:57:05 +01:00
Jörg Thalheim
19d7f17310
add cors headers in exception handler in cors
2023-11-14 16:39:20 +01:00
clan-bot
f2e2d50c06
Merge pull request 'add module for meshnamed' ( #499 ) from Mic92-sops-nix into main
2023-11-14 12:01:26 +00:00
Jörg Thalheim
bdc8ef63ed
add module for meshnamed
2023-11-14 12:58:15 +01:00
DavHau
2dcdf738ce
api/machines: add test ensuring empty config is valid
2023-11-13 21:56:02 +07:00
DavHau
6a52c5f15b
api/machines: allow config verification on imaginary machines
...
Machines do not need to exist in order to verify their configuration.
This allows verifying a config before creating an actual machine with it.
2023-11-13 21:24:05 +07:00
DavHau
55a1df7868
api/machines: verify config by evaluating the .vm output
...
This fixes the problem where fileSystems were missing, or boot.loader was not set.
SInce we want VMs anyways for now, this strategy aligns well
2023-11-13 20:50:11 +07:00
DavHau
1652b5c27b
api/machines: init put_machine replacing create_machine and set_machine_config
...
This allows creating and configuring a machine in one single step.
2023-11-13 20:25:52 +07:00
DavHau
236ca4f98c
api/machines: ensure name is valid hostname
2023-11-12 07:57:48 +07:00
Jörg Thalheim
54ede8a0ff
vms/create: drop extra flake argument and make it work with local flakes
2023-11-10 13:43:14 +01:00
Jörg Thalheim
657cdd6e67
drop unused clan_data_dir
2023-11-10 12:55:46 +01:00
Jörg Thalheim
df1acebd87
move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS
2023-11-10 12:50:51 +01:00
clan-bot
b518d92678
Merge pull request 'zerotier: allow to persist zerotier identities/ips/meshnames for non-controller' ( #482 ) from zerotier into main
2023-11-10 10:59:48 +00:00
Jörg Thalheim
c28089d4b2
allow to persist zerotier identities/ips/meshnames for non-controller
2023-11-10 11:56:54 +01:00
DavHau
39607a0925
api/schema: return list of missing modules
2023-11-10 15:07:15 +07:00
DavHau
97ea9312ac
api/schema: don't crash on eval error
2023-11-10 14:27:03 +07:00
Jörg Thalheim
b8ed607658
also override XDG_DATA_HOME in tests
...
otherwise tests will fail if XDG_DATA_HOME is set by a user
2023-11-09 17:45:24 +01:00
Jörg Thalheim
af0714132d
clan: use .local/share as default for XDG_DATA_HOME
2023-11-09 17:45:24 +01:00
DavHau
2a6e329e40
api/schema: get schema without having a machine
...
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
Qubasa
10e52699be
Fixed wrong examples
2023-11-08 21:40:17 +01:00
Qubasa
7240727b26
Added deal contract framework and testing documentation
2023-11-08 19:56:07 +01:00
DavHau
7e99454462
api/machines: better input/output validation
...
Also move contents tof 'config' to the top-level
2023-11-06 17:56:27 +07:00
lassulus
7b3d3e20b4
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
Qubasa
b09bb155c1
nix fmt
2023-11-03 22:22:16 +01:00
Qubasa
2d4a20457b
Fixing failing test
2023-11-03 22:21:22 +01:00
Qubasa
efa48052cf
API: Added /api/flake/list. Added API grouping and description for better visibility
2023-11-03 22:05:33 +01:00
Qubasa
7a8eef0648
Fixed test_webui only failing in nix_sandbox also fixed test_create_flake
2023-10-29 19:51:35 +01:00
Qubasa
4209da96e9
Fixed test_webui only failing in nix_sandbox
2023-10-29 19:35:29 +01:00
Johannes Kirschbauer
e6675cb4d9
format pytest
2023-10-28 18:38:14 +02:00