Commit graph

305 commits

Author SHA1 Message Date
Marcin Kuzminski
bfbb9e33a4 quick-serach: added option to also search user-groups. 2018-06-15 13:57:03 +02:00
Marcin Kuzminski
b058fefee1 audit-logs: use auth_user in few places to track action IP. 2018-06-12 18:29:54 +02:00
Marcin Kuzminski
61af3befa8 repo-switcher: fix unicode problem 2018-06-12 15:12:06 +02:00
Marcin Kuzminski
b66bbff0e8 tests: made few tests handle database transactions better. 2018-06-11 18:39:51 +02:00
Marcin Kuzminski
367a32a69a git: use force fetch and update for target ref. This solves a case
when in PRs a target is force updated and is out of sync. Before
we used a pull which --ff-only fails obviosly because two are out of
sync. This change uses new logic that resets the target branch according to the
source target branch allowing smooth merge simulation.
2018-06-08 15:42:01 +02:00
Marcin Kuzminski
71b80f5eeb pull-reqeusts: added option to force-refresh merge workspace in case of problems. 2018-06-05 10:17:16 +02:00
Marcin Kuzminski
5a9eef68a6 search-bar: forbid anonymous users to search 2018-05-30 15:18:34 +02:00
Marcin Kuzminski
7c46071c51 repo-switcher: new unified search box for filtering/accessing users, repos and repo groups.
- mainly driven by customer feedback
- two filter boxes on main page was confusing, and people constantly asked if grid filter can search recursive
- now we use one unified search on main nave accessible on every page
- it now also can search for users
2018-05-30 12:54:50 +02:00
Marcin Kuzminski
df9206a486 release: merge back stable branch into default 2018-05-17 12:05:10 +02:00
Marcin Kuzminski
10cf433145 ssh-keys: further sanitize data of inputted SSH keys. 2018-05-16 23:01:46 +02:00
Marcin Kuzminski
7e3a4739f0 ssh(sec): fix newline problem on key saving that would allow bypassing command sandbox. 2018-05-15 18:51:38 +02:00
Marcin Kuzminski
213cf5463d release: merge back stable branch into default 2018-05-15 16:04:13 +02:00
Marcin Kuzminski
2c4ccca111 repo-feed: fix path-based permissions condition on caching element.
- the check condition was accidentally flipped the wrong way.
2018-05-14 23:56:08 +02:00
Marcin Kuzminski
60f05e27cd code: small cleanups of code 2018-05-14 14:22:41 +02:00
Marcin Kuzminski
96c8fb8a21 re-captcha: adjust for v2 that is the only left one supported since 1st of May. 2018-05-06 23:19:05 +02:00
Marcin Kuzminski
ea287e0d07 diff-caches: show count and size in caches view per repository. 2018-04-18 16:52:40 +02:00
Marcin Kuzminski
57f02fd184 audit: properly store IP address for user registration 2018-05-07 16:39:42 +02:00
Marcin Kuzminski
226175af89 re-captcha: adjust for v2 that is the only left one supported since 1st of May. 2018-05-06 23:19:05 +02:00
Marcin Kuzminski
1a717208f4 audit-logs: store properly IP and user for certain comments types.
- before mostly IP could be missing from audit log data.
2018-04-26 00:59:07 +02:00
Bartłomiej Wołyńczyk
7ba1dd57ac admin users and admin users group: add number of inactive users/users_group, resolves #5454 2018-04-18 21:43:24 +02:00
Bartłomiej Wołyńczyk
4637dd151e caching: add option to cache diffs for commits and pull requests.
- new option for vcs settings to enable caching of diffs and commits
- enables auditing of PR after closing it, and removing commits from source repo
- speed up for large PR upto 20x
- reduced memory usage
2018-04-17 18:46:20 +02:00
Marcin Kuzminski
173415824b repo-settings: add hidden view to force re-install hooks.
Used mainly for admin tasks that require a support action, and allows
to force reinstall hooks without a remap&rescann option.
2018-04-03 13:33:16 +02:00
Marcin Kuzminski
3667868099 system-info: added ulimit to system info. 2018-03-30 15:35:55 +02:00
Marcin Kuzminski
c8bd6381f6 user-groups: fix sync flag extraction. 2018-03-30 14:21:15 +02:00
Marcin Kuzminski
beff366341 processes: better handling of PID that are not part of RhodeCode processes.
- in some cases for multiple gunicorn instances the PID sent is not from rhodecode which
would lead to AccessDenied errors. We prevent from crashing the server on this type of errors.
2018-03-28 13:27:03 +02:00
Marcin Kuzminski
3949688b3d api: enable setting sync flag for user groups on create/edit. 2018-03-28 13:27:21 +02:00
Marcin Kuzminski
a8428e7271 auth-ldap: added connection pinning and timeout option to ldap plugin 2018-03-27 11:51:37 +02:00
Marcin Kuzminski
0d8040e6fa bootstrap: allow setting certain env flags for usage in CLI scripts.
- we can catch that later in pyramid and skip certain heavy actions to speed-up CLI invokation
2018-03-01 16:42:35 +01:00
Marcin Kuzminski
8d1765a709 user-groups: on admin view redirect links to public profile. We have an explicit
edit button, and this is consistent with user views.
2018-02-22 15:52:39 +01:00
Bartłomiej Wołyńczyk
40434929a5 Public user group profile Task #5326 2018-02-18 21:58:45 +01:00
Marcin Kuzminski
a1a6ad26bc automation: add EE feature placeholder 2018-02-21 18:45:52 +01:00
Marcin Kuzminski
d5374957cf svn: show how to enable path based permissions. 2018-02-21 16:47:06 +01:00
Marcin Kuzminski
a004625b70 missing requirements: better handling of missing requirements for repositories.
- skip views that will lead to crash
- allow repo edits
- show explanation in summary page for easier fix
2018-02-20 18:56:48 +01:00
Marcin Kuzminski
a6f85f2eaf path-permissions: handle case of missing requirements and initializing self.path_filter with None value.
We expect it rather be a class with None specified. e.g we call some methods on this object.
2018-02-20 18:38:56 +01:00
Marcin Kuzminski
3ea058d91b code: code fixes and small adjustments 2018-02-20 17:49:26 +01:00
Sandu Turcan
9bf33f6b78 path-permissions: Handle scm_instance() returning None 2018-02-19 13:00:23 -05:00
Sandu Turcan
c3183aae9a path-permissions: Introduced a _get_f_path_unchecked method, which can be used by redirects, which don't have to create a template context 2018-02-19 09:48:47 -05:00
Sandu Turcan
e4981d4e72 path-permissions: Initial support for path-based permissions 2018-02-18 19:30:42 -05:00
Marcin Kuzminski
67d8bfdbb6 settings-forms: put flash message on validation errors to prevent missing out some field input validation problems. 2018-02-20 14:59:09 +01:00
Marcin Kuzminski
3e1942b6c6 svn: fixed tests for svn backend. 2018-02-19 13:40:07 +01:00
Marcin Kuzminski
bc9d0d7b5a release: merge back stable branch into default 2018-02-19 12:41:15 +01:00
Marcin Kuzminski
b5b6c94fc2 ssh: fix problems with backend and ssh clones. 2018-02-18 12:24:44 +01:00
Marcin Kuzminski
ff858cc9f6 ssh: show fingerprint when adding already existing key.
- help to track why we failed to add a specific key
2018-02-18 12:24:01 +01:00
Bartłomiej Wołyńczyk
8ac5cf95aa my-account: security change, added select filed with email from extra emails while editing user profile, now adding extra emails required type password. Task #5386 2018-02-15 18:40:03 +01:00
Marcin Kuzminski
94b11ccc20 repo-automation: added placeholder for EE feature. 2018-02-13 10:16:21 +01:00
Marcin Kuzminski
5f25ae601e repositories: allow properly updating repository push url. 2018-02-12 14:14:33 +01:00
Marcin Kuzminski
0db43a1ca4 release: merge back stable branch into default 2018-02-08 23:38:09 +01:00
Marcin Kuzminski
6b097d69a6 sec: serialize the repo name in repo checks to prevent potential html injections. 2018-02-07 22:57:10 +01:00
Marcin Kuzminski
b8619894a6 process-management: use safer way to extract data for processes.
- prevents from unknown PID errors.
2018-02-05 18:45:04 +01:00
Marcin Kuzminski
e12af2ef40 processes: add a way to control processes via gunicorn control.
- allows web based adding/removing workers
2018-01-29 22:08:52 +01:00