Commit Graph

2149 Commits

Author SHA1 Message Date
Marcel Amirault d7d218628f Fix markdown in various docs
Clean up issues that may cause the docs-lint
test to fail, such as trailing whitespace, no
EOF newline, blockquotes, etc
2019-08-28 06:06:34 +00:00
Stan Hu 3b0479bffd Remove trailing whitespace from project snippets API docs
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66677
2019-08-27 13:00:37 -07:00
Rainer Kern c9ed3d738d Add example requests for snippets API 2019-08-27 17:23:14 +00:00
Sean McGivern a390f5ff05 Merge branch '57657-promote-label-to-group-label-via-api-endpoint' into 'master'
Promote Label to Group Label via API endpoint

Closes #57657

See merge request gitlab-org/gitlab-ce!25218
2019-08-27 08:53:09 +00:00
Alexis Sánchez f8b2d63e1a Update doc/api/events.md 2019-08-27 03:01:05 +00:00
Marcel Amirault d642c60df9 Add backticks and remove square brackets
Square and Angle bracket use causes kramdown warnings,
so changed or enclosed in backticks as needed
2019-08-26 20:17:51 +00:00
Robert Schilling e2a7dd3f0a Update docs targeting 12.3 2019-08-26 12:48:55 +02:00
Robert Schilling efafc98bd8 Move promote to put and add more specs 2019-08-26 10:45:37 +02:00
Robert Schilling 41412f7360 Add docs and first specs 2019-08-26 10:45:37 +02:00
Stan Hu 440635015f Fix N+1 Gitaly calls in /api/v4/projects/:id/issues
This is a follow-up from
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31938.

In GitLab 9.0,
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9661 removed the
`subscribed` flag from the API when the user requested a list of issues
or merge requests since calculating this value triggers extensive
Markdown processing.

In GitLab 12.0 via a4fbf39e, we accidentally reintroduced this
performance regression by changing `IssueBasic` to `Issue` in
`entities.rb`. This showed up as a Gitaly N+1 issue since the Markdown
processing would attempt to extract a commit if it detected a regex that
matched a commit.

We restore the prior behavior by once again removing the `subscribed`
flag for the bulk list of issues and merge requests and add a test to
ensure they aren't reintroduced.

Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/66202
2019-08-23 21:26:50 -07:00
Patrick Derichs f1e24d4d31 Add label_id parameter to label API for PUT and DELETE
Add specs for new parameter and updated documentation as well.
2019-08-23 17:45:42 +00:00
Jan Provaznik 2abeb0c358 Merge branch '57402-upate-issues-list-sort-options-ce' into 'master'
CE: Update sort options for issues list

See merge request gitlab-org/gitlab-ce!31849
2019-08-23 14:06:40 +00:00
Tetiana Chupryna 6642d5471d Update dependencies api doc 2019-08-23 11:34:05 +00:00
Marcel Amirault 7e4a6f57a9 Update capitalization in admin, api, others
Update capitalization in /administration, /api, /ci
and /customization
2019-08-23 08:50:24 +00:00
Alexandru Croitor f5b855546e Update sort options for issues list
Increase sort options for issues list from updated_at and create_at,
to include more options close to what is required in actual issue list
UI.

This helps us to use REST API for issues list with sorting capabilities

https://gitlab.com/gitlab-org/gitlab-ce/issues/57402
2019-08-23 11:32:15 +03:00
Alessio Caiazza 606a1d2d31 Expose namespace storage statistics with GraphQL
Root namespaces have storage statistics.
This commit allows namespace owners to get those stats via GraphQL
queries like the following one

