forked from web-cat/web-cat-subsystem-Core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.plist
348 lines (344 loc) · 14.5 KB
/
config.plist
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
345
346
347
348
{
optionCategories = ( "Administration", "Database", "Messages", "URLs" );
options = (
{
property = "coreApplicationIdentifier";
type = shortText;
size = 70;
name = "Application Identifier";
category = "Administration";
description =
"This is the name for your Web-CAT instance. This name is included in
the subject lines of e-mail messages sent out to administrators by Web-CAT.
If you administer more than one Web-CAT server, it is helpful to give
them different names; otherwise, accepting the default is recommended.";
},
{
property = "coreAdminEmail";
type = shortText;
size = 70;
name = "Administrator E-mail Address";
category = "Administration";
description =
"The primary contact e-mail address for this Web-CAT server's administrator.
This is the address that will be shown to users in the page footer of
every page. It is also the address where all administrative notices and
errors will be sent. This address need not be associated with any particular
Web-CAT user account--it can be any e-mail address you want.";
},
{
property = "AdminUsername";
type = shortText;
size = 70;
name = "Administrator User Name";
category = "Administration";
description =
"The user name of a Web-CAT account with administrative privileges. The
Web-CAT account must already exist, and must already have administrative
access (just placing a different user name here won't change that user's
permissions--use the Administer->Edit Database tab for that). This
user name is used to locate an appropriate user account to serve as \"owner\"
when performing various automated upgrade tasks. If it is left blank, or
contains an invalid name, some automatic upgrades will not be carried out.";
},
{
property = "adminNotifyAddrs";
type = shortText;
size = 70;
name = "Additional E-mail Notification Addresses";
category = "Administration";
description =
"During operation, Web-CAT may periodically need to notify an administrator
of some condition that has arisen. It will send these notices to the
<b>Administrator E-mail Address</b> listed above. If you would like
additional e-mail addresses to receive copies of these notifications, enter
them here. If you list multiple addresses, use a comma-separated list. All
of these addresses then will receive copies of all Web-CAT notifications.
If you leave this entry blank, then all such messages will be sent to
the administrator account e-mail address only.";
},
{
property = "cmdShell";
type = shortText;
size = 70;
name = "External Shell Command";
category = "Administration";
description =
"When Web-CAT tries to invoke external commands with multiple arguments and
I/O redirection, it must use an external command shell in order to parse
the command. If you leave this setting blank, Web-CAT will used a default
shell--cmd.exe (e.g., 'cmd.exe /c') on Windows-based systems, and the Bourne
shell on others (e.g., 'sh -c \"'). If you add a double-quote as the last
character of this setting, then Web-CAT will assume you intend for the
command line to be passed as a single double-quoted argument to the specified
external shell. Otherwise, it will pass the command line as an unquoted
sequence of multiple arguments.";
},
{
property = "coreKillAction";
type = shortText;
size = 70;
name = "Web-CAT Shutdown/Restart External Command";
category = "Administration";
description =
"If Web-CAT determines that it must shut down and restart for any reason, it
needs to know how to perform this action on your system. If you enter the
name of an external command or executable shell script here, then Web-CAT
will invoke that command to force an immediate shutdown/restart of its
process. If you leave this entry blank, Web-CAT will simply call
<code>Systemexit(1);</code> and assume that a watchdog process or other
lifecycle management support will automatically restart the process once
it dies.";
},
{
property = "mail.smtp.host";
type = shortText;
size = 70;
name = "SMTP Host Name";
category = "Administration";
description =
"This is the SMTP host that Web-CAT will use to send e-mail. The host must
support e-mail relaying from the host on which Web-CAT is running.";
},
{
property = "mail.default.domain";
type = shortText;
size = 70;
name = "Default E-mail Domain";
category = "Administration";
description =
"This is the default domain for resolving e-mail addresses, if none is
provided by a user's authenticator or institution.";
},
{
property = timeFormats;
type = shortText;
size = 70;
default = "( \"%I:%M%p\", \"%H:%M\" )";
name = "Time Format Choices";
category = "Administration";
description =
"The list of time formats displayed for users to choose from. These
choices will be shown in the order listed. The first choice in the
list will be the default value for use by authentication domains that
do not specify their own default values. You can use either the
<a href=\"http://developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/foundation/NSTimestampFormatter.html\">WebObjects
NSTimestamp formatting codes</a> (similar to those used by the standard C
<code>strtotime()</code> function), or the codes supported by the
<a href=\"http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html\">SimpleDateFormat</a>
class. Changes to this property will take effect on the next Web-CAT
restart.";
},
{
property = dateFormats;
type = longText;
default =
"(
\"%m/%d/%y\",
\"%m/%d/%Y\",
\"%d.%m.%Y\",
\"%d.%m.%y\",
\"%y-%m-%d\",
\"%Y-%m-%d\",
\"%d-%b-%y\",
\"%d-%b-%Y\"
)";
name = "Date Format Choices";
category = "Administration";
description =
"The list of date formats displayed for users to choose from. These
choices will be shown in the order listed. The first choice in the
list will be the default value for use by authentication domains that
do not specify their own default values. You can use either the
<a href=\"http://developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/foundation/NSTimestampFormatter.html\">WebObjects
NSTimestamp formatting codes</a> (similar to those used by the standard C
<code>strtotime()</code> function), or the codes supported by the
<a href=\"http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html\">SimpleDateFormat</a>
class. Changes to this property will take effect on the next Web-CAT
restart.";
},
{
property = "DBhostname";
type = shortText;
size = 70;
name = "MySQL Server Host Name";
category = "Database";
description =
"This is the host name for your MySQL server, which is usually
\"localhost\".";
},
{
property = "DBhostport";
type = shortText;
size = 70;
name = "MySQL Server Port";
category = "Database";
description =
"This is the port number on which your MySQL server listens. The default
port value for MySQL is port 3306.";
},
{
property = "DBname";
type = shortText;
size = 70;
name = "MySQL Database Name";
category = "Database";
description =
"This is the name of the MySQL database to use. If at all possible,
use a database that only contains Web-CAT tables. If you run multiple
Web-CAT servers that share the same MySQL server, they must each have their
own unique database.";
},
{
property = "dbConnectUserGLOBAL";
type = shortText;
size = 70;
name = "MySQL User Name";
category = "Database";
description =
"This is the MySQL user name that Web-CAT will use when connecting to
the MySQL server. It can be 'root', or a username given to you by your
database adminnistrator.";
},
{
property = "dbConnectPasswordGLOBAL";
type = shortText;
size = 70;
name = "MySQL User Password";
category = "Database";
description =
"This is password that will be used when connecting to MySQL under
the user name specified above. A non-empty password is mandatory.";
},
{
property = "coreMotd";
type = longText;
name = "Message of the Day";
category = "Messages";
description =
"This optional message (usually brief) is posted on the <b>login page</b>,
just under the form fields that users manipulate. HTML markup is allowed.";
},
{
property = "coreAnnouncements";
type = longText;
name = "Announcements";
category = "Messages";
description =
"If provided, this optional message (can be long) will be shown to users
once they login on their <b>home page</b>, under an \"Announcements\"
heading. HTML markup is required (at least use <p>..</p> tags,
for best formatting results).";
},
{
property = "NOSUB.DatabaseAuthenticator.new.user.email.title";
type = shortText;
size = 70;
name = "New User E-mail Subject";
category = "Messages";
description =
"<p>If provided, this will be used as the subject line for the e-mail greeting
sent when new users are given random passwords (only if internal database
authentication is being used, of course). If omitted, the subject
\"New Web-CAT Password\" will be used. Property substitution is available
in this message.";
},
{
property = "NOSUB.DatabaseAuthenticator.new.user.email.message";
type = longText;
name = "New User E-mail Message";
category = "Messages";
description =
"<p>If provided, this will be used as the entire body for the e-mail greeting
sent when new users are given random passwords (only if internal database
authentication is being used, of course). If omitted, a default
message will be used instead. Property substitution is available
in this message. Useful properties include:</p><ul>
<li>${login.url}</li><li>${user.userName}</li><li>${user.password}</li>
<li>${user.firstName}</li><li>${user.lastName}</li>
<li>Any other defined configuration properties</li></ul>";
},
{
property = "base.url";
type = shortText;
size = 70;
name = "Application Base URL";
category = "URLs";
description =
"This is the base URL for the Web-CAT application. It is normally set
by the self-installation wizard, usually by deduction
from the URL that was used to perform the installation. This is the
URL where Web-CAT thinks it lives.";
},
{
property = "login.url";
type = shortText;
size = 70;
name = "User Login URL";
category = "URLs";
description =
"This is the URL you would like users to visit in order to login to
Web-CAT. It is used in e-mail messages generated by Web-CAT and sent
to new users. If you leave it blank, the <b>Base URL</b> value above will
be used, and it will take users directly to the login page. However,
if there is a different web page you have created yourself that you
wish to use as the entry point for Web-CAT, place its URL here.";
},
{
property = "corePrivacyURL";
type = shortText;
size = 70;
name = "Privacy Statement URL";
category = "URLs";
description =
"The URL pointing to the privacy statement you want listed in the Web-CAT
footer.";
},
{
property = "help.baseURL";
type = shortText;
size = 70;
name = "Base URL for Help Pages";
category = "URLs";
description =
"This is the URL to use as the base location for Web-CAT's help pages.
All help page links will be generated relative to this URL. If you leave
it blank,
<a href=\"http://web-cat.cs.vt.edu/Web-CAT.help/\">http://web-cat.cs.vt.edu/Web-CAT.help/</a>
will be used as the default base location. Only set this field if you
wish to point to a separate copy of the Web-CAT help pages.";
},
{
property = "static.html.baseURL";
type = shortText;
size = 70;
name = "Base URL for Static HTML Resources";
category = "URLs";
description =
"This is the URL to use as the base location for accessing the static
web resources used by Web-CAT (images, stylesheet files, javascript files,
etc.). If you leave it blank, these resources will be served directly from
within the web application using your servlet container's features. By
setting this URL, you can have a separate web server provide this content,
rather than drawing it through the servlet container. Be sure that the
URL you set provides all of the necessary resources, however. Changes to
this value with take effect the next time Web-CAT is restarted.";
},
{
property = "static.html.dir";
type = shortText;
size = 70;
name = "Base Directory for Static HTML Resources";
category = "URLs";
description =
"This is a local directory on Web-CAT's server that Web-CAT uses as the
file system location for unpacking and placing its static web resources.
This optional setting works in concert with the
<b>Base URL for Static HTML Resources</b> parameter above. If you are
setting a base URL, and if the web server providing those resources is
running on the same machine as Web-CAT itself, you can use this parameter
to specify where in the local file system Web-CAT should maintain these
static HTML resource files so that your web server can find them.";
}
);
}