Commit graph

3828 commits

Author SHA1 Message Date
Ben Gotow fe82977574 fix(search): React warns, convert to ES2016 2016-10-20 12:09:53 -07:00
Ben Gotow 211814aa7b fix(specs): Don’t run update channel check in specs 2016-10-20 10:24:53 -07:00
Ben Gotow d28c3acd6a bump(version): 0.4.58 2016-10-20 10:21:04 -07:00
Ben Gotow 73c0ec500b fix(db): Return; preventing ThreadSearch indexing 2016-10-19 16:54:00 -07:00
Ben Gotow f71686b766 fix(beta): Add notif when on beta channel 2016-10-18 12:39:09 -07:00
Ben Gotow 2e376150a2 fix(mailto): Missing return in URL handling 2016-10-18 12:39:09 -07:00
Halla Moore 6b012cfb7a fix(thread-popout) Add missing packages to the 'thread-popout' window
Summary: Missed some non-composer packages that should be in the 'thread-popout' window

Test Plan: Tested locally

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3352
2016-10-18 11:02:30 -07:00
Ben Gotow d6f7984c82 fix(mailto): Support body with \n or \r characters
Related to #2923
2016-10-18 10:37:27 -07:00
Ben Gotow c20238314d lint(*): Bump to ESLint 3.8 2016-10-17 18:07:35 -07:00
Ben Gotow 94c512be10 fix(notifs): Don’t render empty <img /> 2016-10-17 17:59:37 -07:00
Halla Moore e014e9819b fix(spellchecker) Add a cache to improve performance 2016-10-17 13:44:22 -07:00
Evan Morikawa 331dc59853 fix(spec):
Dramatically clean up and simply the spec bootup process.

Converting spec bootup system to es6 from coffee.

Converted old `jasmine-helper`, `spec-helper`, and `spec-suite` to a new
`n1-spec-runner` file.

Each of these old files had tons and tons of code related to various parts
of the spec bootup and running process.

Each of those parts have been extracted into individual files
2016-10-16 20:10:19 -07:00
Evan Morikawa a3303d4841 Fixes to spec-helper extraction 2016-10-16 20:10:19 -07:00
Evan Morikawa 76a9d8467f Initial extraction of all methods out of of spec-helper 2016-10-16 20:10:19 -07:00
Evan Morikawa 854de16e33 Move specs into subfolders 2016-10-16 20:10:19 -07:00
Evan Morikawa 7b58008bc1 Remove unused spec-helper-platform 2016-10-16 20:10:19 -07:00
Evan Morikawa 4209255ca6 Move spec runner & deps into n1-spec-runner folder 2016-10-16 20:10:19 -07:00
Evan Morikawa 13b790b6ca Move waitsForPromise to jasmine-extensions 2016-10-16 20:10:19 -07:00
Evan Morikawa 4e1dc228a8 Remove unused methods from spec-helper 2016-10-16 20:10:19 -07:00
Evan Morikawa 27ccc3cd78 Convert spec-helper to es6 2016-10-16 20:10:19 -07:00
Evan Morikawa f1f7952f64 Convert spec-suite to n1-spec-loader 2016-10-16 20:10:19 -07:00
Evan Morikawa 448b9aeadc Fold jasmine-helper into spec runner 2016-10-16 20:10:19 -07:00
Evan Morikawa 0a23028447 Extract to N1SpecRunner 2016-10-16 20:10:19 -07:00
Evan Morikawa a25c43c7e5 Move global imports back to jasmine-helper 2016-10-16 20:10:19 -07:00
Evan Morikawa 8e786956df Extract out jasmine reporters 2016-10-16 20:10:19 -07:00
Evan Morikawa 52e38d8dd0 Convert spec-suite to es6 2016-10-16 20:10:19 -07:00
Evan Morikawa bda18f5afe Clean up spec-bootstrap and jasmine-helper 2016-10-16 20:10:19 -07:00
Ben Gotow f0608fbad0 fix(license): Swap ref to GPLv3 with the whole thing so GitHub picks it up 2016-10-15 10:48:44 -07:00
Ben Gotow b061dade65 bump(Electron): 1.4.3 2016-10-14 13:11:20 -07:00
Ben Gotow ed8b0b222e es6(db): Convert the ORM specs to ES2016 2016-10-14 12:06:07 -07:00
Ben Gotow 51f9001c21 cleanup(*): Remove dead .bowerrc, .gitignore files 2016-10-14 11:39:34 -07:00
Ben Gotow 6b75904e84 Add main window calendar package
Summary: Add tiny helper app for calendar goodness

Test Plan: No tests yet

Reviewers: juan, halla

Reviewed By: halla

