Commit graph

3373 commits

Author SHA1 Message Date
Juan Tejada
0e808003ff fix(sidebar): Correctly update sidebar when focusing perspective
- When focusing a perspective:
  - If sidebar is unified inbox then don't the sidebar layout
  - If sidebar is for a single account, then update to the appropriate
  single account
- Renames some variables
2016-06-03 15:10:08 -07:00
Juan Tejada
5bd338511a fix(mail-merge): Fix broken error handling with multi-send to individual
- As a temporary fix, now passes an option to SendDraftTask to not
perform MultiSendToIndividualTask's which screwed up error handling
- Fixes actual bugs with error handling
2016-06-03 12:34:47 -07:00
Ben Gotow
5b69cea5d5 bump(electron): 1.2.1 and React Devtools in dev mode 🎉 2016-06-03 10:51:39 -07:00
Evan Morikawa
a00d4f2028 fix(lint): fix unused variable 2016-06-03 13:06:45 +01:00
Evan Morikawa
e0a805449f fix(composer): overlaid component fix for new event card 2016-06-03 12:49:48 +01:00
Ben Gotow
c1bbec25cd fix(identity): deprecate updaterId, provide safe access to identity.id 2016-06-02 18:56:09 -07:00
Ben Gotow
16361594c0 fix(sync): Always restart where left off after initial sync interrupted 2016-06-02 18:56:09 -07:00
Juan Tejada
f5a9ae718d fix(build): Update asar unpack patterns to match top level examples
- Any dependencies that have an `examples` directory would not get
packed into the asar, causing the windows build to fail because of path
lengths > 250 characters
2016-06-02 16:56:31 -07:00
Juan Tejada
f5a82569a8 bump(version): 0.4.42 2016-06-02 16:00:54 -07:00
Juan Tejada
7730f4fcc2 fix(build): Do not try to compile dependencies
- Remove unused peg file
2016-06-02 15:53:08 -07:00
Ben Gotow
44df559cfa fix(multi-send): Increase timeouts of all multi-send API requests 2016-06-02 15:28:16 -07:00
Juan Tejada
5dc07d68cf fix(build): Don't lint files inside node_modules, fix lint error 2016-06-02 14:45:51 -07:00
Evan Morikawa
57d0497788 fix(analyitcs): make sure to flush events before they close 2016-06-02 16:24:32 +01:00
Evan Morikawa
866f34162e fix(onboarding): use proper env 2016-06-02 15:00:02 +01:00
Evan Morikawa
d58bb4f07e fix(onboarding): properly base64 encode string 2016-06-02 14:45:48 +01:00
Evan Morikawa
b5a53a49ee fix(analytics): fix errors in onboarding flow 2016-06-02 11:16:41 +01:00
Evan Morikawa
7e0c513805 feat(analytics): update analytics libraries
Summary:
See
https://paper.dropbox.com/doc/Analytics-ID-Unification-oVDTkakFsiBBbk9aeuiA3

Test Plan: Manual

Reviewers: juan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2998
2016-06-02 03:38:51 -04:00
Jackie Luo
f5ab2ea322 feat(activity-list): Scope notifications by accounts 2016-06-01 18:02:52 -07:00
Juan Tejada
8197b2a96f fix(sidebar): Properly initialize sidebar accounts 2016-06-01 17:26:18 -07:00
Ben Gotow
3270ac48fc fix(tutorial): Incorrect strings 2016-06-01 17:25:08 -07:00
Juan Tejada
ac089c4d8d update(sidebar): Moves accounts in sidebar state to FocusedPerspectiveStore
Summary:
- FocusedPerspectiveStore now holds the state of the accounts that are currently being displayed in the sidebar, i.e. unified inbox or not, which makes it globally accessible state. The SidebarStore just reads this state directly off of the FocusedPerspectiveStore to decide which sections and items to display in the sidebar.
- Updates `Actions.focusDefaultMailboxPerspectiveForAccounts` to take an optional array of `sidebarAccountIds` to set in the sidebar. The default behavior is to show the accounts of the perspective that will be focused. E.g. when selecting an account via the account switcher, it will just show the sidebar items for the single account that was selected, but when adding a new account, we are setting the sidebar accounts to all account although we are still focusing the perspective for a single account.
- Will now show unified inbox sidebar with correctly focused account when new account added.
- Cleans up the code a little bit, but this package still needs major refactor

