summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #7779 from Bugagazavr/hook_tag_push_eventsDmitriy Zaporozhets2014-10-032-3/+16
|\ \ | | | | | | Add tag push events to project hook api
| * | Add tag_push_events to project hook apiKirill Zaitsev2014-10-032-3/+16
| | |
* | | Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|/ /
* | API: Initial support for forking a project via the APIBernhard Kaindl2014-10-011-0/+17
| | | | | | | | | | | | | | | | | | | | This change adds POST /projects/fork/:id to the API for forking a project into the namespace of the authenticated user, like the "create fork" link in the GUI does. It also calls the same code. Failure and permission checks (except for conflict) are already implemented and handled in ForkService and the API, so the added code is simple and does not alter anything.
* | Filters issues by milestone via APIjubianchi2014-09-261-3/+12
|/
* Fix branch APIDmitriy Zaporozhets2014-09-251-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'api/improve-error-reporting' of ↵Dmitriy Zaporozhets2014-09-238-49/+76
|\ | | | | | | https://github.com/jubianchi/gitlabhq into jubianchi-api/improve-error-reporting
| * Improve error reporting on users APIjubianchi2014-09-168-49/+76
| | | | | | | | | | | | | | | | * users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username * MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks * issues * labels * projects
* | Merge pull request #7807 from cirosantilli/factor-service-errorDmitriy Zaporozhets2014-09-222-9/+7
|\ \ | | | | | | Factor error and success methods from services.
| * | Factor error and success methods from services.Ciro Santilli2014-09-212-9/+7
| | |
* | | Merge branch 'refator-members-logic' of ↵Dmitriy Zaporozhets2014-09-173-19/+19
|\ \ \ | |/ / |/| | | | | https://dev.gitlab.org/dzaporozhets/gitlabhq into 7-4-pre
| * | Fix finder and tests for new membership modelsDmitriy Zaporozhets2014-09-151-1/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | More fixes to project members apiDmitriy Zaporozhets2014-09-151-2/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Fix access_level apiDmitriy Zaporozhets2014-09-151-5/+5
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Replace project_access attribute with access_level in specs and APIDmitriy Zaporozhets2014-09-151-2/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-143-11/+11
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix typo in comment.Marin Jankovski2014-09-161-1/+1
| |
* | Ordering and sorting for MR in api.Marin Jankovski2014-09-151-0/+14
|/
* Fix tag testsDmitriy Zaporozhets2014-09-051-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Explicit issues order in API. Fixes tests for mysql. Again :)Dmitriy Zaporozhets2014-09-041-1/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Added annotated tags. Updated tag haml file and call to gitlab-shell. ↵Sean Edge2014-09-041-1/+4
| | | | Updated API for annotated tags. Added tests for API. Strip leading/trailing whitespace from message, if present. Update CHANGELOG.
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2014-09-041-3/+24
|\
| * Filters issues by labels via APIjubianchi2014-09-041-3/+24
| |
* | Merge pull request #7382 from Razer6/git_ref_validationDmitriy Zaporozhets2014-09-042-8/+21
|\ \ | |/ |/| Validate branch/tag-names and references WebUI, API
| * Validate tag-names and references in WebUI, APIRobert Schilling2014-09-031-4/+9
| |
| * Validate branch-names and references in WebUI, APIRobert Schilling2014-09-031-4/+12
| | | | | | | | Add specs for GitRefValidator
* | Explicit order of issues in API. Fixes specs for mysql dbDmitriy Zaporozhets2014-09-031-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Make sure /api/allowed return 200 status codeDmitriy Zaporozhets2014-09-031-0/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | /api/allowed use POST nowDmitriy Zaporozhets2014-09-031-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor finders. Prevent circular dependency errorDmitriy Zaporozhets2014-09-021-3/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'gitlab-shell-2-0' into 'master'Dmitriy Zaporozhets2014-09-021-4/+1
|\ | | | | | | | | | | | | | | Modify GitLab to work with gitlab-shell 2.0 Related to #1516 See merge request !1057
| * Rewrite GitAccess for gitlab-shell v2Dmitriy Zaporozhets2014-09-011-4/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Filters issues by state via APIjubianchi2014-09-011-4/+23
|/
* Fix tests after #7526Robert Schilling2014-08-201-5/+6
|
* Improve labels validation and expose error messagesjubianchi2014-08-202-7/+12
|
* Merge pull request #7527 from Razer6/api_labels_return_codeJacob Vosmaer2014-08-181-2/+2
|\ | | | | API: Fix labels return code
| * Fix labels return codeRobert Schilling2014-08-181-2/+2
| |
* | Add labels api authorization. Update permission docDmitriy Zaporozhets2014-08-151-0/+3
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #7479 from Razer6/feature/labels_apiDmitriy Zaporozhets2014-08-154-12/+102
|\ | | | | Implement complete labels API (create/delete/update)
| * Update labels via APIRobert Schilling2014-08-131-0/+35
| |
| * Add, delete labels via APIRobert Schilling2014-08-134-12/+67
| |
* | Merge pull request #7465 from Razer6/better_label_color_validationDmitriy Zaporozhets2014-08-153-4/+44
|\ \ | | | | | | Better label color validation, fixes #7454
| * | Do label validation for issues/merge requests APIRobert Schilling2014-08-143-4/+44
| |/
* | Fix repository archiveDmitriy Zaporozhets2014-08-131-9/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge pull request #6788 from CingleVue/masterDmitriy Zaporozhets2014-08-131-0/+2
|\ \ | |/ |/| Patched `MergeRequest` to return more data.
| * Patched `MergeRequest` to return more data.mabdullah-cinglevue2014-08-011-1/+2
| | | | | | | | Added milestone to merge_requests instead of milestone id.
| * # This is a combination of 2 commits.mabdullah-cinglevue2014-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # The first commit's message is: Patched `MergeRequest` to return more data. Patched `MergeRequest` to return the `description` & `milestone` Conflicts: lib/api/entities.rb # This is the 2nd commit message: Update merge_requests.md Update documentation for merge request endpoint adding support for description.
* | Cleaner variable nameDmitriy Zaporozhets2014-08-111-3/+5
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'add_complete_commit_message_to_api' of ↵Dmitriy Zaporozhets2014-08-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/christian.taedcke/gitlab-ce into christian.taedcke/gitlab-ce-add_complete_commit_message_to_api Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: CHANGELOG
| * | Add full commit message to commit api as field message.Christian Taedcke2014-07-251-0/+1
| | |