Mailspring/spec
Juan Tejada a4ee61eadc fix(mail-merge): Refactor mass sending procedure
Summary:
This diff introduces several updates to mail merge to improve the procedure for sending a list of drafts.
Specifically, sending mass email will now:

- Clear mail merge metadata on the drafts that will actually be sent
- Upload attached files only /once/, and reuse those files on the drafts that will actually be sent
- Minimize database writes for new drafts being created
- Will queue a SendManyDraftsTask that will subsequently queue the necessary SendDraftTasks and keep track of them, and notify of any failed tasks

TODO:
- Add state to MailMerge plugin for failed sends and ability to attempt to re send them

Test Plan: - TODO

Reviewers: evan, bengotow, jackie

Reviewed By: bengotow, jackie

Subscribers: jackie

Differential Revision: https://phab.nylas.com/D2973
2016-05-24 17:22:09 -07:00
..
components fix(build): Fix linter errors 2016-05-11 16:38:30 -07:00
fixtures specs(table): Add specs for table components 2016-05-11 14:36:59 -07:00
models fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
services
stores fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
tasks fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
action-bridge-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
auto-update-manager-spec.coffee feat(babel6): fix es6 importing from coffee 2016-05-06 12:00:45 -07:00
buffered-process-spec.coffee
component-registry-spec.coffee
database-object-registry-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
date-utils-spec.es6 feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
dom-utils-spec.coffee
extension-registry-spec.coffee feat(babel6): Detect when packages don't have a default export 2016-05-06 11:54:57 -07:00
jasmine-helper.coffee cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
jasmine.js
launch-services-spec.coffee Revert "feat(mailto): Allow N1 to be default client on windows" 2016-05-03 19:04:04 -07:00
list-selection-spec.coffee
mail-rules-processor-spec.coffee
mailbox-perspective-spec.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
menu-manager-spec.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
module-cache-spec.coffee
n1-spec-reporter.cjsx cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
nylas-api-spec.coffee fix(401/403): Unify error bars, query /account, improve reconnect flow 2016-05-13 14:16:54 -07:00
nylas-env-spec.es6 fix(spec): update NylasEnv specs 2016-05-16 13:26:33 -07:00
nylas-protocol-handler-spec.coffee
nylas-test-utils.coffee cson(cleanup): Remove imports, only used for config.cson now 2016-04-24 20:33:34 -05:00
package-manager-spec.coffee cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
package-spec.coffee cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
quoted-html-transformer-spec.coffee
quoted-plain-text-transformer-spec.coffee
spec-bootstrap.coffee
spec-helper-platform.coffee
spec-helper.coffee fix(spec): fix config setting spy 2016-05-19 11:50:19 -07:00
spec-suite.coffee
spellchecker-spec.coffee
style-manager-spec.coffee
styles-element-spec.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
task-factory-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
theme-manager-spec.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
time-override.coffee
time-reporter.coffee
undo-stack-spec.es6 fix(undo): Move undo/redo to session, properly undo all changes 2016-05-24 11:48:33 -07:00
utils-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00