fix: support mode
This commit is contained in:
parent
76a0a9080b
commit
48668bce75
2602 changed files with 33166 additions and 2227 deletions
|
|
@ -725,7 +725,11 @@ class CommonFormatter:
|
|||
properties.append(self.prop(prop["ori_name"], italic=False, delete=True, underline=False))
|
||||
break
|
||||
if "mode" in contents and "mode" in modified_attributes:
|
||||
properties.append(self.prop(modified_attributes["mode"], italic=False, delete=True, underline=False))
|
||||
name, previous, new = modified_attributes["mode"]
|
||||
if previous:
|
||||
properties.append(self.prop(previous[0], italic=False, delete=True, underline=False))
|
||||
if new:
|
||||
properties.append(self.prop(new[0], italic=False, delete=False, underline=True))
|
||||
if "properties" in modified_attributes:
|
||||
if "properties" in contents:
|
||||
for props in modified_attributes["properties"]:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **var1** +
|
||||
`+++(None, ['basic'], ['standard'])+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` | First variable. +
|
||||
`+++basic+++` `#standard#` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` | First variable. +
|
||||
**Choices**:
|
||||
|
||||
* val1
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`basic`~~ <ins>`standard`</ins> [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>var1</b><br/><mark><del>(None, ['basic'], ['standard'])</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>val1</li>
|
||||
<tr><td><b>var1</b><br/><mark><del>basic</del></mark> <mark><ins>standard</ins></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>val1</li>
|
||||
<li>val2 <ins><b>← (default)</b></ins></li></ul> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`basic`~~ <ins>`standard`</ins> [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m [0m[1;7;9m(None, ['basic'], ['standard'])[0m[1;7m [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7mchoice [0m [1;7m standard [0m [1;7m mandatory [0m │ • val1 │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m [0m[1;4;7mstandard[0m[1;7m [0m [1;7m choice [0m [1;7m standard[0m │ [1mChoices[0m: │
|
||||
│ [1;7mmandatory [0m │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **var1** +
|
||||
`+++(None, ['basic'], ['standard'])+++` `+++mandatory+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` | First variable. +
|
||||
`+++basic+++` `#standard#` `+++mandatory+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` | First variable. +
|
||||
**Choices**:
|
||||
|
||||
* null +++← (default)+++
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.<br/>**Choices**: <br/>• null ~~← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`basic`~~ <ins>`standard`</ins> ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.<br/>**Choices**: <br/>• null ~~← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>var1</b><br/><mark><del>(None, ['basic'], ['standard'])</del></mark> <mark><del>mandatory</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>standard</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>null <del>← (default)</del></li>
|
||||
<tr><td><b>var1</b><br/><mark><del>basic</del></mark> <mark><ins>standard</ins></mark> <mark><del>mandatory</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>standard</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>null <del>← (default)</del></li>
|
||||
<li>val1</li>
|
||||
<li>val2 <ins><b>← (default)</b></ins></li></ul> </td></tr>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.<br/>**Choices**: <br/>• null ~~← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`basic`~~ <ins>`standard`</ins> ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.<br/>**Choices**: <br/>• null ~~← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m [0m[1;7;9m(None, ['basic'], ['standard'])[0m[1;7m [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7;9mmandatory[0m[1;7m [0m [1;7m choice [0m [1;7m standard [0m │ • null [9m← (default)[0m │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m [0m[1;4;7mstandard[0m[1;7m [0m [1;7m [0m[1;7;9mmandatory[0m[1;7m [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7mchoice [0m [1;7m standard [0m │ • null [9m← (default)[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
1
tests/result_tutorial/000/doc.json
Normal file
1
tests/result_tutorial/000/doc.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
23
tests/result_tutorial/001/doc.json
Normal file
23
tests/result_tutorial/001/doc.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"variable_type": "string",
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/001/doc_changelog.sh
Normal file
9
tests/result_tutorial/001/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_mode[0m │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │
|
||||
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
24
tests/result_tutorial/002/doc.json
Normal file
24
tests/result_tutorial/002/doc.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"variable_type": "string",
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/002/doc_changelog.sh
Normal file
9
tests/result_tutorial/002/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_mode[0m │ [4mConfigure Proxy Access to the Internet.[0m │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
28
tests/result_tutorial/003/doc.json
Normal file
28
tests/result_tutorial/003/doc.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "string",
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/003/doc_changelog.sh
Normal file
9
tests/result_tutorial/003/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_mode[0m │ Configure Proxy Access to the Internet. │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m [0m[1;4;7mstandard[0m[1;7m [0m [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: [4mNo proxy[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
38
tests/result_tutorial/010/doc.json
Normal file
38
tests/result_tutorial/010/doc.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
14
tests/result_tutorial/010/doc_changelog.sh
Normal file
14
tests/result_tutorial/010/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_mode[0m │ Configure Proxy Access to the Internet. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • No proxy [1m← (default)[0m │
|
||||
│ │ • [4mAuto-detect proxy settings for this network[0m │
|
||||
│ │ • [4mUse system proxy settings[0m │
|
||||
│ │ • [4mManual proxy configuration[0m │
|
||||
│ │ • [4mAutomatic proxy configuration URL[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
38
tests/result_tutorial/020/doc.json
Normal file
38
tests/result_tutorial/020/doc.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/020/doc_changelog.sh
Normal file
0
tests/result_tutorial/020/doc_changelog.sh
Normal file
38
tests/result_tutorial/021/doc.json
Normal file
38
tests/result_tutorial/021/doc.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/021/doc_changelog.sh
Normal file
0
tests/result_tutorial/021/doc_changelog.sh
Normal file
88
tests/result_tutorial/022/doc.json
Normal file
88
tests/result_tutorial/022/doc.json
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "string",
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/022/doc_changelog.sh
Normal file
9
tests/result_tutorial/022/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.http_proxy.address[0m │ HTTP address. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
92
tests/result_tutorial/030/doc.json
Normal file
92
tests/result_tutorial/030/doc.json
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validator",
|
||||
"values": "type domainname"
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/030/doc_changelog.sh
Normal file
9
tests/result_tutorial/030/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.http_proxy.address[0m │ HTTP address. │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidator[0m: [4mtype domainname[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
95
tests/result_tutorial/031/doc.json
Normal file
95
tests/result_tutorial/031/doc.json
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
tests/result_tutorial/031/doc_changelog.sh
Normal file
11
tests/result_tutorial/031/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.http_proxy.address[0m │ HTTP address. │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • [4mthe domain name can be an IP[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
129
tests/result_tutorial/032/doc.json
Normal file
129
tests/result_tutorial/032/doc.json
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
tests/result_tutorial/032/doc_changelog.sh
Normal file
13
tests/result_tutorial/032/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.http_proxy.port[0m │ HTTP Port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: 8080 │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
155
tests/result_tutorial/033/doc.json
Normal file
155
tests/result_tutorial/033/doc.json
Normal file
|
|
@ -0,0 +1,155 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/033/doc_changelog.sh
Normal file
9
tests/result_tutorial/033/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.use_for_https[0m │ Also use this proxy for HTTPS. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
232
tests/result_tutorial/040/doc.json
Normal file
232
tests/result_tutorial/040/doc.json
Normal file
|
|
@ -0,0 +1,232 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTPS address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTPS Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
18
tests/result_tutorial/040/doc_changelog.sh
Normal file
18
tests/result_tutorial/040/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.https_proxy.address[0m │ HTTPS address. │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.https_proxy.port[0m │ HTTPS Port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: 8080 │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
250
tests/result_tutorial/041/doc.json
Normal file
250
tests/result_tutorial/041/doc.json
Normal file
|
|
@ -0,0 +1,250 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTPS address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTPS Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
20
tests/result_tutorial/041/doc_changelog.sh
Normal file
20
tests/result_tutorial/041/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[1;4;96mModified variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.https_proxy.address[0m │ HTTPS address. │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m [0m[1;4;7mstandard[0m[1;7m [0m [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: [4mthe value of the variable "manual.http_proxy.address"[0m │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.https_proxy.port[0m │ HTTPS Port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: [9m8080[0m │
|
||||
│ │ [4mthe value of the variable "manual.http_proxy.port"[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
38
tests/result_tutorial/050/doc.json
Normal file
38
tests/result_tutorial/050/doc.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/050/doc_changelog.sh
Normal file
9
tests/result_tutorial/050/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• manual.http_proxy.address
|
||||
• manual.http_proxy.port
|
||||
• manual.use_for_https
|
||||
• manual.https_proxy.address
|
||||
• manual.https_proxy.port
|
||||
|
||||
264
tests/result_tutorial/051/doc.json
Normal file
264
tests/result_tutorial/051/doc.json
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTPS address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTPS Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
34
tests/result_tutorial/051/doc_changelog.sh
Normal file
34
tests/result_tutorial/051/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.http_proxy.address[0m │ HTTP address. │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.http_proxy.port[0m │ HTTP Port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: 8080 │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.use_for_https[0m │ Also use this proxy for HTTPS. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.https_proxy.address[0m │ HTTPS address. │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.https_proxy.port[0m │ HTTPS Port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.port" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
169
tests/result_tutorial/052/doc.json
Normal file
169
tests/result_tutorial/052/doc.json
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
6
tests/result_tutorial/052/doc_changelog.sh
Normal file
6
tests/result_tutorial/052/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• manual.https_proxy.address
|
||||
• manual.https_proxy.port
|
||||
|
||||
278
tests/result_tutorial/053/doc.json
Normal file
278
tests/result_tutorial/053/doc.json
Normal file
|
|
@ -0,0 +1,278 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTPS address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTPS Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
19
tests/result_tutorial/053/doc_changelog.sh
Normal file
19
tests/result_tutorial/053/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.https_proxy.address[0m │ HTTPS address. │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.https_proxy.port[0m │ HTTPS Port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.port" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
314
tests/result_tutorial/060/doc.json
Normal file
314
tests/result_tutorial/060/doc.json
Normal file
|
|
@ -0,0 +1,314 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
25
tests/result_tutorial/060/doc_changelog.sh
Normal file
25
tests/result_tutorial/060/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.[0m[1;3mhttps[0m[1m_proxy.address[0m │ [3mHTTPS[0m or [3mSOCKS[0m address. │
|
||||
│ [1mmanual.[0m[1;3msocks[0m[1m_proxy.address[0m │ [1mValidators[0m: │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.[0m[1;3mhttps[0m[1m_proxy.port[0m │ [3mHTTPS[0m or [3mSOCKS[0m port. │
|
||||
│ [1mmanual.[0m[1;3msocks[0m[1m_proxy.port[0m │ [1mValidators[0m: │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.port" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• manual.https_proxy.address
|
||||
• manual.https_proxy.port
|
||||
|
||||
360
tests/result_tutorial/061/doc.json
Normal file
360
tests/result_tutorial/061/doc.json
Normal file
|
|
@ -0,0 +1,360 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.version",
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": "when the identifier is \"HTTPS\""
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5",
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
12
tests/result_tutorial/061/doc_changelog.sh
Normal file
12
tests/result_tutorial/061/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.[0m[1;3msocks[0m[1m_proxy.version[0m │ SOCKS host version used by proxy. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mChoices[0m: │
|
||||
│ │ • v4 │
|
||||
│ │ • v5 [1m← (default)[0m │
|
||||
│ │ [1mDisabled[0m: when the identifier is "HTTPS" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
354
tests/result_tutorial/070/doc.json
Normal file
354
tests/result_tutorial/070/doc.json
Normal file
|
|
@ -0,0 +1,354 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": "depends on a calculation"
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.version",
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": "when the identifier is \"HTTPS\""
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5",
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/070/doc_changelog.sh
Normal file
0
tests/result_tutorial/070/doc_changelog.sh
Normal file
362
tests/result_tutorial/071/doc.json
Normal file
362
tests/result_tutorial/071/doc.json
Normal file
|
|
@ -0,0 +1,362 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "in HTTPS case if \"{0}\" is set to \"true\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "manual.use_for_https",
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.version",
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": "when the identifier is \"HTTPS\""
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5",
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/071/doc_changelog.sh
Normal file
0
tests/result_tutorial/071/doc_changelog.sh
Normal file
362
tests/result_tutorial/072/doc.json
Normal file
362
tests/result_tutorial/072/doc.json
Normal file
|
|
@ -0,0 +1,362 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "in HTTPS case if \"{0}\" is set to \"true\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "manual.use_for_https",
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.version",
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": "when the identifier is \"HTTPS\""
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5",
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/072/doc_changelog.sh
Normal file
0
tests/result_tutorial/072/doc_changelog.sh
Normal file
362
tests/result_tutorial/073/doc.json
Normal file
362
tests/result_tutorial/073/doc.json
Normal file
|
|
@ -0,0 +1,362 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "HTTP address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "HTTP Port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "in HTTPS case if \"{0}\" is set to \"true\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "manual.use_for_https",
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "HTTP Port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.version",
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": "when the identifier is \"HTTPS\""
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5",
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/073/doc_changelog.sh
Normal file
0
tests/result_tutorial/073/doc_changelog.sh
Normal file
362
tests/result_tutorial/080/doc.json
Normal file
362
tests/result_tutorial/080/doc.json
Normal file
|
|
@ -0,0 +1,362 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"{{ identifier }}_proxy": {
|
||||
"type": "dynamic",
|
||||
"informations": {
|
||||
"names": [
|
||||
"https_proxy",
|
||||
"socks_proxy"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy",
|
||||
"description": "{{ identifier }} Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "in HTTPS case if \"{0}\" is set to \"true\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "manual.use_for_https",
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"identifier": [
|
||||
"HTTPS",
|
||||
"SOCKS"
|
||||
],
|
||||
"help": [
|
||||
"This family builds families dynamically"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"names": [
|
||||
"address",
|
||||
"address"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.address",
|
||||
"description": "{{ identifier }} address.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net",
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"names": [
|
||||
"port",
|
||||
"port"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"HTTPS"
|
||||
],
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.port",
|
||||
"description": "{{ identifier }} port.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080",
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"identifiers": [
|
||||
[
|
||||
"SOCKS"
|
||||
]
|
||||
],
|
||||
"path": "manual.{{ identifier }}_proxy.version",
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": "when the identifier is \"HTTPS\""
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5",
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
35
tests/result_tutorial/080/doc_changelog.sh
Normal file
35
tests/result_tutorial/080/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[1;4;96mModified variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.http_proxy.address[0m │ [9mHTTP address.[0m │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m │ [4mProxy address.[0m │
|
||||
│ │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.http_proxy.port[0m │ [9mHTTP Port.[0m │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [4mProxy port.[0m │
|
||||
│ │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: 8080 │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.[0m[1;3mhttps[0m[1m_proxy.address[0m │ [3mHTTPS[0m or [3mSOCKS[0m address. │
|
||||
│ [1mmanual.[0m[1;3msocks[0m[1m_proxy.address[0m │ [1mValidators[0m: │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: [9mthe value of the variable "manual.http_proxy.address"[0m │
|
||||
│ │ [4mthe value of the variable "manual.http_proxy.address"[0m │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.[0m[1;3mhttps[0m[1m_proxy.port[0m │ [3mHTTPS[0m or [3mSOCKS[0m port. │
|
||||
│ [1mmanual.[0m[1;3msocks[0m[1m_proxy.port[0m │ [1mValidators[0m: │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: [9mthe value of the variable "manual.http_proxy.port"[0m │
|
||||
│ │ [4mthe value of the variable "manual.http_proxy.port"[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
406
tests/result_tutorial/081/doc.json
Normal file
406
tests/result_tutorial/081/doc.json
Normal file
|
|
@ -0,0 +1,406 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
tests/result_tutorial/081/doc_changelog.sh
Normal file
46
tests/result_tutorial/081/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmanual.https_proxy.address[0m │ Proxy address. │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.https_proxy.port[0m │ Proxy port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.port" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.socks_proxy.address[0m │ Proxy address. │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.socks_proxy.port[0m │ Proxy port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "manual.http_proxy.port" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mmanual.socks_proxy.version[0m │ SOCKS host version used by proxy. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • v4 │
|
||||
│ │ • v5 [1m← (default)[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• manual.[3mhttps[0m_proxy.address
|
||||
• manual.[3msocks[0m_proxy.address
|
||||
• manual.[3mhttps[0m_proxy.port
|
||||
• manual.[3msocks[0m_proxy.port
|
||||
• manual.[3msocks[0m_proxy.version
|
||||
|
||||
450
tests/result_tutorial/090/doc.json
Normal file
450
tests/result_tutorial/090/doc.json
Normal file
|
|
@ -0,0 +1,450 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
14
tests/result_tutorial/090/doc_changelog.sh
Normal file
14
tests/result_tutorial/090/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mauto[0m │ Automatic proxy configuration URL. │
|
||||
│ [1;7m web address [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" hasn't the value "Automatic proxy configuration URL" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
495
tests/result_tutorial/100/doc.json
Normal file
495
tests/result_tutorial/100/doc.json
Normal file
|
|
@ -0,0 +1,495 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
15
tests/result_tutorial/100/doc_changelog.sh
Normal file
15
tests/result_tutorial/100/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mno_proxy[0m │ Address for which proxy will be desactivated. │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can starts by a dot │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ • the domain name can be network in CIDR format │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" has the value "No proxy" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
504
tests/result_tutorial/101/doc.json
Normal file
504
tests/result_tutorial/101/doc.json
Normal file
|
|
@ -0,0 +1,504 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"multiple": true,
|
||||
"gen_examples": [
|
||||
[
|
||||
"example.net"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
15
tests/result_tutorial/101/doc_changelog.sh
Normal file
15
tests/result_tutorial/101/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mno_proxy[0m │ Address for which proxy will be desactivated. │
|
||||
│ [1;7m domainname [0m [1;7m multiple [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m [1;7m [0m[1;4;7munique[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can starts by a dot │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ • the domain name can be network in CIDR format │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" has the value "No proxy" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
498
tests/result_tutorial/102/doc.json
Normal file
498
tests/result_tutorial/102/doc.json
Normal file
|
|
@ -0,0 +1,498 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"gen_examples": [
|
||||
[
|
||||
"example.net"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
15
tests/result_tutorial/102/doc_changelog.sh
Normal file
15
tests/result_tutorial/102/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mno_proxy[0m │ Address for which proxy will be desactivated. │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m [0m[1;4;7mstandard[0m[1;7m [0m [1;7m [0m[1;7;9mmandatory[0m[1;7m [0m [1;7m domainname [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m [1;7m unique [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can starts by a dot │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ • the domain name can be network in CIDR format │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" has the value "No proxy" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
508
tests/result_tutorial/103/doc.json
Normal file
508
tests/result_tutorial/103/doc.json
Normal file
|
|
@ -0,0 +1,508 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
19
tests/result_tutorial/103/doc_changelog.sh
Normal file
19
tests/result_tutorial/103/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mno_proxy[0m │ Address for which proxy will be desactivated. │
|
||||
│ [1;7m domainname [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m [1;7m unique [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can starts by a dot │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ • the domain name can be network in CIDR format │
|
||||
│ │ [1mExamples[0m: │
|
||||
│ │ • [4m.mozilla.org[0m │
|
||||
│ │ • [4m.net.nz[0m │
|
||||
│ │ • [4m192.168.1.0/24[0m │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" has the value "No proxy" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
511
tests/result_tutorial/104/doc.json
Normal file
511
tests/result_tutorial/104/doc.json
Normal file
|
|
@ -0,0 +1,511 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
20
tests/result_tutorial/104/doc_changelog.sh
Normal file
20
tests/result_tutorial/104/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mno_proxy[0m │ Address for which proxy will be desactivated. │
|
||||
│ [1;7m domainname [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m [1;7m unique [0m │ [4mConnections to localhost, 127.0.0.1/8 and ::1 are never proxied.[0m │
|
||||
│ │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can starts by a dot │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ • the domain name can be network in CIDR format │
|
||||
│ │ [1mExamples[0m: │
|
||||
│ │ • .mozilla.org │
|
||||
│ │ • .net.nz │
|
||||
│ │ • 192.168.1.0/24 │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" has the value "No proxy" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
550
tests/result_tutorial/110/doc.json
Normal file
550
tests/result_tutorial/110/doc.json
Normal file
|
|
@ -0,0 +1,550 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
10
tests/result_tutorial/110/doc_changelog.sh
Normal file
10
tests/result_tutorial/110/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mprompt_authentication[0m │ Prompt for authentication if password is saved. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mDefault[0m: true │
|
||||
│ │ [1mDisabled[0m: when the variable "proxy_mode" has the value "No proxy" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
576
tests/result_tutorial/111/doc.json
Normal file
576
tests/result_tutorial/111/doc.json
Normal file
|
|
@ -0,0 +1,576 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/111/doc_changelog.sh
Normal file
9
tests/result_tutorial/111/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_dns_socks5[0m │ Use proxy DNS when using SOCKS v5. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
595
tests/result_tutorial/112/doc.json
Normal file
595
tests/result_tutorial/112/doc.json
Normal file
|
|
@ -0,0 +1,595 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
11
tests/result_tutorial/112/doc_changelog.sh
Normal file
11
tests/result_tutorial/112/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_dns_socks5[0m │ Use proxy DNS when using SOCKS v5. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m[1;3;4;7mdisabled[0m[1;7m [0m │ [1mDefault[0m: false │
|
||||
│ │ [1mDisabled[0m: [4mif "proxy_mode" is not "Manual proxy configuration"[0m │
|
||||
│ │ [4mor "manual.socks_proxy.version" is "v4"[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
595
tests/result_tutorial/120/doc.json
Normal file
595
tests/result_tutorial/120/doc.json
Normal file
|
|
@ -0,0 +1,595 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/120/doc_changelog.sh
Normal file
0
tests/result_tutorial/120/doc_changelog.sh
Normal file
595
tests/result_tutorial/130/doc.json
Normal file
595
tests/result_tutorial/130/doc.json
Normal file
|
|
@ -0,0 +1,595 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
11
tests/result_tutorial/130/doc_changelog.sh
Normal file
11
tests/result_tutorial/130/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mproxy_dns_socks5[0m │ Use proxy DNS when using SOCKS v5. │
|
||||
│ [1;7m [0m[1;7;9mstandard[0m[1;7m [0m [1;7m [0m[1;4;7madvanced[0m[1;7m [0m [1;7m boolean [0m [1;7m advanced [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mDefault[0m: false │
|
||||
│ │ [1mDisabled[0m: if "proxy_mode" is not "Manual proxy configuration" │
|
||||
│ │ or "manual.socks_proxy.version" is "v4" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
635
tests/result_tutorial/140/doc.json
Normal file
635
tests/result_tutorial/140/doc.json
Normal file
|
|
@ -0,0 +1,635 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/140/doc_changelog.sh
Normal file
9
tests/result_tutorial/140/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mdns_over_https.enable_dns_over_https[0m │ Enable DNS over HTTPS. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
682
tests/result_tutorial/141/doc.json
Normal file
682
tests/result_tutorial/141/doc.json
Normal file
|
|
@ -0,0 +1,682 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
tests/result_tutorial/141/doc_changelog.sh
Normal file
13
tests/result_tutorial/141/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mdns_over_https.provider[0m │ Use Provider. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mChoices[0m: │
|
||||
│ │ • Cloudflare [1m← (default)[0m │
|
||||
│ │ • NextDNS │
|
||||
│ │ • Custom │
|
||||
│ │ [1mDisabled[0m: when the variable "dns_over_https.enable_dns_over_https" has the value "false" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
728
tests/result_tutorial/142/doc.json
Normal file
728
tests/result_tutorial/142/doc.json
Normal file
|
|
@ -0,0 +1,728 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"custom_dns_url": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "dns_over_https.custom_dns_url",
|
||||
"names": [
|
||||
"custom_dns_url"
|
||||
],
|
||||
"description": "Custom DNS URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Custom\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "dns_over_https.provider",
|
||||
"description": "Use Provider"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
tests/result_tutorial/142/doc_changelog.sh
Normal file
14
tests/result_tutorial/142/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[1;4;96mNew variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mdns_over_https.custom_dns_url[0m │ Custom DNS URL. │
|
||||
│ [1;7m web address [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ [1mDisabled[0m: if "dns_over_https.provider" is not "Custom" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
731
tests/result_tutorial/150/doc.json
Normal file
731
tests/result_tutorial/150/doc.json
Normal file
|
|
@ -0,0 +1,731 @@
|
|||
{
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"custom_dns_url": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname",
|
||||
{
|
||||
"description": "must starts with 'https://' only"
|
||||
}
|
||||
]
|
||||
},
|
||||
"path": "dns_over_https.custom_dns_url",
|
||||
"names": [
|
||||
"custom_dns_url"
|
||||
],
|
||||
"description": "Custom DNS URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Custom\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "dns_over_https.provider",
|
||||
"description": "Use Provider"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
tests/result_tutorial/150/doc_changelog.sh
Normal file
15
tests/result_tutorial/150/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mdns_over_https.custom_dns_url[0m │ Custom DNS URL. │
|
||||
│ [1;7m web address [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • [4mmust starts with 'https://' only[0m │
|
||||
│ │ [1mDisabled[0m: if "dns_over_https.provider" is not "Custom" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
748
tests/result_tutorial/160/doc.json
Normal file
748
tests/result_tutorial/160/doc.json
Normal file
|
|
@ -0,0 +1,748 @@
|
|||
{
|
||||
"firefox": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "firefox",
|
||||
"names": [
|
||||
"firefox"
|
||||
],
|
||||
"description": "Firefox",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family is a namespace"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "firefox.proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "firefox.auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "firefox.no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"custom_dns_url": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname",
|
||||
{
|
||||
"description": "must starts with 'https://' only"
|
||||
}
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.custom_dns_url",
|
||||
"names": [
|
||||
"custom_dns_url"
|
||||
],
|
||||
"description": "Custom DNS URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Custom\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"description": "Use Provider"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
130
tests/result_tutorial/160/doc_changelog.sh
Normal file
130
tests/result_tutorial/160/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mfirefox.proxy_mode[0m │ Configure Proxy Access to the Internet. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • No proxy [1m← (default)[0m │
|
||||
│ │ • Auto-detect proxy settings for this network │
|
||||
│ │ • Use system proxy settings │
|
||||
│ │ • Manual proxy configuration │
|
||||
│ │ • Automatic proxy configuration URL │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.http_proxy.address[0m │ Proxy address. │
|
||||
│ [1;7m domainname [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.http_proxy.port[0m │ Proxy port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: 8080 │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.use_for_https[0m │ Also use this proxy for HTTPS. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.https_proxy.address[0m │ Proxy address. │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "firefox.manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.https_proxy.port[0m │ Proxy port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "firefox.manual.http_proxy.port" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.socks_proxy.address[0m │ Proxy address. │
|
||||
│ [1;7m domainname [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ [1mDefault[0m: the value of the variable "firefox.manual.http_proxy.address" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.socks_proxy.port[0m │ Proxy port. │
|
||||
│ [1;7m port [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • private ports (greater than 49152) are allowed │
|
||||
│ │ [1mDefault[0m: the value of the variable "firefox.manual.http_proxy.port" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.manual.socks_proxy.version[0m │ SOCKS host version used by proxy. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • v4 │
|
||||
│ │ • v5 [1m← (default)[0m │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.auto[0m │ Automatic proxy configuration URL. │
|
||||
│ [1;7m web address [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ [1mDisabled[0m: when the variable "firefox.proxy_mode" hasn't the value "Automatic proxy configuration URL" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.no_proxy[0m │ Address for which proxy will be desactivated. │
|
||||
│ [1;7m domainname [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m [1;7m unique [0m │ Connections to localhost, 127.0.0.1/8 and ::1 are never proxied. │
|
||||
│ │ [1mValidators[0m: │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can starts by a dot │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • the domain name can be an IP │
|
||||
│ │ • the domain name can be network in CIDR format │
|
||||
│ │ [1mExamples[0m: │
|
||||
│ │ • .mozilla.org │
|
||||
│ │ • .net.nz │
|
||||
│ │ • 192.168.1.0/24 │
|
||||
│ │ [1mDisabled[0m: when the variable "firefox.proxy_mode" has the value "No proxy" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.prompt_authentication[0m │ Prompt for authentication if password is saved. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mDefault[0m: true │
|
||||
│ │ [1mDisabled[0m: when the variable "firefox.proxy_mode" has the value "No proxy" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.proxy_dns_socks5[0m │ Use proxy DNS when using SOCKS v5. │
|
||||
│ [1;7m boolean [0m [1;7m advanced [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mDefault[0m: false │
|
||||
│ │ [1mDisabled[0m: if "firefox.proxy_mode" is not "Manual proxy configuration" │
|
||||
│ │ or "firefox.manual.socks_proxy.version" is "v4" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.dns_over_https.enable_dns_over_https[0m │ Enable DNS over HTTPS. │
|
||||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.dns_over_https.provider[0m │ Use Provider. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mChoices[0m: │
|
||||
│ │ • Cloudflare [1m← (default)[0m │
|
||||
│ │ • NextDNS │
|
||||
│ │ • Custom │
|
||||
│ │ [1mDisabled[0m: when the variable "firefox.dns_over_https.enable_dns_over_https" has the value "false" │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfirefox.dns_over_https.custom_dns_url[0m │ Custom DNS URL. │
|
||||
│ [1;7m web address [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m │ [1mValidators[0m: │
|
||||
│ │ • well-known ports (1 to 1023) are allowed │
|
||||
│ │ • registred ports (1024 to 49151) are allowed │
|
||||
│ │ • type domainname │
|
||||
│ │ • the domain name can be a hostname │
|
||||
│ │ • must starts with 'https://' only │
|
||||
│ │ [1mDisabled[0m: if "firefox.dns_over_https.provider" is not "Custom" │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• proxy_mode
|
||||
• manual.http_proxy.address
|
||||
• manual.http_proxy.port
|
||||
• manual.use_for_https
|
||||
• manual.https_proxy.address
|
||||
• manual.https_proxy.port
|
||||
• manual.socks_proxy.address
|
||||
• manual.socks_proxy.port
|
||||
• manual.socks_proxy.version
|
||||
• auto
|
||||
• no_proxy
|
||||
• prompt_authentication
|
||||
• proxy_dns_socks5
|
||||
• dns_over_https.enable_dns_over_https
|
||||
• dns_over_https.provider
|
||||
• dns_over_https.custom_dns_url
|
||||
|
||||
748
tests/result_tutorial/161/doc.json
Normal file
748
tests/result_tutorial/161/doc.json
Normal file
|
|
@ -0,0 +1,748 @@
|
|||
{
|
||||
"firefox": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "firefox",
|
||||
"names": [
|
||||
"firefox"
|
||||
],
|
||||
"description": "Firefox",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family is a namespace"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "firefox.proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "firefox.auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "firefox.no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"custom_dns_url": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname",
|
||||
{
|
||||
"description": "must starts with 'https://' only"
|
||||
}
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.custom_dns_url",
|
||||
"names": [
|
||||
"custom_dns_url"
|
||||
],
|
||||
"description": "Custom DNS URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Custom\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"description": "Use Provider"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
0
tests/result_tutorial/161/doc_changelog.sh
Normal file
0
tests/result_tutorial/161/doc_changelog.sh
Normal file
831
tests/result_tutorial/170/doc.json
Normal file
831
tests/result_tutorial/170/doc.json
Normal file
|
|
@ -0,0 +1,831 @@
|
|||
{
|
||||
"firefox": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "firefox",
|
||||
"names": [
|
||||
"firefox"
|
||||
],
|
||||
"description": "Firefox",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family is a namespace"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "firefox.proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "firefox.auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "firefox.no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"custom_dns_url": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname",
|
||||
{
|
||||
"description": "must starts with 'https://' only"
|
||||
}
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.custom_dns_url",
|
||||
"names": [
|
||||
"custom_dns_url"
|
||||
],
|
||||
"description": "Custom DNS URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Custom\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"description": "Use Provider"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"foxyproxy": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "foxyproxy",
|
||||
"names": [
|
||||
"foxyproxy"
|
||||
],
|
||||
"description": "Foxyproxy",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family is a namespace"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"proxies": {
|
||||
"type": "leadership",
|
||||
"informations": {
|
||||
"path": "foxyproxy.proxies",
|
||||
"names": [
|
||||
"proxies"
|
||||
],
|
||||
"description": "Proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family contains lists of variable blocks"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"title": {
|
||||
"type": "variable",
|
||||
"variable_type": "string",
|
||||
"path": "foxyproxy.proxies.title",
|
||||
"names": [
|
||||
"title"
|
||||
],
|
||||
"description": "Title or Description.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"gen_examples": [
|
||||
[
|
||||
"example"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"color": {
|
||||
"type": "variable",
|
||||
"variable_type": "string",
|
||||
"path": "foxyproxy.proxies.color",
|
||||
"names": [
|
||||
"color"
|
||||
],
|
||||
"description": "Color.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
[
|
||||
"example"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
12
tests/result_tutorial/170/doc_changelog.sh
Normal file
12
tests/result_tutorial/170/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[1;4;96mNew variables[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mfoxyproxy.proxies.title[0m │ Title or Description. │
|
||||
│ [1;7m string [0m [1;7m multiple [0m [1;7m standard [0m [1;7m unique [0m │ │
|
||||
├────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ [1mfoxyproxy.proxies.color[0m │ Color. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
835
tests/result_tutorial/180/doc.json
Normal file
835
tests/result_tutorial/180/doc.json
Normal file
|
|
@ -0,0 +1,835 @@
|
|||
{
|
||||
"firefox": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "firefox",
|
||||
"names": [
|
||||
"firefox"
|
||||
],
|
||||
"description": "Firefox",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family is a namespace"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"proxy_mode": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "No proxy"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"No proxy",
|
||||
"Auto-detect proxy settings for this network",
|
||||
"Use system proxy settings",
|
||||
"Manual proxy configuration",
|
||||
"Automatic proxy configuration URL"
|
||||
]
|
||||
},
|
||||
"path": "firefox.proxy_mode",
|
||||
"names": [
|
||||
"proxy_mode"
|
||||
],
|
||||
"description": "Configure Proxy Access to the Internet.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"No proxy"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"manual": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual",
|
||||
"names": [
|
||||
"manual"
|
||||
],
|
||||
"description": "Manual proxy configuration",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Manual proxy configuration\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"http_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.http_proxy",
|
||||
"names": [
|
||||
"http_proxy"
|
||||
],
|
||||
"description": "HTTP Proxy",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "8080"
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"use_for_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.manual.use_for_https",
|
||||
"names": [
|
||||
"use_for_https"
|
||||
],
|
||||
"description": "Also use this proxy for HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"https_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.https_proxy",
|
||||
"names": [
|
||||
"https_proxy"
|
||||
],
|
||||
"description": "HTTPS Proxy",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "hidden",
|
||||
"ori_name": "hidden",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.use_for_https"
|
||||
},
|
||||
"description": "Also use this proxy for HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.https_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"socks_proxy": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.manual.socks_proxy",
|
||||
"names": [
|
||||
"socks_proxy"
|
||||
],
|
||||
"description": "SOCKS Proxy",
|
||||
"properties": [],
|
||||
"mode": "standard"
|
||||
},
|
||||
"children": {
|
||||
"address": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.address",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy address"
|
||||
}
|
||||
},
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can be an IP"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.address",
|
||||
"names": [
|
||||
"address"
|
||||
],
|
||||
"description": "Proxy address.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"example.net"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"port": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": {
|
||||
"message": "the value of the variable \"{0}\"",
|
||||
"path": {
|
||||
"path": "firefox.manual.http_proxy.port",
|
||||
"type": "variable"
|
||||
},
|
||||
"description": "Proxy port"
|
||||
}
|
||||
},
|
||||
"variable_type": "port",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"private ports (greater than 49152) are allowed"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.port",
|
||||
"names": [
|
||||
"port"
|
||||
],
|
||||
"description": "Proxy port.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"8080"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"version": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "v5"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"v4",
|
||||
"v5"
|
||||
]
|
||||
},
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"names": [
|
||||
"version"
|
||||
],
|
||||
"description": "SOCKS host version used by proxy.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"v5"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"auto": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname"
|
||||
]
|
||||
},
|
||||
"path": "firefox.auto",
|
||||
"names": [
|
||||
"auto"
|
||||
],
|
||||
"description": "Automatic proxy configuration URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" hasn't the value \"Automatic proxy configuration URL\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
},
|
||||
"no_proxy": {
|
||||
"type": "variable",
|
||||
"variable_type": "domainname",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"type domainname",
|
||||
"the domain name can starts by a dot",
|
||||
"the domain name can be a hostname",
|
||||
"the domain name can be an IP",
|
||||
"the domain name can be network in CIDR format"
|
||||
]
|
||||
},
|
||||
"path": "firefox.no_proxy",
|
||||
"names": [
|
||||
"no_proxy"
|
||||
],
|
||||
"description": "Address for which proxy will be desactivated.",
|
||||
"help": [
|
||||
"Connections to localhost, 127.0.0.1/8 and ::1 are never proxied."
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"examples": {
|
||||
"name": "Examples",
|
||||
"values": [
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
},
|
||||
"gen_examples": [
|
||||
[
|
||||
".mozilla.org",
|
||||
".net.nz",
|
||||
"192.168.1.0/24"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"prompt_authentication": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": true
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.prompt_authentication",
|
||||
"names": [
|
||||
"prompt_authentication"
|
||||
],
|
||||
"description": "Prompt for authentication if password is saved.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"No proxy\"",
|
||||
"path": {
|
||||
"path": "firefox.proxy_mode"
|
||||
},
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
true
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"proxy_dns_socks5": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.proxy_dns_socks5",
|
||||
"names": [
|
||||
"proxy_dns_socks5"
|
||||
],
|
||||
"description": "Use proxy DNS when using SOCKS v5.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Manual proxy configuration\"\nor \"{1}\" is \"v4\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.proxy_mode",
|
||||
"description": "Configure Proxy Access to the Internet"
|
||||
},
|
||||
{
|
||||
"path": "firefox.manual.socks_proxy.version",
|
||||
"description": "SOCKS host version used by proxy"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "advanced",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"dns_over_https": {
|
||||
"type": "family",
|
||||
"informations": {
|
||||
"path": "firefox.dns_over_https",
|
||||
"names": [
|
||||
"dns_over_https"
|
||||
],
|
||||
"description": "DNS over HTTPS",
|
||||
"properties": [],
|
||||
"mode": "basic"
|
||||
},
|
||||
"children": {
|
||||
"enable_dns_over_https": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": false
|
||||
},
|
||||
"variable_type": "boolean",
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https",
|
||||
"names": [
|
||||
"enable_dns_over_https"
|
||||
],
|
||||
"description": "Enable DNS over HTTPS.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
false
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"provider": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": "Cloudflare"
|
||||
},
|
||||
"variable_type": "choice",
|
||||
"choices": {
|
||||
"name": "Choices",
|
||||
"values": [
|
||||
"Cloudflare",
|
||||
"NextDNS",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"names": [
|
||||
"provider"
|
||||
],
|
||||
"description": "Use Provider.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"message": "when the variable \"{0}\" has the value \"false\"",
|
||||
"path": {
|
||||
"path": "firefox.dns_over_https.enable_dns_over_https"
|
||||
},
|
||||
"description": "Enable DNS over HTTPS"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"gen_examples": [
|
||||
"Cloudflare"
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"custom_dns_url": {
|
||||
"type": "variable",
|
||||
"variable_type": "web address",
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"well-known ports (1 to 1023) are allowed",
|
||||
"registred ports (1024 to 49151) are allowed",
|
||||
"type domainname",
|
||||
"the domain name can be a hostname",
|
||||
{
|
||||
"description": "must starts with 'https://' only"
|
||||
}
|
||||
]
|
||||
},
|
||||
"path": "firefox.dns_over_https.custom_dns_url",
|
||||
"names": [
|
||||
"custom_dns_url"
|
||||
],
|
||||
"description": "Custom DNS URL.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "disabled",
|
||||
"ori_name": "disabled",
|
||||
"access_control": true,
|
||||
"annotation": {
|
||||
"description": "if \"{0}\" is not \"Custom\"",
|
||||
"variables": [
|
||||
{
|
||||
"path": "firefox.dns_over_https.provider",
|
||||
"description": "Use Provider"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
"https://example.net"
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"foxyproxy": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "foxyproxy",
|
||||
"names": [
|
||||
"foxyproxy"
|
||||
],
|
||||
"description": "Foxyproxy",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family is a namespace"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"proxies": {
|
||||
"type": "leadership",
|
||||
"informations": {
|
||||
"path": "foxyproxy.proxies",
|
||||
"names": [
|
||||
"proxies"
|
||||
],
|
||||
"description": "Proxy configuration",
|
||||
"properties": [],
|
||||
"mode": "basic",
|
||||
"help": [
|
||||
"This family contains lists of variable blocks"
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"title": {
|
||||
"type": "variable",
|
||||
"variable_type": "string",
|
||||
"path": "foxyproxy.proxies.title",
|
||||
"names": [
|
||||
"title"
|
||||
],
|
||||
"description": "Title or Description.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "unique",
|
||||
"ori_name": "unique",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "standard",
|
||||
"multiple": true,
|
||||
"gen_examples": [
|
||||
[
|
||||
"example"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
},
|
||||
"color": {
|
||||
"type": "variable",
|
||||
"variable_type": "regexp",
|
||||
"validators": {
|
||||
"name": "Validator",
|
||||
"values": "text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
|
||||
},
|
||||
"path": "foxyproxy.proxies.color",
|
||||
"names": [
|
||||
"color"
|
||||
],
|
||||
"description": "Color.",
|
||||
"properties": [
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory",
|
||||
"ori_name": "mandatory",
|
||||
"access_control": false
|
||||
}
|
||||
],
|
||||
"mode": "basic",
|
||||
"gen_examples": [
|
||||
[
|
||||
"xxx"
|
||||
]
|
||||
],
|
||||
"mandatory_without_value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
tests/result_tutorial/180/doc_changelog.sh
Normal file
9
tests/result_tutorial/180/doc_changelog.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[1;4;96mModified variable[0m
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mfoxyproxy.proxies.color[0m │ Color. │
|
||||
│ [1;7m regexp [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidator[0m: [4mtext based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"[0m │
|
||||
└────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue