[jira] [Closed] (CB-9245) Use WebRTC for Camera plugin

2015-10-13 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-9245.

Resolution: Later

> Use WebRTC for Camera plugin
> 
>
> Key: CB-9245
> URL: https://issues.apache.org/jira/browse/CB-9245
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Piotr Zalewa
>Assignee: Piotr Zalewa
>




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

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



[jira] [Commented] (CB-9245) Use WebRTC for Camera plugin

2015-10-13 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-9245:
--

web RTC is not ready for that (yet?)

> Use WebRTC for Camera plugin
> 
>
> Key: CB-9245
> URL: https://issues.apache.org/jira/browse/CB-9245
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Reporter: Piotr Zalewa
>Assignee: Piotr Zalewa
>




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

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



[jira] [Commented] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-9407:
--

So, I found out that if I change the 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/prepare.js#L130
so it will update the config using platform_cfg all is fine.

I'm just not so sure it's the right way.


 Permissions are no longer copied to manifest.webapp
 ---

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

 I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
 manifest.webapp as they did before



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

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



[jira] [Comment Edited] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa edited comment on CB-9407 at 7/30/15 11:57 AM:


For some reason permission is an empty array 

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.config_path``

permission description=Required for accessing cameras on the device. 
name=camera privileged=true /
permission name=systemXHR privileged=true /


was (Author: zalun):
For some reason permission is an empty array 

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.confog_path``

permission description=Required for accessing cameras on the device. 
name=camera privileged=true /
permission name=systemXHR privileged=true /

 Permissions are no longer copied to manifest.webapp
 ---

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

 I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
 manifest.webapp as they did before



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

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



[jira] [Commented] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-30 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-9407:
--

For some reason permission is an empty array 

config.doc.findall('permission');

https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js#L134

although the permission exists in ``this.confog_path``

permission description=Required for accessing cameras on the device. 
name=camera privileged=true /
permission name=systemXHR privileged=true /

 Permissions are no longer copied to manifest.webapp
 ---

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

 I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
 manifest.webapp as they did before



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

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



[jira] [Commented] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-24 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-9407:
--

permission is copied into the platforms/firefoxos/config.xml, but not 
translated into JSON to platforms/firefoxos/www/manifest.webapp

 Permissions are no longer copied to manifest.webapp
 ---

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

 I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
 manifest.webapp as they did before



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

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



[jira] [Created] (CB-9407) Permissions are no longer copied to manifest.webapp

2015-07-24 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-9407:


 Summary: Permissions are no longer copied to manifest.webapp
 Key: CB-9407
 URL: https://issues.apache.org/jira/browse/CB-9407
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


I'm using Cordova 5.1.1 and permissions aren't copied from plugin.xml to the 
manifest.webapp as they did before



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

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



[jira] [Commented] (CB-9360) cordova-firefoxos doesn't populate icons field in manifest.webapp which keeps it from being launched in the 3.0 simulator

2015-07-24 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-9360:
--

