Commit graph

1796 commits

Author SHA1 Message Date
Evan Morikawa 9b3e043e1c fix(mail-merge): fix applyExtensionTransformsToDraft rename 2016-09-26 10:56:21 -04:00
Evan Morikawa 641560c460 fix(attribute): fix es6 conversion error 2016-09-25 16:27:10 -04:00
Juan Tejada fd1ed0cc48 fix(warnings): Fix warnings for react unkown dom prop
When using the pattern `{...extraProps}` to transfer props in the render method,
if rendering a native dom element, react will issue a new warning if we
end up passing invalid dom props:
https://facebook.github.io/react/warnings/unknown-prop.html

This adds a helper library to exclude invalid fom props instead of
manually excluding props inside each render method
2016-09-24 12:31:25 -07:00
Ben Gotow 0edef2f42f fix(tooltips): Defer display of background, ensure dot inside window 2016-09-23 17:01:05 -07:00
Ben Gotow 7bfd43b359 bump(submodule): Replace regexp body transforms with DOM approach 2016-09-23 16:38:39 -07:00
Ben Gotow 18d294c42f feat(transforms): Replace regexp body transforms with DOM approach
Summary:
We originally didn't do this because creating a DOM tree was loading images.
Using range.createContextualFragment seems to do it without the tree ever
being attached.

Accompanying changes to src/pro are here:
https://phab.nylas.com/D3300
https://github.com/nylas/edgehill/compare/bengotow/draft-dom-transformations?expand=1

Also rename applyTransformsToDraft => applyTransformsForSending. Needed
a new name because the function signature has changed. AFAIK there are no
open source plugins using the old functions.

Test Plan: All specs updated

Reviewers: evan, juan

Reviewed By: evan, juan

