Commit Graph

2074 Commits

Author SHA1 Message Date
Reuben Pereira e5bdcfbc9b [ADD] outbound requests whitelist
Signed-off-by: Istvan szalai <istvan.szalai@savoirfairelinux.com>
2019-07-24 17:59:38 +00:00
Evan Read a0adccd210 Fix some errors in Markdown files 2019-07-24 13:32:15 +00:00
Marcel Amirault 74a34e8b7b Clean up headers in markdown
Some markdown headers needed tweaking to adhere
to standards, including blank lines above and below,
only one space after hash, first header should be
h1, and only one h1 per doc
2019-07-24 13:10:06 +00:00
Sean McGivern b2e4a7957a Merge branch 'gsemet/gitlab-ce-gsemet-master-patch-33258' into 'master'
Multiple pipeline support for Build status

See merge request gitlab-org/gitlab-ce!30828
2019-07-23 11:57:30 +00:00
Matija Čupić 41b8dca877
Add specs for specifying pipeline behavior
Adds specs for testing the new behavior of specifying a pipeline when
POSTing a status.
2019-07-23 12:02:07 +02:00
Steve Abrams aba93fe2d5 OAuth2 support for GitLab personal access tokens
PATs are accepted using the OAuth2 compliant header
"Authorization: Bearer {token}" in order to allow for
OAuth requests while 2FA is enabled.
2019-07-22 08:50:25 +00:00
Adam Hegyi 1bc5a3e4bd Add a note about private_profile changes in 12.1 2019-07-19 09:53:19 +00:00
Evan Read ab105df609 Merge branch 'fix-lint-api-path-in-docs' into 'master'
Update lint.md to provide correct path for API call as per #58223

Closes #58223

See merge request gitlab-org/gitlab-ce!25703
2019-07-19 05:28:42 +00:00
Marcel Amirault 7da80b2d36 Update numbered lists for docs standards
Ensure that all numbered lists use only 1. and no other numbers.
Also ensure that numbered lists use proper spacing.
2019-07-19 02:20:32 +00:00
Elliot Rushton 4c2e44801f Update lint.md to provide the correct path for the API 2019-07-18 14:57:11 -07:00
Nick Thomas 3069cb2545 Merge branch 'webide-commit-use-correct-parent' into 'master'
Use correct parent when committing in WebIDE

See merge request gitlab-org/gitlab-ce!29598
2019-07-18 10:47:35 +00:00
Markus Koller f8cecafb07
Add start_sha to commits API
When passing start_branch on committing from the WebIDE, it's possible
that the branch has changed since editing started, which results in the
change being applied on top of the latest commit in the branch and
overwriting the new changes.

By passing the start_sha instead we can make sure that the change is
applied on top of the commit which the user started editing from.
2019-07-18 09:19:18 +02:00
Imre Farkas feb571a1dd Doc for "Move external authorization service API management to EE" 2019-07-18 01:19:46 +00:00
Gaetan Semet 4e814c257b
Multiple pipeline support for Build status
This allows user to specify the pipeline ID
when several pipelines has been triggered
on the same branch and commit.

Signed-off-by: Gaetan Semet <gaetan.semet@renault.com>
2019-07-17 14:43:15 +02:00
Stan Hu f0400dc7c0 Merge branch '12800-read-and-write-user-admin-notes-via-api-ce' into 'master'
CE Backport: Read and write User "Admin notes" via API

See merge request gitlab-org/gitlab-ce!30775
2019-07-16 22:13:26 +00:00
manojmj ce40c12849 CE: Read and write User "Admin notes" via API
This change adds the ability to read and
write admin notes for a user via the
USER API
2019-07-17 01:11:10 +05:30
Tetiana Chupryna 96454b0fb6 Docs Dependencies API 2019-07-16 13:06:09 +00:00
Jason Goodman d4ffcb69e6 Update Release API docs
Include released_at parameter
2019-07-16 11:47:46 +00:00
Evan Read 11b10d901e Rewrite to avoid square brackets, minimizing Kramdown warnings 2019-07-16 07:29:48 +00:00
Evan Read 9fe1cdf7bd Merge branch 'mc/docs/api-download-latest-artifact-docs' into 'master'
Update job artifact download docs

See merge request gitlab-org/gitlab-ce!30714
2019-07-16 06:20:24 +00:00
Adam Hegyi 4959d8fd49 Migrate null values for users.private_profile
- Background migration for changing null values to false
- Set false as default value for private_profile DB column
2019-07-15 21:07:54 +00:00
Evan Read 1daf4e1832 Convert more product badges to round brackets 2019-07-15 14:11:49 +00:00
Michel Engelen 24a5fe6b14 Rename "discussions" to "threads" in docs 2019-07-15 06:10:32 +00:00
Marcel Amirault 4121c63676 Remove extra blank lines from docs
Removing extra blank lines in docs that serve
no purpose, as well as some --- lines that also
are not needed.
2019-07-15 01:04:35 +00:00
Matija Čupić eea4003154
Update job artifact download docs 2019-07-14 15:08:46 +02:00
Grzegorz Bizon 1def071991 Merge branch '55623-group-cluster-apis' into 'master'
Resolve "API support for group-level clusters"

Closes #55623