Icons for FFOS need to be specified within the firefoxos section of plugin.xml 
(as specified in 
http://cordova.apache.org/docs/en/5.0.0/config_ref_images.md.html) Is that the 
way you've implemented them?

 cordova-firefoxos doesn't populate icons field in manifest.webapp which keeps 
 it from being launched in the 3.0 simulator
 -

 Key: CB-9360
 URL: https://issues.apache.org/jira/browse/CB-9360
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: Master
Reporter: Gareth Aye





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

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



[jira] [Assigned] (CB-9360) cordova-firefoxos doesn't populate icons field in manifest.webapp which keeps it from being launched in the 3.0 simulator

2015-07-24 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa reassigned CB-9360:


Assignee: Piotr Zalewa

 cordova-firefoxos doesn't populate icons field in manifest.webapp which keeps 
 it from being launched in the 3.0 simulator
 -

 Key: CB-9360
 URL: https://issues.apache.org/jira/browse/CB-9360
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: Master
Reporter: Gareth Aye
Assignee: Piotr Zalewa





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

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



[jira] [Commented] (CB-9360) cordova-firefoxos doesn't populate icons field in manifest.webapp which keeps it from being launched in the 3.0 simulator

2015-07-24 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-9360:
--

Sorry - not plugin.xml - config.xml

 cordova-firefoxos doesn't populate icons field in manifest.webapp which keeps 
 it from being launched in the 3.0 simulator
 -

 Key: CB-9360
 URL: https://issues.apache.org/jira/browse/CB-9360
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: Master
Reporter: Gareth Aye
Assignee: Piotr Zalewa





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

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



[jira] [Created] (CB-9401) FirefoxOS Camera plugin should use FXOS 1.4+ API

2015-07-23 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-9401:


 Summary: FirefoxOS Camera plugin should use FXOS 1.4+ API
 Key: CB-9401
 URL: https://issues.apache.org/jira/browse/CB-9401
 Project: Apache Cordova
  Issue Type: Improvement
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


To implement this plugin will need to feature detect compatibility with the 
FXOS. If nothing detected it should failback to current Activities based API



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

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



[jira] [Created] (CB-9245) Use WebRTC for Camera plugin

2015-06-24 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-9245:


 Summary: Use WebRTC for Camera plugin
 Key: CB-9245
 URL: https://issues.apache.org/jira/browse/CB-9245
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa






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

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



[jira] [Created] (CB-9244) Ask user for permission before using geolocation

2015-06-24 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-9244:


 Summary: Ask user for permission before using geolocation
 Key: CB-9244
 URL: https://issues.apache.org/jira/browse/CB-9244
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


FirefoxOS requires now (2.x) to ask a user to allow geolocation to the app. 
This needs to be done in plugin instead of the app



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

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



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

2015-03-05 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa reassigned CB-7201:


Assignee: Piotr Zalewa

 [FxOS file plugin] Investigate workaround for large files
 -

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

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



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

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



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

2015-03-05 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-6894:
--

specifically pause and resume events should be supported

 Support core cordova lifecycle events
 -

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

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



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

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



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

2015-03-05 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa reassigned CB-7823:


Assignee: Piotr Zalewa

 Building FirefoxOS project creates invalid config.xml
 -

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

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



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

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



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

2015-03-05 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa reassigned CB-6894:


Assignee: Piotr Zalewa  (was: Rodrigo Silveira)

 Support core cordova lifecycle events
 -

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

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



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

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



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

2015-03-05 Thread Piotr Zalewa (JIRA)

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

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

 firefox os build compression corrupted certain JPEG files
 -

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


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



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

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



[jira] [Commented] (CB-8364) InAppBrowser reports two errors in the console.

2015-01-27 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-8364:
--

No rush - this has been like that for few months.
We've got the same warnings, that's good.
My app is running, but the only thing it does is to display the inAppBrowser. 
Buttons   and x are fully working.
Please comment when you'll have time - we can also talk on IRC (zalun)

 InAppBrowser reports two errors in the console.
 ---

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

 From Axel Nennker's (telekom.de) email:
 The firefoxos version of the app reports two errors in the console log.
 Cordova.js:466 getElementByID called with empty id (or similar)
 Cordova.js:1171   -  -
 In line 1171 this is cause by lastName being null.
 https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L1171
 The value of moduleName at that time is InAppBrowserProxy.
 I fixed this by inserting in line 1172:
 If (!lastName) continue;
 In line 466 key is null or undefined.
 https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L466
 I have no idea why this happens on FirefoxOS but not on the other platforms.
 My current guess is that
 https://github.com/apache/cordova-plugin-inappbrowser/blob/master/plugin.xml#L203
 does not get digested on FirefoxOS as on the other platforms.



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

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



[jira] [Closed] (CB-6396) inappbrowser

2015-01-26 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-6396.

Resolution: Fixed

 inappbrowser
 

 Key: CB-6396
 URL: https://issues.apache.org/jira/browse/CB-6396
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin InAppBrowser
Affects Versions: 3.6.0
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 Add InAppBrowser for firefoxos



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

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



[jira] [Created] (CB-8364) InAppBrowser reports two errors in the console.

2015-01-26 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-8364:


 Summary: InAppBrowser reports two errors in the console.
 Key: CB-8364
 URL: https://issues.apache.org/jira/browse/CB-8364
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


From Axel Nennker's (telekom.de) email:

The firefoxos version of the app reports two errors in the console log.
Cordova.js:466 getElementByID called with empty id (or similar)
Cordova.js:1171   -  -

In line 1171 this is cause by lastName being null.
https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L1171

The value of moduleName at that time is InAppBrowserProxy.

I fixed this by inserting in line 1172:
If (!lastName) continue;

In line 466 key is null or undefined.
https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L466

I have no idea why this happens on FirefoxOS but not on the other platforms.
My current guess is that
https://github.com/apache/cordova-plugin-inappbrowser/blob/master/plugin.xml#L203
does not get digested on FirefoxOS as on the other platforms.



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

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



[jira] [Commented] (CB-8364) InAppBrowser reports two errors in the console.

2015-01-26 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-8364:
--

Please provide more information about the errors.
This is what I've got:

Calling:
```window.open('http://www.mozilla.org', '_blank');```

Console:
```
Empty string passed to getElementById(). cordova.js:1175:0
Empty string passed to getElementById(). cordova.js:466:0
adding proxy for InAppBrowser cordova.js:846:8
Received Event: deviceready index.js:48:8
This site makes use of a SHA-1 Certificate; it's recommended you use 
certificates with signature algorithms that use hash functions stronger than 
SHA-1.[Learn More] en-US
 _.-~-.
   7''  Q..\
...
```

Empty string passed... are warnings.

 InAppBrowser reports two errors in the console.
 ---

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

 From Axel Nennker's (telekom.de) email:
 The firefoxos version of the app reports two errors in the console log.
 Cordova.js:466 getElementByID called with empty id (or similar)
 Cordova.js:1171   -  -
 In line 1171 this is cause by lastName being null.
 https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L1171
 The value of moduleName at that time is InAppBrowserProxy.
 I fixed this by inserting in line 1172:
 If (!lastName) continue;
 In line 466 key is null or undefined.
 https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L466
 I have no idea why this happens on FirefoxOS but not on the other platforms.
 My current guess is that
 https://github.com/apache/cordova-plugin-inappbrowser/blob/master/plugin.xml#L203
 does not get digested on FirefoxOS as on the other platforms.



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

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



[jira] [Created] (CB-8144) Add SystemXHR as a solution for whitelist in FFOS

2014-12-10 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-8144:


 Summary: Add SystemXHR as a solution for whitelist in FFOS
 Key: CB-8144
 URL: https://issues.apache.org/jira/browse/CB-8144
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


Proposed content

In Firefox OS there is no concept of whitelisting a specific domain. Instead
there is a special permission called 
[SystemXHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#Permissions).
There is a need to add this permission to `config.xml`:

platform name=firefoxos
permission name=systemXHR privileged=true 
description=load data from server /
/platform

The `XMLHttpRequest` object needs to be instantiated with two parameters 
`mozAnon` and `mozSystem`:

var request = new XMLHttpRequest({
mozAnon: true,
mozSystem: true});

This solution is transparent so there is no difference for other platforms.



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

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



[jira] [Resolved] (CB-7893) Update Firefox OS Platform Guide

2014-11-05 Thread Piotr Zalewa (JIRA)

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

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

Indeed. Thanks

 Update Firefox OS Platform Guide
 

 Key: CB-7893
 URL: https://issues.apache.org/jira/browse/CB-7893
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs, FirefoxOS
Reporter: Piotr Zalewa

 In the platform Guide is written that one should create her own manifest file 
 which is not true anymore



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

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



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

2014-11-05 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-7823:
--

Does work if icons are not inside platform.
config.xml in platform is still wrong, but the webapp.manifest has the right 
icons

 Building FirefoxOS project creates invalid config.xml
 -

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

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



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

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



[jira] [Resolved] (CB-7733) Error in weekdays reporting in Firefox OS

2014-10-29 Thread Piotr Zalewa (JIRA)

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

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

 Error in weekdays reporting in Firefox OS
 -

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

 getDateNames returns (Mon - Sun) for locales starting on Monday
 getFirstDayOfWeek returns 0 for Sunday and 1 for Monday



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

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



[jira] [Commented] (CB-7066) cordova prepare firefoxos overwrites icons in manifest

2014-10-29 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-7066:
--

Please work as described in 
http://cordova.apache.org/docs/en/edge/config_ref_images.md.html#Icons%20and%20Splash%20Screens

in example icon src=www/img/icon128.png platform=firefoxos width=128 
height=128 / 


 cordova prepare firefoxos overwrites icons in manifest
 --

 Key: CB-7066
 URL: https://issues.apache.org/jira/browse/CB-7066
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
 Environment: Debian 7.5
Reporter: Pierre Rudloff

 I have got some icons manually set in a manifest file that is in my www 
 folder:
 icons: {
 32: /img/logo_32.png,
 60: /img/logo_60.png,
 90: /img/logo_90.png,
 120: /img/logo_120.png,
 128: /img/logo_128.png,
 256: /img/logo_256.png
 }
 When I run {{cordova prepare firefoxos}}, it creates a new manifest file in 
 {{platforms/firefoxos/www}} but does not keep my icons:
 icons: {
 57: /icon-57.png,
 72: /icon-72.png,
 114: /icon-114.png,
 144: /icon-144.png
 },



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

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



[jira] [Updated] (CB-7893) Update Firefox OS Platform Guide

2014-10-29 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa updated CB-7893:
-
Description: In the platform Guide is written that one should create her 
own manifest file which is not true anymore

 Update Firefox OS Platform Guide
 

 Key: CB-7893
 URL: https://issues.apache.org/jira/browse/CB-7893
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs, FirefoxOS
Reporter: Piotr Zalewa

 In the platform Guide is written that one should create her own manifest file 
 which is not true anymore



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

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



[jira] [Resolved] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-10-14 Thread Piotr Zalewa (JIRA)

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

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

As soon as it gets published FFOS is working in the same way as Android

 Globalization getPreferredLanguage is not calling back
 --

 Key: CB-7515
 URL: https://issues.apache.org/jira/browse/CB-7515
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS, Plugin Globalization
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 This happens because an ``l10n_read`` event has been fired before calling the 
 function.



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

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



[jira] [Created] (CB-7733) Error in weekdays reporting in Firefox OS

2014-10-08 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-7733:


 Summary: Error in weekdays reporting in Firefox OS
 Key: CB-7733
 URL: https://issues.apache.org/jira/browse/CB-7733
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


getDateNames returns (Mon - Sun) for locales starting on Monday
getFirstDayOfWeek returns 0 for Sunday and 1 for Monday



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

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



[jira] [Created] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-09-10 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-7515:


 Summary: Globalization getPreferredLanguage is not calling back
 Key: CB-7515
 URL: https://issues.apache.org/jira/browse/CB-7515
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


This happens because an ``l10n_read`` event has been fired before calling the 
function.



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


[jira] [Commented] (CB-7515) Globalization getPreferredLanguage is not calling back

2014-09-10 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-7515:
--

I have closed the PR as there where about 6 commits difference between apache's 
repository and github one

 Globalization getPreferredLanguage is not calling back
 --

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

 This happens because an ``l10n_read`` event has been fired before calling the 
 function.



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


[jira] [Closed] (CB-7372) Prepare for FirefoxOS on Windows generates incorrect path

2014-08-28 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-7372.


Resolution: Fixed

Fixed and merged to master


 Prepare for FirefoxOS on Windows generates incorrect path
 -

 Key: CB-7372
 URL: https://issues.apache.org/jira/browse/CB-7372
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib, FirefoxOS
Affects Versions: 3.5.0
 Environment: Windows 8 64-bit
Reporter: Gearóid Moroney
Priority: Critical

 On Windows, the manifest.webapp file for Firefox OS has an invalid path. The 
 file must be edited manually to get the app to work.
 To reproduce:
 - Install Cordova 3.5.0
 - Create a new project: cordova create test
 - In the test folder, add FxOS: cordova platform add firefoxos
 - Package the app. For FxOS all that needs to be done is prepare: cordova 
 prepare firefoxos
 - In Firefox (at least version 26), go to about:app-manager
 - Click Apps on the left, and then Add Packaged App on the bottom. Select 
 test/platforms/firefoxos/www
 - On the right-hand side, notice the error: Launch path has to be an 
 absolute path starting with '/': '\index.html'
 I have a fix ready for this and will submit a pull request on GitHub.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-7102) globalization

2014-08-28 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-7102.


Resolution: Fixed

Globalization is currently working.
Additional features will need a new issue.

 globalization
 -

 Key: CB-7102
 URL: https://issues.apache.org/jira/browse/CB-7102
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 Add globalization support for Firefox OS



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-3204) initial implementation of cordova apis

