Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9b8d0d89
Commit
9b8d0d89
authored
Nov 01, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
56d96ad7
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
120 additions
and
77 deletions
+120
-77
doc/ci/ci_cd_for_external_repos/github_integration.md
doc/ci/ci_cd_for_external_repos/github_integration.md
+1
-1
doc/development/documentation/workflow.md
doc/development/documentation/workflow.md
+1
-1
doc/user/profile/notifications.md
doc/user/profile/notifications.md
+104
-49
doc/user/project/merge_requests/code_quality.md
doc/user/project/merge_requests/code_quality.md
+12
-0
spec/controllers/registrations_controller_spec.rb
spec/controllers/registrations_controller_spec.rb
+2
-0
spec/requests/api/users_spec.rb
spec/requests/api/users_spec.rb
+0
-26
No files found.
doc/ci/ci_cd_for_external_repos/github_integration.md
View file @
9b8d0d89
...
@@ -26,7 +26,7 @@ To perform a one-off authorization with GitHub to grant GitLab access your
...
@@ -26,7 +26,7 @@ To perform a one-off authorization with GitHub to grant GitLab access your
repositories:
repositories:
1.
Open
<https://github.com/settings/tokens/new>
to create a
**
Personal Access
1.
Open
<https://github.com/settings/tokens/new>
to create a
**
Personal Access
Token
**
. This token wi
th
be used to access your repository and push commit
Token
**
. This token wi
ll
be used to access your repository and push commit
statuses to GitHub.
statuses to GitHub.
The
`repo`
and
`admin:repo_hook`
should be enable to allow GitLab access to
The
`repo`
and
`admin:repo_hook`
should be enable to allow GitLab access to
...
...
doc/development/documentation/workflow.md
View file @
9b8d0d89
...
@@ -208,7 +208,7 @@ code reviewer have ensured:
...
@@ -208,7 +208,7 @@ code reviewer have ensured:
Documentation
[
is required
](
../contributing/merge_request_workflow.html#definition-of-done
)
for a
Documentation
[
is required
](
../contributing/merge_request_workflow.html#definition-of-done
)
for a
milestone when:
milestone when:
-
A new or enhanced feature is shipped that impacts the user o
f
administrator experience.
-
A new or enhanced feature is shipped that impacts the user o
r
administrator experience.
-
There are changes to the UI or API.
-
There are changes to the UI or API.
-
A process, workflow, or previously documented feature is changed.
-
A process, workflow, or previously documented feature is changed.
-
A feature is deprecated or removed.
-
A feature is deprecated or removed.
...
...
doc/user/profile/notifications.md
View file @
9b8d0d89
This diff is collapsed.
Click to expand it.
doc/user/project/merge_requests/code_quality.md
View file @
9b8d0d89
...
@@ -66,6 +66,18 @@ will scan your source code for code quality issues. The report will be saved as
...
@@ -66,6 +66,18 @@ will scan your source code for code quality issues. The report will be saved as
that you can later download and analyze. Due to implementation limitations we always
that you can later download and analyze. Due to implementation limitations we always
take the latest Code Quality artifact available.
take the latest Code Quality artifact available.
By default, report artifacts are not downloadable. If you need them downloadable on the
job details page, you can add
`gl-code-quality-report.json`
to the artifact paths like so:
```
yaml
include
:
-
template
:
Code-Quality.gitlab-ci.yml
code_quality
:
artifacts
:
paths
:
[
gl-code-quality-report.json
]
```
The included
`code_quality`
job is running in the
`test`
stage, so it needs to be included in your CI config, like so:
The included
`code_quality`
job is running in the
`test`
stage, so it needs to be included in your CI config, like so:
```
yaml
```
yaml
...
...
spec/controllers/registrations_controller_spec.rb
View file @
9b8d0d89
...
@@ -30,6 +30,7 @@ describe RegistrationsController do
...
@@ -30,6 +30,7 @@ describe RegistrationsController do
it
'renders new template and sets the resource variable'
do
it
'renders new template and sets the resource variable'
do
expect
(
subject
).
to
render_template
(
:new
)
expect
(
subject
).
to
render_template
(
:new
)
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
assigns
(
:resource
)).
to
be_a
(
User
)
expect
(
assigns
(
:resource
)).
to
be_a
(
User
)
end
end
end
end
...
@@ -47,6 +48,7 @@ describe RegistrationsController do
...
@@ -47,6 +48,7 @@ describe RegistrationsController do
it
'renders new template and sets the resource variable'
do
it
'renders new template and sets the resource variable'
do
subject
subject
expect
(
response
).
to
have_gitlab_http_status
(
302
)
expect
(
response
).
to
redirect_to
(
new_user_session_path
(
anchor:
'register-pane'
))
expect
(
response
).
to
redirect_to
(
new_user_session_path
(
anchor:
'register-pane'
))
end
end
end
end
...
...
spec/requests/api/users_spec.rb
View file @
9b8d0d89
...
@@ -635,32 +635,6 @@ describe API::Users do
...
@@ -635,32 +635,6 @@ describe API::Users do
end
end
end
end
describe
"GET /users/sign_up"
do
context
'when experimental signup_flow is active'
do
before
do
stub_experiment_for_user
(
signup_flow:
true
)
end
it
"shows sign up page"
do
get
"/users/sign_up"
expect
(
response
).
to
have_gitlab_http_status
(
200
)
expect
(
response
).
to
render_template
(
:new
)
end
end
context
'when experimental signup_flow is not active'
do
before
do
stub_experiment_for_user
(
signup_flow:
false
)
end
it
"redirects to sign in page"
do
get
"/users/sign_up"
expect
(
response
).
to
have_gitlab_http_status
(
302
)
expect
(
response
).
to
redirect_to
(
new_user_session_path
(
anchor:
'register-pane'
))
end
end
end
describe
"PUT /users/:id"
do
describe
"PUT /users/:id"
do
let!
(
:admin_user
)
{
create
(
:admin
)
}
let!
(
:admin_user
)
{
create
(
:admin
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment