Commit graph

22 commits

Author SHA1 Message Date
52f4747d22 [tutorial v1.1_054] A conditional disabled variable with identifier 2025-11-09 18:39:39 +01:00
ce371d0401 [tutorial v1.1_053] Jinja with a description 2025-11-09 18:39:38 +01:00
87aa3b049a [tutorial v1.1_052] Jinja with a parameter 2025-11-09 18:39:37 +01:00
caa05d51c5 [tutorial v1.1_051] A conditional hidden family with Jinja 2025-11-09 18:39:36 +01:00
fb61e5a5ca [tutorial v1.1_050] Family: a dynamic family 2025-11-09 18:39:35 +01:00
f75f77f1a9 [tutorial v1.1_040] A calculated default value 2025-11-09 18:39:34 +01:00
70f49dc328 [tutorial v1.1_033] A conditional hidden family 2025-11-09 18:39:33 +01:00
b67be5a970 [tutorial v1.1_032] Copy HTTP manual proxy to HTTPS manual proxy 2025-11-09 18:39:32 +01:00
1b48c8ed6a [tutorial v1.1_031] A conditional disabled family 2025-11-09 18:39:31 +01:00
c6e2c5fdcb [tutorial v1.1_030] A disabled family 2025-11-09 18:39:30 +01:00
d4cf78da64 [tutorial v1.1_023] A variable with type "boolean" 2025-11-09 18:39:29 +01:00
3f0b045e88 [tutorial v1.1_022] A variable with type "port" 2025-11-09 18:39:28 +01:00
6aaa6cfe4e [tutorial v1.1_021] A variable with type's parameters 2025-11-09 18:39:27 +01:00
2bab9977d6 [tutorial v1.1_020] A variable with type "domainname" 2025-11-09 18:39:26 +01:00
a38e81a185 [tutorial v1.1_012] Putting a variable inside of a family or a sub family 2025-11-09 18:39:25 +01:00
594236e929 [tutorial v1.1_011] Or a sub family
Inside a family, we can have variables or families.

The "type" for family "manual" became unecessary because container an other family, so it's not a variable.
The description can now be has family comment.

In disabled attribute, it's better tu use relative path (we will see the reason in an other slide).
2025-11-09 18:39:24 +01:00
644c133d01 [tutorial v1.1_010] Creating a new family 2025-11-09 18:39:23 +01:00
fcbfa19ea4 [tutorial v1.1_004] Limits the possible values for the variable
"Foo" should not be an option to the "proxy_mode" variable.

Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected.

We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices.
2025-11-09 18:39:22 +01:00
6a302938b9 [tutorial v1.1_003] Set a default value
Now we can define the default value of this variable.

If the user doesn't touch this variable's value, the value is "No proxy"

As user intervention is no more required, so the variable change it's default mode too (from "basic" to "standard").
2025-11-09 18:39:21 +01:00
0a54d493a1 [tutorial v1.1_002] Describe the variable
We can add a description to this first variable.

This information is useful for:

- documentation
- error message
- help user to known which value to set to this variable (for example with [the user data plugin Questionary](https://forge.cloud.silique.fr/stove/rougail-user-data-questionary)).
2025-11-09 18:39:20 +01:00
e1f0981b57 [tutorial v1.1_001] A first variable with only a name 2025-11-09 18:39:19 +01:00
b02fd4b58b [tutorial v1.1_000] An empty structured file with format version 2025-11-09 18:39:18 +01:00