forgejo-federation/routers/admin
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.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
admin_test.go Shadow the password on cache and session config on admin panel (#7300) 2019-06-27 00:12:38 +08:00
auths.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
emails.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
hooks.go Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
main_test.go Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
notice.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
orgs.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repos.go Ensure that search term and page are not lost on adoption page-turn (#14133) 2020-12-24 23:26:19 +08:00
users.go [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
users_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00