Differential Revision: https://phab.nylas.com/D3299
2016-09-23 16:36:08 -07:00
Juan Tejada f50afa5c77 fix(long-connection): close instead of end on network end event
NylasLongConnection.Status.Ended means that we can't open the
connection again. When we get a network level 'end' event, that doesn't
map to our meaning of `Ended`, so we should just close it instead
2016-09-23 11:35:44 -07:00
Ben Gotow fbe42a8f8a es6(db): Query builder converted to ES6 2016-09-23 08:28:41 -07:00
Ben Gotow e1cdda6460 fix(tray): Flipped logic in displaying unread count 2016-09-22 13:31:22 -07:00
Juan Tejada 3dccb374b3 fix(search/long-conn): Process results buffer before ending connection (#750)
NylasLongConnection ends the connection when the 'end' event is emitted
by the `request` object. When this happens, the global connection buffer is cleared.
Also, the global buffer holds the data we've received from the connection, and
whenever we receive new data, we accumulate it in the buffer and call a processBuffer function
which is throttled to 400ms.

Given that the buffer is global state, and processing occurs
asynchronously with a delay of up to 400ms, if the 'end' event on the connection is
fired before we actually get to process the buffer, we would clear it and show no results.

This scenario currently only affected search because if we accidentally
threw away some data when streaming deltas, we will get that data again
when we reopen the delta streaming connection.
2016-09-22 12:08:59 -07:00
Ben Gotow 00787c06c7 es6(db): Query-related classes moved to ES2016 2016-09-22 00:07:23 -07:00
Evan Morikawa 5274ce3543 fix(task-queue): performLocal now operates serially 2016-09-21 16:50:41 -04:00
Ben Gotow ec5092c2f5 fix(specs): attribute conversion fixed bugs, broke specs 2016-09-21 11:56:54 -07:00
Ben Gotow c6d8bde6fd fix(accounts): Restore account re-ordering 2016-09-21 11:23:38 -07:00
Ben Gotow ef306fa52f es6(db): Didn’t wait for NylasLint… 2016-09-21 09:45:11 -07:00
Ben Gotow 7568b25c86 es6(db): Convert attribute class declarations to ES2016 2016-09-21 09:36:36 -07:00
Ben Gotow 298cb55054 bump(react): 15.3.x, warning removal, thread-sharing tweaks 2016-09-20 17:28:50 -07:00
Ben Gotow dc2590a834 fix(tooltips): Position relative to custom container for composer 2016-09-20 16:21:31 -07:00
Ben Gotow ce309ec441 fix(thread-sharing): Fix unloading plugin 2016-09-20 15:48:39 -07:00
Ben Gotow 9e3d864962 fix(drag-drop): Restore support for thread dragging 2016-09-20 15:48:15 -07:00
Ben Gotow e533d063d0 fix(specs): Fix tests that were console.logging, bump coffee-react 2016-09-20 15:17:48 -07:00
Evan Morikawa 7a0e8691ea Revert "fix(promise): Don't use deprecated Promise.longStackTraces()"
This reverts commit ac7602155c.
2016-09-20 17:23:53 -04:00
Evan Morikawa da2e2eec16 fix(error): Let APIErrors have proper stack traces 2016-09-20 17:17:39 -04:00
Evan Morikawa ac7602155c fix(promise): Don't use deprecated Promise.longStackTraces() 2016-09-20 17:16:59 -04:00
Juan Tejada abfe7ea03d fix(long-connection): Throw error for reporting, instead of just logging 2016-09-19 19:36:32 -07:00
Juan Tejada 5fc1b7de40 feat(msg-list): Don't make participants mailto links, add context menu 2016-09-19 19:33:52 -07:00
Evan Morikawa aca3363e3c fix(util): Utils.deepClone properly clones dates 2016-09-19 20:14:41 -04:00
Ben Gotow a9d0f3f56a fix(trial): Compute “days remaining” in timezone-aware way 2016-09-19 16:20:34 -07:00
Juan Tejada fd8aab0946 fix(logging): Fix query logging: escape '%' properly 2016-09-19 12:49:46 -07:00
Ben Gotow 190e2713ce feat(channels): Choose an update channel! Limited time only!
Summary: Just a small select input.

Test Plan: Run tests

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3282
2016-09-19 12:41:16 -07:00
Ben Gotow 6d3a9bd659 fix(tutorial): Minor tweaks, finalized styling 2016-09-16 17:34:22 -07:00
Juan Tejada b6e277366e fix(thread-sharing): Timestamp range in seconds 2016-09-16 00:05:48 -07:00
Juan Tejada 1e89bc878b fix(thread-sharing): Throw error when thread is /not/ found 2016-09-16 00:00:02 -07:00
Juan Tejada d460289480 fix(mail-merge): Correctly handle empty column names 2016-09-15 18:25:57 -07:00
Juan Tejada 0e7aa5ecb2 🎨(thread-sharing): Prefer url and querystring modules to parse url 2016-09-15 18:10:07 -07:00
Juan Tejada 5ce42234fe fix(thread-sharing): Find-thread, incr timestamp delta to 1min in ms 2016-09-15 16:43:30 -07:00
Juan Tejada 2ec3bf2cd3 fix(thread-sharing): Update popover style 2016-09-14 18:13:35 -07:00
Ben Gotow 4ecbcdd074 fix(copy): Updating language for onboarding tour 2016-09-14 14:16:19 -04:00
Juan Tejada d383d3e637 fix(build): Fix lint errors 2016-09-14 10:14:50 -07:00
Juan Tejada ca54227f06 Add thread-sharing plugin
Summary:
Add thread-sharing plugin:

- Add popover to enable sharing
- Register custom nylas:// protocol to open a thread via protocol is thread exists

Test Plan: Manual

Reviewers: jackie, bengotow

Reviewed By: jackie, bengotow

Subscribers: jackie, halla

Differential Revision: https://phab.nylas.com/D3265
2016-09-14 00:04:20 -07:00
Ben Gotow 7533c7ae81 feat(tutorial): Overlay bubbles that guide you through initial features
Summary:
Add header to show how many trial days remain

More rendering out of Store, consolidate registry and store and expose via new serviceRegistry

WIP

Merge branch 'master' into hallamoore/feature-walkthrough-tutorial

Switch to using observable instead of AbortablePromise

Update submodule

WIP

WIP

Remove annotations

Remove changes

WIP

Test Plan: No tests

Reviewers: evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3260
2016-09-13 02:29:38 -04:00
Alberto Castillo - acg d2e5f9c549 Fixed issue #2670. URL parsing '?#' (#2827) 2016-09-10 10:17:17 -07:00
Jackie Luo 328267c629 fix(identity): Log user out of app if identity token is missing 2016-09-02 17:11:00 -07:00
Kyle King d7159e08bb Fixes #2723 -> apm ignore plugin dev-dependencies (#2741)
`apm install --production`
2016-09-02 16:01:26 -07:00
Jackie Luo 51270f9e04 fix(send): Check for number of BCC participants before using multi-send 2016-09-02 11:51:04 -07:00
Juan Tejada 4fd06c1e16 fix(packages): Make sure we can migrate and correctly disable new packages
- Add a package migration manager to be able to migrate external
packages into N1, and decide if they should be enabled or disabled by
default when added.
2016-09-01 14:53:31 -07:00
Ben Gotow 08c9bc19ea fix(onboarding): Fix React warnings, no back button to auth 2016-09-01 11:11:25 -07:00
Ben Gotow 3d3cffd6d3 config(*): watch config across fs deletes, re-creates 2016-09-01 11:03:30 -07:00
Ben Gotow d26efdb882 config(*): Fix bad template string 2016-09-01 10:14:40 -07:00
Juan Tejada 87fb804c13 bump(submodule) 2016-08-31 09:56:36 -07:00