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
4d4f8e29
Commit
4d4f8e29
authored
Dec 10, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-12-10
parents
24b82282
185f8a5d
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
222 additions
and
159 deletions
+222
-159
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+1
-1
app/views/shared/issuable/form/_metadata_merge_request_assignee.html.haml
.../issuable/form/_metadata_merge_request_assignee.html.haml
+1
-1
qa/qa/page/merge_request/new.rb
qa/qa/page/merge_request/new.rb
+8
-0
qa/qa/page/merge_request/show.rb
qa/qa/page/merge_request/show.rb
+7
-0
qa/qa/resource/merge_request.rb
qa/qa/resource/merge_request.rb
+1
-0
qa/qa/specs/features/browser_ui/3_create/merge_request/create_merge_request_spec.rb
...er_ui/3_create/merge_request/create_merge_request_spec.rb
+4
-0
vendor/gitignore/CMake.gitignore
vendor/gitignore/CMake.gitignore
+1
-0
vendor/gitignore/Drupal.gitignore
vendor/gitignore/Drupal.gitignore
+42
-35
vendor/gitignore/Global/Emacs.gitignore
vendor/gitignore/Global/Emacs.gitignore
+4
-0
vendor/gitignore/Global/PuTTY.gitignore
vendor/gitignore/Global/PuTTY.gitignore
+2
-0
vendor/gitignore/Global/Virtuoso.gitignore
vendor/gitignore/Global/Virtuoso.gitignore
+18
-0
vendor/gitignore/Global/Xcode.gitignore
vendor/gitignore/Global/Xcode.gitignore
+9
-65
vendor/gitignore/Node.gitignore
vendor/gitignore/Node.gitignore
+4
-1
vendor/gitignore/Python.gitignore
vendor/gitignore/Python.gitignore
+1
-0
vendor/gitignore/Smalltalk.gitignore
vendor/gitignore/Smalltalk.gitignore
+9
-0
vendor/gitignore/TeX.gitignore
vendor/gitignore/TeX.gitignore
+4
-0
vendor/gitignore/Unity.gitignore
vendor/gitignore/Unity.gitignore
+4
-0
vendor/gitignore/VisualStudio.gitignore
vendor/gitignore/VisualStudio.gitignore
+4
-0
vendor/licenses.csv
vendor/licenses.csv
+98
-56
No files found.
app/views/shared/issuable/_sidebar.html.haml
View file @
4d4f8e29
...
...
@@ -16,7 +16,7 @@
-
if
current_user
.block.todo.hide-expanded
=
render
"shared/issuable/sidebar_todo"
,
todo:
todo
,
issuable:
issuable
,
is_collapsed:
true
.block.assignee
.block.assignee
.qa-assignee-block
=
render
"shared/issuable/sidebar_assignees"
,
issuable:
issuable
,
can_edit_issuable:
can_edit_issuable
,
signed_in:
current_user
.
present?
=
render_if_exists
'shared/issuable/sidebar_item_epic'
,
issuable:
issuable
...
...
app/views/shared/issuable/form/_metadata_merge_request_assignee.html.haml
View file @
4d4f8e29
...
...
@@ -5,4 +5,4 @@
=
dropdown_tag
(
user_dropdown_label
(
issuable
.
assignee_id
,
"Assignee"
),
options:
{
toggle_class:
"js-dropdown-keep-input js-user-search js-issuable-form-dropdown js-assignee-search"
,
title:
"Select assignee"
,
filter:
true
,
dropdown_class:
"dropdown-menu-user dropdown-menu-selectable dropdown-menu-assignee js-filter-submit"
,
placeholder:
"Search assignee"
,
data:
{
first_user:
current_user
.
try
(
:username
),
null_user:
true
,
current_user:
true
,
project_id:
issuable
.
project
.
try
(
:id
),
selected:
issuable
.
assignee_id
,
field_name:
"
#{
issuable
.
class
.
model_name
.
param_key
}
[assignee_id]"
,
default_label:
"Assignee"
}
})
=
link_to
'Assign to me'
,
'#'
,
class:
"assign-to-me-link
#{
'hide'
if
issuable
.
assignee_id
==
current_user
.
id
}
"
=
link_to
'Assign to me'
,
'#'
,
class:
"assign-to-me-link
qa-assign-to-me-link
#{
'hide'
if
issuable
.
assignee_id
==
current_user
.
id
}
"
qa/qa/page/merge_request/new.rb
View file @
4d4f8e29
...
...
@@ -26,6 +26,10 @@ module QA
element
:issuable_label
end
view
'app/views/shared/issuable/form/_metadata_merge_request_assignee.html.haml'
do
element
:assign_to_me_link
end
def
create_merge_request
click_element
:issuable_create_button
end
...
...
@@ -50,6 +54,10 @@ module QA
click_link
label
.
title
end
def
assign_to_me
click_element
:assign_to_me_link
end
end
end
end
...
...
qa/qa/page/merge_request/show.rb
View file @
4d4f8e29
...
...
@@ -54,6 +54,7 @@ module QA
end
view
'app/views/shared/issuable/_sidebar.html.haml'
do
element
:assignee_block
element
:labels_block
end
...
...
@@ -102,6 +103,12 @@ module QA
end
end
def
has_assignee?
(
username
)
page
.
within
(
element_selector_css
(
:assignee_block
))
do
has_text?
(
username
)
end
end
def
has_label?
(
label
)
page
.
within
(
element_selector_css
(
:labels_block
))
do
element
=
find
(
'span'
,
text:
label
)
...
...
qa/qa/resource/merge_request.rb
View file @
4d4f8e29
...
...
@@ -63,6 +63,7 @@ module QA
page
.
fill_title
(
@title
)
page
.
fill_description
(
@description
)
page
.
choose_milestone
(
@milestone
)
if
@milestone
page
.
assign_to_me
if
@assignee
==
'me'
labels
.
each
do
|
label
|
page
.
select_label
(
label
)
end
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/create_merge_request_spec.rb
View file @
4d4f8e29
...
...
@@ -4,6 +4,8 @@ module QA
context
'Create'
do
describe
'Merge request creation'
do
it
'user creates a new merge request'
do
gitlab_account_username
=
"@
#{
Runtime
::
User
.
username
}
"
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
...
...
@@ -27,6 +29,7 @@ module QA
merge_request
.
description
=
'Great feature with milestone'
merge_request
.
project
=
current_project
merge_request
.
milestone
=
current_milestone
merge_request
.
assignee
=
'me'
merge_request
.
labels
.
push
(
new_label
)
end
...
...
@@ -34,6 +37,7 @@ module QA
expect
(
merge_request
).
to
have_content
(
'This is a merge request with a milestone'
)
expect
(
merge_request
).
to
have_content
(
'Great feature with milestone'
)
expect
(
merge_request
).
to
have_content
(
/Opened [\w\s]+ ago/
)
expect
(
merge_request
).
to
have_assignee
(
gitlab_account_username
)
expect
(
merge_request
).
to
have_label
(
new_label
.
title
)
end
...
...
vendor/gitignore/CMake.gitignore
View file @
4d4f8e29
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
...
...
vendor/gitignore/Drupal.gitignore
View file @
4d4f8e29
#
Ignore configuration files that may contain sensitive information.
sites/*/*settings*.php
sites/example.sites.php
#
gitignore template for Drupal 8 projects
#
# earlier versions of Drupal are tracked in `community/Python/`
# Ignore paths that contain generated content.
files/
sites/*/files
sites/*/private
sites/*/translations
# Ignore configuration files that may contain sensitive information
/sites/*/*settings*.php
/sites/*/*services*.yml
# Ignore default text files
robots.txt
/CHANGELOG.txt
/COPYRIGHT.txt
/INSTALL*.txt
# Ignore paths that may contain user-generated content
/sites/*/files
/sites/*/public
/sites/*/private
/sites/*/files-public
/sites/*/files-private
# Ignore paths that may contain temporary files
/sites/*/translations
/sites/*/tmp
/sites/*/cache
# Ignore drupal core (if not versioning drupal sources)
/core
/modules/README.txt
/profiles/README.txt
/sites/README.txt
/sites/example.sites.php
/sites/example.settings.local.php
/sites/development.services.yml
/themes/README.txt
/vendor
/.csslintrc
/.editorconfig
/.eslintignore
/.eslintrc.json
/.gitattributes
/.htaccess
/autoload.php
/composer.json
/composer.lock
/example.gitignore
/index.php
/LICENSE.txt
/MAINTAINERS.txt
/UPGRADE.txt
/README.txt
sites/README.txt
sites/all/libraries/README.txt
sites/all/modules/README.txt
sites/all/themes/README.txt
# Ignore everything but the "sites" folder ( for non core developer )
.htaccess
web.config
authorize.php
cron.php
index.php
install.php
update.php
xmlrpc.php
/includes
/misc
/modules
/profiles
/scripts
/themes
/robots.txt
/update.php
/web.config
vendor/gitignore/Global/Emacs.gitignore
View file @
4d4f8e29
...
...
@@ -43,3 +43,7 @@ flycheck_*.el
# directory configuration
.dir-locals.el
# network security
/network-security.data
vendor/gitignore/Global/PuTTY.gitignore
0 → 100644
View file @
4d4f8e29
# Private key
*.ppk
vendor/gitignore/Global/Virtuoso.gitignore
0 → 100644
View file @
4d4f8e29
# Gitignore for Cadence Virtuoso
################################################################
# Log files
*.log
panic*.log.*
# OpenAccess database lock files
*.cdslck*
# Run directories for layout vs. schematic and design rule check
lvsRunDir/*
drcRunDir/*
# Abstract generation tool
abstract.log*
abstract.record*
vendor/gitignore/Global/Xcode.gitignore
View file @
4d4f8e29
...
...
@@ -2,11 +2,17 @@
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
## User settings
xcuserdata/
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
## Various settings
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
...
...
@@ -15,65 +21,3 @@ DerivedData/
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
.build/
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
iOSInjectionProject/
vendor/gitignore/Node.gitignore
View file @
4d4f8e29
...
...
@@ -70,7 +70,10 @@ typings/
.vuepress/dist
# Serverless directories
.serverless
.serverless
/
# FuseBox cache
.fusebox/
#DynamoDB Local files
.dynamodb/
vendor/gitignore/Python.gitignore
View file @
4d4f8e29
...
...
@@ -20,6 +20,7 @@ parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
...
...
vendor/gitignore/Smalltalk.gitignore
View file @
4d4f8e29
# changes file
*.changes
*.chg
# system image
*.image
*.img7
*.img
# Pharo Smalltalk Debug log file
PharoDebug.log
...
...
@@ -10,6 +13,12 @@ PharoDebug.log
# Squeak Smalltalk Debug log file
SqueakDebug.log
# Dolphin Smalltalk source file
*.sml
# Dolphin Smalltalk error file
*.errors
# Monticello package cache
/package-cache
...
...
vendor/gitignore/TeX.gitignore
View file @
4d4f8e29
...
...
@@ -205,6 +205,10 @@ pythontex-files-*/
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
...
...
vendor/gitignore/Unity.gitignore
View file @
4d4f8e29
...
...
@@ -35,3 +35,7 @@ sysinfo.txt
# Builds
*.apk
*.unitypackage
# Crashlytics generated file
Assets/StreamingAssets/crashlytics-build.properties
vendor/gitignore/VisualStudio.gitignore
View file @
4d4f8e29
...
...
@@ -20,6 +20,8 @@
[Rr]eleases/
x64/
x86/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
...
...
@@ -229,6 +231,8 @@ orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true
**/wwwroot/lib/
# RIA/Silverlight projects
Generated_Code/
...
...
vendor/licenses.csv
View file @
4d4f8e29
This diff is collapsed.
Click to expand it.
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