Commit graph

3221 commits

Author SHA1 Message Date
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
Ben Gotow 5625713419 fix(linux): Make F11 show up in menu as shortcut 2016-05-15 00:24:27 -05:00
Ben Gotow d2281c75d0 fix(linux): Add libappindicator1 note, improved View menu 2016-05-15 00:05:25 -05:00
Ben Gotow 46c563f7b0 fix(babel): linux-updater-adapter missing .default 2016-05-14 23:13:08 -05:00
Ben Gotow 4a7cf1b854 fix(deprecations): Broken references to app 2016-05-14 22:44:12 -05:00
Ben Gotow 421936b1c6 fix(empty-state): Don't show empty state briefly when loading threads 2016-05-14 17:08:43 -05:00
Jackie Luo a38d65cb2a 🎨(ui-dark): Remove iframe inversion 2016-05-13 23:03:33 -07:00
Ben Gotow ffef8e3cda fix(imports): Don't use relative paths with ASAR 2016-05-13 18:05:24 -07:00
Ben Gotow fd84d15fbb fix(templates): QA pass on templates, resolve #2216 2016-05-13 17:14:04 -07:00
Ben Gotow 71b156e667 fix(err): InspectorFrontendAPI => DevToolsAPI 2016-05-13 16:25:23 -07:00
Juan Tejada 87f81c1c39 fix(mail-merge): Pass session to injected subject 2016-05-13 16:01:12 -07:00
Ben Gotow 67b6dfc5b0 bump(version): 0.4.36 and changelog 2016-05-13 15:57:03 -07:00
Ben Gotow 804542ae53 build(travis): Drop Node 0.12 build, unclear if supported by babel 6 2016-05-13 14:57:37 -07:00
Ben Gotow 8f29e1cfbe 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 b750b3a313 fix(category-picker): Don't wrap folder names early 2016-05-12 16:14:30 -07:00
Ben Gotow 0441acf94a 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
Juan Tejada 2bcd5032a8 fix(specs): Remove fdescribe 2016-05-12 15:23:06 -07:00
Juan Tejada 150ac1e887 fix(specs): Fix spec for DraftEditingSession 2016-05-12 15:21:28 -07:00
Juan Tejada f60a274f1f fix(build): Fix linter errors 2016-05-12 14:28:11 -07:00
Ben Gotow bec5982ea3 bump(electron): Fix remaining deprecated requires, move to 1.0.1 2016-05-12 13:59:23 -07:00
Jackie Luo 26787b77d3 refactor(focus): Move code for focusing threads to FocusedContentStore 2016-05-12 13:29:41 -07:00
Ben Gotow a4a41cf6a2 bump(version): 0.4.35 2016-05-12 11:59:30 -07:00
Juan Tejada cac679b119 feat(mail-merge): Add ability to drop tokens in subject
Summary:
Adds ability to drop tokens in subject via a custom rendered subject field which
renders a contenteditable instead of an input.
Decided to completely replace the subject field via injected components for a
few resons:
  - That's the way we are currently extending the functionality of the participant fields, so it keeps the plugin code consistent (at the cost of potentially more code)
  - Completely replacing the subject for a contenteditable means we hace to do extra work to clean up the html before sending.
  - Reusing our Contenteditable.cjsx class for the subject is overkill, but using a vanilla contenteditable meant duplicating a bunch of the code in that class if we want to add

Test Plan: Unit tests

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2949
2016-05-12 10:47:41 -07:00
Jackie Luo c762cef4e6 🎨(dark): Update theme colors 2016-05-12 01:05:26 -07:00