Browse Source

remove temp file

Guénaël Muller 6 years ago
parent
commit
b5dedb4883
2 changed files with 0 additions and 534 deletions
  1. 0 259
      development.ini.old
  2. 0 275
      development.ini.oloool

+ 0 - 259
development.ini.old View File

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

+ 0 - 275
development.ini.oloool View File

@@ -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