Commit graph

5651 commits

Author SHA1 Message Date
Johannes Bornhold
e6eecebb7f events: Add events for pre user create and pre user update.
These events are emitted before a user is created or updated.
2016-05-30 12:14:00 +02:00
Marcin Kuzminski
d36e50102c autocomplete: allow to pass in a GET flag to control if non-active users should be returned in
autocomplete data.
2016-06-18 14:43:33 +02:00
Marcin Kuzminski
c1da5a8ad4 repos, repo groups, user groups: visually show what user is an owner, and if
potentially he is disabled in the system.
2016-06-18 02:09:41 +02:00
Marcin Kuzminski
2687022328 repos, repo groups, user groups: allow to use disabled users in owner field.
This fixes #3374. There's no good benefit of having possibility to prevent
setting disabled user from beeing an owner.
It can happen that we start preperating a system and use disabled accounts.
Also users shouldn't be forbidden to edit settings on an disabled owner.
2016-06-18 02:03:43 +02:00
Marcin Kuzminski
3a55b9c4e1 gravatar: add flag to show current gravatar + user as disabled user (non-active) 2016-06-18 02:27:01 +02:00
Marcin Kuzminski
0276305290 autocomplete: add flags to show/hide active users, and also display this information
in autocomplete data.

ref #3374
2016-06-18 14:23:57 +02:00
Martin Bornhold
5f898873c6 oss-licenses: Remove unused pytest fixture from tests. 2016-06-17 13:49:12 +02:00
Martin Bornhold
04da84dec0 oss-licenses: Fix tests for open source licenses view. 2016-06-17 11:10:19 +02:00
Martin Bornhold
35b7e5a92c nix: Update rhodecode testdata to recent version (0.7.0 -> 0.8.0) 2016-06-17 13:22:59 +02:00
Martin Bornhold
143e2e06ec nix: Import rhodecode testdata as derivation. 2016-06-17 12:57:58 +02:00
Martin Bornhold
5fc4f49d3a pytest: Remove unused repository archives.
These are now moved to the rc_testdata package.
2016-06-17 10:07:14 +02:00
Martin Bornhold
6963e68fe8 pytest: Update docstrings to reflect changes. 2016-06-17 10:06:05 +02:00
Martin Bornhold
93e76a0219 pytest: Unify create_test_* functions. 2016-06-17 13:29:32 +02:00
Martin Bornhold
94211a1998 pytest: Removed unused argument. 2016-06-17 09:48:16 +02:00
Martin Bornhold
6e3e20caf5 pytest: Create test repositories from rc_testdata package. 2016-06-17 09:42:10 +02:00
Martin Bornhold
87ad3a021b pytest: Create test search index from rc_testdata package. 2016-06-17 09:41:38 +02:00
Martin Bornhold
fc7f2e7770 nix: Use path to rc_testdata from pkgs.config.rc.sources if present. 2016-06-17 08:34:51 +02:00
Marcin Kuzminski
99bc2e3eeb release: merge back stable branch into default 2016-06-16 23:15:18 +02:00
Martin Bornhold
cc4588948f nix: Remove gnureadline from generated python-packages.nix 2016-06-16 13:40:45 +02:00
Martin Bornhold
f6748d4aac oss-licenses: Regenerate python-packages.nix and licenses.json to have a recent version. 2016-06-16 13:01:17 +02:00
Martin Bornhold
6dd6a2015f oss-licenses: Remove outdated comment about psycopg2 licensing. 2016-06-16 12:38:45 +02:00
Martin Bornhold
1e009ac0a5 oss-licenses: Add license override for pyramid-debugtoolbar. 2016-06-16 11:48:44 +02:00
Martin Bornhold
22ce74f82a oss-licenses: Use only 'rhodecode' as pkg_resource manager string.
This way it will match the pyramid static asset 'rhodecode:config/licenses.json'
2016-06-16 08:29:40 +02:00
Martin Bornhold
7ab55a64bd oss-licenses: Migrate view to pyramid. 2016-06-15 12:07:48 +02:00
Martin Bornhold
74d78fdec3 oss-licenses: Remove pylons view. 2016-06-15 12:06:49 +02:00
Johannes Bornhold
24819de588 oss-licenses: Added various license overrides. 2016-06-16 11:59:35 +02:00
Johannes Bornhold
8b83e38444 oss-licenses: Added license attribute to URLObject derivation. 2016-06-10 15:24:42 +02:00
Johannes Bornhold
efce0bcdb0 templates: Only display license as link when URL is set. 2016-06-10 15:19:48 +02:00
Johannes Bornhold
7781d50a18 invoke: Updated invoke to latest version 0.13.0 2016-06-10 14:58:53 +02:00
Johannes Bornhold
e91f1cb607 licenses: Update license.nix to work with new enterprise derivation. 2016-06-09 13:26:17 +02:00
Johannes Bornhold
4e9923b5ae auth: Implement __str__ on plugin base class
This way some error messages will look nicer, since they are based on the
__str__ of the plugin instance. Using the plugin_id will give the user (and us
in the support case) the exact pointer to the affected plugins.
2016-06-16 09:11:45 +02:00
Marcin Kuzminski
0e8804b8e5 release: remove newline from version file 2016-06-15 10:34:11 +02:00
Marcin Kuzminski
eca8a89717 release: Merge stable into default 2016-06-15 03:01:27 +02:00
Daniel Dourvaris
a025a9c3f6 errorpages: add appenlight to pyramid layer 2016-06-14 13:13:36 +03:00
Daniel Dourvaris
cb75973073 errorpages: convert general exceptions to error page if toolbar disabled 2016-06-14 12:02:49 +03:00
Daniel Dourvaris
ad8747e7bf tests: fix disable_vcs tests 2016-06-14 10:40:02 +03:00
Daniel Dourvaris
38021f6a30 errorpages: convert webob responses better, include status text + headers 2016-06-14 10:00:01 +03:00
Daniel Dourvaris
c17c69173b errorpages: use original http status for rendered error page 2016-06-14 08:27:18 +03:00
Daniel Dourvaris
71a0c66f67 cleanup: remove unused library 2016-06-08 18:25:45 +03:00
Daniel Dourvaris
18573c588d cleanup: remove accidental additions 2016-06-08 15:45:30 +03:00
Daniel Dourvaris
fdcf88bd53 pyramid: make responses/exceptions from pyramid/pylons work 2016-06-08 15:21:58 +03:00
Marcin Kuzminski
d6e940710d release: Bump version 4.1.0 to 4.2.0 2016-06-12 21:00:43 +02:00
Marcin Kuzminski
3d0a928761 Merge stable back into default 2016-06-12 21:00:43 +02:00
Johannes Bornhold
9ae1a7f58a login: Moved method out of login view. 2016-05-27 21:36:34 +02:00
Johannes Bornhold
47f92d55ba setup: Remove DB setting entry from rhodecode setup code. 2016-05-27 20:52:13 +02:00
Johannes Bornhold
6713b054ef authn: Add whitespace stripping to authentication plugin settings. 2016-05-27 20:21:13 +02:00
Johannes Bornhold
69bf06bfcc colander: Add a colander preparer to remove trailing/leading whitespace. 2016-05-27 19:58:57 +02:00
Johannes Bornhold
d593bef27b authn: Add container authentication plugin again. 2016-05-27 19:31:30 +02:00
Johannes Bornhold
b3562f3708 authn: Add an INI option to set an authentication plugin fallback. #3953
If you set 'rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode'
in your INI file the rhodecode auth plugin is always appended to the list of plugins
that are used for authentication.
2016-05-27 10:36:30 +02:00
Johannes Bornhold
e3428604d0 i18n: Use new translation string factory.
- Use the translation factory create in rhodecode.translation
  instead of creating multiple instances in each module.
2016-05-27 12:15:09 +02:00