Commit graph

2030 commits

Author SHA1 Message Date
Evan Morikawa
8f384bb4e8 fix(quoted): fix quoted text issue with single blockquotes
Fixes #1084
Also fixes broken tokenizing text field specs
Also protects `MessageBodyExtension`s from errors
2016-01-28 17:25:36 -08:00
Ben Gotow
9dab8d6335 fix(labels): Never show labels UX for threads split across folders 2016-01-28 16:57:24 -08:00
Ben Gotow
12b60e4360 fix(important): Hide important in message column of unified unless Gmail 2016-01-28 16:57:24 -08:00
Ben Gotow
db06df0902 fix(account-sidebar): onToggleCollapsed => onCollapseToggled 2016-01-28 16:57:24 -08:00
Ben Gotow
7d782ea084 fix(drag-drop): Fix drop styles in account sidebar 2016-01-28 16:57:24 -08:00
Evan Morikawa
b89da75c01 fix(composer): don't blur input field when app blurs
Fixes #852
2016-01-28 16:37:07 -08:00
Evan Morikawa
470a1723a9 fix(sql): fix single quote escaping in array queries 2016-01-28 16:28:10 -08:00
Juan Tejada
5eca866b43 fix(syncback-category-task): Correct request path when updating 2016-01-28 16:25:17 -08:00
Juan Tejada
0c3ca4b6e4 fix(sidebar): Prevent editing items in OutlineView when not allowed
- Fix check in OutlineViewItem
2016-01-28 16:21:21 -08:00
Evan Morikawa
decd7c787e fix(apm): no longer overrides apm
Summary: Fixes #39

Test Plan: new tests

Reviewers: juan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2481
2016-01-28 16:06:27 -08:00
Ben Gotow
de489368e6 fix(unified): Add a unified icon. designer gets back tues. 2016-01-28 16:01:22 -08:00
Ben Gotow
54d30a31b3 fix(specs): Re-enable draft-store specs 2016-01-28 15:48:08 -08:00
Ben Gotow
2d63426113 bump(version): 0.4.0 beta 2016-01-28 15:48:08 -08:00
Juan Tejada
10a6b76fb7 add(docs): Add docs for OutlineView and OutlineViewItem
- Renames some stuff
2016-01-28 15:28:15 -08:00
Ben Gotow
e27c9eaca5 fix(important): Fix bugs in "important" label categorization 2016-01-28 15:27:03 -08:00
Ben Gotow
09a2096690 fix(linter): Switching between Coffee + ES6 is hard... 2016-01-28 14:59:17 -08:00
Ben Gotow
3869b9c214 fix(contact-search): Keep only ranked contacts, query for others. Massive perf boost. 2016-01-28 14:56:15 -08:00
Drew Regitsky
e1631db435 fix(templates): small CSS fix in preferences page 2016-01-28 14:51:31 -08:00
Evan Morikawa
9faedb8b31 fix(keymap): don't use alt key in Windows keymaps 2016-01-28 14:26:56 -08:00
Evan Morikawa
bc9ff12819 fix(keymap): change win32 keymaps to use ctrl-alt instead of cmd-alt 2016-01-28 14:18:44 -08:00
Juan Tejada
89f431edec add(specs): Add specs for MailboxPerspective
- Renames canApplyToThreads -> canReceiveThreads and applyToThreads ->
  receiveThreads
- Add initial specs and better documentation for
  MailboxPerspective.canReceiveThreads.
2016-01-28 14:11:50 -08:00
Juan Tejada
8237e3742c fix(perspective): Update MailboxPerspective.canApplyToThreads
- Checks if the account ids of the threads that want to be applied are
  contained inside the perspectives account ids. E.g.:
  - I can move thread from account A to unified inbox or inbox A, but
    not to inbox B.
  - I can move threads from account A to a folder in account A but not a
    folder in account B
