Commit graph

264 commits

Author SHA1 Message Date
Marcin Kuzminski
546bc59682 tests: fixed some tests after new audit-logger 2017-04-27 10:36:32 +02:00
Marcin Kuzminski
e5360e80e4 pull-reqests: workflow, change who can close a PR, it's only super-admin
owner or person who can merge.

- before it was every reviewer can close. Which really doesn't make sense.
2017-04-24 10:25:16 +02:00
Marcin Kuzminski
47f72d2b19 search: moved search into pyramid views. 2017-04-21 17:10:26 +02:00
Marcin Kuzminski
2d37a1e953 routing: switched static redirection links to pyramid.
- ref #4185
2017-04-20 01:00:09 +02:00
Marcin Kuzminski
a3ed262ffd users: moved get_users from RepoModel to UserModel. 2017-04-19 16:58:38 +02:00
Marcin Kuzminski
b595153ea8 user-groups: moved get_user_groups from RepoModel to UserGroupModel. 2017-04-19 16:52:24 +02:00
Marcin Kuzminski
ecea35f018 comments: allow parsing the issue tracker patterns inside the markup
language for comments.

- need to pass in repo name to renderer helper to activate it.
2017-04-20 16:26:15 +02:00
Marcin Kuzminski
e6137d85f4 core: moved goto_switcher views into pyramid. 2017-04-19 15:12:58 +02:00
Marcin Kuzminski
d3041b73d6 core: moved repo_list data to pyramid. 2017-04-19 14:40:29 +02:00
Marcin Kuzminski
5627c638be core: moved users and user groups autocomplete into pyramid.
- added more tests
- added some logging
2017-04-19 14:34:57 +02:00
Marcin Kuzminski
4cf5918e77 dependencies: bumped rhodecode tools to version 0.12.0 2017-04-18 17:40:33 +02:00
Marcin Kuzminski
6b2cf3a69b tests: added test for cloning a git bare repo. 2017-04-18 16:22:03 +02:00
Marcin Kuzminski
b4b97b1b4e repo-creation: validate and forbid creating .git suffixed repository names.
- because of git-lfs support, and also becuase to support the clone of git bare repositories
we cannot allow creating such repositories.
2017-04-18 12:23:14 +02:00
Marcin Kuzminski
98f97b18fd user-groups: added info, and new panel to control user group synchronization.
- allows to check status of user-group and if it's going to be sync-ed via
  external plugins.
