[jira] [Commented] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349668#comment-14349668
 ] 

ASF subversion and git services commented on CB-8551:
-

Commit 6db73f4afa45106e81cf05eade9f1a50b2f4643c in cordova-lib's branch 
refs/heads/CB-8551 from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6db73f4 ]

CB-8551 bumped cordova-registry-mapper version


 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7747) Extract whitelist functionality into a plugin

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349846#comment-14349846
 ] 

ASF subversion and git services commented on CB-7747:
-

Commit 55be21259467dd892d52b8d15019ca3e112d0b7e in cordova-android's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=55be212 ]

CB-7747 Update default network whitelist to allow for ChromVox scripts


 Extract whitelist functionality into a plugin
 -

 Key: CB-7747
 URL: https://issues.apache.org/jira/browse/CB-7747
 Project: Apache Cordova
  Issue Type: Improvement
Affects Versions: 4.0.0
Reporter: Ian Clelland
Assignee: Ian Clelland

 Mailing list thread: http://markmail.org/message/6jqt5f3t4iio52td
 Also @apache: 
 https://mail-archives.apache.org/mod_mbox/cordova-dev/201407.mbox/%3CCADVgkyNN3EKT4xiRXJFbwMGFhsrVF3kHQRzd3exvb5nW7_GdfA%40mail.gmail.com%3E
 Ideally the network policy is completely removed from Cordova core, and 
 replaced with a small set of plugin hooks so that different kinds of policies 
 can be implemented in different plugins. The current whitelist implementation 
 can be an example plugin provided for backwards-compatibility.
 It should also be possible, once this is removed, to control the webview's 
 network policy with CSP, in most platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8295) Enable CSP for mobilespec

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349874#comment-14349874
 ] 

ASF subversion and git services commented on CB-8295:
-

Commit fc2b29ef4fc0fb01ce0985799b8d1370ca122456 in cordova-app-hello-world's 
branch refs/heads/master from [~agrieve]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;h=fc2b29e 
]

CB-8295 Add content-security-policy `meta` to template


 Enable CSP for mobilespec
 -

 Key: CB-8295
 URL: https://issues.apache.org/jira/browse/CB-8295
 Project: Apache Cordova
  Issue Type: Improvement
  Components: mobile-spec
Affects Versions: Master
Reporter: Jason Chase
Assignee: Jason Chase
 Fix For: Master


 With the work done in CB-8210 and CB-8252, it is now possible to run at least 
 the mobilespec plugin tests under CSP.  Consequently, it makes sense to turn 
 on CSP by default for mobilespec.  This should help ensure there are no 
 regressions in the platform/plugin support for running under CSP.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349678#comment-14349678
 ] 

ASF subversion and git services commented on CB-8551:
-

Commit 6db73f4afa45106e81cf05eade9f1a50b2f4643c in cordova-lib's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6db73f4 ]

CB-8551 bumped cordova-registry-mapper version


 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349680#comment-14349680
 ] 

ASF GitHub Bot commented on CB-8551:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/175


 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-4097) BlackBerry - Unify Whitelist Implemenations

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-4097.
---
Resolution: Won't Fix

Whitelist has changed since this was filed, so closing as no longer relevant.

 BlackBerry - Unify Whitelist Implemenations
 ---

 Key: CB-4097
 URL: https://issues.apache.org/jira/browse/CB-4097
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Affects Versions: 3.0.0
Reporter: Andrew Grieve





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-4093) Unify Whitelist Implementations

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-4093.
---
Resolution: Won't Fix

Whitelist has changed since this was filed, so closing as no longer relevant.

 Unify Whitelist Implementations
 ---

 Key: CB-4093
 URL: https://issues.apache.org/jira/browse/CB-4093
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, BlackBerry, iOS, mobile-spec, OSX, Windows 8, 
 WP8
Affects Versions: 3.0.0
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen
  Labels: core

 ML Discussion: http://callback.markmail.org/thread/lqadhj3uqqtmohka
 Summary:
 Ditch the subdomains=true attribute and standardize on what is described 
 here (minus allowing chrome-extension in the scheme):
 http://developer.chrome.com/extensions/match_patterns.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-7711) URI tel sheme no more supported

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-7711.
---
Resolution: Not a Problem

 URI tel sheme no more supported 
 --

 Key: CB-7711
 URL: https://issues.apache.org/jira/browse/CB-7711
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3
 Environment: Android 
Reporter: Jean-Marc Girard
Priority: Minor

 The tel URL sheme no longer work in 3.6.3 (work fine in 3.4)
 a class=souligne href=tel:+3271316116071 31 61 16/a
 Issue temporary fixed by adding patch in CordovaUriHelper.java
 boolean shouldOverrideUrlLoading(WebView view, String url) {
   
   // If dialing phone (tel:5551212)   $$ JMG 
   if (url.startsWith(WebView.SCHEME_TEL)) {
   try {
   Intent intent = new Intent(Intent.ACTION_DIAL);
   intent.setData(Uri.parse(url));
   
 this.cordova.getActivity().startActivity(intent);
   } catch (android.content.ActivityNotFoundException e) {
   LOG.e(TAG, Error dialing  + url + :  + 
 e.toString());
   }
   }
   
 // Give plugins the chance to handle the url
 if (this.appView.pluginManager.onOverrideUrlLoading(url)) {
 // Do nothing other than what the plugins wanted.
 // If any returned true, then the request was handled.
 return true;
 }
 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-4099) OSX - Unify Whitelist Implemenations

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-4099.
---
Resolution: Won't Fix

Whitelist has changed since this was filed, so closing as no longer relevant.

 OSX - Unify Whitelist Implemenations
 

 Key: CB-4099
 URL: https://issues.apache.org/jira/browse/CB-4099
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: OSX
Affects Versions: 3.0.0
Reporter: Andrew Grieve





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8295) Enable CSP for mobilespec

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349863#comment-14349863
 ] 

ASF subversion and git services commented on CB-8295:
-

Commit aa9b4ff90a575a4d197768beec5930933495875a in cordova-mobile-spec's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=aa9b4ff ]

CB-8295 android: Add chromevox to CSP `meta` so TalkBack works


 Enable CSP for mobilespec
 -

 Key: CB-8295
 URL: https://issues.apache.org/jira/browse/CB-8295
 Project: Apache Cordova
  Issue Type: Improvement
  Components: mobile-spec
Affects Versions: Master
Reporter: Jason Chase
Assignee: Jason Chase
 Fix For: Master


 With the work done in CB-8210 and CB-8252, it is now possible to run at least 
 the mobilespec plugin tests under CSP.  Consequently, it makes sense to turn 
 on CSP by default for mobilespec.  This should help ensure there are no 
 regressions in the platform/plugin support for running under CSP.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349675#comment-14349675
 ] 

ASF subversion and git services commented on CB-8551:
-

Commit 037246eab72b158dff182d83f1b391b3d451913a in cordova-lib's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=037246e ]

