Commit Graph

591 Commits

Author SHA1 Message Date
clan-bot
08871258bb Merge pull request 'add wayland option' (#628) from Mic92-main into main 2023-12-08 14:16:43 +00:00
Jörg Thalheim
0e91f8721f prefix nixpkgs# explicitly in nix_shell
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
clan-bot
90db791ff0 Merge pull request 'Added windows folder' (#624) from Qubasa-main into main 2023-12-08 12:49:07 +00:00
Qubasa
b8bc7a3fcc clan_cli: URI parser now only has HTTP and FILE. Also clan:///home/user or clan://~/Downloads is supported 2023-12-08 13:46:21 +01:00
lassulus
0ab11948e7 backups: implement list the easy way 2023-12-07 13:22:41 +01:00
Jörg Thalheim
b0ecc17645 get rid of task_manager 2023-12-06 15:53:23 +01:00
clan-bot
6e807198d1 Merge pull request 'clan_cli: ClanURI fixed non executing tests' (#611) from Qubasa-main into main 2023-12-06 12:41:16 +00:00
Qubasa
010e0bd3f9 clan_cli: ClanURI fixed non executing tests 2023-12-06 13:38:22 +01:00
clan-bot
0ae283714d Merge pull request 'clan_cli: Remodeled ClanURI parser' (#610) from Qubasa-main into main 2023-12-05 17:19:42 +00:00
Qubasa
9fa88b1599 clan_cli: Remodeled ClanURI parser 2023-12-05 18:16:51 +01:00
Qubasa
34a943b3ad clan_cli: Remodeled ClanURI parser 2023-12-05 18:08:27 +01:00
clan-bot
767817e7fa Merge pull request 'Improved desktop file installation' (#609) from Qubasa-main into main 2023-12-05 15:20:03 +00:00
Qubasa
cebc52ba87 clan_cli: Added ClanURI class parser 2023-12-05 16:17:15 +01:00
clan-bot
1338282c62 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
83dd430d03 implement backup cli for borgbackup 2023-12-04 17:47:23 +01:00
Johannes Kirschbauer
0ae7ce8f7c extend clan history model 2023-12-02 16:16:38 +01:00
Jörg Thalheim
59d1829f4d disallow variable shadowing 2023-11-30 14:31:37 +01:00
Jörg Thalheim
7502184f66 fix build 2023-11-30 11:08:50 +01:00
Jörg Thalheim
9d64ccb08e integegrate remote-viewer instead of spicy 2023-11-29 16:07:12 +01:00
Jörg Thalheim
6f0722c692 modernisation for python 3.11 2023-11-29 13:29:45 +00:00
Jörg Thalheim
7d755beca6 enable more linting 2023-11-29 13:29:45 +00:00
Jörg Thalheim
7d770465d5 test: add ipv6 example without port 2023-11-29 11:38:01 +01:00
Jörg Thalheim
5a8172f232 allow ipv6 addresses in deployment addresses 2023-11-28 10:05:45 +01:00
Jörg Thalheim
4a19e3af95 rename vms create to vms run 2023-11-24 15:00:08 +01:00
Qubasa
dddbe74d6a Added gtk demo app 2023-11-23 15:03:38 +01:00
Qubasa
9698e57fa6 Added more deal tests 2023-11-21 16:44:38 +01:00
Jörg Thalheim
f27b1da6b9 drop dependency on fastapi in the cli 2023-11-21 15:09:18 +01:00
Jörg Thalheim
647a4214fb get rid of pydantic in cli 2023-11-21 12:48:35 +00:00
DavHau
a982084ab4 api/flake/history: implement review requests 2023-11-17 18:26:55 +07:00
DavHau
2306417145 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
11fb73432b 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
082d628497 clan_cli: flake_name -> flake_dir 2023-11-15 16:23:28 +01:00
Jörg Thalheim
f65bd8aa85 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
8b42d0207a add cors headers in exception handler in cors 2023-11-14 16:39:20 +01:00
clan-bot
0f464838f6 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
7fd0f1fbb7 add module for meshnamed 2023-11-14 12:58:15 +01:00
DavHau
9f716741ef api/machines: add test ensuring empty config is valid 2023-11-13 21:56:02 +07:00
DavHau
d755048dc2 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
33944cf74e 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
2fafc9a38b 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
1e2e37880c api/machines: ensure name is valid hostname 2023-11-12 07:57:48 +07:00
Jörg Thalheim
706e7970f4 vms/create: drop extra flake argument and make it work with local flakes 2023-11-10 13:43:14 +01:00
Jörg Thalheim
2924e3e912 drop unused clan_data_dir 2023-11-10 12:55:46 +01:00
Jörg Thalheim
48d7968cf9 move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS 2023-11-10 12:50:51 +01:00
clan-bot
aa15bebb0c 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
e436fef13d allow to persist zerotier identities/ips/meshnames for non-controller 2023-11-10 11:56:54 +01:00
DavHau
170d29a15a api/schema: return list of missing modules 2023-11-10 15:07:15 +07:00
DavHau
da32031eda api/schema: don't crash on eval error 2023-11-10 14:27:03 +07:00
Jörg Thalheim
679b70bb34 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
5d972ed4a4 clan: use .local/share as default for XDG_DATA_HOME 2023-11-09 17:45:24 +01:00