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