-
Notifications
You must be signed in to change notification settings - Fork 9
/
blueprints.yaml
467 lines (417 loc) · 18.4 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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
name: "JSComments"
version: "2.2.1"
description: "Add comments to your site with Discourse, Disqus, Facebook, Google+, HyperComments, IntenseDebate, Isso, and Muut comment systems."
icon: "comments-o"
author:
name: "Sommerregen"
email: "[email protected]"
homepage: "https://github.com/sommerregen/grav-plugin-jscomments"
keywords: ["jscomments", "plugin", "comments", "services", "discourse", "disqus", "facebook", "google", "hypercomments", "intensedebate", "muut"]
docs: "https://github.com/sommerregen/grav-plugin-jscomments/blob/master/README.md"
bugs: "https://github.com/sommerregen/grav-plugin-jscomments/issues"
license: "MIT/GPL"
form:
validation: strict
fields:
tabs:
type: tabs
active: 1
class: subtle
fields:
jscomments:
type: tab
title: PLUGINS.JS_COMMENTS.PLUGIN_NAME
fields:
enabled:
type: toggle
label: PLUGINS.JS_COMMENTS.PLUGIN_STATUS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
active:
type: toggle
label: PLUGINS.JS_COMMENTS.PLUGIN_ACTIVE
help: PLUGINS.JS_COMMENTS.PLUGIN_ACTIVE_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
provider:
type: select
size: medium
label: PLUGINS.JS_COMMENTS.PROVIDERS.TITLE
help: PLUGINS.JS_COMMENTS.PROVIDERS.HELP
data-options@: '\Grav\Plugin\JSCommentsPlugin::getProviders'
options:
'': PLUGINS.JS_COMMENTS.NONE_SELECTED
default: ''
validate:
required: true
type: string
params:
type: tab
title: PLUGINS.JS_COMMENTS.PROVIDERS.TITLE_SETTINGS
fields:
discourse:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.DISCOURSE.TITLE
fields:
providers.discourse.host:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.DISCOURSE.FIELDS.HOST
help: PLUGINS.JS_COMMENTS.PROVIDERS.DISCOURSE.FIELDS.HOST_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.DISCOURSE.FIELDS.HOST_PLACEHOLDER
validate:
type: string
disqus:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.TITLE
fields:
providers.disqus.shortname:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.SHORTNAME
help: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.SHORTNAME_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.SHORTNAME_PLACEHOLDER
validate:
type: string
providers.disqus.show_count:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.COUNT
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.disqus.language:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.DEFAULT_LANGUAGE
help: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.DEFAULT_LANGUAGE_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.FIELDS.DEFAULT_LANGUAGE_PLACEHOLDER
size: x-small
validate:
type: string
facebook:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.TITLE
fields:
providers.facebook.app_id:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.APPID
help: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.APPID_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.APPID_PLACEHOLDER
validate:
type: string
providers.facebook.num_posts:
type: text
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.NUM_POSTS
help: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.NUM_POSTS_HELP
append: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.NUM_POSTS_APPEND
validate:
type: int
min: 1
providers.facebook.colorscheme:
type: select
size: medium
label: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.COLORSCHEME.TITLE
help: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.COLORSCHEME.HELP
default: light
options:
light: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.COLORSCHEME.OPTIONS.LIGHT
dark: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.COLORSCHEME.OPTIONS.DARK
validate:
type: string
providers.facebook.order_by:
type: select
size: medium
label: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.ORDER_BY.TITLE
help: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.ORDER_BY.HELP
default: social
options:
social: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.ORDER_BY.OPTIONS.SOCIAL
reverse_time: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.ORDER_BY.OPTIONS.REVERSE_TIME
time: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.ORDER_BY.OPTIONS.TIME
validate:
type: string
providers.facebook.language:
type: text
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.LANGUAGE
help: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.LANGUAGE_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.LANGUAGE_PLACEHOLDER
validate:
type: string
providers.facebook.width:
type: text
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.WIDTH
help: PLUGINS.JS_COMMENTS.PROVIDERS.FACEBOOK.FIELDS.WIDTH_HELP
validate:
type: string
googleplus:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.TITLE
fields:
providers.googleplus.show_count:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.FIELDS.COUNT
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.googleplus.language:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.FIELDS.DEFAULT_LANGUAGE
help: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.FIELDS.DEFAULT_LANGUAGE_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.FIELDS.DEFAULT_LANGUAGE_PLACEHOLDER
size: x-small
validate:
type: string
providers.googleplus.width:
type: text
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.FIELDS.WIDTH
help: PLUGINS.JS_COMMENTS.PROVIDERS.GOOGLEPLUS.FIELDS.WIDTH_HELP
validate:
type: string
intensedebate:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.INTENSEDEBATE.TITLE
fields:
providers.intensedebate.account_number:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.INTENSEDEBATE.FIELDS.ACCOUNT_NUMBER
help: PLUGINS.JS_COMMENTS.PROVIDERS.INTENSEDEBATE.FIELDS.ACCOUNT_NUMBER_HELP
validate:
type: string
isso:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.TITLE
fields:
providers.isso.host:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.HOST
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.HOST_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.HOST_PLACEHOLDER
validate:
type: string
providers.isso.builtin_css:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.BUILTIN_CSS
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.BUILTIN_CSS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
# providers.isso.show_count:
# type: toggle
# label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COUNT
# highlight: 1
# default: 0
# options:
# 1: PLUGIN_ADMIN.YES
# 0: PLUGIN_ADMIN.NO
# validate:
# type: bool
providers.isso.language:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.DEFAULT_LANGUAGE
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.DEFAULT_LANGUAGE_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.DEFAULT_LANGUAGE_PLACEHOLDER
size: x-small
validate:
type: string
providers.isso.reply_to_self:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.REPLY_TO_SELF
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.REPLY_TO_SELF_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.isso.require:
type: checkboxes
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.REQUIRE.LABEL
options:
author: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.REQUIRE.AUTHOR
email: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.REQUIRE.EMAIL
default:
author: true
email: true
use: keys
providers.isso.comments.number:
type: number
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.NUMBER_LABEL
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.NUMBER_HELP
append: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.LABEL
default: 10
validate:
min: -1
providers.isso.comments.nested_number:
type: number
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.NESTED_LABEL
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.NESTED_HELP
append: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.LABEL
default: 5
validate:
min: -1
providers.isso.comments.reveal:
type: number
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.REVEAL_LABEL
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.REVEAL_HELP
append: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.COMMENTS.LABEL
default: 5
validate:
min: -1
providers.isso.avatar.enabled:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.AVATAR.LABEL
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.AVATAR.HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
providers.isso.avatar.background:
type: colorpicker
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.AVATAR.BG_COLOR
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.AVATAR.BG_COLOR_HELP
placeholder: '#f0f0f0'
default: ''
providers.isso.avatar.foreground:
type: colorpicker
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.AVATAR.FG_COLOR
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.AVATAR.FG_COLOR_HELP
placeholder: '#9abf88'
default: ''
providers.isso.vote.enabled:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.VOTE.LABEL
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.VOTE.HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
providers.isso.vote.levels:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.VOTE.LEVELS_LABEL
help: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.VOTE.LEVELS_HELP
description: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.VOTE.LEVELS_DESCRIPTION
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.ISSO.FIELDS.VOTE.LEVELS_PLACEHOLDER
default: ''
validate:
type: string
muut:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.TITLE
fields:
providers.muut.forum:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.FORUM
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.FORUM_PLACEHOLDER
validate:
type: string
providers.muut.channel:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.CHANNEL
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.CHANNEL_PLACEHOLDER
validate:
type: string
providers.muut.widget:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.WIDGET
help: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.WIDGET_HELP
highlight: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
providers.muut.show_online:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.SHOW_ONLINE
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.muut.show_title:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.SHOW_TITLE
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.muut.upload:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.UPLOAD
highlight: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.muut.share:
type: toggle
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.SHARE
highlight: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
providers.muut.language:
type: text
size: x-small
label: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.LANGUAGE
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.MUUT.FIELDS.LANGUAGE_PLACEHOLDER
validate:
type: string
hypercomments:
type: section
title: PLUGINS.JS_COMMENTS.PROVIDERS.HYPERCOMMENTS.TITLE
fields:
providers.hypercomments.widget_id:
type: text
label: PLUGINS.JS_COMMENTS.PROVIDERS.HYPERCOMMENTS.FIELDS.WIDGET_ID
size: x-small
validate:
type: int
providers.hypercomments.social:
type: selectize
label: PLUGINS.JS_COMMENTS.PROVIDERS.HYPERCOMMENTS.FIELDS.SOCIAL
help: PLUGINS.JS_COMMENTS.PROVIDERS.HYPERCOMMENTS.FIELDS.SOCIAL_HELP
placeholder: PLUGINS.JS_COMMENTS.PROVIDERS.HYPERCOMMENTS.FIELDS.SOCIAL_PLACEHOLDER
validate:
type: commalist