- Update data transferred in drag + other minor updates
2016-01-28 13:30:08 -08:00
Michael Grinich
2e0469805b add levelup theme 2016-01-28 13:23:10 -08:00
Evan Morikawa
983dc77ef0 fix(resources): update build resources link 2016-01-28 12:03:23 -08:00
Evan Morikawa
8bcb0a2184 fix(resources): update build resources link 2016-01-28 12:02:27 -08:00
Evan Morikawa
55aedef697 feat(startup): new option to launch on system start
Summary:
adds new option to launch on system start

Also adds the `--background` flag to launch N1 in the background (aka not
show the main window).

Test Plan: Manual

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2474
2016-01-28 12:02:08 -08:00
Ben Gotow
46b339d334 fix(message-list): Spec fixes, all stubs need accountId 2016-01-28 11:14:04 -08:00
Juan Tejada
2dedd20eb8 fix(count): Fix unread count for badge and tray icon in mac 2016-01-28 11:10:05 -08:00
Juan Tejada
7e368a74d2 update(analytics): Add missing action: removeAttachment 2016-01-28 11:02:27 -08:00
Ben Gotow
da68b393a2 fix(message-list): Only display labels when usesLabels() 2016-01-28 10:46:33 -08:00
Ben Gotow
7ef187e882 Update analytics to remove references to deleted Actions 2016-01-28 10:38:02 -08:00
Ben Gotow
4edbe7652c Remove indexes which used accountId as the first param... not faster 2016-01-28 10:03:32 -08:00
Juan Tejada
1e6b857437 Prevent creation of context menu twice for nested items of OutlineView 2016-01-28 01:35:29 -08:00
Juan Tejada
b9cfb18244 Fix in upload store when deleting draft 2016-01-28 01:29:33 -08:00
Juan Tejada
19edb34599 Increment max width for sidebar 2016-01-28 01:29:18 -08:00
Juan Tejada
21f0afd825 Fix specs 2016-01-28 00:48:45 -08:00
Juan Tejada
9a86ce06ed Update file uploads (see details):
- Add uploads field to Message and removes cache from FileUploadsStore
- Updates draft via session from DraftStore
  - This makes everything way cleaner
- This fixes bug when creating draft with uploads and the opening it in
  new window
- Updates specs
2016-01-28 00:33:22 -08:00
Juan Tejada
8bd387e8b2 Update OutlineViewItem to focus end of input when editing 2016-01-28 00:02:55 -08:00
Juan Tejada
aa4de82625 Add folder/label renames
- Updates OutlineView to reuse OutlineViewItem for creating new items
- Adds ability to edit outline view items via double click or right
  click
- Cleans up css and code and sidebar item
- Updates SyncbackCategoryTask to update categories as well
- Adds 405 to permanent api error codes
2016-01-27 23:16:17 -08:00
Juan Tejada
1d8f56e7f8 Misc fixes for FileUploadStore 2016-01-27 15:38:01 -08:00
Juan Tejada
08ec481739 Fix ComposerView specs 2016-01-27 13:49:34 -08:00
Juan Tejada
7b6267e0b2 Rewrite tests for FileUploadStore 2016-01-27 12:33:27 -08:00
Ben Gotow
7f59ff5494 Fix problem with * a shortcut 2016-01-27 11:55:19 -08:00
Ben Gotow
53390fbd5c Basic fixes for drag and drop 2016-01-27 11:45:02 -08:00
Ben Gotow
470fbae6a3 Fix sidebar when an account doesn't have a standard category 2016-01-27 11:14:11 -08:00
Ben Gotow
1fb57d2cda Fix exception "Cannot read property 'replaceModel' of null" 2016-01-27 11:13:58 -08:00
Ben Gotow
ddb31f6bf3 Optimize QueryResultSet so offset lookups are O[1] after initial scan 2016-01-27 11:13:39 -08:00
Ben Gotow
efdb5c5b6c More spec fixes 2016-01-27 10:31:54 -08:00
Ben Gotow
f4ca355bf4 Spec fixes 2016-01-26 19:12:51 -08:00
Juan Tejada
63d36a78c3 Inits FileUploadStore from current state in the filesystem
- Removes uploads when draft is deleted
- Misc fixes and renaming
2016-01-26 18:48:58 -08:00