-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
168 lines (154 loc) · 3.4 KB
/
config.json
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
{
"name": "Duster",
"namespace": "Stanford\\Duster",
"description": "A self-service tool for researchers to automatically import clinical data into REDCap projects",
"framework-version": 9,
"documentation": "README.md",
"authors": [
{
"name": "Jonasel Roque",
"email": "[email protected]",
"institution": "Stanford University & Stanford Health Care"
}
],
"permissions": [
"redcap_every_page_top"
],
"enable-every-page-hooks-on-system-pages": true,
"links": {
"project": [
{
"name": "DUSTER: Get Data",
"key": "dusterdata",
"icon": "fas fa-receipt",
"url": "pages/populateData.php",
"show-header-and-footer": true
},
{
"name": "DUSTER: Edit Project",
"key": "dustereditproject",
"icon": "fas fa-pen-to-square",
"url": "pages/editProject.php",
"show-header-and-footer": true
}
],
"control-center": [
{
"name": "DUSTER: Refresh Server side metadata",
"key": "metadata-refresh",
"icon": "fas fa-receipt",
"url": "services/refreshMetadata.php",
"show-header-and-footer": true
}
]
},
"no-auth-pages": [
"services/getData",
"services/refreshMetadata"
],
"project-settings": [
{
"key": "enable-project-debug-logging",
"name": "<b>Enable Debug Logging</b><br><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
}
],
"system-settings": [
{
"key": "enable-system-debug-logging",
"name": "<b>Enable Debug Logging (system-wide)</b><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
},
{
"key": "starrapi-metadata-url",
"name": "STARR-API Metadata Webservice URL",
"required": true,
"type": "text"
},
{
"key": "starrapi-config-url",
"name": "STARR-API Config Webservice URL",
"required": true,
"type": "text"
},
{
"key": "starrapi-dataset-design-url",
"name": "STARR-API Dataset Design URL",
"required": true,
"type": "text"
},
{
"key": "starrapi-data-url",
"name": "STARR-API Data Webservice URL",
"required": true,
"type": "text"
},
{
"key": "duster-email",
"name": "<b>Error notification email</b>",
"required": false,
"type": "text"
},
{
"key": "get-data-limit",
"name": "<b>Maximum number of records for Get Data (default is 600)</b>",
"required": false,
"type": "text",
"validation" : "number"
},
{
"key": "server-type",
"name": "<b>Server Type</b><br>server environment flag for REDCap URL",
"required": true,
"type": "dropdown",
"choices": [
{
"value": "local",
"name": "Local"
},
{
"value": "development",
"name": "Development"
},
{
"value": "production",
"name": "Production"
}
]
},
{
"key": "enable-allowlist",
"name": "<b>Enable Allow List</b>",
"required": false,
"type": "checkbox"
},
{
"key": "allowlist",
"name": "SUNet Allowlist",
"required": false,
"type": "sub_settings",
"branchingLogic" : {
"field": "enable-allowlist",
"op": "=",
"value" : true
},
"sub_settings": [
{
"key": "sunet",
"name": "SUNet",
"required": false,
"type": "text",
"repeatable": true
}
]
}
],
"compatibility": {
"php-version-min": "",
"php-version-max": "",
"redcap-version-min": "",
"redcap-version-max": ""
}
}