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@894 | 9 | # The local message handling prefix.
|
paul@894 | 10 |
|
paul@894 | 11 | LOCAL_PREFIX = "local"
|
paul@894 | 12 |
|
paul@128 | 13 | # The outgoing message handling prefix.
|
paul@128 | 14 |
|
paul@128 | 15 | OUTGOING_PREFIX = "people-outgoing"
|
paul@128 | 16 |
|
paul@1088 | 17 | # The store (and journal) type.
|
paul@1088 | 18 |
|
paul@1088 | 19 | STORE_TYPE = "file"
|
paul@1088 | 20 |
|
paul@68 | 21 | # The location of the stored calendar information.
|
paul@68 | 22 |
|
paul@68 | 23 | STORE_DIR = "/var/lib/imip-agent/store"
|
paul@68 | 24 |
|
paul@68 | 25 | # The location of published static free/busy information.
|
paul@68 | 26 |
|
paul@68 | 27 | PUBLISH_DIR = "/var/www/imip-agent/static"
|
paul@68 | 28 |
|
paul@147 | 29 | # The location of user preferences information.
|
paul@147 | 30 |
|
paul@147 | 31 | PREFERENCES_DIR = "/var/lib/imip-agent/preferences"
|
paul@147 | 32 |
|
paul@1039 | 33 | # The location of quota-related journal information.
|
paul@1039 | 34 |
|
paul@1039 | 35 | JOURNAL_DIR = "/var/lib/imip-agent/journal"
|
paul@1039 | 36 |
|
paul@147 | 37 | # Permissions for files.
|
paul@147 | 38 | # This is meant to ensure that both the agent and Web users can access files.
|
paul@147 | 39 |
|
paul@147 | 40 | DEFAULT_PERMISSIONS = 0660
|
paul@147 | 41 |
|
paul@330 | 42 | # Permissions for directories.
|
paul@330 | 43 | # This is meant to ensure that the group is set for files.
|
paul@330 | 44 |
|
paul@332 | 45 | DEFAULT_DIR_PERMISSIONS = 02770
|
paul@330 | 46 |
|
paul@1005 | 47 | # Internationalisation and translations support.
|
paul@1005 | 48 |
|
paul@1005 | 49 | LOCALE_DIR = "/usr/share/locale"
|
paul@1005 | 50 | TRANS_DOMAIN = "imip-agent"
|
paul@1005 | 51 |
|
paul@749 | 52 |
|
paul@749 | 53 |
|
paul@668 | 54 | # The availability of a management interface for calendar information.
|
paul@668 | 55 | # True: provide links in notifications to the interface described below.
|
paul@668 | 56 | # False: omit links in notifications.
|
paul@668 | 57 |
|
paul@668 | 58 | MANAGER_INTERFACE = True
|
paul@668 | 59 |
|
paul@70 | 60 | # The published location of the manager application.
|
paul@70 | 61 | # This must match any Web site configuration details for the manager.
|
paul@70 | 62 |
|
paul@70 | 63 | MANAGER_PATH = "/imip-manager"
|
paul@70 | 64 |
|
paul@70 | 65 | # The full URL of the manager application excluding the above path.
|
paul@70 | 66 | # If set to None, the details of this machine will be employed.
|
paul@70 | 67 |
|
paul@70 | 68 | MANAGER_URL = None
|
paul@70 | 69 |
|
paul@986 | 70 | # The protocol scheme used if constructing URLs.
|
paul@986 | 71 |
|
paul@986 | 72 | MANAGER_URL_SCHEME = "http://"
|
paul@986 | 73 |
|
paul@749 | 74 |
|
paul@749 | 75 |
|
paul@749 | 76 | # Preferences defaults applicable unless overridden by the user.
|
paul@749 | 77 | # Changing these allows organisational policy to be defined while still
|
paul@749 | 78 | # allowing users to choose more appropriate settings themselves.
|
paul@1033 | 79 | # See: docs/wiki/Preferences
|
paul@749 | 80 |
|
paul@921 | 81 | # Default language for messages.
|
paul@921 | 82 |
|
paul@921 | 83 | LANG = "en"
|
paul@921 | 84 |
|
paul@749 | 85 | # Do users participate in the calendar system by default?
|
paul@749 | 86 |
|
paul@749 | 87 | PARTICIPATING_DEFAULT = "participate"
|
paul@749 | 88 |
|
paul@749 | 89 | # How should incoming messages be presented to a user by default?
|
paul@749 | 90 |
|
paul@749 | 91 | INCOMING_DEFAULT = "summary-wraps-message"
|
paul@749 | 92 |
|
paul@749 | 93 | # Do users share free/busy information by default? This affects the bundling and
|
paul@749 | 94 | # publishing settings.
|
paul@749 | 95 |
|
paul@749 | 96 | SHARING_DEFAULT = "no"
|
paul@749 | 97 |
|
paul@749 | 98 | # Are free/busy details published on the Web by default?
|
paul@749 | 99 |
|
paul@749 | 100 | PUBLISHING_DEFAULT = "no"
|
paul@749 | 101 |
|
paul@749 | 102 | # Are free/busy details bundled with other objects in messages by default?
|
paul@749 | 103 |
|
paul@749 | 104 | BUNDLING_DEFAULT = "never"
|
paul@749 | 105 |
|
paul@749 | 106 | # What notifications do users get about incoming free/busy messages by default?
|
paul@749 | 107 |
|
paul@749 | 108 | NOTIFYING_DEFAULT = "none"
|
paul@749 | 109 |
|
paul@749 | 110 | # Are REFRESH messages automatically handled by default?
|
paul@749 | 111 |
|
paul@749 | 112 | REFRESHING_DEFAULT = "never"
|
paul@749 | 113 |
|
paul@749 | 114 | # How are ADD messages responded to by default?
|
paul@749 | 115 |
|
paul@749 | 116 | ADD_RESPONSE_DEFAULT = "refresh"
|
paul@749 | 117 |
|
paul@749 | 118 | # Who can replace an organiser in an event by default?
|
paul@749 | 119 |
|
paul@749 | 120 | ORGANISER_REPLACEMENT_DEFAULT = "attendee"
|
paul@749 | 121 |
|
paul@749 | 122 | # How long are free/busy offers valid for by default?
|
paul@749 | 123 | # (None means that no offers are maintained for counter-proposals and thus any
|
paul@749 | 124 | # periods in the counter-proposal are not held in anticipation of a response.)
|
paul@749 | 125 |
|
paul@749 | 126 | FREEBUSY_OFFER_DEFAULT = None
|
paul@749 | 127 |
|
paul@918 | 128 |
|
paul@918 | 129 |
|
paul@918 | 130 | # Policy settings.
|
paul@918 | 131 |
|
paul@918 | 132 | # Allow mislabelled iMIP Content-Type method parameter values for COUNTER
|
paul@918 | 133 | # messages (seen in Kontact).
|
paul@918 | 134 |
|
paul@918 | 135 | IMIP_COUNTER_AS_REQUEST = True
|
paul@918 | 136 |
|
paul@1174 | 137 | # Calendar object maximum line length. If None, the recommended iCalendar line
|
paul@1174 | 138 | # length is used (which should be 76 characters).
|
paul@1174 | 139 |
|
paul@1174 | 140 | CALENDAR_LINE_LENGTH = None
|
paul@1174 | 141 |
|
paul@68 | 142 | # vim: tabstop=4 expandtab shiftwidth=4
|