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

Issue 7388060: Add support to rietveld for filtering emails sent.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by iannucci
Modified:
12 years, 7 months ago
Reviewers:
M-A
CC:
jam, cmp, codereview-discuss_googlegroups.com
Visibility:
Public.

Description

Add support to rietveld for filtering emails sent. This allows messages which are publish/'d to be flagged as automated and/or advisory. Users may then select in Settings to exclude receiving these messages, varied by their involvement with the issue. Additionally, I've added a toggle which will cause rietveld to not send emails to you if you're the one who generated them. Features: * Uses the google apps email normalization steps to apply rules to email addresses in the CC field which may be isometric to an actual user account. * Human generated content always goes through. * Message UI is augmented slightly to show which messages are automated and/or advisory in nature (addition of two small icons in the Message header area). * Defaults to the current email workflow (i.e. No filters).

Patch Set 1 #

Patch Set 2 : Fix unnecessary diff in codereview/utils.py #

Patch Set 3 : Add JSON api support #

Total comments: 6

Patch Set 4 : Split into two booleans. Also make it so that your email will only be added once. #

Total comments: 26

Patch Set 5 : Fix issues #

Total comments: 8

Patch Set 6 : Fix nits #

Patch Set 7 : #

Patch Set 8 : Patchset 7 against default. #

Patch Set 9 : Some bugfixes for default #

Patch Set 10 : Rebase and change styling of icons to always be aligned #

Patch Set 11 : Final patch for default #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -24 lines) Patch
M codereview/models.py View 1 2 3 4 5 6 7 8 10 3 chunks +46 lines, -0 lines 0 comments Download
M codereview/views.py View 1 2 3 4 5 6 7 8 9 10 13 chunks +121 lines, -22 lines 0 comments Download
A static/automated.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A static/automated.svg View 1 2 3 4 5 6 7 8 1 chunk +103 lines, -0 lines 0 comments Download
A static/automated_verbose.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
A static/automated_verbose.svg View 1 2 3 4 5 6 7 8 1 chunk +67 lines, -0 lines 0 comments Download
M templates/issue.html View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 13
iannucci
PTAL. Outstanding questions: * This changes the 'recipients' Message field to accurately reflect who got ...
12 years, 8 months ago (2013-02-26 05:20:56 UTC) #1
M-A
Is this planned specifically for the chromium branch or also for the default branch? I ...
12 years, 8 months ago (2013-02-28 17:50:36 UTC) #2
iannucci
I think that messages generated from upload.py (i.e. the blank message from --send-mail) actually counts ...
12 years, 8 months ago (2013-03-01 00:05:01 UTC) #3
iannucci
PTA(nother)L. I'm not sure if we want this in mainline reitveld? Do you think it'll ...
12 years, 8 months ago (2013-03-01 03:41:48 UTC) #4
M-A
https://codereview.appspot.com/7388060/diff/17001/codereview/models.py File codereview/models.py (right): https://codereview.appspot.com/7388060/diff/17001/codereview/models.py#newcode37 codereview/models.py:37: FILTER_CHOICES = ( I think this should go in ...
12 years, 7 months ago (2013-03-07 19:22:58 UTC) #5
iannucci
https://codereview.appspot.com/7388060/diff/17001/codereview/models.py File codereview/models.py (right): https://codereview.appspot.com/7388060/diff/17001/codereview/models.py#newcode37 codereview/models.py:37: FILTER_CHOICES = ( On 2013/03/07 19:22:58, M-A wrote: > ...
12 years, 7 months ago (2013-03-08 00:17:10 UTC) #6
iannucci
On 2013/03/08 00:17:10, iannucci wrote: > https://codereview.appspot.com/7388060/diff/17001/codereview/models.py > File codereview/models.py (right): > > https://codereview.appspot.com/7388060/diff/17001/codereview/models.py#newcode37 > ...
12 years, 7 months ago (2013-03-11 21:04:18 UTC) #7
M-A
Make sure the code works before committing. Feel free to test a live instance on ...
12 years, 7 months ago (2013-03-11 23:23:56 UTC) #8
iannucci
Of course it works :). I meant to stand up a fake-codereview instance over the ...
12 years, 7 months ago (2013-03-11 23:34:11 UTC) #9
iannucci
https://codereview.appspot.com/7388060/diff/25001/codereview/models.py File codereview/models.py (right): https://codereview.appspot.com/7388060/diff/25001/codereview/models.py#newcode823 codereview/models.py:823: never_self_mail = db.BooleanProperty() On 2013/03/11 23:23:56, M-A wrote: > ...
12 years, 7 months ago (2013-03-12 02:14:37 UTC) #10
iannucci
Demo app is up at https://testfoo-codereview.appspot.com
12 years, 7 months ago (2013-03-12 02:27:31 UTC) #11
M-A
lgtm but did you mean to only commit it to chromium branch? I don't see ...
12 years, 7 months ago (2013-03-12 20:45:55 UTC) #12
iannucci
12 years, 7 months ago (2013-03-12 22:24:55 UTC) #13
On 2013/03/12 20:45:55, M-A wrote: > lgtm but did you mean to only commit it to chromium branch? I don't see anything > chromium specific, so it'd be worth committing it to default. If so, add > mailto:codereview-discuss@googlegroups.com. +codereview-discuss@googlegroups.com . I tried this patch against default and it looks pretty sane (only some minor conflicts). I've uploaded the resolved diff as patchset #8.
Sign in to reply to this message.

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