1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/imiptools/config.txt Mon Jan 30 23:23:30 2017 +0100
1.3 @@ -0,0 +1,142 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +"Configuration settings for imiptools programs."
1.7 +
1.8 +# The public identity of the agent.
1.9 +
1.10 +MESSAGE_SENDER = "calendar@example.com"
1.11 +
1.12 +# The local message handling prefix.
1.13 +
1.14 +LOCAL_PREFIX = "local"
1.15 +
1.16 +# The outgoing message handling prefix.
1.17 +
1.18 +OUTGOING_PREFIX = "people-outgoing"
1.19 +
1.20 +# The store (and journal) type.
1.21 +
1.22 +STORE_TYPE = "file"
1.23 +
1.24 +# The location of the stored calendar information.
1.25 +
1.26 +STORE_DIR = "/var/lib/imip-agent/store"
1.27 +
1.28 +# The location of published static free/busy information.
1.29 +
1.30 +PUBLISH_DIR = "/var/www/imip-agent/static"
1.31 +
1.32 +# The location of user preferences information.
1.33 +
1.34 +PREFERENCES_DIR = "/var/lib/imip-agent/preferences"
1.35 +
1.36 +# The location of quota-related journal information.
1.37 +
1.38 +JOURNAL_DIR = "/var/lib/imip-agent/journal"
1.39 +
1.40 +# Permissions for files.
1.41 +# This is meant to ensure that both the agent and Web users can access files.
1.42 +
1.43 +DEFAULT_PERMISSIONS = 0660
1.44 +
1.45 +# Permissions for directories.
1.46 +# This is meant to ensure that the group is set for files.
1.47 +
1.48 +DEFAULT_DIR_PERMISSIONS = 02770
1.49 +
1.50 +# Internationalisation and translations support.
1.51 +
1.52 +LOCALE_DIR = "/usr/share/locale"
1.53 +TRANS_DOMAIN = "imip-agent"
1.54 +
1.55 +
1.56 +
1.57 +# The availability of a management interface for calendar information.
1.58 +# True: provide links in notifications to the interface described below.
1.59 +# False: omit links in notifications.
1.60 +
1.61 +MANAGER_INTERFACE = True
1.62 +
1.63 +# The published location of the manager application.
1.64 +# This must match any Web site configuration details for the manager.
1.65 +
1.66 +MANAGER_PATH = "/imip-manager"
1.67 +
1.68 +# The full URL of the manager application excluding the above path.
1.69 +# If set to None, the details of this machine will be employed.
1.70 +
1.71 +MANAGER_URL = None
1.72 +
1.73 +# The protocol scheme used if constructing URLs.
1.74 +
1.75 +MANAGER_URL_SCHEME = "http://"
1.76 +
1.77 +
1.78 +
1.79 +# Preferences defaults applicable unless overridden by the user.
1.80 +# Changing these allows organisational policy to be defined while still
1.81 +# allowing users to choose more appropriate settings themselves.
1.82 +# See: docs/wiki/Preferences
1.83 +
1.84 +# Default language for messages.
1.85 +
1.86 +LANG = "en"
1.87 +
1.88 +# Do users participate in the calendar system by default?
1.89 +
1.90 +PARTICIPATING_DEFAULT = "participate"
1.91 +
1.92 +# How should incoming messages be presented to a user by default?
1.93 +
1.94 +INCOMING_DEFAULT = "summary-wraps-message"
1.95 +
1.96 +# Do users share free/busy information by default? This affects the bundling and
1.97 +# publishing settings.
1.98 +
1.99 +SHARING_DEFAULT = "no"
1.100 +
1.101 +# Are free/busy details published on the Web by default?
1.102 +
1.103 +PUBLISHING_DEFAULT = "no"
1.104 +
1.105 +# Are free/busy details bundled with other objects in messages by default?
1.106 +
1.107 +BUNDLING_DEFAULT = "never"
1.108 +
1.109 +# What notifications do users get about incoming free/busy messages by default?
1.110 +
1.111 +NOTIFYING_DEFAULT = "none"
1.112 +
1.113 +# Are REFRESH messages automatically handled by default?
1.114 +
1.115 +REFRESHING_DEFAULT = "never"
1.116 +
1.117 +# How are ADD messages responded to by default?
1.118 +
1.119 +ADD_RESPONSE_DEFAULT = "refresh"
1.120 +
1.121 +# Who can replace an organiser in an event by default?
1.122 +
1.123 +ORGANISER_REPLACEMENT_DEFAULT = "attendee"
1.124 +
1.125 +# How long are free/busy offers valid for by default?
1.126 +# (None means that no offers are maintained for counter-proposals and thus any
1.127 +# periods in the counter-proposal are not held in anticipation of a response.)
1.128 +
1.129 +FREEBUSY_OFFER_DEFAULT = None
1.130 +
1.131 +
1.132 +
1.133 +# Policy settings.
1.134 +
1.135 +# Allow mislabelled iMIP Content-Type method parameter values for COUNTER
1.136 +# messages (seen in Kontact).
1.137 +
1.138 +IMIP_COUNTER_AS_REQUEST = True
1.139 +
1.140 +# Calendar object maximum line length. If None, the recommended iCalendar line
1.141 +# length is used (which should be 76 characters).
1.142 +
1.143 +CALENDAR_LINE_LENGTH = None
1.144 +
1.145 +# vim: tabstop=4 expandtab shiftwidth=4