imip-agent

imiptools/config.py

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