summaryrefslogtreecommitdiff
path: root/spec/requests/api
Commit message (Collapse)AuthorAgeFilesLines
* Add traits for each access_level to ProjectMember factoryRobert Speicher2016-03-0612-27/+27
|
* Merge branch 'fix/commit-status-api-improvement' into 'master' Douwe Maan2016-03-011-54/+110
|\ | | | | | | | | | | | | | | | | | | Return empty array when commit has no statuses in API This makes API endpoint for Commit Statuses return empty array instead of 404 when commit exists, but has no statuses. Closes #3080 See merge request !3010
| * Improve commit status API specsfix/commit-status-api-improvementGrzegorz Bizon2016-03-011-30/+19
| |
| * Improve commit status API specs (refactoring)Grzegorz Bizon2016-02-291-41/+76
| |
| * Return empty array when commit has no statuses in APIGrzegorz Bizon2016-02-291-37/+69
| | | | | | | | | | | | | | This makes API endpoint for Commit Statuses return empty array instead of 404 when commit exists, but has no statuses. Closes #3080
* | fixed merge conflict and refactored specsJames Lopez2016-02-291-6/+2
| |
* | updated internal.rb and spec based on MR feedbackJames Lopez2016-02-261-2/+8
| |
* | fix for projects ending in .wikiJames Lopez2016-02-241-0/+10
|/
* Fix ci_build trace traitKamil Trzcinski2016-02-191-2/+2
|
* Fix specsKamil Trzcinski2016-02-191-59/+76
|
* Introduce API for serving the artifacts archiveKamil Trzcinski2016-02-191-0/+25
|
* Record user that erased a build through APIGrzegorz Bizon2016-02-191-0/+5
|
* Use POST method instead of DELETE when erasing a buildGrzegorz Bizon2016-02-191-3/+3
| | | | | Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3742042
* Fix name of build erasable, remove superfluous method from itGrzegorz Bizon2016-02-191-2/+2
|
* Move build eraseable API to proper API contextGrzegorz Bizon2016-02-191-0/+25
|
* Refactorize `ci_runner` factory and `let` definitions in runners API specTomasz Maczukin2016-02-191-16/+14
|
* Remove unnecessary parametersTomasz Maczukin2016-02-191-5/+5
|
* Modify expectations for update runner featureTomasz Maczukin2016-02-191-4/+4
|
* Change `.map{...}.inject{...}` to `any?{...}` for searching shared runnersTomasz Maczukin2016-02-191-5/+5
|
* Reorganize `let` statements in spec/requests/api/runners_spec.rbTomasz Maczukin2016-02-191-12/+29
|
* Move :runner_id param to POST body when enabling specific runner in projectTomasz Maczukin2016-02-191-8/+14
|
* Add some modifications to spec/requests/api/runners_spec.rbTomasz Maczukin2016-02-191-88/+112
|
* Fix runners filteringTomasz Maczukin2016-02-191-2/+2
|
* Fix runners API specTomasz Maczukin2016-02-191-11/+11
|
* Split `/runners` entrypoint to `/runners` and `/runners/all`Tomasz Maczukin2016-02-191-11/+43
|
* Fix runners filtering in APITomasz Maczukin2016-02-191-17/+24
|
* Add feature to enable/disable runner in projectTomasz Maczukin2016-02-191-0/+102
|
* Add basic runners management APITomasz Maczukin2016-02-191-0/+278
| | | | | | | - add feature to list runners - add feature to show runners details - add feature to delete runner - add feature to update runner
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-02-174-28/+103
|\ | | | | | | git-archive-refactor
| * Merge branch 'skakirill/gitlab-ce-api-merge-request-setup-milestone' into ↵Douwe Maan2016-02-121-3/+12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' API: Allow to set or update a merge-request's milestone _Originally opened at !2107 by @ skakirill._ - - - See merge request !2755
| | * Add a spec for setting/updating a MR's milestone via the APIskakirill/gitlab-ce-api-merge-request-setup-milestoneRémy Coutable2016-02-091-3/+12
| | |
| * | Merge branch 'Schniz/gitlab-ce-feature/merge-request-closes-issues-in-api' ↵Rémy Coutable2016-02-111-0/+22
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Add merge_requests/:merge_request_id/closes_issues _Originally opened at !2660 by @Schniz._ - - - Added `/api/v3/projects/:id/merge_requests/:merge_request_id/closes_issues` route in the API for getting the issues that should be closed when a merge request merged successfully See merge request !2779
| | * | Pass current_user to merge_request.closes_issues in API ans streamline MR ↵Schniz/gitlab-ce-feature/merge-request-closes-issues-in-apiRémy Coutable2016-02-111-12/+8
| | | | | | | | | | | | | | | | API specs
| | * | Added '/api/v3/projects/:id/merge_requests/:merge_request_id/closes_issues' ↵Gal Schlezinger2016-02-111-0/+26
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | route in the API Added some documentation for it Added to changelog Added curl example and an attribute table Moved the api route definition from "lib/api/issues.rb" to "lib/api/merge_requests.rb" Fixed the attributes and changed the documentation to be at "merge_requests.md" too Changed generic titles to more specific titles added an underscore added tests. it depends on a newer version of gitlab-test project I'm doing a since I need to add a branch to the `gitlab-test` repo removed the before using 'iid' instead of 'id' in the description to reference the issues. that makes the tests pass Removed the 'closes-issues' key from test_env. so it should pass the tests Moved the two initializations to the describe block Changed the changelog
| * | Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-02-092-22/+34
| |\ \
| | * | Fix commit status testsKamil Trzcinski2016-02-061-18/+30
| | | |
| | * | Merge remote-tracking branch 'origin/master' into ci-permissionsKamil Trzcinski2016-02-041-3/+34
| | |\ \ | | | |/ | | | | | | | | | | | | # Conflicts: # app/views/projects/builds/index.html.haml
| | * | Make the CI permission model simplerKamil Trzcinski2016-02-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
| * | | Add an API spec for MergeRequest#merge_status and properly document this ↵develop7/add-merge_status-to-merge-request-in-apiRémy Coutable2016-02-081-0/+1
| | |/ | |/| | | | | | | resource
| * | Merge branch 'support-akismet' into 'master' Robert Speicher2016-02-031-0/+31
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support Akismet spam checking for creation of issues via API Currently any spam detected by Akismet for non-members via API will be logged in a separate table in the admin page. Closes #5612 See merge request !2266
| | * | Fix rubocop offensesDouglas Barbosa Alexandre2016-02-021-5/+9
| | | |
| | * | Refactor spam filtering on issues APIDouglas Barbosa Alexandre2016-02-021-3/+8
| | | |
| | * | Support Akismet spam checking for creation of issues via APIStan Hu2016-02-021-0/+22
| | |/ | | | | | | | | | | | | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612
| * | Add a spec for the API pagination Link headerRémy Coutable2016-02-021-3/+3
| |/
* | Fix APIJacob Vosmaer2016-02-111-3/+10
|/
* Improve consistency and duplication for Merge Request APIimprove-mr-apiDmitriy Zaporozhets2016-01-281-31/+31
| | | | | | | * Follow REST for merge request API route * Remove repeating comments API for MR Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add specs. Adjust filter.Josh Frye2016-01-191-0/+23
|
* Merge branch 'master' into ci/api-triggersTomasz Maczukin2016-01-143-1/+181
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (150 commits) fixes margin and padding Update mailroom/postfix documentation [ci skip] Fix css mess around git clone panel. Align it properly Fix missing padding for user/group pages Fix parse_gollum_tags matcher Update documentation on Banzai::Filter::GollumTagsFilter Add tests for the wiki pipeline Refactoring Banzai::Filter::GollumTagsFilter Make sure the .git is at the end on Gitlab::GithubImport::WikiFormatter Remove GollumTagsPipeline Refactoring Gitlab::GithubImport::Importer Remove unnecessary brackets on WIKI_SLUG_ID route constraints Move js function to removing accents to vendor/assets/javascripts Update CHANGELOG Use the WikiPipeline when rendering the wiki markdown content Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTML Relax constraints for wiki slug Import GitHub wiki into GitLab Move Ci::Build#available_statuses to AVAILABLE_STATUSES constant in CommitStatus Revert changes to how the notes are paginated in the API ... Conflicts: doc/api/README.md lib/api/entities.rb
| * Merge branch 'ci/api-builds' into 'master' Douwe Maan2016-01-141-0/+172
| |\ | | | | | | | | | | | | | | | | | | Add builds API References #4264 See merge request !2207
| | * Merge branch 'master' into ci/api-buildsTomasz Maczukin2016-01-143-5/+252
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (51 commits) Fix version Fix specs and rubocop warnings Improve the consistency of commit titles, branch names, tag names, issue/MR titles, on their respective project pages fixed LDAP activation on login to use new ldap_blocked state Fix Admin/Users view to position buttons without spacing magic Update to Go 1.5.3 Fix the undefinded variable error in Project's safe_import_url method Update CHANGELOG [ci skip] Add some cosmetic changes to variables API documentation [ci skip] Fix misaligned edit button in milestone collection partial Update button styles for Milestones#show Modify builds API documentation style [ci skip] Modify :ci_variable factory Ensure the API doesn't return notes that the current user shouldn't see Add 'Build' prefix to Variables entry name in API docs index Fix some typos Add spec for Note#cross_reference_not_visible_for? Remove (invalid) timestamp formatting Move `BroadcastMessage#status` to a helper since it's presentational Update CHANGELOG ... Conflicts: doc/api/README.md lib/api/api.rb lib/api/entities.rb