Mailspring/spec
Ben Gotow 856334c088 fix(tasks): Call super.isDependent, wrap model lookup in transaction
Summary:
ChangeFolder/ChangeLabel still need to call super.isDependentOnTask!

Formalize "retrieve latest models" part of the performLocal process, ensure that it's always /inside/ the transaction that is going to write the changes. This ensures that queueing two tasks for the same thread at the same time don't cause a race...

...condition between the two tasks (end result is currently arbitrary!)

Add "move to label" mail rule to go alongside "Add Label"

Test Plan: All broken... willfix.

Reviewers: juan, evan, jackie

Reviewed By: evan, jackie

Differential Revision: https://phab.nylas.com/D2999
2016-05-31 16:31:24 -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(specs): Fix merge conflicts and some specs 2016-05-24 19:04:20 -07:00
tasks fix(tasks): Call super.isDependent, wrap model lookup in transaction 2016-05-31 16:31:24 -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
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
module-cache-spec.coffee
n1-spec-reporter.cjsx
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
package-manager-spec.coffee
package-spec.coffee
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(specs): Fix merge conflicts and some specs 2016-05-24 19:04:20 -07:00
utils-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00