CB-8551 updated version of registry mapper and cordova plugin rm code


 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349677#comment-14349677
 ] 

ASF subversion and git services commented on CB-8551:
-

Commit ca395cfe4d9a130302c7ae4f57e189f2cbd9227e in cordova-lib's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=ca395cf ]

CB-8551 fixed jshint errors


 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349676#comment-14349676
 ] 

ASF subversion and git services commented on CB-8551:
-

Commit fc73432fa0cd3842891dbd2bbfc23acdc50a16c0 in cordova-lib's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=fc73432 ]

CB-8551 fixed regex in isValidCprName


 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-7913) Remove whitelist tests from mobile-spec.

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-7913.
---
Resolution: Fixed

They are all passing, so assuming this is done.

 Remove whitelist tests from mobile-spec.
 

 Key: CB-7913
 URL: https://issues.apache.org/jira/browse/CB-7913
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: mobile-spec
Reporter: Ian Clelland
Assignee: Ian Clelland

 The whitelist test plugin in mobilespec can be removed completely, given that 
 the whitelist functionality is being removed from core.
 For now, we can still keep the unit tests for the Whitelist classes, but the 
 tests that actually verify that the access tags are parsed and enforced 
 exactly as in Cordova 3.6 should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-7770) Block List the url

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-7770.
---
Resolution: Fixed

With the new plugin hooks in 4.0.0-dev, it will be possible to block this 
request via a custom plugin (by overriding shouldAllowRequest)

 Block List the url
 --

 Key: CB-7770
 URL: https://issues.apache.org/jira/browse/CB-7770
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, App Hello World, Browser, CordovaLib
Affects Versions: 3.4.0
 Environment: Android sdk, android device
Reporter: Lakshmi
Priority: Minor
  Labels: security

 Blocklist specfic url in Hybrid mobile application (Cordova and Jquery 
 mobile) framework



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-4098) WP7 WP8 - Unify Whitelist Implemenations

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-4098.
---
Resolution: Won't Fix

Whitelist has changed since this was filed, so closing as no longer relevant.

 WP7  WP8 - Unify Whitelist Implemenations
 --

 Key: CB-4098
 URL: https://issues.apache.org/jira/browse/CB-4098
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP8
Affects Versions: 3.0.0
Reporter: Andrew Grieve
Assignee: Jesse MacFadyen





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8552) add toolbar option to android

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349015#comment-14349015
 ] 

ASF GitHub Bot commented on CB-8552:


GitHub user cjpearson opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/87

CB-8552 Add toolbar option for android

This change adds the toolbar option to android. The location property 
determines whether or not the URL is visible while the toolbar property shows 
or hides the entire toolbar.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cjpearson/cordova-plugin-inappbrowser 
android-toolbar

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/87.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #87


commit 6672ee4e9cb804da32c3014d7ab455ae4fe85228
Author: Connor Pearson cjp...@gmail.com
Date:   2015-02-26T14:06:06Z

CB-8552: Add toolbar property to android

commit 36833685330c0ce66cc26ffcd54b91341f99c9bc
Author: Connor Pearson cjp...@gmail.com
Date:   2015-02-26T14:08:23Z

update docs for toolbar option




 add toolbar option to android
 -

 Key: CB-8552
 URL: https://issues.apache.org/jira/browse/CB-8552
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, Plugin InAppBrowser
Reporter: Connor Pearson

 iOS has both the location and toolbar option on the inappbrowser. This allows 
 the user to hide the URL, but still show the browser controls. This fix adds 
 the toolbar option to android. The location property determines whether or 
 not the URL is visible while the toolbar property shows or hides the entire 
 toolbar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-3750) InAppBrowser: Can We Haz Loading Spinner?

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349020#comment-14349020
 ] 

ASF GitHub Bot commented on CB-3750:


GitHub user cjpearson opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/89

CB-3750: Add loading spinner for ios



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cjpearson/cordova-plugin-inappbrowser 
ios-spinner

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/89.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #89


commit 0706240df9ac6e5ac3f73f1dade9c2128e0f711f
Author: Connor Pearson cjp...@gmail.com
Date:   2015-02-27T15:30:05Z

CB-3750: Make spinner visible, center in webview




 InAppBrowser: Can We Haz Loading Spinner?
 -

 Key: CB-3750
 URL: https://issues.apache.org/jira/browse/CB-3750
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
Affects Versions: 2.5.0, 2.6.0, 2.7.0, 2.8.0
 Environment: Android (at least)
Reporter: Lindsey Simon
Priority: Trivial

 I'm using the InAppBrowser to open a Google/Facebook OAuth login screen. In 
 order for that to work it first opens an URL on my server and then redirects 
 to the proper provider endpoint.
 When the internet is slow this results in a pretty lousy user experience as 
 the InAppBrowser doesn't seem to have any loading indicator - which made me 
 think it wasn't working, and then I clicked Done prematurely. I suspect my 
 users will do the same and not try a second time and my app is DOA.
 Am I missing anything here by chance? 
 Any advice on how to get a loading indicator in the least-intrusive way?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-3750) InAppBrowser: Can We Haz Loading Spinner?

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349017#comment-14349017
 ] 

ASF GitHub Bot commented on CB-3750:


GitHub user cjpearson opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/88

CB-3750: Add loading spinner for android



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cjpearson/cordova-plugin-inappbrowser 
android-spinner

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/88.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #88


commit ef4880281d3c9e210226d808bc30e91520fb179d
Author: Connor Pearson cjp...@gmail.com
Date:   2015-02-27T16:35:30Z

CB-3750: Add spinner for android




 InAppBrowser: Can We Haz Loading Spinner?
 -

 Key: CB-3750
 URL: https://issues.apache.org/jira/browse/CB-3750
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
Affects Versions: 2.5.0, 2.6.0, 2.7.0, 2.8.0
 Environment: Android (at least)
Reporter: Lindsey Simon
Priority: Trivial

 I'm using the InAppBrowser to open a Google/Facebook OAuth login screen. In 
 order for that to work it first opens an URL on my server and then redirects 
 to the proper provider endpoint.
 When the internet is slow this results in a pretty lousy user experience as 
 the InAppBrowser doesn't seem to have any loading indicator - which made me 
 think it wasn't working, and then I clicked Done prematurely. I suspect my 
 users will do the same and not try a second time and my app is DOA.
 Am I missing anything here by chance? 
 Any advice on how to get a loading indicator in the least-intrusive way?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8618) Error in data != 0x002A when selecting a picture with Phonegap Camera plugin - Windows Phone

2015-03-05 Thread eeadev (JIRA)
eeadev created CB-8618:
--

 Summary: Error in data != 0x002A when selecting a picture with 
Phonegap Camera plugin - Windows Phone
 Key: CB-8618
 URL: https://issues.apache.org/jira/browse/CB-8618
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib, Plugin Camera
Affects Versions: 3.6.0
 Environment: windows phone 8
