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