Commit graph

1117 commits

Author SHA1 Message Date
Ben Gotow 274cf60aba ci(win): Fix build tasks to enable windows CI builds 2015-10-15 17:54:09 -07:00
Ben Gotow 8c2f27c103 fix(thread-list): stop thread-icons from shrinking, justify participants explicitly 2015-10-14 18:05:29 -07:00
Ben Gotow aca9de07d9 fix(config): new mail sounds on by default, change config keypath
unread-notifications.sounds => core.notifications.sounds
2015-10-14 17:11:36 -07:00
Ben Gotow 615e90466b fix(bootstrap): Don't fail when path contains spaces 2015-10-14 10:46:27 -07:00
Ben Gotow 7787e0bc4b fix(contributing): Clarify setup instructions for open source stack 2015-10-13 12:04:23 -07:00
Ben Gotow b6b1b63c9e bump(version): 0.3.16 2015-10-12 14:31:36 -07:00
Ben Gotow 87bb79fcc2 fix(sidebar): Prevent white top border in all scenarios 2015-10-12 11:14:44 -07:00
Ben Gotow 12382e1c41 fix(sidebar): Remove top margin causing white border 2015-10-12 11:04:27 -07:00
Ben Gotow 2d53d65959 fix(feedback): Make button slightly smaller, less obtrusive 2015-10-12 11:04:27 -07:00
Ben Gotow b1c3ab2e10 fix(thread-list): Enable drag and drop in narrow view 2015-10-12 11:04:27 -07:00
Ben Gotow a312614195 fix(html-parser): Never blow up, just send us HTML parsing errors 2015-10-12 11:04:27 -07:00
Evan Morikawa 78a3218c26 fix(contact): fix bug where malformed contacts threw an error
Summary:
Also added tests to catch the case
Fixes T4290

Test Plan: new tests

Reviewers: bengotow

Reviewed By: bengotow

Maniphest Tasks: T4290

