[jira] [Updated] (CB-4026) config.xml whitelist not respected in android

2013-06-26 Thread Dan Moore (JIRA)

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

Dan Moore updated CB-4026:
--

Attachment: index.js

This is the index.js that makes a super simple call to an outside network 
resource that should be blocked by www/config.xml settings.

> config.xml whitelist not respected in android
> -
>
> Key: CB-4026
> URL: https://issues.apache.org/jira/browse/CB-4026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 2.9.0
> Environment: $ cordova -v
> 2.9.0
> $ npm -v
> 1.3.1
> Centos 6
>Reporter: Dan Moore
>Assignee: Filip Maj
> Attachments: index.js
>
>
> I can create a sample application and change the whitelist to restrict the 
> host, but the app in the emulator can still access other hosts.
> To replicate: 
> * cordova create Bar1; cd Bar1; cordova platforms add android; 
> * edit the access line in www/config.xml to be ' />'
> * update index.js to be the file attached.
> * build and deploy the app to the emulator
> Expected: 
> no network access will be allowed
> Reality:
> you see a console.log line (via adb logcat) with XML text in it
> I tested this in my android 2.3.3 emulator.  I googled for 'android emulator 
> ignores whitelist phonegap' but didn't see anything relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4026) config.xml whitelist not respected in android

2013-06-26 Thread Dan Moore (JIRA)
Dan Moore created CB-4026:
-

 Summary: config.xml whitelist not respected in android
 Key: CB-4026
 URL: https://issues.apache.org/jira/browse/CB-4026
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.9.0
 Environment: $ cordova -v
2.9.0
$ npm -v
1.3.1

Centos 6

Reporter: Dan Moore
Assignee: Filip Maj


I can create a sample application and change the whitelist to restrict the 
host, but the app in the emulator can still access other hosts.

To replicate: 
* cordova create Bar1; cd Bar1; cordova platforms add android; 
* edit the access line in www/config.xml to be ''
* update index.js to be the file attached.
* build and deploy the app to the emulator

Expected: 
no network access will be allowed

Reality:
you see a console.log line (via adb logcat) with XML text in it

I tested this in my android 2.3.3 emulator.  I googled for 'android emulator 
ignores whitelist phonegap' but didn't see anything relevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4025) iOS emulate command broken

2013-06-26 Thread Ross Gerbasi (JIRA)
Ross Gerbasi created CB-4025:


 Summary: iOS emulate command broken
 Key: CB-4025
 URL: https://issues.apache.org/jira/browse/CB-4025
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.9.0
 Environment: OSX
Reporter: Ross Gerbasi
Assignee: Shazron Abdullah


the emulate script in the project/cordova is broken.

line 35 currently reads 
APP_PATH=${1:-$PROJECT_PATH/build/$(xcodebuild -project $PROJECT_NAME.xcodeproj 
-arch i386 -target $PROJECT_NAME -configuration Debug -sdk $SDK 
-showBuildSettings | grep FULL_PRODUCT_NAME | awk -F ' = ' '{print $2}')}

Fix is simple change this line to this
APP_PATH=${1:-$PROJECT_PATH/build/$(xcodebuild -project 
$PROJECT_PATH/$PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME 
-configuration Debug -sdk $SDK -showBuildSettings | grep FULL_PRODUCT_NAME | 
awk -F ' = ' '{print $2}')}

emulate is not able to find the xcode project without the path.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4024) About url-filter Feature

2013-06-26 Thread JIRA
胡争辉 created CB-4024:
---

 Summary: About url-filter Feature
 Key: CB-4024
 URL: https://issues.apache.org/jira/browse/CB-4024
 Project: Apache Cordova
  Issue Type: Wish
  Components: Android, Plugman
Affects Versions: 2.8.0
Reporter: 胡争辉
Assignee: Joe Bowser
Priority: Trivial


I noticed there is a comment in 
framework/src/org/apache/cordova/api/PluginManager.java Line 131 :

// What is this?

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/src/org/apache/cordova/api/PluginManager.java;h=0a42b3abd2fc9c684728dbbdeb0cc62cd335c2b3;hb=HEAD#l131

So I review the relative code. After a few hour, I find this code works:

In config.xml






In class com.daonao.test4.UrlFilter

@Override
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public WebResourceResponse shouldInterceptRequest(String url) {
ByteArrayInputStream stream = new ByteArrayInputStream(url.getBytes());
return new WebResourceResponse("text/plain", "UTF-8", stream);
}

I am not sure these code is the right way, but it works now for me.
For your information.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4023) Can't install version 2.9.0 of cli

2013-06-26 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694428#comment-13694428
 ] 

Filip Maj commented on CB-4023:
---

Good to know it worked for you.

