Commit graph

2225 commits

Author SHA1 Message Date
Evan Morikawa aaf68b25c8 fix(win): add windows-shortcuts to asar exclude 2016-02-11 13:52:53 -08:00
Juan Tejada c4135ee23c 🎨(popover): Remove hardcoded width from code -> move to stylesheet 2016-02-11 13:15:59 -08:00
Drew Regitsky ab527ab3a5 fix(plugin-auth): more fixes to plugin auth 2016-02-10 17:47:10 -08:00
Jackie Luo a987a496f3 Merge branch 'master' of github.com:nylas/N1 2016-02-10 15:47:59 -08:00
Ben Gotow e91c9b82f5 Merge pull request #1283 from rittbys/master
Change the title bar to say Nylas N1 instead of Nylas
2016-02-10 14:39:13 -08:00
Ben Gotow 793fc5ef2c fix(min-height): Reduce minimum window size to 250px. Fixes #1293 2016-02-10 12:39:13 -08:00
Jackie Luo 765cfaad24 Merge branch 'master' of github.com:nylas/N1 2016-02-10 11:32:39 -08:00
Ben Gotow b21bb4bc9b fix(build): LESS lint issue 2016-02-10 09:38:10 -08:00
Juan Tejada ae2f03ac96 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 71a5662553 🎨: 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 7b2b5dd6c2 Changes to be committed:
modified:   src/browser/nylas-window.coffee
2016-02-09 20:36:09 -06:00
Jackie Luo be428ef83a Merge branch 'master' of github.com:nylas/N1 2016-02-09 17:31:29 -08:00
rittbys 013888bdc4 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 aef2abdc9e Rename windows updater files 2016-02-09 16:16:56 -08:00
Drew Regitsky f3c64c3871 fix(plugin-auth): change auth function params 2016-02-09 15:50:55 -08:00
Ben Gotow f8e30513f8 fix(important): Icon does not update from nextProps 2016-02-09 15:02:11 -08:00
Ben Gotow ee17baacc7 fix(csp): other URL schemes don't count as '*' 😶 2016-02-09 15:02:11 -08:00
Jackie Luo 5470aaaf3d 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 c9c5af6573 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 5e9e2b5f47 fix(win): fix typo in nylas-win-bootup 2016-02-09 11:43:30 -08:00
Ben Gotow 78f1473ca3 fix(csp): Allow image-src *, fixes #1254 2016-02-08 22:42:29 -08:00
Ben Gotow 6e49dbd2c3 bump(*): Electron 0.36.7, version to 0.4.6 2016-02-08 18:35:23 -08:00
Ben Gotow 99952bc2fa fix(delete-category): Resolve regression in error message (#1244) 2016-02-08 17:42:48 -08:00
Ben Gotow d4e7b7e712 fix(readme): Force github to refresh cache of screenshot 2016-02-08 14:52:07 -08:00
Ben Gotow 9bed0e6380 fix(tray): Do not show count on Mac OS X when 0. Fixes #1233 2016-02-08 10:31:13 -08:00
Ben Gotow e5a424c5bf bump(changelog): Notes for 0.4.5 2016-02-07 12:39:47 -08:00
Ben Gotow 9e14f2207f 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 39e92afac3 fix(threads): Circular include blocking FocusdPerspectiveStore. Sentry #11763 2016-02-07 11:10:48 -08:00
Juan Tejada 88b86c2fb4 🎨(contact): Reuse AccountStore.accountForEmail inside isMe 2016-02-07 01:34:30 -08:00
Ben Gotow 562d121bd6 fix(categories): Fix Sentry #11613 2016-02-07 01:08:38 -08:00
Juan Tejada 58725b98ef fix(account-store): Correctly check alias email inside accountForAlias
- Add spec
2016-02-07 00:39:11 -08:00
Ben Gotow fcc8ca8b07 fix(system-start): Do not continue when checkAvailability returns false 2016-02-06 11:35:01 -08:00
Ben Gotow aa5d6da0da fix(remove-from-trash): Fixes Sentry #11551 2016-02-06 11:28:14 -08:00
Ben Gotow a2547dc9b2 fix(contacts): Allow for contacts with no emails (Sentry #11535) 2016-02-06 01:38:56 -08:00
Ben Gotow e405e595d2 Merge pull request #1210 from mbilker/fix-remote-undefined
Define the remote variable
2016-02-06 01:21:17 -08:00
mbilker 89c5279d7d 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 0e661ec996 fix(undo): Ensure undo bar dismisses after re-appearing 2016-02-05 19:11:27 -08:00
Ben Gotow a6d8783dae fix(messages): Field label was always "To" 2016-02-05 18:42:29 -08:00
Ben Gotow ca31ee10bd feat(perspective): Restore through NylasEnv.savedState 2016-02-05 18:36:48 -08:00
Ben Gotow e6a2bf3f4f bump(changelog): Release notes for 0.4.4 2016-02-05 15:45:13 -08:00
Ben Gotow 1cd49d952d fix(message): Allow height to be 0, remove 150px min height 2016-02-05 15:33:07 -08:00
Ben Gotow 50bd559623 fix(tray): Fix accidental conversion to NaN 2016-02-05 14:37:55 -08:00
Juan Tejada 3e8ce3d2ff fix(account-store): Set focused perspective when account removed 2016-02-05 14:30:10 -08:00
Ben Gotow f15244e8ef fix(search): Don't show loading dots forever if requests fail 2016-02-05 14:29:02 -08:00
Juan Tejada 199150188d 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 57e7df8356 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 ddb91b7e75 fix(zoom): Disable "double tap to zoom" behavior 2016-02-05 13:25:54 -08:00
Ben Gotow cc8a32e22f fix(toolbar): Don't show the toolbar when rangeInScope is null 2016-02-05 13:11:09 -08:00
Ben Gotow 8a40af6830 fix(labels): Re-order so adding/removing same label does nothing 2016-02-05 12:00:58 -08:00
Ben Gotow eb5b849a03 revert(list-selection): Using clientIds had unintended consequences 2016-02-05 10:17:41 -08:00