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

Issue 1711053: Adding ProxyingRewriter which will only proxy resources (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 9 months ago by gagan.goku
Modified:
15 years, 7 months ago
Reviewers:
shindig.remailer, johnfargo, Kuntal Loya, dev-remailer, anupama.dutta, cool-shindig-committers, vikaas.arora, zhoresh
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src
Visibility:
Public.

Description

First step towards separating out Css, Js concatenation and resource proxying.

Patch Set 1 #

Patch Set 2 : more stuff #

Patch Set 3 : removing iframe src #

Total comments: 2

Patch Set 4 : removed embed and object tags #

Patch Set 5 : fixing bad things #

Patch Set 6 : fixing tests #

Total comments: 16

Patch Set 7 : addressing comments #

Patch Set 8 : addressing comments #

Total comments: 5

Patch Set 9 : addressing comments #

Total comments: 2

Patch Set 10 : addressing comments #

Patch Set 11 : really addressing comments #

Patch Set 12 : really addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -2 lines) Patch
main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java View 1 1 chunk +33 lines, -0 lines 0 comments Download
main/java/org/apache/shindig/gadgets/rewrite/RewriteModule.java View 1 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
test/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriterTest.java View 1 7 8 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 25
gagan.goku
15 years, 9 months ago (2010-07-07 23:08:19 UTC) #1
gagan.goku
more stuff
15 years, 9 months ago (2010-07-07 23:10:19 UTC) #2
gagan.goku
removing iframe src
15 years, 9 months ago (2010-07-07 23:30:15 UTC) #3
vikaas.arora
http://codereview.appspot.com/1711053/diff/9002/13001 File common/conf/shindig.properties (right): http://codereview.appspot.com/1711053/diff/9002/13001#newcode51 common/conf/shindig.properties:51: shindig.content-rewrite.include-tags=link,script,embed,img,style,input,body,script,object We found some issues with 'embed' & 'object' ...
15 years, 9 months ago (2010-07-08 07:17:20 UTC) #4
gagan.goku
removed embed and object tags
15 years, 9 months ago (2010-07-08 17:56:09 UTC) #5
gagan.goku
fixing bad things
15 years, 9 months ago (2010-07-08 17:58:11 UTC) #6
gagan.goku
http://codereview.appspot.com/1711053/diff/9002/13001 File common/conf/shindig.properties (right): http://codereview.appspot.com/1711053/diff/9002/13001#newcode51 common/conf/shindig.properties:51: shindig.content-rewrite.include-tags=link,script,embed,img,style,input,body,script,object On 2010/07/08 07:17:20, vikaas.arora wrote: > We found ...
15 years, 9 months ago (2010-07-08 17:59:23 UTC) #7
gagan.goku
fixing tests
15 years, 9 months ago (2010-07-08 18:38:46 UTC) #8
gagan.goku
+anupama PTAL. On Fri, Jul 9, 2010 at 12:08 AM, <gagan.goku@gmail.com> wrote: > fixing tests ...
15 years, 9 months ago (2010-07-10 13:40:24 UTC) #9
gagan.goku
Guys please take a look. On Sat, Jul 10, 2010 at 7:10 PM, Gagandeep singh ...
15 years, 8 months ago (2010-07-15 19:24:04 UTC) #10
anupama.dutta
http://codereview.appspot.com/1711053/diff/35001/31002 File common/conf/shindig.properties (right): http://codereview.appspot.com/1711053/diff/35001/31002#newcode51 common/conf/shindig.properties:51: shindig.content-rewrite.include-tags=link,script,img,style,input,body Since http://codereview.appspot.com/1806044/show is already addressing this issue, you ...
15 years, 8 months ago (2010-07-17 03:55:24 UTC) #11
gagan.goku
addressing comments
15 years, 8 months ago (2010-07-17 05:14:24 UTC) #12
gagan.goku
http://codereview.appspot.com/1711053/diff/35001/31002 File common/conf/shindig.properties (right): http://codereview.appspot.com/1711053/diff/35001/31002#newcode51 common/conf/shindig.properties:51: shindig.content-rewrite.include-tags=link,script,img,style,input,body On 2010/07/17 03:55:24, anupama.dutta wrote: > Since http://codereview.appspot.com/1806044/show ...
15 years, 8 months ago (2010-07-17 05:14:33 UTC) #13
gagan.goku
addressing comments
15 years, 8 months ago (2010-07-17 05:18:26 UTC) #14
anupama.dutta
http://codereview.appspot.com/1711053/diff/49004/51003 File main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java (right): http://codereview.appspot.com/1711053/diff/49004/51003#newcode29 main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java:29: public ProxyingRewriter(ContentRewriterFeature.DefaultConfig config, The ProxyingContentRewriter seems to use the ...
15 years, 8 months ago (2010-07-17 06:25:31 UTC) #15
anupama.dutta
http://codereview.appspot.com/1711053/diff/49004/51003 File main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java (right): http://codereview.appspot.com/1711053/diff/49004/51003#newcode29 main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java:29: public ProxyingRewriter(ContentRewriterFeature.DefaultConfig config, On 2010/07/17 06:25:31, anupama.dutta wrote: > ...
15 years, 8 months ago (2010-07-17 08:23:26 UTC) #16
gagan.goku
addressing comments
15 years, 8 months ago (2010-07-17 12:00:37 UTC) #17
gagan.goku
http://codereview.appspot.com/1711053/diff/49004/51003 File main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java (right): http://codereview.appspot.com/1711053/diff/49004/51003#newcode29 main/java/org/apache/shindig/gadgets/rewrite/ProxyingRewriter.java:29: public ProxyingRewriter(ContentRewriterFeature.DefaultConfig config, On 2010/07/17 08:23:26, anupama.dutta wrote: > ...
15 years, 8 months ago (2010-07-17 12:00:46 UTC) #18
anupama.dutta
Please add John and Ziv as reviewers after addressing the below comment. Thanks, Anupama. http://codereview.appspot.com/1711053/diff/63001/64002 ...
15 years, 8 months ago (2010-07-18 04:28:41 UTC) #19
gagan.goku
http://codereview.appspot.com/1711053/diff/63001/64002 File main/java/org/apache/shindig/gadgets/rewrite/RewriteModule.java (right): http://codereview.appspot.com/1711053/diff/63001/64002#newcode71 main/java/org/apache/shindig/gadgets/rewrite/RewriteModule.java:71: ProxyingContentRewriter proxyingContentRewriter, On 2010/07/18 04:28:41, anupama.dutta wrote: > Should ...
15 years, 8 months ago (2010-07-18 04:34:28 UTC) #20
gagan.goku
addressing comments
15 years, 8 months ago (2010-07-18 04:35:05 UTC) #21
anupama.dutta
LGTM.
15 years, 8 months ago (2010-07-18 04:43:41 UTC) #22
gagan.goku
really addressing comments
15 years, 8 months ago (2010-07-18 04:49:33 UTC) #23
gagan.goku
On 2010/07/18 04:43:41, anupama.dutta wrote: > LGTM. thanks :)
15 years, 8 months ago (2010-07-18 04:50:10 UTC) #24
johnfargo
15 years, 8 months ago (2010-07-19 17:40:46 UTC) #25
Can you expand on the problem here? The stated point of this CL runs in direct
opposition to the design ethos of ProxyingContentRewriter w/ concat + proxy
together.

The point of doing it the way it exists is to avoid concatenation and proxying
stepping over one another - ie. proxying an already-concatenated URI or vice
versa.

If the idea is independent configurability, would it work just offer an option
in the existing ProxyingContentRewriter to disable the concatenation piece
(and/or vice versa)? Your test cases could be used essentially verbatim for this
case.

Best,
John



On 2010/07/18 04:50:10, gagan.goku wrote:
> On 2010/07/18 04:43:41, anupama.dutta wrote:
> > LGTM.
> 
> thanks :)
Sign in to reply to this message.

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