Mailspring/internal_packages
Halla Moore 2f2cf5be4e fix(onboarding): Don't store type-specific fields when switching account types
Summary:
Since we pass all of the account info to the type-specific auth routes, having
extra fields in the account info object can cause the auth request to fail its
validation. This diff ensures that switching account types will drop any fields
in the account info object that aren't accepted across all routes.

Fixes T7455

Test Plan: tested locally

Reviewers: evan, juan

Reviewed By: juan

Maniphest Tasks: T7455

Differential Revision: https://phab.nylas.com/D3633
2017-01-10 17:34:57 -08:00
..
account-sidebar feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
attachments deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
category-picker fix(category-picker): Handle the case where new category creation fails 2017-01-10 16:23:53 -08:00
composer fix(Linting errors) 2017-01-05 14:39:25 -08:00
composer-emoji fix(import): require 'rx' from 'nylas-exports' 2016-12-15 15:32:47 -05:00
composer-markdown feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
composer-signature fix(lint): update files to for new linter version 2016-11-15 10:20:39 -08:00
composer-spellcheck fix(spellchecker) Fix spellchecker specs 2016-11-17 14:51:24 -08:00
composer-templates fix(spec): add support for async specs and disable misbehaving ones 2016-12-15 13:02:00 -05:00
composer-translate rm(*): Internal packages don’t need engine version locking 2016-11-29 15:12:52 -08:00
draft-list fix(import): require 'rx' from 'nylas-exports' 2016-12-15 15:32:47 -05:00
events deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
github-contact-card feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
keybase Create a wrapper around legacy N1 APIs. 2017-01-09 15:18:43 -08:00
main-calendar feat(event-search): Add event search to calendar 2016-11-15 17:27:31 -08:00
message-autoload-images fix(lint): update files to for new linter version 2016-11-15 10:20:39 -08:00
message-list fix(spinner): Use a constant spinner when loading inline images 2017-01-09 10:46:09 -08:00
message-view-on-github feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
mode-switch fix(copy): Updating language for onboarding tour 2016-09-14 14:16:19 -04:00
notifications feat(sync-status): Add messaging in other areas when syncing 2017-01-03 13:27:15 -08:00
onboarding fix(onboarding): Don't store type-specific fields when switching account types 2017-01-10 17:34:57 -08:00
participant-profile Create a wrapper around legacy N1 APIs. 2017-01-09 15:18:43 -08:00
personal-level-indicators feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
phishing-detection feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
plugins feat(plugin): don't show isHiddenOnPluginsPage 2016-11-16 16:00:56 -08:00
preferences feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
print fix(thread-popout) Add missing packages to the 'thread-popout' window 2016-10-18 11:02:30 -07:00
remove-tracking-pixels rm(*): Internal packages don’t need engine version locking 2016-11-29 15:12:52 -08:00
screenshot-mode feat(package): require 'engines': {'nylas': '*'} in package.json 2016-04-25 15:06:37 -07:00
search-index fix(auth): Fix authentication notifications 2016-12-21 07:23:09 -05:00
send-and-archive deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
system-tray deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
theme-picker deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
thread-list feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
thread-search [thread-search] Fix archiving from search perspective 2017-01-04 11:15:45 -08:00
thread-snooze fix(sync-status): Change old per model status, in favor of per folder 2016-12-15 11:17:20 -08:00
ui-dark build(*): electron-compile, electron-packager instead of custom tooling 2016-11-09 13:52:10 -08:00
ui-darkside (darkside) fixing composer fields spacing (#3020) 2016-11-07 09:49:25 -08:00
ui-less-is-more fix(lint): fix minor linter issue 2016-05-09 13:42:18 -04:00
ui-light build(*): electron-compile, electron-packager instead of custom tooling 2016-11-09 13:52:10 -08:00
ui-taiga feat(sidebar-notifs) Create sidebar notifications to replace old bars 2016-10-04 08:08:23 -07:00
ui-ubuntu fix(size): remove unused docs & screenshots 2016-09-01 11:32:52 -07:00
undo-redo deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
unread-notifications fix(spec): add support for async specs and disable misbehaving ones 2016-12-15 13:02:00 -05:00
verify-install-location lint(*): Bump to ESLint 3.8 2016-10-17 18:07:35 -07:00
worker-sync fix(sync-worker): Don't call _determineWorkerPool() twice 2016-12-22 12:43:45 -08:00
worker-ui fix(sync-status):Use weighted percentage avg for sync status progress bar 2016-12-21 18:30:54 -05:00