2014-08-28 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa reassigned CB-3204:


Assignee: Piotr Zalewa  (was: James Long)

 initial implementation of cordova apis
 --

 Key: CB-3204
 URL: https://issues.apache.org/jira/browse/CB-3204
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Herm Wong
Assignee: Piotr Zalewa





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-7123) Firefox OS inAppBrowser forward/back buttons fail

2014-07-11 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa reassigned CB-7123:


Assignee: Piotr Zalewa

 Firefox OS inAppBrowser forward/back buttons fail
 -

 Key: CB-7123
 URL: https://issues.apache.org/jira/browse/CB-7123
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
Reporter: Jason Weathersby
Assignee: Piotr Zalewa
Priority: Minor

 Firefox OS inAppBrowser plugin uses the goBack/goForward methods
 https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement.goBack
 These require the app to be privileged.  While the proper permission is added 
 to the manifest, the type privileged is not set.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-7123) Firefox OS inAppBrowser forward/back buttons fail

2014-07-11 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-7123.
--

Resolution: Fixed

 Firefox OS inAppBrowser forward/back buttons fail
 -

 Key: CB-7123
 URL: https://issues.apache.org/jira/browse/CB-7123
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
Reporter: Jason Weathersby
Assignee: Piotr Zalewa
Priority: Minor

 Firefox OS inAppBrowser plugin uses the goBack/goForward methods
 https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement.goBack
 These require the app to be privileged.  While the proper permission is added 
 to the manifest, the type privileged is not set.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-7102) globalization

2014-07-09 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-7102:


 Summary: globalization
 Key: CB-7102
 URL: https://issues.apache.org/jira/browse/CB-7102
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa


Add globalization support for Firefox OS



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6949) CSP in FirefoxOS breaks app.initialize() causing deviceReady not to fire

2014-06-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-6949:
--

To enter into the CSP mode an app need to be privileged. That happens when 
you'd add a plugin which requires it - in example contacts plugin.

