Commit graph

3226 commits

Author SHA1 Message Date
Evan Morikawa
690229aad2 fix(db): can manually call _handleSetupError with no args 2016-05-18 15:44:47 -07:00
Ben Gotow
8b0f0a2323 fix(quit): Booleans on globals are not exposed through remote properly 2016-05-18 15:41:24 -07:00
Evan Morikawa
37eeb5a7a4 fix(scheduler): don't event events 1 second early 2016-05-18 15:37:26 -07:00
Jackie Luo
fdc7b0aa5d 🎨(templates): Change language and remove gray box in demo template 2016-05-18 15:30:16 -07:00
Ben Gotow
5b5320997f fix(pkg-install): Use the package.json name, not the folder name 2016-05-18 15:25:18 -07:00
Evan Morikawa
7b692022e3 fix(event): add calendar icon to new event card 2016-05-18 14:21:22 -07:00
Ben Gotow
a186f985ba bump(version): 0.4.39 2016-05-18 10:10:31 -07:00
Ben Gotow
98d3c1e8e9 fix(build): prebuild less was using wrong options, cache not used at runtime 2016-05-17 19:28:18 -07:00
Ben Gotow
a46bcd1c34 fix(compile-cache): Write atomically to prevent process collisions 2016-05-17 19:28:01 -07:00
Ben Gotow
564d77421f perf(spellcheck): Limit misspellings to 15, recycle nodes 2016-05-17 18:48:01 -07:00
Ben Gotow
21303cecb5 fix(nylas-exports): Avoid repeatedly calling require inside lazyLoad 2016-05-17 18:37:20 -07:00
Evan Morikawa
0db70868a8 fix(composer): reduction in composer bootup time 2016-05-17 15:03:49 -07:00
Evan Morikawa
517a9cdd47 feat(perf): add perf monitoring to composer open time
Summary:
Add basic globally accessible performance monitoring.

Allows us to measure load times for composer windows (or whatever else we
want) and view the data as a Histogram on Mixpanel

Test Plan: manual

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2965
2016-05-17 14:23:14 -07:00
Evan Morikawa
6f355093e0 feat(composer): speed up composer loading & fix deactivate error 2016-05-17 12:37:46 -07:00
Ben Gotow
aeeebb193f fix(db): additionalSQLiteConfig is not a function! 2016-05-17 12:34:35 -07:00
Evan Morikawa
056df36a8f fix(bootstrap): properly dedupe all node modules 2016-05-17 09:35:48 -07:00
Juan Tejada
835e008ca2 fix(build): Fix lint errors 2016-05-16 19:53:26 -07:00
Juan Tejada
907ee68aa7 fix(snooze): Fix path to main file in package.json 2016-05-16 17:53:42 -07:00
Juan Tejada
417b09f2ff fix(snooze): Sentry error: "Can't create Snooze Category"
- This error was still being thrown for a large number of accounts,
despite the fact that the N1-Snoozed category was being created
- This error was happening when adding a new account which did not already have a
snooze category in the backend:
  - When the account is added the AccountStore triggers more than once,
  causing the SnoozeStore to send more than one request to create the
  same category. Any request after the first one will fail because the
  category already exists
- The fix is not try to create a category unless the accounts have
actually changed
2016-05-16 16:21:27 -07:00
Ben Gotow
04cc32fef0 fix(new-event-helper): Add required windowKey 2016-05-16 16:49:15 -05:00
Ben Gotow
bb40df97fe fix(config): Move all reads / writes to the main process
Summary:
Moves all reading / writing of config file to the main process,
to avoid needing to write code to lock across processes. This should also
be more efficient than re-loading the file in all processes when it's
saved.

Test Plan: Run tests

Reviewers: evan, jackie

Reviewed By: evan, jackie

