Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29323033: Issue 2846 - Service for processing Microsoft Edge announcement subscription (Closed)

Created:
July 30, 2015, 1:30 a.m. by Oleksandr
Modified:
Aug. 20, 2015, 10:24 a.m.
Reviewers:
Sebastian Noack, kzar
Visibility:
Public.

Description

This tries to reuse as much as possible the already implemented mechanism of email verification for Adblock Browser. The result is minimum changes, but probably not the prettiest code.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Don't hardcode 'edge'. Change the verification success URL. #

Total comments: 14

Patch Set 3 : Comments addressed #

Total comments: 3

Patch Set 4 : Default to adblockbrowser #

Total comments: 2

Patch Set 5 : Move "adblockbrowser" to global variable #

Patch Set 6 : Rename the ADBLOCKBROWSER_PRODUCT_NAME to DEFAULT_PRODUCT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -5 lines) Patch
M .sitescripts.example View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
A sitescripts/submit_email/template/edge_verification.mail View 1 chunk +31 lines, -0 lines 0 comments Download
M sitescripts/submit_email/web/submit_email.py View 1 2 3 4 5 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 14
Oleksandr
July 30, 2015, 1:46 a.m. (2015-07-30 01:46:03 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29323033/diff/29323034/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29323034/sitescripts/submit_email/web/submit_email.py#newcode52 sitescripts/submit_email/web/submit_email.py:52: if data.get('edge', '') == '': I'd rather not hard-code ...
Aug. 12, 2015, 8:53 a.m. (2015-08-12 08:53:04 UTC) #2
Oleksandr
https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/web/submit_email.py#newcode52 sitescripts/submit_email/web/submit_email.py:52: if data.get('product', '') == '': This "if" and the ...
Aug. 13, 2015, 4:12 a.m. (2015-08-13 04:12:07 UTC) #3
kzar
https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/template/edge_verification.mail File sitescripts/submit_email/template/edge_verification.mail (right): https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/template/edge_verification.mail#newcode12 sitescripts/submit_email/template/edge_verification.mail:12: {{ verification_url }} Nit: We usually don't have the ...
Aug. 18, 2015, 9:28 a.m. (2015-08-18 09:28:57 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/web/submit_email.py#newcode52 sitescripts/submit_email/web/submit_email.py:52: if data.get('product', '') == '': I think we should ...
Aug. 18, 2015, 4:35 p.m. (2015-08-18 16:35:04 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/template/edge_verification.mail File sitescripts/submit_email/template/edge_verification.mail (right): https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/template/edge_verification.mail#newcode12 sitescripts/submit_email/template/edge_verification.mail:12: {{ verification_url }} On 2015/08/18 09:28:56, kzar wrote: > ...
Aug. 18, 2015, 4:45 p.m. (2015-08-18 16:45:10 UTC) #6
Oleksandr
https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/template/edge_verification.mail File sitescripts/submit_email/template/edge_verification.mail (right): https://codereview.adblockplus.org/29323033/diff/29323536/sitescripts/submit_email/template/edge_verification.mail#newcode12 sitescripts/submit_email/template/edge_verification.mail:12: {{ verification_url }} On 2015/08/18 16:45:09, Sebastian Noack wrote: ...
Aug. 19, 2015, 9:46 a.m. (2015-08-19 09:46:20 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29323033/diff/29324271/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29324271/sitescripts/submit_email/web/submit_email.py#newcode53 sitescripts/submit_email/web/submit_email.py:53: product = data.get('product') What I meant is: product = ...
Aug. 19, 2015, 10:10 a.m. (2015-08-19 10:10:08 UTC) #8
Oleksandr
Fingers crossed! https://codereview.adblockplus.org/29323033/diff/29324271/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29324271/sitescripts/submit_email/web/submit_email.py#newcode53 sitescripts/submit_email/web/submit_email.py:53: product = data.get('product') On 2015/08/19 10:10:08, Sebastian ...
Aug. 19, 2015, 1:56 p.m. (2015-08-19 13:56:42 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29323033/diff/29324357/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29324357/sitescripts/submit_email/web/submit_email.py#newcode52 sitescripts/submit_email/web/submit_email.py:52: product = data.get('product', 'adblockbrowser') Nit: Since we use the ...
Aug. 19, 2015, 3:02 p.m. (2015-08-19 15:02:47 UTC) #10
Oleksandr
https://codereview.adblockplus.org/29323033/diff/29324357/sitescripts/submit_email/web/submit_email.py File sitescripts/submit_email/web/submit_email.py (right): https://codereview.adblockplus.org/29323033/diff/29324357/sitescripts/submit_email/web/submit_email.py#newcode52 sitescripts/submit_email/web/submit_email.py:52: product = data.get('product', 'adblockbrowser') On 2015/08/19 15:02:47, Sebastian Noack ...
Aug. 19, 2015, 3:11 p.m. (2015-08-19 15:11:25 UTC) #11
Oleksandr
Aug. 19, 2015, 3:43 p.m. (2015-08-19 15:43:13 UTC) #12
Sebastian Noack
LGTM
Aug. 19, 2015, 3:47 p.m. (2015-08-19 15:47:31 UTC) #13
kzar
Aug. 19, 2015, 3:52 p.m. (2015-08-19 15:52:48 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld