Switch emails to pug templates and provide richer html/text-only versions
authorRigel Kent <sendmemail@rigelk.eu>
Tue, 5 May 2020 18:22:22 +0000 (20:22 +0200)
committerRigel Kent <par@rigelk.eu>
Fri, 8 May 2020 13:31:51 +0000 (15:31 +0200)
commitdf4c603dea022146476812cbbc2b9f8f1e5e4870
treec0d27576fb6711b4b64d2186e8dca3f04b9b1dfe
parent91b8e675e26dd65e1ebb23706cb16b3a3f8bcf73
Switch emails to pug templates and provide richer html/text-only versions
30 files changed:
client/src/app/+admin/follows/followers-list/followers-list.component.html
client/src/app/+admin/follows/following-list/following-list.component.html
client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html
client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html
client/src/app/+admin/users/user-list/user-list.component.html
package.json
server/controllers/api/videos/abuse.ts
server/lib/activitypub/process/process-flag.ts
server/lib/emailer.ts
server/lib/emails/common/base.pug [new file with mode: 0644]
server/lib/emails/common/greetings.pug [new file with mode: 0644]
server/lib/emails/common/html.pug [new file with mode: 0644]
server/lib/emails/common/mixins.pug [new file with mode: 0644]
server/lib/emails/contact-form/html.pug [new file with mode: 0644]
server/lib/emails/follower-on-channel/html.pug [new file with mode: 0644]
server/lib/emails/password-create/html.pug [new file with mode: 0644]
server/lib/emails/password-reset/html.pug [new file with mode: 0644]
server/lib/emails/user-registered/html.pug [new file with mode: 0644]
server/lib/emails/verify-email/html.pug [new file with mode: 0644]
server/lib/emails/video-abuse-new/html.pug [new file with mode: 0644]
server/lib/emails/video-auto-blacklist-new/html.pug [new file with mode: 0644]
server/lib/emails/video-comment-mention/html.pug [new file with mode: 0644]
server/lib/emails/video-comment-new/html.pug [new file with mode: 0644]
server/lib/notifier.ts
server/tests/api/server/contact-form.ts
shared/extra-utils/users/user-notifications.ts
shared/models/server/emailer.model.ts
yarn.lock