Marcin Kuzminski
56c24af7bc
caches: use optional identity cache options on get_by_repo_name and get_by_username
...
methods. Disabled by now.
2016-06-22 20:38:44 +02:00
Marcin Kuzminski
a30ccd1470
helpers: fixed some errors on helpers, and removed dead code.
2016-06-22 11:32:13 +02:00
Marcin Kuzminski
4531ebf106
helpers: optimize slight calls for link_to_user to save some
...
intense queries.
2016-06-21 20:14:15 +02:00
Daniel Dourvaris
f43669f817
model: log exception if multiple repos rather than hard error
2016-06-22 18:29:41 +03:00
Daniel Dourvaris
114e4097ca
model: make sure only 1 repo in session when get_by_repo_name
2016-06-22 18:18:59 +03:00
Daniel Dourvaris
6f322f3be9
speedup: join repo on fork/user/group by default
2016-06-22 14:58:05 +03:00
Daniel Dourvaris
80943648ff
debug: skip model.settings query logging
2016-06-22 14:57:37 +03:00
Daniel Dourvaris
c00cc3ef14
speedup: check identity_map when getting by repo name
2016-06-22 13:38:11 +03:00
Daniel Dourvaris
450bb8142e
speedup: check local session for repo by repo name first
2016-06-22 12:53:43 +03:00
Daniel Dourvaris
1536e48bab
refactor: remove old error controller, which has been replaced by pyramid
2016-06-22 12:39:11 +03:00
lisaq
17a75f2b8e
ux: bringing my account pull request list into the great future #4038
2016-06-22 15:26:04 +02:00
Martin Bornhold
6b84fcdb1d
threading: Use the curl session factory.
2016-06-22 10:18:33 +02:00
Martin Bornhold
4a1c60fba2
threading: Add factory that creates curl session for each thread.
...
When creating a repo with an import url pointing to another repo on the same enterprise instance
we call the vcssserver to check the url. The vcsserver then calls to enterprise to verify the url.
This leads to two threads using the same cur session.
2016-06-22 10:18:06 +02:00
Johannes Bornhold
24d554a54e
nix: Propagate doCheck attribute.
2016-06-15 11:15:09 +02:00
Johannes Bornhold
711cda9de3
release: Provide attribute releaseName
...
Used from rcpkgs to package things up for the installer and control.
2016-06-07 08:23:17 +02:00
Johannes Bornhold
03b1542a52
release: Remove dependency greenlet
2016-06-07 06:07:47 +02:00
Johannes Bornhold
cf906eafe6
authn: Use type() instead of __class__ attribute.
2016-06-21 08:09:55 +02:00
Johannes Bornhold
24e2b4a137
authn: Test authentication plugin settings POST views.
2016-06-20 17:27:31 +02:00
Johannes Bornhold
b5079c9ba9
authn: Fix priority of default values if some values are missing during POST
...
Normally this affects only the test suite but doesn't hurt to be correct :)
2016-06-20 17:27:04 +02:00
Johannes Bornhold
a1b5f9d602
authn: Allow to pass in a default value if setting is not available in DB.
2016-06-20 17:25:35 +02:00
Martin Bornhold
30ce19fa4f
authn: Unit tests to simply get the authentication settings pages.
...
Checks for enabled (retcode=200) and disabled (retcode=404) plugins.
2016-06-20 15:48:23 +02:00
Martin Bornhold
94d448b77c
authn: Create context managers to enable/disable an authentication plugin in DB.
2016-06-20 15:46:35 +02:00
Martin Bornhold
df46a4458a
authn: Add fixture that provides authentication plugin instances.
2016-06-20 15:45:58 +02:00
Johannes Bornhold
825e26db6f
authn: Don't use setting value to compute the setting type.
2016-06-20 11:52:24 +02:00
Johannes Bornhold
b23f4f5b5d
admin: Use error message from UserCreationError when updating a user.
...
If we get a UserCreationError on updating a user we should display the
more specific error message from the exception.
2016-05-30 12:16:25 +02:00
Johannes Bornhold
23ac9de853
events: Send events when user is created or updated.
...
Send the UserPreCreate event before a new user is created.
Send the UserPreUpdate event before a user is updated.
2016-05-31 12:36:58 +02:00
Johannes Bornhold
3cc0e271b6
events: Add a method to model base class for sending events.
...
This wraps the logic to send pyramid events at a single place.
2016-05-31 12:34:42 +02:00
Johannes Bornhold
eac754001b
events: Add user data to UserPreCreate und UserPreUpdate events.
2016-05-31 12:37:59 +02:00
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
Marcin Kuzminski
a10185d584
Added tag v4.1.2 for changeset 41c87da28a17
2016-06-16 23:06:44 +02:00
Marcin Kuzminski
f3f967954c
release: Finish preparation for 4.1.2
2016-06-16 23:06:44 +02:00
Marcin Kuzminski
cc84222385
release: updated pip2nix output for 4.1.2
2016-06-16 23:06:43 +02:00
Marcin Kuzminski
37372e739b
release: Start preparation for 4.1.2
2016-06-16 23:03:42 +02:00