aboutsummaryrefslogtreecommitdiff
path: root/pkg/template
Commit message (Collapse)AuthorAge
* templates: rename template function Str2html -> Str2HTMLUnknwon2018-12-10
|
* templates: sanitize special links in commit message (#5545)Unknwon2018-12-10
| | | | Reported by @cezar97.
* pkg/context: apply EscapePound at context levelUnknwon2018-09-28
| | | | | | Always escape template variable {{.Link}} variable and redirect calls. Relates to #5442
* *: use jsoniter to replace encoding/jsonUnknwon2018-06-09
|
* pkg/template: fix NewLine2br return type to stringUnknwon2018-06-02
|
* mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
|
* template: simple html filter for repository description (#5242)Sergey Dryabzhinsky2018-05-29
| | | | | | | | | | | | | | | | | * Add markdown renderer function to templates, use it for description in repo template * Fix function call * Define function Md2html in template namespace * Change filter from Md2html to nl2br * Change filter name to NewLine2br as suggested * Update description output: - just replace `\n` by `<br>` - sanitize html after replace
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* pkg/template: fix Gravatar URLs are badly generated (#5157)Unknwon2018-04-18
|
* hook: fix email not sent after push (#4430)Unknwon2017-07-27
| | | | | Turns out mail service was not initialized at all, also mail must be sent in sync in hook mode before program exits.
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* Refactoring: rename and simplify pkg/tool functionsUnknwon2017-04-06
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory