Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9602)

Issue 6856112: Disable console

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by matthew.scott
Modified:
11 years, 5 months ago
Reviewers:
benji, mp+136985
Visibility:
Public.

Description

Disable console Adds a configuration variable for whether or not the javascript console object should be enabled or disabled. Defaults to disabled. https://code.launchpad.net/~makyo/charms/precise/juju-gui/juju-gui/+merge/136985 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Disable console #

Total comments: 4

Patch Set 3 : Disable console #

Patch Set 4 : Disable console #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -9 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M config/juju-gui.conf.template View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
A config/nginx.conf.template View 1 2 3 1 chunk +26 lines, -0 lines 9 comments Download
M hooks/install View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M hooks/start View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M revision View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
matthew.scott
Please take a look.
11 years, 5 months ago (2012-11-29 16:44:19 UTC) #1
benji
This branch looks good. I just had one small comment on the config schema. https://codereview.appspot.com/6856112/diff/1/config.yaml ...
11 years, 5 months ago (2012-11-29 17:00:13 UTC) #2
matthew.scott
Thanks for the tip on the boolean. https://codereview.appspot.com/6856112/diff/1/config.yaml File config.yaml (right): https://codereview.appspot.com/6856112/diff/1/config.yaml#newcode15 config.yaml:15: type: string ...
11 years, 5 months ago (2012-11-29 18:55:44 UTC) #3
matthew.scott
Please take a look.
11 years, 5 months ago (2012-11-29 18:56:34 UTC) #4
frankban
Looks good to me. I have just one minor below, but I think this can ...
11 years, 5 months ago (2012-11-30 10:24:22 UTC) #5
gary.poster
Fly-by review. :-) Looks good to me, but I didn't do a full review because ...
11 years, 5 months ago (2012-11-30 13:10:59 UTC) #6
matthew.scott
*** Submitted: Disable console Adds a configuration variable for whether or not the javascript console ...
11 years, 5 months ago (2012-11-30 15:05:28 UTC) #7
matthew.scott
Please take a look.
11 years, 5 months ago (2012-12-06 16:07:38 UTC) #8
benji
This looks good. I think we need to figure out the expires headers before landing, ...
11 years, 5 months ago (2012-12-06 16:44:28 UTC) #9
matthew.scott
Thanks for the comments, changes are made! Sorry about the broken proposal/review, changes will show ...
11 years, 5 months ago (2012-12-06 16:53:51 UTC) #10
benji
11 years, 5 months ago (2012-12-06 16:57:52 UTC) #11
Looks great.  Thanks for the changes and answers.

https://codereview.appspot.com/6856112/diff/10001/config/nginx.conf.template
File config/nginx.conf.template (right):

https://codereview.appspot.com/6856112/diff/10001/config/nginx.conf.template#...
config/nginx.conf.template:17: location = /index.html {
On 2012/12/06 16:53:51, matthew.scott wrote:
> On 2012/12/06 16:44:28, benji wrote:
> > Given the rule of last resort below, do we need this rule?
> 
> The last rule, when trying to access index.html, will cause a rewrite loop
> without this rule.

Ah!  That makes sense.  I guess we could change ".*" to be "not index.html" but
that's probably more complicated than the current way.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b