add plugin fails on Firefoxos

2014-03-04 Thread Gert-Jan Braas
https://issues.apache.org/jira/browse/CB-6160 pull reqeust is in the comments

Re: [Vote] cordova@3.4.0-0.1.3 plugman@0.20.2

2014-03-04 Thread Bryan Higgins
+1 On Mon, Mar 3, 2014 at 9:48 PM, Ian Clelland iclell...@chromium.org wrote: +1 Tested from dist.apache.org, verified code matching hashes, signature and repositories. Verified CB-6151 fix. On Mon, Mar 3, 2014 at 4:25 PM, Andrew Grieve agri...@chromium.org wrote: Please review and

[CVE-2014-0072] Apache Cordova File-Transfer insecure defaults

2014-03-04 Thread Ian Clelland
CVE-2014-0072: Apache Cordova File-Transfer insecure defaults Severity: Important Vendor: The Apache Software Foundation Versions Affected: Cordova File-Transfer iOS plugin from Cordova versions 2.4.0 to 2.9.0 Cordova File-Transfer iOS standalone plugin (org.apache.cordova.file-transfer)

[CVE-2014-0073] Apache Cordova In-App-Browser privilege escalation

2014-03-04 Thread Ian Clelland
CVE-2014-0073: Apache Cordova In-App-Browser privilege escalation Severity: Important Vendor:The Apache Software Foundation Versions Affected:Cordova In-App-Browser iOS plugin from Cordova versions 2.6.0 to 2.9.0Cordova In-App-Browser iOS standalone plugin (org.apache.cordova.inappbrowser)

Security releases this morning

2014-03-04 Thread Ian Clelland
Hello everyone, This morning, we released new versions of several plugins, containing a number of improvements and bug fixes. Two of these plugins contain important security patches, and we're recommending that anyone using them upgrade their plugins immediately. File-Transfer used an insecure

Re: get config.xml data from js

2014-03-04 Thread Michal Mocny
On Tue, Mar 4, 2014 at 2:32 AM, Axel Nennker ignisvul...@gmail.com wrote: Just found this: chrome.runtime (Stable since Chrome 22.) http://developer.chrome.com/extensions/runtime#method-getManifest getManifest object chrome.runtime.getManifest() Obligatory:

Re: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Michal Mocny
Cool. I haven't dug deep yet, but was curious how this compares to: https://github.com/apache/cordova-mobile-spec/blob/master/createmobilespec.sh On Mon, Mar 3, 2014 at 5:15 PM, Martin Gonzalez Glez martin.c.glez.g...@gmail.com wrote: I've just made a command line script for Mobile spec

Re: [Vote] cordova@3.4.0-0.1.3 plugman@0.20.2

2014-03-04 Thread Michal Mocny
+1 On Tue, Mar 4, 2014 at 8:05 AM, Bryan Higgins br...@bryanhiggins.netwrote: +1 On Mon, Mar 3, 2014 at 9:48 PM, Ian Clelland iclell...@chromium.org wrote: +1 Tested from dist.apache.org, verified code matching hashes, signature and repositories. Verified CB-6151 fix. On

Move Release Process Docs to cordova-docs

2014-03-04 Thread Andrew Grieve
Instead of the wiki. Would make it easier to track what changes are made to it, allow pull requests to it. +1?

Re: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Martin Gonzalez Glez
Yes indeed, it runs without emulation. There's some differences between createmobilespec.sh, and this one. Well this one can work by itself, if it doesn't have available the coho repository, it will download it, if it's present, it gives you the choice to update it. It allows delete the mobilespec

translation scripts on github

2014-03-04 Thread Lisa Seacat DeLuca
I think it'd be a good idea to put the crowdin/cordova translation scripts somewhere on github so they are there in case someone else needs to run them besides me. I uploaded them to one of my github repos here: https://github.com/ldeluca/cordova-translation Any suggestions for a good place

expose available platforms functionality

2014-03-04 Thread Mike Haas
This stems from my need to hit the cordova-cli api. I need to use a yeoman generator to scaffold out a cordova project. I would like to expose a smart list of available platforms dependent on the current OS being used. Much like what's done here:

Re: expose available platforms functionality

2014-03-04 Thread Josh Soref
Mike Haas wrote: This stems from my need to hit the cordova-cli api. I need to use a yeoman generator to scaffold out a cordova project. I would like to expose a smart list of available platforms dependent on the current OS being used. Much like what's done here:

Re: translation scripts on github

