Daniel Dourvaris
e6833d2fd8
db: move Session.remove to outer wsgi layer and also add it
...
to hooks daemon to avoid leaving connections open in the db pool
fixes #4173 , refs #4166
2016-08-13 02:56:48 +03:00
Marcin Kuzminski
3f8709daf5
scm-app: allow to set documented pyro4 as scm_app_implementation.
...
The documented ini setting allows to set pyro4 as scm_app, while
the backend code crashes on import of pyro4 module. This change
allows to configure the app based on the .ini docs.
if we pass pyro4 as backedn, we simply skip import and use
the default pyro4 scm_app
2016-08-10 00:49:05 +02:00
Martin Bornhold
12a8910af2
vcs: Remove 'rhodecode.vcs.skip_error_handling' flag from environ.
2016-08-09 16:05:30 +02:00
Martin Bornhold
1b6f04f8b6
vcs: Add custom response header 'X-RhodeCode-Backend' to indicate VCS responses and which backend is in use.
2016-08-09 16:03:14 +02:00
Martin Bornhold
0c47e1e8f1
vcs: Add a flag to the environ to skip the error handling for responses from VCSMiddleware
2016-08-08 15:01:10 +02:00
Martin Bornhold
de3885bda3
ae: Rely on fully prepared settings in appenlight wrapping function.
2016-08-08 09:00:20 +02:00
Martin Bornhold
c46ad9f215
vcs: Pass registry to vcs for user authentication.
...
Explicit pass the registry insted of indirectly using it via pyramids
thread locals.
2016-08-08 08:29:10 +02:00
Martin Bornhold
e61c84a72e
config: Use hooks protocol and direc calls seting from vcs settings module.
2016-08-08 08:29:35 +02:00
Martin Bornhold
8d70188a1f
vcs: Retrieve base path and realm with new helper methods.
2016-08-05 16:56:38 +02:00
Martin Bornhold
d31aca7e32
svn: Ignore the content length header from response, fixes #4112
...
In case of compressed responses from apache(mod_dav_svn) we can not
use the Content-Length header in our own response. The content is
automatically decompressed by the requests library and therefore
the content length differs.
This results in errors when doing e.g. a svn checkout:
"svn: E120106: ra_serf: The server sent a truncated HTTP response body."
2016-07-20 17:20:50 +02:00
Johannes Bornhold
00ec4381f9
subversion: Detect requests also based on magic path.
2016-07-13 09:15:54 +02:00
Marcin Kuzminski
594836b691
merged stable into default
2016-06-28 12:41:11 +02:00
Johannes Bornhold
8a9ef796fc
svn: Avoid chunked transfer for Subversion
2016-06-21 17:12:28 +02:00
Daniel Dourvaris
ad8747e7bf
tests: fix disable_vcs tests
2016-06-14 10:40:02 +03:00
Daniel Dourvaris
fdcf88bd53
pyramid: make responses/exceptions from pyramid/pylons work
2016-06-08 15:21:58 +03:00
Marcin Kuzminski
b0695a1fdc
logging: fixed log formatting
2016-05-24 23:11:47 +02:00
Marcin Kuzminski
9a0d8c0b77
project: added all source files and assets
2016-05-24 15:56:53 +02:00