cordova-app-harness.git
8 years agoMake resetMappings() public for use by harness-push
Andrew Grieve [Fri, 21 Mar 2014 06:52:11 +0000 (23:52 -0700)] 
Make resetMappings() public for use by harness-push

8 years agoFix JS exception caused by ng promises not having a "done" method
Andrew Grieve [Fri, 21 Mar 2014 06:15:50 +0000 (23:15 -0700)] 
Fix JS exception caused by ng promises not having a "done" method

8 years agoDon't reset plugins in UrlRemap.java
Andrew Grieve [Fri, 21 Mar 2014 06:15:22 +0000 (23:15 -0700)] 
Don't reset plugins in UrlRemap.java

8 years agoFix package name of CacheClear/plugin.xml
Andrew Grieve [Fri, 21 Mar 2014 06:15:05 +0000 (23:15 -0700)] 
Fix package name of CacheClear/plugin.xml

8 years agoFix UrlRemap not always setting no-cache headers.
Andrew Grieve [Fri, 21 Mar 2014 04:33:52 +0000 (21:33 -0700)] 
Fix UrlRemap not always setting no-cache headers.

8 years agoAuto-listen when harness-push plugin exists (instead of pushing a button)
Andrew Grieve [Thu, 20 Mar 2014 21:25:22 +0000 (14:25 -0700)] 
Auto-listen when harness-push plugin exists (instead of pushing a button)

8 years agoClear cache before launching an app.
Andrew Grieve [Thu, 20 Mar 2014 21:24:53 +0000 (14:24 -0700)] 
Clear cache before launching an app.

8 years agoAdd env variable for setting name and ID in createproject.sh
Andrew Grieve [Thu, 20 Mar 2014 21:23:03 +0000 (14:23 -0700)] 
Add env variable for setting name and ID in createproject.sh

8 years agoShow IP address for harness-push.
Andrew Grieve [Tue, 18 Mar 2014 23:29:06 +0000 (16:29 -0700)] 
Show IP address for harness-push.

8 years agoUrlRemap: Use a nicer name for the "ignore-me" request header.
Andrew Grieve [Mon, 10 Mar 2014 03:33:17 +0000 (23:33 -0400)] 
UrlRemap: Use a nicer name for the "ignore-me" request header.

8 years agoUse URLs everywhere instead of paths. Removes need for "root" filesystem
Andrew Grieve [Mon, 10 Mar 2014 02:59:32 +0000 (22:59 -0400)] 
Use URLs everywhere instead of paths. Removes need for "root" filesystem

This also removes CRX file special-casing in launch logic by:
1. Installing CRX resources into a "www" subdir (like Serve does)
2. Taking advantage of the new allowFurtherRemapping setting for aliases

8 years agoFix "updating" message being cleared only on success.
Andrew Grieve [Mon, 10 Mar 2014 02:57:20 +0000 (22:57 -0400)] 
Fix "updating" message being cleared only on success.

8 years agoFix ServeInstaller NPE by having installPath accessed as a property always
Andrew Grieve [Mon, 10 Mar 2014 02:55:00 +0000 (22:55 -0400)] 
Fix ServeInstaller NPE by having installPath accessed as a property always

8 years agoFix addApp returning a promise in the middle of the promise chain (hid error messages)
Andrew Grieve [Mon, 10 Mar 2014 02:49:16 +0000 (22:49 -0400)] 
Fix addApp returning a promise in the middle of the promise chain (hid error messages)

8 years agoios: More UrlRemap tweaks so that it handles more scenarios
Andrew Grieve [Mon, 10 Mar 2014 02:42:24 +0000 (22:42 -0400)] 
ios: More UrlRemap tweaks so that it handles more scenarios

- Did away with using NSURLProtocol for loading sub-resources. It's never
useful.
- Added back support for redirectToReplacedUrl, fixes going back to menu.

8 years agoMake crx and serve "Add" view use the same textboxes.
Andrew Grieve [Fri, 7 Mar 2014 21:00:39 +0000 (16:00 -0500)] 
Make crx and serve "Add" view use the same textboxes.