We need to change ``cordova-app-hello-world`` so all JS will be placed in a 
separate JS

 CSP in FirefoxOS breaks app.initialize() causing deviceReady not to fire
 

 Key: CB-6949
 URL: https://issues.apache.org/jira/browse/CB-6949
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: John McLear
Priority: Critical

 To replicate:
 cordova create test
 cordova platform add firefoxos
 Run your application on firefoxos and you will notice deviceReady does not 
 fire.  You will also get a CSP warning.
 The cause is the inline app.initialize()
 The fix is to move the app.initialize() to another file and set the script at 
 defered however I expect this will break a lot of other things.
 FirefoxOS expects CSP for all applications by default and is completely 
 strict about certified applications.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6895) Generated manifest skips some properties

2014-06-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-6895.
--

Resolution: Fixed

 Generated manifest skips some properties
 

 Key: CB-6895
 URL: https://issues.apache.org/jira/browse/CB-6895
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
Reporter: Rodrigo Silveira
Assignee: Rodrigo Silveira

 The properties *launch_path* and *installs_allowed_from* are hard coded and 
 should instead come from *content* and *access* elements in *config.xml*.
 Manifest doesn't support fullscreen and portrait.
 See [config.xml 
 docs|http://cordova.apache.org/docs/en/3.5.0/config_ref_index.md.html#The%20config.xml%20File]
  for cordova props we can use and [app manifest 
 doc|https://developer.mozilla.org/en-US/Apps/Build/Manifest] for what 
 firefoxos supports.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-5692) Add icon to firefoxos

2014-06-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-5692.
--

Resolution: Fixed

 Add icon to firefoxos
 -

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

 Add icons to firefoxos and add icons field to manifest.webapp
 https://developer.mozilla.org/en-US/Apps/Developing/Manifest
 icons: {
   30: icon-30.png,
   60: icon-60.png,
   128: icon-128.png
 }



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6570) mobile-spec has inline JavaScript which is forbidden for Firefox OS privileged apps

2014-06-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-6570.
--

Resolution: Fixed

 mobile-spec has inline JavaScript which is forbidden for Firefox OS 
 privileged apps
 ---

 Key: CB-6570
 URL: https://issues.apache.org/jira/browse/CB-6570
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS, mobile-spec
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-5033) Write tests for firefoxos in cordova-cli

2014-06-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-5033.


Resolution: Fixed

Not gonna happen

 Write tests for firefoxos in cordova-cli
 

 Key: CB-5033
 URL: https://issues.apache.org/jira/browse/CB-5033
 Project: Apache Cordova
  Issue Type: Task
  Components: FirefoxOS
Reporter: James Long

 I'm going to add firefox os to the spec/metadata folder in cordova-cli so 
 that we can test it. Might have some questions as I go through it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6089) Can not add device plugin when platform firefoxos present

2014-06-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-6089.
--

Resolution: Fixed

It is working, I assume it was fixed

 Can not add device plugin when platform firefoxos present
 -

 Key: CB-6089
 URL: https://issues.apache.org/jira/browse/CB-6089
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, FirefoxOS, Plugin Device
Affects Versions: 3.4.0
 Environment: osx
 cordova cli
Reporter: Carlos Santana

 $ cordova create hello
 $ cd hello
 $ cordova platform add ios
 $ cordova platform firefoxos
 $ cordova plugin add org.apache.cordova.device
 Fetching plugin org.apache.cordova.device via plugin registry
 Starting installation of org.apache.cordova.device for android
 Preparing android project
 org.apache.cordova.device installed on android.
 Starting installation of org.apache.cordova.device for firefoxos
 Preparing firefoxos project
 Error: ENOENT, no such file or directory 
 '/Users/csantana23/git/csantanapr/triangle-open-data-day/hybridApp/todd/platforms/firefoxos/www/config.xml'
 at Object.fs.openSync (fs.js:427:18)
 at Object.fs.readFileSync (fs.js:284:15)
 at Object.module.exports.parseElementtreeSync 
 (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/xml-helpers.js:119:27)
 at Object.module.exports.package_name 
 (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/platforms/firefoxos.js:10:38)
 at Object.module.exports.generate_plugin_config_munge 
 (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:100:53)
 at Object.module.exports.add_plugin_changes 
 (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:300:43)
 at 
 /Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:440:28
 at Array.forEach (native)
 at Object.module.exports.process 
 (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:439:49)
 at Object.handlePrepare 
 (/Users/csantana23/.nvm/v0.10.24/lib/node_modules/cordova/node_modules/plugman/src/prepare.js:69:20)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-6888) Fix Polish translation of plugins

2014-06-10 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-6888.


Resolution: Invalid

 Fix Polish translation of plugins
 -

 Key: CB-6888
 URL: https://issues.apache.org/jira/browse/CB-6888
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Piotr Zalewa

 Bing translation is not perfect, let's make it good



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6888) Fix Polish translation of plugins

2014-06-06 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-6888:


 Summary: Fix Polish translation of plugins
 Key: CB-6888
 URL: https://issues.apache.org/jira/browse/CB-6888
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Piotr Zalewa


Bing translation is not perfect, let's make it good



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-5611) battery-status

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-5611.
--

Resolution: Fixed

Merged to master

 battery-status
 --

 Key: CB-5611
 URL: https://issues.apache.org/jira/browse/CB-5611
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill
Assignee: Rodrigo Silveira





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6718) cordova firefox reports wrong version

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-6718.
--

Resolution: Fixed

The string is fixed and the coho is changed so it won't happen in the future

 cordova firefox reports wrong version
 -

 Key: CB-6718
 URL: https://issues.apache.org/jira/browse/CB-6718
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Affects Versions: 3.5.0
 Environment: MacOSX
Reporter: Carlos Santana

 While doing rc testing platform cordova-firefoxos reports 3.4.0-dev when it 
 should report 3.5.0
 Steps to replicate
 Install cordova cli 3.5.0-0.2.4
 {code}
 $ ../../node_modules/.bin/cordova -v
 3.5.0-0.2.4
 $ ./node_modules/.bin/cordova create firefox350/newProj
 Creating a new cordova project with name HelloCordova and id 
 io.cordova.hellocordova at location 
 /Users/csantana23/Documents/cordova/firefox350/newProj
 Downloading cordova library for www...
 Download complete
 /Users/csantana23/Documents/cordova/firefox350/newProj
 $ ../../node_modules/.bin/cordova platform add firefoxos
 Downloading cordova library for firefoxos...
 Download complete
 Creating firefoxos project...
 Creating Firefox OS project
 Project Path platforms/firefoxos
 Package Name io.cordova.hellocordova
 Project Name HelloCordova
 /Users/csantana23/Documents/cordova/firefox350/newProj
 $ ../../node_modules/.bin/cordova platform ls
 Installed platforms: firefoxos 3.4.0-dev
 Available platforms: amazon-fireos, android, blackberry10, ios
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