{
  namespace(fullPath: "a_namespace_path") {
    rootStorageStatistics {
      storageSize
      repositorySize
      lfsObjectsSize
      buildArtifactsSize
      packagesSize
      wikiSize
    }
  }
}
2019-08-22 22:08:28 +00:00
Kushal Pandya 6044b3ed1e Add `searchBy` helper & `SidebarItemEpicsSelect`
- Adds `searchBy` util in common utils
- Adds placeholder `SidebarItemEpicsSelect`
2019-08-22 17:58:44 +05:30
Marcel Amirault d2cb8f785e Update docs to pass new markdownlint
Deletes extra spaces and line, makes lists consistent, and
fixes links.
2019-08-22 08:50:31 +00:00
Kushal Pandya 7b5708d1d9 Merge branch 'ee-2502-refactor-ee-app-assets-javascripts-approvals-components-approvers_select-vue-to-remove-approverusers' into 'master'
Add a new method to `Api.js`: `projectUsers`

See merge request gitlab-org/gitlab-ce!31801
2019-08-22 07:59:22 +00:00
Achilleas Pipinellis 28d11071ce Merge branch 'update-api-docs-remove-incorrect-group-vulnerabilities-reference' into 'master'
Update api_resources docs - remove incorrect group vulnerabilities reference

See merge request gitlab-org/gitlab-ce!31979
2019-08-21 09:45:48 +00:00
Evan Read d35788d74b Merge branch 'docs-fix-soft-deletion' into 'master'
Fix outdated references to soft deletion

See merge request gitlab-org/gitlab-ce!31982
2019-08-21 01:04:09 +00:00
Sean McGivern 57ec78d530 Merge branch 'sh-fix-issues-api-gitaly-nplusone' into 'master'
Fix Gitaly N+1 calls with listing issues/MRs via API

Closes #66202

See merge request gitlab-org/gitlab-ce!31938
2019-08-20 12:58:03 +00:00
Markus Koller 44ca24f4f2
Fix outdated references to soft deletion
We stopped using soft deletion for issues and merge requests in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15789,
and for boards we apparently never used it.
2019-08-19 21:01:40 +02:00
Lucas Charles c0741eb7bb
Update api_resources docs - remove incorrect group vulnerabilities reference 2019-08-19 11:12:50 -07:00
Mark Chao 104fada7de Doc: add project approval rule endpoints 2019-08-19 17:56:18 +00:00
Nick Thomas f7f91e84f7 Add a skip_users filter to the project users API
This functionality is available in the /autocomplete users pseudo-API.
We're attempting to replace that with the canonical API, so it needs
support for this parameter too.
2019-08-19 14:21:56 +05:30
Ben Bodenmiller 5ba8716dda add GitLab CI job token API authentication section 2019-08-18 23:15:22 +00:00
Stan Hu ba7c501fef Fix Gitaly N+1 calls with listing issues/MRs via API
In GitLab 9.0,
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9661 removed the
`subscribed` flag from the API when the user requested a list of issues
or merge requests since calculating this value triggers extensive
Markdown processing.

In GitLab 12.0 via a4fbf39e, we accidentally reintroduced this
performance regression by changing `IssueBasic` to `Issue` in
`entities.rb`. This showed up as a Gitaly N+1 issue since the Markdown
processing would attempt to extract a commit if it detected a regex that
matched a commit.

We restore the prior behavior by once again removing the `subscribed`
flag for the bulk list of issues and merge requests and add a test to
ensure they aren't reintroduced.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66202
2019-08-17 20:35:37 -07:00
Mark Florian 00c08cc5d4 Update/expand docs for the Dependency List
These changes align the docs with the features introduced in [1].

See also the [issue tracking the documentation changes][2].

[1]: https://gitlab.com/gitlab-org/gitlab-ee/issues/10077
[2]: https://gitlab.com/gitlab-org/gitlab-ee/issues/12986
2019-08-15 06:15:15 +00:00
Jeremy Jackson 5d9d5e6031 Migrates Snowplow backend from EE to CE
This introduces several changes, but these are all just ported from the
EE project.
2019-08-14 19:21:58 +00:00
Gabriel Mazetto 411287c9bc Fix Geo Node API documentation
Included missing fields, removed non existinting ones, improved examples
2019-08-13 16:47:28 -03:00
Douglas Barbosa Alexandre bd759eebcd Merge branch 'ce-docker_image_replication-ui-3-3' into 'master'
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14599

