50
54
deployment_settings.mail.server = "127.0.0.1:25"
55
# Useful for Windows Laptops:
56
#deployment_settings.mail.server = "smtp.gmail.com:587"
57
#deployment_settings.mail.login = "username:password"
52
59
deployment_settings.mail.sender = "sahana@your.org"
53
60
# Address to which mails get sent to approve new users
58
65
# Default timezone for users
59
66
deployment_settings.L10n.utc_offset = "UTC +0000"
62
s3_module_type_opts = {
64
2:T("Situation Awareness"),
65
3:T("Person Management"),
66
4:T("Aid Management"),
69
68
# Comment/uncomment modules here to disable/enable them
70
69
# Modules menu is defined in 01_menu.py
71
70
from gluon.storage import Storage
72
71
deployment_settings.modules = Storage(
73
name_nice = Tstr("Home"),
75
74
access = None, # All Users (inc Anonymous) can see this module in the default menu & access the controller
76
75
module_type = 0, # This item is always 1st in the menu
77
76
resources = Storage()
80
name_nice = "Administration",
81
description = "Site Administration",
79
name_nice = Tstr("Administration"),
80
description = Tstr("Site Administration"),
82
81
access = "|1|", # Only Administrators can see this module in the default menu & access the controller
83
82
module_type = 0, # This item is handled separately in the menu
84
83
resources = Storage()
89
description = "Situation Awareness & Geospatial Analysis",
90
module_type = 1, # 1st item in the menu
91
88
resources = Storage(
92
89
gis_setting = {'importer' : False},
93
90
gis_marker = {'importer' : False},
114
111
gis_layer_wms = {'importer' : False},
115
112
gis_layer_xyz = {'importer' : False},
116
113
gis_layer_yahoo = {'importer' : False}
116
name_nice = Tstr("Map"),
117
description = Tstr("Situation Awareness & Geospatial Analysis"),
118
module_type = 1 # 1st item in the menu
120
name_nice = "Missing Persons",
121
description = "Helps to report and search for Missing Persons",
123
123
resources = Storage(
124
124
mpr_setting = {'importer' : False},
125
125
mpr_missing_report = {'importer' : False}
128
name_nice = Tstr("Missing Persons"),
129
description = Tstr("Helps to report and search for Missing Persons"),
129
name_nice = "Requests",
130
description = "Tracks requests for aid and matches them against donors who have pledged aid",
132
135
resources = Storage(
133
136
rms_setting = {'importer' : False},
134
137
rms_req = {'importer' : True},
135
138
rms_pledge = {'importer' : False},
136
139
rms_req_detail = {'importer' : False}
142
name_nice = Tstr("Requests"),
143
description = Tstr("Tracks requests for aid and matches them against donors who have pledged aid"),
140
name_nice = "Hospitals",
141
description = "Helps to monitor status of hospitals",
143
149
resources = Storage(
144
150
hms_setting={'importer' : False},
145
151
hms_hospital = {'importer' : True},
151
157
hms_resources = {'importer' : False},
152
158
hms_hrequest = {'importer' : True},
153
159
hms_hpledge = {'importer' : True}
162
name_nice = Tstr("Hospitals"),
163
description = Tstr("Helps to monitor status of hospitals"),
157
name_nice = "Volunteers",
158
description = "Manage volunteers by capturing their skills, availability and allocation",
160
169
resources = Storage(
161
170
vol_setting = {'importer' : False},
162
171
vol_volunteer = {'importer' : False},
163
172
vol_resource = {'importer' : False}
175
name_nice = Tstr("Volunteers"),
176
description = Tstr("Manage volunteers by capturing their skills, availability and allocation"),
167
name_nice = "Messaging",
168
description = "Sends & Receives Alerts via Email & SMS",
170
182
resources = Storage(
171
183
msg_setting = {'importer' : False},
172
184
msg_email_settings = {'importer' : False},
179
191
msg_outbox = {'importer' : False},
180
192
msg_read_status = {'importer' : False},
181
193
msg_report = {'importer' : False}
196
name_nice = Tstr("Messaging"),
197
description = Tstr("Sends & Receives Alerts via Email & SMS"),
185
name_nice = "Person Registry",
186
description = "Central point to record details on People",
188
203
resources = Storage(
189
204
pr_address = {'importer' : True},
190
205
pr_pe_contact = {'importer' : True},
202
217
pr_person = {'importer' : True},
203
218
pr_group = {'importer' : True},
204
219
pr_group_membership = {'importer' : True},
223
name_nice = Tstr("Person Registry"),
224
description = Tstr("Central point to record details on People"),
209
name_nice = "Disaster Victim Identification",
210
description = "Disaster Victim Identification",
229
name_nice = Tstr("Disaster Victim Identification"),
230
description = Tstr("Disaster Victim Identification"),
211
231
module_type = 10,
212
232
resources = Storage(
213
233
dvi_setting = {'importer' : False},
222
# name_nice = "Disaster Victim Registry",
223
# description = "Traces internally displaced people (IDPs) and their needs",
242
# name_nice = Tstr("Disaster Victim Registry"),
243
# description = Tstr("Traces internally displaced people (IDPs) and their needs"),
224
244
# module_type = 10
226
246
budget = Storage(
227
name_nice = "Budgeting Module",
228
description = "Allows a Budget to be drawn up",
230
248
resources = Storage(
231
249
budget_setting = {'importer' : False},
232
250
budget_parameter = {'importer' : True},
241
259
budget_budget = {'importer' : False},
242
260
budget_budget_bundle = {'importer' : False},
243
261
budget_budget_staff = {'importer' : False}
264
name_nice = Tstr("Budgeting Module"),
265
description = Tstr("Allows a Budget to be drawn up"),
247
name_nice = "Shelter Registry",
248
description = "Tracks the location, distibution, capacity and breakdown of victims in Shelters",
270
name_nice = Tstr("Shelter Registry"),
271
description = Tstr("Tracks the location, distibution, capacity and breakdown of victims in Shelters"),
249
272
module_type = 10,
250
273
resources = Storage(
251
274
cr_setting = {'importer' : False},
255
278
delphi = Storage(
256
name_nice = "Delphi Decision Maker",
257
description = "Supports the decision making of large groups of Crisis Management Experts by helping the groups create ranked list.",
259
280
resources = Storage(
260
281
delphi_group = {'importer' : True},
261
282
delphi_user_to_group = {'importer' : True},
263
284
delphi_solution = {'importer' : False},
264
285
delphi_vote = {'importer' : False},
265
286
delphi_forum_post = {'importer' : False}
289
name_nice = Tstr("Delphi Decision Maker"),
290
description = Tstr("Supports the decision making of large groups of Crisis Management Experts by helping the groups create ranked list."),
269
name_nice = "Document Library",
270
description = "A library of digital resources, such as Photos, signed contracts and Office documents.",
272
296
resources = Storage(
273
297
doc_setting = {'importer' : False},
274
298
doc_metadata = {'importer' : True},
275
299
doc_image = {'importer' : False},
302
name_nice = Tstr("Document Library"),
303
description = Tstr("A library of digital resources, such as Photos, signed contracts and Office documents."),
279
name_nice = "Incident Reporting",
280
description = "Incident Reporting System",
308
name_nice = Tstr("Incident Reporting"),
309
description = Tstr("Incident Reporting System"),
284
name_nice = "Organization Registry",
285
description = 'Lists "who is doing what & where". Allows relief agencies to coordinate their activities',
287
314
resources = Storage(
288
315
org_setting = {'importer' : False},
289
316
org_sector = {'importer' : False},
292
319
org_project = {'importer' : True},
293
320
org_staff = {'importer' : True},
294
321
org_task = {'importer' : True}
324
name_nice = Tstr("Organization Registry"),
325
description = Tstr('Lists "who is doing what & where". Allows relief agencies to coordinate their activities'),
297
329
ticket = Storage(
298
name_nice = "Ticketing Module",
299
description = "Master Message Log to process incoming reports & requests",
301
331
resources = Storage(
302
332
ticket_setting = {'importer' : False},
303
333
ticket_category = {'importer' : False},
304
334
ticket_log = {'importer' : False},
336
name_nice = Tstr("Ticketing Module"),
337
description = Tstr("Master Message Log to process incoming reports & requests"),
307
342
importer = Storage(
308
343
name_nice = "Spreadsheet importer",
309
344
description = "Used to extract data from spreadsheets and input it to the Eden database",
311
346
resources = Storage(
312
347
importer_slist = {'importer' : True}
353
# name_nice = Tstr("Logistics Management System"),
354
# description = Tstr("An intake system, a warehouse management system, commodity tracking, supply chain management, procurement and other asset and resource management capabilities."),