Commit graph

233 commits

Author SHA1 Message Date
Ben Gotow
f53ba0fbbe bump(version): 0.4.25 2016-04-12 09:50:32 -07:00
Juan Tejada
0ada532336 fix(build): Lock spellchecker to 3.2.3 2016-04-11 15:51:17 -07:00
Ben Gotow
5e4eea2fa2 bump(version): 0.4.24 2016-04-11 12:01:47 -07:00
Ben Gotow
ca9162a2d5 bump(version): 0.4.23 2016-04-10 17:31:54 -07:00
Juan Tejada
e160d05d36 fix(deps): Add moment-round 2016-04-10 16:37:33 -07:00
Ben Gotow
37add7741e bump(version): 0.4.22 2016-04-07 14:14:20 -07:00
Ben Gotow
0086142a88 bump(version): 0.4.21 beta 2016-04-05 19:17:13 -07:00
Ben Gotow
17a629cf6a bump(version): 0.4.20 beta 2016-04-04 17:26:48 -07:00
Evan Morikawa
39c37e10b9 feat(calendar): add week view for quick scheduler
Summary: New Calendar

Test Plan: TODO

Reviewers: drew, juan, bengotow

Reviewed By: bengotow

Subscribers: jackie

Differential Revision: https://phab.nylas.com/D2767
2016-04-04 15:05:48 -07:00
Ben Gotow
886328ff7a bump(react): 0.13.2 => 0.14.7
Great breakdown of React changes here:
https://github.com/facebook/react/blob/master/CHANGELOG.md#0140-october-7-2015

Due to deprecation warnings, I don't think this will break third-party extensions unless they were doing really bad things.
2016-03-29 01:43:12 -07:00
Ben Gotow
52ed1119a0 bump(version): 0.4.19 and changelog 2016-03-25 12:16:43 -07:00
Ben Gotow
8df402e26f bump(version): 0.4.18 2016-03-24 16:53:01 -07:00
Ben Gotow
8626b006eb bump(version): Notes for 0.4.16 patch, master to 0.4.17 2016-03-18 17:03:27 -07:00
Ben Gotow
868445504f bump(version): 0.4.16 beta 2016-03-17 18:25:00 -07:00
Ben Gotow
24933906a7 bump(version): 0.4.15 2016-03-16 19:29:00 -07:00
Ben Gotow
552b66fbaf fix(syncback): Bidirectional transforms, ready-to-send saved state
Summary:
This diff replaces "finalizeSessionBeforeSending" with a
plugin hook that is bidirectional and allows us to put the draft in
the "ready to send" state every time we save it, and restore it to
the "ready to edit" state every time a draft session is created to
edit it.

This diff also significantly restructures the draft tasks:

1. SyncbackDraftUploadsTask:
   - ensures that `uploads` are converted to `files` and that any
     existing files on the draft are part of the correct account.

1. SyncbackDraftTask:
   - saves the draft, nothing else.

3. SendDraftTask
   - sends the draft, nothing else.
   - deletes the entire uploads directory for the draft

Test Plan: WIP

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2753
2016-03-16 19:27:12 -07:00
Ben Gotow
734a52aa6a fix(config): Move account tokens to system keychain
Summary:
This diff also adds an account version number to the config so that the AccountStore can tell whether it should reload accounts (depending on whether it was the instance making tthe changes.)

This diff also fixes a tiny issue where un-opened composers threw an exception if you changed accounts.

Test Plan: New tests

Reviewers: evan, drew, juan

Reviewed By: juan

Subscribers: juan

