Commit graph

518 commits

Author SHA1 Message Date
lisaq
2671081e89 pull requests: add show/hide comment functionality #4106 2016-07-29 16:20:48 +02:00
lisaq
eaa2cbff43 styling: fixing broken select2 in ldap settings #4131 2016-07-29 14:30:47 +02:00
lisaq
090b6d0339 docs: updating vccserver ini file name in setup instructions 2016-07-29 11:16:19 +02:00
Daniel Dourvaris
e0a4b67830 events: change target to source repo for pull request events
to make sure commits can be found - fixes #4135, also made
_get_commits work on multiple repos
2016-07-28 23:10:47 +03:00
lisaq
dd019e50a0 notifications: less click space in email header and footer 2016-07-28 23:33:34 +02:00
lisaq
5fa18a8f7d notifications: adjusting how instance name is passed and fixing tests 2016-07-28 17:35:30 +02:00
lisaq
812caf6693 notifications: adjusting tests 2016-07-28 15:18:17 +02:00
lisaq
194666a60f notifications: adding footer to email template main.mako 2016-07-28 14:45:21 +02:00
lisaq
11d00c528b notifications: example in base email template 2016-07-28 14:40:49 +02:00
lisaq
b8c9f0a998 notifications: restyling email templates #4087 2016-07-28 14:12:37 +02:00
Daniel Dourvaris
391379c4ab user: hash email key for User.get_by_email() fixes #4132 2016-07-28 09:19:07 +03:00
Marcin Kuzminski
708038952c db: always use Session() for compatibility, Using Session is actually the
scoped_session which is not the same as the one which we "call".

More here: http://docs.sqlalchemy.org/en/latest/orm/contextual.html#contextual-thread-local-sessions
2016-07-27 00:42:19 +02:00
Marcin Kuzminski
7794877876 setup: improve support for prompts, we should not take care of case sensitivity here 2016-07-27 00:37:32 +02:00
Martin Bornhold
595e5fe715 logging: Use __name__ when requesting a logger 2016-07-27 17:10:01 +02:00
Martin Bornhold
bee42a50ed auth: Fix renaming of 'auth_cahe_ttl' to 'cache_ttl' #4127 2016-07-27 15:54:42 +02:00
Daniel Dourvaris
74d0f0c336 api: add a max_file_bytes parameter to get_nodes so that large
files can be skipped
2016-07-26 20:52:11 +03:00
Daniel Dourvaris
1a842e15d2 scm: change ._get_content() to .raw_bytes attribute to file nodes to
allow getting raw bytes instead of text content of a file and added
.md5 and .is_binary attributes to file nodes
2016-07-26 20:47:23 +03:00
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