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

Issue 108048: Code Review for PHP SDK support for (Albums & MediaItems) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by Harakiro
Modified:
14 years, 8 months ago
Base URL:
http://opensocial-php-client.googlecode.com/svn/trunk/
Visibility:
Public.

Description

I tried to extract out only the new stuff for albums and mediaItems for review. There's also a fix to the postBody in 2LeggedOAuth. Obviously you'll not be able to hit our dev server to see these in action. I've made some changes to the examples and included example code for each of these. Added base model for all classes to extends with setField() and getField() functions. This greatly simplifies getting and setting variables. Also modified the System Service because it was throwing an exception.

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addresses comments, and testing from patch 1 #

Total comments: 7

Patch Set 3 : Fiinal patch for this *I hope* #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1086 lines, -524 lines) Patch
src/examples/__init__.php View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
src/examples/albums.php View 1 chunk +87 lines, -0 lines 0 comments Download
src/examples/appData.php View 5 chunks +8 lines, -10 lines 0 comments Download
src/examples/images.jpg View 0 chunks +-1 lines, --1 lines 0 comments Download
src/examples/index.php View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
src/examples/listMethods.php View 2 1 chunk +1 line, -1 line 0 comments Download
src/examples/mediaItems.php View 1 chunk +92 lines, -0 lines 0 comments Download
src/examples/response_block.php View 1 chunk +12 lines, -0 lines 0 comments Download
src/osapi/auth/osapiOAuth2Legged.php View 1 2 3 chunks +5 lines, -10 lines 0 comments Download
src/osapi/io/osapiIO.php View 2 1 chunk +27 lines, -15 lines 0 comments Download
src/osapi/io/osapiRequest.php View 1 2 1 chunk +89 lines, -88 lines 0 comments Download
src/osapi/io/osapiRestIO.php View 1 2 8 chunks +81 lines, -22 lines 0 comments Download
src/osapi/io/osapiRpcIO.php View 2 1 chunk +2 lines, -2 lines 0 comments Download
src/osapi/model/osapiAlbum.php View 1 chunk +35 lines, -0 lines 0 comments Download
src/osapi/model/osapiMediaItem.php View 1 2 1 chunk +61 lines, -67 lines 0 comments Download
src/osapi/model/osapiModel.php View 1 2 1 chunk +80 lines, -46 lines 0 comments Download
src/osapi/osapi.php View 1 2 1 chunk +132 lines, -136 lines 0 comments Download
src/osapi/providers/osapiMySpaceProvider.php View 1 2 3 chunks +63 lines, -33 lines 0 comments Download
src/osapi/service/osapiAlbums.php View 1 chunk +100 lines, -0 lines 0 comments Download
src/osapi/service/osapiMediaItems.php View 1 chunk +106 lines, -0 lines 0 comments Download
src/osapi/service/osapiService.php View 1 2 1 chunk +99 lines, -93 lines 0 comments Download
src/osapi/service/osapiSystem.php View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Harakiro
14 years, 8 months ago (2009-08-17 17:10:08 UTC) #1
chabotc
Here's my initial code review http://codereview.appspot.com/108048/diff/1/2 File src/examples/__init__.php (right): http://codereview.appspot.com/108048/diff/1/2#newcode111 Line 111: //$userId = '487802446'; ...
14 years, 8 months ago (2009-08-18 09:41:12 UTC) #2
Harakiro
Please see my responses to each comment. Jesse http://codereview.appspot.com/108048/diff/1/2 File src/examples/__init__.php (right): http://codereview.appspot.com/108048/diff/1/2#newcode111 Line 111: ...
14 years, 8 months ago (2009-08-18 17:45:47 UTC) #3
Arne Roomann-Kurrik
http://codereview.appspot.com/108048/diff/1/4 File src/osapi/auth/osapiOAuth2Legged.php (right): http://codereview.appspot.com/108048/diff/1/4#newcode86 Line 86: unset($oauthRequest->parameters[$postBody]); You should be able to tell if ...
14 years, 8 months ago (2009-08-18 17:53:06 UTC) #4
Harakiro
Addresses comments, and testing from patch 1
14 years, 8 months ago (2009-08-21 17:22:09 UTC) #5
Harakiro
Just checking in if anyone has had a chance to review the 2nd patch I ...
14 years, 8 months ago (2009-08-24 20:25:03 UTC) #6
Arne Roomann-Kurrik
Sorry to take so long with this review. There seems to be a couple files ...
14 years, 8 months ago (2009-08-26 02:16:05 UTC) #7
Harakiro
Please see comments below. I'll post a patch with missing files very shortly. http://codereview.appspot.com/108048/diff/2003/2007 File ...
14 years, 8 months ago (2009-08-26 18:01:35 UTC) #8
Harakiro
14 years, 8 months ago (2009-08-26 18:08:48 UTC) #9
Fiinal patch for this *I hope*
Sign in to reply to this message.

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