Interface description types to Global Settings (#12291)

* Special Ports to Global Settings

* customers_descr type fix

* add mix-manifests - move section

* move to webui :P

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
SourceDoctor
2020-11-21 11:44:33 +01:00
committed by GitHub
parent c53dec796e
commit fde1b1ab43
3 changed files with 34 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
"/js/vendor.js": "/js/vendor.js?id=4935c8e779ce375acbf4",
"/js/lang/de.js": "/js/lang/de.js?id=2c4ad02fa89b684d4f57",
"/js/lang/en.js": "/js/lang/en.js?id=0cf66e62ff9db08879df",
"/js/lang/en.js": "/js/lang/en.js?id=a094c09a83b751d2aea3",
"/js/lang/fr.js": "/js/lang/fr.js?id=9552304f4fd7338af018",
"/js/lang/it.js": "/js/lang/it.js?id=514765c5399ffaa111b9",
"/js/lang/ru.js": "/js/lang/ru.js?id=f6b7c078755312a0907c",

View File

@@ -755,7 +755,10 @@
},
"core_descr": {
"default": ["core"],
"type": "array"
"type": "array",
"group": "webui",
"section": "port-descr",
"order": 2
},
"cpu_details_overview": {
"default": false,
@@ -767,7 +770,10 @@
},
"customers_descr": {
"default": ["cust"],
"type": "array"
"type": "array",
"group": "webui",
"section": "port-descr",
"order": 3
},
"dateformat.byminute": {
"default": "Y-m-d H:i",
@@ -4087,7 +4093,10 @@
"default": [
"peering"
],
"type": "array"
"type": "array",
"group": "webui",
"section": "port-descr",
"order": 0
},
"peeringdb.enabled": {
"default": false,
@@ -5124,7 +5133,10 @@
},
"transit_descr": {
"default": ["transit"],
"type": "array"
"type": "array",
"group": "webui",
"section": "port-descr",
"order": 1
},
"twofactor": {
"type": "boolean",

View File

@@ -73,6 +73,7 @@ return [
'availability-map' => 'Availability Map Settings',
'graph' => 'Graph Settings',
'dashboard' => 'Dashboard Settings',
'port-descr' => 'Interface Description Parsing',
'search' => 'Search Settings',
'style' => 'Style',
'device' => 'Device Settings',
@@ -413,6 +414,22 @@ return [
'description' => 'Auth log entries older than (days)',
'help' => 'Cleanup done by daily.sh',
],
'peering_descr' => [
'description' => 'Peering Port Types',
'help' => 'Ports of the listed description type(s) will be shown under the peering ports menu entry. See Interface Description Parsing docs for more info.',
],
'transit_descr' => [
'description' => 'Transit Port Types',
'help' => 'Ports of the listed description type(s) will be shown under the transit ports menu entry. See Interface Description Parsing docs for more info.',
],
'core_descr' => [
'description' => 'Core Port Types',
'help' => 'Ports of the listed description type(s) will be shown under the core ports menu entry. See Interface Description Parsing docs for more info.',
],
'customers_descr' => [
'description' => 'Customer Port Types',
'help' => 'Ports of the listed description type(s) will be shown under the customers ports menu entry. See Interface Description Parsing docs for more info.',
],
'base_url' => [
'description' => 'Specific URL',
'help' => 'This should *only* be set if you want to *force* a particular hostname/port. It will prevent the web interface being usable form any other hostname',