more tests

This commit is contained in:
Emmanuel Garette 2019-02-16 20:23:50 +01:00
parent 1d677e47ef
commit f96a59680a
389 changed files with 488 additions and 3238 deletions

1
test/data/boolean1.info Normal file
View File

@ -0,0 +1 @@
{"options.boolean": {"doc": "Boolean 1", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}}

View File

@ -1,23 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.boolean": {
"name": "options.boolean",
"title": "Boolean 1",
"type": "boolean"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.boolean": {"name": "options.boolean", "type": "boolean", "title": "Boolean 1"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"title": "Configurer", "type": "submit"}]}

1
test/data/boolean1.owner Normal file
View File

@ -0,0 +1 @@
{"options.boolean": "default"}

1
test/data/boolean1.prop Normal file
View File

@ -0,0 +1 @@
{"options.boolean": []}

1
test/data/boolean1.prop2 Normal file
View File

@ -0,0 +1 @@
{"options.boolean": []}

View File

@ -0,0 +1 @@
{"options.boolean": {"doc": "Boolean 1 frozen", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}}

View File

@ -1,28 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.boolean": {
"name": "options.boolean",
"type": "boolean",
"title": "Boolean 1 frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.boolean",
"readOnly": true
}
],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.boolean": {"name": "options.boolean", "type": "boolean", "title": "Boolean 1 frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.boolean", "readOnly": true}], "form": [{"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.boolean": "default"}

View File

@ -0,0 +1 @@
{"options.boolean": ["frozen"]}

View File

@ -0,0 +1 @@
{"options.boolean": []}

1
test/data/choice1.info Normal file
View File

@ -0,0 +1 @@
{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}}

View File

@ -1,32 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"title": "Choice description",
"type": "choice",
"enum": [
"",
"choice 1",
"choice 2"
]
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "choice",
"key": "options.choice"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice": {"name": "options.choice", "type": "choice", "enum": ["", "choice 1", "choice 2"], "title": "Choice description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.choice", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

1
test/data/choice1.owner Normal file
View File

@ -0,0 +1 @@
{"options.choice": "default"}

1
test/data/choice1.prop Normal file
View File

@ -0,0 +1 @@
{"options.choice": []}

1
test/data/choice1.prop2 Normal file
View File

@ -0,0 +1 @@
{"options.choice": []}

View File

@ -0,0 +1 @@
{"options.choice": {"doc": "Choice description frozen", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}}

View File

@ -1,37 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"type": "choice",
"enum": [
"",
"choice 1",
"choice 2"
],
"title": "Choice description frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.choice",
"readOnly": true
}
],
"form": [
{
"key": "options.choice",
"type": "choice"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice": {"name": "options.choice", "type": "choice", "enum": ["", "choice 1", "choice 2"], "title": "Choice description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.choice", "readOnly": true}], "form": [{"key": "options.choice", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.choice": "default"}

View File

@ -0,0 +1 @@
{"options.choice": ["frozen"]}

View File

@ -0,0 +1 @@
{"options.choice": []}

View File

@ -1,89 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice description master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice description slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice description slave 2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice description slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description master"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description slave 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description slave 2"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -1,94 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice description master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice description slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice description slave 2 hidden",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice description slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Slave 2 is hidden"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true
},
{
"key": "options.choice1.choice3",
"hidden": true,
"display": false
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description master"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description slave 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description slave 2 hidden"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description slave 3"}}, "type": "array", "title": "Slave 2 is hidden"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true}, {"key": "options.choice1.choice3", "display": false, "hidden": true}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -1,99 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice slave 2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true,
"value": [
"choice 2"
],
"owner": "user"
},
{
"key": "options.choice1.choice2",
"index": 0,
"value": "choice 4",
"owner": "user"
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice master"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice slave 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice slave 2"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true, "value": ["choice 2"], "owner": "user"}, {"key": "options.choice1.choice2", "index": 0, "value": "choice 4", "owner": "user"}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}}

View File

