Commit graph

970 commits

Author SHA1 Message Date
Martin Bornhold
30d2e31229 pytest: Use http as default backend in pytest configuration. 2016-10-04 14:37:48 +02:00
Martin Bornhold
8279f376a9 tests: Fix tests that depend on the default value of 'pyro4' as backend. 2016-10-04 14:37:09 +02:00
Martin Bornhold
d3fd4efbe1 tests: Specify protocol in case of pyro4.
Previously this was the default value of the argument.
2016-10-04 13:05:16 +02:00
Martin Bornhold
27139beaa3 tests: Change default settings in tests to 'http' 2016-10-04 13:04:40 +02:00
Martin Bornhold
cb1b19cfba tests: Fix infinite loop. 2016-10-04 12:44:03 +02:00
Martin Bornhold
2279a8a80e vcs: Fix vcsserver startup with http backend. 2016-10-04 12:53:40 +02:00
Martin Bornhold
0eaf093c1f vcs: Map legacy setting value 'rhodecode.lib.middleware.utils.scm_app_http' -> 'http' to support legacy configs. 2016-10-04 12:10:56 +02:00
Martin Bornhold
dff5dd52e0 http: Allow http, pyro and custom implementations for scm app. 2016-10-04 12:01:10 +02:00
Martin Bornhold
3ec9d222b8 http: Remove default arguments from prepare callback function. 2016-10-04 11:37:36 +02:00
Martin Bornhold
65bc7e55cf vcs: Raise exception if unknown protocol specified for vcs server protocol. 2016-10-04 11:24:56 +02:00
Martin Bornhold
0a1cdb3d33 http: Remove 'pyro4' default values from function arguemnts in vcs init. #4237 2016-10-04 11:24:34 +02:00
Martin Bornhold
e16c30581c http: Use http as default setting when sanitize config values. Part of #4237 2016-10-04 11:18:52 +02:00
Martin Bornhold
3ef5d3f696 vcs: Set default settings to HTTP in ini files. Part of #4237 2016-09-30 21:19:13 +02:00
Daniel Dourvaris
25f2c0b8b2 tests: add test for pull request with multiple commits and reflect
peppercorn usage in other pull request tests
2016-10-12 08:27:31 +03:00
Daniel Dourvaris
647d54dd0b pullrequests: added peppercorn sequence start/end markers to
commit range list to fix bug where pull requests with multiple
commits were submitting only one commit
2016-10-12 08:21:58 +03:00
Martin Bornhold
2ac52574a5 dev-env: Remove flake8 target from makefile.
We previously removed flake8 from our development environment.
This is a follow up which removes it also from the makefile.
2016-10-11 14:21:25 +02:00
Marcin Lulek
108430ae23 global settings: add a new template for flash filtering 2016-10-11 15:25:41 +02:00
Marcin Lulek
73c93af3e7 helpers: flash messages can now carry additional information in json format 2016-10-10 16:00:18 +02:00
Martin Bornhold
ecc24326d7 vcs: Do not pass the backend key into the scm app instances.
We used the key as a value for a response header. Since this header is removed there
is no need to pass the backend key araound.
2016-10-06 16:25:27 +02:00
Martin Bornhold
c6466346b4 vcs: Remove custom response header which contains backend key.
We used this custom header to skip the error handling.
This is no linger needed since the VCS middleware is moved above of the error handling.
2016-10-06 16:10:40 +02:00
Martin Bornhold
1a3f93ca85 error-handling: Remove if condition to check if the response is a vcs response.
We moved the VCS middleware out of the error handling. Therefore we don't need to skip the error handling anymore.
2016-10-06 16:08:34 +02:00
Martin Bornhold
bd75ca674e wsgi-stack: Move the vcs middleware out of the error handling.
Currently we are bypassing the error handling in case of responses from the
vcs middleware with a custom response header. By moving it out of the error
handling we don't need the custom header anymore.
2016-10-06 15:50:37 +02:00
Martin Bornhold
861adffd82 tests: Add a way to deactivate exception re-raising in tests. 2016-10-07 09:15:43 +02:00
Martin Bornhold
643e092c92 wsgi-stack: Add a more meaningful comment why we insert the error middleware. 2016-10-06 15:39:03 +02:00
Martin Bornhold
b20f75676a wsgi-stack: Use the pylons error handling middleware. 2016-10-06 12:00:58 +02:00
Martin Bornhold
b213d2244c wsgi-stack: Refactor the error handling view into a middleware class. 2016-10-06 12:01:57 +02:00
Marcin Kuzminski
2a6fecf693 configs: updated default configs based on latest changes in control config templates 2016-10-10 16:58:15 +02:00
Marcin Kuzminski
385434e99a default-reviewers: add reason when manually adding reviewers after creating a PR.
Fixes #4250
2016-10-07 19:38:51 +02:00
Marcin Kuzminski
7586514d8c docs: added restoration commands for DBs 2016-10-07 16:49:42 +02:00
Johannes Bornhold
8c612ba7d5 packaging: Update rc-testdata
I've seen upcoming trouble with recent nixpkgs and updated the default.nix
inside of rc-testdata. This change makes use of the new version for enterprise.
2016-10-06 14:05:11 +02:00
Marcin Kuzminski
9d51d1bb4a docs: add note about variables in webhooks. 2016-10-05 21:27:16 +02:00
Marcin Kuzminski
39879f0dff webhooks: added variables into the call URL. Fixes #4211 2016-10-06 23:20:55 +02:00
Marcin Kuzminski
0a0255a92d integrations: sync slack/hipchat formatting 2016-10-05 12:55:42 +02:00
Marcin Kuzminski
759562b614 logging: remove bad logging on slack/hipchat. 2016-10-05 12:13:08 +02:00
Daniel Dourvaris
13f8ae56bc integrations: fix bug with integrations view page not loading
when non global admin tries to access it, fixes #4266
2016-10-06 17:59:33 +03:00
Daniel Dourvaris
cee3c740e0 hipchat: escape user entered data to avoid xss/formatting problems 2016-10-06 15:38:49 +03:00
Johannes Bornhold
d267150a43 packaging: Tweak for darwin based development, 16.09 2016-10-06 13:46:04 +02:00
Marcin Kuzminski
f6410691d6 integrations: use consistent formatting of user in slack. 2016-10-04 23:12:00 +02:00
lisaq
048e2deb50 ux: icon for merge tags 2016-10-04 16:33:01 +02:00
Martin Bornhold
da04304434 nix: Remove unused and outdated flake8 dependencies. 2016-09-30 16:49:33 +02:00
Martin Bornhold
b6edbc7c40 nix: Remove flake8 from test requirements. 2016-09-30 16:45:52 +02:00
Martin Bornhold
aab8b8038b vcs: Remove dead code. 2016-10-04 14:38:11 +02:00
lisaq
272d4625b1 styling: new icon font fix #3488 2016-10-04 12:03:30 +02:00
Martin Bornhold
ff59708ca8 nix: Pass the backwards compatible fetchgit to python and node packages. 2016-10-04 10:43:55 +02:00
Marcin Kuzminski
dc2d17cfb3 docs: add change user details docs 2016-10-03 20:23:24 +02:00
Marcin Kuzminski
0a39f5bf00 vcs: merge logic with dry run now uses better default arguments.
Helps to find out where the merge came from.
2016-10-03 11:20:25 +02:00
Marcin Kuzminski
721295056f vcs: add missing parameters to base class method. 2016-10-03 11:19:57 +02:00
Marcin Kuzminski
9a8665f0d8 shadow-repos: expose a nicer clone destination directory by default in
format of pull-request-NUM.
2016-10-03 11:19:24 +02:00
Marcin Kuzminski
3dd481e54c pull-requests: fix problem with empty instances on creating PR from origin repo 2016-10-03 11:09:36 +02:00
Martin Bornhold
cc4ab6dae7 tests: Use only one place to define pr and shadow URL segments. 2016-09-28 13:40:01 +02:00