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

Issue 11215045: User subscription functionality (Closed)

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

Description

Modification of subscribe(), unsubscribe(), is_subscribed_to() methods. If you want to check how the patch works you can pull it from my public repo. The commit on bitbucket: https://bitbucket.org/ana-balica/moin-2.0/commits/2ffec8cc8d97256760c62edfe9525dc4b4d0f1ef

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fix namespace issue #

Patch Set 3 : One unified test for subscriptions #

Patch Set 4 : Check for nonexistend item in is_subscribed_to() #

Patch Set 5 : Don't check is_subscribed_to() for nonexistent items #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -80 lines) Patch
M MoinMoin/_tests/test_user.py View 1 2 2 chunks +30 lines, -20 lines 0 comments Download
M MoinMoin/user.py View 1 2 3 4 3 chunks +83 lines, -60 lines 0 comments Download

Messages

Total messages: 5
Thomas.J.Waldmann
https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py File MoinMoin/user.py (right): https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py#newcode199 MoinMoin/user.py:199: def assemble_subscription(keyword, namespace, value): if you call this for ...
10 years, 10 months ago (2013-07-12 23:07:28 UTC) #1
ana.balica
https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py File MoinMoin/user.py (right): https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py#newcode579 MoinMoin/user.py:579: for name in item.meta[NAME]) On 2013/07/12 23:07:28, Thomas.J.Waldmann wrote: ...
10 years, 10 months ago (2013-07-13 22:49:39 UTC) #2
Thomas.J.Waldmann
https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py File MoinMoin/user.py (right): https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py#newcode582 MoinMoin/user.py:582: if subscriptions & set(self.subscriptions): that's ok, i just couldn't ...
10 years, 10 months ago (2013-07-14 07:51:12 UTC) #3
ana.balica
https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py File MoinMoin/user.py (right): https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py#newcode582 MoinMoin/user.py:582: if subscriptions & set(self.subscriptions): to be precise, here: https://codereview.appspot.com/10693045/patch/3001/4004
10 years, 10 months ago (2013-07-14 08:00:55 UTC) #4
Thomas.J.Waldmann
10 years, 10 months ago (2013-07-14 08:19:42 UTC) #5
https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py
File MoinMoin/user.py (right):

https://codereview.appspot.com/11215045/diff/1/MoinMoin/user.py#newcode582
MoinMoin/user.py:582: if subscriptions & set(self.subscriptions):
ok
Sign in to reply to this message.

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