Test Plan: Missing!

Reviewers: jackie, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3002
2016-06-01 17:13:46 -07:00
Jackie Luo
11d5b26548 🎨(participant-profile): Use UI variables 2016-06-01 16:08:10 -07:00
Ben Gotow
8860326065 fix(account-store): Update fake data import for screenshots 2016-06-01 15:55:44 -07:00
Jackie Luo
5055ba59a9 🎨(load): Update loading screen to new style 2016-06-01 15:43:24 -07:00
Ben Gotow
3615c7ea49 fix(undo): Improve messaging around label changes, modernize undo-redo-store
Summary: Just a small patch to address bad messaging

Test Plan: Run one new test!

Reviewers: jackie, juan

Reviewed By: jackie, juan

Differential Revision: https://phab.nylas.com/D3000
2016-06-01 14:36:57 -07:00
Jackie Luo
311e21e615 🎨(sidebar): Fix button to add folder/label 2016-06-01 13:54:23 -07:00
Jackie Luo
d40f9de330 fix(tracking): Add key and refactor code 2016-06-01 12:59:12 -07:00
Juan Tejada
839c60f5b5 fix(build): Fix open-tracking specs 2016-06-01 12:37:06 -07:00
Jackie Luo
58e1ed57ee fix(badge): Add option for total count 2016-06-01 11:42:21 -07:00
Jackie Luo
2f7d64b27a fix(emoji): Remove special casing for Outlook emoji 2016-06-01 11:11:51 -07:00
Jackie Luo
10ac3fcb30 feat(tracking): Add message history for open and link tracking
Summary: Message-specific history for opens and clicks will now be
available in popovers while viewing the message.

Test Plan: Tested locally.

