Commit graph

211 commits

Author SHA1 Message Date
Evan Morikawa
bbaf4590af feat(auth): update onboarding helpers to be async 2016-12-18 23:38:34 -05:00
Evan Morikawa
31a8fb2b5b feat(auth): add office 365 support
Summary: Adds a new button in auth for native Office 365 support

Test Plan: manual

Reviewers: jackie, halla, mark, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3532
2016-12-16 16:53:46 -05:00
Karim Hamidou
cb6f761df3 Required changes for refreshing access tokens. 2016-12-16 11:10:20 -08:00
Evan Morikawa
476bbb0e5f feat(auth): add better error state handling 2016-12-07 10:11:22 -08:00
Evan Morikawa
f170d14b8d fix(errors): properly rethrow api error 2016-12-06 17:21:37 -08:00
Evan Morikawa
e595590a9a refactor(auth): DRY auth 2016-12-06 16:03:42 -08:00
Evan Morikawa
fcb36abbe8 fix(account): Remove unsupported account types 2016-12-02 16:44:44 -05:00
Ben Gotow
6d85a8ef81 lint(*): Fix linter errors within K2, update eslint grunt task 2016-12-01 15:38:16 -08:00
Evan Morikawa
00832b5a83 fix(auth): now authing IMAP through n1-cloud 2016-12-01 16:56:02 -05:00
Evan Morikawa
2ee11006e9 feat(auth): IMAP request to both n1-cloud and local sync 2016-12-01 16:56:02 -05:00
Ben Gotow
6fb08f55c5 fix(accounts): Save both local and cloud tokens per account 2016-12-01 13:35:20 -08:00
Jackie Luo
a177146a6f fix(auth): Make N1 Cloud API request correctly 2016-11-30 14:13:46 -08:00
Jackie Luo
7b7fbb3b1b refactor(nylas-api): Create API requests from tasks 2016-11-29 16:33:44 -08:00
Jackie Luo
bab39a5c21 fix(nylas-api): Send API and options as object 2016-11-29 16:33:44 -08:00
Evan Morikawa
e1f1c23626 Introduce N1CloudAPI as endpoint 2016-11-28 15:38:53 -08:00
Ben Gotow
d3bfe3fa71 fix(auth): Stop sending other crap with key 2016-11-28 11:05:00 -08:00
Ben Gotow
ddc442d271 fix(auth): Support gmail auth against K2 2016-11-23 16:26:40 -08:00
Ben Gotow
6ac3637420 fix(auth): Use new endpoints for Gmail auth 2016-11-23 16:26:40 -08:00
Evan Morikawa
144fd7f372 Remove EdgehillAPI from auth and fix NylasRequest and perspective 2016-11-23 12:37:05 -08:00
Evan Morikawa
e8ac7c6338 fix(auth): don't send unncessary IMAP params to local-sync/auth 2016-11-23 11:48:58 -08:00
Ben Gotow
9fbde1c3e9 fix(onboarding): Remove support for local sync engine 2016-11-23 09:41:49 -08:00
Ben Gotow
20317358cb Update auth to hit new hosted N1-cloud 2016-11-22 18:04:35 -08:00
Joris Pelgröm
55fc10b513 Rename Google Apps to G Suite in onboarding (#3047)
Google renamed Google Apps (both 'normal' and education editions) to G
Suite on 2016-09-29. See
https://blog.google/products/g-suite/all-together-now-introducing-g-suite/
for the announcement. Updated text for account selection to match Google's
branding.
2016-11-14 10:53:47 -08:00
Ben Gotow
80b315d708 deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
Ben Gotow
34b02018ff fix(local-sync): Display relevant error so users can debug 2016-11-07 14:12:53 -08:00
Ben Gotow
be3d2f0b44 fix(auth): Add partition back to webview 2016-11-03 17:42:20 -07:00
Ben Gotow
6adace5c8d fix(onboarding): Don’t display “Welcome Back” screen 2016-10-20 16:34:59 -07:00
Ben Gotow
f655ce9821 fix(auth): Hide title when long acct. err present 2016-10-20 16:26:52 -07:00
Ben Gotow
c20238314d lint(*): Bump to ESLint 3.8 2016-10-17 18:07:35 -07:00
Ben Gotow
c7a85af843 feat(dock): Automatically add N1 to the OS X dock upon install
Note - you need to `killall Dock` to see this after it happens
2016-10-13 15:01:51 -07:00
Ben Gotow
21b93d2173 fix(onboarding): Fire event when user selects account type 2016-10-07 10:16:20 -07:00
Halla Moore
3264175b54 feat(self-hosting) Add onboarding page about self-hosting plugin restrictions 2016-09-29 12:12:05 -07:00
Ben Gotow
60d0d94b1b fix(react): React refuses to add partition attr to webview 2016-09-28 11:29:26 -07:00
Ben Gotow
3a975a0e73 fix(auth): Update autofill for Fastmail.fm 2016-09-20 15:52:36 -07:00
Ben Gotow
4ecbcdd074 fix(copy): Updating language for onboarding tour 2016-09-14 14:16:19 -04:00
Evan Morikawa
cfb47e95bd fix(size): Losslessly compress package images via ImageOptim 2016-09-01 11:32:52 -07:00
Ben Gotow
08c9bc19ea fix(onboarding): Fix React warnings, no back button to auth 2016-09-01 11:11:25 -07:00
Jackie Luo
5eeaddbb70 fix(onboarding): Receive user info correctly 2016-08-30 19:20:51 -07:00
Evan Morikawa
c3826fa972 fix(onboarding): no longer show welcome page 2016-08-30 14:52:19 -07:00
Evan Morikawa
ef8108efd1 fix(onboarding): fix injected js error and pass N1 version 2016-08-30 10:41:31 -07:00
Evan Morikawa
05cba2b6d1 feat(webview): can add .open-external class in webview 2016-08-29 19:07:44 -07:00
Jackie Luo
5a3456c5f8 fix(lint): Remove unused variable 2016-08-25 14:18:06 -07:00
Jackie Luo
379d11b31a feat(oauth): Add new component for OAuth sign-in
Summary: Future services that require OAuth get a cute new component that lets them connect more easily.

Test Plan: Tested manually.

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3186
2016-08-25 10:44:32 -07:00
Jackie Luo
cb229485c3 feat(onboarding): Allow HTTPS in self-hosted sync engine onboarding 2016-08-23 10:46:44 -07:00
Jackie Luo
0362849b22 🎨(onboarding): Fix clipped gears in onboarding 2016-07-27 20:08:18 -07:00
Annie
3da5c31cdd build(onboarding): Add input with gmail auth url
Summary:
Added animation and input with url of gmail auth for users where the broswer redirect doesnt work.
Still need to finish up some minor styling.

style(onboarding): add input with link for gmail auth if browser redirect doesnt work

Test Plan: testing on my local install

Reviewers: juan

Reviewed By: juan

Subscribers: sdw

Differential Revision: https://phab.nylas.com/D3119
2016-07-26 15:55:45 -07:00
Jackie Luo
e40b5781c2 fix(self-hosting): Check for env properly 2016-07-22 11:00:11 -07:00
Jackie Luo
49fd61d347 fix(self-hosting): Set identity correctly 2016-07-21 15:46:37 -07:00
Jackie Luo
6a628102ba feat(self-hosting): Add onboarding flow for self-hosted sync engine
Summary:
Adds a fun new UI for adding accounts to the sync engine. After creating your sync engine instance, all you have to do is auth your accounts on the command line and then enter the URL/port number in this flow. That pulls all of your accounts from the `/accounts` endpoint, mocks an identity token, and edits your `config.json` properly.

TODO: Update the docs in the repo and revert the PR with the temporary fix.

Test Plan: Tested locally.

Reviewers: bengotow, halla, juan

Reviewed By: halla, juan

Differential Revision: https://phab.nylas.com/D3114
2016-07-21 14:25:30 -07:00
Evan Morikawa
9686361ce4 fix(login): fix error thrown when login fails for IMAP 2016-07-13 15:55:45 -07:00