lp:~gary/charms/precise/juju-gui/login-help

Created by Gary Poster on 2013-01-10 and last modified on 2013-01-10
Get this branch:
bzr branch lp:~gary/charms/precise/juju-gui/login-help
Only Gary Poster can upload to this branch. If you are Gary Poster please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gary Poster
Status:
Development

Recent revisions

23. By Gary Poster on 2013-01-10

add login-help to charm (sketch)

22. By Gary Poster on 2013-01-10

Make charm work without environment Juju PPA

As discovered by therve and myself, the charm does not work if "juju-origin: ppa" is not in your environments.yaml for the given Juju environment. These changes work around the problem.

R=matthew.scott, frankban
CC=
https://codereview.appspot.com/7073051

21. By Nicola Larosa on 2013-01-04

Setup encrypted conn. to the API environment

Pass the same certificate and private key used by nginx to the
API environment, so that the websocket connection can use WSS.

R=frankban, gary.poster
CC=
https://codereview.appspot.com/7007045

20. By Francesco Banconi on 2013-01-03

Restore TLS in the charm

Now the charm is served using SSL again.

R=teknico, hazmat
CC=
https://codereview.appspot.com/7026046

19. By Francesco Banconi on 2012-12-22

Allow using an own SSL cert and private key.

Added two new config options, one for the certificate, one
for the private key. If they are both provided, they are used
by nginx, otherwise, a new certificate is automatically
generated.

Fixed a pre-existent bug: even if you can specify the
directory where to store the certificates, this path
was not used by nginx, because an hardcoded one was
present in the configuration file.

Improved how ssl options are handled in config-changes.
If the SSL path is changed using 'juju set', now that
change is reflected in the nginx config file, and the
service correctly restarted.

Added tests for the process of saving or generating SSL
certificates.

Some code clean up.

Please note that all the SSL stuff is still
disabled/commented.

R=teknico, matthew.scott, gary.poster
CC=
https://codereview.appspot.com/6976046

18. By Francesco Banconi on 2012-12-20

Updated the charm to serve Juju GUI releases.

I had a pre-implementation call with Gary and
some really useful help from Brad.

Details:

Replaced the juju-gui-branch config option with a new juju-gui-source
one: here you can specify where to deploy the GUI from (stable, trunk, a
branch, a specific version of stable/trunk).

Added a bunch of functions in utils.py: they help parsing the
juju-gui-source option, retrieving the URL of a release, etc.

Added tests for the utility functions above.

Changed the fetch/build function in utils.py, so that now a release
tarball is always used to install the GUI. It can be downloaded from
Launchpad or created using "make distfile" from a juju-gui checkout.
Also reorganized the fetch/build code: separated each of the fetch/build
functions into two different functions (one for the GUI, one for the API).

Updated the install and the config-changed hooks to conform to the
new fetch/setup functions (mentioned above).

Updated the config-changed hook to reflect changes to the options,
install hook and utils.py.

Added one functional test specific to deploying from a branch.
The other tests now default to the latest stable release.

Created and uploaded Juju GUI trunk/stable releases.

Updated the stop hook: now the function in utils.py is called with the
argument it expects.

Overall code lint and clean up.

All those changes result in a big diff (~820 lines), sorry about that.

R=gary.poster, teknico
CC=
https://codereview.appspot.com/6977043

17. By Nicola Larosa on 2012-12-20

Serve the GUI assets over HTTPS

Generate and install a passphrase-less SSL certificate and private
key, and configure nginx to use it to serve the GUI via HTTPS.

R=gary.poster, benji
CC=
https://codereview.appspot.com/6940084

16. By Brad Crittenden on 2012-12-18

[r=gary, teknico, bug=1086507] Add config-changed hook. Move common code from install and start to utils.py.

15. By Gary Poster on 2012-12-17

Move markdown files to .md extension

The charm store needs the document file names to end with .md in order to process them as markdown.

R=
CC=
https://codereview.appspot.com/6939067

14. By Gary Poster on 2012-12-17

Convert docs from ReST to Markdown

We discovered today that ReST is not actully supported by the charm store, and is not intended to be supported by the charm store or the GUI any time soon. Convert the docs to Markdown, so they render nicely.

R=
CC=
https://codereview.appspot.com/6939067

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers