Class

gitbucket.core.controller

PullRequestsController

Related Doc: package controller

Permalink

class PullRequestsController extends ControllerBase with PullRequestsControllerBase with RepositoryService with AccountService with IssuesService with PullRequestService with MilestonesService with LabelsService with CommitsService with ActivityService with WebHookPullRequestService with ReferrerAuthenticator with CollaboratorsAuthenticator with CommitStatusService with MergeService with ProtectedBranchService

Linear Supertypes
ProtectedBranchService, MergeService, CommitStatusService, CollaboratorsAuthenticator, ReferrerAuthenticator, WebHookPullRequestService, WebHookService, ActivityService, CommitsService, LabelsService, MilestonesService, PullRequestService, IssuesService, AccountService, RepositoryService, PullRequestsControllerBase, 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. PullRequestsController
  2. ProtectedBranchService
  3. MergeService
  4. CommitStatusService
  5. CollaboratorsAuthenticator
  6. ReferrerAuthenticator
  7. WebHookPullRequestService
  8. WebHookService
  9. ActivityService
  10. CommitsService
  11. LabelsService
  12. MilestonesService
  13. PullRequestService
  14. IssuesService
  15. AccountService
  16. RepositoryService
  17. PullRequestsControllerBase
  18. ControllerBase
  19. SystemSettingsService
  20. Validations
  21. FlashMapSupport
  22. I18nSupport
  23. JacksonJsonSupport
  24. JValueResult
  25. JacksonJsonOutput
  26. JsonMethods
  27. JsonSupport
  28. JsonOutput
  29. JsonMethods
  30. ApiFormats
  31. ClientSideValidationFormSupport
  32. ScalatraFilter
  33. ServletBase
  34. ScalatraBase
  35. DefaultImplicitConversions
  36. LowPriorityImplicitConversions
  37. LowestPriorityImplicitConversions
  38. TypeConverterSupport
  39. ScalatraParamsImplicits
  40. Initializable
  41. DynamicScope
  42. RequestResponseScope
  43. CoreDsl
  44. Control
  45. Handler
  46. ScalatraContext
  47. CookieContext
  48. SessionSupport
  49. ServletApiImplicits
  50. Filter
  51. AnyRef
  52. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PullRequestsController()

    Permalink