[jira] [Commented] (CB-6570) mobile-spec has inline JavaScript which is forbidden for Firefox OS privileged apps

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-6570:
--

As far as I know right now there is a tendency to move tests to plugins. Has 
this pull request became irrelevant?

 mobile-spec has inline JavaScript which is forbidden for Firefox OS 
 privileged apps
 ---

 Key: CB-6570
 URL: https://issues.apache.org/jira/browse/CB-6570
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS, mobile-spec
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-5816) FirefoxOS - add build script

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-5816.
--

Resolution: Fixed

 FirefoxOS - add build script
 

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

 run:  cordova build firefoxos
 output:
 Generating config.xml from defaults for platform firefoxos
 Preparing firefoxos project
 Compiling app on platform firefoxos via command 
 /project/platforms/firefoxos/cordova/build 
 events.js:72
 throw er; // Unhandled 'error' event
   ^
 Error: spawn ENOENT
 at errnoException (child_process.js:980:11)
 at Process.ChildProcess._handle.onexit (child_process.js:771:34)
 project$ 
 expected output: 
 nothing
 -
 platforms/firefoxos/cordova/build does not exist so the cordova build 
 firefoxos command fails.
 Please add a build script (although it does nothing)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-4550) Add ./cordova/build project level script

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-4550.


Resolution: Duplicate

 Add ./cordova/build project level script
 

 Key: CB-4550
 URL: https://issues.apache.org/jira/browse/CB-4550
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Steve Gill

 {code}
 build [--debug] [--release]
 {code}
 Builds the application and compiles to the platform's appropriate binary 
 format. 
 By default builds a debug release:
 {code}
 build --debug
 {code}
 Supports building a release (possibly signed) build using:
 {code}
 build --release
 {code}
 Implicitly calls {{./cordova/clean}} first.
 If both {{release}} and {{debug}} parameters are specified, error out with 
 exit code 2 and an appropriate error message.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-6200) plugman has broken all plugins for firefoxos

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-6200.
--

Resolution: Fixed

 plugman has broken all plugins for firefoxos
 

 Key: CB-6200
 URL: https://issues.apache.org/jira/browse/CB-6200
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: James Long

 Somehow the firefoxos code in plugman got broken and all `plugin add` 
 commands throw this error:
 Fetching plugin org.apache.cordova.camera via plugin registry
 Installing org.apache.cordova.camera (firefoxos)
 ReferenceError: xml_helpers is not defined
 This line here uses `xml_helpers` but it's not defined: 
 https://github.com/apache/cordova-plugman/blob/master/src/platforms/firefoxos.js#L25.
  This looks like it's in the live version. Are all of our plugins broken for 
 cordova and phonegap?
 This person fixed it with this PR. Please merge it: 
 https://github.com/apache/cordova-plugman/pull/61



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-5271) cordova prepare firefoxos comes back with useless information when the platform is not installed

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-5271.


Resolution: Fixed

Not happening in 3.4.x

 cordova prepare firefoxos comes back with useless information when the 
 platform is not installed
 

 Key: CB-5271
 URL: https://issues.apache.org/jira/browse/CB-5271
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS
Reporter: Jenny Gee

 1. Create a project
 2. Don't add ANY platforms and run prepare:
 ci003068684:Some Directory jgee$ cordova prepare firefoxos
 cp: copyFileSync: could not write to dest file 
 (code=ENOENT):/Users/jgee/RippleSites/cordovaTest/Some 
 Directory/platforms/firefoxos/www/config.xml
 { [Error: ENOENT, no such file or directory 
 '/Users/jgee/RippleSites/cordovaTest/Some Directory/platforms/firefoxos']
   errno: 34,
   code: 'ENOENT',
   path: '/Users/jgee/RippleSites/cordovaTest/Some 
 Directory/platforms/firefoxos',
   syscall: 'readdir' }
 If you run the BlackBerry one, you get a nicer message.
 ci003068684:Some Directory jgee$ cordova prepare blackberry10
 [Error: The provided path /Users/jgee/RippleSites/cordovaTest/Some 
 Directory/platforms/blackberry10 is not a Cordova BlackBerry10 project.]



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-5141) FirefoxOS - fix version script permissions

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-5141.
--

Resolution: Fixed

 FirefoxOS - fix version script permissions
 --

 Key: CB-5141
 URL: https://issues.apache.org/jira/browse/CB-5141
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 3.1.0
Reporter: Josh Soref
Assignee: Josh Soref

 Run this:
 cordova create test;
 cd test;
 cordova platform add firefoxos;
 cordova platform
 Actual results:
 Installed platforms: firefoxos
 Available platforms: android, blackberry10, ios
 Expected results:
 Installed platforms: firefoxos 3.1.0
 Available platforms: android, blackberry10, ios
 -- This works on Android and iOS (and will work properly on BlackBerry 10 
 shortly)
 This is major because it was major for the other platforms...



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-5415) FxOS plugin permissions documentation

2014-05-21 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-5415.
--

Resolution: Fixed

All plugins which do need an app to have any permissions do have either 
documention with such information or are ready for 3.5 where plugins will 
change the manifest if needed automatically

 FxOS plugin permissions documentation
 -

 Key: CB-5415
 URL: https://issues.apache.org/jira/browse/CB-5415
 Project: Apache Cordova
  Issue Type: Task
  Components: FirefoxOS
Affects Versions: 3.2.0
Reporter: Herm Wong
Assignee: Herm Wong

 List of all permissions in FxOS.
 As plugins are completed the permissions required for the manifest.webapp 
 should be documented with the corresponding API.
 https://developer.mozilla.org/en-US/Apps/Developing/App_permissions?redirectlocale=en-USredirectslug=Web%2FApps%2FApp_permissions



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-4966) dialog

2014-05-15 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa resolved CB-4966.
--

