imip-agent

Annotated imiptools/config.py

432:259dd95cb0a0
2015-03-24 Paul Boddie Merged period-sorting changes, reverting period materialisation changes.
paul@68 1
#!/usr/bin/env python
paul@68 2
paul@146 3
"Configuration settings for imiptools programs."
paul@146 4
paul@124 5
# The public identity of the agent.
paul@124 6
paul@124 7
MESSAGE_SENDER = "calendar@example.com"
paul@124 8
paul@128 9
# The outgoing message handling prefix.
paul@128 10
paul@128 11
OUTGOING_PREFIX = "people-outgoing"
paul@128 12
paul@68 13
# The location of the stored calendar information.
paul@68 14
paul@68 15
STORE_DIR = "/var/lib/imip-agent/store"
paul@68 16
paul@68 17
# The location of published static free/busy information.
paul@68 18
paul@68 19
PUBLISH_DIR = "/var/www/imip-agent/static"
paul@68 20
paul@147 21
# The location of user preferences information.
paul@147 22
paul@147 23
PREFERENCES_DIR = "/var/lib/imip-agent/preferences"
paul@147 24
paul@147 25
# Permissions for files.
paul@147 26
# This is meant to ensure that both the agent and Web users can access files.
paul@147 27
paul@147 28
DEFAULT_PERMISSIONS = 0660
paul@147 29
paul@330 30
# Permissions for directories.
paul@330 31
# This is meant to ensure that the group is set for files.
paul@330 32
paul@332 33
DEFAULT_DIR_PERMISSIONS = 02770
paul@330 34
paul@70 35
# The published location of the manager application.
paul@70 36
# This must match any Web site configuration details for the manager.
paul@70 37
paul@70 38
MANAGER_PATH = "/imip-manager"
paul@70 39
paul@70 40
# The full URL of the manager application excluding the above path.
paul@70 41
# If set to None, the details of this machine will be employed.
paul@70 42
paul@70 43
MANAGER_URL = None
paul@70 44
paul@68 45
# vim: tabstop=4 expandtab shiftwidth=4