Class

gitbucket.core.controller

IssuesController

Related Doc: package controller

Permalink

class IssuesController extends ControllerBase with IssuesControllerBase with IssuesService with RepositoryService with AccountService with LabelsService with MilestonesService with ActivityService with HandleCommentService with ReadableUsersAuthenticator with ReferrerAuthenticator with CollaboratorsAuthenticator with PullRequestService with WebHookIssueCommentService

Linear Supertypes
WebHookIssueCommentService, WebHookPullRequestService, WebHookService, PullRequestService, CollaboratorsAuthenticator, ReferrerAuthenticator, ReadableUsersAuthenticator, HandleCommentService, ActivityService, MilestonesService, LabelsService, AccountService, RepositoryService, IssuesService, IssuesControllerBase, ControllerBase, SystemSettingsService, Validations, FlashMapSupport, I18nSupport, JacksonJsonSupport, JValueResult, JacksonJsonOutput, JsonMethods, JsonSupport[JValue], JsonOutput[JValue], JsonMethods[JValue], ApiFormats, ClientSideValidationFormSupport, ScalatraFilter, ServletBase, ScalatraBase, DefaultImplicitConversions, LowPriorityImplicitConversions, LowestPriorityImplicitConversions, TypeConverterSupport, ScalatraParamsImplicits, Initializable, DynamicScope, RequestResponseScope, CoreDsl, Control, Handler, ScalatraContext, CookieContext, SessionSupport, ServletApiImplicits, Filter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IssuesController
  2. WebHookIssueCommentService
  3. WebHookPullRequestService
  4. WebHookService
  5. PullRequestService
  6. CollaboratorsAuthenticator
  7. ReferrerAuthenticator
  8. ReadableUsersAuthenticator
  9. HandleCommentService
  10. ActivityService
  11. MilestonesService
  12. LabelsService
  13. AccountService
  14. RepositoryService
  15. IssuesService
  16. IssuesControllerBase
  17. ControllerBase
  18. SystemSettingsService
  19. Validations
  20. FlashMapSupport
  21. I18nSupport
  22. JacksonJsonSupport
  23. JValueResult
  24. JacksonJsonOutput
  25. JsonMethods
  26. JsonSupport
  27. JsonOutput
  28. JsonMethods
  29. ApiFormats
  30. ClientSideValidationFormSupport
  31. ScalatraFilter
  32. ServletBase
  33. ScalatraBase
  34. DefaultImplicitConversions
  35. LowPriorityImplicitConversions
  36. LowestPriorityImplicitConversions
  37. TypeConverterSupport
  38. ScalatraParamsImplicits
  39. Initializable
  40. DynamicScope
  41. RequestResponseScope
  42. CoreDsl
  43. Control
  44. Handler
  45. ScalatraContext
  46. CookieContext
  47. SessionSupport
  48. ServletApiImplicits
  49. Filter
  50. AnyRef
  51. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IssuesController()

    Permalink

