Commit graph

157 commits

Author SHA1 Message Date
Ben Gotow 55e1c85964 bump(version): 0.4.7 beta 2016-02-19 18:22:45 -08:00
Juan Tejada a841417011 feat(snooze/send-later): Add snooze and send later plugins
Summary:
- Add initial version of snooze and send later plugins
- Tests are missing since this will probably heavily change before we are done with them

Test Plan: - TODO

Reviewers: drew, bengotow, evan

Reviewed By: bengotow, evan

Differential Revision: https://phab.nylas.com/D2578
2016-02-18 10:06:21 -08:00
Evan Morikawa 9021b02a6c fix(win): bump windows-shortcuts 2016-02-11 17:15:15 -08:00
Evan Morikawa 6fbb7f73d3 fix(win): bump windows-shortcuts fork 2016-02-11 16:53:59 -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 3024d05564 bump(version): 0.4.2 2016-02-03 14:55:48 -08:00
Ben Gotow c0142a6c41 bump(version): 0.4.1 Beta 2016-02-01 18:31:04 -08:00
Ben Gotow 5ac5b55f53 bump(spellcheck): Fixes #1168, #895, #855, #1158
https://github.com/atom/node-spellchecker/issues/30
2016-02-01 10:01:17 -08:00
Ben Gotow eb3b308dc8 bump(version): 0.4.0 beta 2016-01-28 15:48:08 -08:00
Evan Morikawa 67edcc836f 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 0ef4911b22 Merge branch 'master' into unified-inbox
# Conflicts:
#	internal_packages/feedback/lib/feedback-button.cjsx
#	internal_packages/thread-list/lib/thread-list.cjsx
#	src/flux/stores/draft-store.coffee
2016-01-25 17:28:29 -08:00
Evan Morikawa d667efea2b bump(version): 0.3.46 2016-01-20 21:00:01 -08:00
Ben Gotow 2f444db8c1 bump(version): 0.3.45 2016-01-20 18:55:51 -08:00
Ben Gotow f0dec2d543 bump(version): 0.3.44 beta 2016-01-20 10:56:00 -08:00
Ben Gotow cb5f2985ef Merge branch 'master' into unified-inbox
# Conflicts:
#	spec/stores/file-download-store-spec.coffee
2016-01-13 17:20:34 -08:00
Ben Gotow b95f1f7cb4 bump(version): 0.3.43 and changelog 2016-01-12 19:19:16 -08:00
Ben Gotow e87766ebd5 bump(version): 0.3.42 (testing Windows autorestart) 2016-01-12 15:58:37 -08:00
Ben Gotow 7c371d88f7 bump(version): 0.3.41 2016-01-12 15:46:00 -08:00
Ben Gotow 5c491d16af Merge branch 'master' into unified-inbox
# Conflicts:
#	internal_packages/events/lib/event-header.cjsx
#	spec/stores/file-download-store-spec.coffee
#	spec/tasks/event-rsvp-spec.coffee
#	src/flux/tasks/event-rsvp.coffee
2016-01-12 08:20:55 -08:00
Ben Gotow 3b3d6a0a3b bump(version): 0.3.40 2016-01-12 08:13:43 -08:00
Juan Tejada d98eca2cca Add rx-lite-testing 2016-01-11 12:26:27 -08:00
Ben Gotow a4b1e1b147 bump(version): 0.3.39 2016-01-11 09:59:05 -08:00
Ben Gotow 8fc1c34c7b bump(version): 0.3.38 2016-01-08 14:37:52 -08:00
Ben Gotow 1dbefa566b bump(version): 0.3.37 2016-01-08 10:16:45 -08:00
Ben Gotow 7474c79c61 Revert "bump(electron): 0.35.4 => 0.36.2"
This reverts commit da607dd508.
2016-01-08 10:06:16 -08:00
Ben Gotow da607dd508 bump(electron): 0.35.4 => 0.36.2 2016-01-06 13:20:27 -08:00
Ben Gotow a4e25da9e2 bump(version): 0.3.36 2016-01-05 11:45:05 -08:00
Ben Gotow 125ef5a506 bump(version): 0.3.35 beta 2016-01-04 11:43:40 -08:00
Ben Gotow f900cb497f bump(version): 0.3.34 beta 2015-12-28 18:39:27 -08:00
Ben Gotow 4e778e6ef5 bump(version): 0.3.33 Beta 🎄 2015-12-23 02:20:13 -05:00
Juan Tejada a22dbd045f 🍒(atom): Pull updated version of Command Registry:
- This fixes a bug present in the earlier version where stopPropagation and
preventDefault were not correctly defined in the custom event
- Updates clear-cut dependency and initialization of CommandRegistry in
NylasEnv
2015-12-21 20:31:54 -08:00
Ben Gotow b11131d181 bump(version): 0.3.32 2015-12-15 11:59:01 -08:00
Ben Gotow 754b75d047 bump(version): 0.3.31 2015-12-14 14:36:17 -08:00
Ben Gotow 5a77552f9b bump(version): 0.3.30 2015-12-11 15:11:13 -08:00
Evan Morikawa 35f6273d52 fix(hot-api): remove react-hot-api 2015-12-11 11:22:22 -05:00
Evan Morikawa e4ca1b49c2 fix(win): remove winattr 2015-12-10 14:04:16 -05:00
Evan Morikawa d1d34963e2 fix(win): repalce fswin with winattr 2015-12-10 12:44:44 -05:00
Evan Morikawa 4014b4e187 feat(spec): add config dir to integration specs
Summary:
- You can now pass `--config-dir-path=/some/custom/path` to `./N1.sh`
- `main.coffee` cleaned up a bit. A lot of unused params from legacy Atom
  stuff were still being used
