http://codereview.appspot.com/6457091/diff/1/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6457091/diff/1/MoinMoin/items/__init__.py#newcode101 MoinMoin/items/__init__.py:101: self.meta[NAME] = self.item.name This used to give DummyRev a ...
12 years, 3 months ago
(2012-08-08 04:00:11 UTC)
#1
look at create right for those "new" items http://codereview.appspot.com/6457091/diff/4001/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6457091/diff/4001/MoinMoin/items/__init__.py#newcode437 MoinMoin/items/__init__.py:437: and ...
12 years, 3 months ago
(2012-08-12 06:55:09 UTC)
#4
look at create right for those "new" items
http://codereview.appspot.com/6457091/diff/4001/MoinMoin/items/__init__.py
File MoinMoin/items/__init__.py (right):
http://codereview.appspot.com/6457091/diff/4001/MoinMoin/items/__init__.py#ne...
MoinMoin/items/__init__.py:437: and 'application/x.nonexistent' contenttype is
created.
I wonder currently which parentid one of this not connected subitems had.
wanted_items should list these items too and indicate their state. (can be done
afterwards)
We should look on the create right.
What happens to the limitation after one with that right creates the last
subitem. All parents will exist after that. I guess any user with write rights
can add content, change contenttype etc. If so it should be fixed that create
right is required to change such an item.
There should be a test added.
http://codereview.appspot.com/6457091/diff/1008/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6457091/diff/1008/MoinMoin/apps/frontend/views.py#newcode348 MoinMoin/apps/frontend/views.py:348: # The second form only accpets GET since modifying ...
12 years, 3 months ago
(2012-08-16 08:05:34 UTC)
#8
http://codereview.appspot.com/6457091/diff/1008/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/6457091/diff/1008/MoinMoin/apps/frontend/views.py#newcode348 MoinMoin/apps/frontend/views.py:348: # The second form only accpets GET since modifying ...
12 years, 3 months ago
(2012-08-17 09:09:12 UTC)
#9
11:11 xiaq$ ThomasWaldmann: http://codereview.appspot.com/6457091/ (index cleanup) updated. the only geniune change from patch set 3 ...
12 years, 3 months ago
(2012-08-17 17:53:03 UTC)
#10
11:11 xiaq$ ThomasWaldmann: http://codereview.appspot.com/6457091/ (index
cleanup) updated. the only geniune change from patch set 3 is
"manufactured" -> "created"...
Somehow I do not see that change, but other changes...
I've fixed the trivial things in patch set 10. http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py#newcode430 MoinMoin/items/__init__.py:430: ...
12 years, 2 months ago
(2012-08-19 14:33:29 UTC)
#13
I've fixed the trivial things in patch set 10.
http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py
File MoinMoin/items/__init__.py (right):
http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py#ne...
MoinMoin/items/__init__.py:430: def make_flat_index(self, subitems):
On 2012/08/19 14:09:01, ThomasJWaldmann wrote:
> btw, is there a test for this method?
it's now tested altogether with get_index. i'll put up a test case...
http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py#ne...
MoinMoin/items/__init__.py:456: # Find the *direct* subitem that is the ancestor
of current
On 2012/08/19 14:09:01, ThomasJWaldmann wrote:
> "ancestor" is somehow sounding like it has something to do either with time or
> with a sequence/order.
>
I learned this from my textbook :) "Ancestor" is not that uncommon:
http://en.wikipedia.org/wiki/Tree_%28data_structure%29#Terminology
> i think you might rather mean "parent" (vs. "child") which is a term used when
> discussing tree-like stuff and hierarchies.
I was looking for a word that expresses the "(the parent node of )+current node"
(consider text within double quotes a regexp), and "ancestor" came to my mind.
That was what I learned in my textbook after all, the Wiki may be a little wrong
in stating "parent" and "ancestor" are synonyms.
what about "(maybe indirect) parent"?
I modified TestItem.testIndex to test for make_flat_index and filter_index separately. (question: Should the trivial helper ...
12 years, 2 months ago
(2012-08-21 18:00:19 UTC)
#14
I modified TestItem.testIndex to test for make_flat_index and filter_index
separately. (question: Should the trivial helper get_index be tested? Methinks
it's so trivial that the probability it should go wrong is slighter than the
probability the test cases go wrong :-)
There is also a trivial comment change.
http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6457091/diff/4016/MoinMoin/items/__init__.py#newcode456 MoinMoin/items/__init__.py:456: # Find the *direct* subitem that is the ancestor ...
12 years, 2 months ago
(2012-08-21 19:02:57 UTC)
#15
http://codereview.appspot.com/6457091/diff/16001/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): http://codereview.appspot.com/6457091/diff/16001/MoinMoin/items/__init__.py#newcode462 MoinMoin/items/__init__.py:462: # are its ancestors. i didn't mean an example ...
12 years, 2 months ago
(2012-08-22 14:10:06 UTC)
#16
Issue 6457091: Index code cleanup
(Closed)
Created 12 years, 3 months ago by xiaq
Modified 12 years, 2 months ago
Reviewers: thomas.j.waldmann_googlemail.com, Reimar Bauer
Base URL:
Comments: 39