imip-agent

Annotated imiptools/config.py

833:8ebca6ce3973
2015-10-14 Paul Boddie Fixed printable representations.
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@749 35
paul@749 36
paul@668 37
# The availability of a management interface for calendar information.
paul@668 38
# True: provide links in notifications to the interface described below.
paul@668 39
# False: omit links in notifications.
paul@668 40
paul@668 41
MANAGER_INTERFACE = True
paul@668 42
paul@70 43
# The published location of the manager application.
paul@70 44
# This must match any Web site configuration details for the manager.
paul@70 45
paul@70 46
MANAGER_PATH = "/imip-manager"
paul@70 47
paul@70 48
# The full URL of the manager application excluding the above path.
paul@70 49
# If set to None, the details of this machine will be employed.
paul@70 50
paul@70 51
MANAGER_URL = None
paul@70 52
paul@749 53
paul@749 54
paul@749 55
# Preferences defaults applicable unless overridden by the user.
paul@749 56
# Changing these allows organisational policy to be defined while still
paul@749 57
# allowing users to choose more appropriate settings themselves.
paul@749 58
# See: docs/preferences.txt
paul@749 59
paul@749 60
# Do users participate in the calendar system by default?
paul@749 61
paul@749 62
PARTICIPATING_DEFAULT = "participate"
paul@749 63
paul@749 64
# How should incoming messages be presented to a user by default?
paul@749 65
paul@749 66
INCOMING_DEFAULT = "summary-wraps-message"
paul@749 67
paul@749 68
# Do users share free/busy information by default? This affects the bundling and
paul@749 69
# publishing settings.
paul@749 70
paul@749 71
SHARING_DEFAULT = "no"
paul@749 72
paul@749 73
# Are free/busy details published on the Web by default?
paul@749 74
paul@749 75
PUBLISHING_DEFAULT = "no"
paul@749 76
paul@749 77
# Are free/busy details bundled with other objects in messages by default?
paul@749 78
paul@749 79
BUNDLING_DEFAULT = "never"
paul@749 80
paul@749 81
# What notifications do users get about incoming free/busy messages by default?
paul@749 82
paul@749 83
NOTIFYING_DEFAULT = "none"
paul@749 84
paul@749 85
# Are REFRESH messages automatically handled by default?
paul@749 86
paul@749 87
REFRESHING_DEFAULT = "never"
paul@749 88
paul@749 89
# How are ADD messages responded to by default?
paul@749 90
paul@749 91
ADD_RESPONSE_DEFAULT = "refresh"
paul@749 92
paul@749 93
# Who can replace an organiser in an event by default?
paul@749 94
paul@749 95
ORGANISER_REPLACEMENT_DEFAULT = "attendee"
paul@749 96
paul@749 97
# How long are free/busy offers valid for by default?
paul@749 98
# (None means that no offers are maintained for counter-proposals and thus any
paul@749 99
# periods in the counter-proposal are not held in anticipation of a response.)
paul@749 100
paul@749 101
FREEBUSY_OFFER_DEFAULT = None
paul@749 102
paul@68 103
# vim: tabstop=4 expandtab shiftwidth=4