-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
82 lines (80 loc) · 2.12 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
name: Update Notifications
slug: update-notifications
type: plugin
version: 1.0.1
description: Get notified of plugin, theme and core updates by email
icon: bell
author:
name: Thomas Vantuycom
email: [email protected]
homepage: https://github.com/TheDancingCode/grav-plugin-update-notifications
keywords: grav, plugin, updates, upgrades, notifications, email
bugs: https://github.com/TheDancingCode/grav-plugin-update-notifications/issues
docs: https://github.com/TheDancingCode/grav-plugin-update-notifications/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.6.0' }
- { name: email, version: '>=3.0.0' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
core_updates_enabled:
type: toggle
label: PLUGIN_UPDATE_NOTIFICATIONS.CORE_UPDATES
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
plugin_updates_enabled:
type: toggle
label: PLUGIN_UPDATE_NOTIFICATIONS.PLUGIN_UPDATES
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
theme_updates_enabled:
type: toggle
label: PLUGIN_UPDATE_NOTIFICATIONS.THEME_UPDATES
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
from:
type: email
size: medium
label: PLUGIN_EMAIL.EMAIL_FORM
data-default@: '\Grav\Plugin\UpdateNotificationsPlugin::getFromAddress'
validate:
required: true
to:
type: email
size: medium
label: PLUGIN_EMAIL.EMAIL_TO
multiple: true
validate:
required: true
frequency:
type: cron
label: PLUGIN_UPDATE_NOTIFICATIONS.FREQUENCY
size: medium
default: '0 0 * * *'
placeholder: '* * * * *'