diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-13 12:09:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-13 12:09:22 +0000 |
commit | 286fe61013674fe2d245ffc8d2233baf09923e70 (patch) | |
tree | 2037291f5863105e54e75be056b49f7d62007cae /doc/user | |
parent | 4cb5e5011abfe8d50ac3a7ebd0018c563c6d7af4 (diff) | |
download | gitlab-ce-286fe61013674fe2d245ffc8d2233baf09923e70.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/application_security/img/multi_select_v12_9.png | bin | 0 -> 32804 bytes | |||
-rw-r--r-- | doc/user/application_security/index.md | 13 | ||||
-rw-r--r-- | doc/user/clusters/applications.md | 5 | ||||
-rw-r--r-- | doc/user/permissions.md | 14 | ||||
-rw-r--r-- | doc/user/project/clusters/kubernetes_pod_logs.md | 4 | ||||
-rw-r--r-- | doc/user/project/issues/design_management.md | 13 | ||||
-rw-r--r-- | doc/user/project/releases/index.md | 32 | ||||
-rw-r--r-- | doc/user/project/web_ide/img/commit_changes_v12_3.png | bin | 196689 -> 0 bytes | |||
-rw-r--r-- | doc/user/project/web_ide/img/commit_changes_v12_9.png | bin | 0 -> 681399 bytes | |||
-rw-r--r-- | doc/user/project/web_ide/index.md | 29 |
10 files changed, 71 insertions, 39 deletions
diff --git a/doc/user/application_security/img/multi_select_v12_9.png b/doc/user/application_security/img/multi_select_v12_9.png Binary files differnew file mode 100644 index 00000000000..b2b171e13d0 --- /dev/null +++ b/doc/user/application_security/img/multi_select_v12_9.png diff --git a/doc/user/application_security/index.md b/doc/user/application_security/index.md index da9cecf110c..3028d575050 100644 --- a/doc/user/application_security/index.md +++ b/doc/user/application_security/index.md @@ -113,6 +113,19 @@ context for a vulnerability as you learn more over time.  +#### Dismissing multiple vulnerabilities + +> Introduced in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.9. + +You can dismiss multiple vulnerabilities at once, providing an optional reason. +Selecting the checkboxes on the side of each vulnerability in the list will select that individual vulnerability. +Alternatively, you can select all the vulnerabilities in the list by selecting the checkbox in the table header. +Deselecting the checkbox in the header will deselect all the vulnerabilities in the list. +Once you have selected some vulnerabilities, a menu appears at the top of the table that allows you to select a dismissal reason. +Pressing the "Dismiss Selected" button will dismiss all the selected vulnerabilities at once, with the reason you chose. + + + ### Creating an issue for a vulnerability You can create an issue for a vulnerability by selecting the **Create issue** diff --git a/doc/user/clusters/applications.md b/doc/user/clusters/applications.md index 60ec3852118..900ba62d40d 100644 --- a/doc/user/clusters/applications.md +++ b/doc/user/clusters/applications.md @@ -462,6 +462,11 @@ The chart will deploy 5 Elasticsearch nodes: 2 masters, 2 data and 1 client node with resource requests totalling 0.125 CPU and 4.5GB RAM. Each data node requests 1.5GB of memory, which makes it incompatible with clusters of `f1-micro` and `g1-small` instance types. +NOTE: **Note:** +The Elastic Stack cluster application is intended as a log aggregation solution and is not related to our +[Advanced Global Search](../search/advanced_global_search.md) functionality, which uses a separate +Elasticsearch cluster. + ### Future apps Interested in contributing a new GitLab managed app? Visit the diff --git a/doc/user/permissions.md b/doc/user/permissions.md index 43c23bfe34d..7f06eebc806 100644 --- a/doc/user/permissions.md +++ b/doc/user/permissions.md @@ -69,6 +69,7 @@ The following table depicts the various user permission levels in a project. | See related issues | ✓ | ✓ | ✓ | ✓ | ✓ | | Create confidential issue | ✓ (*1*) | ✓ | ✓ | ✓ | ✓ | | View confidential issues | (*2*) | ✓ | ✓ | ✓ | ✓ | +| View [Releases](project/releases/index.md) | ✓ (*6*) | ✓ | ✓ | ✓ | ✓ | | Assign issues | | ✓ | ✓ | ✓ | ✓ | | Label issues | | ✓ | ✓ | ✓ | ✓ | | Set issue weight | | ✓ | ✓ | ✓ | ✓ | @@ -83,6 +84,7 @@ The following table depicts the various user permission levels in a project. | See a list of merge requests | | ✓ | ✓ | ✓ | ✓ | | View project statistics | | ✓ | ✓ | ✓ | ✓ | | View Error Tracking list | | ✓ | ✓ | ✓ | ✓ | +| Create/edit/delete [Releases](project/releases/index.md)| | | ✓ | ✓ | ✓ | | Pull from [Conan repository](packages/conan_repository/index.md), [Maven repository](packages/maven_repository/index.md), or [NPM registry](packages/npm_registry/index.md) **(PREMIUM)** | | ✓ | ✓ | ✓ | ✓ | | Publish to [Conan repository](packages/conan_repository/index.md), [Maven repository](packages/maven_repository/index.md), or [NPM registry](packages/npm_registry/index.md) **(PREMIUM)** | | | ✓ | ✓ | ✓ | | Upload [Design Management](project/issues/design_management.md) files **(PREMIUM)** | | | ✓ | ✓ | ✓ | @@ -152,6 +154,7 @@ The following table depicts the various user permission levels in a project. 1. If **Public pipelines** is enabled in **Project Settings > CI/CD**. 1. Not allowed for Guest, Reporter, Developer, Maintainer, or Owner. See [Protected Branches](./project/protected_branches.md). 1. If the [branch is protected](./project/protected_branches.md#using-the-allowed-to-merge-and-allowed-to-push-settings), this depends on the access Developers and Maintainers are given. +1. Guest users can access GitLab [**Releases**](project/releases/index.md) for downloading assets but are not allowed to download the source code nor see repository information like tags and commits. ## Project features permissions @@ -198,17 +201,6 @@ Confidential issues can be accessed by reporters and higher permission levels, as well as by guest users that create a confidential issue. To learn more, read through the documentation on [permissions and access to confidential issues](project/issues/confidential_issues.md#permissions-and-access-to-confidential-issues). -### Releases permissions - -[Project Releases](project/releases/index.md) can be read by project -members with Reporter, Developer, Maintainer, and Owner permissions. -Guest users can access Release pages for downloading assets but -are not allowed to download the source code nor see repository -information such as tags and commits. - -Releases can be created, updated, or deleted via [Releases APIs](../api/releases/index.md) -by project Developers, Maintainers, and Owners. - ## Group members permissions NOTE: **Note:** diff --git a/doc/user/project/clusters/kubernetes_pod_logs.md b/doc/user/project/clusters/kubernetes_pod_logs.md index f1899c7b8d9..709eefe07dd 100644 --- a/doc/user/project/clusters/kubernetes_pod_logs.md +++ b/doc/user/project/clusters/kubernetes_pod_logs.md @@ -46,13 +46,15 @@ Logs can be displayed by clicking on a specific pod from [Deploy Boards](../depl ### Logs view -The logs view will contain the last 500 lines for a pod, and has control to filter through: +The logs view lets you filter the logs by: - Pods. - [From GitLab 12.4](https://gitlab.com/gitlab-org/gitlab/issues/5769), environments. - [From GitLab 12.7](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/21656), [full text search](#full-text-search). - [From GitLab 12.8](https://gitlab.com/gitlab-org/gitlab/issues/197879), dates. +Loading more than 500 log lines is possible from [GitLab 12.9](https://gitlab.com/gitlab-org/gitlab/-/issues/198050) onwards. + Support for pods with multiple containers is coming [in a future release](https://gitlab.com/gitlab-org/gitlab/issues/13404). Support for historical data is coming [in a future release](https://gitlab.com/gitlab-org/gitlab/issues/196191). diff --git a/doc/user/project/issues/design_management.md b/doc/user/project/issues/design_management.md index 79ad6efd150..ba9796dc785 100644 --- a/doc/user/project/issues/design_management.md +++ b/doc/user/project/issues/design_management.md @@ -77,17 +77,18 @@ Navigate to the **Design Management** page from any issue by clicking the **Desi To upload design images, click the **Upload Designs** button and select images to upload. -Designs with the same filename as an existing uploaded design will create a new version -of the design, and will replace the previous version. - -Designs cannot be added if the issue has been moved, or its -[discussion is locked](../../discussions/#lock-discussions). - [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/34353) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.9, you can drag and drop designs onto the dedicated dropzone to upload them.  +Designs with the same filename as an existing uploaded design will create a new version +of the design, and will replace the previous version. [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/34353) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.9, dropping a design on an existing uploaded design will also create a new version, +provided the filenames are the same. + +Designs cannot be added if the issue has been moved, or its +[discussion is locked](../../discussions/#lock-discussions). + ### Skipped designs Designs with the same filename as an existing uploaded design _and_ whose content has not changed will be skipped. diff --git a/doc/user/project/releases/index.md b/doc/user/project/releases/index.md index 85da9d9be43..d8935cd7e30 100644 --- a/doc/user/project/releases/index.md +++ b/doc/user/project/releases/index.md @@ -16,13 +16,6 @@ GitLab's **Releases** are a way to track deliverables in your project. Consider a snapshot in time of the source, build output, artifacts, and other metadata associated with a released version of your code. -There are several ways to create a Release: - -- In the interface, when you create a new Git tag. -- In the interface, by adding a release note to an existing Git tag. -- Using the [Releases API](../../../api/releases/index.md): we recommend doing this as one of the last - steps in your CI/CD release pipeline. - ## Getting started with Releases Start by giving a [description](#release-description) to the Release and @@ -117,7 +110,7 @@ it takes you to the list of Releases.  For private projects, the number of Releases is displayed to users with Reporter -[permissions](../../permissions.md#releases-permissions) or higher. For public projects, +[permissions](../../permissions.md#project-members-permissions) or higher. For public projects, it is displayed to every user regardless of their permission level. ### Upcoming Releases @@ -130,6 +123,29 @@ Release tag. Once the `released_at` date and time has passed, the badge is autom  +## Creating a Release + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/32812) in GitLab + 12.9, Releases can be created directly through the GitLab Releases UI. + +NOTE: **Note:** +Only users with Developer permissions or higher can create Releases. +Read more about [Release permissions](../../../user/permissions.md#project-members-permissions). + +To create a new Release through the GitLab UI: + +1. Navigate to **Project overview > Releases** and click the **New release** button. +1. On the **New Tag** page, fill out the tag details. +1. Optionally, in the **Release notes** field, enter the Release's description. + If you leave this field empty, only a tag will be created. + If you populate it, both a tag and a Release will be created. +1. Click **Create tag**. + +If you created a release, you can view it at **Project overview > Releases**. + +You can also create a Release using the [Releases API](../../../api/releases/index.md#create-a-release): +we recommend doing this as one of the last steps in your CI/CD release pipeline. + ## Editing a release > [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/26016) in GitLab 12.6. diff --git a/doc/user/project/web_ide/img/commit_changes_v12_3.png b/doc/user/project/web_ide/img/commit_changes_v12_3.png Binary files differdeleted file mode 100644 index e7dffbc7655..00000000000 --- a/doc/user/project/web_ide/img/commit_changes_v12_3.png +++ /dev/null diff --git a/doc/user/project/web_ide/img/commit_changes_v12_9.png b/doc/user/project/web_ide/img/commit_changes_v12_9.png Binary files differnew file mode 100644 index 00000000000..48491360626 --- /dev/null +++ b/doc/user/project/web_ide/img/commit_changes_v12_9.png diff --git a/doc/user/project/web_ide/index.md b/doc/user/project/web_ide/index.md index ba4eaf9f9b1..aeffd21d48c 100644 --- a/doc/user/project/web_ide/index.md +++ b/doc/user/project/web_ide/index.md @@ -43,30 +43,33 @@ you can find a more complete list of supported languages in the NOTE: **Note:** Single file editing is based on the [Ace Editor](https://ace.c9.io). -## Stage and commit changes +## Commit changes -After making your changes, click the **Commit** button in the bottom left to -review the list of changed files. If you're using GitLab 12.6 or older versions, -click on each file to review the changes and tick the item to stage a file. +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/4539) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 10.4 and [brought to GitLab Core](https://gitlab.com/gitlab-org/gitlab-foss/issues/44157) in 10.7. +> - From [GitLab 12.7 onwards](https://gitlab.com/gitlab-org/gitlab/issues/33441), +files were automatically staged. +> - From [GitLab 12.9 onwards](https://gitlab.com/gitlab-org/gitlab/-/issues/196609), support for staging files was removed +to prevent loss of unstaged data. All your current changes necessarily have to be +committed or discarded. -From [GitLab 12.7 onward](https://gitlab.com/gitlab-org/gitlab/issues/33441), -all your files will be automatically staged. You still have the option to unstage -changes in case you want to submit them in multiple smaller commits. To unstage -a change, simply click the **Unstage** button when a staged file is open, or click -the undo icon next to **Staged changes** to unstage all changes. +After making your changes, click the **Commit** button on the bottom-left to +review the list of changed files. Once you have finalized your changes, you can add a commit message, commit the -staged changes and directly create a merge request. In case you don't have write +changes and directly create a merge request. In case you don't have write access to the selected branch, you will see a warning, but still be able to create a new branch and start a merge request. - +To discard a change in a particular file, click the **Discard changes** button on that +file in the changes tab. To discard all the changes, click the trash icon on the +top-right corner of the changes sidebar. + + ## Reviewing changes Before you commit your changes, you can compare them with the previous commit -by switching to the review mode or selecting the file from the staged files -list. +by switching to the review mode or selecting the file from the list of changes. An additional review mode is available when you open a merge request, which shows you a preview of the merge request diff if you commit your changes. |