See merge request gitlab-org/gitlab-ce!30213
2019-07-12 08:36:24 +00:00
Marcel Amirault 143872fa52 Remove trailing whitespace in docs
Remove unneeded trailing whitespace in lines in
/development /ci /api and /administration docs.
2019-07-12 08:15:38 +00:00
Marcel Amirault c6f943db44 Add blank lines around code blocks
All code blocks should be surrounded by blank lines
2019-07-12 08:09:23 +00:00
Marcel Amirault b71835818a Remove hard tabs from docs
Hard tabs do not follow general markdown guidelines
are were removed from the few docs that used them
2019-07-11 22:53:54 +00:00
Felipe Artur f0683aab05 Improve Graphql Docs
Adds more friendly docs for GraphQl implementation
2019-07-11 08:06:35 +00:00
Dylan Griffith 7fb076f5d0 Add API for CRUD group clusters
This is basically a copy of the API for project clusters.
2019-07-11 17:22:58 +10:00
Evan Read 877395b17b Edit GraphQL general availability text 2019-07-10 18:11:06 +00:00
rossfuhrman 3975799255 Vulnerabilities API now supports pipeline_id 2019-07-10 16:53:15 +00:00
Cindy Pallares 🦉 275f37030f Include merge method link in attribute description
Currently, the project visibility methods attribute description link to
the descriptions and options for visibility methods. The merge methods
attribute description doesn't should do the same.
2019-07-10 03:08:15 +00:00
Douglas Barbosa Alexandre 2615265ef8
Merge branch 'master' into sathieu/gitlab-ce-project_api 2019-07-09 14:45:46 -03:00
Maikel 4d8f28f6e9
Document the negative commit message push rule for the API. 2019-07-09 17:01:14 +01:00
charlie ablett 639ab5214c Remove `:graphql` feature flag
- Remove `FeatureConstrainer` call wrapping api endpoint
- Remove `Feature.enabled?(:graphql)` conditionals in back and frontend
- Modify graphql test to be graphql flag agnostic
- Remove api routing spec
- Remove frontend feature flag via `gon`
2019-07-09 12:45:23 +00:00
Tim Zallmann b9e52612fe Updates on success of an MR the count on top and in other tabs
New API endpoint for merge request count
Updates all open tabs at the same time with one call
Restructured API response

API response changed to 401 if no current_user

Added API + JS specs

Fix for Static Check

Updated Count on Open/Close, Assign/Unassign of MR's

Checking if MR Count is refreshed

Added # frozen_string_literal: true to spec

Added Changelog
2019-07-09 08:44:19 +00:00
Marcel Amirault e83519bb7c Docs: Add missing backtick fence to code block 2019-07-09 07:16:55 +00:00
Marcel Amirault 5abfc57ec3 Fix spacing of code blocks
Code blocks should not be spaced 4 times, as this will
prevent the code from being colored. They should
also be spaced the same as the lists they are a part
of, to make reading easier.
2019-07-09 07:16:17 +00:00
Marcel Amirault 25aa4e0322 Remove extra whitespaces in docs
Removes all the extra whitespaces at end of lines,
inside tags, and removes extra newlines
2019-07-09 03:28:41 +00:00
Evan Read 4f93fa4b7d Add lint rule that headings must increment one level at a time
Also fixes instances in Markdown that broke the rule.
2019-07-08 11:07:07 +00:00
Marcel Amirault 73c6477b7e Changing badges to use parentheses not brackets
Previously, we used brackets to denote the tier badges,
but this made Kramdown, the docs site Markdown renderer,
show many warnings when building the site. This is now
fixed by using parentheses instead of square brackets.

This was caused by [PREMIUM] looking like a link to
Kramdown, which couldn't find a URL there.

See:
- https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/484
- https://gitlab.com/gitlab-org/gitlab-ce/issues/63800
2019-07-08 08:50:38 +00:00
Marcel Amirault 518e2b81e3 Update redirected links in CE part 1
First MR in a series updating all redirected links
in CE documentation to the destination URLs
2019-07-08 00:41:33 +00:00
sujay patel e241c89977 Adding order by to list runner jobs api. 2019-07-05 14:24:56 +05:30
sujay patel b71250ca0f Adding order by to list runner jobs api. 2019-07-05 14:19:28 +05:30
Marcel Amirault e108f0d961 Small markdown tweaks to clear kramdown warnings
Fixing square brackets, links, etc in:
  merge_requests.md
  vulnerabilities.md
  issues.md
  issues_statistics.md
  pipelines.md
  services.md
  group_milestones.md
  milestones.md
  runners.md
  changelog.md
  issue_workflow.md
  elasticsearch.md
  api_graphql_styleguide.md
  automatic_ce_ee_merge.md
  file_storage.md
  architecture.md
  database_debugging.md
  index.md
  index.md
  frontend_testing.md
  pry_debugging.md
  vue.md
  development_process.md
2019-07-04 22:46:12 +00:00
Douglas Barbosa Alexandre eaa6edbff3 Merge branch '54117-transactional-rebase' into 'master'
Allow asynchronous rebase operations to be monitored

Closes #54117

See merge request gitlab-org/gitlab-ce!29940
2019-07-04 16:30:40 +00:00
Marcel Amirault 8ac2c3ef43 Clean up EE api docs that were merged to CE
Many small fixes to api docs which were merged from EE to CE,
and tables cleaned up, as noted in issue
https://gitlab.com/gitlab-org/gitlab-ce/issues/64072
2019-07-04 08:22:41 +00:00
Nick Thomas 203ef33639
Reduce changes to doc/api/projects.md 2019-07-04 09:08:35 +01:00