~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/man/config.rst

  • Committer: William Grant
  • Date: 2009-12-08 03:50:24 UTC
  • mfrom: (1294.2.143 ui-the-third)
  • Revision ID: grantw@unimelb.edu.au-20091208035024-wjx8zp54gth15ph8
Merge ui-the-third. This is another UI revamp.

The header is now thin! Thin! The yellow bar is gone. The tabs are gone.
Breadcrumbs are here. Routes is replaced (with an object publishing
mechanism). Views are less repetitive. etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
:file:`ivle.conf` file and configuring Apache to serve the IVLE webapp and 
26
26
Subversion repositories.
27
27
 
28
 
.. _ref-configuration-options:
29
 
 
30
28
Configuration options
31
29
=====================
32
30
 
33
31
Most of the configuration of IVLE is done by editing the file 
34
32
:file:`ivle.conf`, located by default in :file:`/etc/ivle/ivle.conf`. These 
35
 
settings are required as part of the :ref:`install process <ref-install>`, 
36
 
though the :ref:`admin script <ref-admin-scripts>` :program:`ivle-config` can 
37
 
be used to propagate most of these settings.
 
33
settings are required as part of the :ref:`install process <ref-install>` and 
 
34
for actual running of IVLE.
38
35
 
39
36
It uses the `ConfigObj`_ text format which is heavily based on the 'INI' text 
40
 
format. Of particular note, lists with single items need to be terminated 
41
 
with a ',' otherwise it will be treated as a list of characters (usually not 
42
 
what is desired).
 
37
format.
43
38
 
44
39
.. _ConfigObj: http://www.voidspace.org.uk/python/configobj.html
45
40
 
109
104
 
110
105
[[jails]]
111
106
~~~~~~~~~
112
 
Configuration paths for user :ref:`Jails <ref-jail>`.
 
107
Configuration paths for user `Jails <ref-jail>`_.
113
108
 
114
109
.. describe:: mounts
115
110
 
174
169
    Location where Subversion WebDAV AuthUserFile password hash file will be 
175
170
    stored.
176
171
 
177
 
.. _ref-configuration-policy:
178
 
 
179
 
[policy]
180
 
--------
181
 
Site-specific policy decisions on permissions, etc. These modify the user
182
 
roles, as described in :ref:`ref-user-roles`.
183
 
 
184
 
.. describe:: tutors_can_enrol_students
185
 
 
186
 
    :type: boolean(default=False)
187
 
 
188
 
    If True, tutors can enrol any IVLE user as a student in a subject they are
189
 
    tutoring. This is disabled by default, as it is generally considered
190
 
    unnecessary for tutors to have such power.
191
 
 
192
 
.. describe:: tutors_can_edit_worksheets
193
 
 
194
 
    :type: boolean(default=True)
195
 
 
196
 
    If True, tutors can create and edit worksheets in a subject they are
197
 
    tutoring, and can create and edit *any exercise in the system*. This is
198
 
    turned on by default, but should be used carefully. Untrusted tutors could
199
 
    create site-wide problems.
200
 
 
201
 
    (The reason tutors can edit any exercise is because exercises are not
202
 
    stored per-subject, so it isn't possible to limit them just to exercises
203
 
    for a particular subject.)
204
 
 
205
172
[media]
206
173
-------
207
 
Configuration of media serving.
 
174
Configuration of `media serving <ref-media-serving>`_.
208
175
 
209
176
.. describe:: version
210
177
 
269
236
 
270
237
[auth]
271
238
------
272
 
Settings for configuring external user authentication with
273
 
:ref:`authentication modules <ref-auth-modules>` and automatic subject
274
 
enrollment with :ref:`subject pulldown modules
275
 
<ref-subject-pulldown-modules>`.
 
239
Settings for configuring external user authentication with `authentication 
 
240
modules <ref-auth-modules>`_ and automatic subject enrollment with `subject 
 
241
pulldown modules <ref-subject-pulldown-modules>`_.
276
242
 
277
243
.. describe:: modules
278
244
 
279
245
    :type: string_list(default=list())
280
246
 
281
 
    List of :ref:`authentication modules <ref-auth-modules>` to attempt to 
 
247
    List of `authentication modules <ref-auth-modules>`_ to attempt to 
282
248
    authenticate with if a user does not have a password set in the local 
283
249
    database.
284
250
 
297
263
 
298
264
    :type: string_list(default=list())
299
265
 
300
 
    List of :ref:`subject pulldown modules <ref-subject-pulldown-modules>` to
301
 
    be checked when a user signs into IVLE to see what subjects a student is
 
266
    List of `subject pulldown modules <ref-subject-pulldown-modules>`_ to be 
 
267
    checked when a user signs into IVLE to see what subjects a student is 
302
268
    enrolled in.
303
269
 
304
270
[usrmgt]
305
271
--------
306
 
Settings for the :ref:`User Management Server <ref-usrmgt-server>`.
 
272
Settings for the `User Management Server <ref-usrmgt-server>`_.
307
273
 
308
274
.. describe:: host
309
275
 
326
292
 
