Marcin Kuzminski
9bbf4c4e07
release: Start preparation for 4.3.1
2016-08-23 10:11:50 +00:00
Marcin Kuzminski
464236b412
diffs: limit the file context to ~1mln lines. Fixes #4184
...
Something more than 1mln lines is anyway not usable in web browser.
2016-08-20 18:53:32 +02:00
Marcin Kuzminski
75af072019
files: pep8 fixes
2016-08-20 18:52:37 +02:00
Daniel Dourvaris
8c01d385c8
pyro: remove db Session when callback finishes to avoid leaving
...
hanging connections
2016-08-15 17:52:51 +03:00
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
45a8aedffd
i18n: Update compiled message objects and js i18n files
2016-08-12 12:29:44 +00:00
Marcin Kuzminski
70410653be
i18n: Pulled translation from Transifex
2016-08-12 12:29:30 +00:00
Marcin Kuzminski
25d4c11f8e
i18n: Updated message catalog template
2016-08-12 12:29:11 +00:00
Daniel Dourvaris
1795bc5f2f
celery: make celery load config from pyramid_app if available
...
otherwise pylons.config to make sure celery config works
without pylons context
2016-08-12 05:36:03 +03:00
Daniel Dourvaris
c1a7f5edef
celery: dont proxy request if one not available (eg. repo push) and
...
use pyramid settings rather than pylons since repo push has no
pylons context available.
2016-08-12 03:41:09 +03:00
Marcin Kuzminski
f0ce426afc
integrations: update emails integration with nicer emails
2016-08-12 02:59:29 +02:00
Marcin Kuzminski
5db7a362da
events: expose server_url for repo events.
2016-08-12 03:33:25 +02:00
Marcin Kuzminski
1a3fdde786
cleanup: remove left over print statement
2016-08-12 01:30:52 +02:00
Marcin Kuzminski
0b55b888bb
integrations: fix logger name
2016-08-12 01:04:17 +02:00
lisaq
79c86ab920
ux: additional capitalisation and string translation in integration templates
2016-08-11 20:45:48 +02:00
Daniel Dourvaris
9d83e38374
docs: document email integration
2016-08-11 14:17:52 +03:00
Daniel Dourvaris
79206c1582
integrations: add email integration, fixes #4159
2016-08-11 13:16:29 +03:00
Daniel Dourvaris
f318bfa3d5
celery: move pyramid app to celery init rather than per task run
2016-08-11 20:18:50 +03:00
Marcin Kuzminski
dbb1375d78
static: added a dummy 502 page for nginx.
2016-08-10 00:29:56 +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
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
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
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
7797d0a8e6
config: Move appenlight wrapping from pylons to pyramid.
2016-08-08 09:28:10 +02:00