Commit Graph

9 Commits (37ccafec8fe8bf5588794257744554be61a3f22e)

Author SHA1 Message Date
Eugen Rochko 73ca0bb925
Add option to include reported statuses in warning e-mail ()
Yamagishi Kazutoshi c672676c03 Fix sass-lint config ()
Eugen Rochko 3c033c4352
Add moderation warnings ()
* Add moderation warnings

Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.

Additionally, there are warning presets you can configure to save
time when performing the above.

* Use Account#local_username_and_domain
Minku Lee d0d65b5a28 Separate font-family into variable ()
This will allow easier customization of font family instead of going
through all occurrences of 'mastodon-font-sans-serif'.
Eugen Rochko 872a0d5bd8
Improve HTML e-mails based on Litmus tests ()
* Use PNG images in HTML e-mails

* Make webpack use URLs with host so fonts load inside HTML e-mails

Convert this back to a relative URL in the premailer CSS loader
since local requests are quicker

* Improve responsive design

* Add missing PNG icon
Eugen Rochko d799921c75
Replace tutorial modal with welcome e-mail ()
* Remove onboarding modal

* Welcome e-mail

* Send welcome e-mail after confirmation

* Remove obsolete translations
Eugen Rochko 6f244ba82c
Use better reblog icon and improve contrast in HTML e-mails ()
Eugen Rochko 02194838dd
HTML e-mails for NotificationMailer ()
* HTML e-mails for NotificationMailer (except digest)

* Add HTML template for digest

* Fix build
Eugen Rochko 5276c0a090
HTML e-mails for UserMailer ()
- premailer gem to turn CSS into inline styles automatically
- rework UserMailer templates
- reword UserMailer templates