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
Evan Morikawa
ff620e1d2f
fix(contenteditable): allow valid null events to callbacks
2015-11-19 13:38:19 -05:00
Evan Morikawa
2d3121a91d
fix(main): globa.resourcePath now resourcePath
2015-11-18 17:41:00 -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
Juan Tejada
338dc5284f
fix(specs): Update composer-view-spec to use renamed functions
2015-11-18 15:51:48 -08:00
Juan Tejada
0be43f33c9
fix(contenteditable): Fix undefined callback on plugins
2015-11-18 15:29:42 -08:00
Juan Tejada
02deba38c4
fix(composer): Fix several composer issues and refactor Contenteditable
...
Summary:
- Fixes T5819 issues
- Adds ContenteditbalePlugin mechanism to allow extension of Contenteditable
functionality, and completely removes lifecycleCallbacks from Contenteditable
- Refactors list functionality outside of Contenteditable and into a plugin
- Updates ComposerView to apply DraftStoreExtensions through a ContentEditablePlugin
- Moves spell checking logic outside of Contenteditable into the spellcheck package
Fixes T5824 (atom.assert)
Fixes T5951 (shift-tabbing) bullets
Test Plan: - Unit tests and manual
Reviewers: evan, bengotow
Reviewed By: bengotow
Maniphest Tasks: T5951, T5824, T5819
Differential Revision: https://phab.nylas.com/D2261
2015-11-18 15:22:31 -08:00
Juan Tejada
e1aa260597
fix(compile-cache): Add .jsx extension to babel compiler module
2015-11-18 13:22:50 -08:00
Juan Tejada
03523f7db1
fix(compile-cache): Add .jsx extension to be transbiled using babel
2015-11-18 12:35:37 -08:00
Ben Gotow
b9954b764d
fix(search): Execute search for subject, autoselect first item
...
Fixes T5899, but we may want to iterate on it more later.
2015-11-18 12:35:19 -08:00
Evan Morikawa
0c93cb856f
fix(draft): fix showing of incorrect body when pending send
...
Summary: Fixes T3712
Test Plan: new tests
Reviewers: juan, bengotow
Reviewed By: bengotow
Maniphest Tasks: T3712
Differential Revision: https://phab.nylas.com/D2273
2015-11-18 12:32:07 -08:00
Ben Gotow
f8539aa382
🍒 (atom): Pull new, cleaner compile cache + index.js
2015-11-17 19:43:08 -08:00
Juan Tejada
b814c54c88
refactor(script/docs): Add comments
2015-11-17 18:09:46 -08:00
Juan Tejada
02a5e8f5c8
Add docs script to automatically move output of grunt docs to gh-pages
2015-11-17 18:03:24 -08:00
Ben Gotow
1d70cfae39
fix(specs): Ternary operator in jasmine-helper was valid coffee...
2015-11-17 17:48:32 -08:00
Ben Gotow
0068e7d4a7
fix(specs): Update specs following 0.29.2 > 0.34.3 move
2015-11-17 17:40:06 -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
6b120b7bc3
fix(package): revert to upgraded package.json
2015-11-17 16:25:58 -08:00
Evan Morikawa
bab3c18bd4
fix(docs): fix docs so they compile properly.
2015-11-17 15:48:59 -08:00
Ben Gotow
62b8dc2d3a
fix(tray): Retina tray icon with template image for dark menu bar mode
2015-11-17 15:36:52 -08:00
Ben Gotow
2f2a80b03a
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
ded3089409
changelog(0.3.23): Features, fixes in 0.3.23
2015-11-17 10:37:58 -08:00
Ben Gotow
58f2836a25
fix(bootstrap): Set apm environment vars to avoid Atom conflicts
2015-11-16 16:42:35 -08:00
Ben Gotow
ca3a6e4629
fix(proxyquire): No longer need forked version
2015-11-16 15:43:47 -08:00
Ben Gotow
72c0198e44
fix(proxyquire): Reference http url instead of https
2015-11-16 15:22:27 -08:00
Ben Gotow
5904be4678
cleanup(*): We do not support devDependencies as a concept
2015-11-16 11:46:36 -08:00
Ben Gotow
0380704c41
ASAR v0.8, because apparently 0.5 can skip files
2015-11-16 10:02:31 -08:00
Juan Tejada
7b18f43eab
Convert Composer Template example to ES6
...
Summary:
- Include ES6 files in spec-suite
- Fix template store specs
- Refactors TemplateStore a little bit to adjust to specs
- Convert coffe .cjsx files to ES6 .jsx files
- Fix TemplateDraftStoreExtension functions
- Update ComposerTemplates example README
Test Plan: - Plugin unit tests
Reviewers: bengotow, evan
Reviewed By: evan
Differential Revision: https://phab.nylas.com/D2250
2015-11-14 22:12:06 -08:00
Ben Gotow
2f419d8b18
bump(version): 0.3.23
2015-11-14 13:11:05 -08:00
Ben Gotow
ccd27b4427
fix(tray): Slightly resize win/linux tray icons
2015-11-14 13:10:39 -08:00
Juan Tejada
319faf8b5c
fix(lint): Remove lint errors
2015-11-13 19:41:53 -08:00
Juan Tejada
36de6e632c
fix(tray): Set tray width based on actual unread count text width
2015-11-13 19:30:25 -08:00
Ben Gotow
620f5c949d
fix(tray): "Open Inbox" if main window is minimized / hidden
2015-11-13 18:11:44 -08:00
Ben Gotow
934909a7dd
fix(category-picker): vertical alignment of labels/folders icon
2015-11-13 17:42:10 -08:00
Ben Gotow
afdeba5dcf
fix(dropdowns): 3% darken on hover, not full blue
2015-11-13 16:58:55 -08:00
Ben Gotow
689af8d941
fix(search): Prevent search from hitting X button
2015-11-13 16:10:49 -08:00
Ben Gotow
6ef0a49c26
fix(keymaps): Small tweaks to fix broken key behaviors
...
- Reload the menu after changing keymap sets
- Do not allow accelerators in the menu like "z", because they do not go through selector-based command matching and always fire into the window.
- Do not match `cmdctrl` to both `cmd` and `ctrl` on the Mac. Just `cmd`
- Re-order `shift-delete` mapping to `core:cut`, because it causes the menu to have no binding on Mac OS X
2015-11-13 16:05:40 -08:00
Ben Gotow
83510d0cef
fix(names): "Olivia" should not be caught by name cleanup
...
This fixes #393 .
The name "Olivia" was being caught in our parser designed to shorten "Mike Kaylor via LinkedIn" to "Mike Kaylor". We now check that "via" is it's own distinct word in the phrase.
2015-11-13 11:42:37 -08:00
Juan Tejada
a3346b2338
fix(system-tray): Add sans-serif as fallback font for system tray unread count
2015-11-13 11:00:08 -08:00
Ben Gotow
ed585b0d3e
fix(mailto): Handle mailto links with newline characters #397
...
Regex was clipping off the body after the first newline. Fixes #397
2015-11-13 10:58:42 -08:00
Ben Gotow
4ebc93db57
fix(sidebar): Don't capitalize every word in label names. #401
...
Fixes #401
2015-11-13 09:45:19 -08:00
Ben Gotow
ca0f7a13ec
fix(uploads): File uploads shouldn't time out after 15 seconds :/
2015-11-12 16:53:54 -08:00
Christine Spang
3b1b43a3d0
Merge pull request #301 from nicholascapo/update-libgcrypt-dependency
...
Update debian package libgcrypt dependency
2015-11-11 15:43:39 -08:00
Juan Tejada
3a4c92a94b
fix(system-tray): prevent duplicate menu item on darwin
2015-11-11 13:44:37 -08:00
Luis Alberto Pérez García
ce3d5c51d1
Allows package to be installed in ElementaryOS
...
Changes the condition for detecting the distro name so ElementaryOS (ubuntu based) goes as an Ubuntu and the package installs.
2015-11-11 21:28:03 +01:00
Ben Gotow
d8beb4a0cf
undo(prefs): atom.keymaps
does not implement unsubscribe
2015-11-11 10:20:48 -08:00
Ben Gotow
08db4679aa
fix(prefs): atom.keymaps
does not implement unsubscribe
...
https://github.com/atom/atom-keymap/issues/101
2015-11-09 21:44:59 -08:00
Ben Gotow
0650768788
fix(prefs): ReactRemote should call componentWillUnmount
2015-11-09 21:44:33 -08:00
Ben Gotow
d23b0fd16c
fix(specs): Remove loading cover in spec window
2015-11-09 20:53:17 -08:00
Ben Gotow
452cbf1fa7
fix(ui-dark): Small color adjustments, resolves #299 , #148
2015-11-09 18:52:24 -08:00