This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Arpit Jalan eb9155f3fe
FEATURE: send max 200 emails every minute for bulk invites (#7875)
DEV: deprecate `invite.via_email` in favor of `invite.emailed_status`

This commit adds a new column `emailed_status` in `invites` table for
 tracking email sending status.
 0 - not required
 1 - pending
 2 - bulk pending
 3 - sending
 4 - sent

For normal email invites, invite record is created with emailed_status
 set to 'pending'.

When bulk invites are sent invite record is created with emailed_status
 set to 'bulk pending'.

For invites that generates link, invite record is created with
 emailed_status set to 'not required'.

When invite email is in queue emailed_status is updated to 'sending'

Once the email is sent via `InviteEmail` job the invite emailed_status
 is updated to 'sent'.
2019-07-19 11:29:12 +05:30
..
assets fix tests (#7912) 2019-07-18 23:15:36 +02:00
controllers FEATURE: Gz to zip for exports (#7889) 2019-07-18 09:34:48 -03:00
helpers FIX: Fallback to gzip compression if brotli isn't supported (#7895) 2019-07-16 11:05:37 -03:00
jobs FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
mailers SECURITY: Strip HTML from invite emails 2019-07-05 14:57:11 -04:00
models FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
serializers FEATURE: opt-in guidance on topics for users without access (#7852) 2019-07-04 10:12:39 +02:00
services REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
views FIX: URL encode usernames in user profile links in RSS feeds 2019-07-18 23:18:23 +02:00