Show More
@@ -178,9 +178,6 b' use_htsts = false' | |||||
178 | ## number of commits stats will parse on each iteration |
|
178 | ## number of commits stats will parse on each iteration | |
179 | commit_parse_limit = 25 |
|
179 | commit_parse_limit = 25 | |
180 |
|
180 | |||
181 | ## use gravatar service to display avatars |
|
|||
182 | use_gravatar = true |
|
|||
183 |
|
||||
184 | ## path to git executable |
|
181 | ## path to git executable | |
185 | git_path = git |
|
182 | git_path = git | |
186 |
|
183 | |||
@@ -215,35 +212,10 b' api_access_controllers_whitelist =' | |||||
215 | # FilesController:raw, |
|
212 | # FilesController:raw, | |
216 | # FilesController:archivefile |
|
213 | # FilesController:archivefile | |
217 |
|
214 | |||
218 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
|||
219 | ## the following parts of the URL will be replaced |
|
|||
220 | ## {email} user email |
|
|||
221 | ## {md5email} md5 hash of the user email (like at gravatar.com) |
|
|||
222 | ## {size} size of the image that is expected from the server application |
|
|||
223 | ## {scheme} http/https from Kallithea server |
|
|||
224 | ## {netloc} network location from Kallithea server |
|
|||
225 | #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} |
|
|||
226 | #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} |
|
|||
227 |
|
||||
228 |
|
||||
229 | ## container auth options |
|
|||
230 | container_auth_enabled = false |
|
|||
231 | proxypass_auth_enabled = false |
|
|||
232 |
|
||||
233 | ## default encoding used to convert from and to unicode |
|
215 | ## default encoding used to convert from and to unicode | |
234 | ## can be also a comma seperated list of encoding in case of mixed encodings |
|
216 | ## can be also a comma seperated list of encoding in case of mixed encodings | |
235 | default_encoding = utf8 |
|
217 | default_encoding = utf8 | |
236 |
|
218 | |||
237 | ## overwrite schema of clone url |
|
|||
238 | ## available vars: |
|
|||
239 | ## scheme - http/https |
|
|||
240 | ## user - current user |
|
|||
241 | ## pass - password |
|
|||
242 | ## netloc - network location |
|
|||
243 | ## path - usually repo_name |
|
|||
244 |
|
||||
245 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} |
|
|||
246 |
|
||||
247 | ## issue tracker for Kallithea (leave blank to disable, absent for default) |
|
219 | ## issue tracker for Kallithea (leave blank to disable, absent for default) | |
248 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues |
|
220 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues | |
249 |
|
221 |
@@ -368,7 +368,7 b' appropriately configured.' | |||||
368 | Authentication by container or reverse-proxy |
|
368 | Authentication by container or reverse-proxy | |
369 | -------------------------------------------- |
|
369 | -------------------------------------------- | |
370 |
|
370 | |||
371 |
|
|
371 | Kallithea supports delegating the authentication | |
372 | of users to its WSGI container, or to a reverse-proxy server through which all |
|
372 | of users to its WSGI container, or to a reverse-proxy server through which all | |
373 | clients access the application. |
|
373 | clients access the application. | |
374 |
|
374 | |||
@@ -383,6 +383,7 b' administrator can then modify it using K' | |||||
383 | It's also possible for an administrator to create accounts and configure their |
|
383 | It's also possible for an administrator to create accounts and configure their | |
384 | permissions before the user logs in for the first time. |
|
384 | permissions before the user logs in for the first time. | |
385 |
|
385 | |||
|
386 | ||||
386 | Container-based authentication |
|
387 | Container-based authentication | |
387 | '''''''''''''''''''''''''''''' |
|
388 | '''''''''''''''''''''''''''''' | |
388 |
|
389 | |||
@@ -393,11 +394,6 b' After setting up your container (see `Ap' | |||||
393 | to configure it to require authentication on the location configured for |
|
394 | to configure it to require authentication on the location configured for | |
394 | Kallithea. |
|
395 | Kallithea. | |
395 |
|
396 | |||
396 | In order for Kallithea to start using the provided username, you should set the |
|
|||
397 | following in the [app:main] section of your .ini file:: |
|
|||
398 |
|
||||
399 | container_auth_enabled = true |
|
|||
400 |
|
||||
401 |
|
397 | |||
402 | Proxy pass-through authentication |
|
398 | Proxy pass-through authentication | |
403 | ''''''''''''''''''''''''''''''''' |
|
399 | ''''''''''''''''''''''''''''''''' | |
@@ -432,10 +428,6 b' reverse-proxy setup with basic auth::' | |||||
432 | RequestHeader set X-Forwarded-User %{RU}e |
|
428 | RequestHeader set X-Forwarded-User %{RU}e | |
433 | </Location> |
|
429 | </Location> | |
434 |
|
430 | |||
435 | In order for Kallithea to start using the forwarded username, you should set |
|
|||
436 | the following in the [app:main] section of your .ini file:: |
|
|||
437 |
|
||||
438 | proxypass_auth_enabled = true |
|
|||
439 |
|
|
431 | ||
440 | .. note:: |
|
432 | .. note:: | |
441 | If you enable proxy pass-through authentication, make sure your server is |
|
433 | If you enable proxy pass-through authentication, make sure your server is |
@@ -175,9 +175,6 b' use_htsts = false' | |||||
175 | <%text>## number of commits stats will parse on each iteration</%text> |
|
175 | <%text>## number of commits stats will parse on each iteration</%text> | |
176 | commit_parse_limit = 25 |
|
176 | commit_parse_limit = 25 | |
177 |
|
177 | |||
178 | <%text>## use gravatar service to display avatars</%text> |
|
|||
179 | use_gravatar = true |
|
|||
180 |
|
||||
181 | <%text>## path to git executable</%text> |
|
178 | <%text>## path to git executable</%text> | |
182 | git_path = git |
|
179 | git_path = git | |
183 |
|
180 | |||
@@ -212,35 +209,10 b' api_access_controllers_whitelist =' | |||||
212 | # FilesController:raw, |
|
209 | # FilesController:raw, | |
213 | # FilesController:archivefile |
|
210 | # FilesController:archivefile | |
214 |
|
211 | |||
215 | <%text>## alternative_gravatar_url allows you to use your own avatar server application</%text> |
|
|||
216 | <%text>## the following parts of the URL will be replaced</%text> |
|
|||
217 | <%text>## {email} user email</%text> |
|
|||
218 | <%text>## {md5email} md5 hash of the user email (like at gravatar.com)</%text> |
|
|||
219 | <%text>## {size} size of the image that is expected from the server application</%text> |
|
|||
220 | <%text>## {scheme} http/https from Kallithea server</%text> |
|
|||
221 | <%text>## {netloc} network location from Kallithea server</%text> |
|
|||
222 | #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} |
|
|||
223 | #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} |
|
|||
224 |
|
||||
225 |
|
||||
226 | <%text>## container auth options</%text> |
|
|||
227 | container_auth_enabled = false |
|
|||
228 | proxypass_auth_enabled = false |
|
|||
229 |
|
||||
230 | <%text>## default encoding used to convert from and to unicode</%text> |
|
212 | <%text>## default encoding used to convert from and to unicode</%text> | |
231 | <%text>## can be also a comma seperated list of encoding in case of mixed encodings</%text> |
|
213 | <%text>## can be also a comma seperated list of encoding in case of mixed encodings</%text> | |
232 | default_encoding = utf8 |
|
214 | default_encoding = utf8 | |
233 |
|
215 | |||
234 | <%text>## overwrite schema of clone url</%text> |
|
|||
235 | <%text>## available vars:</%text> |
|
|||
236 | <%text>## scheme - http/https</%text> |
|
|||
237 | <%text>## user - current user</%text> |
|
|||
238 | <%text>## pass - password</%text> |
|
|||
239 | <%text>## netloc - network location</%text> |
|
|||
240 | <%text>## path - usually repo_name</%text> |
|
|||
241 |
|
||||
242 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} |
|
|||
243 |
|
||||
244 | <%text>## issue tracker for Kallithea (leave blank to disable, absent for default)</%text> |
|
216 | <%text>## issue tracker for Kallithea (leave blank to disable, absent for default)</%text> | |
245 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues |
|
217 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues | |
246 |
|
218 |
@@ -172,9 +172,6 b' use_htsts = false' | |||||
172 | ## number of commits stats will parse on each iteration |
|
172 | ## number of commits stats will parse on each iteration | |
173 | commit_parse_limit = 25 |
|
173 | commit_parse_limit = 25 | |
174 |
|
174 | |||
175 | ## use gravatar service to display avatars |
|
|||
176 | use_gravatar = true |
|
|||
177 |
|
||||
178 | ## path to git executable |
|
175 | ## path to git executable | |
179 | git_path = git |
|
176 | git_path = git | |
180 |
|
177 | |||
@@ -209,35 +206,10 b' api_access_controllers_whitelist =' | |||||
209 | # FilesController:raw, |
|
206 | # FilesController:raw, | |
210 | # FilesController:archivefile |
|
207 | # FilesController:archivefile | |
211 |
|
208 | |||
212 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
|||
213 | ## the following parts of the URL will be replaced |
|
|||
214 | ## {email} user email |
|
|||
215 | ## {md5email} md5 hash of the user email (like at gravatar.com) |
|
|||
216 | ## {size} size of the image that is expected from the server application |
|
|||
217 | ## {scheme} http/https from Kallithea server |
|
|||
218 | ## {netloc} network location from Kallithea server |
|
|||
219 | #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} |
|
|||
220 | #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} |
|
|||
221 |
|
||||
222 |
|
||||
223 | ## container auth options |
|
|||
224 | container_auth_enabled = false |
|
|||
225 | proxypass_auth_enabled = false |
|
|||
226 |
|
||||
227 | ## default encoding used to convert from and to unicode |
|
209 | ## default encoding used to convert from and to unicode | |
228 | ## can be also a comma seperated list of encoding in case of mixed encodings |
|
210 | ## can be also a comma seperated list of encoding in case of mixed encodings | |
229 | default_encoding = utf8 |
|
211 | default_encoding = utf8 | |
230 |
|
212 | |||
231 | ## overwrite schema of clone url |
|
|||
232 | ## available vars: |
|
|||
233 | ## scheme - http/https |
|
|||
234 | ## user - current user |
|
|||
235 | ## pass - password |
|
|||
236 | ## netloc - network location |
|
|||
237 | ## path - usually repo_name |
|
|||
238 |
|
||||
239 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} |
|
|||
240 |
|
||||
241 | ## issue tracker for Kallithea (leave blank to disable, absent for default) |
|
213 | ## issue tracker for Kallithea (leave blank to disable, absent for default) | |
242 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues |
|
214 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues | |
243 |
|
215 |
@@ -176,9 +176,6 b' use_htsts = false' | |||||
176 | ## number of commits stats will parse on each iteration |
|
176 | ## number of commits stats will parse on each iteration | |
177 | commit_parse_limit = 25 |
|
177 | commit_parse_limit = 25 | |
178 |
|
178 | |||
179 | ## use gravatar service to display avatars |
|
|||
180 | use_gravatar = true |
|
|||
181 |
|
||||
182 | ## path to git executable |
|
179 | ## path to git executable | |
183 | git_path = git |
|
180 | git_path = git | |
184 |
|
181 | |||
@@ -213,35 +210,10 b' api_access_controllers_whitelist =' | |||||
213 | # FilesController:raw, |
|
210 | # FilesController:raw, | |
214 | # FilesController:archivefile |
|
211 | # FilesController:archivefile | |
215 |
|
212 | |||
216 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
|||
217 | ## the following parts of the URL will be replaced |
|
|||
218 | ## {email} user email |
|
|||
219 | ## {md5email} md5 hash of the user email (like at gravatar.com) |
|
|||
220 | ## {size} size of the image that is expected from the server application |
|
|||
221 | ## {scheme} http/https from Kallithea server |
|
|||
222 | ## {netloc} network location from Kallithea server |
|
|||
223 | #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} |
|
|||
224 | #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} |
|
|||
225 |
|
||||
226 |
|
||||
227 | ## container auth options |
|
|||
228 | container_auth_enabled = false |
|
|||
229 | proxypass_auth_enabled = false |
|
|||
230 |
|
||||
231 | ## default encoding used to convert from and to unicode |
|
213 | ## default encoding used to convert from and to unicode | |
232 | ## can be also a comma seperated list of encoding in case of mixed encodings |
|
214 | ## can be also a comma seperated list of encoding in case of mixed encodings | |
233 | default_encoding = utf8 |
|
215 | default_encoding = utf8 | |
234 |
|
216 | |||
235 | ## overwrite schema of clone url |
|
|||
236 | ## available vars: |
|
|||
237 | ## scheme - http/https |
|
|||
238 | ## user - current user |
|
|||
239 | ## pass - password |
|
|||
240 | ## netloc - network location |
|
|||
241 | ## path - usually repo_name |
|
|||
242 |
|
||||
243 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} |
|
|||
244 |
|
||||
245 | ## issue tracker for Kallithea (leave blank to disable, absent for default) |
|
217 | ## issue tracker for Kallithea (leave blank to disable, absent for default) | |
246 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues |
|
218 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues | |
247 |
|
219 |
@@ -178,9 +178,6 b' use_htsts = false' | |||||
178 | ## number of commits stats will parse on each iteration |
|
178 | ## number of commits stats will parse on each iteration | |
179 | commit_parse_limit = 25 |
|
179 | commit_parse_limit = 25 | |
180 |
|
180 | |||
181 | ## use gravatar service to display avatars |
|
|||
182 | use_gravatar = true |
|
|||
183 |
|
||||
184 | ## path to git executable |
|
181 | ## path to git executable | |
185 | git_path = git |
|
182 | git_path = git | |
186 |
|
183 | |||
@@ -215,35 +212,10 b' api_access_controllers_whitelist =' | |||||
215 | # FilesController:raw, |
|
212 | # FilesController:raw, | |
216 | # FilesController:archivefile |
|
213 | # FilesController:archivefile | |
217 |
|
214 | |||
218 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
|||
219 | ## the following parts of the URL will be replaced |
|
|||
220 | ## {email} user email |
|
|||
221 | ## {md5email} md5 hash of the user email (like at gravatar.com) |
|
|||
222 | ## {size} size of the image that is expected from the server application |
|
|||
223 | ## {scheme} http/https from Kallithea server |
|
|||
224 | ## {netloc} network location from Kallithea server |
|
|||
225 | #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} |
|
|||
226 | #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} |
|
|||
227 |
|
||||
228 |
|
||||
229 | ## container auth options |
|
|||
230 | container_auth_enabled = false |
|
|||
231 | proxypass_auth_enabled = false |
|
|||
232 |
|
||||
233 | ## default encoding used to convert from and to unicode |
|
215 | ## default encoding used to convert from and to unicode | |
234 | ## can be also a comma seperated list of encoding in case of mixed encodings |
|
216 | ## can be also a comma seperated list of encoding in case of mixed encodings | |
235 | default_encoding = utf8 |
|
217 | default_encoding = utf8 | |
236 |
|
218 | |||
237 | ## overwrite schema of clone url |
|
|||
238 | ## available vars: |
|
|||
239 | ## scheme - http/https |
|
|||
240 | ## user - current user |
|
|||
241 | ## pass - password |
|
|||
242 | ## netloc - network location |
|
|||
243 | ## path - usually repo_name |
|
|||
244 |
|
||||
245 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} |
|
|||
246 |
|
||||
247 | ## issue tracker for Kallithea (leave blank to disable, absent for default) |
|
219 | ## issue tracker for Kallithea (leave blank to disable, absent for default) | |
248 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues |
|
220 | #bugtracker = https://bitbucket.org/conservancy/kallithea/issues | |
249 |
|
221 |
General Comments 0
You need to be logged in to leave comments.
Login now