Commit graph

3767 commits

Author SHA1 Message Date
Evan Morikawa
02cfbd7878 fix(plugin): use config since activatePackage doesn't persist 2016-11-05 11:44:19 -07:00
Evan Morikawa
ce05e94aeb fix(unload): safely unload the task queue on quit 2016-11-05 11:37:11 -07:00
Evan Morikawa
9ec3daff0a feat(plugin): activate & deactivate plugins via a nylas: url 2016-11-05 11:23:14 -07:00
Evan Morikawa
dbc81a87a4 feat(quote): improved quoted text detection for trailing signatures 2016-11-04 20:45:25 -07:00
Evan Morikawa
c0b28456a9 fix(quote): properly detect "wrote: " strings with trailing space 2016-11-04 18:39:37 -07:00
Evan Morikawa
4a40074cd1 convert(es6): quoted-html-transformer to es6 2016-11-04 18:28:11 -07:00
Juan Tejada
5a20dfce76 bump(version): 0.4.203 2016-11-04 16:49:20 -07:00
Jackie Luo
3dbd9b7278 feat(notifications): Allow notifications to be dismissable 2016-11-04 16:30:28 -07:00
Juan Tejada
db84da1eba feat(requests/send): Add mechanism to ensure that a req be sent and succeeds only once
Summary:
This commit adds a new option to NylasAPIRequest api to allow users to
specify requests that should only ever be executed once, once they
succeed. This is done via saving a hash of some of the requests
properties to the filesystem.

Specifically regarding send, this ensures that a draft never be sent
twice from N1. We ran into this case once when the final state of the TaskQueue
wasn't saved to the database before the N1 app closed. In this case, a
PerformSendActionTask that was supposed to be dequeued, was restored to
the task queue again when N1 restarted, causing the draft to be sent
twice.

Test Plan: Manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3407
2016-11-04 15:44:30 -07:00
Juan Tejada
7ac7fa58ec fix(task-queue): Save the task queue before closing the window
Summary:
Save the final state of the TaskQueue to the database before window
gets unloaded

Test Plan: Manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3408
2016-11-04 15:30:49 -07:00
Evan Morikawa
5b1ee293dc fix(lint): fix linter errors 2016-11-04 15:07:14 -07:00
Evan Morikawa
502e995e60 bump(submodule): update UI & SFDC 2016-11-04 15:00:28 -07:00
Juan Tejada
605c9d9a4e 💄(reminders) Add title to reminders header 2016-11-04 14:45:45 -07:00
Ben Gotow
4cd60e1042 fix(darkside): remove notifications shadow 2016-11-04 11:32:14 -07:00
Ben Gotow
d214a52192 fix(prefs): Only scroll to top when switching tabs 2016-11-04 11:32:14 -07:00
Evan Morikawa
596777a427 bump(submodule): update SFDC 2016-11-04 11:22:51 -07:00
Evan Morikawa
c3cd67257a fix(form): support cmd+enter and not optimistic submission on all enter 2016-11-04 11:12:51 -07:00
Ben Gotow
5a2ec1c3f6 Revert "💄(messages): Remove email-frame max-width styles"
This reverts commit 9637c9547f.
2016-11-04 11:05:14 -07:00
Halla Moore
a269a103e1 Revert "💄(messages): Remove max-width styles"
This reverts commit 45dc4a08be.
2016-11-04 11:03:22 -07:00
Ben Gotow
9637c9547f 💄(messages): Remove email-frame max-width styles 2016-11-04 11:01:16 -07:00
Ben Gotow
b1faf6ef22 fix(composer): Check for empty as well as original body 2016-11-04 10:58:34 -07:00
Ben Gotow
403d2096b8 fix(gh-sidebar): Don’t customize <h2> styling 2016-11-04 10:58:34 -07:00
Halla Moore
45dc4a08be 💄(messages): Remove max-width styles
Although some word-wrapping may look better at 800px, it looks much worse
when we can't properly display html emails that are meant for a wider area.
It also just seems a little weird to limit our users in this way.
2016-11-04 10:52:51 -07:00
Juan Tejada
ff61527d75 fix(search): Prevent duplicate results from search query
This is a temporary fix which adds defensive code to prevent duplicate results
from being returned from the thread search query which causes N1 to enter a loop
and freeze (#3001).

Duplicate results from the search query likely indicate that a thread
was indexed twice, which was not the case before. The cause for this is
still at large.
2016-11-04 10:50:10 -07:00
Ben Gotow
919697c070 fix(theme-picker): Regression in design of theme picker 2016-11-04 10:29:59 -07:00
Ben Gotow
3873f31817 fix(mac-notifier): Manually install on darwin (for now) 2016-11-04 10:29:59 -07:00
Evan Morikawa
37eeb67033 fix(form): Have submit button say "update" when necessary 2016-11-04 09:28:55 -07:00
Juan Tejada
9f42a150ac :lipstick(sidebar): Update reminders icon: 2016-11-03 23:07:47 -07:00
Juan Tejada
3fc9ee7927 💄(attachments): Fix file attachment styles 2016-11-03 23:02:15 -07:00
Juan Tejada
2c63ae944b fix(attachments) Add default value for filePreviewPaths in case they are not provided 2016-11-03 18:26:11 -07:00
Juan Tejada
91199b673c fix(attachments): Fix several bugs in attachment components
- Fix several styling issues
- Adjust the generated size of the thumbnail preview to fill all of the
available space
2016-11-03 17:55:40 -07:00
Ben Gotow
52731f947b fix(decorators): Carry container config through decorators 2016-11-03 17:54:47 -07:00
Ben Gotow
dbe59f4326 fix(popovers): Don’t apply minimum width to all 2016-11-03 17:52:10 -07:00
Ben Gotow
be3d2f0b44 fix(auth): Add partition back to webview 2016-11-03 17:42:20 -07:00
Evan Morikawa
dbc5a97cdd fix(travis): PUBLISH_BUILD only on mirror 2016-11-03 11:31:58 -07:00
Juan Tejada
b6761b049e update(changelog) 2016-11-03 09:18:54 -07:00
Evan Morikawa
aeece86cbe fix(spec): bump submodule spec fixes 2016-11-03 08:57:11 -07:00
Juan Tejada
44bfb03375 fix(lint) 2016-11-03 00:08:55 -07:00
Evan Morikawa
5a7b11c4bf fix(plugin): remove from plugin list 2016-11-02 18:03:56 -07:00
Juan Tejada
f7e162c1a8 bump(version): 0.4.202 2016-11-02 18:03:31 -07:00
Halla Moore
e5e7a72608 feat(cal) Add a mini month view to the corner of the calendar
Summary: Title says it all!

Test Plan: Manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3373
2016-11-02 17:45:12 -07:00
Evan Morikawa
637020fdb6 fix(form): add currentFormValues to GeneratedForm 2016-11-02 17:43:56 -07:00
Juan Tejada
1183b852f0 bump(version): 0.4.201 2016-11-02 17:33:32 -07:00
Juan Tejada
189b15e586 feat(attachments): Generate and display thumbnail previews for files (mac only)
Summary: Adds option to view preview thumbnails for attachments. This commit updates the FileDownloadStore to generate file thumbnail previews for attachments via `qlmanage` and displays them in the AttachmentItem component.

Test Plan: Manual

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3393
2016-11-02 17:27:53 -07:00
Jackie Luo
4efcbb4fc3 fix(email-frame): Refactor if/else for frame height 2016-11-02 15:56:27 -07:00
Jackie Luo
57c25b7fa9 fix(email-frame): Revert to body scrollHeight if documentElement's is zero 2016-11-02 15:35:58 -07:00
Jackie Luo
bf95181ea8 fix(logging): Remove console.log() 2016-11-02 15:35:58 -07:00
Jackie Luo
e1a5e6e1ea fix(email-frame): Prioritize documentElement for scroll height 2016-11-02 15:35:58 -07:00
Evan Morikawa
ff2e626037 fix(travis): fix conditional check in before_install 2016-11-02 14:54:17 -07:00
Ben Gotow
16e2b6036b fix(onboarding): Respect hot window dimensions 2016-11-02 13:31:30 -07:00