forgejo/modules
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
..
analyze Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
auth
avatar
base
cache
charset
context response simple text message for not html request when 404 (#15229) 2021-04-01 17:11:42 +02:00
convert Expose resolver via API (#15167) 2021-03-28 00:37:51 +01:00
cron
csv Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
doctor
emoji
eventsource
forms Add DefaultMergeStyle option to repository (#14789) 2021-03-27 15:55:40 +01:00
generate
git Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
gitgraph
graceful Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210) 2021-03-31 22:48:48 +03:00
hcaptcha
highlight
httpcache
httplib
indexer Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
lfs
log
markup Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
matchlist
metrics
migrations
nosql
notification [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
options
password
pprof
private
process
public add 'fonts' into 'KnownPublicEntries' (#15188) 2021-03-30 15:47:34 +03:00
queue
recaptcha
references
repofiles
repository Update repository size on cron gc task (#15177) 2021-03-28 05:56:28 +02:00
secret
session
setting Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
ssh
storage
structs Expose resolver via API (#15167) 2021-03-28 00:37:51 +01:00
svg
sync
task
templates
test
timeutil
translation
upload
uri
user
util
validation
web