Commit graph

2095 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
1bc95ca628 debug: add new custom logging to track unique requests across systems. 2018-06-15 19:34:39 +02:00
Marcin Kuzminski
b03cb81208 user-groups: expose public profile link to user group in membership view 2018-06-15 10:13:29 +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
9335656019 pull-requests: fix problem with long DB transaction and row-locking.
fixes #5470
2018-06-11 15:35:54 +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
560fd7144f tests: move controllers tests to other 2018-06-08 11:58:09 +02:00
Marcin Kuzminski
ce7620668d git: add option to skip stderr logging. 2018-06-08 11:54:41 +02:00
Marcin Kuzminski
88537dc3fa validators: fix problems with new mercurial url validation. 2018-06-05 16:09:55 +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
1a3259da85 git: quote fake merge user to prevent this command to potentially fail 2018-06-05 00:07:14 +02:00
Marcin Kuzminski
ede517c6b1 shadow-repos: use safer way to destroy shadow repositories.
we had reported errors on removal of shadow repos. Not reproduced, however
suspecting are filesystem sync/symlink race-conditions on shared storage.

End result were existing shadow-repo directories that tricked rhodecode
into thinking shadow repos is existing, but infact it was a dummy
structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't
read those back even if removal fails.
2018-06-05 09:53:29 +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
998cfa7aaa email: fixed logging on smtp library. 2018-05-28 18:12:58 +02:00
Marcin Kuzminski
3a3b980003 svn: fix usage of http exception from webob to pyramid one.
Webob exception had an condition that was unfilled for svn causing unexpected 500s.
2018-05-28 17:13:59 +02:00
Marcin Kuzminski
027132e56b db: don't propagate ping connection option into engine configuration as it's an internal flag for rhodecode. 2018-05-28 16:44:14 +02:00
Marcin Kuzminski
ce37751c44 sqlalchemy: allow ping connection using dedicated flag for sqlachemy.
- this is usefull flag but we don't need it to be connected to debug flag.
2018-05-23 13:15:25 +02:00
Marcin Kuzminski
c067ed3ca8 beaker: fix cache sqlalchemy options. 2018-05-23 12:36:00 +02:00
Marcin Kuzminski
df9206a486 release: merge back stable branch into default 2018-05-17 12:05:10 +02:00
Marcin Kuzminski
fe0b0f0866 release: Update the generated API documentation 2018-05-17 00:25:11 +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
71dd15ad7b release: Start preparation for 4.12.1 2018-05-15 14:14:59 +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
b929a9a3c9 hooks: execute web-based hooks for SVN 2018-05-14 14:22:28 +02:00
Marcin Kuzminski
382b0cf748 mercurial: compatability changes for mercurial 4.6.0 release 2018-05-09 21:40:20 +02:00
Marcin Kuzminski
ba46e17080 diffs: skip lines in diff to allow user selection from diff view. 2018-05-08 16:44:37 +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
12d382294e ldap: use connection ping only in case of single server specifed. 2018-05-04 16:13:31 +02:00
Marcin Kuzminski
69be149ea0 i18n: Updated message catalog template 2018-04-23 15:51:10 +02:00
Marcin Kuzminski
91718020e4 diff-cache: use bz2 to reduce diff-cache size. 2018-04-18 17:50:32 +02:00
Marcin Kuzminski
8d985db7e5 diff-cache: remove diff cache dir on repository removal. 2018-04-18 17:19:59 +02:00
Marcin Kuzminski
aad1f972c6 diff-cache: show safe relative path where cached diffs are stored. 2018-04-18 17:19:40 +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
b59e2e9485 db: adjust beaker_cache column size. If this column is created via Beaker itself it uses
BLOB for mysql, this can cause some issues with cache sizes not fitting.

We move the creation into our script, then it uses proper size.
2018-04-18 16:32:20 +02:00
Marcin Kuzminski
22a2034892 diffs: skip lines in diff to allow user selection from diff view. 2018-05-08 16:44:37 +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
Marcin Kuzminski
ffb6dbc6f3 datatables: use new way of generating labels for count of dynamic datatables.
- according to docs this is a better way. We'll use this in other places with some added changes.
2018-04-25 15:28:01 +02:00
Marcin Kuzminski
a9aca0d074 email: added help block on where to change email settings 2018-04-25 12:02:44 +02:00
Marcin Kuzminski
7d870ea83a mercurial: protocol security updates.
- fixes Mercurial CVE for lack of permissions checking on mercurial batch commands
- more strict checks for permissions, now default to push instead of pull
to be always on safe side.
- decypher batch commands and pick top-most permission to be used
2018-04-25 13:10:52 +02:00
Marcin Kuzminski
3a6e5e0139 release: Bump version 4.12.0 to 4.13.0 2018-04-24 09:55:35 +02:00
Marcin Kuzminski
a18e6c482e api: added audit logs for user-group related calls.
- fixes #5461
2018-04-18 00:49:00 +02:00