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
246bebde
Commit
246bebde
authored
Oct 31, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-10-31
# Conflicts: # lib/api/issues.rb [ci skip]
parents
5626a354
ed816c3d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
9 deletions
+24
-9
app/assets/javascripts/commons/gitlab_ui.js
app/assets/javascripts/commons/gitlab_ui.js
+0
-2
app/assets/javascripts/ide/components/ide.vue
app/assets/javascripts/ide/components/ide.vue
+2
-2
app/assets/javascripts/ide/components/ide_side_bar.vue
app/assets/javascripts/ide/components/ide_side_bar.vue
+2
-2
app/assets/javascripts/ide/components/repo_commit_section.vue
...assets/javascripts/ide/components/repo_commit_section.vue
+2
-2
app/assets/javascripts/ide/stores/getters.js
app/assets/javascripts/ide/stores/getters.js
+1
-1
app/assets/javascripts/vue_shared/components/pagination_links.vue
...ts/javascripts/vue_shared/components/pagination_links.vue
+4
-0
changelogs/unreleased/gl-ui-pagination.yml
changelogs/unreleased/gl-ui-pagination.yml
+5
-0
changelogs/unreleased/gt-fix-ide-typos-in-props.yml
changelogs/unreleased/gt-fix-ide-typos-in-props.yml
+5
-0
lib/api/issues.rb
lib/api/issues.rb
+3
-0
No files found.
app/assets/javascripts/commons/gitlab_ui.js
View file @
246bebde
import
Vue
from
'
vue
'
;
import
{
GlPagination
,
GlProgressBar
,
GlLoadingIcon
,
GlTooltipDirective
,
}
from
'
@gitlab-org/gitlab-ui
'
;
Vue
.
component
(
'
gl-pagination
'
,
GlPagination
);
Vue
.
component
(
'
gl-progress-bar
'
,
GlProgressBar
);
Vue
.
component
(
'
gl-loading-icon
'
,
GlLoadingIcon
);
...
...
app/assets/javascripts/ide/components/ide.vue
View file @
246bebde
...
...
@@ -43,7 +43,7 @@ export default {
'
currentProjectId
'
,
'
errorMessage
'
,
]),
...
mapGetters
([
'
activeFile
'
,
'
hasChanges
'
,
'
someUncommitedChanges
'
,
'
isCommitModeActive
'
]),
...
mapGetters
([
'
activeFile
'
,
'
hasChanges
'
,
'
someUncommit
t
edChanges
'
,
'
isCommitModeActive
'
]),
},
mounted
()
{
window
.
onbeforeunload
=
e
=>
this
.
onBeforeUnload
(
e
);
...
...
@@ -63,7 +63,7 @@ export default {
onBeforeUnload
(
e
=
{})
{
const
returnValue
=
__
(
'
Are you sure you want to lose unsaved changes?
'
);
if
(
!
this
.
someUncommitedChanges
)
return
undefined
;
if
(
!
this
.
someUncommit
t
edChanges
)
return
undefined
;
Object
.
assign
(
e
,
{
returnValue
,
...
...
app/assets/javascripts/ide/components/ide_side_bar.vue
View file @
246bebde
...
...
@@ -25,11 +25,11 @@ export default {
},
computed
:
{
...
mapState
([
'
loading
'
,
'
currentActivityView
'
,
'
changedFiles
'
,
'
stagedFiles
'
,
'
lastCommitMsg
'
]),
...
mapGetters
([
'
currentProject
'
,
'
someUncommitedChanges
'
]),
...
mapGetters
([
'
currentProject
'
,
'
someUncommit
t
edChanges
'
]),
showSuccessMessage
()
{
return
(
this
.
currentActivityView
===
activityBarViews
.
edit
&&
(
this
.
lastCommitMsg
&&
!
this
.
someUncommitedChanges
)
(
this
.
lastCommitMsg
&&
!
this
.
someUncommit
t
edChanges
)
);
},
},
...
...
app/assets/javascripts/ide/components/repo_commit_section.vue
View file @
246bebde
...
...
@@ -27,10 +27,10 @@ export default {
'
unusedSeal
'
,
]),
...
mapState
(
'
commit
'
,
[
'
commitMessage
'
,
'
submitCommitLoading
'
]),
...
mapGetters
([
'
lastOpenedFile
'
,
'
hasChanges
'
,
'
someUncommitedChanges
'
,
'
activeFile
'
]),
...
mapGetters
([
'
lastOpenedFile
'
,
'
hasChanges
'
,
'
someUncommit
t
edChanges
'
,
'
activeFile
'
]),
...
mapGetters
(
'
commit
'
,
[
'
discardDraftButtonDisabled
'
]),
showStageUnstageArea
()
{
return
!!
(
this
.
someUncommitedChanges
||
this
.
lastCommitMsg
||
!
this
.
unusedSeal
);
return
!!
(
this
.
someUncommit
t
edChanges
||
this
.
lastCommitMsg
||
!
this
.
unusedSeal
);
},
activeFileKey
()
{
return
this
.
activeFile
?
this
.
activeFile
.
key
:
null
;
...
...
app/assets/javascripts/ide/stores/getters.js
View file @
246bebde
...
...
@@ -63,7 +63,7 @@ export const isEditModeActive = state => state.currentActivityView === activityB
export
const
isCommitModeActive
=
state
=>
state
.
currentActivityView
===
activityBarViews
.
commit
;
export
const
isReviewModeActive
=
state
=>
state
.
currentActivityView
===
activityBarViews
.
review
;
export
const
someUncommitedChanges
=
state
=>
export
const
someUncommit
t
edChanges
=
state
=>
!!
(
state
.
changedFiles
.
length
||
state
.
stagedFiles
.
length
);
export
const
getChangesInFolder
=
state
=>
path
=>
{
...
...
app/assets/javascripts/vue_shared/components/pagination_links.vue
View file @
246bebde
<
script
>
import
{
GlPagination
}
from
'
@gitlab-org/gitlab-ui
'
;
import
{
s__
}
from
'
../../locale
'
;
export
default
{
components
:
{
GlPagination
,
},
props
:
{
change
:
{
type
:
Function
,
...
...
changelogs/unreleased/gl-ui-pagination.yml
0 → 100644
View file @
246bebde
---
title
:
Remove gitlab-ui's pagination from global
merge_request
:
author
:
type
:
performance
changelogs/unreleased/gt-fix-ide-typos-in-props.yml
0 → 100644
View file @
246bebde
---
title
:
Fix IDE typos in props
merge_request
:
22685
author
:
George Tsiolis
type
:
other
lib/api/issues.rb
View file @
246bebde
...
...
@@ -17,8 +17,11 @@ module API
end
end
<<<<<<<
HEAD
prepend
EE
::
API
::
Issues
=======
>>>>>>>
upstream
/
master
helpers
do
# rubocop: disable CodeReuse/ActiveRecord
def
find_issues
(
args
=
{})
...
...
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