Type Members

  1. trait Config extends AnyRef

    Permalink
    Definition Classes
    Initializable
  2. type ConfigT = FilterConfig

    Permalink
    Definition Classes
    ScalatraFilter → ServletBase → Initializable
  3. case class MergeForm(message: String) extends Product with Serializable

    Permalink
    Definition Classes
    PullRequestsControllerBase
  4. case class PullRequestForm(title: String, content: Option[String], targetUserName: String, targetBranch: String, requestUserName: String, requestRepositoryName: String, requestBranch: String, commitIdFrom: String, commitIdTo: String, assignedUserName: Option[String], milestoneId: Option[Int], labelNames: Option[String]) extends Product with Serializable

    Permalink
    Definition Classes
    PullRequestsControllerBase
  5. sealed class TypedMultiParams extends AnyRef

    Permalink
    Definition Classes
    ScalatraParamsImplicits
  6. 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. def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[Account]

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  37. def byCommitStatues(userName: String, repositoryName: String, sha: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Query[model.Profile.CommitStatuses, model.CommitStatusComponent.CommitStatuses.TableElementType, Seq]

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

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. def checkConflict(userName: String, repositoryName: String, branch: String, requestUserName: String, requestRepositoryName: String, requestBranch: String): Boolean

    Permalink

    Checks whether conflict will be caused in merging.

    Checks whether conflict will be caused in merging. Returns true if conflict will be caused.

    Definition Classes
    MergeService
  45. def checkConflict(userName: String, repositoryName: String, branch: String, issueId: Int): Boolean

    Permalink

    Checks whether conflict will be caused in merging within pull request.

    Checks whether conflict will be caused in merging within pull request. Returns true if conflict will be caused.

    Definition Classes
    MergeService
  46. def checkConflictCache(userName: String, repositoryName: String, branch: String, issueId: Int): Option[Boolean]

    Permalink

    Checks whether conflict will be caused in merging within pull request.

    Checks whether conflict will be caused in merging within pull request. only cache check. Returns Some(true) if conflict will be caused. Returns None if cache has not created yet.

    Definition Classes
    MergeService
  47. def clone(): AnyRef

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

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

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

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

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

    Permalink

    Constraint for the color pattern.

    Constraint for the color pattern.

    Definition Classes
    Validations
  53. def compact(d: JValue): String

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

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

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

    Permalink
    Definition Classes
    ScalatraContext
  57. def contentTypeInferrer: ContentTypeInferrer

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

    Permalink
    Definition Classes
    ScalatraContext
  59. implicit def context: Context

    Permalink

    Returns the context object for the request.

    Returns the context object for the request.

    Definition Classes
    ControllerBase
  60. def contextPath: String

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

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

    Permalink
    Definition Classes
    CookieContext
  63. 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
  64. 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
  65. 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
  66. def createComment(owner: String, repository: String, loginUser: String, issueId: Int, content: String, action: String)(implicit s: Session): Int

    Permalink
    Definition Classes
    IssuesService
  67. def createCommitComment(owner: String, repository: String, commitId: String, loginUser: String, content: String, fileName: Option[String], oldLine: Option[Int], newLine: Option[Int], issueId: Option[Int])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Int

    Permalink
    Definition Classes
    CommitsService
  68. def createCommitStatus(userName: String, repositoryName: String, sha: String, context: String, state: CommitState, targetUrl: Option[String], description: Option[String], now: Date, creator: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Int

    Permalink

    insert or update

    insert or update

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

    Permalink
    Definition Classes
    AccountService
  70. 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
  71. def createIssueComment(owner: String, repository: String, commit: CommitInfo)(implicit s: Session): Unit

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

    Permalink
    Definition Classes
    LabelsService
  73. 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
  74. 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
  75. def createReferComment(owner: String, repository: String, fromIssue: Issue, message: String, loginAccount: Account)(implicit s: Session): Unit

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

    Permalink

    ValueType for the java.util.Date property.

    ValueType for the java.util.Date property.

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

    Permalink
    Definition Classes
    ApiFormats
  78. val defaultCharacterEncoding: String

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

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

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

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

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

    Permalink
    Definition Classes
    IssuesService
  84. def deleteCommitComment(commentId: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Int

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ScalatraFilter → Filter
  92. def disableBranchProtection(owner: String, repository: String, branch: String)(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ProtectedBranchService
  93. def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraFilter → ScalatraBase
  96. def enableBranchProtection(owner: String, repository: String, branch: String, includeAdministrators: Boolean, contexts: Seq[String])(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ProtectedBranchService
  97. implicit def enrichRequest(request: HttpServletRequest): RichRequest

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

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

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

    Permalink
    Definition Classes
    ServletApiImplicits
  101. def environment: String

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ScalatraBase
  109. def fetchAsPullRequest(userName: String, repositoryName: String, requestUserName: String, requestRepositoryName: String, requestBranch: String, issueId: Int): Unit

    Permalink

    fetch remote branch to my repository refs/pull/{issueId}/head

    fetch remote branch to my repository refs/pull/{issueId}/head

    Definition Classes
    MergeService
  110. def filterChain: FilterChain

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AccountService
  127. 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
  128. def getActivitiesByUser(activityUserName: String, isPublic: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Activity]

    Permalink
    Definition Classes
    ActivityService
  129. 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
  130. def getAllUsers(includeRemoved: Boolean = true)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Account]

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

    Permalink
    Definition Classes
    AnyRef → Any
  132. 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
  133. def getComment(owner: String, repository: String, commentId: String)(implicit s: Session): Option[model.IssueCommentComponent.IssueComments.TableElementType]

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

    Permalink
    Definition Classes
    IssuesService
  135. 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
  136. def getCommitComment(owner: String, repository: String, commentId: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[model.CommitCommentComponent.CommitComments.TableElementType]

    Permalink
    Definition Classes
    CommitsService
  137. def getCommitComments(owner: String, repository: String, commitId: String, includePullRequest: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[model.CommitCommentComponent.CommitComments.TableElementType]

    Permalink
    Definition Classes
    CommitsService
  138. def getCommitStatues(userName: String, repositoryName: String, sha: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[CommitStatus]

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

    Permalink
    Definition Classes
    IssuesService
  140. def getCommitStatuesWithCreator(userName: String, repositoryName: String, sha: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[(CommitStatus, Account)]

    Permalink
    Definition Classes
    CommitStatusService
  141. def getCommitStatus(userName: String, repositoryName: String, sha: String, context: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[CommitStatus]

    Permalink
    Definition Classes
    CommitStatusService
  142. def getCommitStatus(userName: String, repositoryName: String, id: Int)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Option[CommitStatus]

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MilestonesService
  156. def getProtectedBranchInfo(owner: String, repository: String, branch: String)(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): ProtectedBranchInfo

    Permalink
    Definition Classes
    ProtectedBranchService
  157. def getProtectedBranchList(owner: String, repository: String)(implicit session: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[String]

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

    Permalink
    Definition Classes
    PullRequestService
  159. 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
  160. def getPullRequestCountGroupByUser(closed: Boolean, owner: Option[String], repository: Option[String])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[PullRequestCount]

    Permalink
    Definition Classes
    PullRequestService
  161. 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
  162. def getPullRequestsByRequest(userName: String, repositoryName: String, branch: String, closed: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[PullRequest]

    Permalink
    Definition Classes
    PullRequestService
  163. 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
  164. def getRecentActivities()(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[Activity]

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

    Permalink
    Definition Classes
    ActivityService
  166. def getRecentStatuesContexts(userName: String, repositoryName: String, time: Date)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[String]

    Permalink
    Definition Classes
    CommitStatusService
  167. 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
  168. 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
  169. def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): List[RepositoryInfo]

    Permalink
    Definition Classes
    RepositoryService
  170. 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
  171. 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
  172. 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
  173. 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
  174. def halt(result: ActionResult): Nothing

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

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

    Permalink
    Definition Classes
    FlashMapSupport → Handler
  177. def hasWritePermission(owner: String, repository: String, loginAccount: Option[Account])(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Boolean

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

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

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  180. 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
  181. def inferFromFormats: ContentTypeInferrer

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

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

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

    Permalink
    Definition Classes
    JacksonJsonSupport → ScalatraBase → Initializable
  185. 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
  186. def invoke(matchedRoute: MatchedRoute): Option[Any]

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

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

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

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

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

    Permalink
    Definition Classes
    AccountService
  192. implicit val jsonFormats: Formats

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

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

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

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

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

    Permalink
    Definition Classes
    LowestPriorityImplicitConversions
  198. def mapper: ObjectMapper

    Permalink
    Definition Classes
    JsonMethods
  199. val mergeForm: MappingValueType[MergeForm]

    Permalink
    Definition Classes
    PullRequestsControllerBase
  200. def mergePullRequest(git: Git, branch: String, issueId: Int, message: String, committer: PersonIdent): Unit

    Permalink

    merge pull request

    merge pull request

    Definition Classes
    MergeService
  201. def messages(implicit request: HttpServletRequest): Messages

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

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

    Permalink
    Definition Classes
    ScalatraBase → CoreDsl
  204. val mimeTypes: Map[String, String]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  208. def needsHttps: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    I18nSupport
  228. def pullRemote(localUserName: String, localRepositoryName: String, localBranch: String, remoteUserName: String, remoteRepositoryName: String, remoteBranch: String, loginAccount: Account, message: String): Option[ObjectId]

    Permalink
    Definition Classes
    MergeService
  229. val pullRequestForm: MappingValueType[PullRequestForm]

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    JsonSupport
  237. 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
  238. 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
  239. 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
  240. 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
  241. 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
  242. def recordCreateBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  243. 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
  244. def recordCreateRepositoryActivity(userName: String, repositoryName: String, activityUserName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  245. 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
  246. def recordCreateWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

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

    Permalink
    Definition Classes
    ActivityService
  248. 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
  249. 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
  250. def recordForkActivity(userName: String, repositoryName: String, activityUserName: String, forkedUserName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

    Permalink
    Definition Classes
    ActivityService
  251. 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
  252. 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
  253. 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
  254. 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
  255. def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing

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

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

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

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

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

    Permalink
    Definition Classes
    ScalatraBase
  261. 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
  262. 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
  263. def removeRoute(method: String, route: Route): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink

    Constraint for the repository identifier.

    Constraint for the repository identifier.

    Definition Classes
    Validations
  274. implicit def request: HttpServletRequest

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RepositoryService
  286. 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
  287. def saveSystemSettings(settings: SystemSettings): Unit

    Permalink
    Definition Classes
    SystemSettingsService
  288. implicit def scalatraContext: ScalatraContext

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ScalatraContext
  289. 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
  290. 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
  291. 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
  292. def secureXML: XMLLoader[Elem]

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

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

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

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

    Permalink
    Definition Classes
    ScalatraBase
  297. def servletContext: ServletContext

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    CoreDsl
  328. def tryMergeRemote(localUserName: String, localRepositoryName: String, localBranch: String, remoteUserName: String, remoteRepositoryName: String, remoteBranch: String): Option[(ObjectId, ObjectId, ObjectId)]

    Permalink

    Checks whether conflict will be caused in merging.

    Checks whether conflict will be caused in merging. Returns true if conflict will be caused.

    Definition Classes
    MergeService
  329. def updateAccount(account: Account)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

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

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

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

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

    Permalink
    Definition Classes
    IssuesService
  334. def updateCommitComment(commentId: Int, content: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Int

    Permalink
    Definition Classes
    CommitsService
  335. 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
  336. def updateGroup(groupName: String, url: Option[String], removed: Boolean)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

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

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

    Permalink
    Definition Classes
    IssuesService
  339. 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
  340. 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
  341. def updateLastLoginDate(userName: String)(implicit s: scala.slick.driver.JdbcProfile.SimpleQL.Session): Unit

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

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

    Permalink
    Definition Classes
    IssuesService
  344. 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
  345. 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
  346. 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
  347. def userLocales(implicit request: HttpServletRequest): Array[Locale]

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    JsonOutput
  357. 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 ProtectedBranchService

Inherited from MergeService

Inherited from CommitStatusService

Inherited from ReferrerAuthenticator

Inherited from WebHookPullRequestService

Inherited from WebHookService

Inherited from ActivityService

Inherited from CommitsService

Inherited from LabelsService

Inherited from MilestonesService

Inherited from PullRequestService

Inherited from IssuesService

Inherited from AccountService

Inherited from RepositoryService

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