1.1 --- a/imiptools/config.py Thu Jan 26 19:33:34 2017 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,142 +0,0 @@
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
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/imiptools/config.txt Mon Jan 30 23:23:30 2017 +0100
2.3 @@ -0,0 +1,142 @@
2.4 +#!/usr/bin/env python
2.5 +
2.6 +"Configuration settings for imiptools programs."
2.7 +
2.8 +# The public identity of the agent.
2.9 +
2.10 +MESSAGE_SENDER = "calendar@example.com"
2.11 +
2.12 +# The local message handling prefix.
2.13 +
2.14 +LOCAL_PREFIX = "local"
2.15 +
2.16 +# The outgoing message handling prefix.
2.17 +
2.18 +OUTGOING_PREFIX = "people-outgoing"
2.19 +
2.20 +# The store (and journal) type.
2.21 +
2.22 +STORE_TYPE = "file"
2.23 +
2.24 +# The location of the stored calendar information.
2.25 +
2.26 +STORE_DIR = "/var/lib/imip-agent/store"
2.27 +
2.28 +# The location of published static free/busy information.
2.29 +
2.30 +PUBLISH_DIR = "/var/www/imip-agent/static"
2.31 +
2.32 +# The location of user preferences information.
2.33 +
2.34 +PREFERENCES_DIR = "/var/lib/imip-agent/preferences"
2.35 +
2.36 +# The location of quota-related journal information.
2.37 +
2.38 +JOURNAL_DIR = "/var/lib/imip-agent/journal"
2.39 +
2.40 +# Permissions for files.
2.41 +# This is meant to ensure that both the agent and Web users can access files.
2.42 +
2.43 +DEFAULT_PERMISSIONS = 0660
2.44 +
2.45 +# Permissions for directories.
2.46 +# This is meant to ensure that the group is set for files.
2.47 +
2.48 +DEFAULT_DIR_PERMISSIONS = 02770
2.49 +
2.50 +# Internationalisation and translations support.
2.51 +
2.52 +LOCALE_DIR = "/usr/share/locale"
2.53 +TRANS_DOMAIN = "imip-agent"
2.54 +
2.55 +
2.56 +
2.57 +# The availability of a management interface for calendar information.
2.58 +# True: provide links in notifications to the interface described below.
2.59 +# False: omit links in notifications.
2.60 +
2.61 +MANAGER_INTERFACE = True
2.62 +
2.63 +# The published location of the manager application.
2.64 +# This must match any Web site configuration details for the manager.
2.65 +
2.66 +MANAGER_PATH = "/imip-manager"
2.67 +
2.68 +# The full URL of the manager application excluding the above path.
2.69 +# If set to None, the details of this machine will be employed.
2.70 +
2.71 +MANAGER_URL = None
2.72 +
2.73 +# The protocol scheme used if constructing URLs.
2.74 +
2.75 +MANAGER_URL_SCHEME = "http://"
2.76 +
2.77 +
2.78 +
2.79 +# Preferences defaults applicable unless overridden by the user.
2.80 +# Changing these allows organisational policy to be defined while still
2.81 +# allowing users to choose more appropriate settings themselves.
2.82 +# See: docs/wiki/Preferences
2.83 +
2.84 +# Default language for messages.
2.85 +
2.86 +LANG = "en"
2.87 +
2.88 +# Do users participate in the calendar system by default?
2.89 +
2.90 +PARTICIPATING_DEFAULT = "participate"
2.91 +
2.92 +# How should incoming messages be presented to a user by default?
2.93 +
2.94 +INCOMING_DEFAULT = "summary-wraps-message"
2.95 +
2.96 +# Do users share free/busy information by default? This affects the bundling and
2.97 +# publishing settings.
2.98 +
2.99 +SHARING_DEFAULT = "no"
2.100 +
2.101 +# Are free/busy details published on the Web by default?
2.102 +
2.103 +PUBLISHING_DEFAULT = "no"
2.104 +
2.105 +# Are free/busy details bundled with other objects in messages by default?
2.106 +
2.107 +BUNDLING_DEFAULT = "never"
2.108 +
2.109 +# What notifications do users get about incoming free/busy messages by default?
2.110 +
2.111 +NOTIFYING_DEFAULT = "none"
2.112 +
2.113 +# Are REFRESH messages automatically handled by default?
2.114 +
2.115 +REFRESHING_DEFAULT = "never"
2.116 +
2.117 +# How are ADD messages responded to by default?
2.118 +
2.119 +ADD_RESPONSE_DEFAULT = "refresh"
2.120 +
2.121 +# Who can replace an organiser in an event by default?
2.122 +
2.123 +ORGANISER_REPLACEMENT_DEFAULT = "attendee"
2.124 +
2.125 +# How long are free/busy offers valid for by default?
2.126 +# (None means that no offers are maintained for counter-proposals and thus any
2.127 +# periods in the counter-proposal are not held in anticipation of a response.)
2.128 +
2.129 +FREEBUSY_OFFER_DEFAULT = None
2.130 +
2.131 +
2.132 +
2.133 +# Policy settings.
2.134 +
2.135 +# Allow mislabelled iMIP Content-Type method parameter values for COUNTER
2.136 +# messages (seen in Kontact).
2.137 +
2.138 +IMIP_COUNTER_AS_REQUEST = True
2.139 +
2.140 +# Calendar object maximum line length. If None, the recommended iCalendar line
2.141 +# length is used (which should be 76 characters).
2.142 +
2.143 +CALENDAR_LINE_LENGTH = None
2.144 +
2.145 +# vim: tabstop=4 expandtab shiftwidth=4