Reporter: eeadev


I am porting a cordova app to windows-phone-8. Using the cordova camera plugin 
I am using this function:

function chooseFile() {
navigator.camera.getPicture(onPhotoCaptureSuccess, onPhotoCaptureFail,
{
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
}
); 
}
it opens up my gallery but when I select my picture, it give me this message 
(in the output console):

Error in data != 0x002A
(which is a line code contained in the file ImageExifHelper.cs)

and the image selected is not displayed.

What is going on? How to make it work?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8619) window.requestFileSystem callback hangs on Samsung S3 and S3 mini devices

2015-03-05 Thread Thomas England (JIRA)
Thomas England created CB-8619:
--

 Summary: window.requestFileSystem callback hangs on Samsung S3 and 
S3 mini devices
 Key: CB-8619
 URL: https://issues.apache.org/jira/browse/CB-8619
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Cordova 4.3; Android 4.3; Samsung Galaxy SIII, SIII mini; 
Developed on Windows 8.1 64-bit;
Reporter: Thomas England
Priority: Critical


The callback supplied to the window.requestFileSystem function (success or 
failure) does not fire when using Samsung Galaxy S3s and S3 minis after 
prolonged use of my app. I use window.requestFileSystem as part of a storage 
read function to read saved referential JSONlite data. Initially, it will 
function perfectly normally for calls, returning information as usual. Then 
after several calls and moderately intensive read/write calls, it will hang the 
application and not call the callbacks. Again, this only happens in one 
particular part of the application which requires reading around 15 JSONlite 
data files between a few bytes and 100kb in size. Subsequent functions which 
access the directory files therefore also cannot run.

Running the application and replicating the behaviour with Eclipse LogCat 
Logging activated does not return any obvious errors that would indicate a 
problem.

As I said this happens only for Samsung S3 and S3 minis not on any iOS devices 
or other Android devices (such as S4s, Notes and other devices with superior 
performance).

The application is running the latest version of Cordova (4.3).

Sample snippets are below:

function getFilesystem() {
console.log(FS: Getting file system);
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, 
getWorkingDirectory, fail);
}

function getWorkingDirectory(fileSystem) {
console.log(FS: Got the file system - getting the app directory);
fileSystem.root.getDirectory(app, {create: true, exclusive: false}, 
gotWorkingDirectorySuccess, fail);
}

function gotWorkingDirectorySuccess(dir) {
console.log(FS: Got the directory:  + dir.name);
console.log(FS: Assigning the received directory);
directory = dir;
console.log(FS: Global directory name:  + directory.name);
console.log(FS: Getting the file);
getFile();
}

function fail(error) {
endLoad();
appError('We had some trouble getting some required information. Please 
restart the app and try again.');
}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Assigned] (CB-7201) [FxOS file plugin] Investigate workaround for large files

2015-03-05 Thread Piotr Zalewa (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Zalewa reassigned CB-7201:


Assignee: Piotr Zalewa

 [FxOS file plugin] Investigate workaround for large files
 -

 Key: CB-7201
 URL: https://issues.apache.org/jira/browse/CB-7201
 Project: Apache Cordova
  Issue Type: Improvement
  Components: FirefoxOS
Reporter: Rodrigo Silveira
Assignee: Piotr Zalewa

 On a basic test, a 17mb file failed to be stored. We should investigate 
 splitting file in chunks. Mozilla's High-fidelity podcast app can store 50mb+ 
 files using this workaroud:
 https://github.com/mozilla/high-fidelity/blob/master/app/scripts/models/episode_model.js#L101
 https://github.com/mozilla/high-fidelity/blob/master/app/scripts/models/episode_model.js#L42



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-6894) Support core cordova lifecycle events

2015-03-05 Thread Piotr Zalewa (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348382#comment-14348382
 ] 

Piotr Zalewa commented on CB-6894:
--

specifically pause and resume events should be supported

 Support core cordova lifecycle events
 -

 Key: CB-6894
 URL: https://issues.apache.org/jira/browse/CB-6894
 Project: Apache Cordova
  Issue Type: Improvement
  Components: FirefoxOS
Reporter: Rodrigo Silveira
Assignee: Piotr Zalewa

 Right now we only support *deviceready*, we should add support for other 
 [cordova lifecycle 
 events|http://cordova.apache.org/docs/en/3.5.0/cordova_events_events.md.html#Events]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8448) Add support for activities field in FirefoxOS manifest.webapp

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348399#comment-14348399
 ] 

ASF GitHub Bot commented on CB-8448:


Github user AxelNennker commented on the pull request:

https://github.com/apache/cordova-lib/pull/163#issuecomment-77325833
  