Differential Revision: https://phab.nylas.com/D2726
2016-03-14 15:14:08 -07:00
Ben Gotow
d57ef5a060 bump(version): 0.4.14 and changelog 2016-03-10 19:09:00 -08:00
Ben Gotow
703bc2efd2 bump(version): 0.4.13 beta 2016-03-10 12:08:05 -08:00
Ben Gotow
f0fbd10838 bump(version): 0.4.12 beta 2016-03-08 18:33:24 -08:00
Ben Gotow
1dcb7ace96 bump(version): 0.4.11 beta 2016-03-05 12:13:15 -08:00
Ben Gotow
3508e7b9d7 Revert "bump(electron): 0.36.9. Fixes #911"
This reverts commit 3f211a023c.
2016-02-29 10:57:09 -08:00
Ben Gotow
3f211a023c bump(electron): 0.36.9. Fixes #911 2016-02-29 10:36:30 -08:00
Ben Gotow
3a1fcc513b bump(version): 0.4.10 and changelog 2016-02-26 16:45:21 -08:00
Ben Gotow
91a589bd32 bump(version): 0.4.9 and changelog 2016-02-25 14:10:21 -08:00
Ben Gotow
625c419b72 bump(verison): 0.4.8 beta 2016-02-22 17:41:38 -08:00
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
mbilker
5644f84e4a fix(packages): remove vm-compatibility-layer
vm-compatibility-layer was designed to support obsolete APIs in node
v0.11.x of node v0.10.x. It is only used in the build Gruntfile and
nowhere else in the project.
2015-11-21 00:17:27 -05:00
Ben Gotow
a5256bd56a 🍒(atom): Pull new, cleaner compile cache + index.js 2015-11-17 19:43:08 -08:00
Evan Morikawa
5de64331b9 fix(package): revert to upgraded package.json 2015-11-17 16:25:58 -08:00
Evan Morikawa
46ee3d8cc8 fix(docs): fix docs so they compile properly. 2015-11-17 15:48:59 -08:00
Ben Gotow
74252d58d9 bump(️): Electron 0.29.2 > 0.34.3, Sqlite 3.0.11 > 3.1.1 2015-11-17 15:36:32 -08:00
Ben Gotow
94e0cb97d3 fix(bootstrap): Set apm environment vars to avoid Atom conflicts 2015-11-16 16:42:35 -08:00
Ben Gotow
95c7e763c0 fix(proxyquire): No longer need forked version 2015-11-16 15:43:47 -08:00
Ben Gotow
5e42f57514 fix(proxyquire): Reference http url instead of https 2015-11-16 15:22:27 -08:00
Ben Gotow
ad2d2973cb cleanup(*): We do not support devDependencies as a concept 2015-11-16 11:46:36 -08:00
Ben Gotow
96762647a9 ASAR v0.8, because apparently 0.5 can skip files 2015-11-16 10:02:31 -08:00
Ben Gotow
a67f93a014 bump(version): 0.3.23 2015-11-14 13:11:05 -08:00
Ben Gotow
32ffc7123a fix(deps): Remove nodobjc until we re-enable native notifications 2015-11-07 18:15:40 -08:00
Ben Gotow
5074fde43b fix(deps): Go away git-utils, we never used you anyway 2015-11-07 18:05:24 -08:00
Ben Gotow
eb8810e01b fix(babel): Roll back to babel@5, see details
- move babelrc to static so that it can be used during the build process and also whenever the app is transpiling things on the fly.
- move babel back to version 5, which is compatible with `apm install`. (babel 6 seems to require the "dedupe" behavior of NPM3)
- update harmony-collections to use an unpublished commit that fixes the "WeakMap is not generic" issue
2015-11-07 14:27:18 -08:00
Ben Gotow
8dcbb7c1b4 bump(version): 0.3.22 2015-11-07 12:02:50 -08:00
Juan Tejada
5fa630b8c6 Update grunt tasks to lint and transpile es6 code using babel
Summary: - Linter uses predefined rules for ES6 and React from airbnb

Test Plan: - Manuel

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2242
2015-11-06 17:40:42 -08:00
Evan Morikawa
9ca4e42b68 fix(keymap): use atom-keymap 5.1.11 2015-11-06 15:16:57 -08:00
Evan Morikawa
37e3fe0f45 feat(keymap): add new <KeymapHandlers />
Summary:
Refactor keymaps to wrap components with a <KeymapHandlers /> component.
This more Reactful way of declaring keyback handlers prevents us from
needing to subscribe to `atom.commands`

Test Plan: new tests

Reviewers: bengotow, juan

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2226
2015-11-06 11:47:06 -08:00
Juan Tejada
a6c44b8529 feat(system-tray): add system-tray package
Summary:
- Updates support for ES6 code inside packages
- Displays system tray icon with unread count on darwin, or with bubble on other platforms
- Uses canvas api to dynamically generate icon image given unread count:
  - Adds CavasUtils.canvasFromImgAndText to do this
- Adds config option to display system tray icon on darwin

Test Plan: Need to write the tests for this.

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2231
2015-11-06 11:12:38 -08:00
Ben Gotow
b9704c011c bump(version): 0.3.21 2015-11-02 16:40:25 -08:00
Ben Gotow
29cc5853b3 feat(notifs): Native notifications for Mac OS X, Win coming
Summary: Replaces `new Notification`-based HTML5 notifications with system native notifications on Mac OS X. This allows us to implement the "Reply" button in the notifications. This will also serve as the hook for native Windows notifications, which are unsupported in Chromium.

Test Plan: Run tests

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2199
2015-10-29 11:23:51 -07:00
Evan Morikawa
8611b40d7a fix(analytics): remove analytics 2015-10-28 20:06:01 -04:00
Ben Gotow
19363d94dd bump(version): 0.3.20 2015-10-27 18:09:49 -07:00
Ben Gotow
43a61d2471 rm(aws-sdk): Ship logs via request, eliminate aws-sdk 2015-10-27 16:35:38 -07:00