Got annoyed when I switched between the two and the box got cleared.

8 years agoFix some jshint warnings.
Andrew Grieve [Fri, 7 Mar 2014 20:59:15 +0000 (15:59 -0500)] 
Fix some jshint warnings.

8 years agocheckjs->checkjs.sh and allow executing from other CWDs.
Andrew Grieve [Fri, 7 Mar 2014 20:57:21 +0000 (15:57 -0500)] 
checkjs->checkjs.sh and allow executing from other CWDs.

8 years agoUrlRemap: Add allowFurtherRemapping flag to aliases to (dis)allow chaining.
Andrew Grieve [Fri, 7 Mar 2014 19:57:42 +0000 (14:57 -0500)] 
UrlRemap: Add allowFurtherRemapping flag to aliases to (dis)allow chaining.

Also re-wrote iOS size considerably.

8 years agoFix up checkjs script.
Andrew Grieve [Fri, 7 Mar 2014 03:39:37 +0000 (22:39 -0500)] 
Fix up checkjs script.

8 years agoFix up existence check for window.appharness.
Andrew Grieve [Thu, 6 Mar 2014 16:02:03 +0000 (11:02 -0500)] 
Fix up existence check for window.appharness.

8 years agoUse updated symbol path for file-system-roots plugin
Andrew Grieve [Thu, 6 Mar 2014 15:54:03 +0000 (10:54 -0500)] 
Use updated symbol path for file-system-roots plugin

8 years agoMove config.xml out of www/ and enhance createproject.sh
Andrew Grieve [Thu, 6 Mar 2014 15:38:54 +0000 (10:38 -0500)] 
Move config.xml out of www/ and enhance createproject.sh

8 years agoAdd NOTICE file
Andrew Grieve [Thu, 27 Feb 2014 20:36:30 +0000 (15:36 -0500)] 
Add NOTICE file

8 years agoSupport CRX pushes.
Braden Shepherdson [Tue, 4 Feb 2014 19:04:56 +0000 (14:04 -0500)] 
Support CRX pushes.

8 years agoCleaning up error messages for bad zip files
Braden Shepherdson [Tue, 28 Jan 2014 16:45:18 +0000 (11:45 -0500)] 
Cleaning up error messages for bad zip files

8 years agoAlways use package.crx always as the download target for CRX mode.
Braden Shepherdson [Tue, 28 Jan 2014 16:20:48 +0000 (11:20 -0500)] 
Always use package.crx always as the download target for CRX mode.

The zip plugin insists on filenames ending in .crx to do its special
handling for CRX files. Since the filename is otherwise irrelevant and
this is really a temporary file, we always use package.crx.

8 years agoOnly run push-related code when the plugin exists.
Braden Shepherdson [Fri, 24 Jan 2014 20:10:08 +0000 (15:10 -0500)] 
Only run push-related code when the plugin exists.

8 years agoAdd support for Push plugin.
Braden Shepherdson [Thu, 16 Jan 2014 18:34:21 +0000 (13:34 -0500)] 
Add support for Push plugin.

