[Freedombox-discuss] Announcement: Selenium Tests for Plinth

2017-08-11 Thread Joseph Nuthalapati
Hello everyone,

I am trying to improve upon the integration tests (using Selenium) which
were
originally started by jvalleroy at
https://github.com/JosephKiranBabu/plinth-tester

Hope this will help make Plinth more robust and also allow developers to
follow
best practices like Behavior Driven Development.

--
Thanks and regards,
Joseph Nuthalapati




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] FYI - how to install Cockpit web (UI) service to fbx

2017-08-11 Thread Joseph Nuthalapati
Since the community's showing interest in Cockpit, I'd like to point out
a few things.

Cockpit works on a web socket combined with http/https interface. That's
the major problem with running cockpit behind Apache2 as a reverse proxy.

Apache's websocket proxying support has been recently introduced. It
doesn't have a debian package yet which means it can't be installed like
any other package on FreedomBox.

https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html

Here is the Github issue for Cockpit, for your reference.
https://github.com/freedombox/Plinth/issues/838

--
Thanks and regards,
Joseph Nuthalapati




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FYI - how to install Cockpit web (UI) service to fbx

2017-08-11 Thread pascal



On 10.08.2017 13:03, Pascal wrote:

I will try that. Just copying another proxy file from apache.
Some webapps only work on direkt Domains without subdir or alias behind  it. 
But Im sure it will work.


But reality told me it doesn't!
One Mime-type error for the css file: Stylesheet 
http://freedombox.local/cockpit/static/branding.css wasnt'loaded, 
because MIME-Typ, "text/html", nis not "text/css".

A JSON Error:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the 
JSON data




ProxyPass http://localhost:9090


Didn't work.

Auth is no Problem. Cockpit uses system users like fbx or ldap users can also be used for accessSo SSO works out of the box also on port 9090 without apache. This 

experience and first impressions are very good.

Without apache proxy, cockpit can be restricted for internal access only.
With apache proxy in use I would like to have a fail2ban module for cockpit!

G Pascal

Am 10. August 2017 11:53:40 MESZ schrieb Daddy :



Would be interesting to know if cockpit can run behind Apache under
/cockpit.  This would avoid having to meddle with the firewall and we
can potentially do (SSO) authentication using Apache.


Couldn't that be achieved (circumvented) by configuring reverse proxy
setting for cockpit in apache? So it would still technically run on its
own port, but Apache would be forwarding requests from /subdir to it.



___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss


[Freedombox-discuss] Hack call

2017-08-11 Thread Daniel Gnoutcheff
Reminder: we're scheduled to have our monthly hack call at 14:00 UTC
tomorrow on the usual Mumble/Murmur server.

https://wiki.debian.org/FreedomBox/ProgressCalls

Have a good one,
Daniel





signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FYI - how to install Cockpit web (UI) service to fbx

2017-08-11 Thread heynmoeller
Thank you Joseph for sharing.

G Pascal

Am 11.08.2017 um 14:01 schrieb Joseph Nuthalapati:
> Since the community's showing interest in Cockpit, I'd like to point out
> a few things.
> 
> Cockpit works on a web socket combined with http/https interface. That's
> the major problem with running cockpit behind Apache2 as a reverse proxy.
> 
> Apache's websocket proxying support has been recently introduced. It
> doesn't have a debian package yet which means it can't be installed like
> any other package on FreedomBox.
> 
> https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html
> 
> Here is the Github issue for Cockpit, for your reference.
> https://github.com/freedombox/Plinth/issues/838
> 
> --
> Thanks and regards,
> Joseph Nuthalapati
> 
> 
> 
> 
> ___
> Freedombox-discuss mailing list
> Freedombox-discuss@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss
> 

___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss