Commit graph

2266 commits

Author SHA1 Message Date
Jackie Luo 5edbabae47 Merge branch 'master' of github.com:nylas/N1 2016-02-10 11:32:39 -08:00
Ben Gotow fa0438ea9f fix(build): LESS lint issue 2016-02-10 09:38:10 -08:00
Juan Tejada 68b6d7df60 fix(focused-persepective): Init saved perspective correctly
- When accounts changed and the saved perspective could reference
  accounts that no longer exist and cause all sorts of errors. This is
  fixed.
- Add specs
- Fixes some sentry errors
2016-02-09 20:10:33 -08:00
Ben Gotow 8a8170eb0e 🎨: Smaller buttons, smaller toolbar, smaller text
This should not be considered final, but we do plan to shrink the size of the entire UI slightly to match platform conventions.
2016-02-09 19:45:24 -08:00
rittbys eb4ce69efe Changes to be committed:
modified:   src/browser/nylas-window.coffee
2016-02-09 20:36:09 -06:00
Jackie Luo 222d501946 Merge branch 'master' of github.com:nylas/N1 2016-02-09 17:31:29 -08:00
rittbys b4267ff7df Changed the title bar to say Nylas N1 instead of Nylas
Changes to be committed:
	modified:   static/index.html
2016-02-09 18:30:05 -06:00
Evan Morikawa 42854bac23 Rename windows updater files 2016-02-09 16:16:56 -08:00
Drew Regitsky c22cf7ef1b fix(plugin-auth): change auth function params 2016-02-09 15:50:55 -08:00
Ben Gotow 6876a2f7d0 fix(important): Icon does not update from nextProps 2016-02-09 15:02:11 -08:00
Ben Gotow 5676a52d47 fix(csp): other URL schemes don't count as '*' 😶 2016-02-09 15:02:11 -08:00
Jackie Luo e53b481a25 fix(composer-emojis): Add spec and allow adjacent emojis
Summary:
Adds tests to the emoji picker.

The emoji picker should also now be able to add emojis consecutively (without spaces).

Test Plan: Tests included in diff.

Reviewers: evan, bengotow

