You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
admin [refactor] mailer service (#15072) 3 years ago
misc Move macaron to chi (#14293) 3 years ago
notify move notification APIFormat (#13783) 4 years ago
org [refactor] Unify the export of user data via API (#15144) 3 years ago
repo Improve /api/v1/repos/issues/search by just getting repo ids (#15179) 3 years ago
settings Export LFS & TimeTracking function status (#14753) 3 years ago
swagger Add dismiss review feature (#12674) 3 years ago
user [refactor] Unify the export of user data via API (#15144) 3 years ago
utils Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
api.go Prevent incorrect HTML escaping in swagger.json (#14957) 3 years ago