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

Issue 6488087: Add push notifications

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by Ali Afshar
Modified:
9 years, 4 months ago
Reviewers:
jcgregorio_google
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed from review comments. #

Total comments: 13

Patch Set 3 : Fix from review comments. #

Total comments: 4

Patch Set 4 : Fix from review comments. #

Total comments: 30

Patch Set 5 : Fix from review comments. #

Patch Set 6 : Fix from review comments. #

Total comments: 3

Patch Set 7 : Update from review comments. #

Total comments: 1

Patch Set 8 : Update to latest push spec. #

Patch Set 9 : Added warning note. #

Total comments: 5

Patch Set 10 : Fixed review comments. #

Patch Set 11 : Added subscription ID support. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+583 lines, -0 lines) Patch
M apiclient/http.py View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download
A apiclient/push.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +274 lines, -0 lines 0 comments Download
M tests/test_http.py View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A tests/test_push.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +272 lines, -0 lines 0 comments Download

Messages

Total messages: 23
jcgregorio_google
https://codereview.appspot.com/6488087/diff/1/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/6488087/diff/1/apiclient/http.py#newcode637 apiclient/http.py:637: def execute_with_headers(self, http=None): I don't like the idea of ...
12 years ago (2012-09-06 13:34:43 UTC) #1
Ali Afshar
Sorry for the delay, this has been sitting around for a while. https://codereview.appspot.com/6488087/diff/1/apiclient/http.py File apiclient/http.py ...
11 years, 11 months ago (2012-10-12 18:04:42 UTC) #2
jcgregorio_google
https://codereview.appspot.com/6488087/diff/3001/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/6488087/diff/3001/apiclient/http.py#newcode48 apiclient/http.py:48: from push import Subscription Unused import. https://codereview.appspot.com/6488087/diff/3001/apiclient/http.py#newcode703 apiclient/http.py:703: def ...
11 years, 11 months ago (2012-10-12 18:34:12 UTC) #3
Ali Afshar
https://codereview.appspot.com/6488087/diff/3001/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/6488087/diff/3001/apiclient/http.py#newcode48 apiclient/http.py:48: from push import Subscription On 2012/10/12 18:34:12, jcgregorio_google wrote: ...
11 years, 11 months ago (2012-10-12 19:46:14 UTC) #4
jcgregorio_google
https://codereview.appspot.com/6488087/diff/10001/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/6488087/diff/10001/apiclient/http.py#newcode645 apiclient/http.py:645: A tuple of (response headers, object model), where the ...
11 years, 11 months ago (2012-10-13 18:43:39 UTC) #5
Ali Afshar
https://codereview.appspot.com/6488087/diff/10001/apiclient/http.py File apiclient/http.py (right): https://codereview.appspot.com/6488087/diff/10001/apiclient/http.py#newcode645 apiclient/http.py:645: A tuple of (response headers, object model), where the ...
11 years, 11 months ago (2012-10-13 19:07:00 UTC) #6
Ali Afshar
Not sure if it sent this reply out. On 2012/10/13 19:07:00, Ali Afshar wrote: > ...
11 years, 10 months ago (2012-10-17 18:19:22 UTC) #7
jcgregorio_google
Sorry for the slow review, still catching up from vacation. https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py#newcode31 ...
11 years, 10 months ago (2012-10-23 15:30:16 UTC) #8
Ali Afshar
https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py#newcode31 apiclient/push.py:31: class ClientTokenGenerator(object): On 2012/10/23 15:30:17, jcgregorio_google wrote: > Since ...
11 years, 10 months ago (2012-10-23 16:09:58 UTC) #9
jcgregorio_google
https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py#newcode105 apiclient/push.py:105: Yes, please do. On 2012/10/23 16:09:59, Ali Afshar wrote: ...
11 years, 10 months ago (2012-10-25 16:26:00 UTC) #10
Ali Afshar
https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py#newcode105 apiclient/push.py:105: On 2012/10/25 16:26:01, jcgregorio_google wrote: > Yes, please do. ...
11 years, 10 months ago (2012-10-25 17:50:15 UTC) #11
jcgregorio_google
https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/14001/apiclient/push.py#newcode168 apiclient/push.py:168: def for_channel(cls, channel, client_token=None): sgtm On 2012/10/25 17:50:15, Ali ...
11 years, 10 months ago (2012-10-25 18:03:02 UTC) #12
Ali Afshar
https://codereview.appspot.com/6488087/diff/26001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/26001/apiclient/push.py#newcode114 apiclient/push.py:114: if key not in self.ALL_HEADERS: On 2012/10/25 18:03:03, jcgregorio_google ...
11 years, 10 months ago (2012-10-25 18:09:30 UTC) #13
Ali Afshar
11 years, 10 months ago (2012-10-25 18:09:53 UTC) #14
Ali Afshar
On 2012/10/25 18:09:53, Ali Afshar wrote: Is this good to go?
11 years, 10 months ago (2012-11-05 19:02:43 UTC) #15
jcgregorio_google
https://codereview.appspot.com/6488087/diff/26001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/26001/apiclient/push.py#newcode114 apiclient/push.py:114: if key not in self.ALL_HEADERS: Yes, make it case-insensitive. ...
11 years, 10 months ago (2012-11-05 19:10:47 UTC) #16
Ali Afshar
On 2012/11/05 19:10:47, jcgregorio_google wrote: > https://codereview.appspot.com/6488087/diff/26001/apiclient/push.py > File apiclient/push.py (right): > > https://codereview.appspot.com/6488087/diff/26001/apiclient/push.py#newcode114 > ...
11 years, 10 months ago (2012-11-05 21:20:20 UTC) #17
jcgregorio_google
https://codereview.appspot.com/6488087/diff/35001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/35001/apiclient/push.py#newcode13 apiclient/push.py:13: """Push notifications support.""" I know you are updating this ...
11 years, 9 months ago (2012-11-20 20:27:27 UTC) #18
Ali Afshar
On 2012/11/20 20:27:27, jcgregorio_google wrote: > https://codereview.appspot.com/6488087/diff/35001/apiclient/push.py > File apiclient/push.py (right): > > https://codereview.appspot.com/6488087/diff/35001/apiclient/push.py#newcode13 > ...
11 years, 8 months ago (2013-01-04 16:19:24 UTC) #19
jcgregorio_google
https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py#newcode34 apiclient/push.py:34: class UnsubscribableRequestError(ValueError): How about InvalidSubcriptionRequestError? https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py#newcode196 apiclient/push.py:196: if request.method ...
11 years, 8 months ago (2013-01-07 13:42:05 UTC) #20
Ali Afshar
https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py#newcode34 apiclient/push.py:34: class UnsubscribableRequestError(ValueError): On 2013/01/07 13:42:05, jcgregorio_google wrote: > How ...
11 years, 8 months ago (2013-01-07 15:18:03 UTC) #21
jcgregorio_google
LGTM https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py File apiclient/push.py (right): https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py#newcode196 apiclient/push.py:196: if request.method != 'GET': D'oh. Indeed there is. ...
11 years, 8 months ago (2013-01-07 21:52:46 UTC) #22
Ali Afshar
11 years, 8 months ago (2013-01-07 22:07:03 UTC) #23
Committed in
http://code.google.com/p/google-api-python-client/source/detail?r=30bef71e91a...

On 2013/01/07 21:52:46, jcgregorio_google wrote:
> LGTM
> 
> https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py
> File apiclient/push.py (right):
> 
> https://codereview.appspot.com/6488087/diff/42001/apiclient/push.py#newcode196
> apiclient/push.py:196: if request.method != 'GET':
> D'oh. Indeed there is.
> 
> On 2013/01/07 15:18:04, Ali Afshar wrote:
> > On 2013/01/07 13:42:05, jcgregorio_google wrote:
> > > Add a unit test for this.
> > 
> > There is already one: def test_non_get_error(self):
Sign in to reply to this message.

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