See merge request gitlab-org/gitlab-ce!31573
2019-08-13 17:58:46 +00:00
Marcia Ramos 77ecb67432 Merge branch 'patch-73' into 'master'
Update links.md to give more consistency with the rest of the documentation

See merge request gitlab-org/gitlab-ce!31693
2019-08-13 16:25:20 +00:00
Valery Sizov 5f9de1f63c
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14599
Part of Docker Regsitry Replication feature for Geo
2019-08-13 13:13:49 -03:00
Evan Read 0479cda57b Make section headings consistent 2019-08-12 09:52:48 +00:00
Alexis Sánchez 82f500f6c9 Update links.md to give more consistency with the rest of the documentation 2019-08-10 20:03:21 +00:00
Douglas Barbosa Alexandre ea671dec7f Merge branch 'ce-docker_image_replication_node_status' into 'master'
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14943

See merge request gitlab-org/gitlab-ce!31406
2019-08-10 13:17:18 +00:00
James Lopez bbf639c43d Merge branch '39217-remove-kubernetes-service-integration' into 'master'
Remove KubernetesService integration

See merge request gitlab-org/gitlab-ce!31365
2019-08-09 07:10:26 +00:00
Rémy Coutable 44065b0138 Merge branch 'speed-up-labels-api' into 'master'
Remove label issue and MR counts from default API responses

See merge request gitlab-org/gitlab-ce!31543
2019-08-09 06:25:29 +00:00
Hordur Freyr Yngvason 5f82ff1469 Bring scoped environment variables to core
As decided in https://gitlab.com/gitlab-org/gitlab-ce/issues/53593
2019-08-08 18:51:52 +00:00
Sean McGivern e6dc5168b8 Remove label issue and MR counts from default API responses
These counts significantly increase the load time for these
requests. Users can now opt in to receiving the counts by setting
`with_counts=true` in requests. This is a breaking change, but hopefully
a fairly minor one.
2019-08-08 17:10:41 +01:00
Achilleas Pipinellis 94b2eaf313
Merge deploy keys example to deploy keys API docs
No reason to keep them separate.
2019-08-08 08:45:13 +03:00
Stan Hu 3ad34c3a24 Merge branch '20137-starrers' into 'master'
Add possibilty to view starrers ("stargazers") of a repository & any user's starred repositories

Closes #20137

See merge request gitlab-org/gitlab-ce!24690
2019-08-08 04:40:55 +00:00
Ash McKenzie 4985f6e26d Merge branch 'tpresa-expose-reject-unsigned-commits' into 'master'
Add docs for reject_unsigned_commits (premium only)

See merge request gitlab-org/gitlab-ce!31113
2019-08-08 04:11:25 +00:00
Marcel Amirault a7348c0253 Split api resources into it's own doc
Move the api resources section from the api readme
to it's own file, and adjust/link accordingly
2019-08-08 02:58:29 +00:00
Tiger e3696bf20e Final removal of KubernetesService
Creating new records has been disabled, and all
existing records been migrated to clusters as of
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28534
2019-08-08 09:47:07 +10:00
Camil Staps 73e6ba448d
Address reviewer comments 2019-08-07 20:49:17 +02:00
Camil Staps e8bdcdf0f8
Expose time since starring on project/:id/starrers API endpoint; exclude private profiles here as well 2019-08-07 20:49:16 +02:00
Camil Staps e7c34c37c8
Add documentation and changelog for !24690 2019-08-07 20:49:15 +02:00
Valery Sizov 631113f9da Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14943
Docker Registry Replication
2019-08-07 13:37:11 +03:00