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

Issue 36500044: Validates the service names on user entry

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by jeff.pihach
Modified:
10 years, 4 months ago
Reviewers:
rharding, mp+197543
Visibility:
Public.

Description

Validates the service names on user entry The service name input field in the ghost inspector now validates against a similar regex that is used in juju-core to avoid failures trying to deploy services. https://code.launchpad.net/~hatch/juju-gui/service-name-1252578/+merge/197543 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Validates the service names on user entry #

Total comments: 14

Patch Set 3 : Validates the service names on user entry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -9 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/ghost-inspector.js View 1 2 3 chunks +13 lines, -9 lines 0 comments Download
M app/views/utils.js View 1 chunk +14 lines, -0 lines 0 comments Download
M test/test_ghost_inspector.js View 2 chunks +19 lines, -0 lines 0 comments Download
M test/test_utils.js View 1 2 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 5
jeff.pihach
Please take a look.
10 years, 4 months ago (2013-12-03 15:12:31 UTC) #1
jeff.pihach
Please take a look.
10 years, 4 months ago (2013-12-03 16:09:30 UTC) #2
rharding
LGTM with a few nitpicks. https://codereview.appspot.com/36500044/diff/20001/app/views/ghost-inspector.js File app/views/ghost-inspector.js (right): https://codereview.appspot.com/36500044/diff/20001/app/views/ghost-inspector.js#newcode106 app/views/ghost-inspector.js:106: message: 'Service name is ...
10 years, 4 months ago (2013-12-03 17:06:26 UTC) #3
jeff.pihach
Thanks for the review - changes made and landing https://codereview.appspot.com/36500044/diff/20001/app/views/ghost-inspector.js File app/views/ghost-inspector.js (right): https://codereview.appspot.com/36500044/diff/20001/app/views/ghost-inspector.js#newcode106 app/views/ghost-inspector.js:106: ...
10 years, 4 months ago (2013-12-03 17:16:31 UTC) #4
jeff.pihach
10 years, 4 months ago (2013-12-03 17:23:15 UTC) #5
*** Submitted:

Validates the service names on user entry

The service name input field in the ghost inspector now validates
against a similar regex that is used in juju-core to avoid failures
trying to deploy services.

R=rharding
CC=
https://codereview.appspot.com/36500044
Sign in to reply to this message.

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