Resolution: Fixed

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6570) mobile-spec has inline JavaScript which is forbidden for Firefox OS privileged apps

2014-04-30 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-6570:


 Summary: mobile-spec has inline JavaScript which is forbidden for 
Firefox OS privileged apps
 Key: CB-6570
 URL: https://issues.apache.org/jira/browse/CB-6570
 Project: Apache Cordova
  Issue Type: Bug
  Components: FirefoxOS, mobile-spec
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5757) contacts tests can't run on Firefox OS

2014-04-30 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-5757:
--

Please close this issue - it is an issue for all test - not only contacts. 
If one will make mobile-spec a privileged app (to be able test contacts i.e.) 
all other plugins will be broken. 
I created #CB-6570 to solve the issue

 contacts tests can't run on Firefox OS 
 ---

 Key: CB-5757
 URL: https://issues.apache.org/jira/browse/CB-5757
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Contacts
Reporter: James Long

 The contacts tests can't run on Firefox OS because contacts require a 
 privileged app and privileged apps require CSP.
 Piotr has fixed this and improved the tests in this PR: 
 https://github.com/apache/cordova-mobile-spec/pull/44. Please test this and 
 merge.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Closed] (CB-5757) contacts tests can't run on Firefox OS

2014-04-30 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa closed CB-5757.


Resolution: Incomplete

 contacts tests can't run on Firefox OS 
 ---

 Key: CB-5757
 URL: https://issues.apache.org/jira/browse/CB-5757
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Contacts
Reporter: James Long

 The contacts tests can't run on Firefox OS because contacts require a 
 privileged app and privileged apps require CSP.
 Piotr has fixed this and improved the tests in this PR: 
 https://github.com/apache/cordova-mobile-spec/pull/44. Please test this and 
 merge.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-6396) inappbrowser

2014-04-30 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa updated CB-6396:
-

Assignee: Piotr Zalewa

 inappbrowser
 

 Key: CB-6396
 URL: https://issues.apache.org/jira/browse/CB-6396
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin InAppBrowser
Affects Versions: 3.6.0
Reporter: Piotr Zalewa
Assignee: Piotr Zalewa

 Add InAppBrowser for firefoxos



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6396) inappbrowser

2014-04-03 Thread Piotr Zalewa (JIRA)
Piotr Zalewa created CB-6396:


 Summary: inappbrowser
 Key: CB-6396
 URL: https://issues.apache.org/jira/browse/CB-6396
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin InAppBrowser
Affects Versions: 3.6.0
Reporter: Piotr Zalewa


Add InAppBrowser for firefoxos



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4966) dialog

2014-04-01 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

Separate window approach will have to wait until Firefox API for opening and 
close singular windows (opened by window.open() ) will settle down. It's 
currently behaving in a different way in every version (1.1, 1.2 and 1.3).

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5972) update firefox os docs pages

2014-03-26 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-5972:
--

[~jlongster] can we close this issue?

 update firefox os docs pages
 

 Key: CB-5972
 URL: https://issues.apache.org/jira/browse/CB-5972
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: James Long

 Please merge this PR: https://github.com/apache/cordova-docs/pull/183/files
 It adds a page for Firefox OS in the docs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5834) remove Firefox OS from CLI doc

2014-03-26 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-5834:
--

[~sierra] can we please close it? Platform guide is there on the website

 remove Firefox OS from CLI doc
 --

 Key: CB-5834
 URL: https://issues.apache.org/jira/browse/CB-5834
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Mike Sierra
Assignee: Mike Sierra
Priority: Minor

 The CLI doc mentions Firefox OS, including in examples, but there's no 
 platform guide yet to indicate support.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-89) Support Firefox Mobile (Fennec) as debug target

2014-03-26 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-89:


I think we can close this - fennec is able to use marketplace for app 
installation

 Support Firefox Mobile (Fennec) as debug target
 ---

 Key: CB-89
 URL: https://issues.apache.org/jira/browse/CB-89
 Project: Apache Cordova
  Issue Type: New Feature
  Components: weinre
Reporter: Patrick Mueller
Assignee: Patrick Mueller

 from https://github.com/phonegap/weinre/issues/22
 *brion (Brion Vibber) opened this issue July 28, 2011*
 Since the debugging shim in the web page runs in native JavaScript, it ought 
 to be possible in theory to use weinre with non-WebKit debugging targets as 
 long as the JS can get the info it needs. This could be quite handy for 
 testing a mobile web app on several browsers including Firefox for Android  
 Meego.
 I did a quick test with Firefox 5.0.1 on the desktop to see how much works 
 with weinre (my copy of Android firefox is currently not working for 
 unrelated reasons, but it's built from the same codebase as desktop firefox 
 and should behave about the same).
 inspector... sorta works:
 * HTML tree looks ok
 * ... but no highlight of selected item
 * ... no computed style/styles/metrics info
 * ... properties are mislabeled (but this seems to be same problem using 
 Chrome and in the OSCON demo, so may be a regression in the inspector or 
 weinre itself)
 * ... no event listeners info (but also doesn't work in Chrome 12)
 basic console works:
 * evaluate alert('hey')
 * evaluate 25 + 32, get 57
 * evaluate $('p').css('color', 'red') on a jQuery-using page; it works, and 
 shows a list of HTMLParagraphElements as expected
 resources:
 * 'databases' is blank (ff has no websql support so that's probably fine!)
 * 'local storage' and 'session storage' on the localhost does show entries... 
 but they're the setItem, clear, and removeItem methods. :)
 timeline:
 * appears to work similarly to target in Chrome
 Even with the limited inspector, I would probably find this useful already. :D



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-5033) Write tests for firefoxos in cordova-cli

2014-03-26 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-5033:
--

[~jlongster] could you please update on that?

 Write tests for firefoxos in cordova-cli
 

 Key: CB-5033
 URL: https://issues.apache.org/jira/browse/CB-5033
 Project: Apache Cordova
  Issue Type: Task
  Components: FirefoxOS
Reporter: James Long

 I'm going to add firefox os to the spec/metadata folder in cordova-cli so 
 that we can test it. Might have some questions as I go through it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6160) adding plugin fails for Firefoxos.

2014-03-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-6160:
--

