308 lines
No EOL
8.5 KiB
JSON
308 lines
No EOL
8.5 KiB
JSON
{
|
|
"proxy_mode": {
|
|
"path": "proxy_mode",
|
|
"name": "proxy_mode",
|
|
"description": "Configure Proxy Access to the Internet.",
|
|
"properties": [
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory",
|
|
"ori_name": "mandatory",
|
|
"access_control": false
|
|
}
|
|
],
|
|
"mode": "standard",
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"manual": {
|
|
"type": "family",
|
|
"informations": {
|
|
"path": "manual",
|
|
"name": "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",
|
|
"name": "http_proxy",
|
|
"description": "HTTP Proxy",
|
|
"properties": [],
|
|
"mode": "basic"
|
|
},
|
|
"children": {
|
|
"address": {
|
|
"path": "manual.http_proxy.address",
|
|
"name": "address",
|
|
"description": "HTTP address.",
|
|
"properties": [
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory",
|
|
"ori_name": "mandatory",
|
|
"access_control": false
|
|
}
|
|
],
|
|
"mode": "basic",
|
|
"type": "variable",
|
|
"variable_type": "domainname",
|
|
"validators": {
|
|
"name": "Validators",
|
|
"values": [
|
|
"type domainname",
|
|
"the domain name can be an IP"
|
|
]
|
|
}
|
|
},
|
|
"port": {
|
|
"path": "manual.http_proxy.port",
|
|
"name": "port",
|
|
"description": "HTTP Port.",
|
|
"properties": [
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory",
|
|
"ori_name": "mandatory",
|
|
"access_control": false
|
|
}
|
|
],
|
|
"mode": "standard",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"use_for_https": {
|
|
"path": "manual.use_for_https",
|
|
"name": "use_for_https",
|
|
"description": "Also use this proxy for HTTPS.",
|
|
"properties": [
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory",
|
|
"ori_name": "mandatory",
|
|
"access_control": false
|
|
}
|
|
],
|
|
"mode": "standard",
|
|
"type": "variable",
|
|
"default": {
|
|
"name": "Default",
|
|
"values": true
|
|
},
|
|
"variable_type": "boolean"
|
|
},
|
|
"{{ identifier }}_proxy": {
|
|
"type": "dynamic",
|
|
"informations": {
|
|
"path": "manual.{{ identifier }}_proxy",
|
|
"name": "{{ 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",
|
|
"identifiers": [
|
|
[
|
|
"HTTPS"
|
|
],
|
|
[
|
|
"SOCKS"
|
|
]
|
|
],
|
|
"help": [
|
|
"This family builds families dynamically"
|
|
],
|
|
"identifier": [
|
|
"HTTPS",
|
|
"SOCKS"
|
|
]
|
|
},
|
|
"children": {
|
|
"address": {
|
|
"path": "manual.{{ identifier }}_proxy.address",
|
|
"name": "address",
|
|
"description": "{{ identifier }} address.",
|
|
"properties": [
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory",
|
|
"ori_name": "mandatory",
|
|
"access_control": false
|
|
}
|
|
],
|
|
"mode": "standard",
|
|
"identifiers": [
|
|
[
|
|
"HTTPS"
|
|
],
|
|
[
|
|
"SOCKS"
|
|
]
|
|
],
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"port": {
|
|
"path": "manual.{{ identifier }}_proxy.port",
|
|
"name": "port",
|
|
"description": "{{ identifier }} port.",
|
|
"properties": [
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory",
|
|
"ori_name": "mandatory",
|
|
"access_control": false
|
|
}
|
|
],
|
|
"mode": "standard",
|
|
"identifiers": [
|
|
[
|
|
"HTTPS"
|
|
],
|
|
[
|
|
"SOCKS"
|
|
]
|
|
],
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"version": {
|
|
"path": "manual.{{ identifier }}_proxy.version",
|
|
"name": "version",
|
|
"description": "SOCKS host version used by proxy.",
|
|
"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",
|
|
"identifiers": [
|
|
[
|
|
"SOCKS"
|
|
]
|
|
],
|
|
"type": "variable",
|
|
"default": {
|
|
"name": "Default",
|
|
"values": "v5"
|
|
},
|
|
"variable_type": "choice",
|
|
"choices": {
|
|
"name": "Choices",
|
|
"values": [
|
|
"v4",
|
|
"v5"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |