gitea/routers/user/setting
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
..
account_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
account.go [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
adopt.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
applications.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
keys.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
main_test.go Splitted the user settings code into several files to be more maintainable (#3968) 2018-05-17 12:05:00 +08:00
oauth2.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
profile.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
security_openid.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
security_twofa.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
security_u2f.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
security.go load U2F js only on pages which need it (#11585) 2021-01-20 21:17:46 +00:00