> Can't install version 2.9.0 of cli
> --
>
> Key: CB-4023
> URL: https://issues.apache.org/jira/browse/CB-4023
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 2.0.0
> Environment: npm 1.3.3, node 0.10.10
>Reporter: Dan Moore
>Assignee: Filip Maj
>
> I ran 
> npm remove -g cordova
> npm install -g cordova
> And I get this error message:
> ...
> npm http 304 https://registry.npmjs.org/express
> npm http GET https://registry.npmjs.org/elementtree/-/elementtree-0.1.3.tgz
> npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0.tgz
> npm ERR! TypeError: Invalid Version: 3.0.0alpha1
> npm ERR! at new SemVer 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:257:11)
> npm ERR! at SemVer.compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:296:13)
> npm ERR! at compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:410:31)
> npm ERR! at rcompare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:420:10)
> npm ERR! at Array.sort (native)
> npm ERR! at Function.maxSatisfying 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:838:6)
> npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:699:21)
> npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:678:5
> npm ERR! at saved 
> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
> npm ERR! at Object.oncomplete (fs.js:107:15)
> npm ERR! If you need help, you may report this log at:
> npm ERR! 
> npm ERR! or email it to:
> npm ERR! 
> npm ERR! System Linux 2.6.32-358.6.2.el6.x86_64
> npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
> npm ERR! cwd /home/mooreds
> npm ERR! node -v v0.10.10
> npm ERR! npm -v 1.3.1
> npm http GET https://registry.npmjs.org/plist/-/plist-0.4.3.tgz
> ...
> Looking in npm-debug.log, I see:
> 593 silly lockFile 83d909f9-glob-3-2-1 glob@3.2.1
> 594 verbose lock glob@3.2.1 /home/mooreds/.npm/83d909f9-glob-3-2-1.lock
> 595 silly addNameRange number 2 { name: 'express', range: '>=3.0.0-0 
> <3.1.0-0', hasData: true }
> 596 silly addNameRange versions [ 'express',
> 596 silly addNameRange   [ '0.14.0',
> 596 silly addNameRange '0.14.1',
> 596 silly addNameRange '1.0.0beta',
> 596 silly addNameRange '1.0.0beta2',
> 596 silly addNameRange '1.0.0rc',
> 596 silly addNameRange '1.0.0rc2',
> 596 silly addNameRange '1.0.0rc3',
> 596 silly addNameRange '1.0.0rc4',
> 596 silly addNameRange '1.0.0',
> 596 silly addNameRange '1.0.1',
> 596 silly addNameRange '1.0.2',
> 596 silly addNameRange '1.0.3',
> 596 silly addNameRange '1.0.4',
> 596 silly addNameRange '1.0.5',
> 596 silly addNameRange '1.0.6',
> 596 silly addNameRange '1.0.7',
> 596 silly addNameRange '2.0.0beta',
> 596 silly addNameRange '1.0.8',
> 596 silly addNameRange '2.0.0beta2',
> 596 silly addNameRange '2.0.0beta3',
> 596 silly addNameRange '2.0.0rc',
> 596 silly addNameRange '2.0.0rc2',
> 596 silly addNameRange '2.0.0rc3',
> 596 silly addNameRange '2.0.0',
> 596 silly addNameRange '2.1.0',
> 596 silly addNameRange '2.1.1',
> 596 silly addNameRange '2.2.0',
> 596 silly addNameRange '2.2.1',
> 596 silly addNameRange '2.2.2',
> 596 silly addNameRange '2.3.0',
> 596 silly addNameRange '2.3.1',
> 596 silly addNameRange '2.3.2',
> 596 silly addNameRange '2.3.3',
> 596 silly addNameRange '2.3.4',
> 596 silly addNameRange '2.3.5',
> 596 silly addNameRange '2.3.6',
> 596 silly addNameRange '2.3.7',
> 596 silly addNameRange '2.3.8',
> 596 silly addNameRange '2.3.9',
> 596 silly addNameRange '2.3.10',
> 596 silly addNameRange '2.3.11',
> 596 silly addNameRange '2.3.12',
> 596 silly addNameRange '2.4.0',
> 596 silly addNameRange '2.4.1',
> 596 silly addNameRange '2.4.2',
> 596 silly addNameRange '2.4.3',
> 596 silly addNameRange '2.4.4',
> 596 silly addNameRange '2.4.5',
> 596 silly addNameRange '2.4.6',
> 596 silly addNameRange '2.4.7',
> 596 silly addNameRange '2.5.0',
> 596 silly addNameRange '2.5.1',
> 596 silly addNameRange '2.5.2',
> 596 silly addNameRange '2.5.3',
> 596 silly addNameRange '2.5.4',
> 596 silly addNameRange '2.5.5',
> 596 silly addNameRange '2.5.6',
> 596 silly addNameRange '2.5.7',
> 596 silly addNameRange '2.5.8',
> 596 silly addNameRange '2.5.9',
> 596 silly addNameRang

[jira] [Resolved] (CB-3981) Release Cordova 2.9.0

2013-06-26 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-3981.
---

   Resolution: Fixed
Fix Version/s: 2.9.0

> Release Cordova 2.9.0
> -
>
> Key: CB-3981
> URL: https://issues.apache.org/jira/browse/CB-3981
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
> Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
>Reporter: Andrew Grieve
>Assignee: Steve Gill
> Fix For: 2.9.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4023) Can't install version 2.9.0 of cli

2013-06-26 Thread Dan Moore (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694427#comment-13694427
 ] 

Dan Moore commented on CB-4023:
---

I also ran npm cache clean but that seemed to make no difference.  I downgraded 
npm to 1.3.0 and that made no difference.  Upgraded node to 0.10.12 and back to 
npm 1.3.1 and that seemed to work.

> Can't install version 2.9.0 of cli
> --
>
> Key: CB-4023
> URL: https://issues.apache.org/jira/browse/CB-4023
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 2.0.0
> Environment: npm 1.3.3, node 0.10.10
>Reporter: Dan Moore
>Assignee: Filip Maj
>
> I ran 
> npm remove -g cordova
> npm install -g cordova
> And I get this error message:
> ...
> npm http 304 https://registry.npmjs.org/express
> npm http GET https://registry.npmjs.org/elementtree/-/elementtree-0.1.3.tgz
> npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0.tgz
> npm ERR! TypeError: Invalid Version: 3.0.0alpha1
> npm ERR! at new SemVer 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:257:11)
> npm ERR! at SemVer.compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:296:13)
> npm ERR! at compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:410:31)
> npm ERR! at rcompare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:420:10)
> npm ERR! at Array.sort (native)
> npm ERR! at Function.maxSatisfying 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:838:6)
> npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:699:21)
> npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:678:5
> npm ERR! at saved 
> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
> npm ERR! at Object.oncomplete (fs.js:107:15)
> npm ERR! If you need help, you may report this log at:
> npm ERR! 
> npm ERR! or email it to:
> npm ERR! 
> npm ERR! System Linux 2.6.32-358.6.2.el6.x86_64
> npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
> npm ERR! cwd /home/mooreds
> npm ERR! node -v v0.10.10
> npm ERR! npm -v 1.3.1
> npm http GET https://registry.npmjs.org/plist/-/plist-0.4.3.tgz
> ...
> Looking in npm-debug.log, I see:
> 593 silly lockFile 83d909f9-glob-3-2-1 glob@3.2.1
> 594 verbose lock glob@3.2.1 /home/mooreds/.npm/83d909f9-glob-3-2-1.lock
> 595 silly addNameRange number 2 { name: 'express', range: '>=3.0.0-0 
> <3.1.0-0', hasData: true }
> 596 silly addNameRange versions [ 'express',
> 596 silly addNameRange   [ '0.14.0',
> 596 silly addNameRange '0.14.1',
> 596 silly addNameRange '1.0.0beta',
> 596 silly addNameRange '1.0.0beta2',
> 596 silly addNameRange '1.0.0rc',
> 596 silly addNameRange '1.0.0rc2',
> 596 silly addNameRange '1.0.0rc3',
> 596 silly addNameRange '1.0.0rc4',
> 596 silly addNameRange '1.0.0',
> 596 silly addNameRange '1.0.1',
> 596 silly addNameRange '1.0.2',
> 596 silly addNameRange '1.0.3',
> 596 silly addNameRange '1.0.4',
> 596 silly addNameRange '1.0.5',
> 596 silly addNameRange '1.0.6',
> 596 silly addNameRange '1.0.7',
> 596 silly addNameRange '2.0.0beta',
> 596 silly addNameRange '1.0.8',
> 596 silly addNameRange '2.0.0beta2',
> 596 silly addNameRange '2.0.0beta3',
> 596 silly addNameRange '2.0.0rc',
> 596 silly addNameRange '2.0.0rc2',
> 596 silly addNameRange '2.0.0rc3',
> 596 silly addNameRange '2.0.0',
> 596 silly addNameRange '2.1.0',
> 596 silly addNameRange '2.1.1',
> 596 silly addNameRange '2.2.0',
> 596 silly addNameRange '2.2.1',
> 596 silly addNameRange '2.2.2',
> 596 silly addNameRange '2.3.0',
> 596 silly addNameRange '2.3.1',
> 596 silly addNameRange '2.3.2',
> 596 silly addNameRange '2.3.3',
> 596 silly addNameRange '2.3.4',
> 596 silly addNameRange '2.3.5',
> 596 silly addNameRange '2.3.6',
> 596 silly addNameRange '2.3.7',
> 596 silly addNameRange '2.3.8',
> 596 silly addNameRange '2.3.9',
> 596 silly addNameRange '2.3.10',
> 596 silly addNameRange '2.3.11',
> 596 silly addNameRange '2.3.12',
> 596 silly addNameRange '2.4.0',
> 596 silly addNameRange '2.4.1',
> 596 silly addNameRange '2.4.2',
> 596 silly addNameRange '2.4.3',
> 596 silly addNameRange '2.4.4',
> 596 silly addNameRange '2.4.5',
> 596 silly addNameRange '2.4.6',
> 596 silly addNameRange '2.4.7',
> 596 silly addNameRange '2.5.0',
> 596 silly addNameRange '2.5.1',
> 596 silly addNameRange '2.5.2',
> 596 silly addNameRange '2.5.3',
> 596 silly addNameRange '2.5.4',
> 596 silly addNameRange '2.5.5',
> 596 sill

[jira] [Resolved] (CB-3989) Announce Release

2013-06-26 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-3989.
---

   Resolution: Fixed
Fix Version/s: 2.9.0

> Announce Release
> 
>
> Key: CB-3989
> URL: https://issues.apache.org/jira/browse/CB-3989
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
> Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
>Reporter: Andrew Grieve
>Assignee: Steve Gill
> Fix For: 2.9.0
>
>
> 1. Post to d...@cordova.apache.org
> 2. Post to annou...@apache.org
> 3. Tweet it on https://twitter.com/apachecordova
> 4. Blogs?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4023) Can't install version 2.9.0 of cli

2013-06-26 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-4023.
---

Resolution: Cannot Reproduce

For the record I can install {{cordova}} globally without issue.

My node + npm versions are:

{code}
fil-MacBookAir:src fil$ npm -v
1.2.32
fil-MacBookAir:src fil$ node -v
v0.10.12
{code}

> Can't install version 2.9.0 of cli
> --
>
> Key: CB-4023
> URL: https://issues.apache.org/jira/browse/CB-4023
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 2.0.0
> Environment: npm 1.3.3, node 0.10.10
>Reporter: Dan Moore
>Assignee: Filip Maj
>
> I ran 
> npm remove -g cordova
> npm install -g cordova
> And I get this error message:
> ...
> npm http 304 https://registry.npmjs.org/express
> npm http GET https://registry.npmjs.org/elementtree/-/elementtree-0.1.3.tgz
> npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0.tgz
> npm ERR! TypeError: Invalid Version: 3.0.0alpha1
> npm ERR! at new SemVer 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:257:11)
> npm ERR! at SemVer.compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:296:13)
> npm ERR! at compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:410:31)
> npm ERR! at rcompare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:420:10)
> npm ERR! at Array.sort (native)
> npm ERR! at Function.maxSatisfying 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:838:6)
> npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:699:21)
> npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:678:5
> npm ERR! at saved 
> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
> npm ERR! at Object.oncomplete (fs.js:107:15)
> npm ERR! If you need help, you may report this log at:
> npm ERR! 
> npm ERR! or email it to:
> npm ERR! 
> npm ERR! System Linux 2.6.32-358.6.2.el6.x86_64
> npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
> npm ERR! cwd /home/mooreds
> npm ERR! node -v v0.10.10
> npm ERR! npm -v 1.3.1
> npm http GET https://registry.npmjs.org/plist/-/plist-0.4.3.tgz
> ...
> Looking in npm-debug.log, I see:
> 593 silly lockFile 83d909f9-glob-3-2-1 glob@3.2.1
> 594 verbose lock glob@3.2.1 /home/mooreds/.npm/83d909f9-glob-3-2-1.lock
> 595 silly addNameRange number 2 { name: 'express', range: '>=3.0.0-0 
> <3.1.0-0', hasData: true }
> 596 silly addNameRange versions [ 'express',
> 596 silly addNameRange   [ '0.14.0',
> 596 silly addNameRange '0.14.1',
> 596 silly addNameRange '1.0.0beta',
> 596 silly addNameRange '1.0.0beta2',
> 596 silly addNameRange '1.0.0rc',
> 596 silly addNameRange '1.0.0rc2',
> 596 silly addNameRange '1.0.0rc3',
> 596 silly addNameRange '1.0.0rc4',
> 596 silly addNameRange '1.0.0',
> 596 silly addNameRange '1.0.1',
> 596 silly addNameRange '1.0.2',
> 596 silly addNameRange '1.0.3',
> 596 silly addNameRange '1.0.4',
> 596 silly addNameRange '1.0.5',
> 596 silly addNameRange '1.0.6',
> 596 silly addNameRange '1.0.7',
> 596 silly addNameRange '2.0.0beta',
> 596 silly addNameRange '1.0.8',
> 596 silly addNameRange '2.0.0beta2',
> 596 silly addNameRange '2.0.0beta3',
> 596 silly addNameRange '2.0.0rc',
> 596 silly addNameRange '2.0.0rc2',
> 596 silly addNameRange '2.0.0rc3',
> 596 silly addNameRange '2.0.0',
> 596 silly addNameRange '2.1.0',
> 596 silly addNameRange '2.1.1',
> 596 silly addNameRange '2.2.0',
> 596 silly addNameRange '2.2.1',
> 596 silly addNameRange '2.2.2',
> 596 silly addNameRange '2.3.0',
> 596 silly addNameRange '2.3.1',
> 596 silly addNameRange '2.3.2',
> 596 silly addNameRange '2.3.3',
> 596 silly addNameRange '2.3.4',
> 596 silly addNameRange '2.3.5',
> 596 silly addNameRange '2.3.6',
> 596 silly addNameRange '2.3.7',
> 596 silly addNameRange '2.3.8',
> 596 silly addNameRange '2.3.9',
> 596 silly addNameRange '2.3.10',
> 596 silly addNameRange '2.3.11',
> 596 silly addNameRange '2.3.12',
> 596 silly addNameRange '2.4.0',
> 596 silly addNameRange '2.4.1',
> 596 silly addNameRange '2.4.2',
> 596 silly addNameRange '2.4.3',
> 596 silly addNameRange '2.4.4',
> 596 silly addNameRange '2.4.5',
> 596 silly addNameRange '2.4.6',
> 596 silly addNameRange '2.4.7',
> 596 silly addNameRange '2.5.0',
> 596 silly addNameRange '2.5.1',
> 596 silly addNameRange '2.5.2',
> 596 silly addNameRange '2.5.3',
> 596 silly addNameRange '2.5.4',
> 596 silly addNameRange '2.5.5',
> 596 silly addNameRange '2.5.6',
> 

[jira] [Commented] (CB-4023) Can't install version 2.9.0 of cli

2013-06-26 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694424#comment-13694424
 ] 

Filip Maj commented on CB-4023:
---

That is weird. It looks like a semantic versioning check via {{npm}} is failing 
for express. The fact that you see the same issue when installing express 
independently seems to corroborate that.

This is one of those rare cases where I suggest [submitting the issue to npm's 
repository|http://github.com/isaacs/npm/issues]. 

> Can't install version 2.9.0 of cli
> --
>
> Key: CB-4023
> URL: https://issues.apache.org/jira/browse/CB-4023
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 2.0.0
> Environment: npm 1.3.3, node 0.10.10
>Reporter: Dan Moore
>Assignee: Filip Maj
>
> I ran 
> npm remove -g cordova
> npm install -g cordova
> And I get this error message:
> ...
> npm http 304 https://registry.npmjs.org/express
> npm http GET https://registry.npmjs.org/elementtree/-/elementtree-0.1.3.tgz
> npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0.tgz
> npm ERR! TypeError: Invalid Version: 3.0.0alpha1
> npm ERR! at new SemVer 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:257:11)
> npm ERR! at SemVer.compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:296:13)
> npm ERR! at compare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:410:31)
> npm ERR! at rcompare 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:420:10)
> npm ERR! at Array.sort (native)
> npm ERR! at Function.maxSatisfying 
> (/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:838:6)
> npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:699:21)
> npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:678:5
> npm ERR! at saved 
> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
> npm ERR! at Object.oncomplete (fs.js:107:15)
> npm ERR! If you need help, you may report this log at:
> npm ERR! 
> npm ERR! or email it to:
> npm ERR! 
> npm ERR! System Linux 2.6.32-358.6.2.el6.x86_64
> npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
> npm ERR! cwd /home/mooreds
> npm ERR! node -v v0.10.10
> npm ERR! npm -v 1.3.1
> npm http GET https://registry.npmjs.org/plist/-/plist-0.4.3.tgz
> ...
> Looking in npm-debug.log, I see:
> 593 silly lockFile 83d909f9-glob-3-2-1 glob@3.2.1
> 594 verbose lock glob@3.2.1 /home/mooreds/.npm/83d909f9-glob-3-2-1.lock
> 595 silly addNameRange number 2 { name: 'express', range: '>=3.0.0-0 
> <3.1.0-0', hasData: true }
> 596 silly addNameRange versions [ 'express',
> 596 silly addNameRange   [ '0.14.0',
> 596 silly addNameRange '0.14.1',
> 596 silly addNameRange '1.0.0beta',
> 596 silly addNameRange '1.0.0beta2',
> 596 silly addNameRange '1.0.0rc',
> 596 silly addNameRange '1.0.0rc2',
> 596 silly addNameRange '1.0.0rc3',
> 596 silly addNameRange '1.0.0rc4',
> 596 silly addNameRange '1.0.0',
> 596 silly addNameRange '1.0.1',
> 596 silly addNameRange '1.0.2',
> 596 silly addNameRange '1.0.3',
> 596 silly addNameRange '1.0.4',
> 596 silly addNameRange '1.0.5',
> 596 silly addNameRange '1.0.6',
> 596 silly addNameRange '1.0.7',
> 596 silly addNameRange '2.0.0beta',
> 596 silly addNameRange '1.0.8',
> 596 silly addNameRange '2.0.0beta2',
> 596 silly addNameRange '2.0.0beta3',
> 596 silly addNameRange '2.0.0rc',
> 596 silly addNameRange '2.0.0rc2',
> 596 silly addNameRange '2.0.0rc3',
> 596 silly addNameRange '2.0.0',
> 596 silly addNameRange '2.1.0',
> 596 silly addNameRange '2.1.1',
> 596 silly addNameRange '2.2.0',
> 596 silly addNameRange '2.2.1',
> 596 silly addNameRange '2.2.2',
> 596 silly addNameRange '2.3.0',
> 596 silly addNameRange '2.3.1',
> 596 silly addNameRange '2.3.2',
> 596 silly addNameRange '2.3.3',
> 596 silly addNameRange '2.3.4',
> 596 silly addNameRange '2.3.5',
> 596 silly addNameRange '2.3.6',
> 596 silly addNameRange '2.3.7',
> 596 silly addNameRange '2.3.8',
> 596 silly addNameRange '2.3.9',
> 596 silly addNameRange '2.3.10',
> 596 silly addNameRange '2.3.11',
> 596 silly addNameRange '2.3.12',
> 596 silly addNameRange '2.4.0',
> 596 silly addNameRange '2.4.1',
> 596 silly addNameRange '2.4.2',
> 596 silly addNameRange '2.4.3',
> 596 silly addNameRange '2.4.4',
> 596 silly addNameRange '2.4.5',
> 596 silly addNameRange '2.4.6',
> 596 silly addNameRange '2.4.7',
> 596 silly addNameRange '2.5.0',
> 596 silly addNameRange '2.5.1',
> 596 silly addNameRange '2

[jira] [Created] (CB-4023) Can't install version 2.9.0 of cli

2013-06-26 Thread Dan Moore (JIRA)
Dan Moore created CB-4023:
-

 Summary: Can't install version 2.9.0 of cli
 Key: CB-4023
 URL: https://issues.apache.org/jira/browse/CB-4023
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.0.0
 Environment: npm 1.3.3, node 0.10.10
Reporter: Dan Moore
Assignee: Filip Maj


I ran 

npm remove -g cordova
npm install -g cordova

And I get this error message:
...
npm http 304 https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/elementtree/-/elementtree-0.1.3.tgz
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0.tgz
npm ERR! TypeError: Invalid Version: 3.0.0alpha1
npm ERR! at new SemVer 
(/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:257:11)
npm ERR! at SemVer.compare 
(/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:296:13)
npm ERR! at compare 
(/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:410:31)
npm ERR! at rcompare 
(/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:420:10)
npm ERR! at Array.sort (native)
npm ERR! at Function.maxSatisfying 
(/usr/local/lib/node_modules/npm/node_modules/semver/semver.js:838:6)
npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:699:21)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:678:5
npm ERR! at saved 
(/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! 
npm ERR! or email it to:
npm ERR! 

npm ERR! System Linux 2.6.32-358.6.2.el6.x86_64
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
npm ERR! cwd /home/mooreds
npm ERR! node -v v0.10.10
npm ERR! npm -v 1.3.1
npm http GET https://registry.npmjs.org/plist/-/plist-0.4.3.tgz
...

Looking in npm-debug.log, I see:
593 silly lockFile 83d909f9-glob-3-2-1 glob@3.2.1
594 verbose lock glob@3.2.1 /home/mooreds/.npm/83d909f9-glob-3-2-1.lock
595 silly addNameRange number 2 { name: 'express', range: '>=3.0.0-0 <3.1.0-0', 
hasData: true }
596 silly addNameRange versions [ 'express',
596 silly addNameRange   [ '0.14.0',
596 silly addNameRange '0.14.1',
596 silly addNameRange '1.0.0beta',
596 silly addNameRange '1.0.0beta2',
596 silly addNameRange '1.0.0rc',
596 silly addNameRange '1.0.0rc2',
596 silly addNameRange '1.0.0rc3',
596 silly addNameRange '1.0.0rc4',
596 silly addNameRange '1.0.0',
596 silly addNameRange '1.0.1',
596 silly addNameRange '1.0.2',
596 silly addNameRange '1.0.3',
596 silly addNameRange '1.0.4',
596 silly addNameRange '1.0.5',
596 silly addNameRange '1.0.6',
596 silly addNameRange '1.0.7',
596 silly addNameRange '2.0.0beta',
596 silly addNameRange '1.0.8',
596 silly addNameRange '2.0.0beta2',
596 silly addNameRange '2.0.0beta3',
596 silly addNameRange '2.0.0rc',
596 silly addNameRange '2.0.0rc2',
596 silly addNameRange '2.0.0rc3',
596 silly addNameRange '2.0.0',
596 silly addNameRange '2.1.0',
596 silly addNameRange '2.1.1',
596 silly addNameRange '2.2.0',
596 silly addNameRange '2.2.1',
596 silly addNameRange '2.2.2',
596 silly addNameRange '2.3.0',
596 silly addNameRange '2.3.1',
596 silly addNameRange '2.3.2',
596 silly addNameRange '2.3.3',
596 silly addNameRange '2.3.4',
596 silly addNameRange '2.3.5',
596 silly addNameRange '2.3.6',
596 silly addNameRange '2.3.7',
596 silly addNameRange '2.3.8',
596 silly addNameRange '2.3.9',
596 silly addNameRange '2.3.10',
596 silly addNameRange '2.3.11',
596 silly addNameRange '2.3.12',
596 silly addNameRange '2.4.0',
596 silly addNameRange '2.4.1',
596 silly addNameRange '2.4.2',
596 silly addNameRange '2.4.3',
596 silly addNameRange '2.4.4',
596 silly addNameRange '2.4.5',
596 silly addNameRange '2.4.6',
596 silly addNameRange '2.4.7',
596 silly addNameRange '2.5.0',
596 silly addNameRange '2.5.1',
596 silly addNameRange '2.5.2',
596 silly addNameRange '2.5.3',
596 silly addNameRange '2.5.4',
596 silly addNameRange '2.5.5',
596 silly addNameRange '2.5.6',
596 silly addNameRange '2.5.7',
596 silly addNameRange '2.5.8',
596 silly addNameRange '2.5.9',
596 silly addNameRange '3.0.0alpha1',
596 silly addNameRange '3.0.0alpha2',
596 silly addNameRange '3.0.0alpha3',
596 silly addNameRange '3.0.0alpha4',
596 silly addNameRange '3.0.0alpha5',
596 silly addNameRange '3.0.0beta1',
596 silly addNameRange '3.0.0beta2',
596 silly addNameRange '3.0.0beta3',
596 silly addNameRange '2.5.10',
596 silly addNameRange '3.0.0beta4',
596 silly addNameRange '2.5.11',
596 silly addNameRange '3.0

[jira] [Commented] (CB-3903) remove "ls" command

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694396#comment-13694396
 ] 

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

Commit 167852870fbc852aa9b95375535225a120a8c65f in branch refs/heads/master2 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1678528 ]

[CB-3903] Removed `ls` subcommand for platform/plugin commands.


> remove "ls" command
> ---
>
> Key: CB-3903
> URL: https://issues.apache.org/jira/browse/CB-3903
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: CLI
>Reporter: Mike Sierra
>Assignee: Filip Maj
>Priority: Minor
>
> It seems intuitive that the default behavior of "cordova platforms" or 
> "cordova plugin" should be the same as with current explicit "ls" arg. 
> Current syntax is represented in help screen as:
>   platform(s) {add|remove|rm} 
>   platform(s) ls
> Which can be simplified as:
>   platform(s) [{add|remove|rm} ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3903) remove "ls" command

2013-06-26 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-3903.
---

   Resolution: Fixed
Fix Version/s: 3.0.0

Fixed, will show up in 2.9.1 on npm (although that has not been releases yet). 
Will definitely be available before 3.0.

> remove "ls" command
> ---
>
> Key: CB-3903
> URL: https://issues.apache.org/jira/browse/CB-3903
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: CLI
>Reporter: Mike Sierra
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.0.0
>
>
> It seems intuitive that the default behavior of "cordova platforms" or 
> "cordova plugin" should be the same as with current explicit "ls" arg. 
> Current syntax is represented in help screen as:
>   platform(s) {add|remove|rm} 
>   platform(s) ls
> Which can be simplified as:
>   platform(s) [{add|remove|rm} ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3988) Upload new docs

2013-06-26 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-3988.


Resolution: Fixed

> Upload new docs
> ---
>
> Key: CB-3988
> URL: https://issues.apache.org/jira/browse/CB-3988
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
> Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
>Reporter: Andrew Grieve
>Assignee: Michael Brooks
>
> 1. Upload the new docs to http://cordova.apache.org/docs
> 2. Update docs.cordova.io redirect

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3986) Upload Release to Website

2013-06-26 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-3986.


Resolution: Fixed

done

> Upload Release to Website
> -
>
> Key: CB-3986
> URL: https://issues.apache.org/jira/browse/CB-3986
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
> Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
>Reporter: Andrew Grieve
>Assignee: Steve Gill
>
> ./cordova-coho/coho create-release-snapshot --prev-version 2.8.0 
> --new-version 2.9.0
> Upload it to: https://dist.apache.org/repos/dist/release/cordova/
> TODO: COHO tool should do this step.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3987) Update cordova.apache.org

2013-06-26 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-3987.


Resolution: Fixed

> Update cordova.apache.org
> -
>
> Key: CB-3987
> URL: https://issues.apache.org/jira/browse/CB-3987
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android, App Hello World, BlackBerry, CLI, CordovaJS, 
> Docs, iOS, mobile-spec, OSX, Windows 8, WP7, WP8
>Reporter: Andrew Grieve
>Assignee: Steve Gill
>
> 1. Update DOAP file (Refer to this commit: 
> http://svn.apache.org/viewvc?view=revision&revision=r1478146)
> 2. Update website's download link: 
> https://wiki.apache.org/cordova/UpdatingTheWebsite

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3958) (BlackBerry) Cordova js could not work on remote page while local page is OK

2013-06-26 Thread Selwyn Shen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694388#comment-13694388
 ] 

