Marcin Kuzminski
efbabb14c7
docs: changelog update for 4.3.0
2016-08-10 02:45:07 +02:00
Marcin Kuzminski
c6641cd893
deps: bumped rhodecode-tools from 0.8.3 to 0.9.0
2016-08-11 14:41:31 +02:00
Marcin Kuzminski
f851c82cc3
docs: updated nginx example
...
- use A+ securit settings
- added gist custom domain
- added custom 502 page example
- formtting cleanups
2016-08-10 00:42:16 +02:00
Marcin Kuzminski
dbb1375d78
static: added a dummy 502 page for nginx.
2016-08-10 00:29:56 +02:00
Marcin Kuzminski
8b3d60be6d
docs: updated docs on proxy prefix for nginx and apache
2016-08-09 23:45:31 +02:00
Marcin Kuzminski
58c14af4c9
tests: synced test.ini with latest changes
2016-08-09 23:41:12 +02: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
Marcin Kuzminski
a2aefa6412
configs: updated docstrings, and improved explanation of some settings
2016-08-10 01:27:28 +02:00
Marcin Kuzminski
faa8b8bf85
configs: updated docstrings, and made some better defaults.
2016-08-09 23:40:55 +02:00
Marcin Kuzminski
6985132ee4
configs: uncomment proxy-prefix. There's just 1 line needed to enable it
...
and having it commented actualyl lead to problems on how to enable it properly.
2016-08-09 23:40:29 +02:00
Daniel Dourvaris
562d672a0c
celery: Reorder celery imports to fix case where celery tasks were being
...
registered before celery config was setup. Added comments to make this
clear so we don't chase this problem in the future until it is refactored
2016-08-11 02:08:54 +03:00
Martin Bornhold
a5fa6cfaca
config: Use prepared settings from app init to setup the vcs connection.
2016-08-10 16:59:41 +02:00
Martin Bornhold
3d5075af5f
config: Fix settings for celery tasks.
2016-08-10 16:53:23 +02:00
Martin Bornhold
8e0eed4a23
config: Move pyro4 initialization to load_pyramid_environment.
2016-08-10 12:11:49 +02:00
Martin Bornhold
0a79070b77
tests: Test sanitize helper function for integer settings.
2016-08-10 12:09:51 +02:00
Martin Bornhold
94ce48830f
config: Sanitize 'vcs.connection_timeout' setting in pyramid app init.
2016-08-10 12:02:13 +02:00
lisaq
4729365ebd
tests: functional tests for diff 2 way
2016-08-10 22:56:50 +02:00
lisaq
6b27de7eff
vcs: implement id for svn commit and EmptyCommit fixes #4136
2016-08-10 23:07:02 +02:00
Daniel Dourvaris
ce5b5ebe25
assets: use pyramid redirect instead of pylons for favion.ico route
2016-08-10 17:56:10 +03:00
Daniel Dourvaris
c93f9a5b37
pyramid: add config to make_pyramid_app for inspection afterwards
2016-08-10 06:22:32 +03:00
Daniel Dourvaris
f3f599ef4a
docs: update api docs
2016-08-10 01:11:48 +03:00
Daniel Dourvaris
1f962f76dc
api: make jsonrpc registry ordered so doc generation can be ordered
2016-08-09 20:33:33 +03:00
Daniel Dourvaris
05681731cc
api: fix spelling of deprecated
2016-08-09 18:19:36 +03:00
Marcin Kuzminski
4278f23734
configs: updated configuration files based on latest CE and EE changes
2016-08-09 17:20:12 +02:00
Martin Bornhold
2f34f8271c
vcs: Use a thread scoped cache invalidation context to cache repository objects.
...
Without this change the cache is on a process scope. If running with multiple
threads this leads to sharing the cached object between threads. This will cause
exceptions if multiple threads are trying to access the same curl object.
Even worse it allows multiple threads to operate on the same repository object
concurrently.
2016-07-14 09:07:19 +02:00
Martin Bornhold
da72f73efb
caches: Add an argument to make the cache context thread scoped.
2016-07-14 09:33:12 +02:00
Martin Bornhold
6fce04f6d1
tests: Adapt tests to recent changes.
2016-08-09 16:34:03 +02:00
Martin Bornhold
d7ee3ddb9b
tests: Add custom header to expected headers
2016-08-09 16:33:38 +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
6ef4a65cc0
vcs: Use response header to decide if error handling is needed.
2016-08-09 16:04:01 +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
0015204e38
config: Rename method to clarify what it does.
2016-08-09 09:27:25 +02:00
Martin Bornhold
e5c6c0c63f
tests: Add some test cases for unicode and list separation.
2016-08-09 09:22:14 +02:00
Martin Bornhold
f50ff4a0b7
config: Encode unicode strings before passing it to pyramids asbool function.
2016-08-09 09:21:43 +02:00
Martin Bornhold
a94d087225
config: Use rhodecode aslist if commas included in list settings otherwise pyramids aslist.
2016-08-09 08:52:33 +02:00
Martin Bornhold
3273b9efca
tests: Use settings dict from fixture instead of grabbing it from the WSGI app stack.
2016-08-08 15:03:03 +02:00
Martin Bornhold
24d3455854
tests: Add a fixture to get the settings dict.
2016-08-08 15:02:12 +02:00
Martin Bornhold
753b920fa8
vcs: Skip error handling in case of responses from VCSMiddleware.
2016-08-08 15:01:39 +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
ef608f6b78
config: Use settings from pyramid app init for appenlight.
2016-08-08 10:33:13 +02:00
Martin Bornhold
89ac5b779f
config: Sanitize 'appenlight' and 'gzip_responses' settings.
2016-08-08 09:44:35 +02:00
Martin Bornhold
97b46e09db
config: Set 'gzip_responses' to false by default.
2016-08-08 09:30:14 +02:00
Martin Bornhold
2af09823e6
config: Remove unsused setting 'full_stack' from ini files.
2016-08-08 09:29:49 +02:00
Martin Bornhold
7797d0a8e6
config: Move appenlight wrapping from pylons to pyramid.
2016-08-08 09:28: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
af75eea2c8
tests: Add test to check the sanitize settings method in app init.
2016-08-08 08:31:36 +02:00
Martin Bornhold
ebaab4bbd2
tests: Adapt tests to recent changes.
2016-08-08 08:30:34 +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
b466d2779a
vcs: Raise an error in case of unsupported protocol.
2016-08-08 08:24:59 +02:00