Commit graph

527 commits

Author SHA1 Message Date
Marcin Lulek
e9d5eb09c5 notifications: support real-time notifications with websockets via channelstream 2016-08-02 16:18:44 +02:00
Marcin Kuzminski
b70466f693 packaging: added channelstream and gevent back into CE.
- re-generated packages using pip2nix
2016-08-02 12:21:45 +02:00
Daniel Dourvaris
b223b488f2 deform: add deform.js to compiled scripts.js 2016-08-01 16:21:17 +03:00
Marcin Kuzminski
198c6fda61 gists: use colander schema to validate input data.
- brings consistent validation acros API and web
- use nicer and stricter schemas to validate data
- fixes #4118
2016-07-31 20:11:12 +02:00
Marcin Kuzminski
95e32917c7 static: change static path to serve rhodecode static assets from
dedicated rhodecode path.

This helps to serve statics via http server and then still allow
plugin statics to work under a common prefix
2016-07-31 12:57:39 +02:00
Marcin Kuzminski
d181ac58e4 nix: added required peppercorn lib 2016-07-30 12:11:10 +02:00
Daniel Dourvaris
eff5cfa1bc pkgs: use pypi version of deform 2016-07-30 12:04:04 +03:00
Daniel Dourvaris
61553db529 deform: use pypi deform library and add helpers to deform scope directly
to avoid passing it each time form is rendered
2016-07-29 17:27:38 +03:00
Daniel Dourvaris
9dd0674b39 forms: add deform for integration settings forms 2016-07-27 11:39:23 +03:00
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