Selwyn Shen commented on CB-3958:
-

Hi Lorin,

I just want to ask if it is convenient for you to send me jar/js which involve 
this fix. It's so urgent.I don't know whether it is easy to fix. But for 
Android, js of both versoin could work well on remote page.

Thanks
Selwyn

> (BlackBerry) Cordova js could not work on remote page while local page is OK 
> -
>
> Key: CB-3958
> URL: https://issues.apache.org/jira/browse/CB-3958
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.4.0, 2.5.0
> Environment: BlackBerry 
>Reporter: Selwyn Shen
>Assignee: Lorin Beer
>Priority: Minor
> Fix For: 2.4.0, 2.5.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issues is almost the same as issue CB-3029.
> I only tested 2.4.0 and 2.5.0, both could not work on remote page.
> Ensure that:
> 1. The cordova js on remote server is right as BlackBerry version. The 
> version of jar and js also are same.
> 2. In Config.xml, "access to all URIs" was configured.
> 3. Local page works well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3420) InAppBrowser Option to Start Hidden

2013-06-26 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694358#comment-13694358
 ] 

Shazron Abdullah commented on CB-3420:
--

It's implemented in Android too. We already had this discussion in the ML that 
"feature parity" / waiting for all platforms shouldn't prevent us from 
implementing it for the core platforms. I'll try to dig up the link to that 
discussion.