327
293
[jail]
328
294
------
329
 
Options that control how the :ref:`Jail <ref-jail>` is built.
 
295
Options that control how the `Jail <ref-jail>`_ is built.
330
296
 
331
297
.. describe:: devmode
332
298
 
360
326
    :type: string_list(default=list())
361
327
 
362
328
    A list of extra source locations to be added to the jail builder (such as 
363
 
    for site specific packages). For example, 'deb 
364
 
    http://ppa.launchpad.net/wgrant/ivle/ubuntu/ hardy main,'.
 
329
    for site specific packages).
365
330
 
366
331
.. describe:: extra_packages
367
332
 
368
333
    :type: string_list(default=list())
369
334
 
370
335
    A list of extra packages to be installed in addition to the core packages 
371
 
    required for IVLE. For example, 'python-scipy, python-networkx,'
 
336
    required for IVLE.
 
337
 
 
338
.. FIXME: Is this correct. Is it extra user packages (such as
 
339
    python-scipy) or all packages that aren't in a standard debootstrap build 
 
340
    (such as python-svn and python-cjson)?.
372
341
 
373
342
.. describe:: extra_keys
374
343
 
376
345
 
377
346
    Any extra package signing keys to accept as correctly validate installed 
378
347
    packages.  Typically used for validating ``extra_sources`` packages.
379
 
 
380
 
    Keys can be provided in tripple quoted blocks. For multiple keys, simply 
381
 
    concatinate the key blocks. For example::
382
 
 
383
 
        extra_keys = '''-----BEGIN PGP PUBLIC KEY BLOCK-----
384
 
        Version: SKS 1.0.10
385
 
 
386
 
        mI0ESXMxaQEEAMdundmJeTMUcB6fRXGQ3WJH+5hlfj3ehurF3u0ubr4sQpxfJvl6/KV4UcOC
387
 
        RvK4aufNInJxKrT6xvzdMNE9z5NO/ZVZdkr2NfcRO/0Yxgmaft9qjxfV+3NEBrvJkqm8ApVO
388
 
        hsxFW6VWyeHBELSiNxNGToPp+2g3i5VAlWbtzaapABEBAAG0H0xhdW5jaHBhZCBQUEEgZm9y
389
 
        IFdpbGxpYW0gR3JhbnSIRgQQEQIABgUCSXOMJAAKCRABz5LwpyR9xeXXAJ97VdeI3lLDvyM9
390
 
        TLeb48Ylj8dWdQCfcOJDRGfjRu9PI2+ekIoV8TqaC0GItgQTAQIAIAUCSXMxaQIbAwYLCQgH
391
 
        AwIEFQIIAwQWAgMBAh4BAheAAAoJECp86x2KYmtCEBED/0aRhr7wKmA/nyX2rUN/1dpyYT2T
392
 
        khxJT0F7l91/PGRkLUdvcX81ceRcYeiiR1x8N1tL7pwrTWZwaQ/HTHF19ZAXjptnn8zaLKUc
393
 
        VwhOrUdFE2FzNo42BWpXQAuJuBCG3DeIXDDuPRvtL+sx7h8PD/DlE5RsTaztkkbWdpkMtJp9
394
 
        =5ocD
395
 
        -----END PGP PUBLIC KEY BLOCK-----
396
 
        -----BEGIN PGP PUBLIC KEY BLOCK-----
397
 
        Version: GnuPG v1.4.9 (GNU/Linux)
398
 
 
399
 
        mQGiBEFEnz8RBAC7LstGsKD7McXZgd58oN68KquARLBl6rjA2vdhwl77KkPPOr3O
400
 
        YeSBH/voUsqausJfDNuTNivOfwceDe50lbhq52ODj4Mx9Jg+4aHn9fmRkIk41i2J
401
 
        3hZiIGPACY/FsSlRq1AhBH2wZG1lQ45W/p77AeARRehYKJP9HY+1h/uihwCgrVE2
402
 
        VzACJLuZWHbDsPoJaNQjiFcEAKbUF1rMyjd1xJM7bZeXbs8c+ohUo/ywSI/OIr8n
403
 
        <SNIP>
404
 
        RwIbDAAKCRBAl26vQ30FtdxYAJsFjU+xbex7gevyGQ2/mhqidES4MwCggqQyo+w1
405
 
        Twx6DKLF+3rF5nf1F3Q=
406
 
        =PBAe
407
 
        -----END PGP PUBLIC KEY BLOCK-----
408
 
        '''
 
348
    
 
349
    .. note:: Cannot have triple-quoted list members.
409
350
 
410
351
 
411
352
[user_info]
444
385
Web Application
445
386
---------------
446
387
The IVLE web application runs on Apache using ``mod_python``. An example 
447
 
configuration for normal HTTP is provided in the file 
448
 
:file:`examples/config/apache.conf` and an example configuration for using 
449
 
Secure HTTP using SSL certificates is provided in the file 
450
 
:file:`examples/config/apache-ssl.conf`.
 
388
configuration is provided in the file :file:`examples/config/apache.conf`.
451
389
 
452
390
At minimum the following settings must be specified:
453
391