Commit graph

501 commits

Author SHA1 Message Date
Marcin Kuzminski
4482553490 docs: fixed docstring 2016-07-26 16:00:11 +02:00
Marcin Kuzminski
d0638fa1a1 auth-ldap: added flag to set debug mode for LDAP connections. 2016-07-26 13:09:56 +02:00
Marcin Kuzminski
af6f54dbae auth-plugins: added better log message about the auth-cache-ttl settings. 2016-07-26 13:09:31 +02:00
lisaq
815c7861b3 cleanup: removing unused grav_tmpl function 2016-07-25 13:08:50 +02:00
lisaq
41383eb941 styling: removing unused td-gravatar class 2016-06-30 10:21:59 +02:00
lisaq
39c5c5bf90 ux: put gravatar and username together in user list #3203 2016-06-29 20:01:12 +02:00
Marcin Kuzminski
bf023cc1c5 summary: use the same method to trim the messages as in changelog.
- fixes #4119, summary: trimmed messages can generate wrong data in summary page
2016-07-22 17:54:16 +02:00
lisaq
21fdb59df8 tables: adding translation for empty tables #685 #1832 2016-07-19 18:31:55 +02:00
lisaq
8bb513badb tables: better message when tables are empty #685 #1832 2016-07-19 18:18:08 +02:00
lisaq
8f31a5f796 docs: updating vcsserver commands and development.ini defaults 2016-07-20 11:22:33 +02:00
lisaq
eb9176f911 docs: adding frontend compile instructions to dev setup 2016-07-11 11:41:15 +02:00
lisaq
59a0adb5fc docs: update dev setup instructions 2016-07-06 16:21:34 +02:00
Martin Bornhold
b5956563a5 tests: Fix mocking of get_scm and get_backend functions. 2016-07-21 09:54:04 +02:00
Martin Bornhold
919fa4247d tests: Adapt tests to use the new get_vcs_instance function instead of removed get_repo. 2016-07-21 09:07:29 +02:00
Martin Bornhold
873a0753a5 tests: Fix a helper method that checks if a repository is available on filesystem.
- Moved it into utils to remove duplication
- Refactored it to not hide all kinds of exceptions.
2016-07-21 09:06:47 +02:00
Martin Bornhold
0c7d0871b5 models: Use the new get_vcs_instance method to retrieve vcs instances. 2016-07-21 09:04:14 +02:00
Martin Bornhold
b4ce022c69 vcs: Remove unused code from get_scm function.
No code seems to use these arguments anymore so it's better to remove
them and simplify the code by removing unsused code paths.
2016-07-21 09:02:27 +02:00
Martin Bornhold
0c80668486 vcs: Refactor the get_repo function.
Goal was to not use the search_path_up argument of get_scm and
include some logic that sits in model.db.Repository in get_scm_instance
method.
2016-07-21 09:00:53 +02:00
Martin Bornhold
03559da24d auth: Fix password_changed function, fixes #4043.
Never repot a changed password for default or anonymous users.

If anonymous access is disabled we don't get the default user here so we
also have to check if it is the anonymous user. In both cases (default user
and anonymous user) we can skip the password change check and return False.
2016-07-22 12:57:51 +02:00
Martin Bornhold
fbf489e560 dev-env: Add .eggs directory to ignore list. 2016-07-21 14:29:25 +02:00
Martin Bornhold
ea7d623f22 nix: Generate new python packages.
Locustio is removed from env.
2016-07-21 14:28:59 +02:00
Martin Bornhold
cb6fc8a3c1 dev-env: Remove locustio from dependencies and nix-shell 2016-07-21 14:21:01 +02:00
Martin Bornhold
ab119753c7 tests: Remove code that is moved to the actest repository. #4095 2016-07-21 14:20:22 +02:00
Marcin Kuzminski
42abd96518 docs: added channelstream example 2016-07-21 23:21:22 +02:00
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