Ping. What test should be run to test plugman?
We need this shipped. I believe bug was introduced in 0.20.1 or 0.20.2
I will try tomorrow, but I haven't been working on plugman yet

 adding plugin fails for Firefoxos. 
 ---

 Key: CB-6160
 URL: https://issues.apache.org/jira/browse/CB-6160
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Gert-Jan Braas
Priority: Blocker

 reason:  
 No xml_helpers defined ( in src/platforms/firefoxos.js)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6160) adding plugin fails for Firefoxos.

2014-03-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-6160:
--

As far as I can get this merge is actually in master here: 
https://github.com/apache/cordova-plugman/blob/master/src/platforms/firefoxos.js#L4
Can we please ship it?

 adding plugin fails for Firefoxos. 
 ---

 Key: CB-6160
 URL: https://issues.apache.org/jira/browse/CB-6160
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Gert-Jan Braas
Priority: Blocker

 reason:  
 No xml_helpers defined ( in src/platforms/firefoxos.js)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-6160) adding plugin fails for Firefoxos.

2014-03-18 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa edited comment on CB-6160 at 3/19/14 12:45 AM:


As far as I can see this merge is actually in master here: 
https://github.com/apache/cordova-plugman/blob/master/src/platforms/firefoxos.js#L4
Can we please ship it?


was (Author: zalun):
As far as I can get this merge is actually in master here: 
https://github.com/apache/cordova-plugman/blob/master/src/platforms/firefoxos.js#L4
Can we please ship it?

 adding plugin fails for Firefoxos. 
 ---

 Key: CB-6160
 URL: https://issues.apache.org/jira/browse/CB-6160
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Gert-Jan Braas
Priority: Blocker

 reason:  
 No xml_helpers defined ( in src/platforms/firefoxos.js)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4966) dialog

2014-03-07 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

The idea behind is purity. 

Displaying the dialog by covering the DOM with a specific layer might implement 
few issues. CSS might be corrupted by some declarations inside index.css, it 
might happen that DOM elements might get duplicated. Adding notification.css to 
entire DOM is a little too broad.

Having it in separate window brings ability to go out of the dialog without 
making a choice (Certainly this could be implemented to current version). No 
need to add css file to your app HTML. Adding it for FirefoxOS sake only will 
require removing it from all HTML files when building for other platforms.

Well there is an issue about blocking dialogs. Imagine using notification.alert 
will stop your app from contacting the server.

Current implementation of the plugin is not blocking, but has above issues. 

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4966) dialog

2014-03-06 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

English is not my first language as well. 

I will try to assume:

1. The link you've posted - 
https://developer.mozilla.org/en-US/docs/Web/API/notification is about the 
desktop notification system which is displaying alerts and confirmations. As 
far as I know it cannot be used for receiving feedback from users. To provide 
dialogs (alert, confirm and prompt) Cordova has a Notification API. It is 
displaying these dialog windows asynchronously (the rest of the code is still 
executed) and provides the results via callback system.

2. You've mentioned master branch. If it is cordova-plugin-dialogs master 
branch then I don't see how it would work without src/firefoxos/notification.js 
file which development we're discussing here. 

3. You've also mentioned permission. Yes. alert, prompt and confirm usage is 
not restricted.

4. Not standard. Valid point, but there is no standard and asynchronous dialogs 
available in FirefoxOS. Unfortunately you're also right on the issue which 
comes from this - changing the skin of FirefoxOS will not be reflected in 
dialogs generated by this plugin. Standard alert, prompt and confirm have two 
issues which prevent us from using inside Cordova plugin. 
4.1 They are not compatible with Cordova API - There is no way to change the 
title and button labels.
4.2. They are blocking JS execution. This is major as displaying an alert will 
stop other running JS functions. This is an example 
http://jsfiddle.net/zalun/DSF5D/

I've been talking about these issues with our apps team at Mozilla. I don't 
remember anyone bringing the skin issue, but I still think it's a low cost to 
pay when the alternative is a completely incompatible API. The standard API is 
still present for developer to use in the app, there is no restriction on that. 
On the other side developer has now the power to change the skin of these 
dialog windows which obviously might be a pro and a con.

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4966) dialog

2014-03-04 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

AFAIK Mozilla Notification API is to display messages inside the drawer where 
all system messages are placed. This has nothing about prompt or confirm.

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Comment Edited] (CB-4966) dialog

2014-03-04 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa edited comment on CB-4966 at 3/4/14 10:38 AM:
---

AFAIK Mozilla Notification API is to display messages inside the drawer where 
all system messages are placed. This has nothing about prompt or confirm.

[Edit]
What do you mean by master? window.alert() and other functions are not 
asynchronous and do not respond with a callback. Using them would change the 
code flow. Please show me how it's done.


was (Author: zalun):
AFAIK Mozilla Notification API is to display messages inside the drawer where 
all system messages are placed. This has nothing about prompt or confirm.

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4966) dialog

2014-03-03 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

[~RobberPhex] You mean the entire plugin is not good idea?

ad 1) Yes it's not standard, but Cordova API is very different froom standard 
one
ad 2) OS theme? Right - it is an issue

Which method? Standard alert(), prompt(). What bug?

Thanks

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4966) dialog

2014-01-27 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

Prompt response was broken.
There was also an error in buttonIndex (starting from 0 instead of 1)
https://github.com/apache/cordova-plugin-dialogs/pull/15

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4966) dialog

2014-01-27 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

Thanks

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-25 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

I will close the PR and make another one today

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.4.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-25 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

No idea why there was a conflict ...
To speed up the fix I've simply removed my github repo, forked again and 
applied changes.
https://github.com/apache/cordova-plugin-contacts/pull/18

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.4.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-24 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Can we please pull the 
https://github.com/apache/cordova-plugin-contacts/pull/17 ?
This will make much easier to develop
Thank you

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.4.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4919) camera

2014-01-24 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4919:
--

For some reason plugin.xml is showing a file which is using old style plugin 
registration.
Please pull https://github.com/apache/cordova-plugin-camera/pull/10

 camera
 --

 Key: CB-4919
 URL: https://issues.apache.org/jira/browse/CB-4919
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 3.0.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4967) device-motion

2014-01-14 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4967:
--

Supported platforms updated

https://github.com/apache/cordova-plugin-device-motion/pull/8

 device-motion
 -

 Key: CB-4967
 URL: https://issues.apache.org/jira/browse/CB-4967
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Device Motion
 Environment: firefoxos