Differential Revision: https://phab.nylas.com/D2551
2016-02-09 13:30:23 -08:00
Evan Morikawa 8e78d8ffce fix(updater): update to Squirrel.Windows 1.2.3
grunt-electron-installer 1.2.1 includes a bump to squirrel 1.2.3
2016-02-09 12:03:43 -08:00
Evan Morikawa 2c70083a43 fix(win): fix typo in nylas-win-bootup 2016-02-09 11:43:30 -08:00
Ben Gotow 24237af004 fix(csp): Allow image-src *, fixes #1254 2016-02-08 22:42:29 -08:00
Ben Gotow fbb7a4b40c bump(*): Electron 0.36.7, version to 0.4.6 2016-02-08 18:35:23 -08:00
Ben Gotow 52681baade fix(delete-category): Resolve regression in error message (#1244) 2016-02-08 17:42:48 -08:00
Ben Gotow f4e3137b5b fix(readme): Force github to refresh cache of screenshot 2016-02-08 14:52:07 -08:00
Ben Gotow 399f83bccc fix(tray): Do not show count on Mac OS X when 0. Fixes #1233 2016-02-08 10:31:13 -08:00
Ben Gotow ff42f06b92 bump(changelog): Notes for 0.4.5 2016-02-07 12:39:47 -08:00
Ben Gotow 53266ea408 perf(accounts): Use cached contact objects in accountForEmail
This method is called for every contact on a thread in the thread list, so I figured we should see if one version was faster. I ran this test code:

```
d = Date.now(); for(var ii = 0; ii < 10000; ii ++){ $n.AccountStore.accountForEmail("ben.gotow@gmail.com") }; console.log(Date.now() - d);
```

The other approach which calls meUsingAlias takes `3784ms`, and this version which uses the alias contacts cached in aliases() only takes `264ms`. Confirmed that the tests still pass.
2016-02-07 11:23:19 -08:00
Ben Gotow dce7573218 fix(threads): Circular include blocking FocusdPerspectiveStore. Sentry #11763 2016-02-07 11:10:48 -08:00
Juan Tejada 2655054e34 🎨(contact): Reuse AccountStore.accountForEmail inside isMe 2016-02-07 01:34:30 -08:00
Ben Gotow ed0562fe2c fix(categories): Fix Sentry #11613 2016-02-07 01:08:38 -08:00
Juan Tejada 4641fc4938 fix(account-store): Correctly check alias email inside accountForAlias
- Add spec
2016-02-07 00:39:11 -08:00
Ben Gotow 12f4142d84 fix(system-start): Do not continue when checkAvailability returns false 2016-02-06 11:35:01 -08:00
Ben Gotow 3c25434fc8 fix(remove-from-trash): Fixes Sentry #11551 2016-02-06 11:28:14 -08:00
Ben Gotow 0a7f188f7d fix(contacts): Allow for contacts with no emails (Sentry #11535) 2016-02-06 01:38:56 -08:00
Ben Gotow 8cfa6f66ef Merge pull request #1210 from mbilker/fix-remote-undefined
Define the remote variable
2016-02-06 01:21:17 -08:00
mbilker 6165e98243 fix(events): define the remote variable
This code triggers when a window is supposed to close, but this error
causes the DevTools to open and the window not exiting
2016-02-06 01:20:03 -05:00
Ben Gotow 1bd41a84e9 fix(undo): Ensure undo bar dismisses after re-appearing 2016-02-05 19:11:27 -08:00
Ben Gotow 1b3c4cf594 fix(messages): Field label was always "To" 2016-02-05 18:42:29 -08:00
Ben Gotow 7406e2a5a3 feat(perspective): Restore through NylasEnv.savedState 2016-02-05 18:36:48 -08:00
Ben Gotow 0fdeaca744 bump(changelog): Release notes for 0.4.4 2016-02-05 15:45:13 -08:00
Ben Gotow fc2a179c6c fix(message): Allow height to be 0, remove 150px min height 2016-02-05 15:33:07 -08:00
Ben Gotow 205f3ba6ab fix(tray): Fix accidental conversion to NaN 2016-02-05 14:37:55 -08:00
Juan Tejada affafc69a8 fix(account-store): Set focused perspective when account removed 2016-02-05 14:30:10 -08:00
Ben Gotow e6a4718a44 fix(search): Don't show loading dots forever if requests fail 2016-02-05 14:29:02 -08:00
Juan Tejada 78665c5fec fix(sidebar): Handle edge cases for sidebar shortcuts
Summary:
- Update menus and shortcuts correclt when accounts change or focused
  accounts change
- Move menu logic into SidebarCommands to remove duplicated logic
- Make `Window` menu also contain checkboxes

Test Plan: - Manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2534
2016-02-05 14:25:07 -08:00
Ben Gotow 1337b21a0d fix(db): Allow string attributes to be null. Never coerce to ""
- Fixes a bug where reply_to_message_id = "" when we receive drafts from the sever.
- In general behavior should be consistent with API. Since they allow null we should too.
2016-02-05 13:49:18 -08:00
Ben Gotow b8329a38c8 fix(zoom): Disable "double tap to zoom" behavior 2016-02-05 13:25:54 -08:00
Ben Gotow b1b48c08f4 fix(toolbar): Don't show the toolbar when rangeInScope is null 2016-02-05 13:11:09 -08:00
Ben Gotow 56c27ff004 fix(labels): Re-order so adding/removing same label does nothing 2016-02-05 12:00:58 -08:00
Ben Gotow 54054bef7b revert(list-selection): Using clientIds had unintended consequences 2016-02-05 10:17:41 -08:00
Juan Tejada c4749f592e fix(sidebar): Display correct keyboard shortcuts in account switcher
- Fixes #1203
2016-02-05 09:55:27 -08:00
Ben Gotow 938c2de922 lint(outbox): 😞 2016-02-04 20:20:33 -08:00
Ben Gotow 44150fc529 perf(outbox): Only trigger when send draft tasks are present 2016-02-04 20:15:15 -08:00
Ben Gotow 7b05e8883f fix(db): QuerySubscription should trigger if interim changes did not impact result set 2016-02-04 20:14:26 -08:00
Ben Gotow 90336f4f1f perf(threads): Add an index specifically for the "starred" view 2016-02-04 20:13:49 -08:00
Ben Gotow 57cfd07bbe perf(threads): Add shortcut for common case in emailIsEquivalent, avoid RegExp.exec 2016-02-04 20:13:43 -08:00