0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-30 23:44:41 +01:00
gitea/routers
6543 80d6c6d7de
[refactor] mailer service (#15072)
* Unexport SendUserMail

* Instead of "[]*models.User" or "[]string" lists infent "[]*MailRecipient" for mailer

* adopt

* code format

* TODOs for "i18n"

* clean

* no fallback for lang -> just use english

* lint

* exec testComposeIssueCommentMessage per lang and use only emails

* rm MailRecipient

* Dont reload from users from db if you alredy have in ram

* nits

* minimize diff

Signed-off-by: 6543 <6543@obermui.de>

* localize subjects

* linter ...

* Tr extend

* start tmpl edit ...

* Apply suggestions from code review

* use translation.Locale

* improve mailIssueCommentBatch

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add i18n to datas

Signed-off-by: Andrew Thornton <art27@cantab.net>

* a comment

Co-authored-by: Andrew Thornton <art27@cantab.net>
2021-04-02 11:25:13 +01:00
..
admin [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
api/v1 [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
dev
events
org
private
repo response 404 for diff/patch of a commit that not exist (#15221) 2021-04-01 08:17:14 +03:00
routes Fix bug on avatar middleware (#15124) 2021-03-23 18:20:24 +01:00
user [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go
init.go
install.go use level config in main section when subsection not set level (#15176) 2021-03-28 20:08:19 +01:00
metrics.go
swagger_json.go