[JBoss JIRA] (JBIDE-20584) CordovaSim doesn't talk to remote FH cloud app
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20584?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20584:
--------------------------------
Sprint: Sprint #9 September 2016
> CordovaSim doesn't talk to remote FH cloud app
> ----------------------------------------------
>
> Key: JBIDE-20584
> URL: https://issues.jboss.org/browse/JBIDE-20584
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cordovasim, upstream
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Priority: Critical
> Fix For: 4.3.x
>
> Attachments: remote.png
>
>
> I found several issue connected with CordovaSim FH & cordova.js >= 4.0.0:
> -1) Running against *local* FH cloud app fails with disabled proxy (need to use local by default)- (UPD: reported as a separated issue - JBIDE-20590)
> 2) Running against *remote* FH cloud app does not work with cordovasim at all (for remote proxy the error is the following):
> {code}
> XMLHttpRequest cannot load https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippo.... Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
> {code}
> -Literally, this cordova hello world app does not work against FH app preview (It used to work before)- (UPD: not a bug the app must be deployed firstly - JBIDE-20606)!remote.png|thumbnail!*strong text*
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-18672) cannot run ionic tabs (the default) app with cordovasim
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18672?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-18672:
--------------------------------
Sprint: Sprint #3 May 2015, Sprint #4 May 2015, Sprint #5 Jun 2015, Sprint #6 July 2015, Sprint #8 August 2015, Sprint #9 September 2016 (was: Sprint #3 May 2015, Sprint #4 May 2015, Sprint #5 Jun 2015, Sprint #6 July 2015, Sprint #8 August 2015)
> cannot run ionic tabs (the default) app with cordovasim
> -------------------------------------------------------
>
> Key: JBIDE-18672
> URL: https://issues.jboss.org/browse/JBIDE-18672
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cordovasim
> Affects Versions: 4.2.0.Final
> Environment: Mac OS X, JavaFX
> Reporter: Max Rydahl Andersen
> Assignee: Ilya Buziuk
> Labels: upstream
> Fix For: 4.3.1.Final
>
>
> run:
> ionic start ionic-demo
> import ionic-demo
> run as > cordova sim
> try use the app, click back.
> Two issues:
> 1) cordova sim complains about app.appexit not being supported
> 2) when trying to click do not show again I get the following in the cordovasim error log:
> Outstanding resource locks detected:
> ES2 Vram Pool: 51,815,392 used (19.3%), 51,815,392 managed (19.3%), 268,435,456 total
> 84 total resources being managed
> average resource age is 15.1 frames
> 0 resources at maximum supported age (0.0%)
> 16 resources marked permanent (19.0%)
> 17 resources have had mismatched locks (20.2%)
> 17 resources locked (20.2%)
> 30 resources contain interesting data (35.7%)
> 0 resources disappeared (0.0%)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-18583) pong index.html no longer works on cordovasim (Mac OS specific)
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18583?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-18583:
--------------------------------
Sprint: Sprint #3 May 2015, Sprint #4 May 2015, Sprint #5 Jun 2015, Sprint #6 July 2015, Sprint #8 August 2015 (was: Sprint #3 May 2015, Sprint #4 May 2015, Sprint #5 Jun 2015, Sprint #6 July 2015, Sprint #8 August 2015, Sprint #9 September 2016)
> pong index.html no longer works on cordovasim (Mac OS specific)
> ---------------------------------------------------------------
>
> Key: JBIDE-18583
> URL: https://issues.jboss.org/browse/JBIDE-18583
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cordovasim
> Affects Versions: 4.2.0.CR2
> Environment: Mac Os
> Reporter: Max Rydahl Andersen
> Assignee: Ilya Buziuk
> Priority: Minor
> Fix For: 4.3.x
>
> Attachments: index.html.zip
>
>
> This works in previous versions.
> replace the index.html into a hybrid app - it works when using ios simulator but not with cordovasim.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-20757:
-------------------------------------
[~gercan], assuming that this security restriction is coupled with the white list plugin policy and we can not fix it on our side, I think we can at least add comments to *Some notes* section in thym *templates/www/index.html* where whitelist plugin usage is described. I can provide a PR. WDYT?
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
> Livereload doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
> {code}
> Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
> {code}
> BTW, We are not the only one affected by this changes - http://forum.ionicframework.com/t/solution-for-livereload-problems-with-n...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20566) Create and use Mars.1 RC3/RC4 target-platform
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20566?page=com.atlassian.jira.plugi... ]
Rastislav Wagner closed JBIDE-20566.
------------------------------------
verified in JBDS 9.0.0.CR1-v20150918-0257-B105
> Create and use Mars.1 RC3/RC4 target-platform
> ---------------------------------------------
>
> Key: JBIDE-20566
> URL: https://issues.jboss.org/browse/JBIDE-20566
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: target-platform
> Reporter: Nick Boldt
> Assignee: Mickael Istria
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.3.0.CR1
>
>
> Mars.1 will be released as follows:
> * RC3: Sep 10
> * RC4: Sep 17
> * GA: Sep 25
> The latest Eclipse Docker Tooling will also be available on Sep 25, and we need to get that too. The current version includes a reference to their nightly site, which is bad to include in JBT 4.3.0.Final / JBDS 9.0.0.GA.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20757:
--------------------------------
Description:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
Livereload doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
{code}
Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
{code}
BTW, We are not the only one affected by this changes - http://forum.ionicframework.com/t/solution-for-livereload-problems-with-n...
was:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
Livereload doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
{code}
Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
{code}
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
> Livereload doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
> {code}
> Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
> {code}
> BTW, We are not the only one affected by this changes - http://forum.ionicframework.com/t/solution-for-livereload-problems-with-n...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20745) Livereload doesn't work stable with CordovaSim / BrowserSim
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20745?page=com.atlassian.jira.plugi... ]
Ilya Buziuk edited comment on JBIDE-20745 at 9/22/15 6:55 AM:
--------------------------------------------------------------
[~xcoulon], the problem is not coupled with Livereload itself, but with new cordova security policy & the way the script is loaded in BrowserSim / CordovaSim.
1) it doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
{code}
Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
{code}
BTW, We are not the only one affected by this changes - http://forum.ionicframework.com/t/solution-for-livereload-problems-with-n...
2) In terms of broken Livereload on small files. It seems to be that the way of *livereload.js* injection should be changed
was (Author: ibuziuk):
[~xcoulon], the problem is not coupled with Livereload itself, but with new cordova security policy & the way the script is loaded in BrowserSim / CordovaSim.
1) it doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
{code}
Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
{code}
BTW, We are not the only one affected by this changes - http://forum.ionicframework.com/t/solution-for-livereload-problems-with-n...
2) In terms of broken Livereload on small files. It seems to be that the way of *livereload.js* injection should be changed
> Livereload doesn't work stable with CordovaSim / BrowserSim
> -----------------------------------------------------------
>
> Key: JBIDE-20745
> URL: https://issues.jboss.org/browse/JBIDE-20745
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Priority: Critical
> Fix For: 4.3.1.Final
>
>
> It seems that Livereload stopped working on simple pages like:
> {code}
> <!DOCTYPE html>
> <html>
> <head>
> <title>Insert title here</title>
> </head>
> <body>
> <h1>Hello World</h1>
> </body>
> </html>
> {code}
> But at the same time it works fine with some complex projects like & https://github.com/ibuziuk/cordovasim-demo
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20757:
--------------------------------
Description:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
Livereload doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
{code}
Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
{code}
was:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
> Livereload doesn't work with new THYM projects due to new cordova-white-list plugin security policy - https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#... . The following error prevent script loading
> {code}
> Refused to load the script 'http://localhost:35729/livereload.js' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20757:
--------------------------------
Workaround Description:
Need to remove the following meta tag
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months