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

Issue 14109: OS Lite SHINDIG-923

Can't Edit
Can't Publish+Mail
Start Review
Created:
17 years ago by rbe5000
Modified:
16 years, 11 months ago
Reviewers:
shindig-dev, louiscryan, awiner
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 30
Unified diffs Side-by-side diffs Delta from patch set Stats (+6504 lines, -15 lines) Patch
config/container.js View 1 chunk +5 lines, -0 lines 0 comments Download
features/features.txt View 1 chunk +6 lines, -0 lines 2 comments Download
features/opensocial.data.activities/activities.js View 1 chunk +64 lines, -0 lines 1 comment Download
features/opensocial.data.activities/activitiestest.js View 1 chunk +260 lines, -0 lines 10 comments Download
features/opensocial.data.activities/feature.xml View 1 chunk +26 lines, -0 lines 0 comments Download
features/opensocial.data.appdata/appdata.js View 1 chunk +99 lines, -0 lines 3 comments Download
features/opensocial.data.appdata/appdatatest.js View 1 chunk +209 lines, -0 lines 0 comments Download
features/opensocial.data.appdata/feature.xml View 1 chunk +26 lines, -0 lines 0 comments Download
features/opensocial.data.base/batch.js View 1 chunk +204 lines, -0 lines 1 comment Download
features/opensocial.data.base/batchtest.js View 1 chunk +179 lines, -0 lines 0 comments Download
features/opensocial.data.base/feature.xml View 1 chunk +29 lines, -0 lines 0 comments Download
features/opensocial.data.base/jsonrequest.js View 1 chunk +216 lines, -0 lines 6 comments Download
features/opensocial.data.base/makerequest.js View 1 chunk +43 lines, -0 lines 0 comments Download
features/opensocial.data.base/util.js View 1 chunk +73 lines, -0 lines 1 comment Download
features/opensocial.data.people/feature.xml View 1 chunk +26 lines, -0 lines 0 comments Download
features/opensocial.data.people/people.js View 1 chunk +113 lines, -0 lines 1 comment Download
features/opensocial.data.people/peopletest.js View 1 chunk +203 lines, -0 lines 0 comments Download
features/opensocial.data.ui/feature.xml View 1 chunk +27 lines, -0 lines 0 comments Download
features/opensocial.data.ui/ui.js View 1 chunk +219 lines, -0 lines 1 comment Download
features/opensocial.data/feature.xml View 1 chunk +30 lines, -0 lines 0 comments Download
features/pom.xml View 1 chunk +8 lines, -0 lines 0 comments Download
features/test/internal/JsUnit.js View 1 chunk +2521 lines, -0 lines 0 comments Download
features/test/internal/JsUnitBV.js View 1 chunk +64 lines, -0 lines 0 comments Download
features/test/internal/JsUnitNSServer.js View 1 chunk +84 lines, -0 lines 0 comments Download
features/test/internal/JsUtil.js View 1 chunk +914 lines, -0 lines 0 comments Download
features/test/internal/alltests.js View 1 chunk +128 lines, -0 lines 0 comments Download
features/test/internal/js.jar View 0 chunks +-1 lines, --1 lines 0 comments Download
features/test/internal/runner.sh View 1 chunk +6 lines, -0 lines 0 comments Download
features/test/internal/testutils.js View 1 chunk +180 lines, -0 lines 4 comments Download
java/server/src/test/java/org/apache/shindig/server/endtoend/EndToEndTest.java View 4 chunks +45 lines, -16 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/activitiesTest.xml View 1 chunk +89 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/appdataTest.xml View 1 chunk +81 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/batchTest.xml View 1 chunk +83 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/errorTest.xml View 1 chunk +43 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/makeRequestTest.xml View 1 chunk +44 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/peopleTest.xml View 1 chunk +74 lines, -0 lines 0 comments Download
java/server/src/test/resources/endtoend/opensocial.data/personTest.xml View 1 chunk +84 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rbe5000
17 years ago (2009-02-17 23:44:28 UTC) #1
louiscryan
http://codereview.appspot.com/14109/diff/1/14 File features/features.txt (right): http://codereview.appspot.com/14109/diff/1/14#newcode23 Line 23: features/opensocial.data/feature.xml opensocial.data and opensocial-data dont mix well. Time ...
16 years, 12 months ago (2009-02-20 01:19:12 UTC) #2
awiner
Some haphazard comments. http://codereview.appspot.com/14109/diff/1/28 File features/opensocial.data.activities/activitiestest.js (right): http://codereview.appspot.com/14109/diff/1/28#newcode27 Line 27: shindig.auth = shindig.auth || {}; ...
16 years, 11 months ago (2009-02-24 21:06:43 UTC) #3
rbe5000
16 years, 11 months ago (2009-02-27 07:43:37 UTC) #4
I fixed all the stuff that wasn't related to default handling of json params by
protocol handlers, because several of those suggestions were broke, and didn't
have a chance yet to figure out why they are broken on the server.

