summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| | |
* | | Merge branch 'master' into 'master'Dmitriy Zaporozhets2014-08-112-2/+14
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Let users limit by archived/not archived projects in GitLab API GET /projects Adds a boolean parameter, archived, to the /projects endpoint. See merge request !158
| * | Add an option to GET /projects in the GitLab API to exclude archived projectsSasha Joseph2014-07-282-2/+14
| |/
* | Fix old api compatibility and testsDmitriy Zaporozhets2014-07-303-7/+23
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix testsDmitriy Zaporozhets2014-07-301-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Git::Compare does not have limit param any moreDmitriy Zaporozhets2014-07-292-5/+5
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #7089 from NARKOZ/api-patchDmitriy Zaporozhets2014-07-231-1/+4
|\ | | | | API patch
| * API: ability to set an import url when creating project for a specified userNihad Abbasov2014-06-061-1/+4
| |
* | Use Contributor class instead of hashDmitriy Zaporozhets2014-07-022-1/+5
| |
* | Move API contributors logic to repository modelDmitriy Zaporozhets2014-07-021-23/+1
| |
* | Collect contributors info via APIDmitriy Zaporozhets2014-07-021-0/+22
| |
* | Add contributors API endpointDmitriy Zaporozhets2014-07-021-0/+12
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix signup and project visibilityDmitriy Zaporozhets2014-06-301-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Make app works with strong paramsDmitriy Zaporozhets2014-06-262-3/+7
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix notes creation via APIDmitriy Zaporozhets2014-06-181-5/+8
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Dont expose user email via APIDmitriy Zaporozhets2014-06-134-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | To prevent leaking of users info we reduce amount of user information retrieved via API for normal users. What user can get via API: * if not admin: only id, state, name, username and avatar_url * if admin: all user information * about himself: all informaion Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Wipe wall notes featureDmitriy Zaporozhets2014-06-133-54/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Replace milestone observer with servicesDmitriy Zaporozhets2014-06-101-19/+16
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove thread vars usage from API notes and mr'sDmitriy Zaporozhets2014-06-102-33/+26
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove set of thread variablesDmitriy Zaporozhets2014-06-101-10/+0
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | fix permissions for files APINihad Abbasov2014-06-061-1/+8
|/