forgejo/templates
guillep2k 1f90147f39 Use templates for issue e-mail subject and body (#8329)
* Add template capability for issue mail subject

* Remove test string

* Fix trim subject length

* Add comment to template and run make fmt

* Add information for the template

* Rename defaultMailSubject() to fallbackMailSubject()

* General rewrite of the mail template code

* Fix .Doer name

* Use text/template for subject instead of html

* Fix subject Re: prefix

* Fix mail tests

* Fix static templates

* [skip ci] Updated translations via Crowdin

* Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528)

* Expose db.SetMaxOpenConns and allow other dbs to set their connection params
* Add note about port exhaustion

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Prevent .code-view from overriding font on icon fonts (#8614)

* Correct some outdated statements in the contributing guidelines (#8612)

* More information for drone-cli in CONTRIBUTING.md

* Increases the version of drone-cli to 1.2.0
* Adds a note for the Docker Toolbox on Windows

Signed-off-by: LukBukkit <luk.bukkit@gmail.com>

* Fix the url for the blog repository (now on gitea.com)

Signed-off-by: LukBukkit <luk.bukkit@gmail.com>

* Remove TrN due to lack of lang context

* Redo templates to match previous code

* Fix extra character in template

* Unify PR & Issue tempaltes, fix format

* Remove default subject

* Add template tests

* Fix template

* Remove replaced function

* Provide User as models.User for better consistency

* Add docs

* Fix doc inaccuracies, improve examples

* Change mail footer to math AppName

* Add test for mail subject/body template separation

* Add support for code review comments

* Update docs/content/doc/advanced/mail-templates-us.md

Co-Authored-By: 6543 <24977596+6543@users.noreply.github.com>
2019-11-07 21:34:28 +08:00
..
admin Fix new user form for non-local users (#8826) 2019-11-04 21:10:37 +02:00
base Improve OGP (#8637) 2019-10-23 18:54:13 +01:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Repository avatar fallback configuration (#7087) 2019-06-02 14:40:12 +08:00
mail Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
org Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
pwa [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
repo Add additional periods to activity page (#8829) 2019-11-05 00:45:48 -05:00
status [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
swagger Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
user Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
home.tmpl [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
install.tmpl Add support of utf8mb4 for mysql (#6992) 2019-05-24 00:15:26 -04:00