Differential Revision: https://phab.nylas.com/D3346
2016-10-14 11:38:31 -07:00
Ben Gotow c7a85af843 feat(dock): Automatically add N1 to the OS X dock upon install
Note - you need to `killall Dock` to see this after it happens
2016-10-13 15:01:51 -07:00
Evan Morikawa cb7b3764f5 fix(contact): add hasSameDomainAsMe method to Contact 2016-10-13 16:31:40 -04:00
Evan Morikawa 0971f67e7f fix(linter) 2016-10-13 12:41:09 -04:00
Evan Morikawa de0f2374fe feat(calendar): can pick which calendars you want displayed
Summary:
Adds a resizable column next to the calendar that lets you pick which
calendars you want to turn on and off.

The picker sidebar styling mimics that of the main account sidebar.

Calendars are grouped by account.

We store the disabled calendars in in your config.

I added a `notIn` SQL method so it'll perform `WHERE calendarId NOT IN
['a', 'b', ...]` instead of `NOT (WHERE calendarId IN ['a', 'b', 'c'])`

I wanted it to be an exclusion (instead of inclusion) list so the default
was "all on" and we didn't need to always fetch the full list of
calendarIds from the database to compare against.

This also fixed a test that was failing constantly: The Query Subscription
Pool Spec was not being properly reset on each test. As a result, the test
would fail with an instance of a query subscription that Jasmine would
attempt to pretty print. Jasmine would fail to pretty print it because of
a jasmine bug that fails to properly display Objects with null prototypes.
The DatabaseStore's EventEmitter has a property with a null prototyp
causing the error

Test Plan: manual

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3336
2016-10-13 11:37:19 -04:00
Halla Moore b26e9926e0 fix(spellchecker): Use cross-platform misspellings, fix lint error 2016-10-12 17:07:22 -07:00
Ben Gotow c7d4e7b0ee fix(readme): More Win32-specific instructions 2016-10-12 16:37:04 -07:00
Ben Gotow 78411cc139 fix(readme): Improve Win32 build instructions 2016-10-12 16:30:03 -07:00
Ben Gotow 09b5f03f10 bump(version): 0.4.57
(0.4.58 was accidentally in prev commit)
2016-10-12 16:06:40 -07:00
Ben Gotow 8df4f6d744 feat(win32): Allow N1 to become the system-wide mailto: handler
Summary: This will address the longstanding concern in #417

Test Plan: No new tests

Reviewers: juan, evan

Reviewed By: juan, evan

Maniphest Tasks: T7065

Differential Revision: https://phab.nylas.com/D3322
2016-10-12 16:05:36 -07:00
Evan Morikawa a23931454d fix(analytics): Add pgp encryption events
Email Encrypted
Email Encryption Errored
Email Decrypted
Email Decryption Errored
2016-10-12 17:29:58 -04:00
Halla Moore 1c675935a7 feat(popout-threads) Add functionality to open threads in popout windows
Summary:
Threads can now be opened in separate windows. This can be done via the popout
icon next to the print icon, or by double-clicking the thread when in double-
pane mode. Note that the single-click action is still fired, which is why
double-clicking does not work in single-pane mode. The popout icon changes to a
pop-in icon while in the popout window, to allow users to collapse it back into
the main window.

Test Plan: Tested locally

Reviewers: evan, juan

Reviewed By: juan

Subscribers: sdw

Differential Revision: https://phab.nylas.com/D3332
2016-10-12 13:55:11 -07:00
Ben Gotow f409160273 fix(win32): Still need custom sqlite3 build cmd for win32 😥
This also includes a bump of the better-sqlite3 module to support compilation on ia32.
2016-10-12 12:30:23 -07:00
Jonathan Boiser d09839f1db fix(specs) convert nylas-protocol-handler-spec to ES6 (#2886) 2016-10-12 11:38:30 -07:00
Evan Morikawa 7d76e95616 fix(spec): remove unused spec helpers 2016-10-12 11:04:38 -04:00
Evan Morikawa 6d0407acbc fix(jquery): remove jquery 2016-10-12 11:04:38 -04:00
Ben Gotow bc2a933784 Update Windows.md 2016-10-11 18:35:00 -07:00
Halla Moore 873c4be2da Switch spellcheck libaries
Summary:
Switch to electron-spellchecker, which will allow N1 to
spellcheck more intelligently across languages. It auto-
detects languages and downloads dictionaries on the fly.

Test Plan: Specs, manual testing

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3319
2016-10-11 14:00:50 -07:00
Ben Gotow 58fc56592e fix(reporter): Handle errors cleaning log files (Sentry #6887) 2016-10-10 13:44:41 -07:00