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

Issue 29993614: Issue 2267 - Unify form handling by reusing form_handler() (Closed)

Created:
Jan. 30, 2019, 11:43 p.m. by rhowell
Modified:
Feb. 8, 2019, 9 p.m.
Reviewers:
Vasily Kuznetsov
Base URL:
https://hg.adblockplus.org/sitescripts/
Visibility:
Public.

Description

Issue 2267 - Unify form handling by reusing form_handler() Repository: https://hg.adblockplus.org/sitescripts Base revision of PS1: 5cccbbe6bc8d Base revision of PS2+: 9070626bba97

Patch Set 1 #

Total comments: 3

Patch Set 2 : Get the tests (clumsily) working #

Total comments: 4

Patch Set 3 : Add mocker patches #

Total comments: 11

Patch Set 4 : Add form_handler() and encode_email_address() #

Total comments: 11

Patch Set 5 : Remove unnecessary checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -28 lines) Patch
A sitescripts/reports/tests/test_updateReport.py View 1 2 3 4 1 chunk +119 lines, -0 lines 0 comments Download
M sitescripts/reports/web/updateReport.py View 1 2 3 4 3 chunks +19 lines, -27 lines 0 comments Download
M tox.ini View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12
rhowell
Jan. 30, 2019, 11:43 p.m. (2019-01-30 23:43:21 UTC) #1
rhowell
Hi Vasily! I've been learning a lot about the WSGI interceptor, and making a little ...
Jan. 30, 2019, 11:47 p.m. (2019-01-30 23:47:35 UTC) #2
Vasily Kuznetsov
Hi Rosie, It seems like testing this handler properly is quite a pain -- sorry ...
Jan. 31, 2019, 5:34 p.m. (2019-01-31 17:34:29 UTC) #3
rhowell
Hey Vasily! A couple of questions/thoughts: 1. Since I've pulled and rebased, should I update ...
Feb. 2, 2019, 5:45 a.m. (2019-02-02 05:45:22 UTC) #4
Vasily Kuznetsov
Hi Rosie! The test itself looks pretty good but I think there are a few ...
Feb. 4, 2019, 5:48 p.m. (2019-02-04 17:48:51 UTC) #5
rhowell
Hey Vasily, Hopefully this is looking closer to what you had in mind! Thanks for ...
Feb. 5, 2019, 5:05 a.m. (2019-02-05 05:05:32 UTC) #6
Vasily Kuznetsov
Hi Rosie! The testing approach looks great, I only have some minor comments. You are ...
Feb. 5, 2019, 5:12 p.m. (2019-02-05 17:12:08 UTC) #7
rhowell
Hey Vasily! Jeez I thought I had already added those! Well, I did at some ...
Feb. 7, 2019, 3:54 a.m. (2019-02-07 03:54:33 UTC) #8
Vasily Kuznetsov
Hi Rosie! Looks good. I have basically only cosmetic comments. However, I'm wondering if it ...
Feb. 7, 2019, 8:19 p.m. (2019-02-07 20:19:16 UTC) #9
rhowell
Hey Vasily, Sorry for the confusion with those checks! That was my mistake, see below. ...
Feb. 8, 2019, 1:34 a.m. (2019-02-08 01:34:52 UTC) #10
Vasily Kuznetsov
Hi Rosie! LGTM! So in the end the additional checks will not be in a ...
Feb. 8, 2019, 7:06 p.m. (2019-02-08 19:06:07 UTC) #11
rhowell
Feb. 8, 2019, 8:42 p.m. (2019-02-08 20:42:20 UTC) #12
On 2019/02/08 19:06:07, Vasily Kuznetsov wrote:
> Hi Rosie!
> 
> LGTM!
> 
> So in the end the additional checks will not be in a separate review because
> they are not needed, right?

Right. Looks like the only mandatory fields for `handleRequest()` are `guid` and
`secret`, and there are already checks in place for those. I'll go ahead and
push and close this ticket then.  :)

Powered by Google App Engine
This is Rietveld