2014-03-04 Thread Brian LeRoux
These could live in a branch on cordova-labs repo but it seems to me this would belong in cordova-docs, no? (Should we add this to this afternoon's agenda for the hangout?) On Tue, Mar 4, 2014 at 7:38 AM, Lisa Seacat DeLuca ldel...@us.ibm.comwrote: I think it'd be a good idea to put the

Re: Move Release Process Docs to cordova-docs

2014-03-04 Thread Brian LeRoux
more discoverable for the community too +1 On Tue, Mar 4, 2014 at 7:22 AM, Andrew Grieve agri...@chromium.org wrote: Instead of the wiki. Would make it easier to track what changes are made to it, allow pull requests to it. +1?

Re: expose available platforms functionality

2014-03-04 Thread Brian LeRoux
A few questions: - Why do you need to use Yeoman? - What is the use case for the OS / Platform mapping that the Cordova CLI needs to fulfill? On Tue, Mar 4, 2014 at 7:47 AM, Mike Haas mikehaas...@gmail.com wrote: This stems from my need to hit the cordova-cli api. I need to use a yeoman

Re: Move Release Process Docs to cordova-docs

2014-03-04 Thread Michal Mocny
Great idea! On Tue, Mar 4, 2014 at 11:35 AM, Brian LeRoux b...@brian.io wrote: more discoverable for the community too +1 On Tue, Mar 4, 2014 at 7:22 AM, Andrew Grieve agri...@chromium.org wrote: Instead of the wiki. Would make it easier to track what changes are made to it, allow

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Brian LeRoux
Seems to me that you want the plugin installation to copy the css file. its hacky, but you could use js-file [1] as a workaround and file a bug to add other file types for copying. http://cordova.apache.org/docs/en/3.0.0/plugin_ref_spec.md On Mon, Mar 3, 2014 at 11:51 PM, Robber Phex

Re: expose available platforms functionality

2014-03-04 Thread Michal Mocny
Not 100% sure this is what you are asking for, but: For cca we have a CLI command to check that environment is set up correct, and then checks which of Android/iOS are installed correctly (cca checkenv): https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/src/cca.js#L299 This is

Re: translation scripts on github

2014-03-04 Thread Lisa Seacat DeLuca
Thats an idea (re: put inside cordova-docs). Reason I didn't suggest it was the plugin docs are in their own repos now. But that doesn't mean the scripts can't be in cordova-docs. We could have a new directory for translation scripts, not to be confused with translations are under this dir.

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Michal Mocny
asset ? http://cordova.apache.org/docs/en/edge/plugin_ref_spec.md.html#Plugin%20Specification_asset_element On Tue, Mar 4, 2014 at 11:45 AM, Brian LeRoux b...@brian.io wrote: Seems to me that you want the plugin installation to copy the css file. its hacky, but you could use js-file [1] as a

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Brian LeRoux
booya On Tue, Mar 4, 2014 at 9:07 AM, Michal Mocny mmo...@chromium.org wrote: asset ? http://cordova.apache.org/docs/en/edge/plugin_ref_spec.md.html#Plugin%20Specification_asset_element On Tue, Mar 4, 2014 at 11:45 AM, Brian LeRoux b...@brian.io wrote: Seems to me that you want the

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Michal Mocny
Ah wait, that won't inject it into the page.. Sorry, misunderstood the problem. Why not just write JS that runs on startup (after domcontentready but delaying onpluginready) that injects the CSS? On Tue, Mar 4, 2014 at 12:07 PM, Michal Mocny mmo...@chromium.org wrote: asset ?

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Brian LeRoux
oooh dirty I like it On Tue, Mar 4, 2014 at 9:17 AM, Michal Mocny mmo...@chromium.org wrote: Ah wait, that won't inject it into the page.. Sorry, misunderstood the problem. Why not just write JS that runs on startup (after domcontentready but delaying onpluginready) that injects the CSS?

Re: translation scripts on github

2014-03-04 Thread Michael Brooks
I think the translation scripts can go under cordova-docs as well. Perhaps `lib/translation/`. If you have an entry-point executable, then place it under `bin/translation`. That keeps everything organized and following the same pattern as the generator script. For the plugin documentation,

Re: [Input request] Rethinking Plugin docs

2014-03-04 Thread Andrew Grieve
Michael - any input here on merging doc - README.md?, or if we do this how translations should go? e.g. README.md, doc/fr/README.md On Mon, Feb 24, 2014 at 3:27 PM, Lisa Seacat DeLuca ldel...@us.ibm.comwrote: README.md merge +1 I understand the idea behind keeping the documentation outside

Re: add a new platform to cordova

2014-03-04 Thread Naik, Archana
Hi, Puneet Recently Iw irked on adding amazon-fireos platform. Along with following wiki, you will have add your platform in cordova-cli project as well. There is platforms.js and few other platform related files that need change. Archana On 3/3/14 10:08 PM, Puneet Kaur puneet.gk...@gmail.com

Re: [Vote] cordova@3.4.0-0.1.3 plugman@0.20.2

2014-03-04 Thread Lorin Beer
+1 On Tue, Mar 4, 2014 at 6:48 AM, Michal Mocny mmo...@chromium.org wrote: +1 On Tue, Mar 4, 2014 at 8:05 AM, Bryan Higgins br...@bryanhiggins.net wrote: +1 On Mon, Mar 3, 2014 at 9:48 PM, Ian Clelland iclell...@chromium.org wrote: +1 Tested from dist.apache.org,

Re: 3.4.0-x.x.x inaccessible through 'npm install cordova'

2014-03-04 Thread Lorin Beer
I'm blaming npm for this. With 1.4.4, I am now getting 0.1.2, the rc, instead of 0.1.0. Evidently not our issue, so ignore my unpublish suggestion. On Mon, Mar 3, 2014 at 4:48 PM, Carlos Santana csantan...@gmail.com wrote: I just tried with npm 1.4.3 (version included with v0.10.26) I got:

Re: 3.4.0-x.x.x inaccessible through 'npm install cordova'

2014-03-04 Thread Michal Mocny
..last week I saw 0.1.1 published under the rc, even hours after Andrew claimed to release 0.1.2. I figured it was me/him who made a mistake, but given everything, and that npm have been blogging about all sorts of quirks.. yes, blame canad^H^H^H^H^H npm. -Michal On Tue, Mar 4, 2014 at 2:00

RE: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Sergey Grebnov (Akvelon)
Looks very interesting, playing with this tool right now.. Martin, if it is not so hard could you please add logic to save git location provided, for example in system variable. Right now I need to navigate to custom git location every time I run the bat. Or you can check if git is in PATH.

Re: Security releases this morning

2014-03-04 Thread Shazron
Thanks Ian for doing the posts! I'll notify the PhoneGap Google Group as well (will just post a link to your posts). On Tue, Mar 4, 2014 at 6:07 AM, Ian Clelland iclell...@chromium.org wrote: Hello everyone, This morning, we released new versions of several plugins, containing a number of

Re: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread purplecabbage
I looked at doing this for CB-5963, but I didn't consider writing a bat file. IMO this would be better served by a node module that runs everywhere. I did not consider taking it as far as you did Martin, nice work! Have you considered making it run in node so Mac users can share it? plus we

Re: add a new platform to cordova

2014-03-04 Thread Puneet Kaur
Thanks Regards, Puneet On Tue, Mar 4, 2014 at 11:38 AM, Puneet Kaur puneet.gk...@gmail.com wrote: Can you please provide some examples of step 2 and 3 on the page : http://wiki.apache.org/cordova/AddingNewPlatforms for some platforms that have been implemented ? On Mon, Mar 3, 2014 at

RE: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Martin Gonzalez
Yes, you're right, let me fix it. -Original message- From: Sergey Grebnov (Akvelon) v-seg...@microsoft.com To: dev@cordova.apache.org dev@cordova.apache.org Sent: Tue, 04 Mar 2014, 19:24:19 GMT+00:00 Subject: RE: CB-6121 (Windows command line script for Mobile spec) Looks very

Re: Move Release Process Docs to cordova-docs

2014-03-04 Thread Shazron
+1 On Tue, Mar 4, 2014 at 8:52 AM, Michal Mocny mmo...@chromium.org wrote: Great idea! On Tue, Mar 4, 2014 at 11:35 AM, Brian LeRoux b...@brian.io wrote: more discoverable for the community too +1 On Tue, Mar 4, 2014 at 7:22 AM, Andrew Grieve agri...@chromium.org wrote:

Re: Move Release Process Docs to cordova-docs

2014-03-04 Thread Steven Gill
+1 On Tue, Mar 4, 2014 at 11:48 AM, Shazron shaz...@gmail.com wrote: +1 On Tue, Mar 4, 2014 at 8:52 AM, Michal Mocny mmo...@chromium.org wrote: Great idea! On Tue, Mar 4, 2014 at 11:35 AM, Brian LeRoux b...@brian.io wrote: more discoverable for the community too +1

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread purplecabbage
These are features I am looking to add to plugman. Currently there isn't a way to add CSS or generic JS, short of runtime heroics. It would be nice to be able to make a Cordova plugin that, for example, used topcoat, underscore or angular. Currently all plugin js gets wrapped in our

Re: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Martin Gonzalez
I didn't consider it, but you're, this would be nice to have this feature running on all environment, let me check some options for node module environment. Thanks a lot for the feedback guys. I'll take this under serious consideration. -Original message- From: purplecabbage

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Michal Mocny
Jesse, I do agree, that would be nice, but I think its going to be difficult to do this right. I would not want each plugin to bundle its own underscore, for example. At the very least, we should set a standard for using one-plugin-per-library, but better yet would be to use an existing package

Re: expose available platforms functionality

2014-03-04 Thread Shazron
Sounds similar to what is requested here (need to run outside the cordova project context): https://issues.apache.org/jira/browse/CB-5673 On Tue, Mar 4, 2014 at 8:58 AM, Michal Mocny mmo...@chromium.org wrote: Not 100% sure this is what you are asking for, but: For cca we have a CLI command

Published org.chromium.zip

2014-03-04 Thread Andrew Grieve
And added owners: maxw mmocny braden

Hangout tonight?

2014-03-04 Thread Wargo, John
Right?

Re: Hangout tonight?

2014-03-04 Thread Braden Shepherdson
That's the plan. It's at 7pm ET, 4pm PT, which is midnight UTC. Braden On Tue, Mar 4, 2014 at 3:49 PM, Wargo, John john.wa...@sap.com wrote: Right?

Re: Hangout tonight?

2014-03-04 Thread Josh Soref
Braden wrote: That's the plan. It's at 7pm ET, 4pm PT, which is midnight UTC. I¹m unavailable tonight.

Re: CB-6121 (Windows command line script for Mobile spec)

2014-03-04 Thread Carlos Santana
Great tool, but I echo Jesse's it will be more awesome to implement in node, that way cross platform (linux, mac, windows) Since node is already a requirement to run cordova-cli/plugman then should not be a problem to assume that node is already present. On Tue, Mar 4, 2014 at 2:56 PM, Martin

Publishing plugins in cordova-plugins

2014-03-04 Thread Andrew Grieve
statusbar and keyboard are published already. I *think* Shaz was having trouble updating them though? (and I think I fixed the bug in plugman just yesterday). Noticed that they fail the whitelist check in plugman, so with a recent version of plugman you wouldn't be able to publish them. And...

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Carlos Santana
Robert The document already reflects that user needs to add notification.css here: https://github.com/apache/cordova-plugin-dialogs/blob/master/doc/index.md#firefox-os-quirks The plugin already copies the css file using plugin.xml/asset asset src=www/firefoxos/notification.css

Re: add a new platform to cordova

2014-03-04 Thread Carlos Santana
Hi Puneet In terms of the Cordova CLI to support a new platform, here is the documentation on what the platform needs to provide for the cordova cli http://wiki.apache.org/cordova/CommandLineToolingDesign I will recommend to implement the api scripts in node, that way they can be leverage in

Re: 3.4.0-x.x.x inaccessible through 'npm install cordova'

2014-03-04 Thread Carlos Santana
yes blame npm take the easy route out :-) One thing it could be is that npm failed to fetch latest from npm registry (possible related to their ssl certificate issue [1]) and installed from your npm cache. One tip to troubleshoot installations problems with npm, is to clean your cache npm cache

Re: Publishing plugins in cordova-plugins

2014-03-04 Thread Brian LeRoux
Feel that statusbar is popular enough that it should be considered core. Feel that keyboard and file-system-root are both worthy of first class support too. In favor of just adding/graduating them to the whole /dist publishing policy. On Tue, Mar 4, 2014 at 1:37 PM, Andrew Grieve

Re: translation scripts on github

2014-03-04 Thread Carlos Santana
I also think they should go in cordova-docs repo And Also I would transfer the Wiki Page Instructions into Repo as README.md on the root with those scripts. I think it would be good to have code and doc married :-) Also long term maintenance is easier for folks to contribute to the instructions

Re: How to implement the navigator.notification in Firefox OS?

2014-03-04 Thread Brian LeRoux
anis and I have some thoughts on this topic / will save it for some discussion today and update the list after On Tue, Mar 4, 2014 at 12:07 PM, Michal Mocny mmo...@chromium.org wrote: Jesse, I do agree, that would be nice, but I think its going to be difficult to do this right. I would not

Re: Monthly Hangouts!

2014-03-04 Thread Michal Mocny
Summarizing some more discussion points brought up recently: 3. Docs/translation scripts? 4. Plugins: (a) how to deal with plugin library dependancies, and (b) automatically injecting assets On Sat, Mar 1, 2014 at 5:20 PM, Tommy-Carlos Williams to...@devgeeks.orgwrote: Also might be neat if