Type Members

  1. case class CommentForm(issueId: Int, content: String) extends Product with Serializable

    Permalink
    Definition Classes
    IssuesControllerBase
  2. trait Config extends AnyRef

    Permalink
    Definition Classes
    Initializable
  3. type ConfigT = FilterConfig

    Permalink
    Definition Classes
    ScalatraFilter → ServletBase → Initializable
  4. case class IssueCreateForm(title: String, content: Option[String], assignedUserName: Option[String], milestoneId: Option[Int], labelNames: Option[String]) extends Product with Serializable

    Permalink
    Definition Classes
    IssuesControllerBase
  5. case class IssueStateForm(issueId: Int, content: Option[String]) extends Product with Serializable

    Permalink
    Definition Classes
    IssuesControllerBase
  6. sealed class TypedMultiParams extends AnyRef

    Permalink
    Definition Classes
    ScalatraParamsImplicits
  7. sealed class TypedParams extends AnyRef

    Permalink
    Definition Classes
    ScalatraParamsImplicits

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def NotFound(): ActionResult

    Permalink
    Attributes
    protected
    Definition Classes
    ControllerBase
  5. def RawData[T](contentType: String, rawData: T): T

    Permalink

    Use this method to response the raw data against XSS.

    Use this method to response the raw data against XSS.

    Attributes
    protected
    Definition Classes
    ControllerBase
  6. def Unauthorized()(implicit context: Context): ActionResult

    Permalink
    Attributes
    protected
    Definition Classes
    ControllerBase
  7. def acceptHeader(implicit request: HttpServletRequest): List[String]

    Permalink
    Definition Classes
    ApiFormats
  8. def acceptedFormats(accepted: Symbol*): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  9. def addCollaborator(userName: String, repositoryName: String, collaboratorName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Add collaborator to the repository.

    Add collaborator to the repository.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    collaboratorName

    the collaborator name

    Definition Classes
    RepositoryService
  10. def addMimeMapping(mime: String, extension: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  11. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: ⇒ Any): Route

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  12. def addSessionId(uri: String)(implicit response: HttpServletResponse): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  13. def addStatusRoute(codes: Range, action: ⇒ Any): Unit

    Permalink
    Attributes
    protected[org.scalatra]
    Definition Classes
    ScalatraBase
  14. def addWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    WebHookService
  15. def after(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  16. def ajaxDelete[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ClientSideValidationFormSupport
  17. def ajaxGet[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ControllerBase → ClientSideValidationFormSupport
  18. def ajaxGet(path: String)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ControllerBase
  19. def ajaxPost[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ControllerBase → ClientSideValidationFormSupport
  20. def ajaxPost(path: String)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ControllerBase
  21. def ajaxPut[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ClientSideValidationFormSupport
  22. implicit val anyToBoolean: TypeConverter[Any, Boolean]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  23. implicit val anyToByte: TypeConverter[Any, Byte]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  24. implicit val anyToDouble: TypeConverter[Any, Double]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  25. implicit val anyToFloat: TypeConverter[Any, Float]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  26. implicit val anyToInt: TypeConverter[Any, Int]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  27. implicit val anyToLong: TypeConverter[Any, Long]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  28. implicit val anyToShort: TypeConverter[Any, Short]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  29. implicit val anyToString: TypeConverter[Any, String]

    Permalink
    Definition Classes
    LowPriorityImplicitConversions
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. def asJValue[T](obj: T)(implicit writer: Writer[T]): JValue

    Permalink
    Definition Classes
    JsonMethods
  32. def asJsonNode(jv: JValue): JsonNode

    Permalink
    Definition Classes
    JsonMethods
  33. val assignedUserName: (String) ⇒ Option[String]

    Permalink
    Definition Classes
    IssuesControllerBase
  34. def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Account]

    Permalink
    Definition Classes
    AccountService
  35. def baseUrl(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    SystemSettingsService
  36. def before(transformers: RouteTransformer*)(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  37. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  38. def cacheRequestBodyAsString: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  39. def callIssueCommentWebHook(repository: RepositoryInfo, issue: Issue, issueCommentId: Int, sender: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session, context: api.JsonFormat.Context): Unit

    Permalink
    Definition Classes
    WebHookIssueCommentService
  40. def callIssuesWebHook(action: String, repository: RepositoryInfo, issue: Issue, baseUrl: String, sender: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session, context: api.JsonFormat.Context): Unit

    Permalink
    Definition Classes
    WebHookPullRequestService
  41. def callPullRequestWebHook(action: String, repository: RepositoryInfo, issueId: Int, baseUrl: String, sender: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session, context: api.JsonFormat.Context): Unit

    Permalink
    Definition Classes
    WebHookPullRequestService
  42. def callPullRequestWebHookByRequestBranch(action: String, requestRepository: RepositoryInfo, requestBranch: String, baseUrl: String, sender: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session, context: api.JsonFormat.Context): Unit

    Permalink
    Definition Classes
    WebHookPullRequestService
  43. def callWebHook(event: Event, webHooks: List[WebHook], payload: WebHookPayload)(implicit c: api.JsonFormat.Context): List[(WebHook, String, Future[HttpRequest], Future[HttpResponse])]

    Permalink
    Definition Classes
    WebHookService
  44. def callWebHookOf(owner: String, repository: String, event: Event)(makePayload: ⇒ Option[WebHookPayload])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session, c: api.JsonFormat.Context): Unit

    Permalink
    Definition Classes
    WebHookService
  45. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def closeIssuesFromMessage(message: String, userName: String, owner: String, repository: String)(implicit s: Session): Unit

    Permalink
    Definition Classes
    IssuesService
  47. def closeMilestone(milestone: Milestone)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    MilestonesService
  48. def collaboratorsOnly[T](action: (T, RepositoryInfo) ⇒ Any): (T) ⇒ Any

    Permalink
    Attributes
    protected
    Definition Classes
    CollaboratorsAuthenticator
  49. def collaboratorsOnly(action: (RepositoryInfo) ⇒ Any): Any

    Permalink
    Attributes
    protected
    Definition Classes
    CollaboratorsAuthenticator
  50. def color: Constraint

    Permalink

    Constraint for the color pattern.

    Constraint for the color pattern.

    Definition Classes
    Validations
  51. val commentForm: MappingValueType[CommentForm]

    Permalink
    Definition Classes
    IssuesControllerBase
  52. def compact(d: JValue): String

    Permalink
    Definition Classes
    JsonMethods → JsonMethods
  53. var config: ConfigT

    Permalink
    Definition Classes
    ScalatraBase
  54. implicit def configWrapper(config: ConfigT): Config { object initParameters }

    Permalink
    Attributes
    protected
    Definition Classes
    ServletBase → Initializable
  55. def contentType: String

    Permalink
    Definition Classes
    ScalatraContext
  56. def contentTypeInferrer: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats → ScalatraBase
  57. def contentType_=(contentType: String): Unit

    Permalink
    Definition Classes
    ScalatraContext
  58. implicit def context: Context

    Permalink

    Returns the context object for the request.

    Returns the context object for the request.

    Definition Classes
    ControllerBase
  59. def contextPath: String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  60. implicit def cookieOptions: CookieOptions

    Permalink
    Definition Classes
    CookieContext
  61. def cookies(implicit request: HttpServletRequest): SweetCookies

    Permalink
    Definition Classes
    CookieContext
  62. def countIssue(condition: IssueSearchCondition, onlyPullRequest: Boolean, repos: (String, String)*)(implicit s: Session): Int

    Permalink

    Returns the count of the search result against issues.

    Returns the count of the search result against issues.

    condition

    the search condition

    onlyPullRequest

    if true then counts only pull request, false then counts both of issue and pull request.

    repos

    Tuple of the repository owner and the repository name

    returns

    the count of the search result

    Definition Classes
    IssuesService
  63. def countIssueGroupByLabels(owner: String, repository: String, condition: IssueSearchCondition, filterUser: Map[String, String])(implicit s: Session): Map[String, Int]

    Permalink

    Returns the Map which contains issue count for each labels.

    Returns the Map which contains issue count for each labels.

    owner

    the repository owner

    repository

    the repository name

    condition

    the search condition

    returns

    the Map which contains issue count for each labels (key is label name, value is issue count)

    Definition Classes
    IssuesService
  64. def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, url: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  65. def createComment(owner: String, repository: String, loginUser: String, issueId: Int, content: String, action: String)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  66. def createGroup(groupName: String, url: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  67. def createIssue(owner: String, repository: String, loginUser: String, title: String, content: Option[String], assignedUserName: Option[String], milestoneId: Option[Int], isPullRequest: Boolean = false)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  68. def createIssueComment(owner: String, repository: String, commit: CommitInfo)(implicit s: Session): Unit

    Permalink
    Definition Classes
    IssuesService
  69. def createLabel(owner: String, repository: String, labelName: String, color: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Int

    Permalink
    Definition Classes
    LabelsService
  70. def createMilestone(owner: String, repository: String, title: String, description: Option[String], dueDate: Option[Date])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    MilestonesService
  71. def createPullRequest(originUserName: String, originRepositoryName: String, issueId: Int, originBranch: String, requestUserName: String, requestRepositoryName: String, requestBranch: String, commitIdFrom: String, commitIdTo: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    PullRequestService
  72. def createReferComment(owner: String, repository: String, fromIssue: Issue, message: String, loginAccount: Account)(implicit s: Session): Unit

    Permalink
    Definition Classes
    IssuesService
  73. def date(constraints: Constraint*): SingleValueType[Date]

    Permalink

    ValueType for the java.util.Date property.

    ValueType for the java.util.Date property.

    Definition Classes
    Validations
  74. def defaultAcceptedFormats: List[Symbol]

    Permalink
    Definition Classes
    ApiFormats
  75. val defaultCharacterEncoding: String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  76. def defaultFormat: Symbol

    Permalink
    Definition Classes
    ApiFormats
  77. implicit def defaultStringToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[String, Seq[T]]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  78. def delete[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ClientSideValidationFormSupport
  79. def delete(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  80. def deleteComment(commentId: Int)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  81. def deleteIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  82. def deleteLabel(owner: String, repository: String, labelId: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    LabelsService
  83. def deleteMilestone(owner: String, repository: String, milestoneId: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    MilestonesService
  84. def deleteOldActivities(limit: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Int

    Permalink
    Definition Classes
    ActivityService
  85. def deleteRepository(userName: String, repositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    RepositoryService
  86. def deleteWebHook(owner: String, repository: String, url: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    WebHookService
  87. def destroy(): Unit

    Permalink
    Definition Classes
    ScalatraFilter → Filter
  88. def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit

    Permalink
    Definition Classes
    ControllerBase → ScalatraFilter → Filter
  89. var doMethodNotAllowed: (Set[HttpMethod]) ⇒ Any

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  90. var doNotFound: Action

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraFilter → ScalatraBase
  91. implicit def enrichRequest(request: HttpServletRequest): RichRequest

    Permalink
    Definition Classes
    ServletApiImplicits
  92. implicit def enrichResponse(response: HttpServletResponse): RichResponse

    Permalink
    Definition Classes
    ServletApiImplicits
  93. implicit def enrichServletContext(servletContext: ServletContext): RichServletContext

    Permalink
    Definition Classes
    ServletApiImplicits
  94. implicit def enrichSession(session: HttpSession): RichSession

    Permalink
    Definition Classes
    ServletApiImplicits
  95. def environment: String

    Permalink
    Definition Classes
    ScalatraBase
  96. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  97. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  98. def error(handler: ErrorHandler): Unit

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  99. var errorHandler: ErrorHandler

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  100. def executeRoutes(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  101. def extractFromJsonBody[A](implicit request: HttpServletRequest, mf: Manifest[A]): Option[A]

    Permalink
    Definition Classes
    ControllerBase
  102. def extractStatusCode(e: HaltException): Int

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  103. def filterChain: FilterChain

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraFilter
  104. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  105. def flash(key: String)(implicit request: HttpServletRequest): Any

    Permalink
    Definition Classes
    FlashMapSupport
  106. def flash(implicit request: HttpServletRequest): FlashMap

    Permalink
    Definition Classes
    FlashMapSupport
  107. def flashMapSetSession(f: FlashMap): Unit

    Permalink
    Definition Classes
    FlashMapSupport
  108. def format(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Permalink
    Definition Classes
    ApiFormats
  109. def formatForMimeTypes(mimeTypes: String*): Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  110. def format_=(formatValue: String): Unit

    Permalink
    Definition Classes
    ScalatraContext
  111. def format_=(formatValue: Symbol): Unit

    Permalink
    Definition Classes
    ScalatraContext
  112. val formats: Map[String, String]

    Permalink
    Definition Classes
    ApiFormats
  113. def fromJValue[T](json: JValue)(implicit reader: Reader[T]): T

    Permalink
    Definition Classes
    JsonMethods
  114. def fromJsonNode(jn: JsonNode): JValue

    Permalink
    Definition Classes
    JsonMethods
  115. def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Permalink
    Definition Classes
    ScalatraBase
  116. def get[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ClientSideValidationFormSupport
  117. def get(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  118. def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Account]

    Permalink
    Definition Classes
    AccountService
  119. def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Account]

    Permalink
    Definition Classes
    AccountService
  120. def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Map[String, Account]

    Permalink
    Definition Classes
    AccountService
  121. def getActivitiesByUser(activityUserName: String, isPublic: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Activity]

    Permalink
    Definition Classes
    ActivityService
  122. def getAllRepositories(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[(String, String)]

    Permalink

    Returns the repositories without private repository that user does not have access right.

    Returns the repositories without private repository that user does not have access right. Include public repository, private own repository and private but collaborator repository.

    userName

    the user name of collaborator

    returns

    the repository information list

    Definition Classes
    RepositoryService
  123. def getAllUsers(includeRemoved: Boolean = true)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Account]

    Permalink
    Definition Classes
    AccountService
  124. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  125. def getCollaborators(userName: String, repositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[String]

    Permalink

    Returns the list of collaborators name which is sorted with ascending order.

    Returns the list of collaborators name which is sorted with ascending order.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    returns

    the list of collaborators name

    Definition Classes
    RepositoryService
  126. def getComment(owner: String, repository: String, commentId: String)(implicit s: Session): Option[model.IssueCommentComponent.IssueComments.TableElementType]

    Permalink
    Definition Classes
    IssuesService
  127. def getComments(owner: String, repository: String, issueId: Int)(implicit s: Session): List[model.IssueCommentComponent.IssueComments.TableElementType]

    Permalink
    Definition Classes
    IssuesService
  128. def getCommentsForApi(owner: String, repository: String, issueId: Int)(implicit s: Session): List[(IssueComment, Account, Issue)]

    Permalink

    returns

    IssueComment and commentedUser and Issue

    Definition Classes
    IssuesService
  129. def getCommitStatues(issueList: Seq[(String, String, Int)])(implicit s: Session): Map[(String, String, Int), CommitStatusInfo]

    Permalink
    Definition Classes
    IssuesService
  130. def getForkedRepositories(userName: String, repositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[(String, String)]

    Permalink
    Definition Classes
    RepositoryService
  131. def getGroupMembers(groupName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[GroupMember]

    Permalink
    Definition Classes
    AccountService
  132. def getGroupNames(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[String]

    Permalink
    Definition Classes
    AccountService
  133. def getGroupsByUserName(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[String]

    Permalink
    Definition Classes
    AccountService
  134. def getIssue(owner: String, repository: String, issueId: String)(implicit s: Session): Option[model.IssueComponent.Issues.TableElementType]

    Permalink
    Definition Classes
    IssuesService
  135. def getIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int)(implicit s: Session): Option[model.IssueLabelComponent.IssueLabels.TableElementType]

    Permalink
    Definition Classes
    IssuesService
  136. def getIssueLabels(owner: String, repository: String, issueId: Int)(implicit s: Session): List[Label]

    Permalink
    Definition Classes
    IssuesService
  137. def getLabel(owner: String, repository: String, labelName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Label]

    Permalink
    Definition Classes
    LabelsService
  138. def getLabel(owner: String, repository: String, labelId: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Label]

    Permalink
    Definition Classes
    LabelsService
  139. def getLabels(owner: String, repository: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Label]

    Permalink
    Definition Classes
    LabelsService
  140. def getMilestone(owner: String, repository: String, milestoneId: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Milestone]

    Permalink
    Definition Classes
    MilestonesService
  141. def getMilestones(owner: String, repository: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Milestone]

    Permalink
    Definition Classes
    MilestonesService
  142. def getMilestonesWithIssueCount(owner: String, repository: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[(Milestone, Int, Int)]

    Permalink
    Definition Classes
    MilestonesService
  143. def getPullRequest(owner: String, repository: String, issueId: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[(Issue, PullRequest)]

    Permalink
    Definition Classes
    PullRequestService
  144. def getPullRequestByRequestCommit(userName: String, repositoryName: String, toBranch: String, fromBranch: String, commitId: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[(PullRequest, Issue)]

    Permalink
    Definition Classes
    PullRequestService
  145. def getPullRequestCountGroupByUser(closed: Boolean, owner: Option[String], repository: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[PullRequestCount]

    Permalink
    Definition Classes
    PullRequestService
  146. def getPullRequestFromBranch(userName: String, repositoryName: String, branch: String, defaultBranch: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[(PullRequest, Issue)]

    Permalink

    for repository viewer.

    for repository viewer. 1. find pull request from from branch to othre branch on same repository

    1. return if exists pull request to defaultBranch 2. return if exists pull request to othre branch 2. return None
    Definition Classes
    PullRequestService
  147. def getPullRequestsByRequest(userName: String, repositoryName: String, branch: String, closed: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[PullRequest]

    Permalink
    Definition Classes
    PullRequestService
  148. def getPullRequestsByRequestForWebhook(userName: String, repositoryName: String, branch: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Map[(Issue, Account, PullRequest, Account, Account), List[WebHook]]

    Permalink

    returns

    Map[(issue, issueUser, pullRequest, baseOwner, headOwner), webHooks]

    Definition Classes
    WebHookPullRequestService
  149. def getRecentActivities()(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Activity]

    Permalink
    Definition Classes
    ActivityService
  150. def getRecentActivitiesByOwners(owners: Set[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Activity]

    Permalink
    Definition Classes
    ActivityService
  151. def getRepository(userName: String, repositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[RepositoryInfo]

    Permalink

    Returns the specified repository information.

    Returns the specified repository information.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    returns

    the repository information

    Definition Classes
    RepositoryService
  152. def getRepositoryNamesOfUser(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[String]

    Permalink

    Returns the repository names of the specified user.

    Returns the repository names of the specified user.

    userName

    the user name of repository owner

    returns

    the list of repository names

    Definition Classes
    RepositoryService
  153. def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[RepositoryInfo]

    Permalink
    Definition Classes
    RepositoryService
  154. def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String] = None, withoutPhysicalInfo: Boolean = false)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[RepositoryInfo]

    Permalink

    Returns the list of visible repositories for the specified user.

    Returns the list of visible repositories for the specified user. If repositoryUserName is given then filters results by repository owner.

    loginAccount

    the logged in account

    repositoryUserName

    the repository owner (if None then returns all repositories which are visible for logged in user)

    withoutPhysicalInfo

    if true then the result does not include physical repository information such as commit count, branches and tags

    returns

    the repository information which is sorted in descending order of lastActivityDate.

    Definition Classes
    RepositoryService
  155. def getWebHook(owner: String, repository: String, url: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[(WebHook, Set[Event])]

    Permalink

    get All WebHook information from repository to url

    get All WebHook information from repository to url

    Definition Classes
    WebHookService
  156. def getWebHooks(owner: String, repository: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[(WebHook, Set[Event])]

    Permalink

    get All WebHook informations of repository

    get All WebHook informations of repository

    Definition Classes
    WebHookService
  157. def getWebHooksByEvent(owner: String, repository: String, event: Event)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[WebHook]

    Permalink

    get All WebHook informations of repository event

    get All WebHook informations of repository event

    Definition Classes
    WebHookService
  158. def halt(result: ActionResult): Nothing

    Permalink
    Definition Classes
    Control
  159. def halt[T](status: Integer, body: T, headers: Map[String, String], reason: String)(implicit arg0: Manifest[T]): Nothing

    Permalink
    Definition Classes
    Control
  160. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

    Permalink
    Definition Classes
    FlashMapSupport → Handler
  161. def handleComment(issue: Issue, content: Option[String], repository: RepositoryInfo, actionOpt: Option[String])(implicit context: Context, s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[(Issue, Int)]

    Permalink

  162. def hasWritePermission(owner: String, repository: String, loginAccount: Option[Account])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Boolean

    Permalink
    Definition Classes
    RepositoryService
  163. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  164. def head(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  165. def identifier: Constraint

    Permalink

    Constraint for the identifier such as user name or page name.

    Constraint for the identifier such as user name or page name.

    Definition Classes
    Validations
  166. def inferFromFormats: ContentTypeInferrer

    Permalink
    Attributes
    protected
    Definition Classes
    ApiFormats
  167. def init(filterConfig: FilterConfig): Unit

    Permalink
    Definition Classes
    ScalatraFilter → Filter
  168. def initParameter(name: String): Option[String]

    Permalink
    Definition Classes
    ScalatraBase
  169. def initialize(config: ConfigT): Unit

    Permalink
    Definition Classes
    JacksonJsonSupport → ScalatraBase → Initializable
  170. def insertRepository(repositoryName: String, userName: String, description: Option[String], isPrivate: Boolean, originRepositoryName: Option[String] = None, originUserName: Option[String] = None, parentRepositoryName: Option[String] = None, parentUserName: Option[String] = None)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Creates a new repository.

    Creates a new repository.

    repositoryName

    the repository name

    userName

    the user name of the repository owner

    description

    the repository description

    isPrivate

    the repository type (private is true, otherwise false)

    originRepositoryName

    specify for the forked repository. (default is None)

    originUserName

    specify for the forked repository. (default is None)

    Definition Classes
    RepositoryService
  171. def invoke(matchedRoute: MatchedRoute): Option[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport → ScalatraBase
  172. def isAsyncExecutable(result: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  173. def isDevelopmentMode: Boolean

    Permalink
    Definition Classes
    ScalatraBase
  174. def isHttps(implicit request: HttpServletRequest): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  175. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  176. def isLastAdministrator(account: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Boolean

    Permalink
    Definition Classes
    AccountService
  177. val issueCreateForm: MappingValueType[IssueCreateForm]

    Permalink
    Definition Classes
    IssuesControllerBase
  178. val issueEditForm: MappingValueType[Option[String]]

    Permalink
    Definition Classes
    IssuesControllerBase
  179. val issueStateForm: MappingValueType[IssueStateForm]

    Permalink
    Definition Classes
    IssuesControllerBase
  180. val issueTitleEditForm: MappingValueType[String]

    Permalink
    Definition Classes
    IssuesControllerBase
  181. implicit val jsonFormats: Formats

    Permalink
    Definition Classes
    ControllerBase → JValueResult
  182. def jsonVulnerabilityGuard: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JsonOutput
  183. def jsonpCallbackParameterNames: Iterable[String]

    Permalink
    Definition Classes
    JsonOutput
  184. def loadSystemSettings(): SystemSettings

    Permalink
    Definition Classes
    SystemSettingsService
  185. def locale(implicit request: HttpServletRequest): Locale

    Permalink
    Definition Classes
    I18nSupport
  186. implicit def lowestPriorityAny2T[T](implicit arg0: Manifest[T]): TypeConverter[Any, T]

    Permalink
    Definition Classes
    LowestPriorityImplicitConversions
  187. def mapper: ObjectMapper

    Permalink
    Definition Classes
    JsonMethods
  188. def messages(implicit request: HttpServletRequest): Messages

    Permalink
    Definition Classes
    I18nSupport
  189. def messages(key: String)(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    I18nSupport
  190. def methodNotAllowed(f: (Set[HttpMethod]) ⇒ Any): Unit

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  191. val milestoneId: (String) ⇒ Option[Int]

    Permalink
    Definition Classes
    IssuesControllerBase
  192. val mimeTypes: Map[String, String]

    Permalink
    Definition Classes
    ApiFormats
  193. def multiParams(implicit request: HttpServletRequest): MultiParams

    Permalink
    Definition Classes
    ScalatraBase
  194. def multiParams(key: String)(implicit request: HttpServletRequest): Seq[String]

    Permalink
    Definition Classes
    ScalatraBase
  195. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  196. def needsHttps: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  197. def notFound(fun: ⇒ Any): Unit

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  198. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  199. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  200. def openMilestone(milestone: Milestone)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    MilestonesService
  201. def options(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  202. def params(implicit request: HttpServletRequest): Params

    Permalink
    Definition Classes
    ScalatraBase
  203. def params(key: Symbol)(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    ScalatraBase
  204. def params(key: String)(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    ScalatraBase
  205. def parse(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): JValue

    Permalink
    Definition Classes
    JsonMethods → JsonMethods
  206. def parseOpt(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): Option[JValue]

    Permalink
    Definition Classes
    JsonMethods → JsonMethods
  207. def parseRequestBody(format: String)(implicit request: HttpServletRequest): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  208. def parsedBody(implicit request: HttpServletRequest): JValue

    Permalink
    Definition Classes
    JsonSupport
  209. def pass(): Nothing

    Permalink
    Definition Classes
    Control
  210. def patch(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  211. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  212. def post[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ClientSideValidationFormSupport
  213. def post(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  214. def pretty(d: JValue): String

    Permalink
    Definition Classes
    JsonMethods → JsonMethods
  215. def provideMessages(locale: Locale): Messages

    Permalink
    Definition Classes
    I18nSupport
  216. def put[T](path: String, form: ValueType[T])(action: (T) ⇒ Any): Route

    Permalink
    Definition Classes
    ClientSideValidationFormSupport
  217. def put(transformers: RouteTransformer*)(action: ⇒ Any): Route

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  218. def readJsonFromBody(bd: String): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JacksonJsonSupport → JsonSupport
  219. def readJsonFromStream(stream: InputStream): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  220. def readJsonFromStreamWithCharset(stream: InputStream, charset: String): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JacksonJsonSupport → JsonSupport
  221. def readXmlFromBody(bd: String): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  222. def readXmlFromStream(stream: InputStream): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  223. def readableUsersOnly[T](action: (T, RepositoryInfo) ⇒ Any): (T) ⇒ Any

    Permalink
    Attributes
    protected
    Definition Classes
    ReadableUsersAuthenticator
  224. def readableUsersOnly(action: (RepositoryInfo) ⇒ Any): Any

    Permalink
    Attributes
    protected
    Definition Classes
    ReadableUsersAuthenticator
  225. def recordCloseIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  226. def recordClosePullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  227. def recordCommentCommitActivity(userName: String, repositoryName: String, activityUserName: String, commitId: String, comment: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  228. def recordCommentIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  229. def recordCommentPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  230. def recordCreateBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  231. def recordCreateIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  232. def recordCreateRepositoryActivity(userName: String, repositoryName: String, activityUserName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  233. def recordCreateTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  234. def recordCreateWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  235. def recordDeleteBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  236. def recordDeleteTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  237. def recordEditWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String, commitId: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  238. def recordForkActivity(userName: String, repositoryName: String, activityUserName: String, forkedUserName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  239. def recordMergeActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, message: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  240. def recordPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  241. def recordPushActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String, commits: List[CommitInfo])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  242. def recordReopenIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  243. def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing

    Permalink
    Definition Classes
    ScalatraBase
  244. def referrersOnly[T](action: (T, RepositoryInfo) ⇒ Any): (T) ⇒ Any

    Permalink
    Attributes
    protected
    Definition Classes
    ReferrerAuthenticator
  245. def referrersOnly(action: (RepositoryInfo) ⇒ Any): Any

    Permalink
    Attributes
    protected
    Definition Classes
    ReferrerAuthenticator
  246. implicit def regex2RouteMatcher(regex: Regex): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  247. def registerIssueLabel(owner: String, repository: String, issueId: Int, labelId: Int)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  248. def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Permalink
    Definition Classes
    ScalatraBase
  249. def removeCollaborator(userName: String, repositoryName: String, collaboratorName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Remove collaborator from the repository.

    Remove collaborator from the repository.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    collaboratorName

    the collaborator name

    Definition Classes
    RepositoryService
  250. def removeCollaborators(userName: String, repositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Remove all collaborators from the repository.

    Remove all collaborators from the repository.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    Definition Classes
    RepositoryService
  251. def removeRoute(method: String, route: Route): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  252. def removeRoute(method: HttpMethod, route: Route): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  253. def removeUserRelatedData(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  254. def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    RepositoryService
  255. def render(value: JValue)(implicit formats: Formats): JValue

    Permalink
    Definition Classes
    JsonMethods → JsonMethods
  256. def renderHaltException(e: HaltException): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  257. def renderPipeline: RenderPipeline

    Permalink
    Attributes
    protected
    Definition Classes
    JValueResult → ScalatraBase
  258. def renderResponse(actionResult: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  259. def renderResponseBody(actionResult: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  260. def renderUncaughtException(e: Throwable)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  261. def repository: Constraint

    Permalink

    Constraint for the repository identifier.

    Constraint for the repository identifier.

    Definition Classes
    Validations
  262. implicit def request: HttpServletRequest

    Permalink
    Definition Classes
    DynamicScope → RequestResponseScope
  263. def requestFormat(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    ApiFormats
  264. def requestPath(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    ScalatraFilter → ScalatraBase
  265. implicit def response: HttpServletResponse

    Permalink
    Definition Classes
    DynamicScope → RequestResponseScope
  266. def rosettaFlashGuard: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JsonOutput
  267. def routeBasePath(implicit request: HttpServletRequest): String

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraFilter → ScalatraBase
  268. lazy val routes: RouteRegistry

    Permalink
    Definition Classes
    ScalatraBase
  269. def runFilters(filters: Traversable[Route]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  270. def runRoutes(routes: Traversable[Route]): Stream[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  271. implicit def safe[S, T](f: (S) ⇒ T): TypeConverter[S, T]

    Permalink
    Definition Classes
    TypeConverterSupport
  272. implicit def safeOption[S, T](f: (S) ⇒ Option[T]): TypeConverter[S, T]

    Permalink
    Definition Classes
    TypeConverterSupport
  273. def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    RepositoryService
  274. def saveRepositoryOptions(userName: String, repositoryName: String, description: Option[String], isPrivate: Boolean, enableIssues: Boolean, externalIssuesUrl: Option[String], enableWiki: Boolean, allowWikiEditing: Boolean, externalWikiUrl: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Save repository options.

    Save repository options.

    Definition Classes
    RepositoryService
  275. def saveSystemSettings(settings: SystemSettings): Unit

    Permalink
    Definition Classes
    SystemSettingsService
  276. implicit def scalatraContext: ScalatraContext

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ScalatraContext
  277. def searchIssue(condition: IssueSearchCondition, pullRequest: Boolean, offset: Int, limit: Int, repos: (String, String)*)(implicit s: Session): List[IssueInfo]

    Permalink

    Returns the search result against issues.

    Returns the search result against issues.

    condition

    the search condition

    pullRequest

    if true then returns only pull requests, false then returns only issues.

    offset

    the offset for pagination

    limit

    the limit for pagination

    repos

    Tuple of the repository owner and the repository name

    returns

    the search result (list of tuples which contain issue, labels and comment count)

    Definition Classes
    IssuesService
  278. def searchIssuesByKeyword(owner: String, repository: String, query: String)(implicit s: Session): List[(Issue, Int, String)]

    Permalink

    Search issues by keyword.

    Search issues by keyword.

    owner

    the repository owner

    repository

    the repository name

    query

    the keywords separated by whitespace.

    returns

    issues with comment count and matched content of issue or comment

    Definition Classes
    IssuesService
  279. def searchPullRequestByApi(condition: IssueSearchCondition, offset: Int, limit: Int, repos: (String, String)*)(implicit s: Session): List[(Issue, Account, Int, PullRequest, Repository, Account)]

    Permalink

    for api

    for api

    returns

    (issue, issueUser, commentCount, pullRequest, headRepo, headOwner)

    Definition Classes
    IssuesService
  280. def secureXML: XMLLoader[Elem]

    Permalink
    Definition Classes
    JsonSupport
  281. implicit def seqHead[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], T]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  282. implicit def seqToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], Seq[T]]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  283. def serverHost(implicit request: HttpServletRequest): String

    Permalink
    Definition Classes
    ScalatraBase
  284. def serverPort(implicit request: HttpServletRequest): Int

    Permalink
    Definition Classes
    ScalatraBase
  285. def servletContext: ServletContext

    Permalink
    Definition Classes
    ScalatraBase → ScalatraContext
  286. def session(key: Symbol)(implicit request: HttpServletRequest): Any

    Permalink
    Definition Classes
    SessionSupport
  287. def session(key: String)(implicit request: HttpServletRequest): Any

    Permalink
    Definition Classes
    SessionSupport
  288. implicit def session(implicit request: HttpServletRequest): HttpSession

    Permalink
    Definition Classes
    SessionSupport
  289. def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]

    Permalink
    Definition Classes
    SessionSupport
  290. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: MultiParams)(implicit request: HttpServletRequest): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  291. def shouldParseBody(fmt: String)(implicit request: HttpServletRequest): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  292. def shutdown(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Initializable
  293. def status: Int

    Permalink
    Definition Classes
    ScalatraContext
  294. def status_=(code: Int): Unit

    Permalink
    Definition Classes
    ScalatraContext
  295. implicit def string2RouteMatcher(path: String): RouteMatcher

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  296. implicit val stringToBoolean: TypeConverter[String, Boolean]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  297. implicit val stringToByte: TypeConverter[String, Byte]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  298. def stringToDate(format: ⇒ String): TypeConverter[String, Date]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  299. def stringToDateFormat(format: ⇒ DateFormat): TypeConverter[String, Date]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  300. implicit val stringToDouble: TypeConverter[String, Double]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  301. implicit val stringToFloat: TypeConverter[String, Float]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  302. implicit val stringToInt: TypeConverter[String, Int]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  303. implicit val stringToLong: TypeConverter[String, Long]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  304. implicit val stringToSelf: TypeConverter[String, String]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  305. def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String)(implicit arg0: Manifest[T]): TypeConverter[String, Seq[T]]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  306. implicit val stringToShort: TypeConverter[String, Short]

    Permalink
    Definition Classes
    DefaultImplicitConversions
  307. def sweepUnusedFlashEntries(req: HttpServletRequest): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    FlashMapSupport
  308. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  309. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  310. implicit def toTypedMultiParams(params: MultiParams): TypedMultiParams

    Permalink
    Definition Classes
    ScalatraParamsImplicits
  311. implicit def toTypedParams(params: Params): TypedParams

    Permalink
    Definition Classes
    ScalatraParamsImplicits
  312. def transformRequestBody(body: JValue): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  313. def transformResponseBody(body: JValue): JValue

    Permalink
    Attributes
    protected
    Definition Classes
    JsonOutput
  314. def trap(codes: Range)(block: ⇒ Any): Unit

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  315. def trap(code: Int)(block: ⇒ Any): Unit

    Permalink
    Definition Classes
    CoreDsl
  316. def updateAccount(account: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  317. def updateAssignedUserName(owner: String, repository: String, issueId: Int, assignedUserName: Option[String])(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  318. def updateAvatarImage(userName: String, image: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  319. def updateClosed(owner: String, repository: String, issueId: Int, closed: Boolean)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  320. def updateComment(commentId: Int, content: String)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  321. def updateCommitId(owner: String, repository: String, issueId: Int, commitIdTo: String, commitIdFrom: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    PullRequestService
  322. def updateGroup(groupName: String, url: Option[String], removed: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  323. def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  324. def updateIssue(owner: String, repository: String, issueId: Int, title: String, content: Option[String])(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  325. def updateLabel(owner: String, repository: String, labelId: Int, labelName: String, color: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    LabelsService
  326. def updateLastActivityDate(userName: String, repositoryName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Updates the last activity date of the repository.

    Updates the last activity date of the repository.

    Definition Classes
    RepositoryService
  327. def updateLastLoginDate(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    AccountService
  328. def updateMilestone(milestone: Milestone)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    MilestonesService
  329. def updateMilestoneId(owner: String, repository: String, issueId: Int, milestoneId: Option[Int])(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  330. def updatePullRequests(owner: String, repository: String, branch: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink

    Fetch pull request contents into refs/pull/${issueId}/head and update pull request table.

    Fetch pull request contents into refs/pull/${issueId}/head and update pull request table.

    Definition Classes
    PullRequestService
  331. def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    WebHookService
  332. def url(path: String, params: Iterable[(String, Any)] = Iterable.empty, includeContextPath: Boolean = true, includeServletPath: Boolean = true, absolutize: Boolean = true, withSessionId: Boolean = true)(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Permalink
    Definition Classes
    ControllerBase → ScalatraBase
  333. def userLocales(implicit request: HttpServletRequest): Array[Locale]

    Permalink
    Definition Classes
    I18nSupport
  334. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  335. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  336. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  337. def withRequest[A](request: HttpServletRequest)(f: ⇒ A): A

    Permalink
    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  338. def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: ⇒ A): A

    Permalink
    Attributes
    protected[org.scalatra]
    Definition Classes
    DynamicScope → RequestResponseScope
  339. def withResponse[A](response: HttpServletResponse)(f: ⇒ A): A

    Permalink
    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  340. def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: ⇒ S)(implicit request: HttpServletRequest): S

    Permalink
    Attributes
    protected[org.scalatra]
    Definition Classes
    ApiFormats → ScalatraBase
  341. def writeJson(json: JValue, writer: Writer): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    JacksonJsonOutput → JsonOutput
  342. def writeJsonAsXml(json: JValue, writer: Writer): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    JsonOutput
  343. lazy val xmlRootNode: Elem

    Permalink
    Attributes
    protected
    Definition Classes
    JsonOutput

Deprecated Value Members

  1. def _request: DynamicVariable[HttpServletRequest]

    Permalink
    Attributes
    protected
    Definition Classes
    DynamicScope
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Do not invoke directly. Use withRequest to change the binding, or request to get the value

  2. def _response: DynamicVariable[HttpServletResponse]

    Permalink
    Attributes
    protected
    Definition Classes
    DynamicScope
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Do not invoke directly. Use withResponse to change the binding, or response to get the value

  3. def applicationContext: ServletContext

    Permalink
    Definition Classes
    ScalatraBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use servletContext instead

  4. def responseFormat(implicit request: HttpServletRequest, response: HttpServletResponse): String

    Permalink
    Definition Classes
    ApiFormats
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3) format now means the same as responseFormat, responseFormat will be removed eventually

  5. def status(code: Int): Unit

    Permalink
    Definition Classes
    ScalatraContext
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use status_=(Int) instead

Inherited from WebHookPullRequestService

Inherited from WebHookService

Inherited from PullRequestService

Inherited from ReferrerAuthenticator

Inherited from HandleCommentService

Inherited from ActivityService

Inherited from MilestonesService

Inherited from LabelsService

Inherited from AccountService

Inherited from RepositoryService

Inherited from IssuesService

Inherited from IssuesControllerBase

Inherited from ControllerBase

Inherited from SystemSettingsService

Inherited from Validations

Inherited from FlashMapSupport

Inherited from I18nSupport

Inherited from JacksonJsonSupport

Inherited from JValueResult

Inherited from JacksonJsonOutput

Inherited from JsonMethods

Inherited from JsonSupport[JValue]

Inherited from JsonOutput[JValue]

Inherited from JsonMethods[JValue]

Inherited from ApiFormats

Inherited from ClientSideValidationFormSupport

Inherited from ScalatraFilter

Inherited from ServletBase

Inherited from ScalatraBase

Inherited from DefaultImplicitConversions

Inherited from LowPriorityImplicitConversions

Inherited from LowestPriorityImplicitConversions

Inherited from TypeConverterSupport

Inherited from ScalatraParamsImplicits

Inherited from Initializable

Inherited from DynamicScope

Inherited from RequestResponseScope

Inherited from CoreDsl

Inherited from Control

Inherited from Handler

Inherited from ScalatraContext

Inherited from CookieContext

Inherited from SessionSupport

Inherited from ServletApiImplicits

Inherited from Filter

Inherited from AnyRef

Inherited from Any

Ungrouped