summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #7014 from asedge/api_create_tagDmitriy Zaporozhets2014-05-291-0/+16
|\ | | | | Add CreateTagService. Use new service to allow tag creation through API.
| * Add CreateTagService. Use new service to allow tag creation through API.Sean Edge2014-05-231-0/+16
| |
* | Use new Projects::TransferService classDmitriy Zaporozhets2014-05-281-3/+5
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Better specs for Compare APIDmitriy Zaporozhets2014-05-271-1/+3
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Expose timeout and same_ref compare fieldsDmitriy Zaporozhets2014-05-272-1/+7
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add compare branches endpoint to APIDmitriy Zaporozhets2014-05-262-0/+33
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve branch deletion via APIDmitriy Zaporozhets2014-05-231-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Api call to remove branchDmitriy Zaporozhets2014-05-221-0/+12
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Check user access status in API for current_userJacob Vosmaer2014-05-151-0/+5
|
* Merge pull request #6778 from dblessing/feature/mr_labelsDmitriy Zaporozhets2014-05-132-0/+5
|\ | | | | Merge Request Labels
| * Implement Merge Request LabelsDrew Blessing2014-05-132-0/+5
| |
* | Merge branch 'api-mr-merge' into 'master'Dmitriy Zaporozhets2014-05-131-1/+44
|\ \ | | | | | | | | | | | | | | | | | | | | | Accept merge request API This MR adds new endpoint `PUT /projects/:id/merge_request/:merge_request_id/merge`. After this change you can merge branches using API. Fixes internal issue #1166
| * | Add some tests for merge APIDmitriy Zaporozhets2014-05-131-2/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Docs for merge apiDmitriy Zaporozhets2014-05-121-0/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Specify error codes for merge apiDmitriy Zaporozhets2014-05-121-9/+12
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Draft API method for merge MRDmitriy Zaporozhets2014-05-121-0/+39
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge pull request #6823 from milgner/api_expose_project_archived_statusDmitriy Zaporozhets2014-05-131-0/+1
|\ \ \ | |/ / |/| | Expose archive status of projects in API
| * | Expose archive status of projects in APIMarcus Ilgner2014-04-181-0/+1
| | | | | | | | | | | | | | | That way clients like Gitlab CI can decide to show or hide projects based on that information
* | | Add fix for API when branch names have periods in them. Relates to issue ↵Sean Edge2014-05-081-3/+7
| |/ |/| | | | | #6128 (https://github.com/gitlabhq/gitlabhq/issues/6128).
* | Implement GET /users/:uid/keys for admin usersTimm Friebe2014-04-181-0/+39
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Complements POST operation added in gitlabhq/gitlabhq#3146 Implement DELETE /users/:uid/keys/:id for admin users Fix "Line is too long. [83/80]" Use single quotes as advised Use single quotes as advised Use single quotes as advised Fix missing space around { and } Fix typo in documentation Only catch ActiveRecord::RecordNotFound, let other exceptions propagate Raise a "404 Not found" if key to be deleted cannot be found As requested by @jvanbaarsen in https://github.com/gitlabhq/gitlabhq/pull/6781#discussion_r11735114 Remove tab Unconfigured vim on this box, grrrr./
* Merge pull request #6699 from criteo/api_get_open_merge_requestsDmitriy Zaporozhets2014-04-131-1/+11
|\ | | | | Add optional parameter to list merge requests
| * Add optional parameter to list merge requestsStuart Pook2014-04-071-1/+11
| | | | | | | | | | | | | | Add an optional parameter to list merge requests to restrict the returned merge requests to those that are "opened", "merged" or "closed". By default all merge requests are returned. Note that "all" can be given to explicitly request all merge requests.
* | Expose event and and mergerequest timestamps in API, make code more DRY.Mart Sõmermaa2014-04-101-4/+5
|/
* Merge pull request #6190 from ↵Dmitriy Zaporozhets2014-04-031-1/+3
|\ | | | | | | | | Popl7/add-better-branch-protection-against-history-rewrite-and-deletion protect protected branched to force updates
| * first setup to protect protected branched to force updatesSteven Thonus2014-03-251-1/+3
| |
* | Use MergeRequest services in API and controllersDmitriy Zaporozhets2014-04-021-41/+17
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Move update issue code to separate serviceDmitriy Zaporozhets2014-04-021-10/+10
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Move code for issue creation to service.Dmitriy Zaporozhets2014-04-021-11/+9
| | | | | | | | | | | | | | | | | | The goal of suych refactoring is to get rid of observers. Its much easier to test and code when object creation and all other related actions done in one class instead of splited across observers, callbacks etc. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Create branch via APIDmitriy Zaporozhets2014-04-012-0/+19
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Move branches api to separate classDmitriy Zaporozhets2014-03-314-70/+72
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge pull request #5469 from NARKOZ/api-pagination-headersDmitriy Zaporozhets2014-03-311-2/+18
|\ \ | | | | | | add 'Link' header for API response
| * | add 'Link' header for API responseNihad Abbasov2013-10-291-2/+18
| | |
* | | Make the repository downloads path configurableJacob Vosmaer2014-03-311-1/+1
| | |
* | | Merge pull request #6569 from criteo/api_merge_request_commentsDmitriy Zaporozhets2014-03-261-0/+16
|\ \ \ | |_|/ |/| | Add method to get the comments on a merge request
| * | Add method to get the comments on a merge requestStuart Pook2014-03-191-0/+16
| | | | | | | | | | | | | | | Add method to get the comments for a merge request and document that you can change the status of a merge request.
* | | changed doc comment for get labels of a projectÁbner Silva de Oliveira2014-03-231-2/+4
| | |
* | | added api method to return labels of a given projectÁbner Silva de Oliveira2014-03-212-0/+13
| | |
* | | Use GitAccess in internal apiDmitriy Zaporozhets2014-03-201-41/+19
|/ / | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix testsDmitriy Zaporozhets2014-03-171-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add tests for API project permissions infoDmitriy Zaporozhets2014-03-171-1/+3
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove old entitiesDmitriy Zaporozhets2014-03-171-12/+0
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add current user permissions info to /api/projects/:id.jsonDmitriy Zaporozhets2014-03-172-2/+24
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Move project members api to separate fileDmitriy Zaporozhets2014-03-174-114/+115
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'issue-110' of https://gitlab.com/gmessner/gitlab-ce into ↵Dmitriy Zaporozhets2014-03-161-2/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | gmessner/gitlab-ce-issue-110 Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: CHANGELOG
| * | Added description parameter support to Create and Update MR API endpoints ↵Greg Messner2014-03-031-2/+4
| | | | | | | | | | | | (issue-110).
* | | Change project lookup order for apiDmitriy Zaporozhets2014-03-141-1/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge pull request #6360 from jvanbaarsen/fix-6328-expose-usernameDmitriy Zaporozhets2014-03-131-1/+1
|\ \ \ | | | | | | | | Also expose username for the /discover endpoint
| * | | Also expose username for the /discover endpointJeroen van Baarsen2014-02-201-1/+1
| |/ / | | | | | | | | | Fixes #6328
* | | Add ldap check in application_controller and internal apiDmitriy Zaporozhets2014-03-101-1/+7
|/ / | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Refactor MR code reloadDmitriy Zaporozhets2014-02-181-2/+0
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>