imip-agent

imiptools/config.py

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