@ -1,37 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"title": "Choice description",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.choice",
"required": true
}
],
"form": [
{
"type": "choice",
"key": "options.choice"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice": {"name": "options.choice", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.choice", "required": true}], "form": [{"key": "options.choice", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.choice": "default"}

View File

@ -0,0 +1 @@
{"options.choice": ["empty"]}

View File

@ -0,0 +1 @@
{"options.choice": []}

View File

@ -0,0 +1 @@
{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}}

View File

@ -1,36 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"title": "Choice description",
"type": "choice",
"enum": [
"",
"choice 1",
"choice 2"
]
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "choice",
"key": "options.choice",
"displayed": {
"choice 1": "renamed 1",
"choice 2": "renamed 2"
}
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice": {"name": "options.choice", "type": "choice", "enum": ["", "choice 1", "choice 2"], "title": "Choice description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.choice", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.choice": "default"}

View File

@ -0,0 +1 @@
{"options.choice": []}

View File

@ -0,0 +1 @@
{"options.choice": []}

View File

@ -0,0 +1 @@
{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}}

View File

@ -1,72 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"type": "choice",
"value": "hide",
"enum": [
"hide",
"show"
],
"title": "Choice description"
},
"options.unicode2": {
"name": "options.unicode2",
"type": "string",
"title": "Unicode 2"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.choice",
"required": true,
"value": "hide",
"owner": "default"
},
{
"key": "options.unicode2",
"hidden": true
}
],
"form": [
{
"key": "options.choice",
"clearable": true,
"type": "choice",
"dependencies": {
"default": {
"show": [
"options.unicode2"
]
},
"expected": {
"hide": {
"hide": [
"options.unicode2"
]
},
"show": {
"show": [
"options.unicode2"
]
}
}
}
},
{
"key": "options.unicode2",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.choice": {"name": "options.choice", "type": "choice", "value": "hide", "enum": ["hide", "show"], "title": "Choice description"}, "options.unicode2": {"name": "options.unicode2", "type": "string", "title": "Unicode 2"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.choice", "required": true, "value": "hide", "owner": "default"}, {"key": "options.unicode2", "hidden": true}], "form": [{"key": "options.choice", "clearable": true, "type": "choice", "dependencies": {"default": {"show": ["options.unicode2"]}, "expected": {"hide": {"hide": ["options.unicode2"]}, "show": {"show": ["options.unicode2"]}}}}, {"key": "options.unicode2", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.choice": "default"}

View File

@ -0,0 +1 @@
{"options.choice": ["mandatory"]}

View File

@ -0,0 +1 @@
{"options.choice": []}

1
test/data/date1.info Normal file
View File

@ -0,0 +1 @@
{"options.date": {"doc": "Date description", "name": "date", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "date"}}

View File

@ -1,23 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.date": {
"name": "options.date",
"title": "Date description",
"type": "date"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.date": {"name": "options.date", "type": "date", "title": "Date description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"title": "Configurer", "type": "submit"}]}

1
test/data/date1.owner Normal file
View File

@ -0,0 +1 @@
{"options.date": "default"}

1
test/data/date1.prop Normal file
View File

@ -0,0 +1 @@
{"options.date": []}

1
test/data/date1.prop2 Normal file
View File

@ -0,0 +1 @@
{"options.date": []}

View File

@ -0,0 +1 @@
{"options.date": {"doc": "Date description frozen", "name": "date", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "date"}}

View File

@ -1,28 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.date": {
"name": "options.date",
"type": "date",
"title": "Date description frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.date",
"readOnly": true
}
],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.date": {"name": "options.date", "type": "date", "title": "Date description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.date", "readOnly": true}], "form": [{"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.date": "default"}

View File

@ -0,0 +1 @@
{"options.date": ["frozen"]}

View File

@ -0,0 +1 @@
{"options.date": []}

1
test/data/filename1.info Normal file
View File

@ -0,0 +1 @@
{"usbpath": {"doc": "Chemin d'acc\u00e8s", "name": "usbpath", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "filename"}}

View File

