DavHau
5d38824d8e
cli/debug: fix web-pdb
2025-09-16 16:37:41 +07:00
Christian Friedow
196d7c95c0
fix: add missing --host-key-check option
2025-09-11 14:30:48 +02:00
Luis Hebendanz
2599998b17
Merge pull request 'add apply "machine" as an alias to clan machines create' ( #5005 ) from apply into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5005
2025-09-09 10:08:58 +00:00
Qubasa
53ce3cf53d
clan-app: Add password input
2025-09-02 17:41:07 +02:00
DavHau
37a49a14f4
vars: fix re-generate behavior for dependencies of shared vars ( #5001 )
...
fixes https://git.clan.lol/clan/clan-core/issues/3791
This fixes multiple issues we had when re-generating shared vars.
Problem 1: shared vars are re-generated for each individual machine instead of just once (see #3791 )
Problem 2: When a shared var was re-generated for one machine, dependent vars on other machines did not get re-generated, leading to broken state
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5001
2025-09-02 14:54:24 +00:00
lassulus
f97e22e125
Merge pull request 'fix: network checking triggering fail2ban' ( #5047 ) from MoritzBoehme/clan-core:fix-network-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5047
2025-09-02 09:49:33 +00:00
Johannes Kirschbauer
c2a3f5e498
api/machines: populate instance_refs
2025-09-01 16:47:47 +02:00
Johannes Kirschbauer
727d4e70ae
api/machines: move configuration data into subattribute
...
This helps to make room for 'instance_refs'
And potentially other metadata that we want to compute and expose
2025-09-01 14:42:12 +02:00
Moritz Böhme
261c5d2be8
fix: network checking triggering fail2ban
2025-09-01 14:17:10 +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
58cfcf3d25
api/modules: delete instances.py duplicate
2025-08-31 15:58:39 +02:00
Jörg Thalheim
8620761bbd
vars: fix var name in error message
2025-08-31 15:23:24 +02: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
Sacha Korban
1a766a3447
fix: check if phases are non-default when running
2025-08-29 17:26:49 +02: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
Jörg Thalheim
758eacd27e
add apply "machine" as an alias to clan machines create
...
I was a bit confused that I was able to list templates but not
apply them. Turns out that "apply" only supported disk templates
2025-08-27 13:39:39 +00: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
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
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
6e4c3a638d
vars: move graph tests to separate file
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
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
647bc4e4df
api/list_modules: return a simpler list of modules
2025-08-26 18:35:43 +02:00
Jörg Thalheim
4cb17d42e1
PLR2004: fix
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
8ba8fda54b
RUF100: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
d5b09f18ed
RET504: fix
2025-08-26 15:55:23 +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
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
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
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
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
Jörg Thalheim
6d2372be56
machines/update: fix incorrecct nixos-rebuild command
2025-08-26 13:11:43 +02:00
Jörg Thalheim
63697ac4b1
various fixes
2025-08-26 13:07:22 +02:00
Jörg Thalheim
1dda60847e
PLW0602: fix
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