- allows to set manual synchronization for already existing RhodeCode Groups.
2017-04-05 14:20:30 +02:00
Marcin Kuzminski
91c104ae49 largefiles: enabled download of largefiles for git and mercurial from web interface.
- fixes #2817
2017-03-27 14:00:36 +02:00
Marcin Kuzminski
858dfef419 git-lfs: settings for GIT repos to enable git-lfs and set store location
- ref #4235
2017-03-21 17:23:28 +01:00
Marcin Kuzminski
93ddba11a8 tests: allow specifing repo_type in user_util create_repo 2017-03-21 11:55:21 +01:00
Marcin Kuzminski
b2ced4f6d5 tests: fix usage of false in test, in forms it's always with capital letter. 2017-03-21 11:55:01 +01:00
Marcin Kuzminski
ca9e08007f git-lfs: added tests for git-lfs protocol detection
- refs #4235
2017-03-17 15:48:07 +01:00
Marcin Kuzminski
f7aa78c7e1 git-lfs: streaming support for file upload.
- ref #4235
2017-03-21 14:37:47 +01:00
Marcin Kuzminski
ae3b38d628 git-lfs: create default LFS storage on new installation
- ref #4635
2017-03-18 12:28:23 +01:00
Marcin Kuzminski
aa95986678 mercurial: allow editing largefile store from web interface. 2017-03-17 22:08:34 +01:00
Marcin Kuzminski
0b8e1a6a6f mercurial: refactor how we fetch default largefile store.
- helps further changes on making this editable
- makes it more explicit how we fetch those settings
2017-03-17 21:57:05 +01:00
Marcin Kuzminski
e621d8dd88 api: added last-activity into returned data of get_user api.
- refs #5256
2017-03-23 14:50:20 +01:00
Bartłomiej Wołyńczyk
b5ec70cf90 admin-users: add view for user groups managment
model-repo: get_user_groups modified to return more information about user
model-user_group: 2 new methods added
tests-models: mocked repo test becouse of modifications in model
2017-03-21 20:51:18 +01:00
Marcin Kuzminski
3f64f3f41f my-account: moved profile page into pyramid. 2017-03-14 12:54:06 +01:00
Marcin Kuzminski
82b0a810fd my-account: switched my-password view to pyramid. 2017-03-14 01:21:12 +01:00
Marcin Kuzminski
cf29ee66a1 repo-followers: removed deprecated not used views. 2017-03-13 20:17:37 +01:00
Marcin Kuzminski
9df656a516 markup-rendering: added relative image support.
- adds translation of relative to absolute urls
- fixes #5235
2017-03-10 00:16:09 +01:00
Marcin Kuzminski
838777528b dependencies: bumped lxml and made it a dependency. 2017-03-09 19:53:29 +01:00
Marcin Kuzminski
f8631f5fec admin-users: moved grid browsing to pyramid.
- fixed loading data to be lazy fetched.
- speeds up loading large user sets significantly
2017-03-07 21:17:02 +01:00
Marcin Kuzminski
ae271af5cc tests: moved tests of admin user auth tokens into pyramid apps. 2017-03-08 11:46:43 +01:00
Marcin Kuzminski
e3aefb00a7 tests: removed deprecated assertEqual helper. 2017-03-08 11:33:35 +01:00
Marcin Kuzminski
8732733a54 authentication: enabled authentication with auth_token and repository scope.
- fixes #3932
- vcs type tokens now with repo scope narrows the usage to a repository.
2017-03-03 20:48:23 +01:00
Marcin Kuzminski
df90d2d6c6 my-account-auth-tokens: moved into pyramid apps.
- we're going to override this in EE edition with added functionality.
2017-03-03 14:19:34 +01:00
Marcin Kuzminski
ed0174e7a4 admin: moved admin pyramid into apps. 2017-03-02 20:23:26 +01:00
Marcin Kuzminski
260eea9c79 user-profile: migrated to pyramid views. 2017-03-02 18:10:10 +01:00
Marcin Kuzminski
e2b0f5b7cc auth: make the perms decorators and function pyramid compatible. 2017-02-28 22:21:24 +01:00
Marcin Kuzminski
d6dfdba2a8 auth-tokens: fixed tests 2017-02-28 12:49:40 +01:00
Marcin Kuzminski
10ce5d446b auth-tokens: remove showing builtin tokens 2017-02-27 12:04:43 +01:00
Marcin Kuzminski
ab24af89d2 auth-tokens: disable authenticating by builtin token. 2017-02-27 11:45:30 +01:00
Marcin Kuzminski
0ca4b7cbfc password-reset: strengthten security on password reset logic.
- generate token that has special password reset role
- set 10 minut expiration on the token
- add some sleep to prevent bruteforcing attacks
- use implicit messages to prevent user email discovery attacks
2017-02-26 21:28:09 +01:00
Marcin Kuzminski
1f65204749 hooks: added new pretx hook to allow mercurial checks such as protected branches, or force push. 2017-02-23 16:53:11 +01:00
Marcin Kuzminski
de46f438ae tests: fixed tests for the added extra traceback with exceptions for vcsserver. 2017-02-23 13:56:11 +01:00
Marcin Kuzminski
ae2d789fbe extensions: adapt hooks to latest version of extensions (pre-push) 2017-02-22 17:10:57 +01:00
Marcin Kuzminski
8c73a665d3 emails: added note types into emails. Fixes #5221 2017-02-17 17:15:05 +01:00
Marcin Kuzminski
89dc191e0d pull-requests: add explicit CLOSE pr action instead of closed status from selector.
- This is much better UX
- we set status based on calculated review
- fixes #5215
2017-02-15 11:48:54 +01:00
Marcin Kuzminski
023b9f2cf2 auth: make owner of user group give proper admin permissions to the user group.
This makes the behaviour consisten with repositories and repository groups.
2017-02-15 11:44:36 +01:00
Marcin Kuzminski
80c27a98f8 tests: improved test utils.
- better assert errors
- allow owner to be set consistently
2017-02-14 12:02:50 +01:00
Marcin Kuzminski
5c2c266ee9 auth-tokens: updated logic of authentication to a common shared user method. 2017-02-13 14:36:48 +01:00