Skip to content

Commit 3109b5d

Browse files
committed
feat: Update plugin descriptions for authoritative column handling and overwrite conditions
1 parent fcbe4ae commit 3109b5d

File tree

25 files changed

+46
-283
lines changed

25 files changed

+46
-283
lines changed

front/plugins/__template/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
"description": [
362362
{
363363
"language_code": "en_us",
364-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
364+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
365365
}
366366
]
367367
},
@@ -396,7 +396,7 @@
396396
"description": [
397397
{
398398
"language_code": "en_us",
399-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
399+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
400400
}
401401
]
402402
}

front/plugins/adguard_import/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
"description": [
336336
{
337337
"language_code": "en_us",
338-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
338+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
339339
}
340340
]
341341
},
@@ -369,7 +369,7 @@
369369
"description": [
370370
{
371371
"language_code": "en_us",
372-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
372+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
373373
}
374374
]
375375
}

front/plugins/arp_scan/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
"description": [
295295
{
296296
"language_code": "en_us",
297-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
297+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
298298
}
299299
]
300300
},
@@ -327,7 +327,7 @@
327327
"description": [
328328
{
329329
"language_code": "en_us",
330-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
330+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
331331
}
332332
]
333333
},

front/plugins/asuswrt_import/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"description": [
156156
{
157157
"language_code": "en_us",
158-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
158+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
159159
}
160160
]
161161
},
@@ -189,7 +189,7 @@
189189
"description": [
190190
{
191191
"language_code": "en_us",
192-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
192+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
193193
}
194194
]
195195
},

front/plugins/avahi_scan/config.json

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -83,66 +83,8 @@
8383
}
8484
]
8585
},
86-
{ "function": "SET_ALWAYS",
87-
"type": {
88-
"dataType": "array",
89-
"elements": [
90-
{
91-
"elementType": "select",
92-
"elementOptions": [{ "multiple": "true", "ordeable": "true"}],
93-
"transformers": []
94-
}
95-
]
96-
},
97-
"default_value": ["devName"],
98-
"options": [
99-
"devName"
100-
],
101-
"localized": ["name", "description"],
102-
"name": [
103-
{
104-
"language_code": "en_us",
105-
"string": "Set always columns"
106-
}
107-
],
108-
"description": [
109-
{
110-
"language_code": "en_us",
111-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
112-
}
113-
]
114-
},
11586
{
116-
"function": "SET_EMPTY",
117-
"type": {
118-
"dataType": "array",
119-
"elements": [
120-
{
121-
"elementType": "select",
122-
"elementOptions": [{ "multiple": "true", "ordeable": "true"}],
123-
"transformers": []
124-
}
125-
]
126-
},
127-
"default_value": [],
128-
"options": [
129-
"devName"
130-
],
131-
"localized": ["name", "description"],
132-
"name": [
133-
{
134-
"language_code": "en_us",
135-
"string": "Set empty columns"
136-
}
137-
],
138-
"description": [
139-
{
140-
"language_code": "en_us",
141-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
142-
}
143-
]
144-
},
145-
{ "function": "CMD",
87+
"function": "CMD",
14688
"type": {
14789
"dataType": "string",
14890
"elements": [

front/plugins/dhcp_leases/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@
709709
"description": [
710710
{
711711
"language_code": "en_us",
712-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
712+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
713713
}
714714
]
715715
},
@@ -742,7 +742,7 @@
742742
"description": [
743743
{
744744
"language_code": "en_us",
745-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
745+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
746746
}
747747
]
748748
},

front/plugins/dig_scan/config.json

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -84,68 +84,7 @@
8484
]
8585
},
8686
{
87-
"function": "SET_ALWAYS",
88-
"type": {
89-
"dataType": "array",
90-
"elements": [
91-
{
92-
"elementType": "select",
93-
"elementOptions": [{ "multiple": "true", "ordeable": "true"}],
94-
"transformers": []
95-
}
96-
]
97-
},
98-
"default_value": ["devName", "devFQDN"],
99-
"options": [
100-
"devName",
101-
"devFQDN"
102-
],
103-
"localized": ["name", "description"],
104-
"name": [
105-
{
106-
"language_code": "en_us",
107-
"string": "Set always columns"
108-
}
109-
],
110-
"description": [
111-
{
112-
"language_code": "en_us",
113-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
114-
}
115-
]
116-
},
117-
{
118-
"function": "SET_EMPTY",
119-
"type": {
120-
"dataType": "array",
121-
"elements": [
122-
{
123-
"elementType": "select",
124-
"elementOptions": [{ "multiple": "true", "ordeable": "true" }],
125-
"transformers": []
126-
}
127-
]
128-
},
129-
"default_value": [],
130-
"options": [
131-
"devName",
132-
"devFQDN"
133-
],
134-
"localized": ["name", "description"],
135-
"name": [
136-
{
137-
"language_code": "en_us",
138-
"string": "Set empty columns"
139-
}
140-
],
141-
"description": [
142-
{
143-
"language_code": "en_us",
144-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
145-
}
146-
]
147-
},
148-
{ "function": "CMD",
87+
"function": "CMD",
14988
"type": {
15089
"dataType": "string",
15190
"elements": [

front/plugins/freebox/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
"description": [
332332
{
333333
"language_code": "en_us",
334-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
334+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
335335
}
336336
]
337337
},
@@ -366,7 +366,7 @@
366366
"description": [
367367
{
368368
"language_code": "en_us",
369-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
369+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
370370
}
371371
]
372372
}

front/plugins/icmp_scan/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
"description": [
325325
{
326326
"language_code": "en_us",
327-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
327+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
328328
}
329329
]
330330
},
@@ -357,7 +357,7 @@
357357
"description": [
358358
{
359359
"language_code": "en_us",
360-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
360+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
361361
}
362362
]
363363
}

front/plugins/internet_ip/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
"description": [
439439
{
440440
"language_code": "en_us",
441-
"string": "These columns are always overwritten by this plugin, unless the user locks or overwrites the value."
441+
"string": "These columns are treated as authoritative and will overwrite existing values, including those set by other plugins, unless the current value was explicitly set by the user (<code>Source = USER</code> or <code>Source = LOCKED</code>)."
442442
}
443443
]
444444
},
@@ -471,7 +471,7 @@
471471
"description": [
472472
{
473473
"language_code": "en_us",
474-
"string": "These columns are only overwritten if they are empty or set to NEWDEV."
474+
"string": "These columns are only overwritten if they are empty (<code>NULL</code> / empty string) or if their Source is set to <code>NEWDEV</code>"
475475
}
476476
]
477477
}

0 commit comments

Comments
 (0)