> InAppBrowser Option to Start Hidden
> ---
>
> Key: CB-3420
> URL: https://issues.apache.org/jira/browse/CB-3420
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, CordovaJS, iOS, mobile-spec, WP7, 
> WP8
>Reporter: Andrew Grieve
>Assignee: David Kemp
>Priority: Minor
> Fix For: 3.1.0
>
>
> One common use-case for the InAppBrowser is to handle an OAuth flow. Some 
> flows can be done without any user interaction, so it would be great if the 
> InAppBrowser had an option where it would start hidden, and could later be 
> reveals through a JS call.
> E.g.
> var iab = window.open('$OAUTH_URL', 'hidden=yes');
> //some time later.
> iab.show();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3422) Android - InAppBrowser Option to Start Hidden

2013-06-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-3422.
--

Resolution: Fixed

I believe this is resolved in the parent task:

Commit c3b8b279b091c4394dcf297566cfe453f58a1f82 in branch refs/heads/master 
from David Kemp
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=c3b8b27 ]
CB-3420: add hidden option to InAppBrowser

> Android - InAppBrowser Option to Start Hidden
> -
>
> Key: CB-3422
> URL: https://issues.apache.org/jira/browse/CB-3422
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android
>Reporter: Andrew Grieve
>Assignee: David Kemp
>Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4009) Tag WP

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694348#comment-13694348
 ] 

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

Commit 90172e0ba01c0c3cf523a19aecdd018b07f7eb8c in branch refs/heads/master 
from [~bennmapes]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp7.git;h=90172e0 ]

[CB-4009] Cordova 2.9.0


> Tag WP
> --
>
> Key: CB-4009
> URL: https://issues.apache.org/jira/browse/CB-4009
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7, WP8
>Affects Versions: 2.9.0
>Reporter: Joe Bowser
>Assignee: Jesse MacFadyen
> Fix For: 2.9.0
>
>
> I don't remember if you unified these yet or not for 2.9, or if it was 3.0.  
> If not, tag them both!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4009) Tag WP

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694342#comment-13694342
 ] 

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

Commit 347b9f4d387d6048a8c515a350e03cd83e9d5bd6 in branch refs/heads/2.9.x from 
[~bennmapes]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp7.git;h=347b9f4 ]

[CB-4009] Cordova 2.9.0


> Tag WP
> --
>
> Key: CB-4009
> URL: https://issues.apache.org/jira/browse/CB-4009
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7, WP8
>Affects Versions: 2.9.0
>Reporter: Joe Bowser
>Assignee: Jesse MacFadyen
> Fix For: 2.9.0
>
>
> I don't remember if you unified these yet or not for 2.9, or if it was 3.0.  
> If not, tag them both!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-2975) Add a ./cordova/lib/list-devices project-level helper script to BlackBerry

2013-06-26 Thread Bryan Higgins (JIRA)

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

Bryan Higgins updated CB-2975:
--

Assignee: Lorin Beer  (was: Bryan Higgins)

> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --
>
> Key: CB-2975
> URL: https://issues.apache.org/jira/browse/CB-2975
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Filip Maj
>Assignee: Lorin Beer
> Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3984) Tag CLI

2013-06-26 Thread Filip Maj (JIRA)

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

Filip Maj resolved CB-3984.
---

   Resolution: Fixed
Fix Version/s: 2.9.0

CLI is tagged.

> Tag CLI
> ---
>
> Key: CB-3984
> URL: https://issues.apache.org/jira/browse/CB-3984
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CLI
>Reporter: Andrew Grieve
>Assignee: Filip Maj
> Fix For: 2.9.0
>
>
> ./cordova-coho/coho prepare-release-branch --version 2.9.0 -r cli
> ./cordova-coho/coho repo-status -r cli -b master -b 2.9.x
> # If changes look right:
> ./cordova-coho/coho repo-push -r cli -b master -b 2.9.x
> ./cordova-coho/coho tag-release --version 2.9.0 -r cli

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2975) Add a ./cordova/lib/list-devices project-level helper script to BlackBerry

2013-06-26 Thread Bryan Higgins (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694330#comment-13694330
 ] 

Bryan Higgins commented on CB-2975:
---

Ok, go ahead and add your solution. I'll open a new issue for enhancements

> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --
>
> Key: CB-2975
> URL: https://issues.apache.org/jira/browse/CB-2975
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Filip Maj
>Assignee: Bryan Higgins
> Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3737) Review platform parser specs

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694312#comment-13694312
 ] 

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

Commit 9fb86462443107911c21b0fc07cbebff43ea64e9 in branch refs/heads/2.9.x from 
Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9fb8646 ]

Further work on [CB-3737]. ios parser specs should be in order.


> Review platform parser specs
> 
>
> Key: CB-3737
> URL: https://issues.apache.org/jira/browse/CB-3737
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Reporter: Filip Maj
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.0.0
>
>
> Go through parser code with a fine toothed comb and see if we can improve the 
> specs and clean anything up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3737) Review platform parser specs

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694311#comment-13694311
 ] 

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

Commit d9241b03783542b36bb58da2fa2015878c1f764a in branch refs/heads/2.9.x from 
Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d9241b0 ]

[CB-3737] Parser specs reviewed, not touch filesystem anymore. Super fast 
execution. Yay.


> Review platform parser specs
> 
>
> Key: CB-3737
> URL: https://issues.apache.org/jira/browse/CB-3737
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Reporter: Filip Maj
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.0.0
>
>
> Go through parser code with a fine toothed comb and see if we can improve the 
> specs and clean anything up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3968) [BlackBerry10] SplashScreen non functional

2013-06-26 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694305#comment-13694305
 ] 

Lorin Beer commented on CB-3968:


Agreed, will update the issue accordingly

> [BlackBerry10] SplashScreen non functional
> --
>
> Key: CB-3968
> URL: https://issues.apache.org/jira/browse/CB-3968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: Master
>Reporter: Lorin Beer
>Assignee: Lorin Beer
> Fix For: 2.9.0
>
>
> Mobile Spec SplashScreen manual test page is non functional, with buttons 
> providing no feedback.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3968) [BlackBerry10] SplashScreen non functional

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer updated CB-3968:
---

Description: 
--Mobile Spec SplashScreen manual test page is non functional, with buttons 
providing no feedback.--

as per comments, this is being treated as a "documentation - quirks" issue

document SplashScreen quirks on BBOS in appropriate section of docs

  was:Mobile Spec SplashScreen manual test page is non functional, with buttons 
providing no feedback.


> [BlackBerry10] SplashScreen non functional
> --
>
> Key: CB-3968
> URL: https://issues.apache.org/jira/browse/CB-3968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: Master
>Reporter: Lorin Beer
>Assignee: Lorin Beer
> Fix For: 2.9.0
>
>
> --Mobile Spec SplashScreen manual test page is non functional, with buttons 
> providing no feedback.--
> as per comments, this is being treated as a "documentation - quirks" issue
> document SplashScreen quirks on BBOS in appropriate section of docs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3985) Tag Docs

2013-06-26 Thread Michael Brooks (JIRA)

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

Michael Brooks resolved CB-3985.


   Resolution: Fixed
Fix Version/s: 2.9.0

> Tag Docs
> 
>
> Key: CB-3985
> URL: https://issues.apache.org/jira/browse/CB-3985
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Docs
>Reporter: Andrew Grieve
>Assignee: Michael Brooks
> Fix For: 2.9.0
>
>
> 1. Ensure docs are generated and up-to-date
> 2. Tag:
> ./cordova-coho/coho prepare-release-branch --version 2.9.0 -r docs
> ./cordova-coho/coho repo-status -r docs -b master -b 2.9.x
> # If changes look right:
> ./cordova-coho/coho repo-push -r docs -b master -b 2.9.x
> ./cordova-coho/coho tag-release --version 2.9.0 -r docs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3968) [BlackBerry10] SplashScreen non functional

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer updated CB-3968:
---

Component/s: Docs

> [BlackBerry10] SplashScreen non functional
> --
>
> Key: CB-3968
> URL: https://issues.apache.org/jira/browse/CB-3968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, Docs
>Affects Versions: Master
>Reporter: Lorin Beer
>Assignee: Lorin Beer
> Fix For: 2.9.0
>
>
> --Mobile Spec SplashScreen manual test page is non functional, with buttons 
> providing no feedback.--
> as per comments, this is being treated as a "documentation - quirks" issue
> document SplashScreen quirks on BBOS in appropriate section of docs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3985) Tag Docs

2013-06-26 Thread Michael Brooks (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694304#comment-13694304
 ] 

Michael Brooks commented on CB-3985:


Commit and tag 2.9.0: commit 
[9d1529|https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=commit;h=9d152990701292fe7fb6e1961a3c5ba93b201a62]

> Tag Docs
> 
>
> Key: CB-3985
> URL: https://issues.apache.org/jira/browse/CB-3985
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Docs
>Reporter: Andrew Grieve
>Assignee: Michael Brooks
>
> 1. Ensure docs are generated and up-to-date
> 2. Tag:
> ./cordova-coho/coho prepare-release-branch --version 2.9.0 -r docs
> ./cordova-coho/coho repo-status -r docs -b master -b 2.9.x
> # If changes look right:
> ./cordova-coho/coho repo-push -r docs -b master -b 2.9.x
> ./cordova-coho/coho tag-release --version 2.9.0 -r docs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3999) Video Capture ignores duration option [iOS]

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694302#comment-13694302
 ] 

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

Commit 0f8d134bfaecb83d01928b3dee057033892a0bc8 in branch refs/heads/2.9.x from 
[~dcoleman]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=0f8d134 ]

[CB-3999] remove note about duration not being supported on ios


> Video Capture ignores duration option [iOS]
> ---
>
> Key: CB-3999
> URL: https://issues.apache.org/jira/browse/CB-3999
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS, Plugin Media Capture
>Affects Versions: 2.9.0
>Reporter: Don Coleman
>Assignee: Don Coleman
> Fix For: 2.9.0
>
>
> Video Capture ignores duration option on iOS

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3366) iOS Plugin Guide update

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694301#comment-13694301
 ] 

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

Commit 55312457fd7cafe985302de2568f8d2f0488dd7f in branch refs/heads/master 
from [~lorin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=5531245 ]

[CB-3366] adjusted for new plugin spec in config.xml


> iOS Plugin Guide update
> ---
>
> Key: CB-3366
> URL: https://issues.apache.org/jira/browse/CB-3366
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 2.7.0
>Reporter: Lorin Beer
>Assignee: Lorin Beer
>Priority: Critical
> Fix For: 2.9.0
>
>
> there's been some changes to plugin's, notably different syntax for config.xml
> document in relevant doc sections

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2975) Add a ./cordova/lib/list-devices project-level helper script to BlackBerry

2013-06-26 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694293#comment-13694293
 ] 

Lorin Beer commented on CB-2975:


Hey Bryan,

is this already underway? I have a initial solution and I'd like to close this 
issue off.

> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --
>
> Key: CB-2975
> URL: https://issues.apache.org/jira/browse/CB-2975
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Filip Maj
>Assignee: Bryan Higgins
> Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3958) (BlackBerry) Cordova js could not work on remote page while local page is OK

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer updated CB-3958:
---

Priority: Minor  (was: Blocker)

