Commit graph

758 commits

Author SHA1 Message Date
Daniel Dourvaris
ea04026aa4 ux: fix bug where saving empty issue tracker form was causing
exception, fixes: #4278
2016-10-14 17:14:44 +03:00
Marcin Kuzminski
1e9bb6006b js: remove obsolete js file that are no longer required in project. 2016-10-14 19:28:15 +02:00
Marcin Kuzminski
6af66a91be flash-filters: changed texts 2016-10-14 12:20:07 +02:00
Daniel Dourvaris
8f4e395877 annotations: replace annotated source code viewer with renderer
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00
Daniel Dourvaris
323c951802 vcs: add equality testing for commits against non commits to allow
commit == None functionality
2016-10-13 13:30:06 +03:00
Marcin Lulek
298d32efed components: small order of elements change and a cleanup 2016-10-12 11:32:20 +02:00
Martin Bornhold
88a384f13c tests: Fix error introduced by rebasing. 2016-10-11 13:27:51 +02:00
Martin Bornhold
2d6717d891 tests: Bring pyro4 protocol back to work as opt in. 2016-10-11 11:43:48 +02:00
Martin Bornhold
10181aa8e6 vcs: Send custom repo-locked status code to the VCSServer. 2016-10-10 16:07:15 +02:00
Martin Bornhold
2b09ada931 tests: Make test work with either http or pyro4 protocol. 2016-10-10 14:32:46 +02:00
Martin Bornhold
add98db605 vcs: Add a comment about removing some code when dropping Pyro4 support. 2016-10-10 14:06:26 +02:00
Martin Bornhold
d3b91c664e vcs: Include reason phrase from VCSServer into HTTP status string. 2016-10-10 13:58:52 +02:00
Martin Bornhold
acfd1ac604 pytest: Fix settings in test-ini files. 2016-10-07 10:39:14 +02:00
Martin Bornhold
efcfc61e67 tests: Fix test that expects the pyro4 scm app as default. 2016-10-07 10:32:28 +02:00
Martin Bornhold
dcedd37e25 tests: Use http backend in rhodecode test ini file. 2016-10-04 15:09:41 +02:00
Martin Bornhold
7870feb3da tests: Create new config files for vcsserver (http/pyro4) 2016-10-04 15:07:10 +02:00
Martin Bornhold
904bcf9607 tests: Move rhodecode ini file into tests directory 2016-10-04 15:06:09 +02:00
Martin Bornhold
c183e22410 tests: Remove unused command argument. 2016-10-04 14:48:21 +02:00
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
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
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
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
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
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