Re: Publishing plugins in cordova-plugins

2014-03-04 Thread Shazron
Of course now with the latest plugman I can't publish statusbar: Invalid Plugin ID. The org.apache.cordova prefix is reserved for plugins provided directly by the Cordova project. How do I publish with that namespace? On Tue, Mar 4, 2014 at 1:37 PM, Andrew Grieve agri...@chromium.org wrote:

Re: Publishing plugins in cordova-plugins

2014-03-04 Thread Shazron
a) I'm biased, but I think they should be core still :P b) that assumes someone wants to take the sole responsibility of this on c) not sure d) why not? it's still a plugin On Tue, Mar 4, 2014 at 1:37 PM, Andrew Grieve agri...@chromium.org wrote: statusbar and keyboard are published already.

Re: Monthly Hangouts!

2014-03-04 Thread Brian LeRoux
added this to https://wiki.apache.org/cordova/Google%20Hangout%20Discussion%20Notes anyone notice the wiki feels a little sluggish? On Tue, Mar 4, 2014 at 2:41 PM, Michal Mocny mmo...@chromium.org wrote: Summarizing some more discussion points brought up recently: 3. Docs/translation

Re: Monthly Hangouts!

2014-03-04 Thread Marcel Kinard
FYI, almost all of the IBM team has previous family engagements for this evening, so there may not be any speaking participants from us. We will definitely watch the recording ASAP. Wanted to let you know so you don't think we're no-shows or not interested.

