summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '27501-api-use-visibility-everywhere' into 'master' Douwe Maan2017-03-0212-44/+578
|\ | | | | | | | | | | | | API: Use `visibility` as string parameter everywhere Closes #27501 See merge request !9337
| * Override setters so it also accepts string visibility levels27501-api-use-visibility-everywhereToon Claes2017-03-021-15/+1
| | | | | | | | | | Override the `ApplicationSetting` default visibility_level setters so they accept strings & integers for the levels.
| * Use string based `visibility` getter & setterToon Claes2017-03-025-20/+10
| | | | | | | | | | | | Add `visibility` & `visibility=` methods to the `Gitlab::VisibilityLevel` module so the `visibility_level` can be get/set with a string value.
| * Expose ApplicationSetting visibility settings as StringToon Claes2017-03-025-8/+197
| | | | | | | | | | | | | | | | Use strings for the ApplicationSetting properties: - restricted_visibility_levels - default_project_visibility - default_snippet_visibility - default_group_visibility
| * Expose Snippet VisibilityLevel as StringToon Claes2017-03-023-10/+149
| |
| * Ensure v3 environments endpoints remain unchangedToon Claes2017-03-022-2/+64
| | | | | | | | | | Because environments also expose the project, ensure the projects are exposed as they were before in API v3.
| * Expose Group VisibilityLevel as StringToon Claes2017-03-024-6/+174
| | | | | | | | | | Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility`.
| * Expose Project's & ProjectSnippet's VisibilityLevel as StringToon Claes2017-03-024-24/+24
| | | | | | | | | | | | | | | | | | | | Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility` for Project and ProjectSnippet. Filter queries also accept the `visibility` as String instead of `visibility_level` as Integer. Also remove the `public` boolean.
* | Merge branch 'fix/gb/update-commit-status-api' into 'master' Kamil Trzciński2017-03-021-4/+5
|\ \ | | | | | | | | | | | | | | | | | | Fix updaing commit status when using optional attributes Closes #28656 and #25784 See merge request !9618
| * | Fix updaing commit status with optional attributesGrzegorz Bizon2017-03-011-4/+5
| | | | | | | | | | | | | | | Passing different optional attributes in case of updating an existing commit status should not create a new commit status with the same name.
* | | Merge branch '28257-issues-iids' into 'master' Sean McGivern2017-03-021-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | API issues - support filtering by iids Closes #28257 See merge request !9541
| * | | API issues - support filtering by iidsJarka Kadlecova2017-03-011-0/+1
| | | |
* | | | Merge branch '28807-search-for-milestone-by-title-in-rest-api' into 'master'Rémy Coutable2017-03-022-0/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Enable filtering milestones by search criteria in the API Closes #28807 See merge request !9606
| * | | Enable filtering milestones by search criteria in the APIMark Fletcher2017-03-022-0/+6
| | | | | | | | | | | | | | | | - Also remove a redundant test
* | | | Add internal endpoint to notify post-receive to Gitalygitaly-post-receiveAlejandro Rodríguez2017-03-011-0/+12
| | | |
* | | | Merge branch 'fix/mwbs-to-mwps' into 'master' Douwe Maan2017-03-016-48/+139
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename MWBS to MWPS Closes #24707 See merge request !9335
| * | | | Update occurrences of MWBS to MWPSfix/mwbs-to-mwpsJames Lopez2017-03-016-48/+139
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename column in the database Rename fields related to import/export feature Rename API endpoints Rename documentation links Rename the rest of occurrences in the code Replace the images that contain the words "build succeeds" and docs referencing to them Make sure pipeline is green and nothing is missing. updated doc images renamed only_allow_merge_if_build_succeeds in projects and fixed references more updates fix some spec failures fix rubocop offences fix v3 api spec fix MR specs fixed issues with partials fix MR spec fix alignment add missing v3 to v4 doc wip - refactor v3 endpoints fix specs fix a few typos fix project specs copy entities fully to V3 fix entity error more fixes fix failing specs fixed missing entities in V3 API remove comment updated code based on feedback typo fix spec
* | | | Merge branch '27142-api-replace-destroy-with-stop-environment' into 'master' Kamil Trzciński2017-03-011-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Add environment action with /stop action Closes #27142 See merge request !8808
| * | | | Add environment `/stop` action27142-api-replace-destroy-with-stop-environmentToon Claes2017-02-281-0/+17
| | | | | | | | | | | | | | | | | | | | Add endpoint to stop an environment through the API.
* | | | | Merge branch 'custom-empty-exception-class-cop' into 'master' Robert Speicher2017-03-011-7/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add RuboCop cop for custom error classes Closes #28770 See merge request !9573
| * | | | | Enable and autocorrect the CustomErrorClass copSean McGivern2017-03-011-7/+4
| | |/ / / | |/| | |
* | | | | Merge branch '22951-fix-todos-api-endpoint-error-for-commits' into 'master' Sean McGivern2017-03-011-1/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Fix todos API endpoint application error Closes #22951 See merge request !9351
| * | | | Add spec for todo with target_type CommitGeorge Andrinopoulos2017-02-211-5/+2
| | | | |
| * | | | Fix todos API endpoint application errorGeorge Andrinopoulos2017-02-171-1/+5
| | | | |
* | | | | Merge branch '6073_project_api' into 'master' Sean McGivern2017-02-282-2/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | API project create: Make name or path required Closes #6073 See merge request !9416
| * | | | API project create: Make name or path requiredJarka Kadlecova2017-02-272-2/+4
| | |_|/ | |/| |
* | | | New runner API returns 204api-empty-returnRobert Schilling2017-02-281-1/+1
| | | |
* | | | Backport API to V3Robert Schilling2017-02-2821-3/+958
| | | |
* | | | Return 204 for delete endpointsRobert Schilling2017-02-2819-63/+22
| |_|/ |/| |
* | | Merge branch 'mock-ci-service' into 'master'Douwe Maan2017-02-271-1/+14
|\ \ \ | | | | | | | | | | | | | | | | Add Mock CI service/integration See merge request !9250
| * | | Add MockCiService integrationmock-ci-serviceEric Eastwood2017-02-241-1/+14
| |/ / | | | | | | | | | | | | | | | MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9250/ See https://gitlab.com/madlittlemods/gl-mock-ci-service
* | | Merge branch 'unified-member-api-response' into 'master' Sean McGivern2017-02-271-7/+0
|\ \ \ | | | | | | | | | | | | | | | | API: Return 400 for all validation erros in the mebers API See merge request !9523
| * | | API: Return 400 for all validation erros in the mebers APIunified-member-api-responseRobert Schilling2017-02-241-7/+0
| | | |
* | | | Merge branch 'feature/runners-v4-api' into 'master' Kamil Trzciński2017-02-274-0/+80
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Add Runner registration/deletion API See merge request !9246
| * | | Rename API::Ci to API::Runnerfeature/runners-v4-apiTomasz Maczukin2017-02-163-6/+6
| | | |
| * | | Fix rubocop offensesTomasz Maczukin2017-02-161-4/+3
| | | |
| * | | Add Runner registration/deletion APITomasz Maczukin2017-02-164-0/+81
| | | |
* | | | Update API v3 in line with v4Douwe Maan2017-02-241-7/+0
| | | |
* | | | Consistently create, update, and delete files, taking CRLF settings into accountDouwe Maan2017-02-241-7/+0
| |/ / |/| |
* | | Merge branch 'api-simplify-variables-validation' into 'master' Rémy Coutable2017-02-241-8/+3
|\ \ \ | | | | | | | | | | | | | | | | Simplify variables validation in triggers API See merge request !9506
| * | | Simplyfy variables validation in triggers APIapi-simplify-variables-validationRobert Schilling2017-02-241-8/+3
| | | |
* | | | Merge branch 'master' into 'api-remove-owned-groups'api-remove-owned-groupsSean McGivern2017-02-246-3/+20
|\ \ \ \ | | | | | | | | | | | | | | | # Conflicts: # doc/api/v3_to_v4.md
| * \ \ \ Merge branch '3874-correctly-return-json-on-delete-responses' into 'master' Sean McGivern2017-02-244-1/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return 202 with JSON body on async removals on V4 API Closes #3874 See merge request !9449
| | * | | | Return 202 with JSON body on async removals on V4 API3874-correctly-return-json-on-delete-responsesOswaldo2017-02-234-1/+14
| | |/ / /
| * | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-2433-58/+728
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
| * | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-211-11/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (26 commits) Allow searching issues for strings containing colons Fix Spinach failure [ci skip] UX Guide: Add personas Reuse User#find_by_any_email on UserFormatter#find_by_email Use leading periods on UserFormatter#find_by_external_uid Add CHANGELOG entry Add a simple cache for Gitlab::GithubImport::Client#user GitHub Importer - Find users based on their email address Don't use potentially slow ForkService in spec Added support for Authentiq Back-Channel Logout Added documentation for permalinks to most recent build artifacts Unify issues search behavior by always filtering when ALL labels matches Update GitLab Pages to v0.3.1 Document Timecop usage for time-sensitive tests Add process for requesting approval for licenses Rename karma job to rake karma Update positioning of nav scroll arrows Fix issue where files on a fork could not be edited Move tanuki to left of title; increase max-width of title Refactor project stats & last_commit CSS; left align main nav items ...
| * \ \ \ \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-2131-87/+420
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (234 commits) Improve performance of User Agent Detail Fix some grammar in the API docs Remove shared example for pagination API: Use POST to (un)block a user API: Moved `DELETE /projects/:id/star` to `POST /projects/:id/unstar` Use grape validation for dates Change wording for LDAP doc that was moved to a new location API: Remove `DELETE projects/:id/deploy_keys/:key_id/disable` Download snippets with LF line-endings by default utilize pre-minified Vue in production since no CJS distribution is available Prevent project team from being truncated too early during project destruction loading icon sometimes toggled alongside MR pipeline contents fix failed spec because haml_lint fix incorrect sidekiq concurrency count in admin background page exclude rpc_pipefs from system disc info Fix wrong line ending [ci-skip] fix overlooked window binding in spec files remove imports loader replace implicit this == window with explicit binding Todo done clicking is kind of unusable. ...
| * \ \ \ \ \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-163-22/+25
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (37 commits) Show merge errors in merge request widget Clarify that stage is needed to stop environments Fix broken link in university docs allow clicking on text or icon to trigger expand style links on system notes to look clickable Clean up terms used for issues. Use New instead of Add. Fix most of broken docs links Set `Auto-Submitted: auto-generated` header to emails Fix Rubocop offense Fix regression where cmd-click stopped working for todos and merge request tabs Remove changelog entries for 8.16.5 release Merge branch 'fix-github-import-MR-wrong-project' into 'security' Merge branch 'svg-xss-fix' into 'security' Merge branch 'fix-rdoc-xss' into 'security' Merge branch 'asciidoctor-xss-patch' into 'security' Specify that only project owners can transfer a project only load istanbul plugin in development mode Make Karma output look nicer for CI (!9165) Centers loading icon vertically and horizontally in pipelines table in commit view Rename builds to jobs in docs ...
| * | | | | | Fix tests and disallow 0 to make it consistent with .gitlab-ci.ymlLin Jen-Shin2017-02-152-1/+2
| | | | | | |
| * | | | | | Use the same syntax for default expirationLin Jen-Shin2017-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036 * https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797