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.
forgejo/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>
3 years ago
..
admin.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
admin_test.go Shadow the password on cache and session config on admin panel (#7300) 5 years ago
auths.go Move macaron to chi (#14293) 3 years ago
emails.go migrate from com.* to alternatives (#14103) 4 years ago
hooks.go Merge default and system webhooks under one menu (#14244) 4 years ago
main_test.go Force user to change password (#4489) 6 years ago
notice.go migrate from com.* to alternatives (#14103) 4 years ago
orgs.go API add/generalize pagination (#9452) 5 years ago
repos.go Ensure that search term and page are not lost on adoption page-turn (#14133) 4 years ago
users.go [refactor] mailer service (#15072) 3 years ago
users_test.go Move macaron to chi (#14293) 3 years ago