This repository has been archived by the owner on Feb 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprints.yaml
386 lines (372 loc) · 12.9 KB
/
blueprints.yaml
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
name: ePrivacy
version: 0.5.0
testing: true
description: Helps with EU ePrivacy Regulations (GDPR) compliance
icon: eye-slash
author:
name: bleutzinn
email: [email protected]
homepage: https://github.com/bleutzinn/grav-plugin-eprivacy
demo: https://festeto.net/grav-plugin-eprivacy-demo/
keywords: privacy, eprivacy, e-privacy, gdpr, cookies, grav, plugin
bugs: https://github.com/bleutzinn/grav-plugin-eprivacy/issues
docs: https://github.com/bleutzinn/grav-plugin-eprivacy/README.md
license: MIT
form:
validation: strict
rules:
number:
pattern: "[0-9]+"
fields:
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
tacserviceoptions:
type: section
title: 'Services configuration'
underline: true
fields:
info:
type: display
size: large
label: Instructions
content: 'Enable and configure all services per category using these tabs'
markdown: false
#..... subfields
tabs:
type: tabs
active: 4
fields:
advertisingnetwork:
type: tab
title: 'Advertising network'
fields:
info:
type: display
size: large
label: None
content: "There are no *Advertising network* services defined in `eprivacy/blueprints.yaml` yet"
markdown: true
apis:
type: tab
title: 'APIs'
fields:
googlemaps:
type: fieldset
title: Google Maps
help: Third-party Tag configuration for Google Maps
info: (googlemaps)
text: 'Shortcode: [eprivacy-googlemaps /] ; Twig variable: {{ eprivacy.googlemaps }}'
collapsed: true # Initial state of fieldset (see collapsible option)
collapsible: true # Whether one can expand the fieldset or not
fields:
services.googlemaps.api_key:
type: text
label: API KEY
services.googlemaps.callback_function:
type: text
label: Callback function
services.googlemaps.zoom:
type: text
label: Zoom
services.googlemaps.latitude:
type: text
label: Latitude
services.googlemaps.longitude:
type: text
label: Longitude
services.googlemaps.width:
type: text
label: Width
services.googlemaps.height:
type: text
label: Height
services.googlemaps.enabled:
type: toggle
label: Enabled
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
googletagmanager:
type: fieldset
title: Google Tag Manager
help: Third-party Tag configuration for Google Tag Manager
info: (googletagmanager)
text: 'Shortcode: [eprivacy-googletagmanager /] ; Twig variable: {{ eprivacy.googletagmanager }}'
text: Text inside fieldset and before other fields
collapsed: true # Initial state of fieldset (see collapsible option)
collapsible: true # Whether one can expand the fieldset or not
fields:
services.googletagmanager.id:
type: text
label: id
services.googletagmanager.enabled:
type: toggle
label: Enabled
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
audiencemeasurement:
type: tab
title: 'Audience measurement'
fields:
info:
type: display
size: large
label: None
content: "There are no *Audience measurement* services defined in `eprivacy/blueprints.yaml` yet"
markdown: true
comment:
type: tab
title: 'Comment'
fields:
disqus:
type: fieldset
title: Disqus
help: Third-party Tag configuration for Disqus
info: (disqus)
text: 'Shortcode: [eprivacy-discus /] ; Twig variable: {{ eprivacy.discus }}'
collapsed: true # Initial state of fieldset (see collapsible option)
collapsible: true # Whether one can expand the fieldset or not
fields:
services.disqus.shortname:
type: text
label: Disqus Shortname
services.disqus.enabled:
type: toggle
label: Enabled
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
socialnetwork:
type: tab
title: 'Social network'
fields:
pinterest:
type: fieldset
title: Pinterest
help: Third-party Tag configuration for Pinterest
info: (pinterest)
text: 'Shortcode: [eprivacy-pinterest /] ; Twig variable: {{ eprivacy.pinterest }}'
collapsed: true # Initial state of fieldset (see collapsible option)
collapsible: true # Whether one can expand the fieldset or not
fields:
services.pinterest.data_pin_color:
type: select
size: short
classes: fancy
label: Data Pin Color
options:
white: 'white'
grey: 'grey'
red: 'red'
services.pinterest.data_pin_height:
type: text
label: Data Pin Height
validate:
rule: number
services.pinterest.data_pin_shape:
type: select
size: short
classes: fancy
label: Data Pin Shape
options:
default: default
round: 'round'
services.pinterest.enabled:
type: toggle
label: Enabled
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
twitter:
type: fieldset
title: Twitter
help: Third-party Tag configuration for Twitter
info: (twitter)
text: 'Shortcode: [eprivacy-twitter /] ; Twig variable: {{ eprivacy.twitter }}'
collapsed: true # Initial state of fieldset (see collapsible option)
collapsible: true # Whether one can expand the fieldset or not
fields:
services.twitter.username:
type: text
label: Username
services.twitter.data_show_count:
type: text
label: Data Show Count
services.twitter.data_count:
type: text
label: Data Count
services.twitter.data_size:
type: text
label: Data Size
services.twitter.enabled:
type: toggle
label: Enabled
highlight: 1
default: 0
options:
1: 'Yes'
0: 'No'
validate:
type: bool
support:
type: tab
title: 'Support'
fields:
info:
type: display
size: large
label: None
content: "There are no *Support* services defined in `eprivacy/blueprints.yaml` yet"
markdown: true
video:
type: tab
title: 'Video'
fields:
info:
type: display
size: large
label: None
content: "There are no *Video* services defined in `eprivacy/blueprints.yaml` yet"
markdown: true
tacinitoptions:
type: section
title: 'tarteaucitron.js options'
underline: true
fields:
#..... subfields
anchortag:
type: text
label: Popup anchor tag
help: Automatically open the popup when URL has this anchor tag
size: medium
validate:
pattern: '#[A-Za-z0-9-]+'
message: 'Must start with a # followed by letters or digits only'
orientation:
type: select
size: medium
label: Position
default: bottom
help: Position of the banner on the page
options:
bottom: Bottom
top: Top
ad_blocker:
type: toggle
label: Adblocker alert
help: Display a message if an adblocker is detected
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
show_alert_small:
type: toggle
label: Small banner
help: Always show the small banner on the page
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
remove_credit:
type: toggle
label: Remove credit link
help: Remove credit link to tarteaucitron.js
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
handle_dnt_request:
type: toggle
label: Handle browser DoNotTrack
help: Handle browser DoNotTrack request setting
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
cookieslist:
type: toggle
label: List cookies
help: Display the list of cookies installed
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
cookies_expire:
type: text
label: Cookies Expire
help: How long in days the tarteaucitron.js cookie lasts (max. 365)
size: medium
validate:
type: number
min: 0
max: 365
message: Set the number of days for Cookies Expire (max. 365)
cookie_domain:
type: text
label: Cookie sudomains
help: Domain name on which the cookie for the subdomains will be placed
size: medium
validate:
pattern: '\.[A-Za-z0-9][A-Za-z0-9\-.]{0,61}[A-Za-z0-9]?'
message: 'Add starting . or remove illegal characters'
extraoptions:
type: section
title: 'Extra options'
underline: true
fields:
ipstack_api_key:
type: text
label: ipstack API Access Key
help: ipstack is used to lookup whether a visit is from a EU member state
size: medium
show_activators:
type: toggle
label: Show activators
help: Show activator buttons for denied services
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool