summaryrefslogtreecommitdiffstats
path: root/modules/templates
Commit message (Collapse)AuthorAgeFilesLines
* Sanitation fix from Gogs (#1461)Kim "BKC" Carlbäcker2017-04-131-1/+1
| | | | | | | | | | | | | | | | * Santiation fix from Gogs * Linting * Fix build-errors * still not working * Fix all the things! * gofmt * Add code-injection checks
* Repo size in admin panel (#1482)Jonas2017-04-111-0/+3
| | | | | | | | | | | | | | | * Implementation of the feature to view repository size in admin panel * Move GetRepoSize to git module * Repository.RepoSize -> Repository.Size * RepoSize -> Size in template * Redo a few bits and pieces * Update size when syncing mirror or forking * Remove GetRepoSize * Changed fatal errors to error message * Copy migration code from Gogs * make fmt
* Support for custom html meta (#1423)Jonas2017-03-311-0/+9
| | | | | | * Support for custom html meta * Changed html meta description default
* Log config pretty printer (#1097)Jonas2017-03-021-0/+9
| | | Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
* Fixed custom templates for static builds (#1087)Thomas Boerger2017-03-012-15/+89
|
* Fix for #828: Embed build tags (#1051)Jonas2017-02-281-0/+3
| | | | | | | | | | | | | | | | | | | | | * Fix for #828 Add build tags to ldflags and print in version output Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Reworked formatBuiltWith function Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Add tags to version information in admin panel Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Added new variable for use on admin page. Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Fixed incorrect indentation
* Security: prevent XSS attach on wiki pageUnknwon2017-02-161-0/+2
| | | | Reported by Miguel Ángel Jimeno.
* refactor: Remove unnecessary type conversions (#772)Bo-Yi Wu2017-01-271-2/+2
|
* Implementation of Folder JumpingSl@ny2016-12-281-0/+11
|
* Integrate templates into bindata optionally (#314)Thomas Boerger2016-12-064-0/+521
Integrated optional bindata for the templates