Commit graph

3094 commits

Author SHA1 Message Date
Evan Morikawa
b0e66519fc fix(spec): fix config setting spy 2016-05-19 11:50:19 -07:00
Ben Gotow
c6f6c7c3a0 fix(tasks): Check Task is in registry, remove any non-tasks when loading 2016-05-19 11:35:48 -07:00
Evan Morikawa
c8097f1cd9 fix(tasks): ensure NotifyPluginsOfTask gets properly serialized
Fixes:
https://sentry.nylas.com/sentry/edgehill/group/31200/
2016-05-19 11:31:21 -07:00
Juan Tejada
7c1cc9bd5f fix(sidebar): Add state to determine wether to show unified sidebar
- Adds a piece of global state that will be persisted to
`NylasEnv.savedState` indicating wether the accounts for the sidebar
should be reset whenever the FocusedPerspective changes
- #2257
2016-05-19 11:30:31 -07:00
Ben Gotow
b575ea0018 bump(version): 0.4.40 and changelog 2016-05-19 11:15:56 -07:00
Juan Tejada
7fc3b3a7c5 fix(hot-window): Correctly manage references to the hot window
- Fixes issue where app was not properly relaunching when all accounts were
removed
2016-05-19 10:15:32 -07:00
Ben Gotow
3dd57e9271 fix(accounts): When removing, focus remaining accts before accountForId() stops working 2016-05-18 17:57:57 -07:00
Juan Tejada
18f0872794 fix(aliases): Properly set selected state on account update 2016-05-18 17:35:07 -07:00
Ben Gotow
cf6428d94a fix(config): id was only added recently, use getId() 2016-05-18 17:27:46 -07:00
Ben Gotow
abaa3fe63f fix(config): Don't loop config changes through ipc 2016-05-18 17:12:57 -07:00
Evan Morikawa
8ad72a43f9 refator(undo): convert UndoRedoStore from coffee to es6 2016-05-18 16:58:06 -07:00
Evan Morikawa
18c8a4a10f fix(undo): can redo more than one undo item 2016-05-18 16:43:48 -07:00
Ben Gotow
b43aaf58f7 fix(win32): Wait longer before quitting if no windows are open 2016-05-18 16:25:06 -07:00
Ben Gotow
d2d79c6e2d fix(win32): Ignore path in argv when --squirrel flag is present 2016-05-18 16:25:06 -07:00
Jackie Luo
cf5faadd27 fix(plugins): Update plugins list on install 2016-05-18 16:02:57 -07:00
Evan Morikawa
035074d183 fix(db): can manually call _handleSetupError with no args 2016-05-18 15:44:47 -07:00
Ben Gotow
8d88641005 fix(quit): Booleans on globals are not exposed through remote properly 2016-05-18 15:41:24 -07:00
Evan Morikawa
69c9d44000 fix(scheduler): don't event events 1 second early 2016-05-18 15:37:26 -07:00
Jackie Luo
58572871db 🎨(templates): Change language and remove gray box in demo template 2016-05-18 15:30:16 -07:00
Ben Gotow
5f7d3ac2e9 fix(pkg-install): Use the package.json name, not the folder name 2016-05-18 15:25:18 -07:00
Evan Morikawa
e93a5d7b7f fix(event): add calendar icon to new event card 2016-05-18 14:21:22 -07:00
Ben Gotow
61bd8d6629 bump(version): 0.4.39 2016-05-18 10:10:31 -07:00
Ben Gotow
6cd6253771 fix(build): prebuild less was using wrong options, cache not used at runtime 2016-05-17 19:28:18 -07:00
Ben Gotow
06360dc75d fix(compile-cache): Write atomically to prevent process collisions 2016-05-17 19:28:01 -07:00
Ben Gotow
15ef74e0e2 perf(spellcheck): Limit misspellings to 15, recycle nodes 2016-05-17 18:48:01 -07:00
Ben Gotow
045177b38d fix(nylas-exports): Avoid repeatedly calling require inside lazyLoad 2016-05-17 18:37:20 -07:00
Evan Morikawa
8a5a0ad209 fix(composer): reduction in composer bootup time 2016-05-17 15:03:49 -07:00
Evan Morikawa
b7e32b9c68 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
9206370fa3 feat(composer): speed up composer loading & fix deactivate error 2016-05-17 12:37:46 -07:00
Ben Gotow
80638713a1 fix(db): additionalSQLiteConfig is not a function! 2016-05-17 12:34:35 -07:00
Evan Morikawa
94016c676f fix(bootstrap): properly dedupe all node modules 2016-05-17 09:35:48 -07:00
Juan Tejada
3bfc452f5e fix(build): Fix lint errors 2016-05-16 19:53:26 -07:00
Juan Tejada
eeb0e8fc5b fix(snooze): Fix path to main file in package.json 2016-05-16 17:53:42 -07:00
Juan Tejada
aff5505743 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
705b7ef330 fix(new-event-helper): Add required windowKey 2016-05-16 16:49:15 -05:00
Ben Gotow
3559f5e419 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
eb4aa0e208 fix(retry): When tasks fail, try fewer times: 2s, 4s, 8s, 16s, 30s 2016-05-16 15:44:41 -05:00
Evan Morikawa
bcf82067ed fix(reporting): fix undefined reference in error reporting 2016-05-16 13:31:44 -07:00
Evan Morikawa
61caf7b363 fix(spec): update NylasEnv specs 2016-05-16 13:26:33 -07:00
Evan Morikawa
7d70177720 fix(spec): Convert NylasEnvSpec from coffee to es6 2016-05-16 11:43:48 -07:00
Evan Morikawa
5afa549b70 fix(error): send all renderer errors to the browser process 2016-05-16 11:33:03 -07:00
Ben Gotow
4d92c88ebe fix(connection): account.id => accountId 2016-05-16 03:26:23 -05:00
Ben Gotow
29fc4c80d8 fix(account): JSON without label should not reset label 2016-05-16 01:59:30 -05:00
Ben Gotow
40fc95d878 Revert "refactor(deltas): Update sync-worker to use NylasAPI.longConnection"
This reverts commit 0e10ccbde9.

# 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
6bbf2c9865 bump(version): 0.4.38 stable patch release 2016-05-15 21:23:31 -07:00
Evan Morikawa
b1c470f03f fix(connection): don't destroy emitter on close 2016-05-15 21:19:36 -07:00
Ben Gotow
dafe2d89ba fix(babel): Resolve require paths for presets, fix plugin ES6 support 2016-05-15 17:52:49 -05:00
Ben Gotow
3344223bfc fix(keymaps): Handle empty keymap.json, recover when saving 2016-05-15 12:19:03 -05:00
Ben Gotow
7de7c53ee2 fix(auth): Revert imap => custom, bump package.json 0.4.37 2016-05-15 11:14:16 -05:00
Ben Gotow
5e1c9bf28a fix(linux): Additional menu fixes 2016-05-15 00:31:29 -05:00