2015-10-17 | Paul Boddie | raw annotate files changeset graph | Consolidated descriptions of events for both REFRESH requests and for messages sent by the manager, bundling the necessary REQUEST and CANCEL payloads to describe events and their recurrences. Changed organiser-sent messages in the manager to be also sent to the user's own address, not the people-outgoing version of that address, adding support for self-sent CANCEL messages in the person handler. Added the removal of cancelled recurrences to restore periods in events edited in the manager. Otherwise, such periods can never be restored. Expanded the REFRESH method tests. |
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 outgoing message handling prefix. 10 11 OUTGOING_PREFIX = "people-outgoing" 12 13 # The location of the stored calendar information. 14 15 STORE_DIR = "/var/lib/imip-agent/store" 16 17 # The location of published static free/busy information. 18 19 PUBLISH_DIR = "/var/www/imip-agent/static" 20 21 # The location of user preferences information. 22 23 PREFERENCES_DIR = "/var/lib/imip-agent/preferences" 24 25 # Permissions for files. 26 # This is meant to ensure that both the agent and Web users can access files. 27 28 DEFAULT_PERMISSIONS = 0660 29 30 # Permissions for directories. 31 # This is meant to ensure that the group is set for files. 32 33 DEFAULT_DIR_PERMISSIONS = 02770 34 35 36 37 # The availability of a management interface for calendar information. 38 # True: provide links in notifications to the interface described below. 39 # False: omit links in notifications. 40 41 MANAGER_INTERFACE = True 42 43 # The published location of the manager application. 44 # This must match any Web site configuration details for the manager. 45 46 MANAGER_PATH = "/imip-manager" 47 48 # The full URL of the manager application excluding the above path. 49 # If set to None, the details of this machine will be employed. 50 51 MANAGER_URL = None 52 53 54 55 # Preferences defaults applicable unless overridden by the user. 56 # Changing these allows organisational policy to be defined while still 57 # allowing users to choose more appropriate settings themselves. 58 # See: docs/preferences.txt 59 60 # Do users participate in the calendar system by default? 61 62 PARTICIPATING_DEFAULT = "participate" 63 64 # How should incoming messages be presented to a user by default? 65 66 INCOMING_DEFAULT = "summary-wraps-message" 67 68 # Do users share free/busy information by default? This affects the bundling and 69 # publishing settings. 70 71 SHARING_DEFAULT = "no" 72 73 # Are free/busy details published on the Web by default? 74 75 PUBLISHING_DEFAULT = "no" 76 77 # Are free/busy details bundled with other objects in messages by default? 78 79 BUNDLING_DEFAULT = "never" 80 81 # What notifications do users get about incoming free/busy messages by default? 82 83 NOTIFYING_DEFAULT = "none" 84 85 # Are REFRESH messages automatically handled by default? 86 87 REFRESHING_DEFAULT = "never" 88 89 # How are ADD messages responded to by default? 90 91 ADD_RESPONSE_DEFAULT = "refresh" 92 93 # Who can replace an organiser in an event by default? 94 95 ORGANISER_REPLACEMENT_DEFAULT = "attendee" 96 97 # How long are free/busy offers valid for by default? 98 # (None means that no offers are maintained for counter-proposals and thus any 99 # periods in the counter-proposal are not held in anticipation of a response.) 100 101 FREEBUSY_OFFER_DEFAULT = None 102 103 # vim: tabstop=4 expandtab shiftwidth=4