Reviewers: bengotow, evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2995
2016-06-01 11:10:17 -07:00
Ben Gotow
1df70e14f1 fix(es6): Converstion broke file uploads by adding body: {} 2016-05-31 21:11:01 -07:00
Ben Gotow
6602087910 fix(specs): Empty parameter list 2016-05-31 19:10:11 -07:00
Ben Gotow
9892473513 fix(category-picker): Update specs for sorting 2016-05-31 17:05:17 -07:00
Ben Gotow
04f5d2968f fix(category-picker): Sort categories displayed in picker 2016-05-31 17:01:02 -07:00
Ben Gotow
b160f6d181 fix(mail-rules): Fix re-ordering of mail rules 2016-05-31 16:42:03 -07:00
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
Jackie Luo
9c04be3e20 fix(themes): Add Less is More to list ordering 2016-05-31 14:35:49 -07:00
Ben Gotow
eb3b26deb7 fix(auth): Wait 150s for Exchange autodiscovery to complete 2016-05-31 14:04:22 -07:00
Ben Gotow
94b59f2562 fix(unified-inbox): If a Gmail account is present, show Important 2016-05-31 12:24:38 -07:00
Ben Gotow
2dac16f9ca fix(pro): Upgrade buttons go to /payment 2016-05-31 12:24:38 -07:00
Ben Gotow
cabc052c18 fix(config): When resetting config, use template file 2016-05-31 12:24:38 -07:00
Ollie Ford
3b42b2d03b warns suspicious message only on differing domain (#2343)
For example, the following is *not* suspicious:
```
From: foo@example.org
Reply-To: bar@example.org
```

While the following remains suspicious:
```
From: foo@example.org
Reply-To: foo@example.com
``` 

This commit fixes #2342.
2016-05-31 12:08:18 -07:00
Juan Tejada
0cf8ccc0c2 fix(mail-merge): Add missing method in mail-merge decorator 2016-05-31 11:42:20 -07:00
Ben Gotow
147bb38c6a fix(pro): Don't refresh identity unless one is present 2016-05-27 15:37:49 -07:00
Jackie Luo
cf0ad099e1 fix(email-frame): Allow events to bubble correctly and pass iframe 2016-05-27 15:18:12 -07:00
Ben Gotow
4a738602ab feat(pro): New Nylas identity provider, onboarding and auth
commit 50d0cfb87c
Author: Ben Gotow <bengotow@gmail.com>
Date:   Fri May 27 14:01:49 2016 -0700

    IdentityStore conveniene methods for subscription state

commit 80c3c7b956
Author: Ben Gotow <bengotow@gmail.com>
Date:   Fri May 27 12:03:53 2016 -0700

    Periodically refresh identity, show expired notice in top bar

commit 5dc39efe98
Merge: 4c4f463 906ea74
Author: Juan Tejada <juans.tejada@gmail.com>
Date:   Thu May 26 15:17:46 2016 -0700

    Merge branch 'bengotow/n1-pro' of github.com:nylas/N1 into bengotow/n1-pro

commit 4c4f463f4b
Author: Juan Tejada <juans.tejada@gmail.com>
Date:   Thu May 26 15:16:48 2016 -0700

    Hijack links inside email that go to billing site and add SSO to them

commit 906ea74807
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu May 26 12:02:29 2016 -0700

    Add custom welcome page for upgrading users

commit 2ba9aedfe9
Author: Juan Tejada <juans.tejada@gmail.com>
Date:   Wed May 25 17:27:12 2016 -0700

    Add styling to Subscription tab in prefs

commit 384433a338
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 16:21:18 2016 -0700

    Add better style reset, more IdentityStore changes

commit c4f9dfb4e4
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 15:29:41 2016 -0700

    Add subscription tab

commit bd4c25405a
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 14:18:40 2016 -0700

    Point to billing-staging for now

commit 578e808bfc
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 13:30:13 2016 -0700

    Rename account helpers > onboarding helpers

commit dfea0a9861
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 13:26:46 2016 -0700

    A few minor fixes

commit 7110217fd4
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 12:58:21 2016 -0700

    feat(onboarding): Nylas Pro onboarding overhaul

    Summary:
    Rip out all invite-related code

    Enable Templates and Translate by default

    Scrub packages page, unused code in onboarding pkg

    Remove resizing

    New onboarding screens

    IMAP provider list, validation

    Call success with response object as well

    Renaming and tweaks

    Test Plan: No tests yet

    Reviewers: evan, juan, jackie

    Differential Revision: https://phab.nylas.com/D2985

commit dc9ea45ca9
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 12:52:39 2016 -0700

    Renaming and tweaks

commit 5ca4cd31ce
Author: Ben Gotow <bengotow@gmail.com>
Date:   Wed May 25 11:03:57 2016 -0700

    Call success with response object as well

commit 45f14f9b00
Author: Ben Gotow <bengotow@gmail.com>
Date:   Tue May 24 18:26:38 2016 -0700

    IMAP provider list, validation

commit c6ca124e6e
Author: Ben Gotow <bengotow@gmail.com>
Date:   Sat May 21 11:14:44 2016 -0700

    New onboarding screens

commit dad918d926
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu May 19 16:37:31 2016 -0700

    Remove resizing

commit ecb1a569e2
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu May 19 16:36:04 2016 -0700

    Scrub packages page, unused code in onboarding pkg

commit 3e0a44156c
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu May 19 16:33:12 2016 -0700

    Enable Templates and Translate by default

commit 0d218bc86f
Author: Ben Gotow <bengotow@gmail.com>
Date:   Thu May 19 16:30:47 2016 -0700

    Rip out all invite-related code
2016-05-27 14:21:19 -07:00
Juan Tejada
3398640e86 fix(mail-merge): Switch to using new overlaid components api
Summary:
- Fixes several selection and focus issues along the way
- Can now preview what tokens will look like when not editing
- Adds decorator to listen to mail merge session changes and removes a bunch of duplicated code
- Gets rid of all imperative code (and specs) that had to imperatively
reach into the dom to update the tokens

Test Plan: - Unit tests

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2989
2016-05-27 11:02:44 -07:00
Jackie Luo
6ba667daa2 fix(draft): Return transformed draft correctly 2016-05-26 12:27:25 -07:00
Jackie Luo
e3b112030a Revert "🎨(ui-dark): Remove iframe inversion" 2016-05-25 23:46:36 -07:00