> (BlackBerry) Cordova js could not work on remote page while local page is OK 
> -
>
> Key: CB-3958
> URL: https://issues.apache.org/jira/browse/CB-3958
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.4.0, 2.5.0
> Environment: BlackBerry 
>Reporter: Selwyn Shen
>Assignee: Lorin Beer
>Priority: Minor
> Fix For: 2.4.0, 2.5.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issues is almost the same as issue CB-3029.
> I only tested 2.4.0 and 2.5.0, both could not work on remote page.
> Ensure that:
> 1. The cordova js on remote server is right as BlackBerry version. The 
> version of jar and js also are same.
> 2. In Config.xml, "access to all URIs" was configured.
> 3. Local page works well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3719) Breakout Globalization Plugin for BlackBerry

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer resolved CB-3719.


Resolution: Won't Fix

no implementation exists currently for BB10, and this has been de-prioritized 
for the 3.0.0 release.

> Breakout Globalization Plugin for BlackBerry
> 
>
> Key: CB-3719
> URL: https://issues.apache.org/jira/browse/CB-3719
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry, Plugin Globalization
>Reporter: Steve Gill
>Assignee: Lorin Beer
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4007) Tag Blackberry

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694258#comment-13694258
 ] 

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

Commit 0b0b170e3fc6dca077f5e7e553288135b8adcea5 in branch refs/heads/2.9.x from 
[~lorin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=0b0b170 ]

[CB-4007] updated VERSION and cordova js to 2.9.0


> Tag Blackberry
> --
>
> Key: CB-4007
> URL: https://issues.apache.org/jira/browse/CB-4007
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Affects Versions: 2.9.0
>Reporter: Joe Bowser
>Assignee: Lorin Beer
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4007) Tag Blackberry

2013-06-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694259#comment-13694259
 ] 

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

Commit 9f336c72b2d44a419c2d31136f1d452c2a7d4aa8 in branch refs/heads/master 
from [~lorin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=9f336c7 ]

[CB-4007] updated VERSION and cordova js to 2.9.0


> Tag Blackberry
> --
>
> Key: CB-4007
> URL: https://issues.apache.org/jira/browse/CB-4007
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Affects Versions: 2.9.0
>Reporter: Joe Bowser
>Assignee: Lorin Beer
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4007) Tag Blackberry

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer resolved CB-4007.


Resolution: Fixed

tested and tagged 
https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=0b0b170e3fc6dca077f5e7e553288135b8adcea5

> Tag Blackberry
> --
>
> Key: CB-4007
> URL: https://issues.apache.org/jira/browse/CB-4007
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Affects Versions: 2.9.0
>Reporter: Joe Bowser
>Assignee: Lorin Beer
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4011) Tag Windows 8

2013-06-26 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-4011.
-

Resolution: Fixed

> Tag Windows 8
> -
>
> Key: CB-4011
> URL: https://issues.apache.org/jira/browse/CB-4011
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Windows 8
>Reporter: Joe Bowser
>Assignee: Jesse MacFadyen
> Fix For: 2.9.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2975) Add a ./cordova/lib/list-devices project-level helper script to BlackBerry

2013-06-26 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694235#comment-13694235
 ] 

Filip Maj commented on CB-2975:
---

Yep, that sounds good.

And yes, command line arguments sounds fine. If the case comes up that 
password/pin is required and not provided, then the script can error out 
appropriately.

> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --
>
> Key: CB-2975
> URL: https://issues.apache.org/jira/browse/CB-2975
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Filip Maj
>Assignee: Bryan Higgins
> Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4009) Tag WP

2013-06-26 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen resolved CB-4009.
-

Resolution: Fixed

> Tag WP
> --
>
> Key: CB-4009
> URL: https://issues.apache.org/jira/browse/CB-4009
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7, WP8
>Affects Versions: 2.9.0
>Reporter: Joe Bowser
>Assignee: Jesse MacFadyen
> Fix For: 2.9.0
>
>
> I don't remember if you unified these yet or not for 2.9, or if it was 3.0.  
> If not, tag them both!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3420) InAppBrowser Option to Start Hidden

2013-06-26 Thread Jesse MacFadyen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694192#comment-13694192
 ] 

Jesse MacFadyen commented on CB-3420:
-

How did this move forward without consensus? We essentially have a bug now that 
iOS is different than the other platforms. 


> InAppBrowser Option to Start Hidden
> ---
>
> Key: CB-3420
> URL: https://issues.apache.org/jira/browse/CB-3420
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, CordovaJS, iOS, mobile-spec, WP7, 
> WP8
>Reporter: Andrew Grieve
>Assignee: David Kemp
>Priority: Minor
> Fix For: 3.1.0
>
>
> One common use-case for the InAppBrowser is to handle an OAuth flow. Some 
> flows can be done without any user interaction, so it would be great if the 
> InAppBrowser had an option where it would start hidden, and could later be 
> reveals through a JS call.
> E.g.
> var iab = window.open('$OAUTH_URL', 'hidden=yes');
> //some time later.
> iab.show();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3702) Breakout Media Capture Plugin for BlackBerry

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer reassigned CB-3702:
--

Assignee: Jeffrey Heifetz  (was: Lorin Beer)

as per phone meeting, thanks Jeff!

> Breakout Media Capture Plugin for BlackBerry
> 
>
> Key: CB-3702
> URL: https://issues.apache.org/jira/browse/CB-3702
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry, Plugin Media Capture
>Reporter: Steve Gill
>Assignee: Jeffrey Heifetz
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3971) Breakout notification/dialog plugin from vibration plugin

2013-06-26 Thread Steve Gill (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694158#comment-13694158
 ] 

Steve Gill commented on CB-3971:


Just took a look at the pull request. It looks like you are doing this work on 
cordova-android master. I would recommend against doing this.

Right after 2.9.0, we are switching over to using the 3.0 branches that exsit 
for each of the platforms. You will notice that no plugins exist on those 
branches. 

I recommend that these changes instead happen on the new plugin repos.

For vibration, checkout 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-vibration.git;a=summary.
For dialogs, checkout 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-dialogs.git;a=summary.

To test these, checkout the 3.0 branch for android, create a example project by 
using the create script and then use the latest plugman to install the plugins 
into the example app. Copy the plugins test directoires into the www folder (or 
copy in mobile spec). 

In the vibration repo, feel free to rename notification.java to vibration.java 
and make the changes you made in your pull request there. The javascript in 
that repo will also have to be renamed away from notification. 

Lets discuss more on irc.


> Breakout notification/dialog plugin from vibration plugin
> -
>
> Key: CB-3971
> URL: https://issues.apache.org/jira/browse/CB-3971
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, iOS, Plugin Dialogs, Plugin 
> Vibration, WP7, WP8
>Reporter: Steve Gill
> Fix For: 3.0.0
>
>
> Currently the notification plugin and the vibration plugin are in one file. 
> We need to break these out into two separate plugins. I believe we can 
> accomplish this before 3.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3974) Breakout Dialogs plugin for android

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694157#comment-13694157
 ] 

Lisa Seacat DeLuca commented on CB-3974:


Okay, I think this is already done then.  Check out the 3971 comments. It 
includes my pull request.  I also created some mobile spec tests that are 
separate for vibrate vs. dialogs/notifications and everything passed the tests 
I ran.

> Breakout Dialogs plugin for android
> ---
>
> Key: CB-3974
> URL: https://issues.apache.org/jira/browse/CB-3974
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, Plugin Dialogs
>Reporter: Steve Gill
>Assignee: Lisa Seacat DeLuca
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3727) Breakout File Transfer Plugin for BlackBerry

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer reassigned CB-3727:
--

Assignee: Bryan Higgins  (was: Lorin Beer)

as per phone meeting, thanks Bryan!

> Breakout File Transfer Plugin for BlackBerry
> 
>
> Key: CB-3727
> URL: https://issues.apache.org/jira/browse/CB-3727
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry, Plugin File Transfer
>Reporter: Steve Gill
>Assignee: Bryan Higgins
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3720) Breakout File Plugin for BlackBerry

2013-06-26 Thread Lorin Beer (JIRA)

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

Lorin Beer reassigned CB-3720:
--

Assignee: Bryan Higgins  (was: Lorin Beer)

as per phone meeting, thanks Bryan!

> Breakout File Plugin for BlackBerry
> ---
>
> Key: CB-3720
> URL: https://issues.apache.org/jira/browse/CB-3720
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: BlackBerry, Plugin File
>Reporter: Steve Gill
>Assignee: Bryan Higgins
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-2975) Add a ./cordova/lib/list-devices project-level helper script to BlackBerry

2013-06-26 Thread Bryan Higgins (JIRA)

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

Bryan Higgins updated CB-2975:
--

Assignee: Bryan Higgins  (was: Lorin Beer)

> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --
>
> Key: CB-2975
> URL: https://issues.apache.org/jira/browse/CB-2975
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Filip Maj
>Assignee: Bryan Higgins
> Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3974) Breakout Dialogs plugin for android

2013-06-26 Thread Steve Gill (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694149#comment-13694149
 ] 

Steve Gill commented on CB-3974:


The IRC channel is #cordova on freenode.net. 

I don't think there is much of a reason to rename the files. This issue is 
pretty much to just test the notification stuff without vibration in it. Make 
sure that when you install both plugins in one app, we don't get errors and 
mobile spec tests pass for them. 

A good example to look at is cordva-device-motion. It is for compass. You will 
see we haven't renamed any files. The point of renaming the repo to 
device-orientation from compass was to be more standards compliant and in the 
future align the api to those standards. 

We have a proposal of core plugin repo names on our wiki. 
https://wiki.apache.org/cordova/Core%20Plugin%20Name%20Proposal


> Breakout Dialogs plugin for android
> ---
>
> Key: CB-3974
> URL: https://issues.apache.org/jira/browse/CB-3974
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, Plugin Dialogs
>Reporter: Steve Gill
>Assignee: Lisa Seacat DeLuca
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3957) CordovaTests test for background colour is broken - wrong classname

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca reassigned CB-3957:
--

Assignee: Lisa Seacat DeLuca  (was: Joe Bowser)

> CordovaTests test for background colour is broken - wrong classname
> ---
>
> Key: CB-3957
> URL: https://issues.apache.org/jira/browse/CB-3957
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.7.0
>Reporter: Peter
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>
> The supplied test app (project CordovaViewTestActivity) has a button for 
> testing background colour.
> Code in index.html
> {code}
>  onclick="startActivity('org.apache.cordova.test.actions.backgroundcolor');">Background
>  Color
> {code}
> But the button does not work at all.
> It turns out there is a org/apache/cordova/test/backgroundcolor.class but 
> there is not a org/apache/cordova/test/*actions*/backgroundcolor.class. 
> It looks like this Activity class is simply in the wrong directory. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4022) PluginLoader is loading modules before all plugins modules are available.

2013-06-26 Thread Andrew Grieve (JIRA)
Andrew Grieve created CB-4022:
-

 Summary: PluginLoader is loading  modules before all 
plugins modules are available.
 Key: CB-4022
 URL: https://issues.apache.org/jira/browse/CB-4022
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Reporter: Andrew Grieve
Assignee: Andrew Grieve


onPluginsReady() is meant to be fired once all the plugin file modules are 
available, but before any plugin modules are require()d. 

There's currently a bug where plugins with  tags are being run before 
onPluginsReady() is fired. This will cause their require()s to possible fail 
and we should fix that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3384) Resource Loading API for Android

2013-06-26 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-3384:
---

Fix Version/s: (was: 3.1.0)
   3.0.0
 Assignee: Braden Shepherdson  (was: Shravan Narayan)

