GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
johnpearcey
/
gitbucket_jkp
Browse code
(refs #707)Exclude disabled users from completion list
master
1 parent
0b11b8b
commit
4dd8e1dc637fa3a339501c7085ffa733dcce4cd0
Naoki Takezoe
authored
on 30 Apr 2015
Patch
Unified
Split
Showing
1 changed file
+1
-1
■
■
■■■
src/main/scala/gitbucket/core/controller/IndexController.scala
Ignore Space
Show notes
View
2
■
■
■■■
src/main/scala/gitbucket/core/controller/IndexController.scala
*/
get
(
"/_user/proposals"
)(
usersOnly
{
contentType
=
formats
(
"json"
)
org
.
json4s
.
jackson
.
Serialization
.
write
(
Map
(
"options"
->
getAllUsers
().
filter
(!
_
.
isGroupAccount
).
map
(
_
.
userName
).
toArray
)
Map
(
"options"
->
getAllUsers
(
false
).
filter
(!
_
.
isGroupAccount
).
map
(
_
.
userName
).
toArray
)
)
})
/**
Show line notes below