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

Issue 6432058: Implementing experimental itemtype (Closed)

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

Patch Set 1 #

Total comments: 32

Patch Set 2 : address mentioned issues, and some cleanups on items module #

Total comments: 2

Patch Set 3 : restructure Item hierarchy, add Userprofile and Ticket stub, fix typo #

Patch Set 4 : reverting Default -> Page rename, plus minor fixes #

Patch Set 5 : Add itemtype selection to item creation workflow; more restructuring on items module #

Total comments: 16

Patch Set 6 : fix wording and comment; fix *Draw items modification #

Total comments: 16

Patch Set 7 : rearranged the code a little bit and added comments about code moving to guide code review #

Patch Set 8 : replace (item|content)_type with \1type; removed template_name from signature of Item.do_modify (te… #

Patch Set 9 : remove all content_type -> contenttype substitution #

Patch Set 10 : Fix broken <<Include()>> macro #

Patch Set 11 : Fix test cases; change signature of Content.__init__ #

Patch Set 12 : Remove metadata editor (it will be another changeset). #

Total comments: 7

Patch Set 13 : address mentioned issues #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+775 lines, -501 lines) Patch
M MoinMoin/apps/frontend/views.py View 1 2 3 4 5 6 7 8 9 10 9 chunks +15 lines, -13 lines 2 comments Download
M MoinMoin/constants/keys.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M MoinMoin/converter/_tests/test_include.py View 1 2 3 4 5 6 7 8 9 10 4 chunks +13 lines, -13 lines 0 comments Download
M MoinMoin/converter/include.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M MoinMoin/items/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 12 27 chunks +594 lines, -350 lines 13 comments Download
M MoinMoin/items/_tests/test_Item.py View 1 2 3 4 5 6 7 8 9 10 11 12 14 chunks +72 lines, -64 lines 0 comments Download
M MoinMoin/templates/modify.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +47 lines, -4 lines 0 comments Download
M MoinMoin/templates/modify_anywikidraw.html View 2 chunks +3 lines, -4 lines 0 comments Download
M MoinMoin/templates/modify_binary.html View 1 chunk +6 lines, -8 lines 0 comments Download
M MoinMoin/templates/modify_show_contenttype_selection.html View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M MoinMoin/templates/modify_show_itemtype_selection.html View 1 2 3 4 1 chunk +2 lines, -7 lines 0 comments Download
M MoinMoin/templates/modify_show_template_selection.html View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M MoinMoin/templates/modify_svg-edit.html View 1 chunk +2 lines, -3 lines 0 comments Download
M MoinMoin/templates/modify_text.html View 1 chunk +6 lines, -18 lines 0 comments Download
M MoinMoin/templates/modify_text_html.html View 1 chunk +6 lines, -9 lines 0 comments Download
M MoinMoin/templates/modify_twikidraw.html View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 18
ThomasJWaldmann
some feedback, could not look at everything yet (and at some places i was assuming ...
11 years, 10 months ago (2012-07-22 12:32:41 UTC) #1
xiaq
http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py#newcode17 MoinMoin/items/__init__.py:17: Each class correspond to an itemtype value. On 2012/07/22 ...
11 years, 10 months ago (2012-07-22 15:59:59 UTC) #2
Reimar Bauer
some comments I try a practical test http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py#newcode466 MoinMoin/items/__init__.py:466: data = ...
11 years, 10 months ago (2012-07-23 06:55:08 UTC) #3
xiaq
http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py#newcode466 MoinMoin/items/__init__.py:466: data = data.encode(charset) # XXX wrong! if contenttype gives ...
11 years, 10 months ago (2012-07-23 15:34:05 UTC) #4
ThomasJWaldmann
http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6432058/diff/1/MoinMoin/items/__init__.py#newcode291 MoinMoin/items/__init__.py:291: def _write_stream(self, content, new_rev, bufsize=8192): oh, oops? doublecheck / ...
11 years, 10 months ago (2012-07-23 16:51:44 UTC) #5
xiaq
http://codereview.appspot.com/6432058/diff/1013/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6432058/diff/1013/MoinMoin/apps/frontend/views.py#newcode57 MoinMoin/apps/frontend/views.py:57: #from MoinMoin.items.content import ROWS_DATA On 2012/07/23 16:51:44, ThomasJWaldmann wrote: ...
11 years, 10 months ago (2012-07-23 17:16:51 UTC) #6
Reimar Bauer
ok I think next I want to see that tests cover all those changes It ...
11 years, 10 months ago (2012-07-23 21:40:57 UTC) #7
Reimar Bauer
some more comments http://codereview.appspot.com/6432058/diff/26/MoinMoin/templates/modify_binary.html File MoinMoin/templates/modify_binary.html (left): http://codereview.appspot.com/6432058/diff/26/MoinMoin/templates/modify_binary.html#oldcode6 MoinMoin/templates/modify_binary.html:6: {{ forms.render_textcha(gen, form) }} where is ...
11 years, 10 months ago (2012-07-23 21:46:17 UTC) #8
xiaq
http://codereview.appspot.com/6432058/diff/26/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6432058/diff/26/MoinMoin/items/__init__.py#newcode9 MoinMoin/items/__init__.py:9: On 2012/07/23 21:40:57, Reimar Bauer wrote: > sometimes we ...
11 years, 10 months ago (2012-07-24 02:50:05 UTC) #9
xiaq
new patch set 7, featuring nice comments about code being moved around, please review! :) ...
11 years, 10 months ago (2012-07-24 02:55:03 UTC) #10
xiaq
Shiny new patch set! :) I tried to include a summary in the patch set ...
11 years, 10 months ago (2012-07-24 07:34:31 UTC) #11
xiaq
In patch set 11 i've adapted all test cases so there is no additional failures ...
11 years, 9 months ago (2012-07-27 05:22:06 UTC) #12
Reimar Bauer
some comments Later we should have a review of all used data in tests and ...
11 years, 9 months ago (2012-07-27 15:44:17 UTC) #13
xiaq
http://codereview.appspot.com/6432058/diff/29005/MoinMoin/constants/keys.py File MoinMoin/constants/keys.py (right): http://codereview.appspot.com/6432058/diff/29005/MoinMoin/constants/keys.py#newcode30 MoinMoin/constants/keys.py:30: ITEMTYPE = "itemtype" On 2012/07/27 15:44:17, Reimar Bauer wrote: ...
11 years, 9 months ago (2012-07-27 16:13:30 UTC) #14
Reimar Bauer
ok http://codereview.appspot.com/6432058/diff/29005/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6432058/diff/29005/MoinMoin/items/__init__.py#newcode11 MoinMoin/items/__init__.py:11: MoinMoin - highlevel items On 2012/07/27 16:13:30, xiaq ...
11 years, 9 months ago (2012-07-27 16:46:20 UTC) #15
ThomasJWaldmann
as you referred to here from you pull request, i did a final(?) review of ...
11 years, 9 months ago (2012-07-28 00:02:33 UTC) #16
xiaq
http://codereview.appspot.com/6432058/diff/30003/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6432058/diff/30003/MoinMoin/apps/frontend/views.py#newcode445 MoinMoin/apps/frontend/views.py:445: # TODO implement Content.create and use it Content.create here ...
11 years, 9 months ago (2012-07-28 01:41:28 UTC) #17
xiaq
11 years, 9 months ago (2012-07-28 01:55:22 UTC) #18

          
Sign in to reply to this message.

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