Commit graph

2550 commits

Author SHA1 Message Date
Ben Gotow 2c28c66a8a test(send): Improved coverage of metadata logic, file uploads
Summary: Just new specs. Tested by manually breaking lots of things in SendDraft

Test Plan: Run new tests

Reviewers: juan, drew, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2649
2016-03-01 17:24:37 -08:00
Evan Morikawa 11c119393e fix(account): re-add token if a new one comes in
Summary: fix(account): allow users to reconnect accounts if auth has failed

Test Plan: manual

Reviewers: bengotow, juan

Differential Revision: https://phab.nylas.com/D2663
2016-03-01 16:02:20 -08:00
Evan Morikawa a421ee2a80 fix(account): re-add token if a new one comes in 2016-03-01 15:33:02 -08:00
Ben Gotow 5efb41031c Merge pull request #1469 from e2corporation/readme-custom-envs
README Update
2016-03-01 14:50:35 -08:00
Ben Gotow ba07727fc4 Merge pull request #1520 from mbilker/lint
Correct eslint errors from Travis
2016-03-01 14:50:10 -08:00
mbilker f13fc46611 lint(*): correct eslint errors, warnings still exist
There are warnings in `spellcheck-composer-extension.es6` for the `while (true)`
loops.
2016-03-01 10:58:29 -05:00
Jackie Luo af6f544cc9 fix(composer-emojis): Insert emoji on tab, fixes #1511 2016-02-29 20:46:30 -08:00
Ben Gotow 3fc6582718 es6(*): convert 20+ source files used in example packages to ES2016
There could be a few lurking bugs. Please test!
2016-02-29 18:47:22 -08:00
sdewith 759b613f62 Add Mail.app keybinds
Added jumping, search focus, select, star and archive keybinds to Apple
Mail keymap
2016-02-29 12:17:14 -08:00
Ben Gotow 3508e7b9d7 Revert "bump(electron): 0.36.9. Fixes #911"
This reverts commit 3f211a023c.
2016-02-29 10:57:09 -08:00
Juan Tejada c3123b1d45 fix(specs): Update spy on persistModel to reflect actual behavior 2016-02-29 10:37:48 -08:00
Ben Gotow 3f211a023c bump(electron): 0.36.9. Fixes #911 2016-02-29 10:36:30 -08:00
Julien Chinapen e4394e92d0 Example Update
Update code snippet to show `env: custom`

Signed-off-by: Julien Chinapen <j.c@shogun.io>
2016-02-27 11:40:39 -05:00
Julien Chinapen bbda818128 README Update
Updating Contributing guidelines to make note of the `env: custom` option so that a Sync Engine in a local environment may be accessed on an alternate IP.

Also APIRoot must contain quotes around the URL otherwise a config validation will be thrown.

Signed-off-by: Julien Chinapen <j.c@shogun.io>
2016-02-27 08:50:04 -05:00
Ben Gotow 822a42cb5a fix(aliases): Work window should reload when an alias is added 2016-02-26 18:06:40 -08:00
Ben Gotow cae9feaff7 temp(onboarding): Remove checkbox for option not yet on prod 2016-02-26 16:49:46 -08:00
Ben Gotow 3a1fcc513b bump(version): 0.4.10 and changelog 2016-02-26 16:45:21 -08:00
Ben Gotow 76c9f26153 fix(plugin-auth): Once plguin auth succeeds, don't do it again 2016-02-26 16:39:45 -08:00
Juan Tejada 29cf1fedcd fix(templates): Open manage templates from composer window
- Fixes #1433
- Make Action.openPreferences global
2016-02-26 15:26:26 -08:00
Drew Regitsky 8f184f2896 fix(message-controls): add accountId to debug values copied to clipboard 2016-02-26 15:13:33 -08:00
Ben Gotow 011431f93a fix(threads): Right-align the timestamps in the thread list 2016-02-26 15:00:56 -08:00
Ben Gotow 6ec0045677 💄(print): Fix #1425 2016-02-26 14:40:16 -08:00
Ben Gotow 5691fc88ca fix(config): Store cursors with sync state, avoid constant config.cson writes
Summary:
Previously we were storing sync cursors in config.cson. They were by
far the most frequently updated piece of data in config. To make things worse,
all the writing was happening in the worker window - the main window was just
seeing the changes on disk and reloading.

I believe there's an edge case which causes the main window to read the config
file when it's mid-write and empty. This causes the accounts array to become
empty in the AccountStore and lots of downstream issues. It's also then possible
for the main window to write a config change of it's own and empty the file
permanently.

