Commit graph

477 commits

Author SHA1 Message Date
Martin Bornhold
a9a4ecae50 licenses: Add tornado license information.
We are using a modified version of some code which originates from
the tornado web server project. Therfore we include the original license
information in our project to comply to the license.
2016-07-21 12:51:32 +02:00
Martin Bornhold
7738578914 vcs: Add license header from the origin to geventcurl. 2016-07-21 12:49:44 +02:00
Martin Bornhold
99a93285fe vcs: Implemented a gevent compatible Curl class, part of #4046
This Curl class acts like a wrapper around the original one but uses
the curl multi interface together with gevent's machanisms for synchronization
of threads (greenlets).
2016-07-21 12:51:50 +02:00
Martin Bornhold
d31aca7e32 svn: Ignore the content length header from response, fixes #4112
In case of compressed responses from apache(mod_dav_svn) we can not
use the Content-Length header in our own response. The content is
automatically decompressed by the requests library and therefore
the content length differs.

This results in errors when doing e.g. a svn checkout:
"svn: E120106: ra_serf: The server sent a truncated HTTP response body."
2016-07-20 17:20:50 +02:00
Marcin Kuzminski
de692e06a0 summary/changelog: unified how data is displayed for summary and changelog pages.
- use consistent order of columns
- fix the link to commit status
- fix order of displaying comments

