Commit graph

41 commits

Author SHA1 Message Date
9c61e428ab [tutorial 077] Jinja calculation for an hidden variable with a potential inaccessible varible 2024-11-02 14:58:50 +01:00
0f264f27a5 [tutorial 076] A variable 2024-11-02 14:58:49 +01:00
8360fff326 [tutorial 075] A variable 2024-11-02 14:58:48 +01:00
61fe68dcbc [tutorial 074] Help 2024-11-02 14:58:47 +01:00
4902435943 [tutorial 073] Examples 2024-11-02 14:58:46 +01:00
f7f1aed26f [tutorial 072] A non mandatory variable 2024-11-02 14:58:44 +01:00
65222d4c4d [tutorial 071] A variable with multiple value 2024-11-02 14:58:43 +01:00
89bc786909 [tutorial 070] A variable with type "domainname", parameters type and disabled 2024-11-02 14:58:42 +01:00
a4962b2fe0 [tutorial 061] A conditional disabled variable 2024-11-02 14:58:41 +01:00
b8d4c93d14 [tutorial 060] A variable with type "web_address" 2024-11-02 14:58:40 +01:00
40fb808dee [tutorial 051] Variable: "shorthand" mode 2024-11-02 14:58:39 +01:00
a8d93fd990 [tutorial 050] Family: "shorthand" mode 2024-11-02 14:58:38 +01:00
d2c31d1e40 [tutorial 044] A conditional disabled variable with identifier 2024-11-02 14:58:37 +01:00
b0287b614c [tutorial 043] Jinja with a description 2024-11-02 14:58:36 +01:00
2f477476fe [tutorial 042] Jinja with a parameter 2024-11-02 14:58:35 +01:00
d9c79ff0c6 [tutorial 041] A conditional hidden family with Jinja 2024-11-02 14:58:34 +01:00
43fd6dd267 [tutorial 040] Family: a dynamic family 2024-11-02 14:58:33 +01:00
cad33b8e72 [tutorial 036] Variable type and parameters type are copied with default value 2024-11-02 14:58:32 +01:00
eb4fd7c024 [tutorial 035] A calculated default value 2024-11-02 14:58:31 +01:00
4baed2b78a [tutorial 034] A conditional hidden family with a variable 2024-11-02 14:58:30 +01:00
3cdb5c7d29 [tutorial 033] An hidden family 2024-11-02 14:58:29 +01:00
de63937bff [tutorial 032] Copy HTTP manual proxy to HTTPS manual proxy 2024-11-02 14:58:28 +01:00
65c3bdbe61 [tutorial 031] Bases type is optional if default value 2024-11-02 14:58:27 +01:00
23717fe0ec [tutorial 030] A variable with type "boolean" 2024-11-02 14:58:26 +01:00
e7d113ce77 [tutorial 029] Type variable is optional 2024-11-02 14:58:25 +01:00
b4abfe9011 [tutorial 028] A conditional disabled family with a variable 2024-11-02 14:58:24 +01:00
ecf1a0c39c [tutorial 027] A disabled family 2024-11-02 14:58:23 +01:00
6f7790355f [tutorial 026] A variable with type "port" 2024-11-02 14:58:22 +01:00
eda6778c25 [tutorial 025] A variable with type's parameters 2024-11-02 14:58:21 +01:00
fe28abaae1 [tutorial 024] A variable with type "domainname" 2024-11-02 14:58:20 +01:00
132b4b97f1 [tutorial 023] Family type is optional 2024-11-02 14:58:19 +01:00
641a5c002c [tutorial 022] A variable inside sub family 2024-11-02 14:58:18 +01:00
81ed005891 [tutorial 021] 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.

In disabled attribute, it's better tu use relative path (we will see the reason in an other slide).
2024-11-02 14:58:17 +01:00
f0c113e63a [tutorial 020] A family
The "manual" mode structural descriptions are write in a new files to separate things. But Rougail will concatenate variables and families.

We create a family, which will contain other variables.

This family has:

- a description
- a type

As there is no variable inside this family, the type is mandatory. Without it, Rougail will create a variable.

In fact, this family will be deleted by Rougail too because it is empty.
2024-11-02 14:58:16 +01:00
297fd1b9bc [tutorial 014] Choice type is optional
The type is optional in choice type (if we have choices attributes, it's a choice option).
2024-11-02 14:58:15 +01:00
b497508f33 [tutorial 013] A variable with type "choice"
"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.
2024-11-02 14:58:14 +01:00
a1969abccd [tutorial 012] 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").
2024-11-02 14:58:14 +01:00
fd8fd30209 [tutorial 011] The variable description
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/gnunux/rougail-user-data-questionary)).
2024-11-02 14:58:13 +01:00
da86875b6f [tutorial 010] A first variable with only a name 2024-11-02 14:58:12 +01:00
20f1849bff [tutorial 001] The format version in commandline 2024-11-02 14:58:11 +01:00
30c2219328 [tutorial 000] A structured file with format version 2024-11-02 14:58:10 +01:00