Revision a7bdef13 pithos/settings.py.dist
b/pithos/settings.py.dist | ||
---|---|---|
74 | 74 |
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler' |
75 | 75 |
BACKEND_BLOCK_PATH = os.path.join(PROJECT_PATH, 'data/') |
76 | 76 |
|
77 |
|
|
77 | 78 |
# Bypass authentication for user administration. |
78 | 79 |
BYPASS_ADMIN_AUTH = False |
79 | 80 |
|
... | ... | |
130 | 131 |
# 'django.middleware.csrf.CsrfViewMiddleware', |
131 | 132 |
# 'django.contrib.auth.middleware.AuthenticationMiddleware', |
132 | 133 |
# 'django.contrib.messages.middleware.MessageMiddleware', |
133 |
'pithos.middleware.URLEncodedHeadersMiddleware', |
|
134 | 134 |
'pithos.middleware.LoggingConfigMiddleware', |
135 | 135 |
'pithos.middleware.AuthMiddleware' |
136 | 136 |
) |
... | ... | |
153 | 153 |
# 'django.contrib.admindocs', |
154 | 154 |
'pithos.im', |
155 | 155 |
'pithos.api', |
156 |
'pithos.ui',
|
|
157 |
'south'
|
|
156 |
'pithos.public',
|
|
157 |
'pithos.ui'
|
|
158 | 158 |
) |
159 | 159 |
|
160 | 160 |
# Set the expiration time of newly created auth tokens |
... | ... | |
187 | 187 |
4 : 0 |
188 | 188 |
} |
189 | 189 |
|
190 |
SERVICE_NAME = 'Pithos' |
|
190 |
SERVICE_NAME = 'Pithos+'
|
|
191 | 191 |
|
192 | 192 |
# Where users should login with their invitation code |
193 |
INVITATION_LOGIN_TARGET = '%s/im/login/invitation' \ |
|
193 |
INVITATION_LOGIN_TARGET = 'http://%s/im/login/invitation' \
|
|
194 | 194 |
'?code=%d' \ |
195 | 195 |
'&next=%s' |
196 | 196 |
|
197 | 197 |
# Where users should activate their local account |
198 |
ACTIVATION_LOGIN_TARGET = '%s/im/local/activate/' \ |
|
198 |
ACTIVATION_LOGIN_TARGET = 'http://%s/im/local/activate/' \
|
|
199 | 199 |
'?auth=%s' \ |
200 | 200 |
'&next=%s' |
201 | 201 |
|
202 | 202 |
# Where users should reset their local password |
203 |
PASSWORD_RESET_TARGET = '%s/im/local/reset/' \ |
|
203 |
PASSWORD_RESET_TARGET = 'http://%s/im/local/reset/' \
|
|
204 | 204 |
'?username=%s' \ |
205 | 205 |
'&next=%s' |
206 | 206 |
|
207 |
# Force user profile verification |
|
208 |
FORCE_PROFILE_UPDATE = False |
|
209 |
|
|
210 | 207 |
# The server is behind a proy (apache and gunicorn setup). |
211 | 208 |
USE_X_FORWARDED_HOST = False |
212 | 209 |
|
213 |
# Set umask (needed for gunicorn setup). |
|
214 |
#os.umask(0077) |
|
215 |
|
|
216 | 210 |
# Use to log to a file. |
217 | 211 |
LOGFILE = None |
218 |
|
|
219 |
# Identity Management enabled modules |
|
220 |
IM_STANDARD_MODULES = ['local', 'invitation'] |
|
221 |
IM_OTHER_MODULES = ['twitter', 'shibboleth'] |
Also available in: Unified diff