> Resource Loading API for Android
> 
>
> Key: CB-3384
> URL: https://issues.apache.org/jira/browse/CB-3384
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Andrew Grieve
>Assignee: Braden Shepherdson
> Fix For: 3.0.0
>
>
> Motivations:
> 1. Many plugins do not handle URLs correctly when they are in the form 
> content: or file:///android_asset. 
> 2. For the cordova-app-harness, there needs to be a way to re-route resource 
> load requests so that the harness can load app resources while still 
> respecting the  tag.
> Short Description
> All plugins can watch the loading of any uri's Eg: opening of files, the 
> browser making requests to load files etc etc.
> In addition to watching they may assist in loading the uri's.
> For example, a use case here is - suppose a mimetype for a hypothetical 
> extension ".abc" doesn't exist, a plugin could check the extension of a 
> loaded uri and set the mimetype. This would now be set for all files loaded 
> in the system.
> Pseudo code of the mechanism:
> 1. make a request 'R' to a uri.
> 2. loop through all plugins to see if any plugins change the request
> 3. if the request changes, set 'R' to this modified request and repeat step 3
> 4. load request 'R' and return result

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3384) Resource Loading API for Android

2013-06-26 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694140#comment-13694140
 ] 

Joe Bowser commented on CB-3384:


I'm cool with this landing now that it passes all the tests and it seems to 
have a relatively low impact.  (I can merge this with my experimental branches 
without it blowing everything up and making me sad.)

> Resource Loading API for Android
> 
>
> Key: CB-3384
> URL: https://issues.apache.org/jira/browse/CB-3384
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Andrew Grieve
>Assignee: Shravan Narayan
> Fix For: 3.1.0
>
>
> Motivations:
> 1. Many plugins do not handle URLs correctly when they are in the form 
> content: or file:///android_asset. 
> 2. For the cordova-app-harness, there needs to be a way to re-route resource 
> load requests so that the harness can load app resources while still 
> respecting the  tag.
> Short Description
> All plugins can watch the loading of any uri's Eg: opening of files, the 
> browser making requests to load files etc etc.
> In addition to watching they may assist in loading the uri's.
> For example, a use case here is - suppose a mimetype for a hypothetical 
> extension ".abc" doesn't exist, a plugin could check the extension of a 
> loaded uri and set the mimetype. This would now be set for all files loaded 
> in the system.
> Pseudo code of the mechanism:
> 1. make a request 'R' to a uri.
> 2. loop through all plugins to see if any plugins change the request
> 3. if the request changes, set 'R' to this modified request and repeat step 3
> 4. load request 'R' and return result

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4004) FileWriter fails to write large binary files

2013-06-26 Thread Chris Barton (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694137#comment-13694137
 ] 

Chris Barton commented on CB-4004:
--

I have a pull request prepared at https://github.com/apache/cordova-js/pull/47, 
if you want to reference that.

> FileWriter fails to write large binary files
> 
>
> Key: CB-4004
> URL: https://issues.apache.org/jira/browse/CB-4004
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Android (tested on Nexus 7, Android 4.2)
>Reporter: Chris Barton
>Assignee: Ian Clelland
>Priority: Minor
>
> When attempting to write a file or blob (let's say a 5MB zip archive) to disk 
> via FileWriter#write, I receive a "RangeError, Maximum call stack size 
> exceeded" when trying to turn the ArrayBuffer into a Base64 string in #exec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2975) Add a ./cordova/lib/list-devices project-level helper script to BlackBerry

2013-06-26 Thread Bryan Higgins (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694132#comment-13694132
 ] 

Bryan Higgins commented on CB-2975:
---

[~filmaj] Why not a hybrid approach?

1) Check targets listed under HOME/.cordova/blackberry10.json, starting with 
the one listed as default.

If none of those are connected:

2) Scan for devices attached by USB. For 99.9% of users this will be 
169.254.0.1, but it can be set to anything in the 169.254.x.x range.

If the user has not pre-configured a target, we need to query the device for 
PIN in order to generate the debug token. The device password is also needed. 
How should that get passed in? Via argument to the run command?

I'm willing to take this task on.

> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --
>
> Key: CB-2975
> URL: https://issues.apache.org/jira/browse/CB-2975
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Filip Maj
>Assignee: Lorin Beer
> Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3384) Resource Loading API for Android

2013-06-26 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694129#comment-13694129
 ] 

Andrew Grieve commented on CB-3384:
---

Okay, I've completely rewritten this to be lower risk, cleaner API (IMO), and 
added unit tests. 
Review request: https://reviews.apache.org/r/12114/

Still want to get this in for 3.0 since AppHarness and Chrome plugins depend on 
it. The new patch does not touch any plugins. Updating the plugins to use the 
API can come later and should be thought out on a case-by-case basis.

> Resource Loading API for Android
> 
>
> Key: CB-3384
> URL: https://issues.apache.org/jira/browse/CB-3384
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Andrew Grieve
>Assignee: Shravan Narayan
> Fix For: 3.1.0
>
>
> Motivations:
> 1. Many plugins do not handle URLs correctly when they are in the form 
> content: or file:///android_asset. 
> 2. For the cordova-app-harness, there needs to be a way to re-route resource 
> load requests so that the harness can load app resources while still 
> respecting the  tag.
> Short Description
> All plugins can watch the loading of any uri's Eg: opening of files, the 
> browser making requests to load files etc etc.
> In addition to watching they may assist in loading the uri's.
> For example, a use case here is - suppose a mimetype for a hypothetical 
> extension ".abc" doesn't exist, a plugin could check the extension of a 
> loaded uri and set the mimetype. This would now be set for all files loaded 
> in the system.
> Pseudo code of the mechanism:
> 1. make a request 'R' to a uri.
> 2. loop through all plugins to see if any plugins change the request
> 3. if the request changes, set 'R' to this modified request and repeat step 3
> 4. load request 'R' and return result

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3974) Breakout Dialogs plugin for android

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca reassigned CB-3974:
--

Assignee: Lisa Seacat DeLuca  (was: Joe Bowser)

> Breakout Dialogs plugin for android
> ---
>
> Key: CB-3974
> URL: https://issues.apache.org/jira/browse/CB-3974
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, Plugin Dialogs
>Reporter: Steve Gill
>Assignee: Lisa Seacat DeLuca
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4014) UIAccelerometer is deprecated

2013-06-26 Thread Marcel Kinard (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694125#comment-13694125
 ] 

Marcel Kinard commented on CB-4014:
---

Correct.

> UIAccelerometer is deprecated
> -
>
> Key: CB-4014
> URL: https://issues.apache.org/jira/browse/CB-4014
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Marcel Kinard
>Assignee: Shazron Abdullah
>Priority: Minor
>
> While running Cordova 2.6, the following warning appeared:
> /Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVAccelerometer.m:58:5: 
> 'UIAccelerometer' is deprecated: first deprecated in iOS 5.0 - 
> UIAccelerometer has been replaced by the CoreMotion framework
> Looks like Cordova should migrate from UIAccelerometer to CoreMotion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4015) Warning about implicit conversion regarding text alignment for a button

2013-06-26 Thread Marcel Kinard (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694124#comment-13694124
 ] 

Marcel Kinard commented on CB-4015:
---

Correct.

> Warning about implicit conversion regarding text alignment for a button
> ---
>
> Key: CB-4015
> URL: https://issues.apache.org/jira/browse/CB-4015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Marcel Kinard
>Assignee: Shazron Abdullah
>Priority: Minor
>
> While running Cordova 2.6, the following warning appeared:
> /Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVCapture.m:620:39: 
> Implicit conversion from enumeration type 'enum UITextAlignment' to different 
> enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')
> Perhaps a cast or a different type needs to be used here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3974) Breakout Dialogs plugin for android

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694117#comment-13694117
 ] 

Lisa Seacat DeLuca commented on CB-3974:


Thanks for the quick response Steve.  I already pulled out the vibration 
related stuff as part of this JIRA issue: 
https://issues.apache.org/jira/browse/CB-3971.  It is waiting to be merged in.  
I submitted the pull requests.

Since alert and beep are also part of dialogs does that mean this task is just 
to rename notifications.java to dialogs.java?

What is the name of the irc channel you hang out at?  

> Breakout Dialogs plugin for android
> ---
>
> Key: CB-3974
> URL: https://issues.apache.org/jira/browse/CB-3974
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, Plugin Dialogs
>Reporter: Steve Gill
>Assignee: Joe Bowser
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4021) DirectoryReader.readEntries incorrectly returns all entries on each call

2013-06-26 Thread Max Woghiren (JIRA)
Max Woghiren created CB-4021:


 Summary: DirectoryReader.readEntries incorrectly returns all 
entries on each call
 Key: CB-4021
 URL: https://issues.apache.org/jira/browse/CB-4021
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP7, WP8
Reporter: Max Woghiren
Assignee: Jesse MacFadyen
Priority: Minor
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4020) DirectoryReader.readEntries incorrectly returns all entries on each call

2013-06-26 Thread Max Woghiren (JIRA)
Max Woghiren created CB-4020:


 Summary: DirectoryReader.readEntries incorrectly returns all 
entries on each call
 Key: CB-4020
 URL: https://issues.apache.org/jira/browse/CB-4020
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Max Woghiren
Assignee: Lorin Beer
Priority: Minor
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3974) Breakout Dialogs plugin for android

2013-06-26 Thread Steve Gill (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694112#comment-13694112
 ] 

Steve Gill commented on CB-3974:


Hey Lisa, 

Thanks for helping out with this!

For 3.0, we are only ripping out plugins and not changing the APIs. I believe 
we have a pi audit review scheduled for post 3.0 to make our APIs standards 
compliant. For this reason, we should leave our api saying notification.x 
instead of dialogs.x

Alert and beep should go into dialogs as well. 

Before this plugin breakout work, the notification plugin included all of the 
calls you listed above and vibration. Our goal here is to rip out the vibration 
code into its own plugin. This means vibration will get its own JavaScript and 
java files. What is left in notification will be added to dialogs. No need to 
rename the JavaScript or java files. 

Hope that clears some of this up. I will be looking to doing this for iOS 
today. Feel free to ask me any questions on irc. 


> Breakout Dialogs plugin for android
> ---
>
> Key: CB-3974
> URL: https://issues.apache.org/jira/browse/CB-3974
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, Plugin Dialogs
>Reporter: Steve Gill
>Assignee: Joe Bowser
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3029) remote page loading 2.6.0 cordova js file not work

2013-06-26 Thread TIm King (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694110#comment-13694110
 ] 

TIm King commented on CB-3029:
--

After further investigation this works if cordova is loaded as the first script 
element, but doesn't work in my situation where I dynamically inject the 
cordova script from the app assets into an iframe containing the remote page 
(as obviously cordova.js is different on each platform) after I have loaded the 
controlling script.

Hmm...

> remote page loading 2.6.0 cordova js file not work
> --
>
> Key: CB-3029
> URL: https://issues.apache.org/jira/browse/CB-3029
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.6.0
> Environment: tested on ios including iphone and ipad; on blackberry, 
> reported this error: TypeError:'undefined'is not an object
>Reporter: Andy Downton
>Assignee: Andrew Grieve
> Fix For: 2.9.0
>
>
> My app loads remote page containing cordova js file; it works fine with 2.5.0 
> and previous version, however, after upgrading cordova js file to 2.6.0, all 
> app functions broken, no deviceready fired at all and other app functions 
> stop working. this bug affects only remote page loading cordova js file on 
> ios and blackberry, local page works fine. I only tested on iphone, ipad and 
> blackberry, not sure if this issue affects other OSs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4017) DirectoryReader.readEntries