Reporter: Piotr Zalewa
Assignee: Steve Gill

 I started development of the Accelerator 
 https://github.com/zalun/cordova-plugin-device-motion
 I've got issues on FxOS device, works on Android (via Firefox browser) 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3206) vibration

2014-01-14 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3206:
--

Supported platforms updated
https://github.com/apache/cordova-plugin-vibration/pull/8

 vibration
 -

 Key: CB-3206
 URL: https://issues.apache.org/jira/browse/CB-3206
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.1.0






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5326) update geolocation docs

2014-01-14 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-5326:
--

Have we lost the permission info from 11/8/13? 


 update geolocation docs
 ---

 Key: CB-5326
 URL: https://issues.apache.org/jira/browse/CB-5326
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Docs, FirefoxOS
Affects Versions: 3.1.0
Reporter: Herm Wong
Assignee: Herm Wong
Priority: Minor

 update the geolocation docs with the permissions required in manifest.webapp



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5326) update geolocation docs

2014-01-14 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-5326:
--

I've readded the permission info
and updated the supported platforms

https://github.com/apache/cordova-plugin-geolocation/pull/12

Github however claims I had 6 commits to merge. Sorry about that - only the 
`index.md` file is changed.

 update geolocation docs
 ---

 Key: CB-5326
 URL: https://issues.apache.org/jira/browse/CB-5326
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Docs, FirefoxOS
Affects Versions: 3.1.0
Reporter: Herm Wong
Assignee: Herm Wong
Priority: Minor

 update the geolocation docs with the permissions required in manifest.webapp



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4919) camera

2014-01-14 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4919:
--

Added docs for Firefox OS
https://github.com/apache/cordova-plugin-camera/pull/7

 camera
 --

 Key: CB-4919
 URL: https://issues.apache.org/jira/browse/CB-4919
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 3.0.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4920) device

2014-01-14 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4920:
--

Supported platforms updated
https://github.com/apache/cordova-plugin-device/pull/9

 device
 --

 Key: CB-4920
 URL: https://issues.apache.org/jira/browse/CB-4920
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 3.0.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.1.0






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3205) orientation

2014-01-13 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3205:
--

Docs added
https://github.com/apache/cordova-plugin-device-orientation/pull/7

 orientation
 ---

 Key: CB-3205
 URL: https://issues.apache.org/jira/browse/CB-3205
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Reporter: Herm Wong
Assignee: Herm Wong





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-10 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Thanks for the comment

Forgotten the squashing - been working for too long on this.
As of working on a separate branch - I usually do it, but the whole concept was 
about adding FFOS support, so no other branch was needed. 

I think future changes will be more fine tuned.

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.4.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4966) dialog

2014-01-10 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

Created pull request with docs in place 
https://github.com/apache/cordova-plugin-dialogs/pull/11

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-07 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Read-only name.formatted added to my repository.

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-07 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

https://github.com/apache/cordova-plugin-contacts/pull/16

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-07 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Updated tests:
https://github.com/apache/cordova-mobile-spec/pull/44

manifest.webapp

{
  launch_path: /index.html,
  version: 0.0.1,
  name: Mobile Spec,
  pkgName: io.cordova.mobilespec,
  type: privileged,
  permissions: {
contacts: {
  access: readwrite,
  description: testing
}
  }
}

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2014-01-02 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Do you have a specific example?

Here is the test I used to check saving - 
https://github.com/zalun/cordova-mobile-spec/blob/master/autotest/tests/contacts.tests.js#L358-L425

Major known issues so far:
  * There is no way of saving a formatted field
(I'm thinking of creating it automatically based on data)
  * There is some information lost in organizations

I'm more concerned of dealing with existing contacts written in FFOS if they're 
gonna be rewritten by PhoneGap app. These are fields which would be lost in 
such action - 
https://github.com/zalun/cordova-plugin-contacts/blob/master/src/firefoxos/ContactsProxy.js#L145-L153

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3208) contacts

2013-12-20 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Update:

Current Contacts Proxy - https://github.com/zalun/cordova-plugin-contacts
I needed to modify the tests as well to make it work under FFOS (type 
privilleged is required which bans inline javascript)
https://github.com/zalun/cordova-mobile-spec
I've been working on automated tests only. 
I modified test 20 so it's deleting the gContactObj as 21 is no longer 
depending on its creation.
21 is now testing returned (from save) fields like addresses, organizations and 
categories.

The manual test isn't working well yet.

I haven't yet added quirks to the docs, let's wait with merging until that 
happens.

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-3208) contacts

2013-12-12 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

found a race condition in tests (20/21) fixing the tests

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-4966) dialog

2013-12-09 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

There is an error in plugin.xml - files are copied to css instead of img

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-4966) dialog

2013-12-09 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

The fix is in this commit;
 
https://github.com/zalun/cordova-plugin-dialogs/commit/b44c1385a3e1762dc56b6018588400f10fab8320

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (CB-4966) dialog

2013-12-04 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-4966:
--

Built in are simply alert(), prompt() etc. These are very different from the 
Cordova ones.

 dialog
 --

 Key: CB-4966
 URL: https://issues.apache.org/jira/browse/CB-4966
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugin Dialogs
 Environment: firefoxos
Reporter: Piotr Zalewa

 I started developing it - only the CSS is left - no idea how to conect it to 
 main CSS (is it needed?)
 https://github.com/zalun/cordova-plugin-dialogs



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-3208) contacts

2013-12-02 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

Documentation for enabling Contacts API on FxOS 
https://github.com/zalun/cordova-docs/commit/f39057c8945201ceb15ea6b3c3987e2a75260281

 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.3.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-3208) contacts

2013-11-28 Thread Piotr Zalewa (JIRA)

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

Piotr Zalewa commented on CB-3208:
--

This is currently working version of contacts
Two things to note:
1. There might be some issues with data translation
2. Search hacked and is using getAll instead of find function due to (still 
unconfirmed) https://bugzilla.mozilla.org/show_bug.cgi?id=941008

https://github.com/zalun/cordova-plugin-contacts


 contacts
 

 Key: CB-3208
 URL: https://issues.apache.org/jira/browse/CB-3208
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: FirefoxOS
Affects Versions: 2.6.0
Reporter: Herm Wong
Assignee: Herm Wong
 Fix For: 3.2.0


 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI



--
This message was sent by Atlassian JIRA
(v6.1#6144)


  1   2   >