-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathblueprints.yaml
88 lines (78 loc) · 2.15 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
name: Admin Addon Revisions
slug: admin-addon-revisions
type: plugin
version: 2.0.2
description: An extension for Admin plugin which adds revisions for pages. Integrates with admin, easily revert back to a previous revision whenever you want!
icon: plug
author:
name: Dávid Szabó
email: [email protected]
homepage: https://github.com/david-szabo97/grav-plugin-admin-addon-revisions
keywords: grav, plugin, admin, revisions
bugs: https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues
docs: https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/blob/master/README.md
license: MIT
dependencies:
- { name: grav, version: ">=1.6.0" }
- { name: admin, version: ">=1.0.0" }
form:
validation: strict
fields:
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
debug:
type: toggle
label: Debug mode
help: Enables debug mode, debug messages will appear in the debugger.
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
directory:
type: text
label: Directory
help: Be careful, don't change this if you don't know the consequences!
scheduled_cleanup.enabled:
type: toggle
label: Enable Cleanup Scheduled Job
help: Use the Grav Scheduler to kick off a background cleanup job
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
scheduled_cleanup.at:
type: cron
label: Scheduled Job Frequency
size: medium
help: Use 'cron' format
default: "0 0 * * *"
placeholder: "0 0 * * *"
scheduled_cleanup.logs:
type: text
label: Scheduled Job Log File
placeholder: "logs/admin-addon-revisions-index.out"
size: medium
limit.maximum:
type: text
label: Maximum revisions per page
limit.older:
type: text
label: Delete older than
ignore_files:
label: Ignore files (regexp)
type: array
value_only: true