Implicit conversion to add mkHtml() to Seq[Html].
Convert link notations in the activity message.
Add collaborator (user or group) to the repository.
Add collaborator (user or group) to the repository.
Returns the url to the root of assets.
Returns <img> which displays the avatar icon for the given mail address.
Returns <img> which displays the avatar icon for the given mail address. This method looks up Gravatar if avatar icon has not been configured in user settings.
Returns <img> which displays the avatar icon for the given user name.
Returns <img> which displays the avatar icon for the given user name. This method looks up Gravatar if avatar icon has not been configured in user settings.
Generates the avatar link to the account page.
Generates the avatar link to the account page. If user does not exist or disabled, this method returns avatar image without link.
Generates the avatar link to the account page.
Generates the avatar link to the account page. If user does not exist or disabled, this method returns avatar image without link.
Converts issue id, username and commit id to link in the given text.
Converts issue id, username and commit id to link in the given text.
Returns the count of the search result against issues.
Returns the count of the search result against issues.
the search condition
if true then counts only pull request, false then counts both of issue and pull request.
Tuple of the repository owner and the repository name
the count of the search result
Returns the Map which contains issue count for each labels.
Returns the Map which contains issue count for each labels.
the repository owner
the repository name
the search condition
the Map which contains issue count for each labels (key is label name, value is issue count)
Creates a link to the issue or the pull request from the issue id.
Creates a link to the issue or the pull request from the issue id.
Format java.util.Date to "yyyy-MM-dd".
Format java.util.Date to "yyyy-MM-dd HH:mm:ss".
Format java.util.Date to "x {seconds/minutes/hours/days/months/years} ago"
Format java.util.Date to "x {seconds/minutes/hours/days} ago" If duration over 1 month, format to "d MMM (yyyy)"
Format java.util.Date to "yyyy-MM-dd'T'hh:mm:ss'Z'".
Returns file type for AceEditor.
URL encode except '/'.
Returns the repositories without private repository that user does not have access right.
Returns the repositories without private repository that user does not have access right. Include public repository, private own repository and private but collaborator repository.
the user name of collaborator
the repository information list
Returns <img> which displays the avatar icon.
Returns <img> which displays the avatar icon. Looks up Gravatar if avatar icon has not been configured in user settings.
Returns the list of all collaborator name and permission which is sorted with ascending order.
Returns the list of all collaborator name and permission which is sorted with ascending order. If a group is added as a collaborator, this method returns users who are belong to that group.
Returns the list of collaborators name (user name or group name) which is sorted with ascending order.
Returns the list of collaborators name (user name or group name) which is sorted with ascending order.
IssueComment and commentedUser and Issue
Returns the specified repository information.
Returns the specified repository information.
the user name of the repository owner
the repository name
the repository information
Returns the repository names of the specified user.
Returns the repository names of the specified user.
the user name of repository owner
the list of repository names
Returns the list of visible repositories for the specified user.
Returns the list of visible repositories for the specified user. If repositoryUserName is given then filters results by repository owner.
the logged in account
the repository owner (if None then returns all repositories which are visible for logged in user)
if true then the result does not include physical repository information such as commit count, branches and tags
the repository information which is sorted in descending order of lastActivityDate.
Creates a new repository.
Creates a new repository.
the repository name
the user name of the repository owner
the repository description
the repository type (private is true, otherwise false)
specify for the forked repository. (default is None)
specify for the forked repository. (default is None)
Test whether the given Date is past date.
Tests whether the given file is renderable.
Tests whether the given file is renderable. It's tested by the file extension.
Creates a link to the issue or the pull request from the issue id.
Render a given object as the JSON string.
Converts commit id, issue id and username to the link.
Converts Markdown of Wiki pages to HTML.
Returns singular if count is 1, otherwise plural.
Returns singular if count is 1, otherwise plural. If plural is not specified, returns singular + "s" as plural.
Remove all collaborators from the repository.
Remove all collaborators from the repository.
Remove html tags from the given Html instance.
Render the given source (only markdown is supported in default) as HTML.
Render the given source (only markdown is supported in default) as HTML. You can test if a file is renderable in this method by isRenderable().
Save repository options.
Save repository options.
Returns the search result against issues.
Returns the search result against issues.
the search condition
if true then returns only pull requests, false then returns only issues.
the offset for pagination
the limit for pagination
Tuple of the repository owner and the repository name
the search result (list of tuples which contain issue, labels and comment count)
Search issues by keyword.
Search issues by keyword.
the repository owner
the repository name
the keywords separated by whitespace.
issues with comment count and matched content of issue or comment
for api
for api
(issue, issueUser, commentCount, pullRequest, headRepo, headOwner)
Updates the last activity date of the repository.
Updates the last activity date of the repository.
Generates the url to the account page.
Generates the url to the repository.
Generates the text link to the account page.
Generates the text link to the account page. If user does not exist or disabled, this method returns user name as text without link.
Provides helper methods for Twirl templates.