Implicit conversion to add mkHtml() to Seq[Html].
Convert link notations in the activity message.
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 <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.
IssueComment and commentedUser and Issue
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 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().
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)
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.