|  | @@ -1,275 +0,0 @@
 | 
	
		
			
			| 1 |  | -###
 | 
	
		
			
			| 2 |  | -# app configuration
 | 
	
		
			
			| 3 |  | -# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
 | 
	
		
			
			| 4 |  | -###
 | 
	
		
			
			| 5 |  | -;[pipeline:main]
 | 
	
		
			
			| 6 |  | -;pipeline = tracim_web
 | 
	
		
			
			| 7 |  | -
 | 
	
		
			
			| 8 |  | -[app:main]
 | 
	
		
			
			| 9 |  | -use = egg:tracim_backend
 | 
	
		
			
			| 10 |  | -
 | 
	
		
			
			| 11 |  | -pyramid.reload_templates = true
 | 
	
		
			
			| 12 |  | -pyramid.debug_authorization = false
 | 
	
		
			
			| 13 |  | -pyramid.debug_notfound = false
 | 
	
		
			
			| 14 |  | -pyramid.debug_routematch = false
 | 
	
		
			
			| 15 |  | -pyramid.default_locale_name = en
 | 
	
		
			
			| 16 |  | -;pyramid.includes =
 | 
	
		
			
			| 17 |  | -;    pyramid_debugtoolbar
 | 
	
		
			
			| 18 |  | -
 | 
	
		
			
			| 19 |  | -retry.attempts = 3
 | 
	
		
			
			| 20 |  | -
 | 
	
		
			
			| 21 |  | -sqlalchemy.url = sqlite:///%(here)s/tracim.sqlite
 | 
	
		
			
			| 22 |  | -
 | 
	
		
			
			| 23 |  | -# By default, the toolbar only appears for clients from IP addresses
 | 
	
		
			
			| 24 |  | -# '127.0.0.1' and '::1'.
 | 
	
		
			
			| 25 |  | -# debugtoolbar.hosts = 127.0.0.1 ::1
 | 
	
		
			
			| 26 |  | -
 | 
	
		
			
			| 27 |  | -###
 | 
	
		
			
			| 28 |  | -# TRACIM SPECIFIC CONF
 | 
	
		
			
			| 29 |  | -###
 | 
	
		
			
			| 30 |  | -
 | 
	
		
			
			| 31 |  | -### Global
 | 
	
		
			
			| 32 |  | -
 | 
	
		
			
			| 33 |  | -cache_dir = %(here)s/data
 | 
	
		
			
			| 34 |  | -# preview generator cache directory
 | 
	
		
			
			| 35 |  | -preview_cache_dir = /tmp/tracim/preview/
 | 
	
		
			
			| 36 |  | -# file depot storage
 | 
	
		
			
			| 37 |  | -depot_storage_name = tracim
 | 
	
		
			
			| 38 |  | -depot_storage_dir = %(here)s/depot/
 | 
	
		
			
			| 39 |  | -
 | 
	
		
			
			| 40 |  | -# The following parameters allow to personalize the home page
 | 
	
		
			
			| 41 |  | -# They are html ready (you can put html tags they will be interpreted)
 | 
	
		
			
			| 42 |  | -website.title = TRACIM
 | 
	
		
			
			| 43 |  | -website.title.color = #555
 | 
	
		
			
			| 44 |  | -website.home.subtitle = Default login: email: admin@admin.admin (password: admin@admin.admin)
 | 
	
		
			
			| 45 |  | -website.home.tag_line = <div class="text-center" style="font-weight: bold;">Collaboration, versionning and traceability</div>
 | 
	
		
			
			| 46 |  | -website.home.below_login_form = in case of problem, please contact the administrator.
 | 
	
		
			
			| 47 |  | -# Values may be 'all' or 'folders'
 | 
	
		
			
			| 48 |  | -website.treeview.content = all
 | 
	
		
			
			| 49 |  | -# The following base_url is used for links and icons
 | 
	
		
			
			| 50 |  | -# integrated in the email notifcations
 | 
	
		
			
			| 51 |  | -website.base_url = http://127.0.0.1:8080
 | 
	
		
			
			| 52 |  | -# If config not provided, it will be extracted from website.base_url
 | 
	
		
			
			| 53 |  | -website.server_name = 127.0.0.1
 | 
	
		
			
			| 54 |  | -
 | 
	
		
			
			| 55 |  | -# Specifies if the update of comments and attached files is allowed (by the owner only).
 | 
	
		
			
			| 56 |  | -# Examples:
 | 
	
		
			
			| 57 |  | -#    600 means 10 minutes (ie 600 seconds)
 | 
	
		
			
			| 58 |  | -#   3600 means 1 hour (60x60 seconds)
 | 
	
		
			
			| 59 |  | -#
 | 
	
		
			
			| 60 |  | -# Allowed values:
 | 
	
		
			
			| 61 |  | -#  -1 means that content update is allowed for ever
 | 
	
		
			
			| 62 |  | -#   0 means that content update is not allowed
 | 
	
		
			
			| 63 |  | -#   x means that content update is allowed for x seconds (with x>0)
 | 
	
		
			
			| 64 |  | -content.update.allowed.duration = 3600
 | 
	
		
			
			| 65 |  | -
 | 
	
		
			
			| 66 |  | -# Auth type (internal or ldap)
 | 
	
		
			
			| 67 |  | -auth_type = internal
 | 
	
		
			
			| 68 |  | -# If auth_type is ldap, uncomment following ldap_* parameters
 | 
	
		
			
			| 69 |  | -# LDAP server address
 | 
	
		
			
			| 70 |  | -# ldap_url = ldap://localhost:389
 | 
	
		
			
			| 71 |  | -# Base dn to make queries
 | 
	
		
			
			| 72 |  | -# ldap_base_dn = dc=directory,dc=fsf,dc=org
 | 
	
		
			
			| 73 |  | -# Bind dn to identify the search
 | 
	
		
			
			| 74 |  | -# ldap_bind_dn = cn=admin,dc=directory,dc=fsf,dc=org
 | 
	
		
			
			| 75 |  | -# The bind password
 | 
	
		
			
			| 76 |  | -# ldap_bind_pass = toor
 | 
	
		
			
			| 77 |  | -# Attribute name of user record who contain user login (email)
 | 
	
		
			
			| 78 |  | -# ldap_ldap_naming_attribute = uid
 | 
	
		
			
			| 79 |  | -# Matching between ldap attribute and ldap user field (ldap_attr1=user_field1,ldap_attr2=user_field2,...)
 | 
	
		
			
			| 80 |  | -# ldap_user_attributes = mail=email
 | 
	
		
			
			| 81 |  | -# TLS usage to communicate with your LDAP server
 | 
	
		
			
			| 82 |  | -# ldap_tls = False
 | 
	
		
			
			| 83 |  | -# If True, LDAP own tracim group managment (not available for now!)
 | 
	
		
			
			| 84 |  | -# ldap_group_enabled = False
 | 
	
		
			
			| 85 |  | -# User auth token validity in seconds (used to interfaces like web calendars)
 | 
	
		
			
			| 86 |  | -user.auth_token.validity = 604800
 | 
	
		
			
			| 87 |  | -
 | 
	
		
			
			| 88 |  | -### Mail
 | 
	
		
			
			| 89 |  | -
 | 
	
		
			
			| 90 |  | -# Reset password through email related configuration.
 | 
	
		
			
			| 91 |  | -# These emails will be sent through SMTP
 | 
	
		
			
			| 92 |  | -#
 | 
	
		
			
			| 93 |  | -resetpassword.email_sender = email@sender.com
 | 
	
		
			
			| 94 |  | -resetpassword.smtp_host = smtp.sender
 | 
	
		
			
			| 95 |  | -resetpassword.smtp_port = 25
 | 
	
		
			
			| 96 |  | -resetpassword.smtp_login = smtp.login
 | 
	
		
			
			| 97 |  | -resetpassword.smtp_passwd = smtp.password
 | 
	
		
			
			| 98 |  | -
 | 
	
		
			
			| 99 |  | -email.notification.activated = false
 | 
	
		
			
			| 100 |  | -# email.notification.log_file_path = /tmp/mail-notifications.log
 | 
	
		
			
			| 101 |  | -# email notifications can be sent with the user_id added as an identifier
 | 
	
		
			
			| 102 |  | -# this way email clients like Thunderbird will be able to distinguish
 | 
	
		
			
			| 103 |  | -# notifications generated by a user or another one
 | 
	
		
			
			| 104 |  | -email.notification.from.email = dev.tracim.maildaemon+{user_id}@algoo.fr
 | 
	
		
			
			| 105 |  | -email.notification.from.default_label = Tracim Notifications
 | 
	
		
			
			| 106 |  | -email.notification.reply_to.email = dev.tracim.maildaemon+{content_id}@algoo.fr
 | 
	
		
			
			| 107 |  | -email.notification.references.email = dev.tracim.maildaemon+{content_id}@algoo.fr
 | 
	
		
			
			| 108 |  | -email.notification.content_update.template.html = %(here)s/tracim/templates/mail/content_update_body_html.mak
 | 
	
		
			
			| 109 |  | -email.notification.content_update.template.text = %(here)s/tracim/templates/mail/content_update_body_text.mak
 | 
	
		
			
			| 110 |  | -email.notification.created_account.template.html = %(here)s/tracim/templates/mail/created_account_body_html.mak
 | 
	
		
			
			| 111 |  | -email.notification.created_account.template.text = %(here)s/tracim/templates/mail/created_account_body_text.mak
 | 
	
		
			
			| 112 |  | -# Note: items between { and } are variable names. Do not remove / rename them
 | 
	
		
			
			| 113 |  | -email.notification.content_update.subject = [{website_title}] [{workspace_label}] {content_label} ({content_status_label})
 | 
	
		
			
			| 114 |  | -email.notification.created_account.subject = [{website_title}] Created account
 | 
	
		
			
			| 115 |  | -# processing_mode may be sync or async
 | 
	
		
			
			| 116 |  | -email.notification.processing_mode = async
 | 
	
		
			
			| 117 |  | -email.notification.smtp.server = mail.gandi.net
 | 
	
		
			
			| 118 |  | -email.notification.smtp.port = 25
 | 
	
		
			
			| 119 |  | -email.notification.smtp.user = dev.tracim.maildaemon@algoo.fr
 | 
	
		
			
			| 120 |  | -email.notification.smtp.password = dev.tracim.maildaemon
 | 
	
		
			
			| 121 |  | -
 | 
	
		
			
			| 122 |  | -## Email sending configuration
 | 
	
		
			
			| 123 |  | -# processing_mode may be sync or async,
 | 
	
		
			
			| 124 |  | -# with async, please configure redis below
 | 
	
		
			
			| 125 |  | -email.processing_mode = sync
 | 
	
		
			
			| 126 |  | -# email.async.redis.host = localhost
 | 
	
		
			
			| 127 |  | -# email.async.redis.port = 6379
 | 
	
		
			
			| 128 |  | -# email.async.redis.db = 0
 | 
	
		
			
			| 129 |  | -
 | 
	
		
			
			| 130 |  | -# Email reply configuration
 | 
	
		
			
			| 131 |  | -email.reply.activated = false
 | 
	
		
			
			| 132 |  | -email.reply.imap.server = your_imap_server
 | 
	
		
			
			| 133 |  | -email.reply.imap.port = 993
 | 
	
		
			
			| 134 |  | -email.reply.imap.user = your_imap_user
 | 
	
		
			
			| 135 |  | -email.reply.imap.password = your_imap_password
 | 
	
		
			
			| 136 |  | -email.reply.imap.folder = INBOX
 | 
	
		
			
			| 137 |  | -email.reply.imap.use_ssl = true
 | 
	
		
			
			| 138 |  | -email.reply.imap.use_idle = true
 | 
	
		
			
			| 139 |  | -# Re-new connection each 10 minutes
 | 
	
		
			
			| 140 |  | -email.reply.connection.max_lifetime = 600
 | 
	
		
			
			| 141 |  | -# Token for communication between mail fetcher and tracim controller
 | 
	
		
			
			| 142 |  | -email.reply.token = mysecuretoken
 | 
	
		
			
			| 143 |  | -# Delay in seconds between each check
 | 
	
		
			
			| 144 |  | -email.reply.check.heartbeat = 60
 | 
	
		
			
			| 145 |  | -email.reply.use_html_parsing = true
 | 
	
		
			
			| 146 |  | -email.reply.use_txt_parsing = true
 | 
	
		
			
			| 147 |  | -# Lockfile path is required for email_reply feature,
 | 
	
		
			
			| 148 |  | -# it's just an empty file use to prevent concurrent access to imap unseen mail
 | 
	
		
			
			| 149 |  | -email.reply.lockfile_path = %(here)s/email_fetcher.lock
 | 
	
		
			
			| 150 |  | -
 | 
	
		
			
			| 151 |  | -### Radical (CalDav server) configuration
 | 
	
		
			
			| 152 |  | -
 | 
	
		
			
			| 153 |  | -# radicale.server.host = 0.0.0.0
 | 
	
		
			
			| 154 |  | -# radicale.server.port = 5232
 | 
	
		
			
			| 155 |  | -# radicale.server.ssl = false
 | 
	
		
			
			| 156 |  | -radicale.server.filesystem.folder = %(here)s/radicale/collections/
 | 
	
		
			
			| 157 |  | -# radicale.server.allow_origin = *
 | 
	
		
			
			| 158 |  | -# radicale.server.realm_message = Tracim Calendar - Password Required
 | 
	
		
			
			| 159 |  | -## url can be extended like http://127.0.0.1:5232/calendar
 | 
	
		
			
			| 160 |  | -## in this case, you have to create your own proxy behind this url.
 | 
	
		
			
			| 161 |  | -## and update following parameters
 | 
	
		
			
			| 162 |  | -# radicale.client.base_url.host = http://127.0.0.1:5232
 | 
	
		
			
			| 163 |  | -# radicale.client.base_url.prefix = /
 | 
	
		
			
			| 164 |  | -
 | 
	
		
			
			| 165 |  | -### WSGIDAV
 | 
	
		
			
			| 166 |  | -
 | 
	
		
			
			| 167 |  | -wsgidav.config_path = %(here)s/wsgidav.conf
 | 
	
		
			
			| 168 |  | -## url can be extended like 127.0.0.1/webdav
 | 
	
		
			
			| 169 |  | -## in this case, you have to create your own proxy behind this url.
 | 
	
		
			
			| 170 |  | -## Do not set http:// prefix.
 | 
	
		
			
			| 171 |  | -# wsgidav.client.base_url = 127.0.0.1:<WSGIDAV_PORT>
 | 
	
		
			
			| 172 |  | -
 | 
	
		
			
			| 173 |  | -###
 | 
	
		
			
			| 174 |  | -# wsgi server configuration
 | 
	
		
			
			| 175 |  | -###
 | 
	
		
			
			| 176 |  | -[uwsgi]
 | 
	
		
			
			| 177 |  | -# Legacy server config (waitress)
 | 
	
		
			
			| 178 |  | -[server:main]
 | 
	
		
			
			| 179 |  | -use = egg:waitress#main
 | 
	
		
			
			| 180 |  | -listen = localhost:6543
 | 
	
		
			
			| 181 |  | -
 | 
	
		
			
			| 182 |  | -[alembic]
 | 
	
		
			
			| 183 |  | -# path to migration scripts
 | 
	
		
			
			| 184 |  | -script_location = tracim/migration
 | 
	
		
			
			| 185 |  | -
 | 
	
		
			
			| 186 |  | -# template used to generate migration files
 | 
	
		
			
			| 187 |  | -# file_template = %%(rev)s_%%(slug)s
 | 
	
		
			
			| 188 |  | -
 | 
	
		
			
			| 189 |  | -# timezone to use when rendering the date
 | 
	
		
			
			| 190 |  | -# within the migration file as well as the filename.
 | 
	
		
			
			| 191 |  | -# string value is passed to dateutil.tz.gettz()
 | 
	
		
			
			| 192 |  | -# leave blank for localtime
 | 
	
		
			
			| 193 |  | -# timezone =
 | 
	
		
			
			| 194 |  | -
 | 
	
		
			
			| 195 |  | -# max length of characters to apply to the
 | 
	
		
			
			| 196 |  | -# "slug" field
 | 
	
		
			
			| 197 |  | -#truncate_slug_length = 40
 | 
	
		
			
			| 198 |  | -
 | 
	
		
			
			| 199 |  | -# set to 'true' to run the environment during
 | 
	
		
			
			| 200 |  | -# the 'revision' command, regardless of autogenerate
 | 
	
		
			
			| 201 |  | -# revision_environment = false
 | 
	
		
			
			| 202 |  | -
 | 
	
		
			
			| 203 |  | -# set to 'true' to allow .pyc and .pyo files without
 | 
	
		
			
			| 204 |  | -# a source .py file to be detected as revisions in the
 | 
	
		
			
			| 205 |  | -# versions/ directory
 | 
	
		
			
			| 206 |  | -# sourceless = false
 | 
	
		
			
			| 207 |  | -
 | 
	
		
			
			| 208 |  | -# version location specification; this defaults
 | 
	
		
			
			| 209 |  | -# to migrate/versions.  When using multiple version
 | 
	
		
			
			| 210 |  | -# directories, initial revisions must be specified with --version-path
 | 
	
		
			
			| 211 |  | -# version_locations = %(here)s/bar %(here)s/bat migrate/versions
 | 
	
		
			
			| 212 |  | -
 | 
	
		
			
			| 213 |  | -# the output encoding used when revision files
 | 
	
		
			
			| 214 |  | -# are written from script.py.mako
 | 
	
		
			
			| 215 |  | -# output_encoding = utf-8
 | 
	
		
			
			| 216 |  | -
 | 
	
		
			
			| 217 |  | -sqlalchemy.url = sqlite:///%(here)s/tracim.sqlite
 | 
	
		
			
			| 218 |  | -
 | 
	
		
			
			| 219 |  | -###
 | 
	
		
			
			| 220 |  | -# logging configuration
 | 
	
		
			
			| 221 |  | -# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
 | 
	
		
			
			| 222 |  | -###
 | 
	
		
			
			| 223 |  | -
 | 
	
		
			
			| 224 |  | -[loggers]
 | 
	
		
			
			| 225 |  | -keys = root, tracim, sqlalchemy, alembic, sentry
 | 
	
		
			
			| 226 |  | -
 | 
	
		
			
			| 227 |  | -[handlers]
 | 
	
		
			
			| 228 |  | -keys = console, sentry
 | 
	
		
			
			| 229 |  | -
 | 
	
		
			
			| 230 |  | -[formatters]
 | 
	
		
			
			| 231 |  | -keys = generic
 | 
	
		
			
			| 232 |  | -
 | 
	
		
			
			| 233 |  | -[logger_root]
 | 
	
		
			
			| 234 |  | -level = INFO
 | 
	
		
			
			| 235 |  | -handlers = console, sentry
 | 
	
		
			
			| 236 |  | -
 | 
	
		
			
			| 237 |  | -[logger_sentry]
 | 
	
		
			
			| 238 |  | -level = WARN
 | 
	
		
			
			| 239 |  | -handlers = console
 | 
	
		
			
			| 240 |  | -qualname = sentry.errors
 | 
	
		
			
			| 241 |  | -propagate = 0
 | 
	
		
			
			| 242 |  | -
 | 
	
		
			
			| 243 |  | -[logger_tracim]
 | 
	
		
			
			| 244 |  | -level = DEBUG
 | 
	
		
			
			| 245 |  | -handlers =
 | 
	
		
			
			| 246 |  | -qualname = tracim
 | 
	
		
			
			| 247 |  | -
 | 
	
		
			
			| 248 |  | -[logger_sqlalchemy]
 | 
	
		
			
			| 249 |  | -level = INFO
 | 
	
		
			
			| 250 |  | -handlers =
 | 
	
		
			
			| 251 |  | -qualname = sqlalchemy.engine
 | 
	
		
			
			| 252 |  | -# "level = INFO" logs SQL queries.
 | 
	
		
			
			| 253 |  | -# "level = DEBUG" logs SQL queries and results.
 | 
	
		
			
			| 254 |  | -# "level = WARN" logs neither.  (Recommended for production systems.)
 | 
	
		
			
			| 255 |  | -
 | 
	
		
			
			| 256 |  | -[logger_alembic]
 | 
	
		
			
			| 257 |  | -level = INFO
 | 
	
		
			
			| 258 |  | -handlers =
 | 
	
		
			
			| 259 |  | -qualname = alembic
 | 
	
		
			
			| 260 |  | -
 | 
	
		
			
			| 261 |  | -[handler_console]
 | 
	
		
			
			| 262 |  | -class = StreamHandler
 | 
	
		
			
			| 263 |  | -args = (sys.stderr,)
 | 
	
		
			
			| 264 |  | -level = NOTSET
 | 
	
		
			
			| 265 |  | -formatter = generic
 | 
	
		
			
			| 266 |  | -
 | 
	
		
			
			| 267 |  | -[handler_sentry]
 | 
	
		
			
			| 268 |  | -class = raven.handlers.logging.SentryHandler
 | 
	
		
			
			| 269 |  | -args = ('http://1dbab0942cca4fbb97f3dae62cbc965d:4d1deecd8abc41e38c02b37ed4954f58@127.0.0.1:9000/4',)
 | 
	
		
			
			| 270 |  | -level = WARNING
 | 
	
		
			
			| 271 |  | -formatter = generic
 | 
	
		
			
			| 272 |  | -
 | 
	
		
			
			| 273 |  | -[formatter_generic]
 | 
	
		
			
			| 274 |  | -format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
 | 
	
		
			
			| 275 |  | -datefmt = %H:%M:%S
 |