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

Issue 380041: Caja does not support proxy url gadgets (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by Jasvir
Modified:
15 years, 9 months ago
Reviewers:
johnfargo, chirag
CC:
shindig.remailer_gmail.com
Base URL:
https://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

* do not render type url gadgets if using caja since proxy url gadgets bypass the entire rewriting stack including the cajoler

Patch Set 1 #

Total comments: 9

Patch Set 2 : Caja does not support proxy url gadgets #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java View 1 2 chunks +13 lines, -1 line 1 comment Download
M java/server/src/test/java/org/apache/shindig/server/endtoend/EndToEndTest.java View 1 3 chunks +11 lines, -0 lines 0 comments Download
A java/server/src/test/resources/endtoend/failCajaUrlTest.xml View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Jasvir
15 years, 10 months ago (2010-03-10 01:20:44 UTC) #1
Jasvir
http://codereview.appspot.com/380041/diff/1/2 File java/server/src/test/java/org/apache/shindig/server/endtoend/EndToEndTest.java (right): http://codereview.appspot.com/380041/diff/1/2#newcode205 java/server/src/test/java/org/apache/shindig/server/endtoend/EndToEndTest.java:205: } I'd really like to include a test for ...
15 years, 10 months ago (2010-03-10 01:21:50 UTC) #2
johnfargo
LGTM ...with a few minor suggestions. http://codereview.appspot.com/380041/diff/1/4 File java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java (right): http://codereview.appspot.com/380041/diff/1/4#newcode81 java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java:81: if (gadget.getCurrentView().getType() == ...
15 years, 10 months ago (2010-03-10 01:56:06 UTC) #3
chirag
http://codereview.appspot.com/380041/diff/1/4 File java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java (right): http://codereview.appspot.com/380041/diff/1/4#newcode81 java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java:81: if (gadget.getCurrentView().getType() == View.ContentType.URL && Minor nit: The check ...
15 years, 10 months ago (2010-03-10 08:28:29 UTC) #4
Jasvir
http://codereview.appspot.com/380041/diff/1/4 File java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java (right): http://codereview.appspot.com/380041/diff/1/4#newcode81 java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java:81: if (gadget.getCurrentView().getType() == View.ContentType.URL && On 2010/03/10 01:56:06, johnfargo ...
15 years, 10 months ago (2010-03-10 09:22:00 UTC) #5
johnfargo
15 years, 10 months ago (2010-03-10 20:15:43 UTC) #6
LGTM

http://codereview.appspot.com/380041/diff/8001/9003
File java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java
(right):

http://codereview.appspot.com/380041/diff/8001/9003#newcode82
java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java:82:
if (requiresCaja(gadget)) {
looks fine, though in a followup we should use this (static-ified) method in the
other places in code that duplicate it ;)
Sign in to reply to this message.

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