Instance Constructors
- new AccountController()
Type Members
- trait Config extends AnyRef
- type ConfigT = FilterConfig
- case class AccountEditForm(password: Option[String], fullName: String, mailAddress: String, extraMailAddresses: List[String], description: Option[String], url: Option[String], fileId: Option[String], clearImage: Boolean) extends Product with Serializable
- case class AccountForm(accountName: String) extends Product with Serializable
- case class AccountNewForm(userName: String, password: String, fullName: String, mailAddress: String, extraMailAddresses: List[String], description: Option[String], url: Option[String], fileId: Option[String]) extends Product with Serializable
- case class AccountWebHookForm(url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String]) extends Product with Serializable
- case class EditGroupForm(groupName: String, description: Option[String], url: Option[String], fileId: Option[String], members: String, clearImage: Boolean) extends Product with Serializable
- case class ForkRepositoryForm(owner: String, name: String) extends Product with Serializable
- case class GpgKeyForm(title: String, publicKey: String) extends Product with Serializable
- case class NewGroupForm(groupName: String, description: Option[String], url: Option[String], fileId: Option[String], members: String) extends Product with Serializable
- case class PersonalTokenForm(note: String) extends Product with Serializable
- case class RepositoryCreationForm(owner: String, name: String, description: Option[String], isPrivate: Boolean, initOption: String, sourceUrl: Option[String]) extends Product with Serializable
- case class SshKeyForm(title: String, publicKey: String) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- final def ##(): Int
- final def ==(arg0: Any): Boolean
- def NotFound(): ActionResult
- def RawData[T](contentType: String, rawData: T): T
- val RequestPathKey: String
- def Unauthorized()(implicit context: Context): ActionResult
- def acceptHeader(implicit request: HttpServletRequest): List[String]
- def acceptedFormats(accepted: Symbol*): Boolean
- val accountForm: MappingValueType[AccountForm]
- def accountWebHookForm(update: Boolean): MappingValueType[AccountWebHookForm]
- def addAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def addCollaborator(userName: String, repositoryName: String, collaboratorName: String, role: String)(implicit s: (blockingApi)#Session): Unit
- def addGpgPublicKey(userName: String, title: String, publicKey: String)(implicit s: (blockingApi)#Session): Unit
- def addMimeMapping(mime: String, extension: String): Unit
- def addPublicKey(userName: String, title: String, publicKey: String)(implicit s: (blockingApi)#Session): Unit
- def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: => Any): Route
- def addSessionId(uri: String)(implicit response: HttpServletResponse): String
- def addStatusRoute(codes: Range, action: => Any): Unit
- def addWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def after(transformers: RouteTransformer*)(fun: => Any): Unit
- def ajaxDelete[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxGet[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxGet(path: String)(action: => Any): Route
- def ajaxPost[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxPost(path: String)(action: => Any): Route
- def ajaxPut[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- val allReservedNames: Set[String]
- implicit val anyToBoolean: TypeConverter[Any, Boolean]
- implicit val anyToByte: TypeConverter[Any, Byte]
- implicit val anyToDouble: TypeConverter[Any, Double]
- implicit val anyToFloat: TypeConverter[Any, Float]
- implicit val anyToInt: TypeConverter[Any, Int]
- implicit val anyToLong: TypeConverter[Any, Long]
- implicit val anyToShort: TypeConverter[Any, Short]
- implicit val anyToString: TypeConverter[Any, String]
- final def asInstanceOf[T0]: T0
- def asJValue[T](obj: T)(implicit writer: Writer[T]): JValue
- def asJsonNode(jv: JValue): JsonNode
- def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
- def baseUrl(implicit request: HttpServletRequest): String
- def before(transformers: RouteTransformer*)(fun: => Any): Unit
- implicit def booleanBlock2RouteMatcher(block: => Boolean): RouteMatcher
- def callWebHook(event: Event, webHooks: List[WebHook], payload: WebHookPayload, settings: SystemSettings)(implicit c: api.JsonFormat.Context): List[(WebHook, String, Future[HttpRequest], Future[HttpResponse])]
- def callWebHookOf(owner: String, repository: String, event: Event, settings: SystemSettings)(makePayload: => Option[WebHookPayload])(implicit s: (blockingApi)#Session, c: api.JsonFormat.Context): Unit
- def clone(): AnyRef
- val color: Constraint
- def compact(d: JValue): String
- val config: ConfigT
- implicit def configWrapper(config: ConfigT): Config
- def contentType: String
- def contentTypeInferrer: ContentTypeInferrer
- def contentType_=(contentType: String): Unit
- implicit def context: Context
- def contextPath: String
- implicit def cookieOptions: CookieOptions
- def cookies(implicit request: HttpServletRequest): SweetCookies
- def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
- def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
- def createLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Int
- def createLabel(owner: String, repository: String, labelName: String, color: String)(implicit s: (blockingApi)#Session): Int
- def createPriority(owner: String, repository: String, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Int
- def createRepository(loginAccount: Account, owner: String, name: String, description: Option[String], isPrivate: Boolean, initOption: String, sourceUrl: Option[String]): Future[Unit]
- def createRepository(loginAccount: Account, owner: String, name: String, description: Option[String], isPrivate: Boolean, createReadme: Boolean): Future[Unit]
- def createWikiRepository(loginAccount: Account, owner: String, repository: String): Unit
- def date(constraints: Constraint*): SingleValueType[Date]
- def defaultAcceptedFormats: List[Symbol]
- val defaultCharacterEncoding: String
- def defaultFormat: Symbol
- implicit def defaultStringToSeq[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[String, Seq[T]]
- def delete[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def delete(transformers: RouteTransformer*)(action: => Any): Route
- def deleteAccessToken(userName: String, accessTokenId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Unit
- def deleteGpgPublicKey(userName: String, keyId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteOldActivities(limit: Int)(implicit s: (blockingApi)#Session): Int
- def deletePriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Unit
- def deletePublicKey(userName: String, sshKeyId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteRepository(repository: Repository)(implicit s: (blockingApi)#Session): Unit
- def deleteWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Unit
- def deleteWikiPage(owner: String, repository: String, pageName: String, committer: String, mailAddress: String, message: String): Unit
- def destroy(): Unit
- def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit
- val doMethodNotAllowed: (Set[HttpMethod]) => Any
- val doNotFound: Action
- val editForm: MappingValueType[AccountEditForm]
- val editGroupForm: MappingValueType[EditGroupForm]
- implicit def enrichRequest(request: HttpServletRequest): RichRequest
- implicit def enrichResponse(response: HttpServletResponse): RichResponse
- implicit def enrichServletContext(servletContext: ServletContext): RichServletContext
- implicit def enrichSession(session: HttpSession): RichSession
- def environment: String
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: AnyRef): Boolean
- def error(handler: ErrorHandler): Unit
- val errorHandler: ErrorHandler
- def executeRoutes(): Unit
- def extractFromJsonBody[A](implicit request: HttpServletRequest, mf: Manifest[A]): Option[A]
- def extractStatusCode(e: HaltException): Int
- def filterChain: FilterChain
- def finalize(): Unit
- def flash(key: String)(implicit request: HttpServletRequest): Any
- def flash(implicit request: HttpServletRequest): FlashMap
- def flashMapSetSession(f: FlashMap): Unit
- def forkRepository(accountName: String, repository: RepositoryInfo, loginUserName: String): Future[Unit]
- val forkRepositoryForm: MappingValueType[ForkRepositoryForm]
- def format(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def formatForMimeTypes(mimeTypes: String*): Option[String]
- def format_=(formatValue: String): Unit
- def format_=(formatValue: Symbol): Unit
- val formats: Map[String, String]
- def fromJValue[T](json: JValue)(implicit reader: Reader[T]): T
- def fromJsonNode(jn: JsonNode): JValue
- def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def generateAccessToken(userName: String, note: String)(implicit s: (blockingApi)#Session): (Int, String)
- def get[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def get(transformers: RouteTransformer*)(action: => Any): Route
- def getAccessTokens(userName: String)(implicit s: (blockingApi)#Session): List[AccessToken]
- def getAccountByAccessToken(token: String)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByUserNameIgnoreCase(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountExtraMailAddresses(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Option[(AccountWebHook, Set[Event])]
- def getAccountWebHooks(owner: String)(implicit s: (blockingApi)#Session): List[(AccountWebHook, Set[Event])]
- def getAccountWebHooksByEvent(owner: String, event: Event)(implicit s: (blockingApi)#Session): List[AccountWebHook]
- def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
- def getActivitiesByUser(activityUserName: String, isPublic: Boolean)(implicit s: (blockingApi)#Session): List[Activity]
- def getAllKeys()(implicit s: (blockingApi)#Session): List[SshKey]
- def getAllRepositories(userName: String)(implicit s: (blockingApi)#Session): List[(String, String)]
- def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
- final def getClass(): Class[_ <: AnyRef]
- def getCollaboratorUserNames(userName: String, repositoryName: String, filter: Seq[Role] = Nil)(implicit s: (blockingApi)#Session): List[String]
- def getCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[(Collaborator, Boolean)]
- def getContentTemplate(repository: RepositoryInfo, fileBaseName: String)(implicit s: (blockingApi)#Session): String
- def getDefaultPriority(owner: String, repository: String)(implicit s: (blockingApi)#Session): Option[Priority]
- def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
- def getGpgPublicKeys(userName: String)(implicit s: (blockingApi)#Session): List[GpgKey]
- def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
- def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Option[Label]
- def getLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Option[Label]
- def getLabels(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Label]
- def getPathObjectId(git: Git, path: String, revCommit: RevCommit): Option[ObjectId]
- def getPriorities(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Priority]
- def getPriority(owner: String, repository: String, priorityName: String)(implicit s: (blockingApi)#Session): Option[Priority]
- def getPriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Option[Priority]
- def getPublicKeys(userName: String)(implicit s: (blockingApi)#Session): List[SshKey]
- def getRecentActivities()(implicit s: (blockingApi)#Session): List[Activity]
- def getRecentActivitiesByOwners(owners: Set[String])(implicit s: (blockingApi)#Session): List[Activity]
- def getRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Option[RepositoryInfo]
- def getRepositoryNamesOfUser(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
- def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String] = None, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
- def getWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Option[(RepositoryWebHook, Set[Event])]
- def getWebHooks(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[(RepositoryWebHook, Set[Event])]
- def getWebHooksByEvent(owner: String, repository: String, event: Event)(implicit s: (blockingApi)#Session): List[RepositoryWebHook]
- def getWikiPage(owner: String, repository: String, pageName: String): Option[WikiPageInfo]
- def getWikiPageList(owner: String, repository: String): List[String]
- val gpgKeyForm: MappingValueType[GpgKeyForm]
- def halt(result: ActionResult): Nothing
- def halt[T](status: Integer, body: T, headers: Map[String, String]): Nothing
- def handle(req: HttpServletRequest, res: HttpServletResponse): Unit
- def hasAccessToken(userName: String)(implicit s: (blockingApi)#Session): Boolean
- def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hashCode(): Int
- def head(transformers: RouteTransformer*)(action: => Any): Route
- val identifier: Constraint
- def inferFromFormats: ContentTypeInferrer
- def init(filterConfig: FilterConfig): Unit
- def initParameter(name: String): Option[String]
- def initialize(config: ConfigT): Unit
- def insertDefaultLabels(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def insertDefaultPriorities(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- 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: (blockingApi)#Session): Unit
- def invoke(matchedRoute: MatchedRoute): Option[Any]
- def isAsyncExecutable(result: Any): Boolean
- def isDevelopmentMode: Boolean
- def isHttps(implicit request: HttpServletRequest): Boolean
- final def isInstanceOf[T0]: Boolean
- def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
- def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- implicit val jsonFormats: Formats
- def jsonVulnerabilityGuard: Boolean
- def jsonpCallbackParameterNames: Iterable[String]
- def loadSystemSettings(): SystemSettings
- def locale(implicit request: HttpServletRequest): Locale
- implicit def lowestPriorityAny2T[T](implicit arg0: ClassTag[T]): TypeConverter[Any, T]
- def makeAccessTokenString: String
- def managersOnly[T](action: (T) => Any): (T) => Any
- def managersOnly(action: => Any): Any
- def mapper: ObjectMapper
- def messages(implicit request: HttpServletRequest): Messages
- def messages(key: String)(implicit request: HttpServletRequest): String
- def methodNotAllowed(f: (Set[HttpMethod]) => Any): Unit
- val mimeTypes: Map[String, String]
- def multiParams(implicit request: HttpServletRequest): MultiParams
- def multiParams(key: String)(implicit request: HttpServletRequest): Seq[String]
- final def ne(arg0: AnyRef): Boolean
- def needsHttps: Boolean
- val newForm: MappingValueType[AccountNewForm]
- val newGroupForm: MappingValueType[NewGroupForm]
- val newRepositoryForm: MappingValueType[RepositoryCreationForm]
- def notFound(fun: => Any): Unit
- final def notify(): Unit
- final def notifyAll(): Unit
- def oneselfOnly[T](action: (T) => Any): (T) => Any
- def oneselfOnly(action: => Any): Any
- def options(transformers: RouteTransformer*)(action: => Any): Route
- def params(implicit request: HttpServletRequest): Params
- def params(key: String)(implicit request: HttpServletRequest): String
- def parse(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): JValue
- def parseOpt(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): Option[JValue]
- def parseRequestBody(format: String)(implicit request: HttpServletRequest): JValue
- def parsedBody(implicit request: HttpServletRequest): JValue
- def pass(): Nothing
- val password: Constraint
- def patch(transformers: RouteTransformer*)(action: => Any): Route
- implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher
- val personalTokenForm: MappingValueType[PersonalTokenForm]
- def post[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def post(transformers: RouteTransformer*)(action: => Any): Route
- def pretty(d: JValue): String
- def provideMessages(locale: Locale): Messages
- def put[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def put(transformers: RouteTransformer*)(action: => Any): Route
- def readJsonFromBody(bd: String): JValue
- def readXmlFromBody(bd: String): JValue
- def readableUsersOnly[T](action: (T, RepositoryInfo) => Any): (T) => Any
- def readableUsersOnly(action: (RepositoryInfo) => Any): Any
- def recordCloseIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordClosePullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentCommitActivity(userName: String, repositoryName: String, activityUserName: String, commitId: String, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateRepositoryActivity(userName: String, repositoryName: String, activityUserName: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordCreateWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String)(implicit s: (blockingApi)#Session): Unit
- def recordDeleteBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: (blockingApi)#Session): Unit
- def recordDeleteTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordEditWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String, commitId: String)(implicit s: (blockingApi)#Session): Unit
- def recordForkActivity(userName: String, repositoryName: String, activityUserName: String, forkedUserName: String)(implicit s: (blockingApi)#Session): Unit
- def recordMergeActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, message: String)(implicit s: (blockingApi)#Session): Unit
- def recordPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordPushActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordReleaseActivity(userName: String, repositoryName: String, activityUserName: String, releaseName: String, tagName: String)(implicit s: (blockingApi)#Session): Unit
- def recordReopenIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing
- implicit def regex2RouteMatcher(regex: Regex): RouteMatcher
- def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def removeCollaborator(userName: String, repositoryName: String, collaboratorName: String)(implicit s: (blockingApi)#Session): Unit
- def removeCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def removeRoute(method: String, route: Route): Unit
- def removeRoute(method: HttpMethod, route: Route): Unit
- def removeUser(account: Account)(implicit s: (blockingApi)#Session): Unit
- def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
- def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def render(value: JValue)(implicit formats: Formats): JValue
- def renderHaltException(e: HaltException): Unit
- def renderPipeline: RenderPipeline
- def renderResponse(actionResult: Any): Unit
- def renderResponseBody(actionResult: Any): Unit
- def renderUncaughtException(e: Throwable)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
- def reorderPriorities(owner: String, repository: String, order: Map[Int, Int])(implicit s: (blockingApi)#Session): Unit
- val repository: Constraint
- implicit def request: HttpServletRequest
- def requestFormat(implicit request: HttpServletRequest): String
- def requestPath(uri: String, idx: Int): String
- def requestPath(implicit request: HttpServletRequest): String
- def reservedNames(): Constraint
- implicit def response: HttpServletResponse
- def responseRawFile(git: Git, objectId: ObjectId, path: String, repository: RepositoryInfo): Unit
- def revertWikiPage(owner: String, repository: String, from: String, to: String, committer: Account, pageName: Option[String]): Boolean
- def rosettaFlashGuard: Boolean
- def routeBasePath(implicit request: HttpServletRequest): String
- lazy val routes: RouteRegistry
- def runFilters(filters: Iterable[Route]): Unit
- def runRoutes(routes: Iterable[Route]): Stream[Any]
- implicit def safe[S, T](f: (S) => T): TypeConverter[S, T]
- implicit def safeOption[S, T](f: (S) => Option[T]): TypeConverter[S, T]
- def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
- def saveRepositoryOptions(userName: String, repositoryName: String, description: Option[String], isPrivate: Boolean, issuesOption: String, externalIssuesUrl: Option[String], wikiOption: String, externalWikiUrl: Option[String], allowFork: Boolean, mergeOptions: Seq[String], defaultMergeOption: String)(implicit s: (blockingApi)#Session): Unit
- def saveSystemSettings(settings: SystemSettings): Unit
- def saveWikiPage(owner: String, repository: String, currentPageName: String, newPageName: String, content: String, committer: Account, message: String, currentId: Option[String]): Option[String]
- implicit def scalatraContext: ScalatraContext
- def secureXML: XMLLoader[Elem]
- implicit def seqHead[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], T]
- implicit def seqToSeq[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], Seq[T]]
- def serverHost(implicit request: HttpServletRequest): String
- def serverPort(implicit request: HttpServletRequest): Int
- def servletContext: ServletContext
- def session(key: String)(implicit request: HttpServletRequest): Any
- implicit def session(implicit request: HttpServletRequest): HttpSession
- def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]
- def setDefaultPriority(owner: String, repository: String, priorityId: Option[Int])(implicit s: (blockingApi)#Session): Unit
- def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: MultiParams)(implicit request: HttpServletRequest): Unit
- def shutdown(): Unit
- val sshKeyForm: MappingValueType[SshKeyForm]
- def status: Int
- def status_=(code: Int): Unit
- implicit def string2RouteMatcher(path: String): RouteMatcher
- implicit val stringToBoolean: TypeConverter[String, Boolean]
- implicit val stringToByte: TypeConverter[String, Byte]
- def stringToDate(format: => String): TypeConverter[String, Date]
- def stringToDateFormat(format: => DateFormat): TypeConverter[String, Date]
- implicit val stringToDouble: TypeConverter[String, Double]
- implicit val stringToFloat: TypeConverter[String, Float]
- implicit val stringToInt: TypeConverter[String, Int]
- implicit val stringToLong: TypeConverter[String, Long]
- implicit val stringToSelf: TypeConverter[String, String]
- def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String)(implicit arg0: ClassTag[T]): TypeConverter[String, Seq[T]]
- implicit val stringToShort: TypeConverter[String, Short]
- def suspendAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
- def sweepUnusedFlashEntries(req: HttpServletRequest): Boolean
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- implicit def toTypedMultiParams(params: MultiParams): TypedMultiParams
- implicit def toTypedParams(params: Params): TypedParams
- def tokenToHash(token: String): String
- def transformRequestBody(body: JValue): JValue
- def transformResponseBody(body: JValue): JValue
- def trap(codes: Range)(block: => Any): Unit
- def trap(code: Int)(block: => Any): Unit
- def trim2[T](valueType: SingleValueType[T]): SingleValueType[T]
- def uniqueExtraMailAddress(paramName: String = ""): Constraint
- def uniqueMailAddress(paramName: String = ""): Constraint
- def uniqueUserName: Constraint
- def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
- def updateAccountExtraMailAddresses(userName: String, mails: List[String])(implicit s: (blockingApi)#Session): Unit
- def updateAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
- def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
- def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
- def updateImage(userName: String, fileId: Option[String], clearImage: Boolean): Unit
- def updateLabel(owner: String, repository: String, labelId: Int, labelName: String, color: String)(implicit s: (blockingApi)#Session): Unit
- def updateLastActivityDate(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
- def updatePriority(owner: String, repository: String, priorityId: Int, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Unit
- def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- 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
- def userLocales(implicit request: HttpServletRequest): Array[Locale]
- def usersOnly[T](action: (T) => Any): (T) => Any
- def usersOnly(action: => Any): Any
- def validate[V, T](form: ValueType[V])(hasErrors: (Seq[(String, String)]) => T, success: (V) => T): T
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- def withRequest[A](request: HttpServletRequest)(f: => A): A
- def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: => A): A
- def withResponse[A](response: HttpServletResponse)(f: => A): A
- def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: => S)(implicit request: HttpServletRequest): S
- def writeJson(json: JValue, writer: Writer): Unit
- def writeJsonAsXml(json: JValue, writer: Writer): Unit
- lazy val xmlRootNode: Elem
Value Members
- def createRepository(loginAccount: Account, owner: String, name: String, description: Option[String], isPrivate: Boolean, initOption: String, sourceUrl: Option[String]): Future[Unit]
- def createRepository(loginAccount: Account, owner: String, name: String, description: Option[String], isPrivate: Boolean, createReadme: Boolean): Future[Unit]
- def forkRepository(accountName: String, repository: RepositoryInfo, loginUserName: String): Future[Unit]
- def insertDefaultLabels(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def insertDefaultPriorities(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
Value Members
- def createPriority(owner: String, repository: String, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Int
- def deletePriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Unit
- def getDefaultPriority(owner: String, repository: String)(implicit s: (blockingApi)#Session): Option[Priority]
- def getPriorities(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Priority]
- def getPriority(owner: String, repository: String, priorityName: String)(implicit s: (blockingApi)#Session): Option[Priority]
- def getPriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Option[Priority]
- def reorderPriorities(owner: String, repository: String, order: Map[Int, Int])(implicit s: (blockingApi)#Session): Unit
- def setDefaultPriority(owner: String, repository: String, priorityId: Option[Int])(implicit s: (blockingApi)#Session): Unit
- def updatePriority(owner: String, repository: String, priorityId: Int, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Unit
Value Members
- def addAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def addWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def callWebHook(event: Event, webHooks: List[WebHook], payload: WebHookPayload, settings: SystemSettings)(implicit c: api.JsonFormat.Context): List[(WebHook, String, Future[HttpRequest], Future[HttpResponse])]
- def callWebHookOf(owner: String, repository: String, event: Event, settings: SystemSettings)(makePayload: => Option[WebHookPayload])(implicit s: (blockingApi)#Session, c: api.JsonFormat.Context): Unit
- def deleteAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Unit
- def deleteWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Unit
- def getAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Option[(AccountWebHook, Set[Event])]
- def getAccountWebHooks(owner: String)(implicit s: (blockingApi)#Session): List[(AccountWebHook, Set[Event])]
- def getAccountWebHooksByEvent(owner: String, event: Event)(implicit s: (blockingApi)#Session): List[AccountWebHook]
- def getWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Option[(RepositoryWebHook, Set[Event])]
- def getWebHooks(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[(RepositoryWebHook, Set[Event])]
- def getWebHooksByEvent(owner: String, repository: String, event: Event)(implicit s: (blockingApi)#Session): List[RepositoryWebHook]
- def updateAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
Value Members
- def deleteAccessToken(userName: String, accessTokenId: Int)(implicit s: (blockingApi)#Session): Unit
- def generateAccessToken(userName: String, note: String)(implicit s: (blockingApi)#Session): (Int, String)
- def getAccessTokens(userName: String)(implicit s: (blockingApi)#Session): List[AccessToken]
- def getAccountByAccessToken(token: String)(implicit s: (blockingApi)#Session): Option[Account]
- def hasAccessToken(userName: String)(implicit s: (blockingApi)#Session): Boolean
- def makeAccessTokenString: String
- def tokenToHash(token: String): String
Value Members
- def readableUsersOnly[T](action: (T, RepositoryInfo) => Any): (T) => Any
- def readableUsersOnly(action: (RepositoryInfo) => Any): Any
Value Members
- def managersOnly[T](action: (T) => Any): (T) => Any
- def managersOnly(action: => Any): Any
Value Members
- def usersOnly[T](action: (T) => Any): (T) => Any
- def usersOnly(action: => Any): Any
Value Members
- def oneselfOnly[T](action: (T) => Any): (T) => Any
- def oneselfOnly(action: => Any): Any
Value Members
- def addGpgPublicKey(userName: String, title: String, publicKey: String)(implicit s: (blockingApi)#Session): Unit
- def deleteGpgPublicKey(userName: String, keyId: Int)(implicit s: (blockingApi)#Session): Unit
- def getGpgPublicKeys(userName: String)(implicit s: (blockingApi)#Session): List[GpgKey]
Value Members
- def addPublicKey(userName: String, title: String, publicKey: String)(implicit s: (blockingApi)#Session): Unit
- def deletePublicKey(userName: String, sshKeyId: Int)(implicit s: (blockingApi)#Session): Unit
- def getAllKeys()(implicit s: (blockingApi)#Session): List[SshKey]
- def getPublicKeys(userName: String)(implicit s: (blockingApi)#Session): List[SshKey]
Value Members
- def createLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Int
- def createLabel(owner: String, repository: String, labelName: String, color: String)(implicit s: (blockingApi)#Session): Int
- def deleteLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Unit
- def getLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Option[Label]
- def getLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Option[Label]
- def getLabels(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Label]
- def updateLabel(owner: String, repository: String, labelId: Int, labelName: String, color: String)(implicit s: (blockingApi)#Session): Unit
Value Members
- def createWikiRepository(loginAccount: Account, owner: String, repository: String): Unit
- def deleteWikiPage(owner: String, repository: String, pageName: String, committer: String, mailAddress: String, message: String): Unit
- def getWikiPage(owner: String, repository: String, pageName: String): Option[WikiPageInfo]
- def getWikiPageList(owner: String, repository: String): List[String]
- def revertWikiPage(owner: String, repository: String, from: String, to: String, committer: Account, pageName: Option[String]): Boolean
- def saveWikiPage(owner: String, repository: String, currentPageName: String, newPageName: String, content: String, committer: Account, message: String, currentId: Option[String]): Option[String]
Value Members
- def deleteOldActivities(limit: Int)(implicit s: (blockingApi)#Session): Int
- def getActivitiesByUser(activityUserName: String, isPublic: Boolean)(implicit s: (blockingApi)#Session): List[Activity]
- def getRecentActivities()(implicit s: (blockingApi)#Session): List[Activity]
- def getRecentActivitiesByOwners(owners: Set[String])(implicit s: (blockingApi)#Session): List[Activity]
- def recordCloseIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordClosePullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentCommitActivity(userName: String, repositoryName: String, activityUserName: String, commitId: String, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateRepositoryActivity(userName: String, repositoryName: String, activityUserName: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordCreateWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String)(implicit s: (blockingApi)#Session): Unit
- def recordDeleteBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: (blockingApi)#Session): Unit
- def recordDeleteTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordEditWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String, commitId: String)(implicit s: (blockingApi)#Session): Unit
- def recordForkActivity(userName: String, repositoryName: String, activityUserName: String, forkedUserName: String)(implicit s: (blockingApi)#Session): Unit
- def recordMergeActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, message: String)(implicit s: (blockingApi)#Session): Unit
- def recordPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordPushActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordReleaseActivity(userName: String, repositoryName: String, activityUserName: String, releaseName: String, tagName: String)(implicit s: (blockingApi)#Session): Unit
- def recordReopenIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
Value Members
- def addCollaborator(userName: String, repositoryName: String, collaboratorName: String, role: String)(implicit s: (blockingApi)#Session): Unit
- def deleteRepository(repository: Repository)(implicit s: (blockingApi)#Session): Unit
- def getAllRepositories(userName: String)(implicit s: (blockingApi)#Session): List[(String, String)]
- def getCollaboratorUserNames(userName: String, repositoryName: String, filter: Seq[Role] = Nil)(implicit s: (blockingApi)#Session): List[String]
- def getCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[(Collaborator, Boolean)]
- def getContentTemplate(repository: RepositoryInfo, fileBaseName: String)(implicit s: (blockingApi)#Session): String
- def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
- def getRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Option[RepositoryInfo]
- def getRepositoryNamesOfUser(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
- def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String] = None, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
- def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- 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: (blockingApi)#Session): Unit
- def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def removeCollaborator(userName: String, repositoryName: String, collaboratorName: String)(implicit s: (blockingApi)#Session): Unit
- def removeCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
- def saveRepositoryOptions(userName: String, repositoryName: String, description: Option[String], isPrivate: Boolean, issuesOption: String, externalIssuesUrl: Option[String], wikiOption: String, externalWikiUrl: Option[String], allowFork: Boolean, mergeOptions: Seq[String], defaultMergeOption: String)(implicit s: (blockingApi)#Session): Unit
- def updateLastActivityDate(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
Value Members
- def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
- def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
- def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
- def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByUserNameIgnoreCase(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountExtraMailAddresses(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
- def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
- def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
- def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
- def removeUser(account: Account)(implicit s: (blockingApi)#Session): Unit
- def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
- def suspendAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
- def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
- def updateAccountExtraMailAddresses(userName: String, mails: List[String])(implicit s: (blockingApi)#Session): Unit
- def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
- def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
- def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
- def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
Value Members
- val allReservedNames: Set[String]
- def reservedNames(): Constraint
- def uniqueExtraMailAddress(paramName: String = ""): Constraint
- def uniqueMailAddress(paramName: String = ""): Constraint
- def uniqueUserName: Constraint
- def updateImage(userName: String, fileId: Option[String], clearImage: Boolean): Unit
Value Members
- def NotFound(): ActionResult
- def RawData[T](contentType: String, rawData: T): T
- def Unauthorized()(implicit context: Context): ActionResult
- def ajaxGet[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxGet(path: String)(action: => Any): Route
- def ajaxPost[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxPost(path: String)(action: => Any): Route
- implicit def context: Context
- def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit
- def extractFromJsonBody[A](implicit request: HttpServletRequest, mf: Manifest[A]): Option[A]
- def getPathObjectId(git: Git, path: String, revCommit: RevCommit): Option[ObjectId]
- implicit val jsonFormats: Formats
- def requestPath(uri: String, idx: Int): String
- def responseRawFile(git: Git, objectId: ObjectId, path: String, repository: RepositoryInfo): Unit
- def trim2[T](valueType: SingleValueType[T]): SingleValueType[T]
- 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
Value Members
- def baseUrl(implicit request: HttpServletRequest): String
- def loadSystemSettings(): SystemSettings
- def saveSystemSettings(settings: SystemSettings): Unit
Value Members
- val color: Constraint
- def date(constraints: Constraint*): SingleValueType[Date]
- val identifier: Constraint
- val password: Constraint
- val repository: Constraint
Inherited from FlashMapSupport
Value Members
- def flash(key: String)(implicit request: HttpServletRequest): Any
- def flash(implicit request: HttpServletRequest): FlashMap
- def flashMapSetSession(f: FlashMap): Unit
- def handle(req: HttpServletRequest, res: HttpServletResponse): Unit
- def sweepUnusedFlashEntries(req: HttpServletRequest): Boolean
Inherited from I18nSupport
Value Members
- def locale(implicit request: HttpServletRequest): Locale
- def messages(implicit request: HttpServletRequest): Messages
- def messages(key: String)(implicit request: HttpServletRequest): String
- def provideMessages(locale: Locale): Messages
- def userLocales(implicit request: HttpServletRequest): Array[Locale]
Inherited from JacksonJsonSupport
Value Members
- def initialize(config: ConfigT): Unit
- def readJsonFromBody(bd: String): JValue
Inherited from JValueResult
Value Members
- def renderPipeline: RenderPipeline
Inherited from JacksonJsonOutput
Value Members
- def writeJson(json: JValue, writer: Writer): Unit
Inherited from JsonMethods
Value Members
- def asJValue[T](obj: T)(implicit writer: Writer[T]): JValue
- def asJsonNode(jv: JValue): JsonNode
- def compact(d: JValue): String
- def fromJValue[T](json: JValue)(implicit reader: Reader[T]): T
- def fromJsonNode(jn: JsonNode): JValue
- def mapper: ObjectMapper
- def parse(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): JValue
- def parseOpt(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): Option[JValue]
- def pretty(d: JValue): String
- def render(value: JValue)(implicit formats: Formats): JValue
Inherited from JsonSupport[JValue]
Value Members
- def parseRequestBody(format: String)(implicit request: HttpServletRequest): JValue
- def parsedBody(implicit request: HttpServletRequest): JValue
- def readXmlFromBody(bd: String): JValue
- def secureXML: XMLLoader[Elem]
- def transformRequestBody(body: JValue): JValue
Inherited from JsonOutput[JValue]
Value Members
- def jsonVulnerabilityGuard: Boolean
- def jsonpCallbackParameterNames: Iterable[String]
- def rosettaFlashGuard: Boolean
- def transformResponseBody(body: JValue): JValue
- def writeJsonAsXml(json: JValue, writer: Writer): Unit
- lazy val xmlRootNode: Elem
Inherited from ApiFormats
Value Members
- def acceptHeader(implicit request: HttpServletRequest): List[String]
- def acceptedFormats(accepted: Symbol*): Boolean
- def addMimeMapping(mime: String, extension: String): Unit
- def contentTypeInferrer: ContentTypeInferrer
- def defaultAcceptedFormats: List[Symbol]
- def defaultFormat: Symbol
- def format(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def formatForMimeTypes(mimeTypes: String*): Option[String]
- val formats: Map[String, String]
- def inferFromFormats: ContentTypeInferrer
- val mimeTypes: Map[String, String]
- def requestFormat(implicit request: HttpServletRequest): String
- def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: => S)(implicit request: HttpServletRequest): S
Value Members
- def ajaxDelete[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxPut[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def delete[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def get[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def post[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def put[T](path: String, form: ValueType[T])(action: (T) => Any): Route
Inherited from FormSupport
Value Members
- def validate[V, T](form: ValueType[V])(hasErrors: (Seq[(String, String)]) => T, success: (V) => T): T
Inherited from ScalatraFilter
Value Members
- val RequestPathKey: String
- def destroy(): Unit
- val doNotFound: Action
- def filterChain: FilterChain
- def init(filterConfig: FilterConfig): Unit
- def requestPath(implicit request: HttpServletRequest): String
- def routeBasePath(implicit request: HttpServletRequest): String
Inherited from ServletBase
Inherited from ScalatraBase
Value Members
- def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: => Any): Route
- def addSessionId(uri: String)(implicit response: HttpServletResponse): String
- def addStatusRoute(codes: Range, action: => Any): Unit
- def after(transformers: RouteTransformer*)(fun: => Any): Unit
- def before(transformers: RouteTransformer*)(fun: => Any): Unit
- implicit def booleanBlock2RouteMatcher(block: => Boolean): RouteMatcher
- val config: ConfigT
- def contextPath: String
- val defaultCharacterEncoding: String
- def delete(transformers: RouteTransformer*)(action: => Any): Route
- val doMethodNotAllowed: (Set[HttpMethod]) => Any
- def environment: String
- def error(handler: ErrorHandler): Unit
- val errorHandler: ErrorHandler
- def executeRoutes(): Unit
- def extractStatusCode(e: HaltException): Int
- def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def get(transformers: RouteTransformer*)(action: => Any): Route
- def head(transformers: RouteTransformer*)(action: => Any): Route
- def initParameter(name: String): Option[String]
- def invoke(matchedRoute: MatchedRoute): Option[Any]
- def isAsyncExecutable(result: Any): Boolean
- def isDevelopmentMode: Boolean
- def isHttps(implicit request: HttpServletRequest): Boolean
- def methodNotAllowed(f: (Set[HttpMethod]) => Any): Unit
- def multiParams(implicit request: HttpServletRequest): MultiParams
- def multiParams(key: String)(implicit request: HttpServletRequest): Seq[String]
- def needsHttps: Boolean
- def notFound(fun: => Any): Unit
- def options(transformers: RouteTransformer*)(action: => Any): Route
- def params(implicit request: HttpServletRequest): Params
- def params(key: String)(implicit request: HttpServletRequest): String
- def patch(transformers: RouteTransformer*)(action: => Any): Route
- implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher
- def post(transformers: RouteTransformer*)(action: => Any): Route
- def put(transformers: RouteTransformer*)(action: => Any): Route
- def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing
- implicit def regex2RouteMatcher(regex: Regex): RouteMatcher
- def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def removeRoute(method: String, route: Route): Unit
- def removeRoute(method: HttpMethod, route: Route): Unit
- def renderHaltException(e: HaltException): Unit
- def renderResponse(actionResult: Any): Unit
- def renderResponseBody(actionResult: Any): Unit
- def renderUncaughtException(e: Throwable)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
- lazy val routes: RouteRegistry
- def runFilters(filters: Iterable[Route]): Unit
- def runRoutes(routes: Iterable[Route]): Stream[Any]
- def serverHost(implicit request: HttpServletRequest): String
- def serverPort(implicit request: HttpServletRequest): Int
- def servletContext: ServletContext
- def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: MultiParams)(implicit request: HttpServletRequest): Unit
- implicit def string2RouteMatcher(path: String): RouteMatcher
- def trap(codes: Range)(block: => Any): Unit
Inherited from DefaultImplicitConversions
Value Members
- implicit def defaultStringToSeq[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[String, Seq[T]]
- implicit def seqHead[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], T]
- implicit def seqToSeq[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], Seq[T]]
- implicit val stringToBoolean: TypeConverter[String, Boolean]
- implicit val stringToByte: TypeConverter[String, Byte]
- def stringToDate(format: => String): TypeConverter[String, Date]
- def stringToDateFormat(format: => DateFormat): TypeConverter[String, Date]
- implicit val stringToDouble: TypeConverter[String, Double]
- implicit val stringToFloat: TypeConverter[String, Float]
- implicit val stringToInt: TypeConverter[String, Int]
- implicit val stringToLong: TypeConverter[String, Long]
- implicit val stringToSelf: TypeConverter[String, String]
- def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String)(implicit arg0: ClassTag[T]): TypeConverter[String, Seq[T]]
- implicit val stringToShort: TypeConverter[String, Short]
Inherited from LowPriorityImplicitConversions
Value Members
- implicit val anyToBoolean: TypeConverter[Any, Boolean]
- implicit val anyToByte: TypeConverter[Any, Byte]
- implicit val anyToDouble: TypeConverter[Any, Double]
- implicit val anyToFloat: TypeConverter[Any, Float]
- implicit val anyToInt: TypeConverter[Any, Int]
- implicit val anyToLong: TypeConverter[Any, Long]
- implicit val anyToShort: TypeConverter[Any, Short]
- implicit val anyToString: TypeConverter[Any, String]
Inherited from LowestPriorityImplicitConversions
Value Members
- implicit def lowestPriorityAny2T[T](implicit arg0: ClassTag[T]): TypeConverter[Any, T]
Inherited from TypeConverterSupport
Value Members
- implicit def safe[S, T](f: (S) => T): TypeConverter[S, T]
- implicit def safeOption[S, T](f: (S) => Option[T]): TypeConverter[S, T]
Inherited from ScalatraParamsImplicits
Value Members
- implicit def toTypedMultiParams(params: MultiParams): TypedMultiParams
- implicit def toTypedParams(params: Params): TypedParams
Inherited from Initializable
Value Members
- def shutdown(): Unit
Inherited from DynamicScope
Value Members
- implicit def request: HttpServletRequest
- implicit def response: HttpServletResponse
- def withRequest[A](request: HttpServletRequest)(f: => A): A
- def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: => A): A
- def withResponse[A](response: HttpServletResponse)(f: => A): A
Inherited from CoreDsl
Value Members
- def trap(code: Int)(block: => Any): Unit
Inherited from Control
Value Members
- def halt(result: ActionResult): Nothing
- def halt[T](status: Integer, body: T, headers: Map[String, String]): Nothing
- def pass(): Nothing
Inherited from ScalatraContext
Value Members
- def contentType: String
- def contentType_=(contentType: String): Unit
- def format_=(formatValue: String): Unit
- def format_=(formatValue: Symbol): Unit
- implicit def scalatraContext: ScalatraContext
- def status: Int
- def status_=(code: Int): Unit
Inherited from CookieContext
Value Members
- implicit def cookieOptions: CookieOptions
- def cookies(implicit request: HttpServletRequest): SweetCookies
Inherited from SessionSupport
Value Members
- def session(key: String)(implicit request: HttpServletRequest): Any
- implicit def session(implicit request: HttpServletRequest): HttpSession
- def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]
Inherited from ServletApiImplicits
Value Members
- implicit def enrichRequest(request: HttpServletRequest): RichRequest
- implicit def enrichResponse(response: HttpServletResponse): RichResponse
- implicit def enrichServletContext(servletContext: ServletContext): RichServletContext
- implicit def enrichSession(session: HttpSession): RichSession
Inherited from AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- final def ##(): Int
- final def ==(arg0: Any): Boolean
- def clone(): AnyRef
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: AnyRef): Boolean
- def finalize(): Unit
- final def getClass(): Class[_ <: AnyRef]
- def hashCode(): Int
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
Inherited from Any
Value Members
- final def asInstanceOf[T0]: T0
- final def isInstanceOf[T0]: Boolean
Ungrouped
- trait Config extends AnyRef
- type ConfigT = FilterConfig
- case class AccountEditForm(password: Option[String], fullName: String, mailAddress: String, extraMailAddresses: List[String], description: Option[String], url: Option[String], fileId: Option[String], clearImage: Boolean) extends Product with Serializable
- case class AccountForm(accountName: String) extends Product with Serializable
- case class AccountNewForm(userName: String, password: String, fullName: String, mailAddress: String, extraMailAddresses: List[String], description: Option[String], url: Option[String], fileId: Option[String]) extends Product with Serializable
- case class AccountWebHookForm(url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String]) extends Product with Serializable
- case class EditGroupForm(groupName: String, description: Option[String], url: Option[String], fileId: Option[String], members: String, clearImage: Boolean) extends Product with Serializable
- case class ForkRepositoryForm(owner: String, name: String) extends Product with Serializable
- case class GpgKeyForm(title: String, publicKey: String) extends Product with Serializable
- case class NewGroupForm(groupName: String, description: Option[String], url: Option[String], fileId: Option[String], members: String) extends Product with Serializable
- case class PersonalTokenForm(note: String) extends Product with Serializable
- case class RepositoryCreationForm(owner: String, name: String, description: Option[String], isPrivate: Boolean, initOption: String, sourceUrl: Option[String]) extends Product with Serializable
- case class SshKeyForm(title: String, publicKey: String) extends Product with Serializable
- final def !=(arg0: Any): Boolean
- final def ##(): Int
- final def ==(arg0: Any): Boolean
- def NotFound(): ActionResult
- def RawData[T](contentType: String, rawData: T): T
- val RequestPathKey: String
- def Unauthorized()(implicit context: Context): ActionResult
- def acceptHeader(implicit request: HttpServletRequest): List[String]
- def acceptedFormats(accepted: Symbol*): Boolean
- val accountForm: MappingValueType[AccountForm]
- def accountWebHookForm(update: Boolean): MappingValueType[AccountWebHookForm]
- def addAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def addCollaborator(userName: String, repositoryName: String, collaboratorName: String, role: String)(implicit s: (blockingApi)#Session): Unit
- def addGpgPublicKey(userName: String, title: String, publicKey: String)(implicit s: (blockingApi)#Session): Unit
- def addMimeMapping(mime: String, extension: String): Unit
- def addPublicKey(userName: String, title: String, publicKey: String)(implicit s: (blockingApi)#Session): Unit
- def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: => Any): Route
- def addSessionId(uri: String)(implicit response: HttpServletResponse): String
- def addStatusRoute(codes: Range, action: => Any): Unit
- def addWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def after(transformers: RouteTransformer*)(fun: => Any): Unit
- def ajaxDelete[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxGet[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxGet(path: String)(action: => Any): Route
- def ajaxPost[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def ajaxPost(path: String)(action: => Any): Route
- def ajaxPut[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- val allReservedNames: Set[String]
- implicit val anyToBoolean: TypeConverter[Any, Boolean]
- implicit val anyToByte: TypeConverter[Any, Byte]
- implicit val anyToDouble: TypeConverter[Any, Double]
- implicit val anyToFloat: TypeConverter[Any, Float]
- implicit val anyToInt: TypeConverter[Any, Int]
- implicit val anyToLong: TypeConverter[Any, Long]
- implicit val anyToShort: TypeConverter[Any, Short]
- implicit val anyToString: TypeConverter[Any, String]
- final def asInstanceOf[T0]: T0
- def asJValue[T](obj: T)(implicit writer: Writer[T]): JValue
- def asJsonNode(jv: JValue): JsonNode
- def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
- def baseUrl(implicit request: HttpServletRequest): String
- def before(transformers: RouteTransformer*)(fun: => Any): Unit
- implicit def booleanBlock2RouteMatcher(block: => Boolean): RouteMatcher
- def callWebHook(event: Event, webHooks: List[WebHook], payload: WebHookPayload, settings: SystemSettings)(implicit c: api.JsonFormat.Context): List[(WebHook, String, Future[HttpRequest], Future[HttpResponse])]
- def callWebHookOf(owner: String, repository: String, event: Event, settings: SystemSettings)(makePayload: => Option[WebHookPayload])(implicit s: (blockingApi)#Session, c: api.JsonFormat.Context): Unit
- def clone(): AnyRef
- val color: Constraint
- def compact(d: JValue): String
- val config: ConfigT
- implicit def configWrapper(config: ConfigT): Config
- def contentType: String
- def contentTypeInferrer: ContentTypeInferrer
- def contentType_=(contentType: String): Unit
- implicit def context: Context
- def contextPath: String
- implicit def cookieOptions: CookieOptions
- def cookies(implicit request: HttpServletRequest): SweetCookies
- def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
- def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Account
- def createLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Int
- def createLabel(owner: String, repository: String, labelName: String, color: String)(implicit s: (blockingApi)#Session): Int
- def createPriority(owner: String, repository: String, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Int
- def createRepository(loginAccount: Account, owner: String, name: String, description: Option[String], isPrivate: Boolean, initOption: String, sourceUrl: Option[String]): Future[Unit]
- def createRepository(loginAccount: Account, owner: String, name: String, description: Option[String], isPrivate: Boolean, createReadme: Boolean): Future[Unit]
- def createWikiRepository(loginAccount: Account, owner: String, repository: String): Unit
- def date(constraints: Constraint*): SingleValueType[Date]
- def defaultAcceptedFormats: List[Symbol]
- val defaultCharacterEncoding: String
- def defaultFormat: Symbol
- implicit def defaultStringToSeq[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[String, Seq[T]]
- def delete[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def delete(transformers: RouteTransformer*)(action: => Any): Route
- def deleteAccessToken(userName: String, accessTokenId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Unit
- def deleteGpgPublicKey(userName: String, keyId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteOldActivities(limit: Int)(implicit s: (blockingApi)#Session): Int
- def deletePriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Unit
- def deletePublicKey(userName: String, sshKeyId: Int)(implicit s: (blockingApi)#Session): Unit
- def deleteRepository(repository: Repository)(implicit s: (blockingApi)#Session): Unit
- def deleteWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Unit
- def deleteWikiPage(owner: String, repository: String, pageName: String, committer: String, mailAddress: String, message: String): Unit
- def destroy(): Unit
- def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit
- val doMethodNotAllowed: (Set[HttpMethod]) => Any
- val doNotFound: Action
- val editForm: MappingValueType[AccountEditForm]
- val editGroupForm: MappingValueType[EditGroupForm]
- implicit def enrichRequest(request: HttpServletRequest): RichRequest
- implicit def enrichResponse(response: HttpServletResponse): RichResponse
- implicit def enrichServletContext(servletContext: ServletContext): RichServletContext
- implicit def enrichSession(session: HttpSession): RichSession
- def environment: String
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: AnyRef): Boolean
- def error(handler: ErrorHandler): Unit
- val errorHandler: ErrorHandler
- def executeRoutes(): Unit
- def extractFromJsonBody[A](implicit request: HttpServletRequest, mf: Manifest[A]): Option[A]
- def extractStatusCode(e: HaltException): Int
- def filterChain: FilterChain
- def finalize(): Unit
- def flash(key: String)(implicit request: HttpServletRequest): Any
- def flash(implicit request: HttpServletRequest): FlashMap
- def flashMapSetSession(f: FlashMap): Unit
- def forkRepository(accountName: String, repository: RepositoryInfo, loginUserName: String): Future[Unit]
- val forkRepositoryForm: MappingValueType[ForkRepositoryForm]
- def format(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def formatForMimeTypes(mimeTypes: String*): Option[String]
- def format_=(formatValue: String): Unit
- def format_=(formatValue: Symbol): Unit
- val formats: Map[String, String]
- def fromJValue[T](json: JValue)(implicit reader: Reader[T]): T
- def fromJsonNode(jn: JsonNode): JValue
- def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def generateAccessToken(userName: String, note: String)(implicit s: (blockingApi)#Session): (Int, String)
- def get[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def get(transformers: RouteTransformer*)(action: => Any): Route
- def getAccessTokens(userName: String)(implicit s: (blockingApi)#Session): List[AccessToken]
- def getAccountByAccessToken(token: String)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountByUserNameIgnoreCase(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
- def getAccountExtraMailAddresses(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getAccountWebHook(owner: String, url: String)(implicit s: (blockingApi)#Session): Option[(AccountWebHook, Set[Event])]
- def getAccountWebHooks(owner: String)(implicit s: (blockingApi)#Session): List[(AccountWebHook, Set[Event])]
- def getAccountWebHooksByEvent(owner: String, event: Event)(implicit s: (blockingApi)#Session): List[AccountWebHook]
- def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
- def getActivitiesByUser(activityUserName: String, isPublic: Boolean)(implicit s: (blockingApi)#Session): List[Activity]
- def getAllKeys()(implicit s: (blockingApi)#Session): List[SshKey]
- def getAllRepositories(userName: String)(implicit s: (blockingApi)#Session): List[(String, String)]
- def getAllUsers(includeRemoved: Boolean = true, includeGroups: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
- final def getClass(): Class[_ <: AnyRef]
- def getCollaboratorUserNames(userName: String, repositoryName: String, filter: Seq[Role] = Nil)(implicit s: (blockingApi)#Session): List[String]
- def getCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[(Collaborator, Boolean)]
- def getContentTemplate(repository: RepositoryInfo, fileBaseName: String)(implicit s: (blockingApi)#Session): String
- def getDefaultPriority(owner: String, repository: String)(implicit s: (blockingApi)#Session): Option[Priority]
- def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[Repository]
- def getGpgPublicKeys(userName: String)(implicit s: (blockingApi)#Session): List[GpgKey]
- def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
- def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getLabel(owner: String, repository: String, labelName: String)(implicit s: (blockingApi)#Session): Option[Label]
- def getLabel(owner: String, repository: String, labelId: Int)(implicit s: (blockingApi)#Session): Option[Label]
- def getLabels(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Label]
- def getPathObjectId(git: Git, path: String, revCommit: RevCommit): Option[ObjectId]
- def getPriorities(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[Priority]
- def getPriority(owner: String, repository: String, priorityName: String)(implicit s: (blockingApi)#Session): Option[Priority]
- def getPriority(owner: String, repository: String, priorityId: Int)(implicit s: (blockingApi)#Session): Option[Priority]
- def getPublicKeys(userName: String)(implicit s: (blockingApi)#Session): List[SshKey]
- def getRecentActivities()(implicit s: (blockingApi)#Session): List[Activity]
- def getRecentActivitiesByOwners(owners: Set[String])(implicit s: (blockingApi)#Session): List[Activity]
- def getRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Option[RepositoryInfo]
- def getRepositoryNamesOfUser(userName: String)(implicit s: (blockingApi)#Session): List[String]
- def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
- def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String] = None, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
- def getWebHook(owner: String, repository: String, url: String)(implicit s: (blockingApi)#Session): Option[(RepositoryWebHook, Set[Event])]
- def getWebHooks(owner: String, repository: String)(implicit s: (blockingApi)#Session): List[(RepositoryWebHook, Set[Event])]
- def getWebHooksByEvent(owner: String, repository: String, event: Event)(implicit s: (blockingApi)#Session): List[RepositoryWebHook]
- def getWikiPage(owner: String, repository: String, pageName: String): Option[WikiPageInfo]
- def getWikiPageList(owner: String, repository: String): List[String]
- val gpgKeyForm: MappingValueType[GpgKeyForm]
- def halt(result: ActionResult): Nothing
- def halt[T](status: Integer, body: T, headers: Map[String, String]): Nothing
- def handle(req: HttpServletRequest, res: HttpServletResponse): Unit
- def hasAccessToken(userName: String)(implicit s: (blockingApi)#Session): Boolean
- def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hasOwnerRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- def hashCode(): Int
- def head(transformers: RouteTransformer*)(action: => Any): Route
- val identifier: Constraint
- def inferFromFormats: ContentTypeInferrer
- def init(filterConfig: FilterConfig): Unit
- def initParameter(name: String): Option[String]
- def initialize(config: ConfigT): Unit
- def insertDefaultLabels(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def insertDefaultPriorities(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- 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: (blockingApi)#Session): Unit
- def invoke(matchedRoute: MatchedRoute): Option[Any]
- def isAsyncExecutable(result: Any): Boolean
- def isDevelopmentMode: Boolean
- def isHttps(implicit request: HttpServletRequest): Boolean
- final def isInstanceOf[T0]: Boolean
- def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
- def isReadable(repository: Repository, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
- implicit val jsonFormats: Formats
- def jsonVulnerabilityGuard: Boolean
- def jsonpCallbackParameterNames: Iterable[String]
- def loadSystemSettings(): SystemSettings
- def locale(implicit request: HttpServletRequest): Locale
- implicit def lowestPriorityAny2T[T](implicit arg0: ClassTag[T]): TypeConverter[Any, T]
- def makeAccessTokenString: String
- def managersOnly[T](action: (T) => Any): (T) => Any
- def managersOnly(action: => Any): Any
- def mapper: ObjectMapper
- def messages(implicit request: HttpServletRequest): Messages
- def messages(key: String)(implicit request: HttpServletRequest): String
- def methodNotAllowed(f: (Set[HttpMethod]) => Any): Unit
- val mimeTypes: Map[String, String]
- def multiParams(implicit request: HttpServletRequest): MultiParams
- def multiParams(key: String)(implicit request: HttpServletRequest): Seq[String]
- final def ne(arg0: AnyRef): Boolean
- def needsHttps: Boolean
- val newForm: MappingValueType[AccountNewForm]
- val newGroupForm: MappingValueType[NewGroupForm]
- val newRepositoryForm: MappingValueType[RepositoryCreationForm]
- def notFound(fun: => Any): Unit
- final def notify(): Unit
- final def notifyAll(): Unit
- def oneselfOnly[T](action: (T) => Any): (T) => Any
- def oneselfOnly(action: => Any): Any
- def options(transformers: RouteTransformer*)(action: => Any): Route
- def params(implicit request: HttpServletRequest): Params
- def params(key: String)(implicit request: HttpServletRequest): String
- def parse(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): JValue
- def parseOpt(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): Option[JValue]
- def parseRequestBody(format: String)(implicit request: HttpServletRequest): JValue
- def parsedBody(implicit request: HttpServletRequest): JValue
- def pass(): Nothing
- val password: Constraint
- def patch(transformers: RouteTransformer*)(action: => Any): Route
- implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher
- val personalTokenForm: MappingValueType[PersonalTokenForm]
- def post[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def post(transformers: RouteTransformer*)(action: => Any): Route
- def pretty(d: JValue): String
- def provideMessages(locale: Locale): Messages
- def put[T](path: String, form: ValueType[T])(action: (T) => Any): Route
- def put(transformers: RouteTransformer*)(action: => Any): Route
- def readJsonFromBody(bd: String): JValue
- def readXmlFromBody(bd: String): JValue
- def readableUsersOnly[T](action: (T, RepositoryInfo) => Any): (T) => Any
- def readableUsersOnly(action: (RepositoryInfo) => Any): Any
- def recordCloseIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordClosePullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentCommitActivity(userName: String, repositoryName: String, activityUserName: String, commitId: String, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCommentPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, comment: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateRepositoryActivity(userName: String, repositoryName: String, activityUserName: String)(implicit s: (blockingApi)#Session): Unit
- def recordCreateTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordCreateWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String)(implicit s: (blockingApi)#Session): Unit
- def recordDeleteBranchActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String)(implicit s: (blockingApi)#Session): Unit
- def recordDeleteTagActivity(userName: String, repositoryName: String, activityUserName: String, tagName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordEditWikiPageActivity(userName: String, repositoryName: String, activityUserName: String, pageName: String, commitId: String)(implicit s: (blockingApi)#Session): Unit
- def recordForkActivity(userName: String, repositoryName: String, activityUserName: String, forkedUserName: String)(implicit s: (blockingApi)#Session): Unit
- def recordMergeActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, message: String)(implicit s: (blockingApi)#Session): Unit
- def recordPullRequestActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def recordPushActivity(userName: String, repositoryName: String, activityUserName: String, branchName: String, commits: List[CommitInfo])(implicit s: (blockingApi)#Session): Unit
- def recordReleaseActivity(userName: String, repositoryName: String, activityUserName: String, releaseName: String, tagName: String)(implicit s: (blockingApi)#Session): Unit
- def recordReopenIssueActivity(userName: String, repositoryName: String, activityUserName: String, issueId: Int, title: String)(implicit s: (blockingApi)#Session): Unit
- def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing
- implicit def regex2RouteMatcher(regex: Regex): RouteMatcher
- def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
- def removeCollaborator(userName: String, repositoryName: String, collaboratorName: String)(implicit s: (blockingApi)#Session): Unit
- def removeCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def removeRoute(method: String, route: Route): Unit
- def removeRoute(method: HttpMethod, route: Route): Unit
- def removeUser(account: Account)(implicit s: (blockingApi)#Session): Unit
- def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
- def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def render(value: JValue)(implicit formats: Formats): JValue
- def renderHaltException(e: HaltException): Unit
- def renderPipeline: RenderPipeline
- def renderResponse(actionResult: Any): Unit
- def renderResponseBody(actionResult: Any): Unit
- def renderUncaughtException(e: Throwable)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
- def reorderPriorities(owner: String, repository: String, order: Map[Int, Int])(implicit s: (blockingApi)#Session): Unit
- val repository: Constraint
- implicit def request: HttpServletRequest
- def requestFormat(implicit request: HttpServletRequest): String
- def requestPath(uri: String, idx: Int): String
- def requestPath(implicit request: HttpServletRequest): String
- def reservedNames(): Constraint
- implicit def response: HttpServletResponse
- def responseRawFile(git: Git, objectId: ObjectId, path: String, repository: RepositoryInfo): Unit
- def revertWikiPage(owner: String, repository: String, from: String, to: String, committer: Account, pageName: Option[String]): Boolean
- def rosettaFlashGuard: Boolean
- def routeBasePath(implicit request: HttpServletRequest): String
- lazy val routes: RouteRegistry
- def runFilters(filters: Iterable[Route]): Unit
- def runRoutes(routes: Iterable[Route]): Stream[Any]
- implicit def safe[S, T](f: (S) => T): TypeConverter[S, T]
- implicit def safeOption[S, T](f: (S) => Option[T]): TypeConverter[S, T]
- def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
- def saveRepositoryOptions(userName: String, repositoryName: String, description: Option[String], isPrivate: Boolean, issuesOption: String, externalIssuesUrl: Option[String], wikiOption: String, externalWikiUrl: Option[String], allowFork: Boolean, mergeOptions: Seq[String], defaultMergeOption: String)(implicit s: (blockingApi)#Session): Unit
- def saveSystemSettings(settings: SystemSettings): Unit
- def saveWikiPage(owner: String, repository: String, currentPageName: String, newPageName: String, content: String, committer: Account, message: String, currentId: Option[String]): Option[String]
- implicit def scalatraContext: ScalatraContext
- def secureXML: XMLLoader[Elem]
- implicit def seqHead[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], T]
- implicit def seqToSeq[T](implicit arg0: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], Seq[T]]
- def serverHost(implicit request: HttpServletRequest): String
- def serverPort(implicit request: HttpServletRequest): Int
- def servletContext: ServletContext
- def session(key: String)(implicit request: HttpServletRequest): Any
- implicit def session(implicit request: HttpServletRequest): HttpSession
- def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]
- def setDefaultPriority(owner: String, repository: String, priorityId: Option[Int])(implicit s: (blockingApi)#Session): Unit
- def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: MultiParams)(implicit request: HttpServletRequest): Unit
- def shutdown(): Unit
- val sshKeyForm: MappingValueType[SshKeyForm]
- def status: Int
- def status_=(code: Int): Unit
- implicit def string2RouteMatcher(path: String): RouteMatcher
- implicit val stringToBoolean: TypeConverter[String, Boolean]
- implicit val stringToByte: TypeConverter[String, Byte]
- def stringToDate(format: => String): TypeConverter[String, Date]
- def stringToDateFormat(format: => DateFormat): TypeConverter[String, Date]
- implicit val stringToDouble: TypeConverter[String, Double]
- implicit val stringToFloat: TypeConverter[String, Float]
- implicit val stringToInt: TypeConverter[String, Int]
- implicit val stringToLong: TypeConverter[String, Long]
- implicit val stringToSelf: TypeConverter[String, String]
- def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String)(implicit arg0: ClassTag[T]): TypeConverter[String, Seq[T]]
- implicit val stringToShort: TypeConverter[String, Short]
- def suspendAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
- def sweepUnusedFlashEntries(req: HttpServletRequest): Boolean
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- implicit def toTypedMultiParams(params: MultiParams): TypedMultiParams
- implicit def toTypedParams(params: Params): TypedParams
- def tokenToHash(token: String): String
- def transformRequestBody(body: JValue): JValue
- def transformResponseBody(body: JValue): JValue
- def trap(codes: Range)(block: => Any): Unit
- def trap(code: Int)(block: => Any): Unit
- def trim2[T](valueType: SingleValueType[T]): SingleValueType[T]
- def uniqueExtraMailAddress(paramName: String = ""): Constraint
- def uniqueMailAddress(paramName: String = ""): Constraint
- def uniqueUserName: Constraint
- def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
- def updateAccountExtraMailAddresses(userName: String, mails: List[String])(implicit s: (blockingApi)#Session): Unit
- def updateAccountWebHook(owner: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
- def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
- def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
- def updateImage(userName: String, fileId: Option[String], clearImage: Boolean): Unit
- def updateLabel(owner: String, repository: String, labelId: Int, labelName: String, color: String)(implicit s: (blockingApi)#Session): Unit
- def updateLastActivityDate(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
- def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
- def updatePriority(owner: String, repository: String, priorityId: Int, priorityName: String, description: Option[String], color: String)(implicit s: (blockingApi)#Session): Unit
- def updateWebHook(owner: String, repository: String, url: String, events: Set[Event], ctype: WebHookContentType, token: Option[String])(implicit s: (blockingApi)#Session): Unit
- 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
- def userLocales(implicit request: HttpServletRequest): Array[Locale]
- def usersOnly[T](action: (T) => Any): (T) => Any
- def usersOnly(action: => Any): Any
- def validate[V, T](form: ValueType[V])(hasErrors: (Seq[(String, String)]) => T, success: (V) => T): T
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- def withRequest[A](request: HttpServletRequest)(f: => A): A
- def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: => A): A
- def withResponse[A](response: HttpServletResponse)(f: => A): A
- def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: => S)(implicit request: HttpServletRequest): S
- def writeJson(json: JValue, writer: Writer): Unit
- def writeJsonAsXml(json: JValue, writer: Writer): Unit
- lazy val xmlRootNode: Elem