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

Issue 10842043: Validation for comp name

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by ashu1461
Modified:
10 years, 10 months ago
Reviewers:
thomas.j.waldmann
Visibility:
Public.

Description

Validation for comp name

Patch Set 1 : #

Patch Set 2 : Made validname to be a external function. #

Total comments: 19

Patch Set 3 : Fixed Previous mistakes .. #

Total comments: 29

Patch Set 4 : fixed acc to suggestions. #

Total comments: 5

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -26 lines) Patch
M MoinMoin/_tests/test_forms.py View 1 2 3 4 2 chunks +34 lines, -1 line 0 comments Download
M MoinMoin/forms.py View 1 2 3 4 2 chunks +52 lines, -21 lines 0 comments Download
M MoinMoin/items/__init__.py View 2 chunks +2 lines, -1 line 0 comments Download
M MoinMoin/storage/middleware/_tests/test_validation.py View 3 chunks +4 lines, -0 lines 0 comments Download
M MoinMoin/storage/middleware/indexing.py View 2 chunks +2 lines, -0 lines 0 comments Download
M MoinMoin/storage/middleware/protecting.py View 1 chunk +2 lines, -2 lines 0 comments Download
M MoinMoin/storage/middleware/validation.py View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8
Thomas.J.Waldmann
https://codereview.appspot.com/10842043/diff/5001/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): https://codereview.appspot.com/10842043/diff/5001/MoinMoin/_tests/test_forms.py#newcode55 MoinMoin/_tests/test_forms.py:55: def test_validjson(): what is the primary intention of this ...
10 years, 10 months ago (2013-07-10 14:46:41 UTC) #1
ashu1461
https://codereview.appspot.com/10842043/diff/5001/MoinMoin/forms.py File MoinMoin/forms.py (right): https://codereview.appspot.com/10842043/diff/5001/MoinMoin/forms.py#newcode97 MoinMoin/forms.py:97: invalid_names = [name for name in names if name.startswith('@')] ...
10 years, 10 months ago (2013-07-10 20:56:26 UTC) #2
ashu1461
https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py#newcode55 MoinMoin/_tests/test_forms.py:55: def test_validjson(): Main intention: To make sure that the ...
10 years, 10 months ago (2013-07-10 21:17:39 UTC) #3
Thomas.J.Waldmann
https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py#newcode55 MoinMoin/_tests/test_forms.py:55: def test_validjson(): On 2013/07/10 21:17:39, ashu1461 wrote: > Main ...
10 years, 10 months ago (2013-07-11 22:17:08 UTC) #4
ashu1461
https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py#newcode55 MoinMoin/_tests/test_forms.py:55: def test_validjson(): On 2013/07/11 22:17:09, Thomas.J.Waldmann wrote: > On ...
10 years, 10 months ago (2013-07-11 22:50:17 UTC) #5
Thomas.J.Waldmann
https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): https://codereview.appspot.com/10842043/diff/15001/MoinMoin/_tests/test_forms.py#newcode64 MoinMoin/_tests/test_forms.py:64: # ('names','namespace', 'field', 'value', 'result'), On 2013/07/11 22:50:17, ashu1461 ...
10 years, 10 months ago (2013-07-11 23:01:46 UTC) #6
Thomas.J.Waldmann
https://codereview.appspot.com/10842043/diff/28002/MoinMoin/_tests/test_forms.py File MoinMoin/_tests/test_forms.py (right): https://codereview.appspot.com/10842043/diff/28002/MoinMoin/_tests/test_forms.py#newcode63 MoinMoin/_tests/test_forms.py:63: # ('names','namespace', 'field', 'value', 'result') insert the missing blank ...
10 years, 10 months ago (2013-07-13 15:01:44 UTC) #7
Thomas.J.Waldmann
10 years, 10 months ago (2013-07-13 23:29:44 UTC) #8
minor issue still, otherwise fine

https://codereview.appspot.com/10842043/diff/28002/MoinMoin/_tests/test_forms.py
File MoinMoin/_tests/test_forms.py (right):

https://codereview.appspot.com/10842043/diff/28002/MoinMoin/_tests/test_forms...
MoinMoin/_tests/test_forms.py:63: # ('names','namespace', 'field', 'value',
'result')
On 2013/07/13 15:01:45, Thomas.J.Waldmann wrote:
> insert the missing blank

i meant after 'names',
Sign in to reply to this message.

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