2013-06-26 Thread Max Woghiren (JIRA)
Max Woghiren created CB-4017:


 Summary: DirectoryReader.readEntries
 Key: CB-4017
 URL: https://issues.apache.org/jira/browse/CB-4017
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Max Woghiren
Assignee: Max Woghiren
Priority: Minor
 Fix For: 3.0.0


According to the [W3C 
spec|http://www.w3.org/TR/file-system-api/#the-directoryreader-interface], 
DirectoryReader.readEntries should return Entries in blocks, eventually 
returning an empty list (once all Entries have been returned).

The current implementation simply returns the entire list of Entries each time 
it's called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4019) DirectoryReader.readEntries incorrectly returns all entries on each call

2013-06-26 Thread Max Woghiren (JIRA)
Max Woghiren created CB-4019:


 Summary: DirectoryReader.readEntries incorrectly returns all 
entries on each call
 Key: CB-4019
 URL: https://issues.apache.org/jira/browse/CB-4019
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: Max Woghiren
Assignee: Max Woghiren
Priority: Minor
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4018) DirectoryReader.readEntries incorrectly returns all entries on each call

2013-06-26 Thread Max Woghiren (JIRA)
Max Woghiren created CB-4018:


 Summary: DirectoryReader.readEntries incorrectly returns all 
entries on each call
 Key: CB-4018
 URL: https://issues.apache.org/jira/browse/CB-4018
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Max Woghiren
Assignee: Max Woghiren
Priority: Minor
 Fix For: 3.0.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4017) DirectoryReader.readEntries incorrectly returns all entries on each call

2013-06-26 Thread Max Woghiren (JIRA)

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

Max Woghiren updated CB-4017:
-

Summary: DirectoryReader.readEntries incorrectly returns all entries on 
each call  (was: DirectoryReader.readEntries)

> DirectoryReader.readEntries incorrectly returns all entries on each call
> 
>
> Key: CB-4017
> URL: https://issues.apache.org/jira/browse/CB-4017
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>Priority: Minor
> Fix For: 3.0.0
>
>
> According to the [W3C 
> spec|http://www.w3.org/TR/file-system-api/#the-directoryreader-interface], 
> DirectoryReader.readEntries should return Entries in blocks, eventually 
> returning an empty list (once all Entries have been returned).
> The current implementation simply returns the entire list of Entries each 
> time it's called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694088#comment-13694088
 ] 

Lisa Seacat DeLuca commented on CB-4013:


I fixed to include the type = wide, ran the tests and they still passed.  code 
has been committed and a pull request was submitted.  My github repos is: 
https://github.com/ldeluca/cordova-mobile-spec

> Globalization test cases 23,24 not quite doing what they claim.
> ---
>
> Key: CB-4013
> URL: https://issues.apache.org/jira/browse/CB-4013
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Peter
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>
> The automated globalization tests (autotest\tests\globalization.tests.js) for 
> *spec.23* and *spec.24* test cases say that they are testing setting 
> type=wide but the code is not setting type:'wide'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca reassigned CB-4013:
--

Assignee: Lisa Seacat DeLuca  (was: Filip Maj)

> Globalization test cases 23,24 not quite doing what they claim.
> ---
>
> Key: CB-4013
> URL: https://issues.apache.org/jira/browse/CB-4013
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Peter
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>
> The automated globalization tests (autotest\tests\globalization.tests.js) for 
> *spec.23* and *spec.24* test cases say that they are testing setting 
> type=wide but the code is not setting type:'wide'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4016) Consolidate plugin loading to one method only (cordova_plugins.js)

2013-06-26 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-4016:


 Summary: Consolidate plugin loading to one method only 
(cordova_plugins.js)
 Key: CB-4016
 URL: https://issues.apache.org/jira/browse/CB-4016
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS, Plugman
Affects Versions: Master
Reporter: Shazron Abdullah
Assignee: Filip Maj
 Fix For: 3.0.0


See ML discussion: http://markmail.org/thread/lujkv5jbwy4oenus

Proposed to use the second method which is:

b) Load cordova_plugins.js via script injection

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4015) Warning about implicit conversion regarding text alignment for a button

2013-06-26 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694079#comment-13694079
 ] 

Shazron Abdullah commented on CB-4015:
--

I think this is with the new iOS 7.0 SDK, correct?

> Warning about implicit conversion regarding text alignment for a button
> ---
>
> Key: CB-4015
> URL: https://issues.apache.org/jira/browse/CB-4015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Marcel Kinard
>Assignee: Shazron Abdullah
>Priority: Minor
>
> While running Cordova 2.6, the following warning appeared:
> /Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVCapture.m:620:39: 
> Implicit conversion from enumeration type 'enum UITextAlignment' to different 
> enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')
> Perhaps a cast or a different type needs to be used here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4014) UIAccelerometer is deprecated

2013-06-26 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694077#comment-13694077
 ] 

Shazron Abdullah commented on CB-4014:
--

I think this is with the new iOS 7.0 SDK, correct?

> UIAccelerometer is deprecated
> -
>
> Key: CB-4014
> URL: https://issues.apache.org/jira/browse/CB-4014
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Marcel Kinard
>Assignee: Shazron Abdullah
>Priority: Minor
>
> While running Cordova 2.6, the following warning appeared:
> /Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVAccelerometer.m:58:5: 
> 'UIAccelerometer' is deprecated: first deprecated in iOS 5.0 - 
> UIAccelerometer has been replaced by the CoreMotion framework
> Looks like Cordova should migrate from UIAccelerometer to CoreMotion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3029) remote page loading 2.6.0 cordova js file not work

2013-06-26 Thread TIm King (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693972#comment-13693972
 ] 

TIm King commented on CB-3029:
--

This is still an issue in Cordova 2.8.1 and using the framework on github 
(2.9rc1).
I am trying to load a remote file that contains a reference to cordova.js and I 
get deviceready not fired after 5 seconds.
I have put all the blackberry permissions under the remote access value but I 
am confused in that Cordova generates  but Blackberry wants 
 as far as I can see.
config.xml includes:
  http://mycomain.com:8100"; >




























 
 
 


 
 
 
 


  
 


> remote page loading 2.6.0 cordova js file not work
> --
>
> Key: CB-3029
> URL: https://issues.apache.org/jira/browse/CB-3029
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.6.0
> Environment: tested on ios including iphone and ipad; on blackberry, 
> reported this error: TypeError:'undefined'is not an object
>Reporter: Andy Downton
>Assignee: Andrew Grieve
> Fix For: 2.9.0
>
>
> My app loads remote page containing cordova js file; it works fine with 2.5.0 
> and previous version, however, after upgrading cordova js file to 2.6.0, all 
> app functions broken, no deviceready fired at all and other app functions 
> stop working. this bug affects only remote page loading cordova js file on 
> ios and blackberry, local page works fine. I only tested on iphone, ipad and 
> blackberry, not sure if this issue affects other OSs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3974) Breakout Dialogs plugin for android

2013-06-26 Thread Lisa Seacat DeLuca (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693966#comment-13693966
 ] 

Lisa Seacat DeLuca commented on CB-3974:


I can help with this but need some clarification.  

I am assuming...

Dialogs are the following:
confirm, prompt (activityStart, activityStop, progressStart, progresValue, 
progressStop code would also be pulled into the Dialog plugin file)

Notification would then only have beep and alert remaining.  Vibrate has 
already been pulled out to it's own plugin.

correct?

http://cordova.apache.org/docs/en/edge/cordova_notification_notification.md.html#Notification

Also, are we going to have dialog.confirm, and dialog.prompt, or leave as 
notification.x?

> Breakout Dialogs plugin for android
> ---
>
> Key: CB-3974
> URL: https://issues.apache.org/jira/browse/CB-3974
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, Plugin Dialogs
>Reporter: Steve Gill
>Assignee: Joe Bowser
> Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4015) Warning about implicit conversion regarding text alignment for a button

2013-06-26 Thread Marcel Kinard (JIRA)
Marcel Kinard created CB-4015:
-

 Summary: Warning about implicit conversion regarding text 
alignment for a button
 Key: CB-4015
 URL: https://issues.apache.org/jira/browse/CB-4015
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
Reporter: Marcel Kinard
Assignee: Shazron Abdullah
Priority: Minor


While running Cordova 2.6, the following warning appeared:

/Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVCapture.m:620:39: 
Implicit conversion from enumeration type 'enum UITextAlignment' to different 
enumeration type 'NSTextAlignment' (aka 'enum NSTextAlignment')

Perhaps a cast or a different type needs to be used here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4014) UIAccelerometer is deprecated

2013-06-26 Thread Marcel Kinard (JIRA)
Marcel Kinard created CB-4014:
-

 Summary: UIAccelerometer is deprecated
 Key: CB-4014
 URL: https://issues.apache.org/jira/browse/CB-4014
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
Reporter: Marcel Kinard
Assignee: Shazron Abdullah
Priority: Minor


While running Cordova 2.6, the following warning appeared:

/Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVAccelerometer.m:58:5: 
'UIAccelerometer' is deprecated: first deprecated in iOS 5.0 - UIAccelerometer 
has been replaced by the CoreMotion framework

Looks like Cordova should migrate from UIAccelerometer to CoreMotion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3947) iTunes links do not open with inappbrowser

2013-06-26 Thread Stuart Batley (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693940#comment-13693940
 ] 

Stuart Batley commented on CB-3947:
---

Thanks for taking a look, but I still have the problem. I have tried the code 
you supplied, and whilst the inappbrowser opens I just get a white screen like 
before. As I mentioned, all other URL's open except iTunes ones. Thanks.


> iTunes links do not open with inappbrowser
> --
>
> Key: CB-3947
> URL: https://issues.apache.org/jira/browse/CB-3947
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
>Affects Versions: 2.8.0
>Reporter: Stuart Batley
>Assignee: Shazron Abdullah
>
> I've got inappbrowser working in my Cordova 2.8 app except that links to 
> iTunes, like this:
>  onclick="window.open('https://www.itunes.apple.com/us/app/apppname', 
> '_blank', 'location=yes,enableViewPortScale=yes');">open
> do not open - all other URL's open fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4003) Add config option to not use location information in Camera plugin (and default to not use it)

2013-06-26 Thread Andrew Bullock (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693913#comment-13693913
 ] 

Andrew Bullock commented on CB-4003:


The current behaviour effectively makes the Camera permission depend on the 
Location permission, which aside from being completely undocumented, is a 
ridiculous concept.

EXIF data is metadata, taking a picture shouldn't force the capture of location 
data.

A user should be able to take a photo without being nagged to add location 
data, which isnt even wanted by the app.

> Add config option to not use location information in Camera plugin (and 
> default to not use it)
> --
>
> Key: CB-4003
> URL: https://issues.apache.org/jira/browse/CB-4003
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS, Plugin Camera
>Affects Versions: 2.8.0
>Reporter: Shazron Abdullah
>Assignee: Lorin Beer
>Priority: Minor
>
> PG GG discussion: 
> https://groups.google.com/d/msg/phonegap/v5ajpkRiPNI/Mm3GTcJdiA8J
> A user is requesting this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4000) IOS - Ajax Return Code 401 let app crash

2013-06-26 Thread Thomas Kremmel (JIRA)

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

Thomas Kremmel updated CB-4000:
---

Description: 
I'm experiencing an issue when the server returns 401 status code after the 
client made an ajax call via a Angularjs $resource. The issue is that after 
receiving the 401 code the controller is re-entered multiple times, having to 
quit the application. Interestingly the app behaves normal if the server 
returns a 403 status code.

angular.module('AngularApp')
.controller('DashboardCtrl',
['$rootScope', '$scope', 'PersonalOverviewResource', function($rootScope, 
$scope, PersonalOverviewResource) {
console.log("in dashboard CTRL");
PersonalOverviewResource.getData({}, function(result, 
getResponseHeaders) {
console.log("received a result from backend");
},function(response) {
 console.log("error; code: " + response.status + ";");
});
}]);

