-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstatecheck.xml
More file actions
executable file
·247 lines (247 loc) · 12.9 KB
/
Copy pathstatecheck.xml
File metadata and controls
executable file
·247 lines (247 loc) · 12.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<root>
<name>Statecheck</name>
<key>statecheck</key>
<state>stable</state>
<!-- stable | unstable | beta | alpha -->
<logo>https://raw.githubusercontent.com/ericferon/glpi-statecheck/master/statecheck.png</logo>
<description>
<short>
<cs>Tento zásuvný modul umožňuje ověřovat platnost kolonek formuláře.<br/>Například je možné udělat kolonku povinnou nebo ne, v závislosti na nějaké hodnotě v jiné kolonce.</cs>
<en>This plugin let you check the validity of form fields.<br/>For instance you can make a field mandatory or not, depending on some value in another field.</en>
<fr>Ce plugin vous permet de contrôler la validité des champs d'un formulaire. Par exemple, vous pouvez rendre un champ obligatoire ou pas, en fonction de certaines valeurs dans un autre champ.</fr>
</short>
<long>
<cs>Tento zásuvný modul umožňuje ověřovat platnost kolonek formuláře.<br/>Například je možné udělat kolonku povinnou nebo ne, v závislosti na nějaké hodnotě v jiné kolonce<br/>K tomuto účelu určujete jedno nebo více pravidel:<br/>- pravidlo souvisí s 1 třídou inventáře (počítač, tok dat, …) a závisí na hodnotě 1 kolonky (= 1 stav) v této třídě (např. hodnota typu nebo kategorie)<br/>- pro každé pravidlo je třeba zadat ostatní podmínky pro pravidlo, které má být spuštěno (např. je třeba, aby hodnota v jiné kolonce obsahovala nebo začínala na konkrétní hodnotu)<br/>- pro každé pravidlo určujete která kontrola je provedena (např. ještě další kolonka nemůže zůstat nevyplněná, nebo je třeba, aby odpovídala regulárnímu výrazu)<br/>Pro 1 stav je možné určit několik pravidel, s různými podpůrnými podmínkami.</cs>
<en>This plugin let you check the validity of form fields.<br/>For instance you can make a field mandatory or not, depending on some value in another field<br/>For that purpose, you define one or more rules :<br/>- a rule is related to 1 inventory class (computer, dataflow, ...) and depends on the value of 1 field (= 1 state) in this class (f.i a type or category value)<br/>- for each rule, you can specify other conditions for a rule to be fired (f.i the value of another field must contain or start with a certain value)<br/>- for each rule, you specify which check is performed (f.i yet another field may not be empty, or must comply with a regular expression)<br/>Several rules may be defined for 1 state, with different supplementary conditions.</en>
<fr>Ce plugin vous permet de contrôler la validité des champs d'un formulaire.<br/>Par exemple, vous pouvez rendre un champ obligatoire ou pas, en fonction de certaines valeurs dans un autre champ.<br/>A cette fin, vous définissez une ou plusieurs règles :<br/>-Une règle est relative à une classe d'inventaire (serveur, flux de données, ...) et dépend de la valeur d'un champ (= 1 état) dans cette classe (p.ex la valeur d'un type ou d'une catégorie) <br/>- Pour chaque règle, vous pouvez spécifier quelles autres conditions doivent être rencontrées pour activer la règle (p.ex la valeur d'un autre champ doit contenir ou démarrer une certaine valeur)<br/>- Pour chaque règle, vous spécifiez quel contrôle doit être exécuté (p.ex un autre champ ne peut être vide, ou doit respecter une expression régulière)<br/>Plusieurs règles peuvent être définies pour un état, avec des conditions supplémentaires différentes</fr>
</long>
</description>
<homepage>https://github.com/ericferon/glpi-statecheck</homepage>
<download>https://github.com/ericferon/glpi-statecheck/releases</download>
<issues>https://github.com/ericferon/glpi-statecheck/issues</issues>
<readme>https://github.com/ericferon/glpi-statecheck/blob/master/README.md</readme>
<authors>
<author>Eric Feron</author>
</authors>
<versions>
<version>
<num>2.4.7</num>
<compatibility>~10.0.0 || ~11.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.7/statecheck-v2.4.7.tar.gz</download_url>
</version>
<version>
<num>2.4.6</num>
<compatibility>~10.0.0 || ~11.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.6/statecheck-v2.4.6.tar.gz</download_url>
</version>
<version>
<num>2.4.5</num>
<compatibility>~10.0.0 || ~11.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.5/statecheck-v2.4.5.tar.gz</download_url>
</version>
<version>
<num>2.4.4</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.4/statecheck-v2.4.4.tar.gz</download_url>
</version>
<version>
<num>2.4.3</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.3/statecheck-v2.4.3.tar.gz</download_url>
</version>
<version>
<num>2.4.2</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.2/statecheck-v2.4.2.tar.gz</download_url>
</version>
<version>
<num>2.4.1</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.1/statecheck-v2.4.1.tar.gz</download_url>
</version>
<version>
<num>2.4.0</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.4.0/statecheck-v2.4.0.tar.gz</download_url>
</version>
<version>
<num>2.3.9</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.9/statecheck-v2.3.9.tar.gz</download_url>
</version>
<version>
<num>2.3.8</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.8/statecheck-v2.3.8.tar.gz</download_url>
</version>
<version>
<num>2.3.7</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.7/statecheck-v2.3.7.tar.gz</download_url>
</version>
<version>
<num>2.3.6</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.6/statecheck-v2.3.6.tar.gz</download_url>
</version>
<version>
<num>2.3.5</num>
<compatibility>~9.5.0 || ~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.5/statecheck-v2.3.5.tar.gz</download_url>
</version>
<version>
<num>2.3.4</num>
<compatibility>~9.5.0 || ~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.4/statecheck-v2.3.4.tar.gz</download_url>
</version>
<version>
<num>2.3.3</num>
<compatibility>~9.5.0 || ~10.0.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.3/statecheck-v2.3.3.tar.gz</download_url>
</version>
<version>
<num>2.3.2</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.2/statecheck-v2.3.2.tar.gz</download_url>
</version>
<version>
<num>2.3.1</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.1/statecheck-v2.3.1.tar.gz</download_url>
</version>
<version>
<num>2.3.0</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.3.0/statecheck-v2.3.0.tar.gz</download_url>
</version>
<version>
<num>2.2.3</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.2.3/statecheck-v2.2.3.tar.gz</download_url>
</version>
<version>
<num>2.2.2</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.2.2/statecheck-v2.2.2.tar.gz</download_url>
</version>
<version>
<num>2.2.1</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.2.1/statecheck-v2.2.1.tar.gz</download_url>
</version>
<version>
<num>2.2.0</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.2.0/statecheck-v2.2.0.tar.gz</download_url>
</version>
<version>
<num>2.1.2</num>
<compatibility>~9.4.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.1.2/statecheck-v2.1.2.tar.gz</download_url>
</version>
<version>
<num>2.1.1</num>
<compatibility>~9.4.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.1.1/statecheck-v2.1.1.tar.gz</download_url>
</version>
<version>
<num>2.1.0</num>
<compatibility>~9.4.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.1.0/statecheck-v2.1.0.tar.gz</download_url>
</version>
<version>
<num>2.0.14</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.14/statecheck-v2.0.14.tar.gz</download_url>
</version>
<version>
<num>2.0.13</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.13/statecheck-v2.0.13.tar.gz</download_url>
</version>
<version>
<num>2.0.12</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.12/statecheck-v2.0.12.tar.gz</download_url>
</version>
<version>
<num>2.0.11</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.11/statecheck-v2.0.11.tar.gz</download_url>
</version>
<version>
<num>2.0.10</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.10/statecheck-v2.0.10.tar.gz</download_url>
</version>
<version>
<num>2.0.9</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.9/statecheck-v2.0.9.tar.gz</download_url>
</version>
<version>
<num>2.0.8</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.8/statecheck-v2.0.8.tar.gz</download_url>
</version>
<version>
<num>2.0.7</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.7/statecheck-v2.0.7.tar.gz</download_url>
</version>
<version>
<num>2.0.6</num>
<compatibility>~9.3.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.6/statecheck-v2.0.6.tar.gz</download_url>
</version>
<version>
<num>2.0.5</num>
<compatibility>~9.2.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.5/statecheck-v2.0.5.tar.gz</download_url>
</version>
<version>
<num>2.0.2</num>
<compatibility>~9.2.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.2/statecheck-v2.0.2.tar.gz</download_url>
</version>
<version>
<num>2.0.1</num>
<compatibility>~9.2.0</compatibility>
<download_url>https://github.com/ericferon/glpi-statecheck/releases/download/v2.0.1/statecheck-v2.0.1.tar.gz</download_url>
</version>
</versions>
<langs>
<lang>cs_CZ</lang>
<lang>en_GB</lang>
<lang>fr_FR</lang>
</langs>
<license>GPL v2+</license>
<tags>
<cs>
<tag>Formuláře</tag>
<tag>Ověřování</tag>
<tag>Ověření formuláře</tag>
</cs>
<en>
<tag>Data</tag>
<tag>Forms</tag>
<tag>Validation</tag>
<tag>Form Validation</tag>
<tag>Compliance</tag>
</en>
<fr>
<tag>Données</tag>
<tag>Formulaires</tag>
<tag>Validation</tag>
<tag>Validation Formulaire</tag>
<tag>Conformité</tag>
</fr>
</tags>
<screenshots>
<screenshot>https://raw.githubusercontent.com/ericferon/glpi-statecheck/master/statecheck-example1.png</screenshot>
<screenshot>https://raw.githubusercontent.com/ericferon/glpi-statecheck/master/statecheck-example2.png</screenshot>
<screenshot>https://raw.githubusercontent.com/ericferon/glpi-statecheck/master/statecheck-example3.png</screenshot>
<screenshot>https://raw.githubusercontent.com/ericferon/glpi-statecheck/master/statecheck-example4.png</screenshot>
<screenshot>https://raw.githubusercontent.com/ericferon/glpi-statecheck/master/statecheck-example5.png</screenshot>
</screenshots>
</root>