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
Martin Bornhold
1739739bed
config: Move vcs hooks protocol and direct call setting to vcs configure mehod.
2016-08-08 08:23:53 +02:00
Martin Bornhold
8b36c76305
config: Update config files with comment about 'vcs.backends' setting.
2016-08-08 08:20:06 +02:00
Martin Bornhold
ea4b4bfc2e
config: Sanitize 'default encoding' setting.
2016-08-05 17:14:56 +02:00
Martin Bornhold
4bc09a4562
config: Sanitize vcs realted settings during pyramid app init.
2016-08-05 17:14:24 +02:00
Martin Bornhold
a6bc25daf6
config: Add method to sanitize string values from ini file.
2016-08-05 17:12:37 +02:00
Martin Bornhold
ecc63cf8b5
config: Add method to sanitize list values from ini file.
2016-08-05 17:12:07 +02:00
Martin Bornhold
b2edd71976
vcs: Move the setup code for vcs lib from pylons to pyramid layer.
...
The VCS setup code now uses the prepared settings from pyramid layer.
2016-08-05 17:10:33 +02:00
Martin Bornhold
352325bea9
vcs: Move VCSMiddleware up to pyramid layer as wrapper around pylons app.
...
The VCSMiddleware is now moved to the pyramid layer and acts as a fallback
if pyramid does not find a view to handle the request.
2016-08-05 17:07:19 +02:00
Martin Bornhold
9cf62f5f92
config: Move initial repo scan up to the pyramid layer.
...
It is now subscribed to the ApplicationCreated event from pyramid.
2016-08-05 17:01:00 +02:00
Martin Bornhold
8d70188a1f
vcs: Retrieve base path and realm with new helper methods.
2016-08-05 16:56:38 +02:00
Marcin Kuzminski
c7a2b59438
js-log: logger doesn't have warning(), just warn().
2016-08-08 18:54:39 +02:00
Daniel Dourvaris
3eeae59bb6
static: use static_path instead of static_url to account for http vs https
2016-08-08 18:12:55 +03:00
Daniel Dourvaris
95ff761670
celery: create custom celery task class which loads context/threadlocals
...
of the original request required for tasks like create_repo which needs
to generate a url after the repo is created. fixes #4139
2016-08-03 03:59:58 +03:00
Daniel Dourvaris
d5cc2f99f6
jsonalchemy: add pickle support to mutation dict so that json
...
setting values can be pickled and passed to celery tasks
2016-08-03 03:19:12 +03:00
Martin Bornhold
f60d2f0446
svn: Add rhodecode realm to subversion configuration generation.
2016-08-01 15:30:38 +02:00
Martin Bornhold
9eb5871314
svn: Set authentication realm to None in apache config template
...
Inside of the vcs middlewares we are using the empty string as
authentication realm for HTTP basic auth. Because we are proxy
the requestst between svn client and mod_dav_svn wen have to
use the same authentication relam in mod_dav_svn and vcs middleware.
Otherwise auth is impossible because of mismatching realms.
2016-08-01 08:57:27 +02:00
Martin Bornhold
6a8886de2c
svn: Adapt tests to recent changes in implementation.
2016-07-29 14:36:01 +02:00
Martin Bornhold
ed89e98739
svn: Split up config generation method and do not raise exceptions on writing config to file.
2016-07-29 14:35:36 +02:00
Martin Bornhold
4765be2517
svn: Move path computation from themplate to python.
2016-07-29 13:27:32 +02:00
Martin Bornhold
95880bb787
svn: Escape environment variable syntax in comment to prevent mako from rendering it.
2016-07-29 13:25:43 +02:00
Martin Bornhold
95658205a8
svn: Add fake authentication to the mod_dav_svn config template.
2016-07-29 12:32:13 +02:00
Martin Bornhold
89da594fe9
svn: Rename keys.py to config_keys.py
2016-07-29 12:24:10 +02:00
Martin Bornhold
86805b6f78
svn: Remove print statement and add __name__ to logger.
2016-07-28 09:54:35 +02:00
Martin Bornhold
6b8ebd59d9
events: Implement the as_dict method for repository group events.
2016-07-28 09:47:44 +02:00
Martin Bornhold
4bdc652296
svn: Add test to check the config file generation.
2016-07-26 12:10:07 +02:00
Martin Bornhold
9d72844ad3
svn: Moved code and make a small bugfix.
2016-07-26 12:09:39 +02:00
Martin Bornhold
77fd67320f
svn: Add settings to default configuration files.
2016-07-28 11:32:28 +02:00
Martin Bornhold
f588fdc1b3
svn: Activate the svn_support module. #4082
2016-07-26 09:45:01 +02:00
Martin Bornhold
70aca495eb
svn: Update and add doc strings and comments.
2016-07-26 09:44:44 +02:00
Martin Bornhold
0bc70c1bc6
svn: Add subscriber to generate the mod_dav_svn config on RepoGroupEvents #4082
2016-07-25 16:30:31 +02:00
Martin Bornhold
b4142b0c6c
svn: Add template to generate the apache mod_dav_svn config for all repository groups.
2016-07-25 16:29:43 +02:00
Martin Bornhold
668275b816
events: Trigger repository group events (create/update/delete)
2016-07-28 11:28:42 +02:00
Martin Bornhold
f2751b086f
events: Add events for repository groups.
...
Events added:
- RepoGroupEvent (base class)
- RepoGroupCreateEvent
- RepoGroupUpdateEvent
- RepoGroupDeleteEvent
2016-07-28 11:29:02 +02:00
Martin Bornhold
126fea568a
vcs: Add method to return the base path to the repo store.
2016-08-01 15:39:34 +02:00
Martin Bornhold
bf3f9b7694
vcs: Add method to utils which returnd the rhodecode realm for HTTP basic auth.
2016-08-01 15:29:37 +02:00
lisaq
bbd8b7c64b
docs: adding link to sign CLA electronically
2016-08-05 15:18:22 +02:00
Daniel Dourvaris
32a4907adb
docs: updated docs for integrations, fixes #4137
...
* added docs for jira, hipchat, redmine, jira, webhook integrations
* moved old integrations/rcextensions docs to "hooks & extensions"
2016-08-04 05:14:57 +03:00
Marcin Kuzminski
309ee712b2
live-comments: use show comment instead of refresh the page so
...
it better reflects the action we're doing.
2016-08-04 12:43:22 +02:00