This PR was replaced by #172 


 Add support for activities field in FirefoxOS manifest.webapp
 ---

 Key: CB-8448
 URL: https://issues.apache.org/jira/browse/CB-8448
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 FirefoxOS manifest files allow a richer set of fields than currently 
 supported by firefoxos_parser.js
 https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
 E.g.: activities
 https://developer.mozilla.org/de/Apps/Manifest#activities
 This is needed to e.g. open files of a defined mime type.
 Extend syntax of plugin.xml like e.g.:
 platform name=firefoxos
 config-file target=config.xml parent=/*
 activities
 activity name=open href=./import.html 
 disposition=inline
 filter type=application/wallet-import /
 /activity
 /activities
 /config-file
 /platform
 This results e.g. in
 activities: {
 open: {
 href: ./import.html,
 disposition: inline,
 filters: {
 type: application/wallet-import
 }
 }
 },  
 Lines needed for this in firefoxos_parser.js:
 var activitiesNodes = config.doc.findall('activities');
 activitiesNodes.forEach(function(activitiesNode) {
 var activityNodes = activitiesNode.findall('activity');
 if (activityNodes.length) {
 var activities = {};
 activityNodes.forEach(function (node) {
 var name = node.attrib.name;
 var href = node.attrib.href;
 if (name  href) {
 events.emit('verbose', 'activity name='+name+' 
 href='+href);
 activities[name] = {};
 activities[name].href = href;
 var disposition = node.attrib.disposition;
 if (disposition) {
 activities[name].disposition = disposition;
 }
 activities[name].filters = {};
 var filterNodes = node.findall('filter');
 filterNodes.forEach(function(filter) {
 var type = filter.attrib.type;
 if (type) {
 activities[name].filters.type = type;
 }
 });
 } else {
 events.emit('warn', 'activity without name='+name+'or 
 href='+href);
 }
 });
 manifest.activities = activities;
 }
 });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8448) Add support for activities field in FirefoxOS manifest.webapp

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348400#comment-14348400
 ] 

ASF GitHub Bot commented on CB-8448:


Github user AxelNennker closed the pull request at:

https://github.com/apache/cordova-lib/pull/163


 Add support for activities field in FirefoxOS manifest.webapp
 ---

 Key: CB-8448
 URL: https://issues.apache.org/jira/browse/CB-8448
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 FirefoxOS manifest files allow a richer set of fields than currently 
 supported by firefoxos_parser.js
 https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
 E.g.: activities
 https://developer.mozilla.org/de/Apps/Manifest#activities
 This is needed to e.g. open files of a defined mime type.
 Extend syntax of plugin.xml like e.g.:
 platform name=firefoxos
 config-file target=config.xml parent=/*
 activities
 activity name=open href=./import.html 
 disposition=inline
 filter type=application/wallet-import /
 /activity
 /activities
 /config-file
 /platform
 This results e.g. in
 activities: {
 open: {
 href: ./import.html,
 disposition: inline,
 filters: {
 type: application/wallet-import
 }
 }
 },  
 Lines needed for this in firefoxos_parser.js:
 var activitiesNodes = config.doc.findall('activities');
 activitiesNodes.forEach(function(activitiesNode) {
 var activityNodes = activitiesNode.findall('activity');
 if (activityNodes.length) {
 var activities = {};
 activityNodes.forEach(function (node) {
 var name = node.attrib.name;
 var href = node.attrib.href;
 if (name  href) {
 events.emit('verbose', 'activity name='+name+' 
 href='+href);
 activities[name] = {};
 activities[name].href = href;
 var disposition = node.attrib.disposition;
 if (disposition) {
 activities[name].disposition = disposition;
 }
 activities[name].filters = {};
 var filterNodes = node.findall('filter');
 filterNodes.forEach(function(filter) {
 var type = filter.attrib.type;
 if (type) {
 activities[name].filters.type = type;
 }
 });
 } else {
 events.emit('warn', 'activity without name='+name+'or 
 href='+href);
 }
 });
 manifest.activities = activities;
 }
 });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Assigned] (CB-7823) Building FirefoxOS project creates invalid config.xml

2015-03-05 Thread Piotr Zalewa (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Zalewa reassigned CB-7823:


Assignee: Piotr Zalewa

 Building FirefoxOS project creates invalid config.xml
 -

 Key: CB-7823
 URL: https://issues.apache.org/jira/browse/CB-7823
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, FirefoxOS
Affects Versions: 4.0.0
 Environment: Ubuntu x64 14.04
Reporter: Adam Fónagy
Assignee: Piotr Zalewa

 This is a snippet of my config.xml in the project directory:
 platform name=firefoxos
 icon height=128 src=res/firefoxos/icon128.png width=128 /
 icon height=60 src=res/firefoxos/icon60.png width=60 /
 /platform
 cordova build firefoxos command perpares the config.xml in 
 platforms/firefoxos direcory with icon reltated settings like this:
 platform name=firefoxos
 icon height=128 src=icon/icon-128.png width=128 /
 icon height=60 src=icon/icon-60.png width=60 /
 /platform
 icon height=128 src=res/firefoxos/icon128.png width=128 /
 icon height=60 src=res/firefoxos/icon60.png width=60 /
 When I upload the app to my phone I see the icon is the default cordova icon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8612) Cordova library not created while creating app

2015-03-05 Thread Sharan Rai (JIRA)
Sharan Rai created CB-8612:
--

 Summary: Cordova library not created while creating app
 Key: CB-8612
 URL: https://issues.apache.org/jira/browse/CB-8612
 Project: Apache Cordova
  Issue Type: Test
  Components: Android
Reporter: Sharan Rai
Priority: Critical


Hello 
 i was trying to create an app using cordova  cli ... and i successfully 
created the app with Appname but i cannot find the Appname-CordovaLib with 
that... without that i cannot create my app in eclipse



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Assigned] (CB-6894) Support core cordova lifecycle events

2015-03-05 Thread Piotr Zalewa (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-6894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Zalewa reassigned CB-6894:


Assignee: Piotr Zalewa  (was: Rodrigo Silveira)

 Support core cordova lifecycle events
 -

 Key: CB-6894
 URL: https://issues.apache.org/jira/browse/CB-6894
 Project: Apache Cordova
  Issue Type: Improvement
  Components: FirefoxOS
Reporter: Rodrigo Silveira
Assignee: Piotr Zalewa

 Right now we only support *deviceready*, we should add support for other 
 [cordova lifecycle 
 events|http://cordova.apache.org/docs/en/3.5.0/cordova_events_events.md.html#Events]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-7567) firefox os build compression corrupted certain JPEG files

2015-03-05 Thread Piotr Zalewa (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Zalewa resolved CB-7567.
--
Resolution: Fixed

 firefox os build compression corrupted certain JPEG files
 -

 Key: CB-7567
 URL: https://issues.apache.org/jira/browse/CB-7567
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
 Environment: Cordova 3.5.0-0.2.7, Ionic 1.2.5, Ubuntu 14.04 64-bit
Reporter: Hendy Irawan
 Attachments: Vegetable-Pasta.jpg


 Some image files cannot be compressed properly by {{build firefoxos}}. 
 However, during build there is no error.
 During extraction, these affected files will have 0 byte size.
 For example, unzipping the package.zip will emit following error message:
 {code}
   inflating: recipe_photos/Vegetable-Pasta.jpg  
   error:  invalid compressed data to inflate
creating: templates/
 {code}
 Example file that cannot be compressed is attached.
 Note that the file is correct in 
 {{platforms/firefoxos/www/recipe_photos/Vegetable-Pasta.jpg}}. It's only 
 corrupted inside the ZIP file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8448) Add support for activities field in FirefoxOS manifest.webapp

2015-03-05 Thread Axel Nennker (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348404#comment-14348404
 ] 

Axel Nennker commented on CB-8448:
--

Although PR #172 was merged I would like to keep this issue open because #172 
was only a first step.
#172 implements what I need in one project but does not add full support for 
activities in a Cordoba app's manifest.webapp.

 Add support for activities field in FirefoxOS manifest.webapp
 ---

 Key: CB-8448
 URL: https://issues.apache.org/jira/browse/CB-8448
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 FirefoxOS manifest files allow a richer set of fields than currently 
 supported by firefoxos_parser.js
 https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
 E.g.: activities
 https://developer.mozilla.org/de/Apps/Manifest#activities
 This is needed to e.g. open files of a defined mime type.
 Extend syntax of plugin.xml like e.g.:
 platform name=firefoxos
 config-file target=config.xml parent=/*
 activities
 activity name=open href=./import.html 
 disposition=inline
 filter type=application/wallet-import /
 /activity
 /activities
 /config-file
 /platform
 This results e.g. in
 activities: {
 open: {
 href: ./import.html,
 disposition: inline,
 filters: {
 type: application/wallet-import
 }
 }
 },  
 Lines needed for this in firefoxos_parser.js:
 var activitiesNodes = config.doc.findall('activities');
 activitiesNodes.forEach(function(activitiesNode) {
 var activityNodes = activitiesNode.findall('activity');
 if (activityNodes.length) {
 var activities = {};
 activityNodes.forEach(function (node) {
 var name = node.attrib.name;
 var href = node.attrib.href;
 if (name  href) {
 events.emit('verbose', 'activity name='+name+' 
 href='+href);
 activities[name] = {};
 activities[name].href = href;
 var disposition = node.attrib.disposition;
 if (disposition) {
 activities[name].disposition = disposition;
 }
 activities[name].filters = {};
 var filterNodes = node.findall('filter');
 filterNodes.forEach(function(filter) {
 var type = filter.attrib.type;
 if (type) {
 activities[name].filters.type = type;
 }
 });
 } else {
 events.emit('warn', 'activity without name='+name+'or 
 href='+href);
 }
 });
 manifest.activities = activities;
 }
 });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8590) lengthComputable is always true for transfer.download onprogress event on windows

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348465#comment-14348465
 ] 

ASF subversion and git services commented on CB-8590:
-

Commit 3ff8382929c35aa3a8d8a0d507ae5a01fb714834 in 
cordova-plugin-file-transfer's branch refs/heads/master from [~alsorokin]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=3ff8382
 ]

CB-8590 (Windows) Fixed download.onprogress.lengthComputable

github close #67


 lengthComputable is always true for transfer.download onprogress event on 
 windows
 -

 Key: CB-8590
 URL: https://issues.apache.org/jira/browse/CB-8590
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer, Windows
Reporter: Alexander Sorokin

 When downloading file on WIndows platform, in `onprogress` event 
 `lengthComputable` is always true, whether we know total file size or not.
 it should be set to false when we don't know size of the file being 
 downloaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8448) Add support for activities field in FirefoxOS manifest.webapp

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348359#comment-14348359
 ] 

ASF GitHub Bot commented on CB-8448:


Github user zalun commented on the pull request:

https://github.com/apache/cordova-lib/pull/163#issuecomment-77322965
  
Isn't it already sorted?


 Add support for activities field in FirefoxOS manifest.webapp
 ---

 Key: CB-8448
 URL: https://issues.apache.org/jira/browse/CB-8448
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Axel Nennker

 FirefoxOS manifest files allow a richer set of fields than currently 
 supported by firefoxos_parser.js
 https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
 E.g.: activities
 https://developer.mozilla.org/de/Apps/Manifest#activities
 This is needed to e.g. open files of a defined mime type.
 Extend syntax of plugin.xml like e.g.:
 platform name=firefoxos
 config-file target=config.xml parent=/*
 activities
 activity name=open href=./import.html 
 disposition=inline
 filter type=application/wallet-import /
 /activity
 /activities
 /config-file
 /platform
 This results e.g. in
 activities: {
 open: {
 href: ./import.html,
 disposition: inline,
 filters: {
 type: application/wallet-import
 }
 }
 },  
 Lines needed for this in firefoxos_parser.js:
 var activitiesNodes = config.doc.findall('activities');
 activitiesNodes.forEach(function(activitiesNode) {
 var activityNodes = activitiesNode.findall('activity');
 if (activityNodes.length) {
 var activities = {};
 activityNodes.forEach(function (node) {
 var name = node.attrib.name;
 var href = node.attrib.href;
 if (name  href) {
 events.emit('verbose', 'activity name='+name+' 
 href='+href);
 activities[name] = {};
 activities[name].href = href;
 var disposition = node.attrib.disposition;
 if (disposition) {
 activities[name].disposition = disposition;
 }
 activities[name].filters = {};
 var filterNodes = node.findall('filter');
 filterNodes.forEach(function(filter) {
 var type = filter.attrib.type;
 if (type) {
 activities[name].filters.type = type;
 }
 });
 } else {
 events.emit('warn', 'activity without name='+name+'or 
 href='+href);
 }
 });
 manifest.activities = activities;
 }
 });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8590) lengthComputable is always true for transfer.download onprogress event on windows

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348355#comment-14348355
 ] 

ASF GitHub Bot commented on CB-8590:


GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-file-transfer/pull/67

CB-8590 (Windows) Fixed download.onprogress.lengthComputable

https://issues.apache.org/jira/browse/CB-8590

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer 
CB-8590

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-file-transfer/pull/67.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #67


commit 39336ccf9c669d7929ee28fc0e5329580e389cf9
Author: alsorokin alexander.soro...@akvelon.com
Date:   2015-03-05T07:56:42Z

CB-8590 (Windows) Fixed download.onprogress.lengthComputable




 lengthComputable is always true for transfer.download onprogress event on 
 windows
 -

 Key: CB-8590
 URL: https://issues.apache.org/jira/browse/CB-8590
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer, Windows
Reporter: Alexander Sorokin

 When downloading file on WIndows platform, in `onprogress` event 
 `lengthComputable` is always true, whether we know total file size or not.
 it should be set to false when we don't know size of the file being 
 downloaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8616) 9-patch support doesn't work for default resource

2015-03-05 Thread Connor Pearson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348874#comment-14348874
 ] 

Connor Pearson commented on CB-8616:


Beat me to it. Thanks for the quick fix.

 9-patch support doesn't work for default resource
 -

 Key: CB-8616
 URL: https://issues.apache.org/jira/browse/CB-8616
 Project: Apache Cordova
  Issue Type: Bug
 Environment: cordova lib 4.3, cordova android 3.7.1
Reporter: Connor Pearson
Assignee: Andrew Grieve
Priority: Minor

 Related to CB-7598. The default splash screen resource is copied as 
 screen.png even when the source has the .9.png extension. All other splash 
 screen resources are correctly copied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8498) Camera plugin on windows does not return native URL for photolibrary source

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348748#comment-14348748
 ] 

ASF GitHub Bot commented on CB-8498:


Github user vldmrrr commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/64#discussion_r25863818
  
--- Diff: src/windows/CameraProxy.js ---
@@ -165,7 +165,16 @@ module.exports = {
 
 var storageFolder = 
Windows.Storage.ApplicationData.current.localFolder;
 file.copyAsync(storageFolder, file.name, 
Windows.Storage.NameCollisionOption.replaceExisting).then(function 
(storageFile) {
-
successCallback(URL.createObjectURL(storageFile));
--- End diff --

OK, tested, works, amended commit as suggested


 Camera plugin on windows does not return native URL for photolibrary source
 ---

 Key: CB-8498
 URL: https://issues.apache.org/jira/browse/CB-8498
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.5.0
 Environment: Windows 8.1, platform windows
Reporter: Vladimir Avdonin

 getPicture called with options 
 {
 sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
 destinationType: Camera.DestinationType.NATIVE_URI
 }
 returns blob: URI. Expected to return native file URI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8616) 9-patch support doesn't work for default resource

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348858#comment-14348858
 ] 

ASF subversion and git services commented on CB-8616:
-

Commit 811ad9577c91d09060d9927642b9f0c79d12edc3 in cordova-lib's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=811ad95 ]

CB-8616 Support 9-patch images for default android splashscreen

This also fixes us not deleting splash.9.png files when we should have been.


 9-patch support doesn't work for default resource
 -

 Key: CB-8616
 URL: https://issues.apache.org/jira/browse/CB-8616
 Project: Apache Cordova
  Issue Type: Bug
 Environment: cordova lib 4.3, cordova android 3.7.1
Reporter: Connor Pearson
Priority: Minor

 Related to CB-7598. The default splash screen resource is copied as 
 screen.png even when the source has the .9.png extension. All other splash 
 screen resources are correctly copied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-8616) 9-patch support doesn't work for default resource

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-8616.
---
Resolution: Fixed
  Assignee: Andrew Grieve

fixed in 4.3.1-dev

 9-patch support doesn't work for default resource
 -

 Key: CB-8616
 URL: https://issues.apache.org/jira/browse/CB-8616
 Project: Apache Cordova
  Issue Type: Bug
 Environment: cordova lib 4.3, cordova android 3.7.1
Reporter: Connor Pearson
Assignee: Andrew Grieve
Priority: Minor

 Related to CB-7598. The default splash screen resource is copied as 
 screen.png even when the source has the .9.png extension. All other splash 
 screen resources are correctly copied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8614) [plugin-device-orienatation] Two or more requests to getDeviceHeading freezes the app on wp8.1

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348673#comment-14348673
 ] 

ASF GitHub Bot commented on CB-8614:


GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-device-orientation/pull/18

CB-8614 Fixed getCurrentHeading and watchHeading on windows platform

https://issues.apache.org/jira/browse/CB-8614

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-plugin-device-orientation 
CB-8614

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-device-orientation/pull/18.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #18


commit 3c0f92c50a4ddaae553106d35e46c3b2ae463085
Author: alsorokin alexander.soro...@akvelon.com
Date:   2015-03-05T11:59:53Z

CB-8614 Fixed getCurrentHeading and watchHeading on windows platform




 [plugin-device-orienatation] Two or more requests to getDeviceHeading freezes 
 the app on wp8.1
 --

 Key: CB-8614
 URL: https://issues.apache.org/jira/browse/CB-8614
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Device Orientation, Windows
Reporter: Alexander Sorokin

 The issue can be seen in automatic or manual plugin tests.
 To repro on manual tests, just click Get Compass button twice or more: the 
 app will hang shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-8615) (Windows) .winmd files with the same names are not added properly when using framework tag with target attribute

2015-03-05 Thread Alexander Sorokin (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Sorokin updated CB-8615:
--
Component/s: Windows
 Plugins

 (Windows) .winmd files with the same names are not added properly when using 
 framework tag with target attribute
 

 Key: CB-8615
 URL: https://issues.apache.org/jira/browse/CB-8615
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugins, Windows
Reporter: Alexander Sorokin

 When winmd files referenced by framework tag in plugin.xml have same names, 
 only last one of them will be present in platform directory on plugin install.
 For example,
 {code:title=plugin.xml}
 platform name=windows
 ...
 framework 
 src=src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
  target=phone custom=true/
 framework 
 src=src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
  target=windows custom=true/
 /platform
 {code}
 When we install this plugin for windows platform, only the second winmd file 
 is present in `platforms\windows\plugins\some.plugin.id` directory 
 (apparently, the first lib is being replaced by the second one).
 JIRA item for this feature: [CB-8123]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8615) (Windows) .winmd files with the same names are not added properly when using framework tag with target attribute

2015-03-05 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-8615:
-

 Summary: (Windows) .winmd files with the same names are not added 
properly when using framework tag with target attribute
 Key: CB-8615
 URL: https://issues.apache.org/jira/browse/CB-8615
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Alexander Sorokin


When winmd files referenced by framework tag in plugin.xml have same names, 
only last one of them will be present in platform directory on plugin install.

For example,
{code:title=plugin.xml}
platform name=windows
...
framework 
src=src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd 
target=phone custom=true/
framework 
src=src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
 target=windows custom=true/
/platform
{code}

When we install this plugin for windows platform, only the second winmd file is 
present in `platforms\windows\plugins\some.plugin.id` directory (apparently, 
the first lib is being replaced by the second one).

JIRA item for this feature: [CB-8123]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-8615) (Windows) .winmd files with the same names are not added properly when using framework tag with target attribute

2015-03-05 Thread Alexander Sorokin (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Sorokin updated CB-8615:
--
Description: 
When winmd files referenced by framework tag in plugin.xml have same names, 
only last one of them will be present in platform directory on plugin install.

For example,
{code:title=plugin.xml}
platform name=windows
...
framework 
src=src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd 
target=phone custom=true/
framework 
src=src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
 target=windows custom=true/
/platform
{code}

When we install this plugin for windows platform, only the second winmd file is 
present in `platforms\windows\plugins\some.plugin.id` directory (apparently, 
the first lib is being replaced by the second one).

  was:
When winmd files referenced by framework tag in plugin.xml have same names, 
only last one of them will be present in platform directory on plugin install.

For example,
{code:title=plugin.xml}
platform name=windows
...
framework 
src=src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd 
target=phone custom=true/
framework 
src=src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
 target=windows custom=true/
/platform
{code}

When we install this plugin for windows platform, only the second winmd file is 
present in `platforms\windows\plugins\some.plugin.id` directory (apparently, 
the first lib is being replaced by the second one).

JIRA item for this feature: [CB-8123]


 (Windows) .winmd files with the same names are not added properly when using 
 framework tag with target attribute
 

 Key: CB-8615
 URL: https://issues.apache.org/jira/browse/CB-8615
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugins, Windows
Reporter: Alexander Sorokin

 When winmd files referenced by framework tag in plugin.xml have same names, 
 only last one of them will be present in platform directory on plugin install.
 For example,
 {code:title=plugin.xml}
 platform name=windows
 ...
 framework 
 src=src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
  target=phone custom=true/
 framework 
 src=src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd
  target=windows custom=true/
 /platform
 {code}
 When we install this plugin for windows platform, only the second winmd file 
 is present in `platforms\windows\plugins\some.plugin.id` directory 
 (apparently, the first lib is being replaced by the second one).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8498) Camera plugin on windows does not return native URL for photolibrary source

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348696#comment-14348696
 ] 

ASF GitHub Bot commented on CB-8498:


Github user Bubkastor commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/64#discussion_r25860399
  
--- Diff: src/windows/CameraProxy.js ---
@@ -165,7 +165,16 @@ module.exports = {
 
 var storageFolder = 
Windows.Storage.ApplicationData.current.localFolder;
 file.copyAsync(storageFolder, file.name, 
Windows.Storage.NameCollisionOption.replaceExisting).then(function 
(storageFile) {
-
successCallback(URL.createObjectURL(storageFile));
--- End diff --

Maybe just 
return successCallback(ms-appdata:///local/ + storagefile.name);


 Camera plugin on windows does not return native URL for photolibrary source
 ---

 Key: CB-8498
 URL: https://issues.apache.org/jira/browse/CB-8498
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.5.0
 Environment: Windows 8.1, platform windows
Reporter: Vladimir Avdonin

 getPicture called with options 
 {
 sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
 destinationType: Camera.DestinationType.NATIVE_URI
 }
 returns blob: URI. Expected to return native file URI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8498) Camera plugin on windows does not return native URL for photolibrary source

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348701#comment-14348701
 ] 

ASF GitHub Bot commented on CB-8498:


Github user vldmrrr commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/64#discussion_r25861297
  
--- Diff: src/windows/CameraProxy.js ---
@@ -165,7 +165,16 @@ module.exports = {
 
 var storageFolder = 
Windows.Storage.ApplicationData.current.localFolder;
 file.copyAsync(storageFolder, file.name, 
Windows.Storage.NameCollisionOption.replaceExisting).then(function 
(storageFile) {
-
successCallback(URL.createObjectURL(storageFile));
--- End diff --

Yeah, that should work as well. Just need to test.


 Camera plugin on windows does not return native URL for photolibrary source
 ---

 Key: CB-8498
 URL: https://issues.apache.org/jira/browse/CB-8498
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 3.5.0
 Environment: Windows 8.1, platform windows
Reporter: Vladimir Avdonin

 getPicture called with options 
 {
 sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
 destinationType: Camera.DestinationType.NATIVE_URI
 }
 returns blob: URI. Expected to return native file URI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8590) lengthComputable is always true for transfer.download onprogress event on windows

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348466#comment-14348466
 ] 

ASF GitHub Bot commented on CB-8590:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-file-transfer/pull/67


 lengthComputable is always true for transfer.download onprogress event on 
 windows
 -

 Key: CB-8590
 URL: https://issues.apache.org/jira/browse/CB-8590
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer, Windows
Reporter: Alexander Sorokin

 When downloading file on WIndows platform, in `onprogress` event 
 `lengthComputable` is always true, whether we know total file size or not.
 it should be set to false when we don't know size of the file being 
 downloaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8613) cordova plugin add not working

2015-03-05 Thread Matthew Keable (JIRA)
Matthew Keable created CB-8613:
--

 Summary: cordova plugin add not working
 Key: CB-8613
 URL: https://issues.apache.org/jira/browse/CB-8613
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Matthew Keable
Priority: Critical


It seems that the cordova plugin repository is unable to serve files this 
morning.

Using cordova 4.3.0 I run the command:

cordova plugin add org.apache.cordova.device

and I get the following console output

Fetching plugin org.apache.cordova.device via plugin registry
npm http GET 
http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
npm ERR! fetch failed 
http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
npm http GET 
http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
npm ERR! fetch failed 
http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
npm http GET 
http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
npm ERR! fetch failed 
http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
Error: getaddrinfo EAI_AGAIN
at Object.exports._errnoException (util.js:746:11)
at errnoException (dns.js:49:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:94:26)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8614) [plugin-device-orienatation] Two or more requests to getDeviceHeading freezes the app on wp8.1

2015-03-05 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-8614:
-

 Summary: [plugin-device-orienatation] Two or more requests to 
getDeviceHeading freezes the app on wp8.1
 Key: CB-8614
 URL: https://issues.apache.org/jira/browse/CB-8614
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Device Orientation, Windows
Reporter: Alexander Sorokin


The issue can be seen in automatic or manual plugin tests.

To repro on manual tests, just click Get Compass button twice or more: the 
app will hang shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-8613) cordova plugin add not working

2015-03-05 Thread Matthew Keable (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthew Keable closed CB-8613.
--
Resolution: Cannot Reproduce

Looks like iriscouch was down for an extended time this morning.

Everything appears to be working normally now.

 cordova plugin add not working
 --

 Key: CB-8613
 URL: https://issues.apache.org/jira/browse/CB-8613
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Matthew Keable
Priority: Critical

 It seems that the cordova plugin repository is unable to serve files this 
 morning.
 Using cordova 4.3.0 I run the command:
 cordova plugin add org.apache.cordova.device
 and I get the following console output
 Fetching plugin org.apache.cordova.device via plugin registry
 npm http GET 
 http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
 npm ERR! fetch failed 
 http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
 npm http GET 
 http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
 npm ERR! fetch failed 
 http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
 npm http GET 
 http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
 npm ERR! fetch failed 
 http://cordova.iriscouch.com/registry/_design/app/_rewrite/org.apache.cordova.device/-/org.apache.cordova.device-0.3.0.tgz
 Error: getaddrinfo EAI_AGAIN
 at Object.exports._errnoException (util.js:746:11)
 at errnoException (dns.js:49:15)
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:94:26)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8616) 9-patch support doesn't work for default resource

2015-03-05 Thread Connor Pearson (JIRA)
Connor Pearson created CB-8616:
--

 Summary: 9-patch support doesn't work for default resource
 Key: CB-8616
 URL: https://issues.apache.org/jira/browse/CB-8616
 Project: Apache Cordova
  Issue Type: Bug
 Environment: cordova lib 4.3, cordova android 3.7.1
Reporter: Connor Pearson
Priority: Minor


Related to CB-7598. The default splash screen resource is copied as screen.png 
even when the source has the .9.png extension. All other splash screen 
resources are correctly copied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-8617) Deprecate plugin

2015-03-05 Thread sandstrom (JIRA)
sandstrom created CB-8617:
-

 Summary: Deprecate plugin
 Key: CB-8617
 URL: https://issues.apache.org/jira/browse/CB-8617
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Globalization
Affects Versions: 3.5.0
Reporter: sandstrom


Perhaps it would make sense to deprecate this plugin, since it provides things 
that can be solved within Javascript. Efforts can be concentrated on the 
plugins that bridge native and JS.

http://formatjs.io/

(to be clear, I'm an avoid Cordova user, just that this seems tangential)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-8547) Whitelist tests fail on Android

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-8547.
---
Resolution: Fixed
  Assignee: Andrew Grieve

They now work as of c614ad4c8e76989aa1e4ba16

 Whitelist tests fail on Android
 ---

 Key: CB-8547
 URL: https://issues.apache.org/jira/browse/CB-8547
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Reporter: Alexander Sorokin
Assignee: Andrew Grieve

 Whitelist and file-transfer tests failures have appeared after recent changes 
 to Android platform.
 Whitelist tests fail with message Expected spy to have been called with 
 ['true'] but actual calls were ['false']
 File transfer tests fail with message expected spy httpFail not to be 
 called.
 It looks like any http request returns 404 code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-8530) New Whitelisting Broken on Android

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-8530.
---
Resolution: Fixed
  Assignee: Andrew Grieve

I believe whitelisting on master to be all fixed up now. Requires a plugin:

https://github.com/apache/cordova-plugins/tree/master/whitelist

 New Whitelisting Broken on Android
 --

 Key: CB-8530
 URL: https://issues.apache.org/jira/browse/CB-8530
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, mobile-spec, Plugins
Affects Versions: Master
 Environment: Android on Windows broken. Android on OS X unverified.
Reporter: Dmitry Blotsky
Assignee: Andrew Grieve
Priority: Critical
  Labels: android
 Attachments: cb-8530-repro.zip, whitelist-error.png

   Original Estimate: 24h
  Remaining Estimate: 24h

 With or without the mobilespec whitelist app, whitelisting does not work on 
 Android on Windows (OS X not yet tested). An expected plugin object is 
 {{null}} in {{entryMap}}, when it should not be.
 Screenshot and minimal app to reproduce attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Resolved] (CB-8551) Setup fetching from npm as fallback

2015-03-05 Thread Steve Gill (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill resolved CB-8551.

Resolution: Fixed

 Setup fetching from npm as fallback
 ---

 Key: CB-8551
 URL: https://issues.apache.org/jira/browse/CB-8551
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Steve Gill
Assignee: Steve Gill





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7747) Extract whitelist functionality into a plugin

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349896#comment-14349896
 ] 

ASF subversion and git services commented on CB-7747:
-

Commit 26c6f763e4bf4f33e7d121dd8d4e405c8218267e in cordova-lib's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=26c6f76 ]

CB-7747 Add `allow-intent`s to default template


 Extract whitelist functionality into a plugin
 -

 Key: CB-7747
 URL: https://issues.apache.org/jira/browse/CB-7747
 Project: Apache Cordova
  Issue Type: Improvement
Affects Versions: 4.0.0
Reporter: Ian Clelland
Assignee: Ian Clelland

 Mailing list thread: http://markmail.org/message/6jqt5f3t4iio52td
 Also @apache: 
 https://mail-archives.apache.org/mod_mbox/cordova-dev/201407.mbox/%3CCADVgkyNN3EKT4xiRXJFbwMGFhsrVF3kHQRzd3exvb5nW7_GdfA%40mail.gmail.com%3E
 Ideally the network policy is completely removed from Cordova core, and 
 replaced with a small set of plugin hooks so that different kinds of policies 
 can be implemented in different plugins. The current whitelist implementation 
 can be an example plugin provided for backwards-compatibility.
 It should also be possible, once this is removed, to control the webview's 
 network policy with CSP, in most platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7747) Extract whitelist functionality into a plugin

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349910#comment-14349910
 ] 

ASF subversion and git services commented on CB-7747:
-

Commit 4f02fcae9f1f05ef6efbb46705ee915e5460793f in cordova-ios's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4f02fca ]

CB-7747 Update project template with new whitelist settings


 Extract whitelist functionality into a plugin
 -

 Key: CB-7747
 URL: https://issues.apache.org/jira/browse/CB-7747
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, iOS
Affects Versions: 4.0.0
Reporter: Ian Clelland
Assignee: Ian Clelland

 Mailing list thread: http://markmail.org/message/6jqt5f3t4iio52td
 Also @apache: 
 https://mail-archives.apache.org/mod_mbox/cordova-dev/201407.mbox/%3CCADVgkyNN3EKT4xiRXJFbwMGFhsrVF3kHQRzd3exvb5nW7_GdfA%40mail.gmail.com%3E
 Ideally the network policy is completely removed from Cordova core, and 
 replaced with a small set of plugin hooks so that different kinds of policies 
 can be implemented in different plugins. The current whitelist implementation 
 can be an example plugin provided for backwards-compatibility.
 It should also be possible, once this is removed, to control the webview's 
 network policy with CSP, in most platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-7747) Extract whitelist functionality into a plugin

2015-03-05 Thread Andrew Grieve (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve updated CB-7747:
--
Component/s: iOS
 Android

 Extract whitelist functionality into a plugin
 -

 Key: CB-7747
 URL: https://issues.apache.org/jira/browse/CB-7747
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, iOS
Affects Versions: 4.0.0
Reporter: Ian Clelland
Assignee: Ian Clelland

 Mailing list thread: http://markmail.org/message/6jqt5f3t4iio52td
 Also @apache: 
 https://mail-archives.apache.org/mod_mbox/cordova-dev/201407.mbox/%3CCADVgkyNN3EKT4xiRXJFbwMGFhsrVF3kHQRzd3exvb5nW7_GdfA%40mail.gmail.com%3E
 Ideally the network policy is completely removed from Cordova core, and 
 replaced with a small set of plugin hooks so that different kinds of policies 
 can be implemented in different plugins. The current whitelist implementation 
 can be an example plugin provided for backwards-compatibility.
 It should also be possible, once this is removed, to control the webview's 
 network policy with CSP, in most platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-8586) Update ios-deploy minimum version to 1.4.0

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349919#comment-14349919
 ] 

ASF subversion and git services commented on CB-8586:
-

Commit 43fe56afbf59e7bdda763864ad7a30b3c48c403a in cordova-ios's branch 
refs/heads/4.0.x from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=43fe56a ]

CB-8586 - Update ios-deploy minimum version to 1.4.0


 Update ios-deploy minimum version to 1.4.0
 --

 Key: CB-8586
 URL: https://issues.apache.org/jira/browse/CB-8586
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.8.0
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
 Fix For: 4.0.0


 For cordova-ios 3.8.0, you can't deploy to device unless you have ios-deploy 
 1.4.0
 See: https://github.com/phonegap/ios-deploy/issues/105



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7747) Extract whitelist functionality into a plugin

2015-03-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14349920#comment-14349920
 ] 

ASF subversion and git services commented on CB-7747:
-

Commit 4f02fcae9f1f05ef6efbb46705ee915e5460793f in cordova-ios's branch 
refs/heads/4.0.x from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4f02fca ]

CB-7747 Update project template with new whitelist settings


 Extract whitelist functionality into a plugin
 -

 Key: CB-7747
 URL: https://issues.apache.org/jira/browse/CB-7747
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, iOS
Affects Versions: 4.0.0
Reporter: Ian Clelland
Assignee: Ian Clelland

 Mailing list thread: http://markmail.org/message/6jqt5f3t4iio52td
 Also @apache: 
 https://mail-archives.apache.org/mod_mbox/cordova-dev/201407.mbox/%3CCADVgkyNN3EKT4xiRXJFbwMGFhsrVF3kHQRzd3exvb5nW7_GdfA%40mail.gmail.com%3E
 Ideally the network policy is completely removed from Cordova core, and 
 replaced with a small set of plugin hooks so that different kinds of policies 
 can be implemented in different plugins. The current whitelist implementation 
 can be an example plugin provided for backwards-compatibility.
 It should also be possible, once this is removed, to control the webview's 
 network policy with CSP, in most platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org