summaryrefslogtreecommitdiff
path: root/spec/requests
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests after #7526Robert Schilling2014-08-201-6/+7
|
* Improve labels validation and expose error messagesjubianchi2014-08-202-6/+66
|
* Fix labels return codeRobert Schilling2014-08-181-8/+8
|
* Merge pull request #7479 from Razer6/feature/labels_apiDmitriy Zaporozhets2014-08-151-0/+127
|\ | | | | Implement complete labels API (create/delete/update)
| * Update labels via APIRobert Schilling2014-08-131-4/+66
| |
| * Add, delete labels via APIRobert Schilling2014-08-131-0/+65
| |
* | Do label validation for issues/merge requests APIRobert Schilling2014-08-142-1/+46
|/
* Fix api files specsDmitriy Zaporozhets2014-08-061-8/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix API branch specsDmitriy Zaporozhets2014-08-011-23/+25
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix API repository specsDmitriy Zaporozhets2014-08-011-9/+12
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix testsDmitriy Zaporozhets2014-07-302-49/+24
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move API contributors logic to repository modelDmitriy Zaporozhets2014-07-021-1/+2
|
* Collect contributors info via APIDmitriy Zaporozhets2014-07-021-1/+14
|
* Fix signup and project visibilityDmitriy Zaporozhets2014-06-301-13/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove rails observers from applicationDmitriy Zaporozhets2014-06-1714-47/+0
|
* Add /api/users test for admin role. Updated CHANGELOGDmitriy Zaporozhets2014-06-131-0/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix api specsDmitriy Zaporozhets2014-06-133-11/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont expose user email via APIDmitriy Zaporozhets2014-06-131-2/+2
| | | | | | | | | | | | | 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>
* Delete wall notes testsDmitriy Zaporozhets2014-06-132-52/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #7014 from asedge/api_create_tagDmitriy Zaporozhets2014-05-291-0/+18
|\ | | | | Add CreateTagService. Use new service to allow tag creation through API.
| * Fix broken repositories_spec test for creating new tags.Sean Edge2014-05-281-4/+2
| |
| * More fixup for HoundCI. Fix up some small issues in docs.Sean Edge2014-05-271-5/+6
| |
| * Fixup for HoundCI.Sean Edge2014-05-261-1/+1
| |
| * Add tests for creating tag with API.Sean Edge2014-05-261-0/+19
| |
* | Modify specs for new project transfer codeDmitriy Zaporozhets2014-05-281-2/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Better specs for Compare APIDmitriy Zaporozhets2014-05-271-9/+25
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Expose timeout and same_ref compare fieldsDmitriy Zaporozhets2014-05-271-0/+3
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add some tests to compare apiDmitriy Zaporozhets2014-05-261-0/+20
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve branch deletion via APIDmitriy Zaporozhets2014-05-231-1/+22
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make user access test pass for the right reasonJacob Vosmaer2014-05-151-0/+1
| | | | | If we do not set a private token during the test, current_user will be nil because the user is not found, not due to the access check.
* Check user access status in API for current_userJacob Vosmaer2014-05-151-0/+5
|
* Add test for current behavior of current_userJacob Vosmaer2014-05-151-0/+5
|
* Merge pull request #6778 from dblessing/feature/mr_labelsDmitriy Zaporozhets2014-05-131-8/+44
|\ | | | | Merge Request Labels
| * Implement Merge Request LabelsDrew Blessing2014-05-131-8/+44
| |
* | More tests for merge apiDmitriy Zaporozhets2014-05-131-0/+15
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add some tests for merge APIDmitriy Zaporozhets2014-05-131-4/+11
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Implement GET /users/:uid/keys for admin usersTimm Friebe2014-04-181-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | 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/+33
|\ | | | | Add optional parameter to list merge requests
| * Add optional parameter to list merge requestsStuart Pook2014-04-071-1/+33
| | | | | | | | | | | | | | 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.
* | Added API testing groupJeroen van Baarsen2014-04-1119-20/+20
|/
* More test fixesDmitriy Zaporozhets2014-04-031-12/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create branch via APIDmitriy Zaporozhets2014-04-011-0/+20
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move branches api to separate classDmitriy Zaporozhets2014-03-312-80/+95
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #5469 from NARKOZ/api-pagination-headersDmitriy Zaporozhets2014-03-311-0/+6
|\ | | | | add 'Link' header for API response
| * add 'Link' header for API responseNihad Abbasov2013-10-291-0/+6
| |
* | Merge pull request #6569 from criteo/api_merge_request_commentsDmitriy Zaporozhets2014-03-261-0/+17
|\ \ | | | | | | Add method to get the comments on a merge request
| * | Add method to get the comments on a merge requestStuart Pook2014-03-191-0/+17
| | | | | | | | | | | | | | | Add method to get the comments for a merge request and document that you can change the status of a merge request.
* | | Merge branch 'event-create-service' into 'master'Dmitriy Zaporozhets2014-03-261-12/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | EventCreateService class The goal is to collect all event creation logic in one place called EventCreateService. Because now its placed in observers, controllers, services etc
| * | | Fix testsDmitriy Zaporozhets2014-03-251-12/+0
| |/ / | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | moving labels specs to projects_spec fileÁbner Silva de Oliveira2014-03-222-26/+13
| | |