Fixes #4111
2016-07-21 11:58:21 +02:00
Daniel Dourvaris
adf54b7bc8 routes: make changeset_info route use repo_name at start, to follow
url route convention
2016-07-20 20:14:11 +03:00
Marcin Lulek
fe041c5ae5 middleware: add the register plugin directive further up the config stack 2016-07-20 12:23:38 +02:00
Marcin Kuzminski
c111452fd9 routing: avoide espacing the %N in special route for CodeMirror 2016-07-20 11:59:25 +02:00
lisaq
84a1c0952d docs: more explicit naming of quick start guide 2016-07-20 11:27:54 +02:00
lisaq
36635bb44e styling: tigtening up my account pull request tables 2016-07-19 17:07:12 +02:00
Marcin Kuzminski
50aa2e9c42 statics: use cache_max_age with 24H to cache loaded static assets by browsers. 2016-07-19 18:01:18 +02:00
Johannes Bornhold
1abc307caa nix: Add linkNodeModules to passthru
This way it can also be used from the outside. Useful for release work.
2016-07-19 14:52:11 +02:00
Daniel Dourvaris
79b9f0482f assets: add javascript static file route generator 2016-07-19 17:32:10 +03:00
Daniel Dourvaris
06d4bffaa5 assets: skip RoutesMiddleware matching on certain urls to avoid
the overhead of matching a route which doesn't exist
2016-07-19 17:18:18 +03:00
Martin Bornhold
eca6c8ea01 tests: Fixed ecpected results. 2016-07-19 15:12:02 +02:00
Martin Bornhold
9e7f173d13 tests: Add new argument to tests using '_create_reference_data' method. 2016-07-19 11:42:38 +02:00
Martin Bornhold
c86781e72f tests: Add new argument to tests using '_create_reference_items' method. 2016-07-19 11:39:42 +02:00
Martin Bornhold
43ca1aab8a tests: Add new argument to tests using '_create_files_url' method. 2016-07-19 11:36:33 +02:00
Martin Bornhold
b90c57159a files: Include the repository groups when computing files url, fixes #4104. 2016-07-19 11:35:30 +02:00
Daniel Dourvaris
c0e90309c9 docs: update example nginx/apache configs to use .rccontrol static path 2016-07-19 13:02:40 +03:00
Daniel Dourvaris
66e6bdfd91 config: update ini/config files to account for /_static path 2016-07-19 12:22:45 +03:00
Daniel Dourvaris
724d3c959e assets: expose /favicon.ico route for automatic browser favicon requests 2016-07-18 17:23:13 +03:00
Daniel Dourvaris
5a33ed7427 assets: convert pylons static files to pyramid static_url, fixes #3504 2016-07-18 15:17:18 +03:00
Marcin Lulek
9011be6e65 comments: send more information with comment_form_built event 2016-07-18 15:41:55 +02:00
Marcin Kuzminski
897af018aa test: remove accidentally commite test file 2016-07-18 14:48:23 +02:00
Marcin Lulek
a537335516 topics: improve handling topics without callbacks subscribed 2016-07-18 14:28:06 +02:00
Marcin Kuzminski
a03e4a88f9 tests: marked some xfail tests that are now working 2016-07-14 14:17:34 +02:00
Daniel Dourvaris
583f63c376 errorpages: fix case when a pyramid httperror was not being rendered
with error handler
2016-07-14 12:04:08 +02:00
Marcin Kuzminski
169a7c5cf1 integrations-db: don't use default contructor to be consisten with other modules
usage.
2016-07-14 11:23:46 +02:00
Daniel Dourvaris
efc1db0e2e integrations: use mutable json settings using json alchemy MutableObject. 2016-07-14 11:23:28 +02:00
Daniel Dourvaris
381ed28327 slack: add slack integration tests 2016-07-13 18:51:59 +02:00
Daniel Dourvaris
eb90ed1dde events: add repo_type to repo events 2016-07-13 19:23:31 +02:00
Daniel Dourvaris
efc7052344 integrations: add webhook integration 2016-07-13 18:12:35 +02:00
Daniel Dourvaris
88e83cf796 events: add an event for pull request comments with review status 2016-07-13 10:39:54 +02:00
Marcin Kuzminski
990143eae0 tokens: auth-token is not only for git/hg but also for svn.
Changed some docstrings to indicate this.
2016-07-13 12:34:17 +02:00
Marcin Kuzminski
08000af552 auth: made the message about not-active user consisten with token plugin 2016-07-13 12:27:04 +02:00
Marcin Kuzminski
ab6750c9a7 auth-token: allow other authentication types to use auth-token.
Fixes #4070
2016-07-12 19:56:48 +02:00
lisaq
52015c0c8f styling: #4086 fixing bug where long commit messages did not wrap in file view 2016-07-13 11:21:11 +02:00
Johannes Bornhold
e660ec2fb5 tests: Fix up PATH_INFO to start with a slash
That's also how it looks in reality.
2016-07-13 09:16:47 +02:00
Johannes Bornhold
00ec4381f9 subversion: Detect requests also based on magic path. 2016-07-13 09:15:54 +02:00
Daniel Dourvaris
2421154553 tests: fix integration test wrong named variable 2016-07-13 10:05:25 +02:00
Martin Bornhold
2add3b9ca2 tests: Only skip test if protocol is 'pyro4' 2016-07-12 19:33:38 +02:00
Martin Bornhold
417e8c92a4 tests: Skip test for Pyro4 connection and added doc strings. 2016-07-12 19:30:37 +02:00
Martin Bornhold
aaed98ef52 dev-env: Improve build inputs formatting. 2016-07-12 20:42:36 +02:00
Martin Bornhold
f178c4826e dev-env: Add locustio to the nix-shell. 2016-07-12 20:36:11 +02:00
Marcin Kuzminski
0140dfe54c i18n: updated JS translations 2016-07-12 20:15:57 +02:00
Marcin Kuzminski
30f307320e i18n: updated message catalog 2016-07-12 20:15:11 +02:00
Marcin Kuzminski
7919bd424b js-i18n: fixed wrong usage of _ngettext 2016-07-12 20:13:44 +02:00
Daniel Dourvaris
439422d073 events: add logging for all events triggered 2016-07-12 11:37:51 +02:00
Daniel Dourvaris
d7cd766a07 integrations: fix bug where deleting a repo did not delete integrations 2016-07-12 11:14:40 +02:00