Test Plan: A few new tests to make sure this is backwards compatible.

Reviewers: juan, evan

Reviewed By: juan, evan

Differential Revision: https://phab.nylas.com/D2642
2016-02-26 13:52:19 -08:00
Ben Gotow 3fe03000cf bump(submodule): theme and plugin installation reporting fixes 2016-02-26 13:28:42 -08:00
Drew Regitsky 00109f28ef fix(message-controls): update email address for reporting 2016-02-26 12:29:11 -08:00
Drew Regitsky b93182920f feat(message-controls): Option to copy message IDs/metadata to clipboard 2016-02-26 12:26:20 -08:00
Ben Gotow 73ddd39cb2 fix(402s): Handling of Message Rejected, error messages with more detail 2016-02-26 11:40:59 -08:00
Juan Tejada 038f348281 fix(lint) 2016-02-26 11:24:00 -08:00
Juan Tejada 7ba13d0f0a fix(aliases): Fix regression to properly create/update/remove aliases
- This fixes #1428
- Add specs
2016-02-26 11:01:01 -08:00
Ben Gotow 24ca99e925 fix(focus): Focusing quickly enough can throw. Sentry #14942 2016-02-26 10:55:31 -08:00
Evan Morikawa 7d92f72552 fix(tray): windows tray opens window on click 2016-02-26 09:28:45 -08:00
Evan Morikawa 250434e302 Merge pull request #1441 from mbilker/fix-tray-icon
Rename tray icon files for Windows and Linux
2016-02-26 09:20:08 -08:00
Michael Grinich b736d4ffc2 Merge pull request #1405 from P0WW0W/master
Less is More Theme
2016-02-26 08:45:58 -08:00
mbilker 6538974706 lint(system-tray): code style consistent with rest of file 2016-02-26 11:37:20 -05:00
mbilker f0914d5a8a fix(system-tray): rename icon files for Windows and Linux 2016-02-26 11:23:53 -05:00
Alexander Adkins 1debed15d7 Update README.md 2016-02-26 09:21:25 -05:00
Evan Morikawa 7ca523a0d9 fix(download): ignore non message deltas instead of erroring 2016-02-25 18:58:44 -08:00
Evan Morikawa 0b6272422d fix(account): notify if we have bad accounts 2016-02-25 17:12:10 -08:00
Drew Regitsky fbd0aa35e6 fix(draft-syncback): fix bug preventing new draft metadata syncback 2016-02-25 17:09:55 -08:00
Evan Morikawa 2b3516d92a fix(travis): fewer builds 2016-02-25 17:04:32 -08:00
Ben Gotow 080ff933f2 fix(metadata): Saving on non-existent models should not throw 2016-02-25 16:28:56 -08:00
Drew Regitsky 24939caa78 fix(metadata): update metadata version when processing deltas 2016-02-25 16:20:58 -08:00
logandavis 79b800c2a3 Re-add SSL checkboxes with name ssl_required
Summary:
Now that IMAP auth without SSL is enabled,
those checkboxes that weren't doing anything can come
back.

Test Plan:
This change isn't fully tested and should be thoroughly
inspected (on staging?) before rollout. The N1 end works and sends
parameters correctly, but a 401 prevented local testing of the
interface between N1 auth and sync-engine auth.

Reviewers: bengotow, drew

Reviewed By: drew

Subscribers: kav-ya

Maniphest Tasks: T6666

Differential Revision: https://phab.nylas.com/D2632
2016-02-25 14:38:49 -08:00
Ben Gotow 91a589bd32 bump(version): 0.4.9 and changelog 2016-02-25 14:10:21 -08:00
Juan Tejada c5f112f846 fix(snooze): Do not display snooze buttons unless looking at inbox 2016-02-25 14:02:58 -08:00
Evan Morikawa a63bc9e4b0 fix(analytics): fix send later and snooze analytics 2016-02-25 14:01:15 -08:00
Ben Gotow 1d130e15c8 perf(snooze): Don't wrap snooze label in unsafe container 2016-02-25 13:39:30 -08:00
Ben Gotow ddb2de7b65 fix(link/open tracking): Update error messages 2016-02-25 13:32:59 -08:00
Ben Gotow 5694b3e4fb fix(snooze): Hide N1-Snoozed from the category picker 2016-02-25 13:32:58 -08:00
Evan Morikawa 3edec42f06 fix(analytics): clean up events 2016-02-25 13:32:09 -08:00