-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprints.yaml
More file actions
99 lines (89 loc) · 2.25 KB
/
blueprints.yaml
File metadata and controls
99 lines (89 loc) · 2.25 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
name: Nextcloud
slug: nextcloud
type: plugin
version: 1.0.1
description: Upload your backups to Nextcloud
icon: cloud-upload
author:
name: Thomas Vantuycom
email: thomasvantuycom@protonmail.com
homepage: https://github.com/TheDancingCode/grav-plugin-nextcloud
keywords: grav, plugin, nextcloud, backup
bugs: https://github.com/TheDancingCode/grav-plugin-nextcloud/issues
docs: https://github.com/TheDancingCode/grav-plugin-nextcloud/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.7.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
webdav_url:
type: url
label: PLUGIN_NEXTCLOUD.WEBDAV_URL
validate:
required: true
username:
type: text
label: PLUGIN_NEXTCLOUD.USERNAME
size: medium
validate:
required: true
password:
type: password
label: PLUGIN_NEXTCLOUD.PASSWORD
size: medium
validate:
required: true
folder:
type: text
label: PLUGIN_NEXTCLOUD.FOLDER
default: /grav-plugin-nextcloud
size: medium
validate:
required: true
purge.trigger:
type: select
label: PLUGIN_NEXTCLOUD.PURGE_TRIGGER
size: medium
default: space
options:
none: PLUGIN_NEXTCLOUD.NONE
number: PLUGIN_NEXTCLOUD.BACKUPS_MAX_COUNT
space: PLUGIN_NEXTCLOUD.BACKUPS_MAX_SPACE
time: PLUGIN_NEXTCLOUD.BACKUPS_MAX_RETENTION_TIME
purge.max_backups_count:
type: number
label: PLUGIN_NEXTCLOUD.BACKUPS_MAX_COUNT
default: 25
size: x-small
validate:
min: 1
type: number
purge.max_backups_space:
type: number
label: PLUGIN_NEXTCLOUD.BACKUPS_MAX_SPACE
append: GB
size: x-small
default: 5
validate:
min: 1
type: number
purge.max_backups_time:
type: number
label: PLUGIN_NEXTCLOUD.BACKUPS_MAX_RETENTION_TIME
append: PLUGIN_NEXTCLOUD.BACKUPS_MAX_RETENTION_TIME_APPEND
size: x-small
default: 365
validate:
min: 1
type: number