-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
executable file
·344 lines (317 loc) · 10 KB
/
config.yaml
File metadata and controls
executable file
·344 lines (317 loc) · 10 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
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
# Changes made to this file require a service restart
DEBUG:
user: "jadudm"
db:
host: "localhost"
name: "urcpp_flask"
user: "urcpp_flask"
password: "DanforthLabor123!"
urcpp:
possibleDurations:
- 8
- 9
- 10
# Controls the history.html page options for previous years funded by URCPP
history:
- db: "never"
desc: "Never"
- db: "oneyr"
desc: "Last year"
- db: "twoyr"
desc: "2 years ago"
- db: "threeToFiveyr"
desc: "3-5 years ago"
- db: "sixToTenyr"
desc: "6-10 years ago"
- db: "elevenPlus"
desc: "11+ years ago"
# NO MAS, sorta; Still need this to get through the upload sequence
# Scott: Changed the order to history, irbyn, irb(if yes), vitae, narrative, done.
# Makes the upload sequence less painful as all three are together, which is important
# for technical reasons, not usability.
flow:
start: "create"
create: "people"
people: "history"
history: "irbyn"
irbyn: "upload/irb"
irb: "upload/vitae"
vitae: "upload/narrative"
narrative: "budget"
budget: "done"
done: "start"
# END NO MAS
# Controls the table columns in the allProjects.html table
allProjectsTable:
- title: "Duration"
fieldName: "duration"
- title: "Start Date"
fieldName: "startDate"
- title: "End Date"
fieldName: "endDate"
- title: "Comm. Service"
fieldName: "isServiceToCommunity"
- title: "Comm. Partner"
fieldName: "hasCommunityPartner" # Will this work with two?
- title: "#Students"
fieldName: "numberStudents"
- title: "Created"
fieldName: "createdDate"
- title: "Status"
fieldName: "status"
# Controls the table columns in the awardLetter.html table
awardLetterTable:
- title: "Duration"
fieldName: "duration"
- title: "Start Date"
fieldName: "startDate"
- title: "End Date"
fieldName: "endDate"
- title: "Amount Funded"
fieldName: "funding"
- title: "Amount Stipend"
fieldName: "stipend"
- title: "# Students"
fieldName: "numberStudents"
- title: "Email"
fieldName: "email"
# Controls the fields that are added up to get a total budget
totalBudget:
- "facultyStipend"
- "miles"
- "otherTravel"
- "equipment"
- "materials"
- "other"
#Adds names and Grad Dates for Contributors
contributors:
- name: "Cody Myers"
username: "myersco"
year: 2017
- name: "Bria Williams"
username: "williamsbri"
year: 2017
- name: "Guillermo Ramos"
username: "ramosg"
year: 2018
- name: "Sarah Watts"
username: "wattss"
year: 2018
- name: "Jose Zindia"
username: "zindiaj"
year: 2018
- name: "Jonathan Chauwa"
username: "chauwaj"
year: 2019
- name: "Kenny Nelson"
username: "nelsonk"
year: 2019
- name: "Sher Sanginov"
username: "sanginovs"
year: 2019
- name: "Evan Johnson"
username: "johnsone"
year: 2019
- name: "Katelyn Adams"
username: ""
year: 2019
- name: "Alex Bryant"
username: "bryantal"
year: 2020
- name: "Roberto Santos Hernandez"
username: ""
year: 2021
- name: "Guillermo Cruz"
username: ""
year: 2021
- name: "Elaheh Jamali"
username: ""
year: 2021
- name: "Hailey Barnett"
username: ""
year: 2021
- name: "May Jue"
username: ""
year: 2021
- name: "Hila Manalai"
username: ""
year: 2022
- name: "Luis Jesus Riera Soto"
username: "rieral"
year: 2022
# Controls the menu for the committee interfaces
committee:
- title: "Projects"
link: "allProjects"
longtitle: "View all Projects"
- title: "Files"
link: "allFiles"
longtitle: "View all Files"
- title: "Budgets"
link: "allBudgets"
longtitle: "View all Budgets"
- title: "Labor"
link: "allLabor"
longtitle: "View all Labor Allocations"
- title: "Review Votes"
link: "allVotes"
longtitle: "Review Votes"
# Controls the menu for the chair interface
chair:
- title: "Set Parameters"
link: "setParameters"
longtitle: "Set URCPP Parameters"
- title: "Manage Committee"
link: "manageCommittee"
longtitle: "Manage Committee Members"
- title: "Award Letters"
link: "awardLetters"
longtitle: "Email all faculties with accepted projects"
# - title: "Manage Committee Members"
# link: "manageCommittee"
# longtitle: "Manage URCPP Committee Members"
# Controls the table columns for the voting interface
voting:
- title: "Likelihood of Enhancing Student Learning and Communication Skills"
dbName: "studentLearning"
longDescription: "Enhances students' learning by providing opportunities for the engagement of challenging, collaborative and directed projects in an apprentice-mentor relationship with faculty."
- title: "Accessibility of Research to Students and Professional Quality of Research"
dbName: "studentAccessibility"
longDescription: The project topic/material is accessible to students and at a level expected of faculty professionals.
- title: "Potential for Career & Personal Development (Student and Faculty)"
dbName: "development"
longDescription: "The project offers experiences that allow students to build their self-confidence and offers experiences that allow faculty to strengthen their own professional development and growth."
- title: "Collaborative Nature of Project"
dbName: "collaborative"
longDescription: "The project helps students understand the critical interplay between collaboration and independent thought and action, and fosters significant student-faculty interaction in scholarly/creative work."
- title: "Clarity/Quality of Proposal"
dbName: "proposalQuality"
longDescription: "Proposal is written in clear and concise language that is understandable by colleagues outside the discipline."
- title: "Budget (Appropriateness and Justification)"
dbName: "budget"
longDescription: "Budget is realistic, as well as justified by and consistent with the scope of the proposed project."
- title: "Timeline"
dbName: "timeline"
longDescription: "There is a high probability that the proposed project will be completed within the time frame specified."
# I think this should move to the Parameters table, so it can be more easily configured in the UI by the committee.
contacts:
irbChairName: "Wendy Williams"
irbChairEmail: "[email protected]"
# Controls the budget.html form
budget:
- title: "Faculty Stipend(s) "
placeholder: "Indicate the amount each faculty member will receive as a stipend, up to $5,300 per faculty member"
amountFieldName: "facultyStipend"
descFieldName: "facultyStipendDesc"
- title: "Equipment "
placeholder: "Indicate the equipment you will need to purchase for your research"
amountFieldName: "equipment"
descFieldName: "equipmentDesc"
- title: "Materials"
placeholder: "Indicate the materials and supplies that will be needed for your research"
amountFieldName: "materials"
descFieldName: "materialsDesc"
- title: "Travel "
placeholder: "Describe the types of travel necessary to conduct the research (airfare, hotel, etc.). Exclude any travel done by car (see the next section)"
amountFieldName: "otherTravel"
descFieldName: "otherTravelDesc"
- title: "Miles "
placeholder: "Describe the miles you and students will be traveling to conduct your research"
amountFieldName: "miles"
descFieldName: "milesDesc"
- title: "Other "
placeholder: "Describe any funding needed for things that do not fit into the categories above"
amountFieldName: "other"
descFieldName: "otherDesc"
databases:
dynamic: "data/urcpp.sqlite"
static: "data/static.sqlite"
models:
static:
- LDAPFaculty
- LDAPStudents
- Programs
dynamic:
- EmailTemplates
- Budget
- Collaborators
- Parameters
- PostSurvey
- PreSurvey
- Projects
- URCPPFaculty
- URCPPStudents
- Voting
log:
filename: "urcpp.log"
# Use this for URL construction.
# /{tag}/...
tag: "urcpp"
timeout: 10
projectStatus:
Accept: Accept
Reject: Deny
Withdrawn: Withdrawn
# This means they have not yet hit "Submit"
Incomplete: Incomplete
# This means they are done, but not reviewed
Pending: Pending
projectStatusAction:
Start:
msg: "Start your application"
url: "/create"
Accept:
msg: "Your application has been accepted"
url: "/review"
Reject:
msg: "Your application has been denied"
url: "/review"
# Not sure what to do if withdrawn
Withdrawn:
msg: "Withdraw your application"
url: "#"
# This means they have not yet hit "Submit"
Incomplete:
msg: "Complete your application"
url: "/create"
# This means they are done, but not reviewed
Pending:
msg: "Review your application"
url: "/review"
response:
badUsername: "Bad Username"
noResults: "No Results"
filepaths:
# directory: "/var/www/html/urcpp-flask/api/static/files/%%applicationCycle%%/%%username%%"
# projectFiles: "/var/www/html/urcpp-flask/api/static/files/"
directory: "static/files/%%applicationCycle%%/%%username%%"
projectFiles: "static/files/"
downloadFiles: "static/files/"
allowedFileExtensions:
rtf: "Rich Text Format"
pdf: "Portable Document Format"
doc: "Old Word"
docx: "New Word"
odt: "Libre Office"
allowedFileNames:
- vitae
- narrative
- irb
- abstract
- finalReport
pageTemplates: "/var/www/html/urcpp-flask/api/templates"
downloads:
downloadFileTypes:
allProjects: "project"
allBudgets: "budget"
allLabor: "labor"
downloadFileNameFormat: "urcpp-%%applicationCycle%%-%%downloadFileType%%"
downloadFileExtension: ".xlsx"
# We don't know if these are needed, but they do document the
# directory paths/layout that we intend...
# filesInDirectory:
# vitae: "%%username%%-vitae.%%thing%%"
# narrative: "%%username%%-narrative.%%thing%%"
# irb: "%%username%%-irb.%%thing%%"
termDefinition:
serviceToCommunity: "A collaborative partnership between the college and the community. We believe that collaborative is a key word. The service-learning project should be relevant and beneficial to both the college and the community and should result from shared dialogue and negotiation."