angular.module('AngularClientSideAuth')
.factory('PersonalOverviewResource', function($rootScope, $resource) {
return $resource($rootScope.backend_domain.concat("api/overview/user"), 
{},{
getData: {method:'GET', isArray: false}
});
});

In addition I want to provide this SOF question, as the problem seems to be the 
same ( app crashes when server returns 401)
http://stackoverflow.com/questions/16897271/handle-401-unauthorized-error-on-windows-phone-with-phonegap

Stacktrace from my Xcode console:

2013-06-26 09:37:19.111 AngularPhoneGapClientSideAuth[61492:c07] success - 
redirecting to / --> successful login
2013-06-26 09:37:19.129 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.130 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.173 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401; --> unauthorized access because I did not set auth token correctly
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.199 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.220 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.221 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.224 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.257 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.280 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.309 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.325 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.326 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.329 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.351 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.370 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.388 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.403 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.404 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.406 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.425 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06

[jira] [Updated] (CB-4000) IOS - Ajax Return Code 401 let app crash

2013-06-26 Thread Thomas Kremmel (JIRA)

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

Thomas Kremmel updated CB-4000:
---

Description: 
I'm experiencing an issue when the server returns 401 status code after the 
client made an ajax call via a Angularjs $resource. The issue is that after 
receiving the 401 code the controller is re-entered multiple times, having to 
quit the application. Interestingly the app behaves normal if the server 
returns a 403 status code.

angular.module('AngularApp')
.controller('DashboardCtrl',
['$rootScope', '$scope', 'PersonalOverviewResource', function($rootScope, 
$scope, PersonalOverviewResource) {
console.log("in dashboard CTRL");
PersonalOverviewResource.getData({}, function(result, 
getResponseHeaders) {
console.log("received a result from backend");
},function(response) {
 console.log("error; code: " + response.code + ";");
});
}]);

angular.module('AngularClientSideAuth')
.factory('PersonalOverviewResource', function($rootScope, $resource) {
return $resource($rootScope.backend_domain.concat("api/overview/user"), 
{},{
getData: {method:'GET', isArray: false}
});
});

In addition I want to provide this SOF question, as the problem seems to be the 
same ( app crashes when server returns 401)
http://stackoverflow.com/questions/16897271/handle-401-unauthorized-error-on-windows-phone-with-phonegap

Stacktrace from my Xcode console:

2013-06-26 09:37:19.111 AngularPhoneGapClientSideAuth[61492:c07] success - 
redirecting to / --> successful login
2013-06-26 09:37:19.129 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.130 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.173 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401; --> unauthorized access because I did not set auth token correctly
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.199 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.220 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.221 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.224 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.257 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.280 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.309 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.325 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.326 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.329 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.351 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.370 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.388 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.403 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.404 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.406 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.425 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-2

[jira] [Updated] (CB-4000) IOS - Ajax Return Code 401 let app crash

2013-06-26 Thread Thomas Kremmel (JIRA)

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

Thomas Kremmel updated CB-4000:
---

Description: 
I'm experiencing an issue when the server returns 401 status code after the 
client made an ajax call via a Angularjs $resource. The issue is that after 
receiving the 401 code the controller is re-entered multiple times, having to 
quit the application. Interestingly the app behaves normal if the server 
returns a 403 status code.

angular.module('AngularApp')
.controller('DashboardCtrl',
['$rootScope', '$scope', 'PersonalOverviewResource', function($rootScope, 
$scope, PersonalOverviewResource) {
console.log("in dashboard CTRL");
PersonalOverviewResource.getData({}, function(result, 
getResponseHeaders) {
console.log("received a result from backend");
},function(response) {
 console.log("error; code: " + response.code + ";");
});
}]);

angular.module('AngularClientSideAuth')
.factory('PersonalOverviewResource', function($rootScope, $resource) {
return $resource($rootScope.backend_domain.concat("api/overview/user"), 
{},{
getData: {method:'GET', isArray: false}
});
});

In addition I want to provide this SOF question, as the problem seems to be the 
same ( app crashes when server returns 401)
http://stackoverflow.com/questions/16897271/handle-401-unauthorized-error-on-windows-phone-with-phonegap

Stacktrace from my Xcode console:

2013-06-26 09:37:19.111 AngularPhoneGapClientSideAuth[61492:c07] success - 
redirecting to / --> successful login
2013-06-26 09:37:19.129 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.130 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.173 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401; --> unauthorized access because I did not set auth token correctly
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.199 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.220 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.221 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.224 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.257 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.280 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.309 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.325 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.326 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.329 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.351 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.370 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.388 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.403 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.404 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.406 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.425 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-2

[jira] [Commented] (CB-4000) IOS - Ajax Return Code 401 let app crash

2013-06-26 Thread Thomas Kremmel (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693801#comment-13693801
 ] 

Thomas Kremmel commented on CB-4000:


Today I also recognized that their are two types of behaviour after receiving a 
401 in my setup (using AngularJS).

1. App goes out of control and controller is re-entered infinitely, having to 
stop the application via XCode
2. App crashes and UI seems to be unable to execute JS (for example clicking a 
button has no effect)

Whereas I cannot judge what the reasons are that number one or number two 
occurs.

> IOS - Ajax Return Code 401 let app crash
> 
>
> Key: CB-4000
> URL: https://issues.apache.org/jira/browse/CB-4000
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: OSX 10.8.4 running XCode 4.6.3 and IPad 6.1 Simulator. 
> Using AngularJS 1.1.4 
>Reporter: Thomas Kremmel
>Assignee: Shazron Abdullah
>  Labels: http, statuscode
>
> I'm experiencing an issue when the server returns 401 status code after the 
> client made an ajax call via a Angularjs $resource. The issue is that after 
> receiving the 401 code the controller is re-entered multiple times, having to 
> quit the application. Interestingly the app behaves normal if the server 
> returns a 403 status code.
> angular.module('AngularApp')
> .controller('DashboardCtrl',
> ['$rootScope', '$scope', 'PersonalOverviewResource', function($rootScope, 
> $scope, PersonalOverviewResource) {
> console.log("in dashboard CTRL");
> PersonalOverviewResource.getData({}, function(result, 
> getResponseHeaders) {
> console.log("received a result from backend");
> },function(response) {
>  console.log("error");
> });
> }]);
> angular.module('AngularClientSideAuth')
> .factory('PersonalOverviewResource', function($rootScope, $resource) {
>   return $resource($rootScope.backend_domain.concat("api/overview/user"), 
> {},{
>   getData: {method:'GET', isArray: false}
>   });
> });
> In addition I want to provide this SOF question, as the problem seems to be 
> the same ( app crashes when server returns 401)
> http://stackoverflow.com/questions/16897271/handle-401-unauthorized-error-on-windows-phone-with-phonegap

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4000) IOS - Ajax Return Code 401 let app crash

2013-06-26 Thread Thomas Kremmel (JIRA)

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

Thomas Kremmel updated CB-4000:
---

Description: 
I'm experiencing an issue when the server returns 401 status code after the 
client made an ajax call via a Angularjs $resource. The issue is that after 
receiving the 401 code the controller is re-entered multiple times, having to 
quit the application. Interestingly the app behaves normal if the server 
returns a 403 status code.

angular.module('AngularApp')
.controller('DashboardCtrl',
['$rootScope', '$scope', 'PersonalOverviewResource', function($rootScope, 
$scope, PersonalOverviewResource) {
console.log("in dashboard CTRL");
PersonalOverviewResource.getData({}, function(result, 
getResponseHeaders) {
console.log("received a result from backend");
},function(response) {
 console.log("error");
});
}]);

angular.module('AngularClientSideAuth')
.factory('PersonalOverviewResource', function($rootScope, $resource) {
return $resource($rootScope.backend_domain.concat("api/overview/user"), 
{},{
getData: {method:'GET', isArray: false}
});
});

In addition I want to provide this SOF question, as the problem seems to be the 
same ( app crashes when server returns 401)
http://stackoverflow.com/questions/16897271/handle-401-unauthorized-error-on-windows-phone-with-phonegap

Stacktrace from my Xcode console:

2013-06-26 09:37:19.111 AngularPhoneGapClientSideAuth[61492:c07] success - 
redirecting to / --> successful login
2013-06-26 09:37:19.129 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.130 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.173 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401; code: 401 --> unauthorized access because I did not set auth token 
correctly
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.195 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.199 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.220 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.221 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.224 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.252 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.257 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.277 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.280 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401 in dashboard Graph Ctrl
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.301 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.309 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.325 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.326 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.329 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.348 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.351 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.367 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.370 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.385 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.388 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.403 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.404 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.406 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.422 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.425 AngularPhoneGapClientSideAuth[61492:c07] error; code: 
401
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.445 AngularPhoneGapClientSideAuth[61492:c07] in dashboard 
CTRL
2013-06-26 09:37:19.447 Angu

[jira] [Comment Edited] (CB-4000) IOS - Ajax Return Code 401 let app crash

2013-06-26 Thread Thomas Kremmel (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693801#comment-13693801
 ] 

Thomas Kremmel edited comment on CB-4000 at 6/26/13 7:30 AM:
-

Today I also recognized that their are two types of behaviour after receiving a 
401 in my setup (using AngularJS).

1. App goes out of control and controller is re-entered infinitely, having to 
stop the application via XCode
2. App crashes and UI seems to be unable to execute JS (for example clicking a 
button has no effect)

Whereas I cannot judge what the reasons are that number one or number two 
occurs.
I updated the issue to include my stacktrace.

  was (Author: thomaskre):
Today I also recognized that their are two types of behaviour after 
receiving a 401 in my setup (using AngularJS).

1. App goes out of control and controller is re-entered infinitely, having to 
stop the application via XCode
2. App crashes and UI seems to be unable to execute JS (for example clicking a 
button has no effect)

Whereas I cannot judge what the reasons are that number one or number two 
occurs.
  
> IOS - Ajax Return Code 401 let app crash
> 
>
> Key: CB-4000
> URL: https://issues.apache.org/jira/browse/CB-4000
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: OSX 10.8.4 running XCode 4.6.3 and IPad 6.1 Simulator. 
> Using AngularJS 1.1.4 
>Reporter: Thomas Kremmel
>Assignee: Shazron Abdullah
>  Labels: http, statuscode
>
> I'm experiencing an issue when the server returns 401 status code after the 
> client made an ajax call via a Angularjs $resource. The issue is that after 
> receiving the 401 code the controller is re-entered multiple times, having to 
> quit the application. Interestingly the app behaves normal if the server 
> returns a 403 status code.
> angular.module('AngularApp')
> .controller('DashboardCtrl',
> ['$rootScope', '$scope', 'PersonalOverviewResource', function($rootScope, 
> $scope, PersonalOverviewResource) {
> console.log("in dashboard CTRL");
> PersonalOverviewResource.getData({}, function(result, 
> getResponseHeaders) {
> console.log("received a result from backend");
> },function(response) {
>  console.log("error");
> });
> }]);
> angular.module('AngularClientSideAuth')
> .factory('PersonalOverviewResource', function($rootScope, $resource) {
>   return $resource($rootScope.backend_domain.concat("api/overview/user"), 
> {},{
>   getData: {method:'GET', isArray: false}
>   });
> });
> In addition I want to provide this SOF question, as the problem seems to be 
> the same ( app crashes when server returns 401)
> http://stackoverflow.com/questions/16897271/handle-401-unauthorized-error-on-windows-phone-with-phonegap

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira