Commit graph

3748 commits

Author SHA1 Message Date
Ben Gotow 9f0a2c31a0 fix(data-source): Wait until the next cycle to cleanup
Fixes a crash when switching to the thread list from the draft list, where there are very briefly zero observers.
2016-09-29 13:42:52 -07:00
Ben Gotow 047b4c03fe bump(verison): 0.4.56, more items in changelog 2016-09-29 12:24:15 -07:00
Halla Moore 3264175b54 feat(self-hosting) Add onboarding page about self-hosting plugin restrictions 2016-09-29 12:12:05 -07:00
Halla Moore 5accaa0e5f fix(self-hosting) Don't load packages that don't support self-hosting 2016-09-29 12:12:05 -07:00
Juan Tejada a28fc70332 fix(composer): When pasting links that are tracked, extract actual link 2016-09-29 11:30:19 -07:00
Ben Gotow 56285ad6c4 feat(bios): Linkify twitter hashtags and mentions in bios 2016-09-29 11:25:08 -07:00
Ben Gotow 88258cced7 rm(ship-logs): Remove unused log shipping, prevents many-processes bug on win32 2016-09-29 10:38:29 -07:00
Evan Morikawa 87b78e3775 fix(linter): fix linter error 2016-09-29 10:05:11 -05:00
Evan Morikawa 68b3ab4225 fix(spec): remove unnecessary messages & prevent extra hot window 2016-09-29 09:52:51 -05:00
Ben Gotow 0e98736f49 fix(composer): Wrap composer instead of allowing overflow-x 2016-09-28 17:39:44 -07:00
Ben Gotow 9ddb713a1b fix(window-state): Per electron#7278, save state in beforeunload
Related:
https://github.com/electron/electron/issues/7278
https://github.com/atom/atom/pull/3223/files

As of Chromium 36, unload is async and @zcbenz does not think it happens reliabily in Electron. Move saving of window state to beforeunload, following suit with Atom.
2016-09-28 17:39:44 -07:00
Juan Tejada f62caa9c57 🎨(activity-list): punctuation 2016-09-28 17:22:50 -07:00
Juan Tejada b23c55d5b4 fix(dev): Pretty print deltas 2016-09-28 16:51:50 -07:00
Juan Tejada b14d52b482 fix(draft-list): Don't render html string in draft subject 2016-09-28 16:02:47 -07:00
Juan Tejada 2b34d2137a fix(lint): Fix coffeelint errors 2016-09-28 15:58:16 -07:00
Juan Tejada 38b5cc47a7 🎨(thread-sharing): Fix icon 2016-09-28 15:56:37 -07:00
Juan Tejada a9701f2b5f fix(specs): Fix mail merge specs 2016-09-28 15:02:36 -07:00
Ben Gotow 381019552f fix(perspectives): More robust validation of saved perspectives, never open to blank screen 2016-09-28 14:46:08 -07:00
Ben Gotow 3411ad320e fix(composer): Add additional isMounted checks
Resolves this exception: https://gist.github.com/jstejada/a26dc6a7a2896dcef9be3cec60eaecdb
2016-09-28 14:46:08 -07:00
Juan Tejada 6afd911e81 fix(mail-merge): Reduce limit to 150 messages, improve error handling 2016-09-28 13:27:59 -07:00
Ben Gotow 69d3571d20 fix(calendar): CSS layout fix for Chromium 53 2016-09-28 12:14:50 -07:00
Ben Gotow 6df14d5553 fix(composer): Dedupe registered key bindings to avoid double undo in composer 2016-09-28 12:03:58 -07:00
Ben Gotow 1e7dfea7d7 fix(db): Messages with empty bodies always showing loading spinner due to ‘’ == null 2016-09-28 11:42:18 -07:00
Ben Gotow 2739cc822e fix(identity): Always refresh accounts after identity
This fixes an issue where changing your Nylas ID didn’t refresh your accounts, and N1 would still think they were invalid.
2016-09-28 11:29:26 -07:00
Ben Gotow 60d0d94b1b fix(react): React refuses to add partition attr to webview 2016-09-28 11:29:26 -07:00
Juan Tejada 4f8ad70d60 fix(search): Update local search syntax to include more results
Add prefix search. Previously, if searching for a thread with a specific
subject, you had to type the entire subject. Searching for just a prefix
wouldn't return the result.
This should not affect any of the current search results, only add more results
2016-09-28 11:06:10 -07:00
Jackie Luo e10a0668ed fix(lint): Change variable to const 2016-09-27 23:39:10 -07:00
Ben Gotow 275786cdfb fix(drafts): Sanitize quoted text to avoid overlaid component issues [!!] 2016-09-27 17:45:51 -07:00
Ben Gotow 109fb21dc7 fix(thread-list): Use interaction handlers, don’t update selection directly 2016-09-27 16:31:28 -07:00
Juan Tejada 3298f6a36b fix(warnings): Correctly remove all unknown props warnings 2016-09-27 15:06:23 -07:00
Juan Tejada 086c84197c fix(overlaid-comps): Check if supports preview only after we know exists 2016-09-27 15:06:13 -07:00
Ben Gotow 38ba6ea015 fix(db): Add an index on Thread.client_id for modelify 2016-09-27 15:01:28 -07:00
Ben Gotow 3cfd16fc1b fix(composer): No need for overlaid z-index: 10, appearing over menus 2016-09-27 14:40:58 -07:00
Ben Gotow a0ab700ca6 💄(mail-merge): Fix alignment and height of tokens 2016-09-27 14:36:58 -07:00
Ben Gotow 8fada3b9da fix(sidebar): Command-click + href to open in background
Global window event handler should work when clicking elements /inside/ of an a tag with an href.
2016-09-27 14:36:58 -07:00
Ben Gotow 53fcbfc00e 💄(sidebar): Github repos should not wrap 2016-09-27 14:36:58 -07:00
Juan Tejada 41a3573e2a fix(mail-merge): Reduce max number of emails to 250
Almost always, you will get rate limited trying to send 500 emails.
Reduce to 250 to make it more reasonable
2016-09-27 14:22:50 -07:00
Juan Tejada cef3060623 fix(tasks): Report slow performLocal only when it takes > 500ms 2016-09-27 14:22:50 -07:00
Jackie Luo 42274b656c fix(install-location): Update language and remove buggy regex 2016-09-27 10:35:50 -07:00
Juan Tejada 1d941800c3 fix(whitespace) 2016-09-27 10:32:52 -07:00
Juan Tejada 1e8d8c7970 update: Update CHANGELOG for v0.4.55 2016-09-27 09:52:11 -07:00
Juan Tejada 5740d29eb5 bump(version): 0.4.55 2016-09-27 08:48:57 -07:00
Juan Tejada 6cca1f596a fix(tasks): Add instrumentation to Task's performLocal
A slow performLocal may be one of the causes of #2725
2016-09-27 08:46:35 -07:00
Ben Gotow 91605c7a95 es6(db): DatabaseTransaction & Query moved to ES6 2016-09-26 23:46:46 -07:00
Juan Tejada 82b70267f5 fix(specs): make sure stub resolves (bump submodule) 2016-09-26 17:22:56 -07:00
Juan Tejada fc87ae5ef1 fix(lint) 2016-09-26 17:22:08 -07:00
Evan Morikawa d255cfbd5c Revert "fix(task-queue): performLocal now operates serially"
This reverts commit 5274ce3543.
2016-09-26 17:04:23 -07:00
Ben Gotow 039d9bea61 feat(inline-images): Drag & drop or paste inline images
Summary: Initial support for inline images. Tests still forthcoming!

Test Plan: WIP

Reviewers: mark, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3295
2016-09-26 17:01:19 -07:00
Mark Hahnenberg dde4738363 Fix broken test
Summary:
Fixes a test that was broken due to my unfamiliarity with
CoffeeScript :-/

Test Plan: Tests

Reviewers: bengotow

Reviewed By: bengotow

Subscribers: juan

Differential Revision: https://phab.nylas.com/D3302
2016-09-26 16:49:22 -07:00
Juan Tejada 6051512276 fix(contact-sidebar): Correctly update selected contact
Sometimes, when selecting a contact (with name, email) inside a thread,
the dropdown (`<select>`) did not correctly reflect the selected
contact.

This was because when focusing a contact, the FocusedContactStore
queried that contact from the database just by email, and the contact
retured from the database became the focused one. However, sometimes the
returned contact might have the same email but different email, and
given that the `<select>` component is keyed by both name,email, it
couldn't find the appropriate <option> to render, so it could not update
to reflect the newly selected contact

Now, the FocusedContactStore queries by email and name to prevent this
2016-09-26 16:34:29 -07:00