- Integration specs now set the config dir before booting.
- New spec to check for the autoupdater in the app and make sure it's
  pointing at the right place.

Test Plan: script/grunt run-integration-tests

Reviewers: juan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2331
2015-12-10 10:52:20 -05:00
Ben Gotow bdbeb31049 bump(electron): 0.35.4 2015-12-09 12:29:42 -08:00
Ben Gotow c993a1f51a bump(version): 0.3.29 2015-12-08 17:56:58 -08:00
Ben Gotow 30c58e90a6 feat(observables): Implementation of observables to replace some stores
Summary:
Add concept of "final" to Query, clean up internals

Tiny bug fixes

RxJs Observables!

WIP

Test Plan: Run tests

Reviewers: evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2319
2015-12-07 16:52:46 -08:00
Ben Gotow 68a0a81f77 bump(version): 0.3.28 2015-12-07 12:08:51 -08:00
Evan Morikawa e9936581be feat(build): add nylas resources 2015-12-02 15:12:56 -08:00
Evan Morikawa f508dd8683 refactor(spec): remove spectron from main app 2015-12-02 13:42:09 -08:00
Evan Morikawa c3ecca2692 feat(tests): add integration tests
comment

Adding test harness

Using key strokes in main window test

Tests work now

Clean up argument variables

Rename list manager and get rid of old spec-helper methods

Extract out time overrides from spec-helper

Spectron test for contenteditable

fix spec exit codes and boot mode

fix(spec): cleanup N1.sh and make specs fail with exit code 1

Revert tests and get it working in window

Move to spec_integration and add window load tester

Specs pass. Console logs still in

Remove console logs

Extract N1 Launcher ready method

Make integrated unit test runner

feat(tests): adding integration tests

Summary:
The /spectron folder got moved to /spec_integration

There are now unit tests (the old ones) run via the renamed
`script/grunt run-unit-tests`

There are now integration tests run via the command `script/grunt
run-integration-tests`.

There are two types of integration tests:
1. Tests that operate on the whole app via Selenium/Chromedriver. These
tests have access to Spectron APIs but do NOT have access to any JS object
running inside the application. See the `app-boot-spec.es6` for an example
of these tests. This is tricky because we want to test the Main window,
but Spectron may latch onto any other of our loading windows. Code in
`integration-helper` give us an API that finds and loads the main window
so we can test it

2. Tests that run in the unit test suite that need Spectron to perform
integration-like behavior. These are the contentedtiable specs. The
Spectron server is accessed from the app and can be used to trigger
actions on the running app, from the app. These tests use the
windowed-test runner so Spectron can identify whether the tests have
completed, passed, or failed. Unfortunately Spectron can't access the logs
, nor the exit code of the test script thereby forcing us to parse the
HTML DOM. (Note this is still a WIP)

I also revamped the `N1.sh` file when getting the launch arguments to work
properly. It's much cleaner. We didn't need most of the data.

Test Plan: new tests

Reviewers: juan, bengotow

Differential Revision: https://phab.nylas.com/D2289

Fix composer specs

Tests can properly detect when Spectron is in the environment

Report plain text output in specs

fixing contenteditable specs

Testing slow keymaps on contenteditable specs

Move to DOm mutation

Spell as `subtree` not `subTree`
2015-12-02 13:41:14 -08:00
Ben Gotow 6a9ca20df6 bump(version): 0.3.26 and updated Changelog 2015-11-30 14:11:31 -08:00
Ben Gotow 6a4613b4a1 feat(prefs): Allow tabs with an accounts submenu
Summary:
This diff:
- Improves the styling of the tabs in the preferences sidebar.
- Adds an optional param to section cofnig that puts an "account" submenu beneath the tab item.
- Renames preferences "sections" => "tabs", and renames the PreferencesSectionStore to PreferencesUIStore. I think we should include "UI" in more of our stores, and I think "tabs" is a good idea because it's unambigious—there's no way you could confuse it for a "section" of the NylasEnv.config tree or think it deals with actually saving prefs.

Test Plan: Inspect visually

Reviewers: evan, juan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2296
2015-11-30 11:43:49 -08:00
Ben Gotow c1c06cd794 bump(version): 0.3.25 2015-11-24 17:51:12 -08:00
Ben Gotow 4dcc2d479e bump(version): 0.3.24 2015-11-23 22:27:05 -08:00
Ben Gotow e0976fde2c bump(electron): 0.34.3 => 0.35.1
Electron 0.35.1 includes the tray fixes we contributed last week but also includes API restructuring and improvements. Most importantly, modules from electron are now imported via `require('electron')`
2015-11-23 22:09:17 -08:00