Differential Revision: https://phab.nylas.com/D2153
2015-10-12 14:03:39 -04:00
Ben Gotow abe0e1baac Merge pull request #79 from digitalmaster/patch-1
Fix Broken link to DraftStoreExtensions.md
2015-10-12 10:27:29 -07:00
solnj d5ea09adbc fix(script): allow x64 build on Windows
Electron is available for 64-bit Windows machines(https://github.com/atom/electron/issues/980), so we don't need the 32-bit check anymore. Reference: https://github.com/nylas/N1/issues/28
2015-10-12 11:02:07 -04:00
Jose Browne 0f6a080707 Fix Broken link to DraftStoreExtensions.md 2015-10-11 17:36:13 -07:00
Ben Gotow 7e030a1421 fix(updater): Check less frequently, stop when update ready to install 2015-10-11 01:58:53 -07:00
Ben Gotow 20204bf377 fix(intercom): Badge the intercom button, don't use safe-ipc 2015-10-09 16:12:52 -07:00
Ben Gotow 7ba9431f0b revert(electron) 0.30.8 introduced a regression in --webkit-app-region: drag 2015-10-09 16:12:52 -07:00
Evan Morikawa 8755786d90 fix(theme): more consistent styles for dark-mode theme 2015-10-09 16:05:26 -07:00
Evan Morikawa b0b0c14d03 fix(specs): Fix intermittent async error and max event listener leak
An absolute ContactStore spec was causing the listener leak by
re-initializing the store and not cleaning it up.

Intermittent theme manager failing spec might be caused due to timing of
the theme activation
2015-10-09 15:42:37 -07:00
Ben Gotow 344930973e fix(specs): sanitize-html update seems to have caused regression 2015-10-09 14:39:53 -07:00
Ben Gotow 7ebb27cdfa fix(contacts): Emails only valid if the entire string is the email. (Sentry 2991) 2015-10-09 14:30:08 -07:00
Ben Gotow 089e5b1c06 fix(quoted-html): Fix null reference error, resolves Sentry 3264 2015-10-09 14:12:27 -07:00
Ben Gotow 83f9f0e4ff fix(specs): ContactStore spec fixes for new contact ranking support 2015-10-09 13:42:24 -07:00
Ben Gotow f9308f1163 rollback(*): Move back SQLite upgrade after crashing in popout drafts 2015-10-09 13:25:39 -07:00
Drew Regitsky 0332d7264e fix(contacts): move contact rank fetching to sync workers, refactor
Summary:
Fixes bug where contact ranking was not being fetched, and refactors the refreshing
of contact ranks. Moves periodic refreshing of the database-stored ranks to the sync
workers so it occurs in the background, once per account. Refactors JSON cache code
accordingly.

Test Plan: manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2137
2015-10-09 12:40:36 -07:00
Ben Gotow 7000c58645 fix(contributing): Expand the instructions for running the stack on your own
Addresses several things brought up internally and in https://github.com/nylas/N1/pull/41
2015-10-09 10:41:05 -07:00
Ben Gotow 05714ee19f Merge pull request #52 from mbilker/fix-clean-script
Change atom to nylas in clean script
2015-10-09 10:23:28 -07:00
Evan Morikawa 044f5223ac Merge pull request #53 from mbilker/travis-update
Travis update
2015-10-09 10:20:37 -07:00
Evan Morikawa 69e5b2ac9a Add ChaosMonkey to test misbehaving servers
Summary:
`ChaosMonkey.unleashOnAPI()` will by default cause all API requests to 500

`ChaosMonkey.unleashOnAPI(timeoutMonkey: true)` will cause all API requests
to SOCKETTIMEOUT

`ChaosMonkey.unleashOnAPI(numMonkeys: 10)` will cause the next 10 API
requests to 500

`ChaosMonkey.unleashOnAPI(errorCode: 401, numMonkeys: 10)` will cause the
next 10 API requests to 401.

It must be manually invoked from the console on each window you want the
Monkeys wrecking havok.

It is available on the `window` object as well

This was created to manually test our server failure cases.

Test Plan: manual

Reviewers: drew, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2133
2015-10-09 09:37:56 -07:00
Evan Morikawa a7aec14ca3 Fix contact ranking and add tests
Summary:
Contact ranking is now tested.

There was a bug whereby the RankingsJSONCache would only update in the
workerwindow. This regressed when Contact ranking moved exclusively into
the main window and separate composer windws requested rankings via ipc

Test Plan: New tests

Reviewers: drew, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2134
2015-10-09 09:31:52 -07:00
Evan Morikawa eb0a915bc2 Fix scrollability in expanded activity sidebar
Summary:
If your screen is narrow or you are syncing a lot of stuff, the expanded
activity sidebar had no scroll affordance

Test Plan: manual

Reviewers: drew, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2135
2015-10-09 09:31:37 -07:00
Ben Gotow 215fa0e4cb fix(initial-sync): When an error is encountered, do not start fetching from zero again
Summary:
Previously, when an error was encountered during initial mailbox sync we just started it
over after a retry delay. Recent API uptime issues mean that this was happening often and lots of
people were seeing sync retry many times. This is bad because the app is less performant while
it's syncing mail, and also generates unnecessary load as the app re-fetches threads it already has.

In this diff, there are new specs and functionality in nylas-sync-worker to start fetching
where we left off. This is typically going to be OK because the default sort ordering of the
threads endpoint is newest->oldest, so if new items have arrived since we started fetching
and page boundaries have changed, we'll get duplicate data rather than missing data. Connceting
to the streaming API as soon as we start the sync also ensures that we roll up any changes to
data we've already paginated over.

Test Plan: Run tests

Reviewers: drew, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2132
2015-10-08 19:02:54 -07:00
Matt Bilker 7e8e3b6b97 fix(grunt): disable packaging under travis builds 2015-10-07 22:54:22 -04:00
Matt Bilker 67b0b5fd05 fix(travis): disable node 4 for now
throws errors everywhere regarding the compiler, nan, and node 4.1.2
2015-10-07 22:52:20 -04:00
Matt Bilker ca3d6d7e86 fix(travis): set compiler to clang 2015-10-07 22:36:28 -04:00
Matt Bilker 88be607b2c fix(build): disable codesign in travis builds 2015-10-07 22:35:51 -04:00
Matt Bilker cf5dc7dbbb fix(whitespace): coffeelint line 19 ends with whitespace 2015-10-07 22:32:28 -04:00
Matt Bilker a1b94d8239 fix(travis): another new github access token
found out you cannot use personal access tokens
github disables them if they are found in a commit
2015-10-07 22:26:45 -04:00
Matt Bilker e4367647ac fix(travis): update github access token 2015-10-07 22:15:10 -04:00
Matt Bilker d32d58d790 fix(travis): add github access key 2015-10-07 21:59:25 -04:00
Matt Bilker b968b41210 fix(grunt): change variable name for github access key 2015-10-07 21:57:45 -04:00
Matt Bilker 5b76da7d32 fix(travis): nvm does not like node 4 on osx 2015-10-07 21:56:03 -04:00
Matt Bilker b03d2fd52a fix(travis): add required APT packages 2015-10-07 21:52:42 -04:00
Matt Bilker af9dec17da fix(travis): switch to matrix build strategy 2015-10-07 21:51:30 -04:00
Matt Bilker c641c6fbbe fix(travis): accidentally removed the language selection 2015-10-07 21:46:14 -04:00
Matt Bilker cc07199c8f fix(travis): Update travis script to run on multiple oses 2015-10-07 21:42:48 -04:00
Matt Bilker 3bc1151b0f refactor(code): change atom to nylas in clean script 2015-10-07 21:34:07 -04:00
Evan Morikawa 1a265a9a5c Merge pull request #50 from lukegb/patch-1
fix(docs): correct SMPT->SMTP
2015-10-07 17:48:59 -07:00
Evan Morikawa b0e7769e94 fix(developer): visual improvements to developer bar
Summary: Make ETIMEDOUT red

Test Plan: manual

Reviewers: bengotow, dillon

Reviewed By: dillon

Differential Revision: https://phab.nylas.com/D2126
2015-10-07 17:28:45 -07:00