discourse/spec
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
..
components FIX: remove post upload record creation inside 'find_missing_uploads' method. 2019-07-19 01:44:08 +05:30
fabricators FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
fixtures FIX: remove post upload record creation inside 'find_missing_uploads' method. 2019-07-19 01:44:08 +05:30
helpers FIX: Fallback to gzip compression if brotli isn't supported (#7895) 2019-07-16 11:05:37 -03:00
import_export DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
integration DEV: Minor tweaks to `Admin::WatchedWordsController`. 2019-07-15 10:22:46 +08:00
integrity PERF: Use Oj for serializing JSON. (#7820) 2019-06-28 12:16:00 +10:00
jobs FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
lib REFACTOR: Clean up parameterized title 2019-07-18 15:49:16 -06:00
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
multisite FIX: multisite upload urls must have either db name or the word 'short-url'. 2019-06-25 01:19:58 +05:30
requests FEATURE: send max 200 emails every minute for bulk invites (#7875) 2019-07-19 11:29:12 +05:30
serializers FIX: Broken spec 2019-06-10 11:50:48 -04:00
services FEATURE: Create a rake task for destroying categories 2019-07-17 12:44:14 -06:00
support FIX: don't bump topics when hidden tags are added or removed 2019-05-06 14:52:18 -04:00
tasks FEATURE: option to skip posts with ignored missing uploads 2019-05-09 05:11:15 +05:30
views/omniauth_callbacks DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
rails_helper.rb DEV: security restriction in dev mode broke tests 2019-06-03 11:33:56 +10:00