Re: Monthly Hangouts!

2014-03-04 Thread Naik, Archana
Guys, I have prior commitments tooŠHow long are we going to hangout? I might join later or watch recording. Archana On 3/4/14 3:16 PM, Marcel Kinard cmarc...@gmail.com wrote: FYI, almost all of the IBM team has previous family engagements for this evening, so there may not be any speaking

Re: Monthly Hangouts!

2014-03-04 Thread Andrew Grieve
Note, will post viewer link once people have joined. On Tue, Mar 4, 2014 at 6:51 PM, Andrew Grieve agri...@chromium.org wrote: Here's the hangout link: https://plus.google.com/hangouts/_/hoaevent/AP36tYd7dys6jYjq5XQsOuEuvUgxTM3YLl71uXVxuOkWw-Q4cMw3qg Let's take notes in a GDoc then

Re: Monthly Hangouts!

2014-03-04 Thread Andrew Grieve
Here's the hangout link: https://plus.google.com/hangouts/_/hoaevent/AP36tYd7dys6jYjq5XQsOuEuvUgxTM3YLl71uXVxuOkWw-Q4cMw3qg Let's take notes in a GDoc then transfer to wiki: https://docs.google.com/document/d/1nxl7LgCspxpO_a0KQn139ZG83CXJrw-cdze1SAK2nVg/edit Hoping to take ~1 hour this time,

Re: Monthly Hangouts!

2014-03-04 Thread Andrew Grieve
View link: http://youtu.be/-2ewjFA_9C8 On Tue, Mar 4, 2014 at 6:52 PM, Andrew Grieve agri...@chromium.org wrote: Note, will post viewer link once people have joined. On Tue, Mar 4, 2014 at 6:51 PM, Andrew Grieve agri...@chromium.orgwrote: Here's the hangout link:

Re: 3.4.0-x.x.x inaccessible through 'npm install cordova'

2014-03-04 Thread Lorin Beer
Thanks Carlos, it's a definite possibility, but due to all the npm troubles, I wiped my npm cache. On Tue, Mar 4, 2014 at 2:13 PM, Carlos Santana csantan...@gmail.com wrote: yes blame npm take the easy route out :-) One thing it could be is that npm failed to fetch latest from npm registry

Re: Publishing plugins in cordova-plugins

2014-03-04 Thread luoq
Hi, I believe the statusbar keyboard at least should be promoted to common core plugins ASAP, it's a MUST for iOS7. Thanks. —  Best Regards, Qi LUO Sent with Air On 5 March, 2014 at 5:45:18, Andrew (agri...@chromium.org) wrote: statusbar and keyboard are published already. I *think*

hangout notes

2014-03-04 Thread Brian LeRoux
Super helpful again. - Steve to publish current plugins site and blog post encouraging contribute - Coho does things! but we agree that we want a turn key release process. google/adobe to really send some love into this tool to make lives easier. Google working on this now. Adobe folk will look