Andrew Grieve [Wed, 31 Dec 2014 05:54:55 +0000 (00:54 -0500)]
Fix typo in error message (chrome-app-developer-tool-client -> harness-client)
Andrew Grieve [Tue, 25 Nov 2014 20:59:01 +0000 (15:59 -0500)]
Update HttpServer to use chrome.sockets.tcp.pipeToFile.
Andrew Grieve [Tue, 18 Nov 2014 23:05:10 +0000 (15:05 -0800)]
Add debug logging to HttpServer.js (disabled by default)
Andrew Grieve [Fri, 14 Nov 2014 20:50:41 +0000 (21:50 +0100)]
Fix "Unable to bind to port" message when wifi is disabled.
Instead, display that you are bound to localhost, which is perfectly
fine for deploying via USB.
Andrew Grieve [Fri, 14 Nov 2014 20:33:23 +0000 (21:33 +0100)]
Use chrome.sockets.tcp.update({uri:}) to more efficiently pipe request payloads to files
20 megs new takes just a few seconds!
Added in some TODOs to tweak the code once the API can take in the
number of bytes to pipe.
Andrew Grieve [Thu, 13 Nov 2014 12:19:46 +0000 (13:19 +0100)]
Fix appharness.reload() not calling success callback on iOS
Was causing /launch to never send a response.
Andrew Grieve [Sat, 8 Nov 2014 20:07:20 +0000 (21:07 +0100)]
Make gulpfile use windows-compatible paths
Andrew Grieve [Thu, 6 Nov 2014 20:44:50 +0000 (15:44 -0500)]
Fix jslint error in harnessclient
Andrew Grieve [Thu, 6 Nov 2014 17:09:42 +0000 (12:09 -0500)]
Fix typo from prev adbkit commit (delete createSocket vs delete createConnection)
Andrew Grieve [Wed, 5 Nov 2014 19:54:08 +0000 (14:54 -0500)]
Enhancements to new adbkit integration.
- Fix jshint errors
- Fix process never exiting after pushing
- Expose a symbol for detecting connected devices
- Destroy socket if it's not picked up by the connection
- Disable multiple connections per-host since we were just returning the same socket for each call to createSocket
Max Woghiren [Tue, 4 Nov 2014 20:09:51 +0000 (15:09 -0500)]
Improved error handling.
Andrew Grieve [Wed, 31 Dec 2014 05:34:46 +0000 (00:34 -0500)]
Allow installer.getPluginMetadata() to return a value instead of a promise
Max Woghiren [Fri, 31 Oct 2014 17:32:09 +0000 (13:32 -0400)]
Provided a connection to the appropriate port.
This removes the necessity of running `dab forward` to get USB connections to work.
This adds a dependency on adbkit.
Andrew Grieve [Wed, 5 Nov 2014 16:40:27 +0000 (11:40 -0500)]
Increase harness-push timeout from 30 seconds -> 3000 seconds
Andrew Grieve [Mon, 27 Oct 2014 19:12:14 +0000 (15:12 -0400)]
Convert from chrome.socket -> chrome.sockets.tcp
Andrew Grieve [Mon, 27 Oct 2014 19:10:36 +0000 (15:10 -0400)]
Add gulpfile to run jshint
Andrew Grieve [Sat, 25 Oct 2014 01:24:02 +0000 (21:24 -0400)]
Fix android launch now that UrlRemapper doesn't apply to main webview
Andrew Grieve [Fri, 24 Oct 2014 13:25:11 +0000 (09:25 -0400)]
Enable cordova-android's App plugin (e.g. navigator.app.exitApp())
fixes MobileChromeApps/mobile-chrome-apps#383
Andrew Grieve [Tue, 21 Oct 2014 19:47:30 +0000 (15:47 -0400)]
Fix /deletefiles not working when deleting more than ~10 files.
HttpRequest.readEntireBody() was completely broken :(
Andrew Grieve [Tue, 21 Oct 2014 19:47:03 +0000 (15:47 -0400)]
Fix createproject.sh to work with hard-coded activity.java filename
Max Woghiren [Thu, 9 Oct 2014 15:39:30 +0000 (11:39 -0400)]
Removed unnecessary checks.
By default, on Android, if a "system" webview type is specified, then we use the system webview; anything else and we use Crosswalk.
Max Woghiren [Mon, 6 Oct 2014 20:50:32 +0000 (16:50 -0400)]
Updated webview reload to take arguments.
It now takes and obeys the same arguments as `create` does...
...except Android doesn't switch webview types yet.
Max Woghiren [Mon, 6 Oct 2014 19:34:11 +0000 (15:34 -0400)]
Stopped destroying the webview on every launch.
If we're relaunching the same app, we reload the webview. This handles the most annoying `cca push --watch` case.
If a new app is being launched, though, the webview is still destroyed and recreated (for now).
Max Woghiren [Mon, 6 Oct 2014 19:26:33 +0000 (15:26 -0400)]
Added a reload function.
Andrew Grieve [Fri, 3 Oct 2014 17:00:17 +0000 (13:00 -0400)]
Add a /getfile endpoing to HarnessServer + Fixes for pipeFileToResponse.
Andrew Grieve [Fri, 3 Oct 2014 16:56:08 +0000 (12:56 -0400)]
Change config.xml-derived properties in installer into getters
Max Woghiren [Thu, 2 Oct 2014 19:04:14 +0000 (15:04 -0400)]
Fixed missing declaration.
Max Woghiren [Tue, 30 Sep 2014 19:50:25 +0000 (15:50 -0400)]
Added comments explaining launch handling.
Max Woghiren [Tue, 30 Sep 2014 19:01:06 +0000 (15:01 -0400)]
Prevented launching an app that hasn't changed.
Also added an option to force a launch. Sometimes, such as when an app is pushed for the first time, we want to launch the app even if it hasn't changed since the last time it was launched (in a previous session).
Andrew Grieve [Fri, 26 Sep 2014 20:19:12 +0000 (16:19 -0400)]
Delete manifest.json if it causes an exception
Andrew Grieve [Fri, 26 Sep 2014 19:52:30 +0000 (15:52 -0400)]
Make UrlRemap not apply to the main webview
Andrew Grieve [Fri, 26 Sep 2014 20:03:27 +0000 (16:03 -0400)]
Make ResourcesLoader functions not depend on "this"
Andrew Grieve [Thu, 25 Sep 2014 20:02:31 +0000 (16:02 -0400)]
Add filesystem location <preferences> to config.xml
Andrew Grieve [Tue, 23 Sep 2014 14:45:26 +0000 (10:45 -0400)]
Update AppHarnessUI.java to include getExternalWhitelist()
Andrew Grieve [Sat, 26 Jul 2014 02:02:46 +0000 (22:02 -0400)]
createproject.sh: include ios by default when host=Darwin
Andrew Grieve [Sat, 26 Jul 2014 01:51:36 +0000 (21:51 -0400)]
Make createproject.sh work even when no dependencies are set up ahead of time
Adds a package.json to get non-plugin dependencies.
Andrew Grieve [Fri, 11 Jul 2014 16:27:00 +0000 (12:27 -0400)]
Add ArrayBuffer.slice polyfill to unbreak Android pre-KK
Andrew Grieve [Thu, 10 Jul 2014 20:36:42 +0000 (16:36 -0400)]
Fix exception on second launch and stop using plugin whitelist
Andrew Grieve [Wed, 9 Jul 2014 02:28:48 +0000 (22:28 -0400)]
Fix wrong path in createproject.sh (failed every time)
Andrew Grieve [Wed, 9 Jul 2014 02:27:57 +0000 (22:27 -0400)]
Make work with the latest changes to android-4.0.x
Andrew Grieve [Wed, 25 Jun 2014 13:51:01 +0000 (09:51 -0400)]
Fix up promise chaining for harness-push quit command
David Kemp [Tue, 24 Jun 2014 12:40:13 +0000 (08:40 -0400)]
Force app quit before push
David Kemp [Mon, 23 Jun 2014 23:00:20 +0000 (19:00 -0400)]
Adding support for app quit in harness-push
Andrew Grieve [Tue, 24 Jun 2014 18:38:19 +0000 (14:38 -0400)]
Delete accidentally added CrxInstaller.js
Andrew Grieve [Tue, 24 Jun 2014 18:16:28 +0000 (14:16 -0400)]
First attempt at hooking back button up to exit app.
Requires changes to cordova-android and x-walk plugin (so use master).
Currently has a bug where hitting back navigates to about:blank before
minimizing.
Andrew Grieve [Tue, 24 Jun 2014 16:45:16 +0000 (12:45 -0400)]
Add plugin dependency info to prepare hook
This can be used to run apps without the need for platforms/ directory.
Andrew Grieve [Fri, 20 Jun 2014 18:06:23 +0000 (14:06 -0400)]
Fix launched apps using renamed cordova_plugins.js file (ugh)
Andrew Grieve [Fri, 20 Jun 2014 17:47:40 +0000 (13:47 -0400)]
Explicitly do a prepare at the end of createproject.sh to make launching in IDE easier
Andrew Grieve [Fri, 20 Jun 2014 17:37:48 +0000 (13:37 -0400)]
Renaming cordova_plugins.js caused a race condition. Fix it by editing cordova.js
Andrew Grieve [Fri, 20 Jun 2014 16:37:48 +0000 (12:37 -0400)]
Fix cordova_plugins.js not being used on Android & restrict plugins on native side to only those that should be loaded.
Andrew Grieve [Fri, 20 Jun 2014 17:18:15 +0000 (13:18 -0400)]
Switch to using cordova-android 4.0.x branch
Andrew Grieve [Thu, 19 Jun 2014 01:40:22 +0000 (21:40 -0400)]
Delete notification bubble
Andrew Grieve [Thu, 19 Jun 2014 01:43:34 +0000 (21:43 -0400)]
Make .gitignore use root-relative paths
Andrew Grieve [Thu, 19 Jun 2014 01:41:55 +0000 (21:41 -0400)]
Fix error on start-up from missing network-information plugin
Andrew Grieve [Thu, 19 Jun 2014 01:44:36 +0000 (21:44 -0400)]
Fix zippush causing files to be base64 encoded (typo in prev commit)
David Kemp [Wed, 18 Jun 2014 20:33:46 +0000 (16:33 -0400)]
CB-6975 Improve the speed of the zip function
Andrew Grieve [Tue, 17 Jun 2014 20:47:29 +0000 (16:47 -0400)]
Add org.apache.cordova.media to --allplugins (mistakenly omitted)
Andrew Grieve [Tue, 17 Jun 2014 20:22:29 +0000 (16:22 -0400)]
Fix NPE in AppHarnessUI when events are sent and no one is listening
Andrew Grieve [Tue, 17 Jun 2014 20:03:40 +0000 (16:03 -0400)]
Fix ConcurrentModificationException in UrlRemap
Andrew Grieve [Tue, 17 Jun 2014 19:30:41 +0000 (15:30 -0400)]
Make pushsession.js properly update its cached assetManifest
Andrew Grieve [Tue, 17 Jun 2014 19:29:53 +0000 (15:29 -0400)]
Bump HarnessServer protocol version, update comments, make bulkMove a bit safer
David Kemp [Tue, 17 Jun 2014 12:08:55 +0000 (08:08 -0400)]
[CB6947] move app directory by default.
use parameter movetype='file' to do merge
Michal Mocny [Mon, 16 Jun 2014 18:24:26 +0000 (14:24 -0400)]
Replacing CacheClear with inline cache clear (simpler called on slave webview)
Andrew Grieve [Tue, 17 Jun 2014 02:43:39 +0000 (22:43 -0400)]
createproject.sh: Use coho & cca to find plugins locally
Andrew Grieve [Mon, 9 Jun 2014 18:27:27 +0000 (14:27 -0400)]
Fix curl example in comments for /zippush
Andrew Grieve [Thu, 5 Jun 2014 20:20:42 +0000 (16:20 -0400)]
Add HttpServer.ResponseException for easier 500 responses
Andrew Grieve [Thu, 5 Jun 2014 20:20:02 +0000 (16:20 -0400)]
Fix deleteapp?all=1 returning a 500 due to forgetting to return promise
Andrew Grieve [Tue, 3 Jun 2014 20:30:58 +0000 (16:30 -0400)]
Move config.xml into template-overrides/
Andrew Grieve [Tue, 3 Jun 2014 17:52:10 +0000 (13:52 -0400)]
Small fix to UriRemap to remove double forward slash for plugin assets
Max Woghiren [Tue, 3 Jun 2014 21:16:55 +0000 (17:16 -0400)]
Added dynamic ip updating.
Also added an option to skip caching when getting the address.
Andrew Grieve [Tue, 3 Jun 2014 17:32:29 +0000 (13:32 -0400)]
Add --allplugins to createproject.sh to add in more plugins
Andrew Grieve [Mon, 2 Jun 2014 20:37:14 +0000 (16:37 -0400)]
Add NOTICE for topcoat.
Andrew Grieve [Mon, 2 Jun 2014 20:28:25 +0000 (16:28 -0400)]
Use moment.js for last updated time
Andrew Grieve [Fri, 30 May 2014 20:21:53 +0000 (16:21 -0400)]
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-app-harness
Andrew Grieve [Fri, 30 May 2014 20:18:26 +0000 (16:18 -0400)]
Make view shrink to reveal in-app-menu
Marcel Kinard [Fri, 30 May 2014 16:03:45 +0000 (12:03 -0400)]
CB-6818 Add license to CONTRIBUTING.md
Andrew Grieve [Fri, 30 May 2014 14:24:40 +0000 (10:24 -0400)]
Fix HarnessServer menu command
Andrew Grieve [Thu, 29 May 2014 19:54:38 +0000 (15:54 -0400)]
Quit the active app if it's deleted via HarnessServer
Andrew Grieve [Thu, 29 May 2014 19:48:44 +0000 (15:48 -0400)]
Forgot to commit iOS changes for overlay change
Andrew Grieve [Thu, 29 May 2014 19:07:13 +0000 (15:07 -0400)]
Remove some dead code left from last commit
Andrew Grieve [Thu, 29 May 2014 17:50:44 +0000 (13:50 -0400)]
Rework Overlay menu to be another view within the main webview.
Much more performant and less complicated this way!
Andrew Grieve [Thu, 29 May 2014 17:49:19 +0000 (13:49 -0400)]
Don't use UrlRemap on iOS (buggy with multiple webviews)
Andrew Grieve [Thu, 29 May 2014 14:54:36 +0000 (10:54 -0400)]
Delete pinch to show overlay gesture.
Andrew Grieve [Thu, 29 May 2014 02:22:44 +0000 (22:22 -0400)]
Show total plugin count in plugin message
Andrew Grieve [Thu, 29 May 2014 02:22:22 +0000 (22:22 -0400)]
Add iconURL to Installer (to be shown in the UI in a future commit)
Andrew Grieve [Thu, 29 May 2014 02:21:56 +0000 (22:21 -0400)]
Add ng-cloak to make start-up not flicker the html template
Andrew Grieve [Thu, 29 May 2014 00:51:49 +0000 (20:51 -0400)]
Small tweak to promises style in AppsService
Andrew Grieve [Wed, 28 May 2014 21:07:35 +0000 (17:07 -0400)]
Set app title & version in app.js instead of ListCtrl
Andrew Grieve [Wed, 28 May 2014 21:05:36 +0000 (17:05 -0400)]
Delete dead code & add "all" bucket to PluginMetadata results
Andrew Grieve [Wed, 28 May 2014 03:07:54 +0000 (23:07 -0400)]
Update HarnessServer curl examples in the comments
Max Woghiren [Tue, 27 May 2014 20:07:46 +0000 (16:07 -0400)]
Added unzip percentages.
Max Woghiren [Tue, 27 May 2014 18:45:17 +0000 (14:45 -0400)]
Made a couple of small bug fixes.
Removed trailing slashes from push directory.
Fixed app id when deleting files from an incremental push.
Andrew Grieve [Tue, 27 May 2014 14:04:28 +0000 (10:04 -0400)]
Update README.md to remove serve references
Andrew Grieve [Tue, 27 May 2014 01:56:11 +0000 (21:56 -0400)]
Remove use of file-system-roots plugin (functionality now built into file plugin)
Andrew Grieve [Tue, 27 May 2014 01:10:21 +0000 (21:10 -0400)]
Delete explicit toNativeURL() since file: is now the default
Andrew Grieve [Tue, 27 May 2014 01:10:08 +0000 (21:10 -0400)]
Explicitly check that startPage exists before attempting to launch
Andrew Grieve [Mon, 26 May 2014 19:00:54 +0000 (15:00 -0400)]
harness-push: Allow pushes without config.xml
Andrew Grieve [Mon, 26 May 2014 19:00:28 +0000 (15:00 -0400)]
harness-push: Print response body of non 200 responses
Andrew Grieve [Fri, 23 May 2014 20:07:46 +0000 (16:07 -0400)]
Tweak a console.log()
Andrew Grieve [Fri, 23 May 2014 20:07:32 +0000 (16:07 -0400)]
Use a keep-alive agent that doens't hold the process open