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