Differential Revision: https://phab.nylas.com/D2963
2016-05-16 16:38:46 -05:00
Ben Gotow
17b474c14f fix(retry): When tasks fail, try fewer times: 2s, 4s, 8s, 16s, 30s 2016-05-16 15:44:41 -05:00
Evan Morikawa
5722847208 fix(reporting): fix undefined reference in error reporting 2016-05-16 13:31:44 -07:00
Evan Morikawa
a53d351d37 fix(spec): update NylasEnv specs 2016-05-16 13:26:33 -07:00
Evan Morikawa
c565af9042 fix(spec): Convert NylasEnvSpec from coffee to es6 2016-05-16 11:43:48 -07:00
Evan Morikawa
140f4f34ec fix(error): send all renderer errors to the browser process 2016-05-16 11:33:03 -07:00
Ben Gotow
345d006533 fix(connection): account.id => accountId 2016-05-16 03:26:23 -05:00
Ben Gotow
dc76fc5b98 fix(account): JSON without label should not reset label 2016-05-16 01:59:30 -05:00
Ben Gotow
b3b6276f4e Revert "refactor(deltas): Update sync-worker to use NylasAPI.longConnection"
This reverts commit 1a78a758f4.

# Conflicts:
#	internal_packages/worker-sync/lib/delta-streaming-connection.es6
#	internal_packages/worker-sync/lib/nylas-sync-worker.coffee
#	internal_packages/worker-sync/spec/nylas-sync-worker-spec.coffee
#	src/flux/nylas-long-connection.es6
2016-05-16 01:25:30 -05:00
Evan Morikawa
88f5cac00a bump(version): 0.4.38 stable patch release 2016-05-15 21:23:31 -07:00
Evan Morikawa
2c1207e957 fix(connection): don't destroy emitter on close 2016-05-15 21:19:36 -07:00
Ben Gotow
c0275d3c93 fix(babel): Resolve require paths for presets, fix plugin ES6 support 2016-05-15 17:52:49 -05:00
Ben Gotow
e23d597493 fix(keymaps): Handle empty keymap.json, recover when saving 2016-05-15 12:19:03 -05:00
Ben Gotow
f865b48f4e fix(auth): Revert imap => custom, bump package.json 0.4.37 2016-05-15 11:14:16 -05:00
Ben Gotow
e78136df8d fix(linux): Additional menu fixes 2016-05-15 00:31:29 -05:00
Ben Gotow
0ecb388fa4 fix(linux): Make F11 show up in menu as shortcut 2016-05-15 00:24:27 -05:00
Ben Gotow
288023639b fix(linux): Add libappindicator1 note, improved View menu 2016-05-15 00:05:25 -05:00
Ben Gotow
e86d964a5e fix(babel): linux-updater-adapter missing .default 2016-05-14 23:13:08 -05:00
Ben Gotow
89d25875e2 fix(deprecations): Broken references to app 2016-05-14 22:44:12 -05:00
Ben Gotow
45473e759a fix(empty-state): Don't show empty state briefly when loading threads 2016-05-14 17:08:43 -05:00
Jackie Luo
9a569c41ae 🎨(ui-dark): Remove iframe inversion 2016-05-13 23:03:33 -07:00
Ben Gotow
f6a90d12c5 fix(imports): Don't use relative paths with ASAR 2016-05-13 18:05:24 -07:00
Ben Gotow
ef328fe451 fix(templates): QA pass on templates, resolve #2216 2016-05-13 17:14:04 -07:00
Ben Gotow
3135e2b339 fix(err): InspectorFrontendAPI => DevToolsAPI 2016-05-13 16:25:23 -07:00
Juan Tejada
99f8a81e96 fix(mail-merge): Pass session to injected subject 2016-05-13 16:01:12 -07:00
Ben Gotow
69b7bb2e23 bump(version): 0.4.36 and changelog 2016-05-13 15:57:03 -07:00
Ben Gotow
cb10694986 build(travis): Drop Node 0.12 build, unclear if supported by babel 6 2016-05-13 14:57:37 -07:00
Ben Gotow
17ed847240 fix(401/403): Unify error bars, query /account, improve reconnect flow
Summary: See https://paper.dropbox.com/doc/Sync-disabling-for-N1-URZmjVpSSxWFvjC62TiFI

Test Plan: Tests incoming

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2959
2016-05-13 14:16:54 -07:00
Ben Gotow
4145a60130 fix(category-picker): Don't wrap folder names early 2016-05-12 16:14:30 -07:00
Ben Gotow
b6073d2cb5 fix(fastmail): Strip "INBOX." prefix from displayNames
This can't be done on the API side because the API serves other customers.

The API will properly handle renames, crates and prepend `INBOX.`
2016-05-12 16:14:30 -07:00