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

Issue 6304060: Metadata editor, plus some refactor of apps.frontend.views and items modules (Closed)

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

Description

closing as it is now split into two issues.

Patch Set 1 #

Patch Set 2 : fix for get_item and download_item #

Patch Set 3 : rename meta_widgets.html to meta_form.html; fix for children order (use form.field_schema to get pr… #

Total comments: 1

Patch Set 4 : small mod on meta_form.html #

Patch Set 5 : remove duplicate .named in Flatland form declaration #

Total comments: 35

Patch Set 6 : Address problems pointed out; refactor items module; (template is currently broken, ignore it) #

Total comments: 7

Patch Set 7 : Uploaded constants.forms missing in previous patch set #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -205 lines) Patch
A MoinMoin/apps/frontend/meta_form.py View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M MoinMoin/apps/frontend/views.py View 1 2 3 4 5 7 chunks +98 lines, -41 lines 8 comments Download
A MoinMoin/constants/forms.py View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 4 comments Download
M MoinMoin/items/__init__.py View 1 2 3 4 5 9 chunks +101 lines, -164 lines 8 comments Download
A MoinMoin/templates/meta_form.html View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download
A MoinMoin/templates/modify_meta.html View 1 2 3 4 5 1 chunk +20 lines, -0 lines 2 comments Download

Messages

Total messages: 11
xiaq
http://codereview.appspot.com/6304060/diff/4001/MoinMoin/templates/meta_form.html File MoinMoin/templates/meta_form.html (right): http://codereview.appspot.com/6304060/diff/4001/MoinMoin/templates/meta_form.html#newcode21 MoinMoin/templates/meta_form.html:21: {% macro input(field) %} seems i have duplicated some ...
12 years, 11 months ago (2012-06-09 04:04:23 UTC) #1
ThomasJWaldmann
http://codereview.appspot.com/6304060/diff/11002/MoinMoin/apps/frontend/meta_form.py File MoinMoin/apps/frontend/meta_form.py (right): http://codereview.appspot.com/6304060/diff/11002/MoinMoin/apps/frontend/meta_form.py#newcode17 MoinMoin/apps/frontend/meta_form.py:17: Input = String.with_properties(widget='input', type='text') input is also used for ...
12 years, 11 months ago (2012-06-09 12:54:04 UTC) #2
Reimar Bauer
some comments for now http://codereview.appspot.com/6304060/diff/11002/MoinMoin/apps/frontend/meta_form.py File MoinMoin/apps/frontend/meta_form.py (right): http://codereview.appspot.com/6304060/diff/11002/MoinMoin/apps/frontend/meta_form.py#newcode17 MoinMoin/apps/frontend/meta_form.py:17: Input = String.with_properties(widget='input', type='text') if ...
12 years, 11 months ago (2012-06-09 13:02:00 UTC) #3
xiaq
http://codereview.appspot.com/6304060/diff/11002/MoinMoin/apps/frontend/meta_form.py File MoinMoin/apps/frontend/meta_form.py (right): http://codereview.appspot.com/6304060/diff/11002/MoinMoin/apps/frontend/meta_form.py#newcode17 MoinMoin/apps/frontend/meta_form.py:17: Input = String.with_properties(widget='input', type='text') On 2012/06/09 13:02:00, Reimar Bauer ...
12 years, 11 months ago (2012-06-10 04:08:08 UTC) #4
xiaq
Please review! :) http://codereview.appspot.com/6304060/diff/5008/MoinMoin/apps/frontend/meta_form.py File MoinMoin/apps/frontend/meta_form.py (right): http://codereview.appspot.com/6304060/diff/5008/MoinMoin/apps/frontend/meta_form.py#newcode21 MoinMoin/apps/frontend/meta_form.py:21: IntegerBar = Integer.with_properties(widget=INTEGER_BAR, lower=1, upper=5) Hard-coding ...
12 years, 10 months ago (2012-06-14 09:09:43 UTC) #5
xiaq
Please see my comments on patch set 6.
12 years, 10 months ago (2012-06-14 09:36:12 UTC) #6
Reimar Bauer
for now, some comments, I need more time to do a second review later http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py ...
12 years, 10 months ago (2012-06-14 11:20:56 UTC) #7
xiaq
http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py#newcode299 MoinMoin/apps/frontend/views.py:299: def modifier(view, request_args_map={}, require_write=True, abort404=True): On 2012/06/14 11:20:56, Reimar ...
12 years, 10 months ago (2012-06-14 13:06:06 UTC) #8
ThomasJWaldmann
http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py#newcode488 MoinMoin/apps/frontend/views.py:488: #@modifier('modifymeta') commented? http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py#newcode496 MoinMoin/apps/frontend/views.py:496: extra_meta = dict([(k, meta_dict.pop(k)) for ...
12 years, 10 months ago (2012-06-14 13:17:53 UTC) #9
xiaq
http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py#newcode488 MoinMoin/apps/frontend/views.py:488: #@modifier('modifymeta') On 2012/06/14 13:17:53, ThomasJWaldmann wrote: > commented? yeah, ...
12 years, 10 months ago (2012-06-14 13:28:28 UTC) #10
ThomasJWaldmann
12 years, 10 months ago (2012-06-14 13:41:53 UTC) #11
http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views.py
File MoinMoin/apps/frontend/views.py (right):

http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views....
MoinMoin/apps/frontend/views.py:488: #@modifier('modifymeta')
On 2012/06/14 13:28:28, xiaq wrote:
> On 2012/06/14 13:17:53, ThomasJWaldmann wrote:
> > commented?
> 
> yeah, i'm merging it into +modify.

OK, just clean up in the end. :)

http://codereview.appspot.com/6304060/diff/9003/MoinMoin/apps/frontend/views....
MoinMoin/apps/frontend/views.py:496: extra_meta = dict([(k, meta_dict.pop(k))
for k in extra_meta_keys])
sure, but you do not use extra_meta variable yet.
Sign in to reply to this message.

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