Still, wanted to get the first pass checked in, and I can figure out the
problems when I get back.

http://codereview.appspot.com/14109/diff/1/14
File features/features.txt (right):

http://codereview.appspot.com/14109/diff/1/14#newcode23
Line 23: features/opensocial.data/feature.xml
On 2009/02/20 01:19:12, louiscryan wrote:
> opensocial.data and opensocial-data dont mix well. Time for spec cleanup fun!

Done.

http://codereview.appspot.com/14109/diff/1/28
File features/opensocial.data.activities/activitiestest.js (right):

http://codereview.appspot.com/14109/diff/1/28#newcode27
Line 27: shindig.auth = shindig.auth || {};
On 2009/02/24 21:06:43, awiner wrote:
> i think shindig.auth should just be overwritten here with {}.  In part, that
> verifies that nothing out of shindig.auth other than getSecurityToken is
called.

There are some other weird things going on, but overwrote it in all tests, and
then undefined it, because any test using shindig.auth should ensure it's
existence.
Done.

http://codereview.appspot.com/14109/diff/1/28#newcode28
Line 28: shindig.auth.getSecurityToken = shindig.auth.getSecurityToken ||
function() {
On 2009/02/24 21:06:43, awiner wrote:
> think it should just be overridden unconditionally

Done.

http://codereview.appspot.com/14109/diff/1/28#newcode38
Line 38: shindig.auth = undefined;
On 2009/02/24 21:06:43, awiner wrote:
> i think the original shindig.auth should be restored

Done.

http://codereview.appspot.com/14109/diff/1/28#newcode42
Line 42: *
On 2009/02/24 21:06:43, awiner wrote:
> cool comment ;)

Done.

http://codereview.appspot.com/14109/diff/1/28#newcode138
Line 138: [{title:"yellow",userId:"john.doe",id:"1",body:"what a color!"}],
On 2009/02/24 21:06:43, awiner wrote:
> JSON formatting is widely divergent within this file.  pick a style?

Done.

http://codereview.appspot.com/14109/diff/1/35
File features/opensocial.data.base/jsonrequest.js (right):

http://codereview.appspot.com/14109/diff/1/35#newcode56
Line 56: "CONTENT_TYPE" : "JSON",
On 2009/02/20 01:19:12, louiscryan wrote:
> JSON_CONTENT_TYPE instead of "JSON ?

Done.

http://codereview.appspot.com/14109/diff/1/35#newcode124
Line 124: var normalizeSortAndFilterOptionNames = function(params) {
On 2009/02/20 01:19:12, louiscryan wrote:
> no need to do this any more

Done.

http://codereview.appspot.com/14109/diff/1/22
File features/test/internal/testutils.js (right):

http://codereview.appspot.com/14109/diff/1/22#newcode51
Line 51: var makeInspectableCallback = function() {
On 2009/02/24 21:06:43, awiner wrote:
> pass callback to this function, instead of setRealCallback() - it's always
used,
> right?

Done.

http://codereview.appspot.com/14109/diff/1/22#newcode62
Line 62: realCallback(result);
On 2009/02/24 21:06:43, awiner wrote:
> i'd use 
>   realCallback.apply(this, args)
> ... so this will work for any set of arguments, with "this" preserved.

Done.
Sign in to reply to this message.

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