Ben Gotow
9899de30a2
fix(specs): Remove promise usage, process.env as fn to fix node 0.10
2015-11-30 12:39:17 -08:00
mbilker
e32d52ff3d
fix(grunt): update location of rpm icon name
2015-11-27 15:18:46 -05:00
Evan Morikawa
2dea234de0
fix(task): spec task uses Promise
2015-11-26 13:03:44 -08:00
mbilker
cb0be78d1c
fix(spectron): prevent execution for windows only
2015-11-24 00:17:00 -05:00
mbilker
0f20c13501
fix(spectron): typo with darwin
2015-11-23 23:34:37 -05:00
mbilker
4a8b358013
fix(spectron): reenable for Linux and choose executablePath based on platform
2015-11-23 23:31:37 -05:00
Ben Gotow
6aeda7583b
fix(spectron): Run against built version of the app to avoid timeouts
2015-11-23 18:54:42 -08:00
Evan Morikawa
669995961a
fix(spec): cleanup N1.sh and make specs fail with exit code 1
2015-11-23 16:00:55 -05:00
Evan Morikawa
971089aeb0
fix(build): bail if script/bootstrap fails and enhance test output
...
Have the test output
2015-11-23 14:34:18 -05:00
Juan Tejada
091749545b
fix(spectron): Update spectron setup:
...
- Passes new arguments to spectron.Application
- Updates setup of test suite to wait for application to boot before
specs are run
2015-11-19 12:29:03 -08:00
Juan Tejada
c6b4adbcd1
ci(spectron): Add support to execute spectron/chrome-driver tests
...
Summary:
- Sets up spectron test suite inside its own directory and with its own
dependencies (must run on a build of the app)
- Sets up dummy test
- Adds `run-spectron-specs` grunt task, and adds it to cibuild task
- Cleans up spec tasks code
Test Plan: - Run specs
Reviewers: evan, bengotow
Reviewed By: bengotow
Differential Revision: https://phab.nylas.com/D2256
2015-11-18 16:36:58 -08:00
Evan Morikawa
488dff0f90
refactor(env): new NylasEnv global
...
Converted all references of global atom to NylasEnv
Temporary rename atom.io
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.io/temporaryAtomIoReplacement/g'
atom.config to NylasEnv.config
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.config/NylasEnv.config/g'
atom.packages -> NylasEnv.packages
atom.commands -> NylasEnv.commands atom.getLoadSettings
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.commands/NylasEnv.commands/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getLoadSettings/NylasEnv.getLoadSettings/g'
More common atom methods
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.styles/NylasEnv.styles/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.emitError/NylasEnv.emitError/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.inSpecMode/NylasEnv.inSpecMode/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.inDevMode/NylasEnv.inDevMode/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getWindowType/NylasEnv.getWindowType/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.displayWindow/NylasEnv.displayWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.quit/NylasEnv.quit/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.close/NylasEnv.close/g'
More atom method changes
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.keymaps/NylasEnv.keymaps/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.hide/NylasEnv.hide/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getCurrentWindow/NylasEnv.getCurrentWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.menu/NylasEnv.menu/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getConfigDirPath/NylasEnv.getConfigDirPath/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.isMainWindow/NylasEnv.isMainWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.finishUnload/NylasEnv.finishUnload/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.isWorkWindow/NylasEnv.isWorkWindow/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.showSaveDialog/NylasEnv.showSaveDialog/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.append/NylasEnv.append/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.confirm/NylasEnv.confirm/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.clipboard/NylasEnv.clipboard/g'
find -E . -regex ".*\.(coffee|cjsx|js|md|cmd|es6)" -print0 | xargs -0 sed
-i "" 's/atom.getVersion/NylasEnv.getVersion/g'
More atom renaming
Rename atom methods
More atom methods
Fix grunt config variable
Change atom.cmd to N1.cmd
Rename atom.coffee and atom.js to nylas-env.coffee nylas-env.js
Fix atom global reference in specs manually
Fix atom requires
Change engine from atom to nylas
got rid of global/nylas-env
rename to nylas-win-bootup
Fix onWindowPropsChanged to onWindowPropsReceived
fix nylas-workspace
atom-text-editor to nylas-theme-wrap
atom-text-editor -> nylas-theme-wrap
Replacing atom keyword
AtomWindow -> NylasWindow
Replace Atom -> N1
Rename atom items
nylas.asar -> atom.asar
Remove more atom references
Remove 6to5 references
Remove license exception for atom
2015-11-17 16:41:20 -08:00
Evan Morikawa
58873e81ea
fix(keymap): run cmdctrl preprocessor on build too
2015-11-09 15:09:04 -05:00
Ben Gotow
6a79bc58dc
fix(deps): Go away git-utils, we never used you anyway
2015-11-07 18:05:24 -08:00
Ben Gotow
88e7f4cc4e
fix(packaging): Resolve codesign issue on 10.11 due to bad symlink
2015-10-30 15:27:39 -07:00
Ben Gotow
537b23d08b
fix(cibuild): unlinkSync => rmdirSync
2015-10-27 18:45:59 -07:00
Ben Gotow
9292bede3a
fix(cibuild): apm needs dependencies, fix for npm3
2015-10-27 18:29:14 -07:00
Ben Gotow
e858eb6ebd
rm(aws-sdk): Ship logs via request
, eliminate aws-sdk
2015-10-27 16:35:38 -07:00
Ben Gotow
e12ab4f753
ci(win): N1.exe => N1Setup.exe (it's an installer)
2015-10-20 17:34:35 -07:00
Ben Gotow
2a9b5b7ea1
ci(mac): Fix zip creation and upload for updater
2015-10-20 14:24:51 -07:00
Ben Gotow
4fe56077bd
ci(*): Use publish-nylas-build on Linux
2015-10-20 13:31:09 -07:00
Ben Gotow
50469e487d
ci(*): Put builds in /version/platform/arch
2015-10-19 18:44:58 -07:00
Ben Gotow
1399685415
ci(*): Put builds in subdirectories, better for Squirrel.Win
2015-10-16 17:06:09 -07:00
Ben Gotow
31e0c570cf
ci(*): Prevent external folks from posting to slack
2015-10-16 15:46:09 -07:00
Ben Gotow
84a8b4f98f
ci(*): Fix Mac build filenames, zip uploads
2015-10-16 15:26:23 -07:00
Ben Gotow
584da13788
ci(*): Put the commit hashes back in release filenames
2015-10-16 14:01:29 -07:00
Ben Gotow
9cae62dc63
ci(win): Fix build tasks to enable windows CI builds
2015-10-15 17:54:09 -07:00
Michael Grinich
f04682031c
actually no more gh-pages
2015-10-05 05:08:53 -07:00
Christine Spang
074bee306b
Also remove /usr/bin/apm symlink in install task.
2015-10-04 22:12:31 -07:00
Christine Spang
5b39d49027
Don't symlink /usr/bin/apm on Linux and Mac.
...
This makes us conflict with the official 'atom' Linux package. No bueno.
Doesn't really make sense for us to install this system-wide on Mac
either.
Fixes T3713.
2015-10-04 21:47:03 -07:00
Christine Spang
85f6403451
Merge branch 'debian-autoupdate'
2015-10-04 19:39:12 -07:00
Christine Spang
d6608c4c50
Install package repo for autoupdates in Debian packages.
2015-10-04 19:38:16 -07:00
dillon
f834695729
fix broken links
2015-10-04 14:28:00 -07:00
Ben Gotow
c3a3886b5b
fix(docs): Push examples to the correct /examples URL
2015-10-02 16:09:49 -07:00
Evan Morikawa
f6ef8a8b0c
refactor(n1): change launch script to N1.sh
2015-10-02 11:58:38 -07:00
Ben Gotow
59096942e6
fix(docs): Moving to use jekyll on gh-pages
2015-10-02 10:55:18 -07:00
Evan Morikawa
7a4e5b8641
refactor(dir): move exports to src/global and consolidate tests
...
Summary:
This:
1. Moves spec-nylas into spec
1. Gets rid of old & irrelevant specs
1. Moves the `vendor` folder (jasmine libs) into the `spec` folder
1. Moves the `exports` folder to `src/global` and updates all references
I pretty extensively made sure the client still works and that all of the
tests pass. The changes should have no effect.
Test Plan: All tests pass!
Reviewers: bengotow, dillon
Differential Revision: https://phab.nylas.com/D2098
2015-10-02 09:19:37 -07:00
Evan Morikawa
57fef805cd
refactor(spec) move spec-nylas to spec
2015-10-01 21:39:44 -07:00
Evan Morikawa
56364ff0c7
refactor(exports): move exports to src/global
2015-10-01 21:23:37 -07:00
Ben Gotow
b268643c3b
fix(docs): Updating docs (round 1 of many)
2015-10-01 13:19:34 -07:00
Evan Morikawa
1b12ac8959
refactor(docs): move docs-templates into docs
2015-10-01 09:58:51 -07:00
Evan Morikawa
f2feeec62f
fix(*): fix references and remove cruft
2015-10-01 09:56:05 -07:00
Ben Gotow
2d7642f890
fix(s3): Content-Disposition => ContentDisposition
2015-09-30 11:44:53 -07:00
Ben Gotow
64060db791
fix(initial-packages): Pull from examples directory, include in ci builds
2015-09-30 11:43:06 -07:00
Ben Gotow
78c69ba9eb
fix(publish): Send content disposition with S3 files
2015-09-29 17:22:41 -07:00
Ben Gotow
3ccc5e3d99
rename(Nylas Mail): Replace Nylas Mail > N1
2015-09-29 09:44:30 -07:00
Ben Gotow
fc7abce49b
feat(docs): Move docs to gh-pages, deploy as part of ci build on darwin
2015-09-16 11:00:51 -07:00
Ben Gotow
f8c5f7b967
refactor(db): change ID system to have clientIDs and serverIDs
...
Summary: Major ID refactor
Test Plan: edgehill --test
Reviewers: bengotow, dillon
Differential Revision: https://phab.nylas.com/D1946
2015-08-28 11:24:29 -07:00
Ben Gotow
ccce86088b
fix(build-flow): Add missing resolve statement
2015-08-24 11:06:54 -07:00
Ben Gotow
faa1dd6190
fix(build-flow): More minor tweaks to applescript runner
2015-08-24 10:47:43 -07:00