@ -1,26 +1 @@
{
"schema": {
"usbpath": {
"name": "usbpath",
"title": "Chemin d'acc\u00e8s",
"type": "string"
}
},
"model": [
{
"key": "usbpath",
"required": true
}
],
"form": [
{
"type": "input",
"pattern": "^[a-zA-Z0-9\\-\\._~/+]+$",
"key": "usbpath"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"usbpath": {"name": "usbpath", "type": "string", "title": "Chemin d'acc\u00e8s"}}, "model": [{"key": "usbpath", "required": true}], "form": [{"key": "usbpath", "pattern": "^[a-zA-Z0-9\\-\\._~/+]+$", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"usbpath": "default"}

1
test/data/filename1.prop Normal file
View File

@ -0,0 +1 @@
{"usbpath": ["mandatory"]}

View File

@ -0,0 +1 @@
{"usbpath": []}

1
test/data/hostname1.info Normal file
View File

@ -0,0 +1 @@
{"options.hostname1": {"doc": "Domainname Description", "name": "hostname1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "options.hostname2": {"doc": "Domainname without dot Description", "name": "hostname2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "options.hostname3": {"doc": "Hostname or IP Description", "name": "hostname3", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "options.hostname4": {"doc": "Netbios Description", "name": "hostname4", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}}

View File

@ -1,58 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.hostname1": {
"name": "options.hostname1",
"title": "Domainname Description",
"type": "domain"
},
"options.hostname2": {
"name": "options.hostname2",
"title": "Domainname without dot Description",
"type": "domain"
},
"options.hostname3": {
"name": "options.hostname3",
"title": "Hostname or IP Description",
"type": "domain"
},
"options.hostname4": {
"name": "options.hostname4",
"title": "Netbios Description",
"type": "domain"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$",
"key": "options.hostname1"
},
{
"type": "input",
"pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$",
"key": "options.hostname2"
},
{
"type": "input",
"pattern": "^(?:((?!-)[a-z0-9-]{1,63})|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$",
"key": "options.hostname3"
},
{
"type": "input",
"pattern": "^((?!-)[a-z0-9-]{1,15})$",
"key": "options.hostname4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.hostname1": {"name": "options.hostname1", "type": "domain", "title": "Domainname Description"}, "options.hostname2": {"name": "options.hostname2", "type": "domain", "title": "Domainname without dot Description"}, "options.hostname3": {"name": "options.hostname3", "type": "domain", "title": "Hostname or IP Description"}, "options.hostname4": {"name": "options.hostname4", "type": "domain", "title": "Netbios Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.hostname1", "pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$", "type": "input"}, {"key": "options.hostname2", "pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$", "type": "input"}, {"key": "options.hostname3", "pattern": "^(?:((?!-)[a-z0-9-]{1,63})|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$", "type": "input"}, {"key": "options.hostname4", "pattern": "^((?!-)[a-z0-9-]{1,15})$", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.hostname1": "default", "options.hostname2": "default", "options.hostname3": "default", "options.hostname4": "default"}

1
test/data/hostname1.prop Normal file
View File

@ -0,0 +1 @@
{"options.hostname1": [], "options.hostname2": [], "options.hostname3": [], "options.hostname4": []}

View File

@ -0,0 +1 @@
{"options.hostname1": [], "options.hostname2": [], "options.hostname3": [], "options.hostname4": []}

1
test/data/ip1.info Normal file
View File

@ -0,0 +1 @@
{"options.ip": {"doc": "IP Description", "name": "ip", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "ip"}}

View File

@ -1,28 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.ip": {
"name": "options.ip",
"title": "IP Description",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
"key": "options.ip"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.ip": {"name": "options.ip", "type": "string", "title": "IP Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

1
test/data/ip1.owner Normal file
View File

@ -0,0 +1 @@
{"options.ip": "default"}

1
test/data/ip1.prop Normal file
View File

@ -0,0 +1 @@
{"options.ip": []}

1
test/data/ip1.prop2 Normal file
View File

@ -0,0 +1 @@
{"options.ip": []}

View File

@ -0,0 +1 @@
{"options.ip": {"doc": "IP Description frozen", "name": "ip", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "ip"}}

View File

@ -1,33 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.ip": {
"name": "options.ip",
"type": "string",
"title": "IP Description frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.ip",
"readOnly": true
}
],
"form": [
{
"key": "options.ip",
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.ip": {"name": "options.ip", "type": "string", "title": "IP Description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.ip", "readOnly": true}], "form": [{"key": "options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.ip": "default"}

View File

@ -0,0 +1 @@
{"options.ip": ["frozen"]}

View File

@ -0,0 +1 @@
{"options.ip": []}

1
test/data/mail1.info Normal file
View File

@ -0,0 +1 @@
{"options.mail": {"doc": "Mail Description", "name": "mail", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "email"}}

View File

@ -1,28 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.mail": {
"name": "options.mail",
"title": "Mail Description",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$",
"key": "options.mail"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.mail": {"name": "options.mail", "type": "string", "title": "Mail Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.mail", "pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

1
test/data/mail1.owner Normal file
View File

@ -0,0 +1 @@
{"options.mail": "default"}

1
test/data/mail1.prop Normal file
View File

@ -0,0 +1 @@
{"options.mail": []}

1
test/data/mail1.prop2 Normal file
View File

@ -0,0 +1 @@
{"options.mail": []}

1
test/data/number1.info Normal file
View File

@ -0,0 +1 @@
{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}}

View File

@ -1,28 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"title": "integer 1",
"type": "number"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"allowedpattern": "[0-9]",
"key": "options.integer"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.integer", "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

1
test/data/number1.owner Normal file
View File

@ -0,0 +1 @@
{"options.integer": "default"}

1
test/data/number1.prop Normal file
View File

@ -0,0 +1 @@
{"options.integer": []}

1
test/data/number1.prop2 Normal file
View File

@ -0,0 +1 @@
{"options.integer": []}

View File

@ -0,0 +1 @@
{"options.integer": {"doc": "integer 1 frozen", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}}

View File

@ -1,33 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"type": "number",
"title": "integer 1 frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.integer",
"readOnly": true
}
],
"form": [
{
"key": "options.integer",
"allowedpattern": "[0-9]",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "title": "integer 1 frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "readOnly": true}], "form": [{"key": "options.integer", "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.integer": "default"}

View File

@ -0,0 +1 @@
{"options.integer": ["frozen"]}

View File

@ -0,0 +1 @@
{"options.integer": []}

View File

@ -0,0 +1 @@
{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}}

View File

@ -1,36 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"title": "integer 1",
"type": "number",
"value": 0
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.integer",
"value": 3,
"owner": "user"
}
],
"form": [
{
"clearable": true,
"type": "input",
"allowedpattern": "[0-9]",
"key": "options.integer"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "value": 3, "owner": "user"}], "form": [{"key": "options.integer", "clearable": true, "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.integer": "user"}

View File

@ -0,0 +1 @@
{"options.integer": []}

View File

@ -0,0 +1 @@
{"options.integer": []}

View File

@ -0,0 +1 @@
{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}}

View File

@ -1,36 +1 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"title": "integer 1",
"type": "number",
"value": 0
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.integer",
"value": 0,
"owner": "default"
}
],
"form": [
{
"clearable": true,
"type": "input",
"allowedpattern": "[0-9]",
"key": "options.integer"
},
{
"title": "Configurer",
"type": "submit"
}
]
}
{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "value": 0, "owner": "default"}], "form": [{"key": "options.integer", "clearable": true, "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]}

View File

@ -0,0 +1 @@
{"options.integer": "default"}

View File

@ -0,0 +1 @@
{"options.integer": []}

View File

@ -0,0 +1 @@
{"options.integer": []}

View File

@ -0,0 +1 @@
{"boolean1.options.boolean": {"doc": "Boolean 1", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}}

View File

@ -0,0 +1 @@
{"boolean1.options.boolean": "default"}

View File

@ -0,0 +1 @@
{"boolean1.options.boolean": []}

View File

@ -0,0 +1 @@
{"boolean1.options.boolean": []}

View File

@ -0,0 +1 @@
{"boolean1_frozen.options.boolean": {"doc": "Boolean 1 frozen", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}}

View File

@ -0,0 +1 @@
{"boolean1_frozen.options.boolean": "default"}

View File

@ -0,0 +1 @@
{"boolean1_frozen.options.boolean": ["frozen"]}

Some files were not shown because too many files have changed in this diff Show More