8 years agoUpdate file handling code to modern File plugin (post Ian's refactoring)
Braden Shepherdson [Thu, 23 Jan 2014 20:11:38 +0000 (15:11 -0500)] 
Update file handling code to modern File plugin (post Ian's refactoring)

8 years agoUpdate AppHarness to modern MCA, which expects to be loaded with file://
Braden Shepherdson [Tue, 21 Jan 2014 15:02:49 +0000 (10:02 -0500)] 
Update AppHarness to modern MCA, which expects to be loaded with file://

Also required fixing the remapped paths a bit. CRX apps are loading
correctly now.

8 years agoStop the context menu from injecting multiple times.
Braden Shepherdson [Tue, 21 Jan 2014 15:00:24 +0000 (10:00 -0500)] 
Stop the context menu from injecting multiple times.

Otherwise this causes an infinite loop on KitKat, since loading more
scripts triggers onPageFinished to fire again, which triggers injection
of the context menu again, etc.

8 years agoMaking Serve and CRX downloading work more robustly.
Braden Shepherdson [Tue, 21 Jan 2014 14:59:45 +0000 (09:59 -0500)] 
Making Serve and CRX downloading work more robustly.

8 years agoCleaning up JSHints on ServeInstaller
Braden Shepherdson [Mon, 6 Jan 2014 20:29:22 +0000 (15:29 -0500)] 
Cleaning up JSHints on ServeInstaller

8 years agoFixing a few small bugs in ServeInstaller
Braden Shepherdson [Thu, 12 Dec 2013 18:17:18 +0000 (13:17 -0500)] 
Fixing a few small bugs in ServeInstaller

8 years agoAdd "edit" functionality. Allows changing the app name and url.
Braden Shepherdson [Tue, 3 Dec 2013 22:16:41 +0000 (14:16 -0800)] 
Add "edit" functionality. Allows changing the app name and url.

8 years agoAdd Details view, and show plugin info on list view.
Braden Shepherdson [Tue, 3 Dec 2013 19:52:51 +0000 (11:52 -0800)] 
Add Details view, and show plugin info on list view.

8 years agoUpdating Angular to 1.2.3 release
Braden Shepherdson [Tue, 3 Dec 2013 19:48:12 +0000 (11:48 -0800)] 
Updating Angular to 1.2.3 release

8 years agoPlugins now loading and saving correctly.
Braden Shepherdson [Mon, 2 Dec 2013 19:42:18 +0000 (11:42 -0800)] 
Plugins now loading and saving correctly.

8 years agoCreating the new PluginMetadata service.
Braden Shepherdson [Mon, 2 Dec 2013 18:49:57 +0000 (10:49 -0800)] 
Creating the new PluginMetadata service.

8 years agoInstalling and launching from CRX files, all working!
Braden Shepherdson [Wed, 27 Nov 2013 22:53:44 +0000 (14:53 -0800)] 
Installing and launching from CRX files, all working!

8 years agoFix launching of Chrome apps.
Braden Shepherdson [Mon, 25 Nov 2013 22:55:24 +0000 (14:55 -0800)] 
Fix launching of Chrome apps.

8 years agoMaking all JS files pass jshint.
Braden Shepherdson [Fri, 15 Nov 2013 20:39:43 +0000 (15:39 -0500)] 
Making all JS files pass jshint.

8 years agoSupport loading the plugins used by each child app.
Braden Shepherdson [Fri, 15 Nov 2013 20:23:40 +0000 (15:23 -0500)] 
Support loading the plugins used by each child app.

8 years agoREADME update
Braden Shepherdson [Fri, 15 Nov 2013 20:16:14 +0000 (15:16 -0500)] 
README update

8 years agoFixing README formatting.
Braden Shepherdson [Mon, 11 Nov 2013 21:08:01 +0000 (16:08 -0500)] 
Fixing README formatting.

8 years agoWhen updating an app, only download changed files.
Andrew Grieve [Thu, 14 Nov 2013 16:38:57 +0000 (11:38 -0500)] 
When updating an app, only download changed files.

This requires a change in Cordova-CLI that adds etags to project.json.

8 years agoUpdate README.md to mention createproject.sh script and updated plugin list
Andrew Grieve [Thu, 24 Oct 2013 18:50:46 +0000 (14:50 -0400)] 
Update README.md to mention createproject.sh script and updated plugin list

8 years agoTweak createproject.sh to accept the platform list from the command line
Andrew Grieve [Thu, 24 Oct 2013 18:50:39 +0000 (14:50 -0400)] 
Tweak createproject.sh to accept the platform list from the command line

8 years agoAndroid implementation of UrlRemap.
Andrew Grieve [Thu, 24 Oct 2013 01:43:29 +0000 (21:43 -0400)] 
Android implementation of UrlRemap.

8 years agoFix Gruntfile.js created by createproject.sh.
Andrew Grieve [Thu, 24 Oct 2013 01:42:34 +0000 (21:42 -0400)] 
Fix Gruntfile.js created by createproject.sh.

8 years agoUpdate README to match current state of the app & list TODOs
Andrew Grieve [Wed, 23 Oct 2013 19:15:28 +0000 (15:15 -0400)] 
Update README to match current state of the app & list TODOs

8 years agoRename AppBundle -> UrlRemap
Andrew Grieve [Wed, 23 Oct 2013 19:15:17 +0000 (15:15 -0400)] 
Rename AppBundle -> UrlRemap

8 years agoFix app harness menu items restart and update.
Andrew Grieve [Wed, 23 Oct 2013 18:35:11 +0000 (14:35 -0400)] 
Fix app harness menu items restart and update.

8 years agoUpdated README.md for AppBundle plugin
Andrew Grieve [Wed, 23 Oct 2013 02:27:37 +0000 (22:27 -0400)] 
Updated README.md for AppBundle plugin

8 years agoMany tweaks. Moved dirs.
Andrew Grieve [Fri, 18 Oct 2013 19:48:13 +0000 (15:48 -0400)] 
Many tweaks. Moved dirs.

8 years agoConvert from Q -> $q
Andrew Grieve [Thu, 17 Oct 2013 21:12:49 +0000 (17:12 -0400)] 
Convert from Q -> $q

8 years agoUpdated Angular, Renamed InstallHandler -> Installer. Made a base class.
Andrew Grieve [Thu, 17 Oct 2013 19:30:11 +0000 (15:30 -0400)] 
Updated Angular, Renamed InstallHandler -> Installer. Made a base class.

8 years agoHave launch working on iOS without Menu
Andrew Grieve [Wed, 16 Oct 2013 02:58:50 +0000 (22:58 -0400)] 
Have launch working on iOS without Menu

8 years agoCode clean-up of AppBundle's JS & Obj-C
Andrew Grieve [Wed, 16 Oct 2013 02:52:51 +0000 (22:52 -0400)] 
Code clean-up of AppBundle's JS & Obj-C

8 years agoImport AppBundle from https://github.com/MobileChromeApps/AppBundle
Andrew Grieve [Wed, 16 Oct 2013 02:55:51 +0000 (22:55 -0400)] 
Import AppBundle from https://github.com/MobileChromeApps/AppBundle

It really belongs in this repo.

8 years agoRefactored such that download works from cordova serve
Andrew Grieve [Thu, 10 Oct 2013 19:57:07 +0000 (15:57 -0400)] 
Refactored such that download works from cordova serve

8 years agoAdd a script to create the project.
Andrew Grieve [Fri, 4 Oct 2013 19:01:13 +0000 (15:01 -0400)] 
Add a script to create the project.

9 years agoSimplify build instructions.
Andrew Grieve [Thu, 5 Sep 2013 19:40:47 +0000 (15:40 -0400)] 
Simplify build instructions.

9 years agoBringing AppHarness up to Cordova 3.x
Braden Shepherdson [Wed, 14 Aug 2013 20:56:33 +0000 (16:56 -0400)] 
Bringing AppHarness up to Cordova 3.x

9 years agoFix missing crx file support
Braden Shepherdson [Tue, 25 Jun 2013 22:41:00 +0000 (15:41 -0700)] 
Fix missing crx file support

9 years agoAdd BarcodeScanner support (optional dependency)
Braden Shepherdson [Tue, 25 Jun 2013 18:57:03 +0000 (11:57 -0700)] 
Add BarcodeScanner support (optional dependency)

9 years agoUpdating the README to reflect the modern state of the AppHarness.
Braden Shepherdson [Wed, 19 Jun 2013 20:02:49 +0000 (16:02 -0400)] 
Updating the README to reflect the modern state of the AppHarness.

9 years agoRestyle to use Topcoat, popup notifications, and better UX.
Braden Shepherdson [Wed, 19 Jun 2013 20:02:16 +0000 (16:02 -0400)] 
Restyle to use Topcoat, popup notifications, and better UX.

9 years agoDon't load the context menu until deviceready fires
Braden Shepherdson [Mon, 17 Jun 2013 17:41:25 +0000 (13:41 -0400)] 
Don't load the context menu until deviceready fires

9 years agoUpdate config.<platform>.xml files with modern format
Braden Shepherdson [Fri, 14 Jun 2013 14:06:31 +0000 (10:06 -0400)] 
Update config.<platform>.xml files with modern format

9 years agoDelete old copies of Chrome files from www/crx_files.
Braden Shepherdson [Fri, 14 Jun 2013 13:57:12 +0000 (09:57 -0400)] 
Delete old copies of Chrome files from www/crx_files.

Only the config.platform.xml files are still used.

9 years agoRemove redundant and unused duplicate file, and improve Chrome loading
Braden Shepherdson [Fri, 14 Jun 2013 13:55:42 +0000 (09:55 -0400)] 
Remove redundant and unused duplicate file, and improve Chrome loading

It now draws on the same Chrome app bootstrap files as exist in the app
harness itself. This ensures that the Javascript always matches the
native side.

9 years agoSome Markdown formatting cleanup.
Braden Shepherdson [Thu, 16 May 2013 19:20:54 +0000 (15:20 -0400)] 
Some Markdown formatting cleanup.
(cherry picked from commit 6492417bdaa8b1eaa8fc44097c45e9f2c2897308)

9 years agoSupport installation of crx files
Shravan Narayan [Fri, 26 Apr 2013 18:39:15 +0000 (14:39 -0400)] 
Support installation of crx files

9 years agoMerge remote-tracking branch 'mobile_chrome_apps/master'
Andrew Grieve [Thu, 23 May 2013 20:03:04 +0000 (16:03 -0400)] 
Merge remote-tracking branch 'mobile_chrome_apps/master'

9 years agoMerge pull request #23 from shravanrn/regex_bugfix
Braden Shepherdson [Wed, 22 May 2013 17:49:17 +0000 (10:49 -0700)] 
Merge pull request #23 from shravanrn/regex_bugfix

Readme update. String to Regex conversion bugfix.

9 years agoAdd a .reviewboardrc file to make using post-review easier.
Andrew Grieve [Tue, 21 May 2013 16:39:17 +0000 (12:39 -0400)] 
Add a .reviewboardrc file to make using post-review easier.

9 years agoRevert "Support installation of crx files"
Braden Shepherdson [Fri, 17 May 2013 16:27:35 +0000 (12:27 -0400)] 
Revert "Support installation of crx files"

This reverts commit 4d4e0b46caec4db39cb2d3113c208657939029f6.

9 years agoRevert "Support chrome webstore links. Updated to support new app dir structure."
Braden Shepherdson [Fri, 17 May 2013 16:27:05 +0000 (12:27 -0400)] 
Revert "Support chrome webstore links. Updated to support new app dir structure."

This reverts commit 9f0d462b4b1fd9137765fe8d85e076146daf4abc.

9 years agoReadme update. String to Regex conversion bugfix.
Shravan Narayan [Fri, 17 May 2013 02:58:23 +0000 (22:58 -0400)] 
Readme update. String to Regex conversion bugfix.

9 years agoReadme update.
Shravan Narayan [Thu, 16 May 2013 18:14:09 +0000 (14:14 -0400)] 
Readme update.
Conflicts:
README.md

9 years agoSupport chrome webstore links. Updated to support new app dir structure.
Shravan Narayan [Sun, 12 May 2013 05:12:14 +0000 (01:12 -0400)] 
Support chrome webstore links. Updated to support new app dir structure.

9 years agoSupport installation of crx files
Shravan Narayan [Fri, 26 Apr 2013 18:39:15 +0000 (14:39 -0400)] 
Support installation of crx files

Conflicts:
www/index.html

9 years agoSome Markdown formatting cleanup.
Braden Shepherdson [Thu, 16 May 2013 19:20:54 +0000 (15:20 -0400)] 
Some Markdown formatting cleanup.

9 years agoSmall UI & code fixes.Test cordova serve apps' config.xml during install
Shravan Narayan [Thu, 16 May 2013 17:56:19 +0000 (13:56 -0400)] 
Small UI & code fixes.Test cordova serve apps' config.xml during install

9 years agoWeinre support.
Shravan Narayan [Sun, 12 May 2013 18:08:38 +0000 (14:08 -0400)] 
Weinre support.

Conflicts:
www/cdvah_js/ContextMenu.js

9 years agoMerge pull request #22 from shravanrn/serve
Braden Shepherdson [Thu, 16 May 2013 18:20:50 +0000 (11:20 -0700)] 
Merge pull request #22 from shravanrn/serve

Add apps hosted by cordova serve + Bugfixes to app installation and ResourcesLoader

9 years agoBugfixes. Extension extraction, Uri encoding during app download. Unzip.
Shravan Narayan [Sun, 12 May 2013 05:11:04 +0000 (01:11 -0400)] 
Bugfixes. Extension extraction, Uri encoding during app download. Unzip.

9 years agoMenu for apps from serve. Menu now in iframe.Priority for startup hooks.
Shravan Narayan [Fri, 10 May 2013 19:50:52 +0000 (15:50 -0400)] 
Menu for apps from serve. Menu now in iframe.Priority for startup hooks.
Cleaned up AngularJS usage.

9 years agoAdd apps hosted by cordova serve. (Context menu not injected into app)
Shravan Narayan [Wed, 8 May 2013 21:52:15 +0000 (17:52 -0400)] 
Add apps hosted by cordova serve. (Context menu not injected into app)

9 years agoMerge pull request #21 from shravanrn/url_alias
Braden Shepherdson [Wed, 8 May 2013 22:04:16 +0000 (15:04 -0700)] 
Merge pull request #21 from shravanrn/url_alias

New filenames. Url aliases (New AppBundle plugin needed). Description continued below.

9 years agoAbsolute url check bug fix
Shravan Narayan [Wed, 8 May 2013 14:56:13 +0000 (10:56 -0400)] 
Absolute url check bug fix

9 years agoNew filenames.Url aliases.(New AppBundle plugin needed).Desc cont below
Shravan Narayan [Tue, 7 May 2013 23:02:01 +0000 (19:02 -0400)] 
New filenames.Url aliases.(New AppBundle plugin needed).Desc cont below
Android has a bug where the web view will not throw intercept events if you are navigating to a location that matches a filename in your bundle. Thus in order to support url aliasing, we need to ensure there is no collision of the running app's(the app running in the harness) filenames and the app harness file names.
Added pre launch hooks that so we can attach things to do before launching an app.
Url Aliasing - support for using bundle directories Eg:"file:///android_asset/www/index.html" in your app.

9 years agoMerge pull request #20 from shravanrn/platform_package_fix
Braden Shepherdson [Fri, 3 May 2013 18:27:04 +0000 (11:27 -0700)] 
Merge pull request #20 from shravanrn/platform_package_fix

Package platform www folders so platforms specific files are picked up.

9 years agoPackage platform www folders so platforms specific files are picked up.
Shravan Narayan [Thu, 2 May 2013 21:31:51 +0000 (17:31 -0400)] 
Package platform www folders so platforms specific files are picked up.

9 years agoMerge pull request #19 from shravanrn/lastModified
Braden Shepherdson [Thu, 2 May 2013 22:04:23 +0000 (15:04 -0700)] 
Merge pull request #19 from shravanrn/lastModified

Display date and time of app installation

9 years agoDisplay date and time of app installation
Shravan Narayan [Thu, 2 May 2013 18:26:47 +0000 (14:26 -0400)] 
Display date and time of app installation

9 years agoMerge pull request #18 from shravanrn/bookmarklets
Braden Shepherdson [Thu, 2 May 2013 21:48:42 +0000 (14:48 -0700)] 
Merge pull request #18 from shravanrn/bookmarklets

Firebug integration.

9 years agoMerge pull request #17 from shravanrn/url_handler
Braden Shepherdson [Thu, 2 May 2013 21:46:06 +0000 (14:46 -0700)] 
Merge pull request #17 from shravanrn/url_handler

Support for custom downloaders.