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
0f335323
Commit
0f335323
authored
May 12, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Frontend conflicts
[ci skip] Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
90c5df04
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
47 deletions
+0
-47
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+0
-5
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js
...uest_widget/components/states/mr_widget_ready_to_merge.js
+0
-16
app/assets/javascripts/vue_merge_request_widget/dependencies.js
...sets/javascripts/vue_merge_request_widget/dependencies.js
+0
-17
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
...javascripts/vue_merge_request_widget/mr_widget_options.js
+0
-3
app/assets/javascripts/vue_merge_request_widget/stores/mr_widget_store.js
...cripts/vue_merge_request_widget/stores/mr_widget_store.js
+0
-3
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+0
-3
No files found.
app/assets/javascripts/notes.js
View file @
0f335323
...
...
@@ -1121,13 +1121,8 @@ const normalizeNewlines = function(str) {
}
};
<<<<<<<
HEAD
Notes
.
animateAppendNote
=
function
(
noteHTML
,
$notesList
)
{
const
$note
=
window
.
$
(
noteHTML
);
=======
Notes
.
animateAppendNote
=
function
(
noteHtml
,
$notesList
)
{
const
$note
=
$
(
noteHtml
);
>>>>>>>
upstream
/
master
$note
.
addClass
(
'
fade-in-full
'
).
renderGFM
();
$notesList
.
append
(
$note
);
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_ready_to_merge.js
View file @
0f335323
...
...
@@ -67,22 +67,16 @@ export default {
return
Boolean
(
!
commitMessage
.
length
||
!
this
.
isMergeAllowed
()
||
this
.
isMakingRequest
<<<<<<<
HEAD
||
this
.
isApprovalNeeded
=======
>>>>>>>
upstream
/
master
||
this
.
mr
.
preventMerge
);
},
shouldShowSquashBeforeMerge
()
{
const
{
commitsCount
,
enableSquashBeforeMerge
}
=
this
.
mr
;
return
enableSquashBeforeMerge
&&
commitsCount
>
1
;
},
<<<<<<<
HEAD
isApprovalNeeded
()
{
return
this
.
mr
.
approvalsRequired
?
!
this
.
mr
.
isApproved
:
false
;
},
=======
>>>>>>>
upstream
/
master
},
methods
:
{
isMergeAllowed
()
{
...
...
@@ -273,7 +267,6 @@ export default {
:mr="mr"
:is-merge-button-disabled="isMergeButtonDisabled" />
<<<<<<< HEAD
<span v-if="mr.ffOnlyEnabled">
Fast-forward merge without a merge commit
</span>
...
...
@@ -287,15 +280,6 @@ export default {
</button>
</span>
=======
<button
@click="toggleCommitMessageEditor"
:disabled="isMergeButtonDisabled"
class="btn btn-default btn-xs"
type="button">
Modify commit message
</button>
>>>>>>> upstream/master
<div
v-if="showCommitMessageEditor"
class="prepend-top-default commit-message-editor">
...
...
app/assets/javascripts/vue_merge_request_widget/dependencies.js
View file @
0f335323
<<<<<<<
HEAD
=======
/**
* This file is the centerpiece of an attempt to reduce potential conflicts
* between the CE and EE versions of the MR widget. EE additions to the MR widget should
...
...
@@ -11,7 +9,6 @@
* should overwrite import paths **without** changing the order of dependencies listed here.
*/
>>>>>>>
upstream
/
master
export
{
default
as
Vue
}
from
'
vue
'
;
export
{
default
as
SmartInterval
}
from
'
~/smart_interval
'
;
export
{
default
as
WidgetHeader
}
from
'
./components/mr_widget_header
'
;
...
...
@@ -29,18 +26,13 @@ export { default as ConflictsState } from './components/states/mr_widget_conflic
export
{
default
as
NothingToMergeState
}
from
'
./components/states/mr_widget_nothing_to_merge
'
;
export
{
default
as
MissingBranchState
}
from
'
./components/states/mr_widget_missing_branch
'
;
export
{
default
as
NotAllowedState
}
from
'
./components/states/mr_widget_not_allowed
'
;
<<<<<<<
HEAD
export
{
default
as
ReadyToMergeState
}
from
'
./ee/components/states/mr_widget_ready_to_merge
'
;
=======
export
{
default
as
ReadyToMergeState
}
from
'
./components/states/mr_widget_ready_to_merge
'
;
>>>>>>>
upstream
/
master
export
{
default
as
UnresolvedDiscussionsState
}
from
'
./components/states/mr_widget_unresolved_discussions
'
;
export
{
default
as
PipelineBlockedState
}
from
'
./components/states/mr_widget_pipeline_blocked
'
;
export
{
default
as
PipelineFailedState
}
from
'
./components/states/mr_widget_pipeline_failed
'
;
export
{
default
as
MergeWhenPipelineSucceedsState
}
from
'
./components/states/mr_widget_merge_when_pipeline_succeeds
'
;
export
{
default
as
AutoMergeFailed
}
from
'
./components/states/mr_widget_auto_merge_failed
'
;
export
{
default
as
CheckingState
}
from
'
./components/states/mr_widget_checking
'
;
<<<<<<<
HEAD
export
{
default
as
MRWidgetStore
}
from
'
./ee/stores/mr_widget_store
'
;
export
{
default
as
MRWidgetService
}
from
'
./ee/services/mr_widget_service
'
;
export
{
default
as
eventHub
}
from
'
./event_hub
'
;
...
...
@@ -48,12 +40,3 @@ export { default as getStateKey } from './ee/stores/get_state_key';
export
{
default
as
mrWidgetOptions
}
from
'
./ee/mr_widget_options
'
;
export
{
default
as
stateMaps
}
from
'
./ee/stores/state_maps
'
;
export
{
default
as
SquashBeforeMerge
}
from
'
./ee/components/states/mr_widget_squash_before_merge
'
;
=======
export
{
default
as
MRWidgetStore
}
from
'
./stores/mr_widget_store
'
;
export
{
default
as
MRWidgetService
}
from
'
./services/mr_widget_service
'
;
export
{
default
as
eventHub
}
from
'
./event_hub
'
;
export
{
default
as
getStateKey
}
from
'
./stores/get_state_key
'
;
export
{
default
as
mrWidgetOptions
}
from
'
./mr_widget_options
'
;
export
{
default
as
stateMaps
}
from
'
./stores/state_maps
'
;
export
{
default
as
SquashBeforeMerge
}
from
'
./components/states/mr_widget_squash_before_merge
'
;
>>>>>>>
upstream
/
master
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
View file @
0f335323
...
...
@@ -69,11 +69,8 @@ export default {
ciEnvironmentsStatusPath
:
store
.
ciEnvironmentsStatusPath
,
statusPath
:
store
.
statusPath
,
mergeActionsContentPath
:
store
.
mergeActionsContentPath
,
<<<<<<<
HEAD
rebasePath
:
store
.
rebasePath
,
approvalsPath
:
store
.
approvalsPath
,
=======
>>>>>>>
upstream
/
master
};
return
new
MRWidgetService
(
endpoints
);
},
...
...
app/assets/javascripts/vue_merge_request_widget/stores/mr_widget_store.js
View file @
0f335323
...
...
@@ -11,12 +11,9 @@ export default class MergeRequestStore {
const
currentUser
=
data
.
current_user
;
const
pipelineStatus
=
data
.
pipeline
?
data
.
pipeline
.
details
.
status
:
null
;
<<<<<<<
HEAD
// EE specific
this
.
squash
=
data
.
squash
;
=======
>>>>>>>
upstream
/
master
this
.
title
=
data
.
title
;
this
.
targetBranch
=
data
.
target_branch
;
this
.
sourceBranch
=
data
.
source_branch
;
...
...
app/assets/stylesheets/framework/lists.scss
View file @
0f335323
...
...
@@ -152,16 +152,13 @@ ul.content-list {
margin-top
:
3px
;
margin-bottom
:
4px
;
<<<<<<<
HEAD
&
.btn-ldap-override
{
@media
(
min-width
:
$screen-sm-min
)
{
margin-bottom
:
0
;
}
}
=======
&
.has-tooltip
,
>>>>>>>
upstream
/
master
&
:last-child
{
margin-right
:
0
;
...
...
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