Commit graph

108 commits

Author SHA1 Message Date
Marcin Kuzminski
0598233013 api: report better error when fetching a node that doesn't exist. 2019-02-18 12:30:08 +01:00
Marcin Lulek
b11c4157c4 api: pull-requests, fixed invocation of merge as another user. 2019-02-15 10:27:18 +01:00
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
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
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
df27625f07 exceptions: use python3 compatible exception handling 2018-10-02 11:03:22 +02:00
Marcin Kuzminski
1f39d62f74 comments: use proper auth user for close PR action. 2018-09-18 09:49:18 +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
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
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
Marcin Kuzminski
3949688b3d api: enable setting sync flag for user groups on create/edit. 2018-03-28 13:27:21 +02:00
Marcin Kuzminski
4c3c5b0e21 api: update pull method with possible specification of the url 2018-02-13 18:31:43 +01:00
Marcin Kuzminski
5f25ae601e repositories: allow properly updating repository push url. 2018-02-12 14:14:33 +01:00
Marcin Kuzminski
c0a9856496 api: fixed problem with setting repo group description via API.
- fixes #5423
2018-01-22 16:17:33 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
d3c3b68b31 api: fixed tests and update docstrings. 2017-12-06 00:07:54 +01:00
Marcin Kuzminski
bd6d47475c api: add consistent permissions_summary data for both user and user_groups that expose
the summary of permissions for each object.

- deprecates the 'permissions' data key for get_user
- adds a consistent way of fetching permissions summary for both objects.
2017-12-05 23:12:06 +01:00
Marcin Kuzminski
492eb8ed84 api: deprecation, of members attribute that is replaced now with permissions returning a set of permissions
for repo/repo group/user group.
2017-12-05 23:00:48 +01:00
Marcin Kuzminski
bc23ad316c api: pull-requests, make the repoid parameter optional. Because pullrequestid is global
we don't want to complicate things more by requiring repoid. Left for backward compat.
2017-11-23 21:14:04 +01:00
Marcin Kuzminski
b809d00f88 api: pull-requests added option to fetch comments from a pull requests.
- fixes #5398
2017-11-23 20:08:46 +01:00
Marcin Kuzminski
6bbab12fcc celery: celery 4.X support. Fixes #4169
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +01:00
Marcin Kuzminski
1d332c03ad pylons: fixed code and test suite after removal of pylons. 2017-11-16 18:27:09 +01:00