summaryrefslogtreecommitdiff
path: root/spec/requests/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'retried-in-database-mysql' into 'master' Regis Boudinot2017-05-101-2/+2
|\ | | | | | | | | | | | | Retried in database Closes #25737 See merge request !11115
| * Store retried in database for CI buildsretried-in-database-mysqlKamil Trzcinski2017-05-071-2/+2
| |
* | Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-106-8/+8
| | | | | | | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Use relative paths for group/project/user avatarsblackst0ne2017-05-102-2/+2
| |
* | Add confirm delete protected branch modalSam Rose2017-05-082-26/+0
|/
* Merge branch 'feature/gb/manual-actions-protected-branches-permissions' into ↵Kamil Trzciński2017-05-061-16/+51
|\ | | | | | | | | | | | | | | | | | | 'master' Check access to a branch when user triggers manual action Closes #20261 See merge request !10494
| * Merge commit '3a2b60f7' from 'master'Grzegorz Bizon2017-05-052-0/+253
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3a2b60f7a0109cdb84e8727a2625318a746e84dc': (151 commits) Fixed Karma spec Reject EE reserved namespace paths in CE as well Updated webpack config Include the bundler:audit job into the static-analysis job Document serializers Add artifact file page that uses the blob viewer Pipeline table mini graph dropdown remains open when table is refreshed Adds off for event hub Compile gitlab-shell go executables Allow to create new branch and empty WIP merge request from issue page Moved to a view spec Improving copy of CONTRIBUTING.md, PROCESS.md, and code_review.md Convert seconds to minutes and hours on chat notifations Disable navigation to Pages config if Pages is disabled Sort the network graph both by commit date and topographically. Add tooltips to note action buttons Add breadcrumb, build header and pipelines submenu to artifacts browser Update todos screenshots removes the possibility of commit messages having carriage returns Handle incoming emails from aliases correctly ...
| * \ Merge branch 'master' into ↵Grzegorz Bizon2017-05-034-2/+28
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/gb/manual-actions-protected-branches-permissions * master: (103 commits) Include missing project attributes to Import/Export Create the rest of the wiki docs Fill in information about creating the wiki Home page Move wiki doc to its own index page Create initial file for Wiki documentation Default to null user when asignee is unselected Re-enable ref operations with gitaly after not-found fix #31560 Add repo parameter to gitaly:install and workhorse:install Remove N+1 queries when checking nodes visible to user Don't validate reserved words if the format doesn't match Revert "Shorten and improve some job names" Remove unused initializer DRY the `<<: *except-docs` a bit in `.gitlab-ci.yml` Make the static-analysis job be run for docs branches too Add download_snippet_path helper Refresh the markdown cache if it was `nil` Add some documentation for the new migration helpers Update comments Display comments for personal snippets Update docs on creating a project ...
| * \ \ Merge branch 'master' into ↵Grzegorz Bizon2017-05-0281-244/+272
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/gb/manual-actions-protected-branches-permissions * master: (314 commits) Better Explore Groups view Update Carrierwave and fog-core Add specs for Gitlab::RequestProfiler Add scripts/static-analysis to run all the static analysers in one go Shorten and improve some job names Group static-analysis jobs into a single job Don't blow up when email has no References header Update CHANGELOG.md for 9.1.2 Add changelog Add changelog Show Raw button as Download for binary files Use blob viewers for snippets Fix typo Fixed transient failure related to dropdown animations Revert "Merge branch 'tc-no-todo-service-select' into 'master'" fix link to MR 10416 Another change from .click -> .trigger('click') to make spec pass Change from .click -> .trigger('click') to make spec pass Disable AddColumnWithDefaultToLargeTable cop for pre-existing migrations Add AddColumnWithDefaultToLargeTable cop ... Conflicts: spec/requests/api/jobs_spec.rb
| * | | | Improve specs for jobs API regarding manual actionsGrzegorz Bizon2017-05-021-17/+50
| | | | |
* | | | | Merge branch ↵Sean McGivern2017-05-052-34/+75
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce' into 'master' Generate and handle a gl_repository param to pass around components Closes #29925 See merge request !10992
| * | | | | Generate and handle a gl_repository param to pass around componentsAlejandro Rodríguez2017-05-032-34/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new param allows us to share project information between components that don't share or don't have access to the same filesystem mountpoints, for example between Gitaly and Rails or between Rails and Gitlab-Shell hooks. The previous parameters are still supported, but if found, gl_repository is prefered. The old parameters should be deprecated once all components support the new format.
* | | | | | Multiple issue assignee: CE restriction for multiple assigneesValery Sizov2017-05-051-0/+22
| | | | | |
* | | | | | [Multiple issue assignee] Fix a number of specsValery Sizov2017-05-051-32/+0
| | | | | |
* | | | | | [Multiple issue assignee]: reslving some conflictsValery Sizov2017-05-042-20/+1
| | | | | |
* | | | | | Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-042-12/+136
| |_|_|_|/ |/| | | |
* | | | | Merge branch '31544-size-of-project-from-api' into 'master' Rémy Coutable2017-05-041-0/+14
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Resolve "Size of project from API" Closes #31544 See merge request !11013
| * | | | Expose project statistics on single requests via the APIMark Fletcher2017-05-031-0/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | + The statistics parameter was already accepted * This commit ensure that it is respected for GET /projects/:id endpoint + Add documentation of the parameter and update the example response for stats
* | | | Merge branch ↵Robert Speicher2017-05-031-0/+239
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | '28408-feature-proposal-include-search-options-to-pipelines-api' into 'master' Resolve "Feature Proposal: Include search options to pipelines API" Closes #28408 See merge request !9367
| * | | Correct typo in pipelines_spec.rbShinya Maeda2017-05-031-5/+5
| | | |
| * | | Use HasStatus::AVAILABLE_STATUSES instead of hard codingShinya Maeda2017-05-031-2/+2
| | | |
| * | | Improve api/pipelines_spec.rbShinya Maeda2017-05-031-92/+105
| | | |
| * | | Remove unnecessary hashShinya Maeda2017-05-031-19/+19
| | | |
| * | | Separate parameters from literal url stringShinya Maeda2017-05-031-19/+19
| | | |
| * | | Use order instead of reorder. Improve tests.Shinya Maeda2017-05-031-2/+5
| | | |
| * | | Ci::Pipeline to project.pipelinesShinya Maeda2017-05-031-9/+9
| | | |
| * | | 'to be > 0' to 'not_to be_empty'. 'to eq(0)' to 'to be_empty'Shinya Maeda2017-05-031-9/+9
| | | |
| * | | Finish pipelines_specShinya Maeda2017-05-031-45/+104
| | | |
| * | | Unveil iterationShinya Maeda2017-05-031-10/+29
| | | |
| * | | Add spec for Pipeline API (Halfway)Shinya Maeda2017-05-031-0/+145
| | | |
* | | | Merge branch 'rs-described_class-cop-2' into 'master' Douwe Maan2017-05-022-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Enable `RSpec/DescribedClass` cop and correct violations See merge request !10930
| * | | Auto-correct `RSpec/DescribedClass` violationsrs-described_class-cop-2Robert Speicher2017-05-012-2/+2
| |/ /
* | | Merge branch '26488-target-disabled-mr' into 'master' Sean McGivern2017-05-022-0/+26
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Fix 404 when upstream disabled merge requests Closes #26488 See merge request !10427
| * | Fix 404 when upstream has disabled merge requestsmhasbini2017-04-272-0/+26
| | |
* | | Merge branch 'enable-spec-file-name-cop' into 'master' Robert Speicher2017-04-283-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Enable RSpec/FilePath cop Closes #31316 See merge request !10911
| * | | Enable RSpec/FilePath copenable-spec-file-name-copSean McGivern2017-04-263-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
* | | | Make api/v3/deployments_spec to actually tests v3dz-fix-v3-api-deployments-specDmitriy Zaporozhets2017-04-271-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Merge branch '29505-allow-admins-sudo-to-blocked-users' into 'master' Rémy Coutable2017-04-271-1/+27
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Allow admins to sudo to blocked users See merge request !10842
| * | | Allow admins to sudo to blocked users.29505-allow-admins-sudo-to-blocked-usersTimothy Andrew2017-04-261-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Currently, (for example) admins can't delete snippets for blocked users, which is an unexpected limitation. - We modify `authenticate!` to conduct the `access_api` policy check against the `initial_current_user`, instead of the user being impersonated. - Update CHANGELOG for !10842
* | | | Use rspec-set to speed up examplesZeger-Jan van de Weg2017-04-262-22/+28
| | | |
* | | | Merge branch '26437-closed-by' into 'master' Rémy Coutable2017-04-261-0/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add issues/:iid/closed_by api endpoint Closes #26437 See merge request !10511
| * | | | Add issues/:iid/closed_by api endpointmhasbini2017-04-121-0/+35
| | | | |
* | | | | Ability to filter merge requests by labels and milestonesRobert Schilling2017-04-251-4/+68
| |_|/ / |/| | |
* | | | Merge branch '29903-remove-user-is-admin-flag-from-api' into 'master' Sean McGivern2017-04-253-2/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't display the `is_admin?` flag for user API responses Closes #29903 See merge request !10846
| * | | | Don't display the `is_admin?` flag for user API responses.Timothy Andrew2017-04-253-2/+18
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - To prevent an attacker from enumerating the `/users` API to get a list of all the admins. - Display the `is_admin?` flag wherever we display the `private_token` - at the moment, there are two instances: - When an admin uses `sudo` to view the `/user` endpoint - When logging in using the `/session` endpoint
* | | | Merge branch 'jacopo-beschi/gitlab-ce-29712-unnecessary-wait-for-ajax'Rémy Coutable2017-04-2481-212/+79
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | See merge request !10567 Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo2017-04-2181-212/+79
| |/ / / | | | | | | | | | | | | | | | | Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
* | | | Fix updating merge_when_build_succeeds via merge API endpointmrchrisw-22740-merge-apiChris Wilson2017-04-241-1/+13
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | When updating a merge request via the `/merge` endpoint we check the `mergeable` and `mergeable_state` status, these will return `false` if the application option only_allow_merge_if_pipeline_succeeds is enabled. We should skip CI checks if the request uses the merge_when_pipeline_succeeds param Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/22740
* | | Merge branch 'fix-jobs-enabled-parameter' into 'master'Sean McGivern2017-04-211-0/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Replace builds_enabled with jobs_enabled in projects API v4 Closes #31012 See merge request !10786
| * | Add missing newlineswinniehell2017-04-201-0/+6
| | |