Marcin Kuzminski
8ef8bf2673
api: maked logging of get_repo_file API function tell a bit more info about errors.
2019-02-14 21:46:24 +01:00
Marcin Kuzminski
3871bc6f15
api: allow uncached content fetching.
...
- this is mostly to optimize for memory of indexer
2019-02-14 10:49:02 +01:00
Marcin Kuzminski
184b3c75e2
api: expose owner to create_pull_request API. Fixes #5537
2019-02-13 10:44:44 +01: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
a181157300
api: forbid commenting on closed PR
2019-02-08 09:55:45 +01:00
Marcin Kuzminski
c42c716cba
api: add cache for fts index builder call that returns file tree. This is often re-used and should return unchanged state fast
2019-02-08 08:38:49 +01:00
Marcin Kuzminski
5b8a28d0eb
api: expose new functions for FTS
...
- vcs: added special md5 calculation that doesn't use content cache for more memory efficient md5 calculation.
2019-02-07 11:31:30 +01:00
Marcin Kuzminski
01cd008a20
api: expose merge message in the merge operation
2019-02-05 17:17:58 +01:00
Marcin Kuzminski
723799ca1d
artifacts: added DB store models.
2019-02-05 12:49:36 +01:00
Marcin Kuzminski
810bfe54c5
file-store: rename module from upload_store to file_store.
2019-02-01 13:35:49 +01:00
Marcin Kuzminski
bd69124334
api: pull-requests get_all now sortes the results and have a flag to show/hide merge result state
2019-01-31 14:42:23 +01:00
Marcin Kuzminski
45f8b0282a
API: added basic upload api for the file storage
2019-01-28 17:17:37 +01:00
Marcin Kuzminski
f38e87b9b7
api: added function to fetch comments for a repository.
2019-01-28 12:05:34 +01:00
Daniel Dourvaris
96fa4e0bdc
py3: remove usage of basestring
2019-01-22 23:06:49 +01:00
Marcin Kuzminski
7f1f5e3601
api/pull-requests: trigger events for comments/review status changes.
2019-01-18 13:34:54 +01:00
Marcin Kuzminski
1e2a7a9136
pull-requests: introduce operation state for pull requests to prevent from
...
locks during merge/update operations.
2019-01-07 13:32:16 +01:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Marcin Kuzminski
861720334b
release: merge back stable branch into default
2019-01-02 17:04:25 +01:00
Marcin Kuzminski
8affc5f5be
app: dropped deprecated controllers to view_utils which are actually proper name
2019-01-01 21:54:18 +01:00
Marcin Kuzminski
830d1820e6
audit-logs: add audit logs for API permission calls.
...
- fixes #5490
2018-12-31 00:37:22 +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
a1086f1051
exc-tracker: store API based exceptions and fix prefixes to no use _
2018-12-28 12:23:24 +01:00
Marcin Kuzminski
03fcdf8f0b
api: added store_exception_api for remote exception storage.
...
- this will be used in the new indexer that could now report indexing error right back into RhodeCode.
2018-12-18 12:05:03 +01:00
Marcin Kuzminski
1e446c9382
api: fixed potential crash when returning error response using JSON objects that fail to parse.
2018-12-18 11:42:52 +01:00
Marcin Kuzminski
1d027eb16a
pull-requests: validate ref types for pull request so users cannot provide wrongs ones.
2018-12-13 22:02:46 +01:00
Marcin Kuzminski
23f4646581
reviewers: use target repo owner as default reviewer in case of CE edition.
...
- Fixes #5515
- This was somehow different than in EE edition
2018-11-21 18:04:29 +01:00
Daniel Dourvaris
21e7eef112
vcs: don't use deprecated get_changeset[s] methods.
2018-10-03 16:18:06 +02:00
Marcin Kuzminski
df27625f07
exceptions: use python3 compatible exception handling
2018-10-02 11:03:22 +02:00
Daniel Dourvaris
1db967ddb0
tests: fixed some pytest deprecated calls, and warnings.
2018-10-01 12:23:47 +02:00
Marcin Kuzminski
5a4a98b40e
git: use a fetch_sync based creation of remote repos.
...
- skips fragile dulwich code that has problems with large repos
- is in sync with logic that does remote fetch
- is faster and more efficient
2018-09-21 13:35:45 +02:00
Marcin Kuzminski
da91bab5d6
validators: fix url_validator tests and make it flag controllable.
2018-09-19 10:52:06 +02:00
Marcin Kuzminski
1f39d62f74
comments: use proper auth user for close PR action.
2018-09-18 09:49:18 +02:00
Marcin Kuzminski
9033601562
logging: use lazy parameter evaluation in log calls.
2018-09-13 17:41:35 +02:00
Marcin Kuzminski
f0ff76a829
core: use py3 compatible prints
2018-09-12 09:47:41 +02:00
Marcin Kuzminski
0a46b5b550
docs: fixed not supported code-block
2018-09-10 18:59:36 +02:00
Marcin Kuzminski
6458ef9105
pull-requests: add merge validation to prevent merges to protected branches.
2018-08-28 20:24:40 +02:00
Marcin Kuzminski
ecff3dbaed
security: update lastactivity when on audit logs.
...
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +02:00
Marcin Kuzminski
f74691150a
api: allow updates and setting description renderer for pull requests via the API.
2018-07-17 13:30:50 +02:00
Marcin Kuzminski
d576848d4a
api: creation of pull_request now honor additional reviewers when using reviewer rules.
2018-07-12 14:10:29 +02:00
Marcin Kuzminski
239874ceca
api: pull-requests fixed logic of ancestor calculation and target ref calculation based on the web view.
2018-07-11 17:27:30 +02:00
Marcin Kuzminski
f3d4446814
api: pull-requests allow automatic title generation via API
2018-07-11 13:46:16 +02:00
Marcin Kuzminski
84767c858f
api: fixed ordering of commits in PR creation from API
2018-07-11 10:36:12 +02:00
Marcin Kuzminski
9812f0cbda
api: fixed recursive permissions changes to repo group.
...
- fixes #5489
2018-07-10 22:39:57 +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
b058fefee1
audit-logs: use auth_user in few places to track action IP.
2018-06-12 18:29:54 +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
Marcin Kuzminski
a18e6c482e
api: added audit logs for user-group related calls.
...
- fixes #5461
2018-04-18 00:49:00 +02:00
Marcin Kuzminski
ce45596b35
api: fixed problems with repository fork/create using celery backend.
...
- fixes #5462
2018-04-16 08:54:15 +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
89d8b3cb21
api: security, fix problem when absolute paths are specified with API call, that would allow
...
forking of path based repos if paths are known to end users.
2018-03-28 21:56:23 +02:00