RhodeCode Admin
86f1961de4
caches: invalidate cache on remote side from repo settings alongside local cache.
2021-12-16 14:26:38 +01:00
Milka Kuzminski
72085d16b0
pull-requests: fixed problems with unicode characters in branches.
2021-04-08 16:59:58 +02:00
Milka Kuzminski
2cc353de2c
backends: use reference explicitly to properly translate GIT references to commits such as numeric branches
2021-03-16 23:18:52 +01:00
Milka Kuzminski
51727053de
archives: optimize performance of repo archive option by delegating all logic to vcsserver.
...
- sending GBs of data over the wire was slow and very memory consuming
2020-10-19 14:53:21 +02:00
Milka Kuzminski
130b6f4574
archvies: allowing to obtain archives without the commit short id in the name for better automation of obtained artifacts.
2020-10-18 17:12:34 +02:00
Marcin Kuzminski
c3f059ebc6
observers: code cleanups and fixed tests.
2020-10-11 22:16:08 +02:00
Marcin Kuzminski
e78b5fc1ee
pull-requests: limit the ammount of data saved in default reviewers data for better memory usage
...
- fixes #5633
2020-10-07 11:26:24 +02:00
Daniel Dourvaris
fcd530ecfe
pull-requests: add information about changes in source repositories in pull-request show page.
...
- fixes #5611
2020-04-21 21:50:36 +02:00
Marcin Kuzminski
fe96e16646
code: update copyrights to 2020
2020-04-16 00:34:52 +02:00
Daniel Dourvaris
466826a84a
hooks: added new hooks for comments on pull requests and commits.
...
- allows writing custom actions on top of comments
- new rcextension hooks
- organized and renamed some hooks
- new helpers for rcextensions
- fixes #5583
2020-04-15 18:00:59 +02:00
Marcin Kuzminski
4de6dd537c
pull-requests: fixed case for GIT repositories when a merge check failed due to merge conflicts the pull request wrongly reported missing commits.
...
- we're now searching for dangling commits in a repo that has them and cannot see them because of failed merge checks.
- pull-request: will save metadata during merge simulation so merge conflicts are permanently stored, and showed to all users.
2020-04-08 11:17:10 +02:00
Marcin Kuzminski
1eb782ad15
pull-requests: expose unresolved files in merge response.
2019-11-15 01:00:13 +01:00
Marcin Kuzminski
e9cf83badc
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation.
...
In some cases when there are no longer any files this caused error since filediff wasn't present.
In addition this generated wrong ids since it used a last-defined attribute on a for loop.
Fixes #5567
2019-09-25 10:33:00 +02:00
Marcin Kuzminski
70d5bb346a
shadow-repos: skip init of full repo to generate shadow repo path.
2019-09-20 21:00:31 +02:00
Daniel Dourvaris
38b8c11ea5
vcsserver: made binary content check be calculated on vcsserver
...
- now can use caching
- for git/hg there are faster dedicated functions instead of detecting the content
2019-08-23 20:31:43 +02:00
Daniel Dourvaris
de8ff5bcfa
file-nodes: added streaming remote attributes for vcsserver.
...
- this will enable doing a streaming raw content or raw downloads of large files without transfering them over to enterprise for pack & repack using msgpack
- msgpack has a limit of 4gb and generally pack+repack for 2gb is very slow
2019-08-23 19:09:59 +02:00
Marcin Kuzminski
fc1ae1d057
gists: fixed cache problems and updated ui
2019-07-24 11:29:06 +02:00
Marcin Kuzminski
ccfa86d740
git: adjusted code for new libgit2 backend
...
- made @CachedProperty use a custom decarator that can do invalidations. This
is required for tests
- made few cleanups of code since we use a simpler libgit2 backend now
- removed some unused obsolete code
2019-07-12 17:39:32 +02:00
Marcin Kuzminski
0f7b21778d
tests: fixed compare page and related tests.
...
- wrong display of range
- still unfixed problem with initial compare for GIT
- makes the result more consistent now with better display for new UI.
2019-07-01 10:42:55 +02:00
Marcin Kuzminski
634590913e
commits: updated logic of in-memory-commits, fixed tests and re-architectured a bit how commit_ids are calculated and updated.
...
- it's all part of recent updates on performance, and new commit pages
2019-06-11 12:59:37 +02:00
Marcin Kuzminski
30534413be
archival: allowed using .tbz2 and .tgz extensions.
2019-06-06 21:05:45 +02:00
Marcin Kuzminski
be45ea4459
files: ensure we generate archives with consistent hashing (except for .tar.gz which uses temp files names in header)
2019-06-06 13:36:14 +02:00
Marcin Kuzminski
f34ad147a1
files: rollback metadata to previous version.
...
- This change generates different hashes for archives, and breaks backward compat.
2019-06-06 12:10:35 +02:00
Marcin Kuzminski
39e6f817c7
repositories: use remote function to check if repo is empty
...
- changed 2 cases where we want to check for None instead of __bool__ of repo object
2019-06-05 13:30:26 +02:00
Marcin Kuzminski
6e5c2a96a2
files: allow partial tree downloads
2019-05-30 14:46:07 +02:00
Marcin Kuzminski
0215f5278c
pull-requests: updated metadata information for failed merges with multiple heads.
2019-04-09 13:12:26 +02:00
Marcin Kuzminski
1b48364bb6
commits: allow tag commit translation to be skipped for faster commit fetching in big chunks.
2019-02-11 19:58:34 +01:00
Marcin Kuzminski
01cd008a20
api: expose merge message in the merge operation
2019-02-05 17:17:58 +01:00
Daniel Dourvaris
96fa4e0bdc
py3: remove usage of basestring
2019-01-22 23:06:49 +01:00
Marcin Kuzminski
89024101a8
repo: show hooks version and update link in advanced section of repository.
2019-01-10 12:10:28 +01:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Daniel Dourvaris
599f9b7964
pull-requests: ensure merge response provide more details
...
- refactor merge responses with detailed messages
- fixes #5520
- code cleanups
2018-12-30 11:00:09 +01:00
Marcin Kuzminski
169a8475bb
vcs: rename get_file_history to get_path_history as it better reflects what it does.
2018-12-07 09:43:58 +01:00
Marcin Kuzminski
f3d3f479b4
code: fixed deprecated octal calls for py3 compat.
2018-11-30 11:49:27 +01:00
Marcin Kuzminski
9014d9516c
pull-requests: allow to show range diff in pr view
2018-10-15 12:44:36 +02:00
Marcin Kuzminski
4da7905b37
vcs: use a real two part name for merge operation.
...
- expose settings into vcs_settings for easier override later
2018-10-01 13:54:51 +02:00
Marcin Kuzminski
426032d9a2
caches: make gevent curl connection cache friendly.
...
- gevent threads needs it's own cache, and connection
- added strict detection of cache problem in gevent curl
2018-08-06 19:28:16 +02:00
Marcin Kuzminski
42c80fe075
shadow-repos: use numeric repo id for creation of shadow repos.
...
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +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
ea287e0d07
diff-caches: show count and size in caches view per repository.
2018-04-18 16:52:40 +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
bdf5f0afb6
svn: enable hooks and integration framework execution.
...
- This change will allow SVN to execute rhodecode integration framework
via executing the builting hooks.
- uses txn_id for svn to provide metadata required via Apache
- Interception of SVN transaction is required to use temporary stores for metadata
- hooks are now part of vcsserver where the install/control logic is stored
2018-04-06 12:44:01 +02:00
Marcin Kuzminski
3ea058d91b
code: code fixes and small adjustments
2018-02-20 17:49:26 +01:00
Sandu Turcan
cfbe15353a
path-permissions: Path-based permissions for mercurial
2018-02-18 18:27:53 -05:00
Sandu Turcan
e4981d4e72
path-permissions: Initial support for path-based permissions
2018-02-18 19:30:42 -05:00
Marcin Kuzminski
f689a025ce
vcs: use proper attributes/inits on base and child classes.
2018-02-20 17:47:18 +01:00
Marcin Kuzminski
fe5628ee44
mercurial: fix new 4.4.X code change that does strict requirement checks.
...
in few cases we init bare repos for checking, and we should use defauls that
always work.
- fixes #5433
2018-02-01 18:25:24 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
05d8801422
git: merge test, fetch other branch if it's different from target. This
...
prevents potentially missing commits when doing a test merge.
2018-01-15 19:13:31 +01:00
Marcin Kuzminski
ec6a342178
vcs: commits, expose refs function to fetch commit refereces such as tags, bookmarks, etc.
2017-11-09 19:49:29 +01:00