├── .reviewboardrc ├── java ├── server │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ └── endtoend │ │ │ │ ├── test.json │ │ │ │ ├── messages.xml │ │ │ │ ├── viewMessages.xml │ │ │ │ ├── messages_ar.xml │ │ │ │ ├── failCajaUrlTest.xml │ │ │ │ ├── testLibrary.xml │ │ │ │ └── failCajaTest.xml │ │ └── main │ │ │ └── webapp │ │ │ └── META-INF │ │ │ └── MANIFEST.MF │ └── README ├── gadgets │ ├── src │ │ ├── test │ │ │ ├── resources │ │ │ │ └── org │ │ │ │ │ └── apache │ │ │ │ │ └── shindig │ │ │ │ │ └── gadgets │ │ │ │ │ ├── parse │ │ │ │ │ ├── test-text-before-script.html │ │ │ │ │ ├── test-fragment2.html │ │ │ │ │ ├── test-fragment.html │ │ │ │ │ ├── nekohtml │ │ │ │ │ │ ├── test-fragment.html │ │ │ │ │ │ ├── test-fulldocnodoctype.html │ │ │ │ │ │ ├── test-fragment-expected.html │ │ │ │ │ │ ├── test-leadingscript.html │ │ │ │ │ │ ├── test-headnobody.html │ │ │ │ │ │ ├── test-headnobody-expected.html │ │ │ │ │ │ ├── test-fulldocnodoctype-expected.html │ │ │ │ │ │ └── test-leadingscript-expected.html │ │ │ │ │ ├── test-fragment2-expected.html │ │ │ │ │ ├── test-text-before-script-expected.html │ │ │ │ │ ├── test-fragment-expected.html │ │ │ │ │ ├── test-startswithcomment-expected.html │ │ │ │ │ ├── test-headnobody.html │ │ │ │ │ ├── test-fulldocnodoctype.html │ │ │ │ │ ├── test-startswithcomment.html │ │ │ │ │ ├── test-fulldocnodoctype-expected.html │ │ │ │ │ ├── test-headnobody-expected.html │ │ │ │ │ ├── test-with-ampersands-expected.html │ │ │ │ │ ├── test-with-ampersands.html │ │ │ │ │ ├── test-socialmarkup.html │ │ │ │ │ ├── test.html │ │ │ │ │ ├── test-expected.html │ │ │ │ │ └── test-with-iecond-comments-expected.html │ │ │ │ │ └── rewrite │ │ │ │ │ ├── image │ │ │ │ │ ├── bad.jpg │ │ │ │ │ ├── dog.gif │ │ │ │ │ ├── evil.bmp │ │ │ │ │ ├── evil.png │ │ │ │ │ ├── huge.gif │ │ │ │ │ ├── badicc.jpg │ │ │ │ │ ├── badicc2.jpg │ │ │ │ │ ├── badicc3.jpg │ │ │ │ │ ├── badicc4.jpg │ │ │ │ │ ├── evil2.bmp │ │ │ │ │ ├── expand.gif │ │ │ │ │ ├── large.gif │ │ │ │ │ ├── large.jpg │ │ │ │ │ ├── ratio.gif │ │ │ │ │ ├── simple.bmp │ │ │ │ │ ├── small.jpg │ │ │ │ │ ├── 2ndjpgbad.jpg │ │ │ │ │ ├── animated.gif │ │ │ │ │ ├── directcolor.gif │ │ │ │ │ ├── inefficient.png │ │ │ │ │ ├── testImage420.jpg │ │ │ │ │ ├── testImage444.jpg │ │ │ │ │ ├── unanimated.gif │ │ │ │ │ ├── rgbawithnoalpha.png │ │ │ │ │ └── testImageNotHuffmanOptimized.jpg │ │ │ │ │ ├── rewritebasic.css │ │ │ │ │ ├── rewritelinksbasic.html │ │ │ │ │ ├── rewritestyle2.html │ │ │ │ │ ├── rewritestylemedia.html │ │ │ │ │ ├── rewritestyle2-expected.html │ │ │ │ │ ├── rewritebasic-expected.css │ │ │ │ │ ├── rewritestylebasic.html │ │ │ │ │ ├── rewritestylemedia-expected.html │ │ │ │ │ └── OSML_test.xml │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── shindig │ │ │ │ └── gadgets │ │ │ │ └── rewrite │ │ │ │ ├── ProxyingContentRewriterTest.java │ │ │ │ ├── ScriptConcatContentRewriterTest.java │ │ │ │ ├── StyleConcatContentRewriterTest.java │ │ │ │ ├── StyleAdjacencyContentRewriterTest.java │ │ │ │ └── StyleTagExtractorContentRewriterTest.java │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── shindig │ │ │ └── gadgets │ │ │ ├── uri │ │ │ ├── UriStatus.java │ │ │ └── OAuthUriManager.java │ │ │ ├── preload │ │ │ ├── PreloadModule.java │ │ │ └── PreloadException.java │ │ │ ├── rewrite │ │ │ └── StyleAdjacencyContentRewriter.java │ │ │ ├── parse │ │ │ └── HtmlSerializer.java │ │ │ ├── render │ │ │ └── ServiceFetcher.java │ │ │ ├── UnsupportedFeatureException.java │ │ │ ├── oauth2 │ │ │ └── persistence │ │ │ │ ├── OAuth2PersistenceException.java │ │ │ │ └── OAuth2CacheException.java │ │ │ ├── features │ │ │ └── FeatureRegistryProvider.java │ │ │ └── js │ │ │ └── JsException.java │ └── README ├── social-api │ └── src │ │ ├── test │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── shindig │ │ │ │ └── social │ │ │ │ └── dataservice │ │ │ │ └── integration │ │ │ │ └── fixtures │ │ │ │ ├── ActivityEntryJsonUpdated.json │ │ │ │ ├── ActivityEntryJsonCreated.json │ │ │ │ ├── ActivityStreamsSupportedFields.json │ │ │ │ └── ActivityEntryJsonExtension.json │ │ └── resources │ │ │ ├── org │ │ │ └── apache │ │ │ │ └── shindig │ │ │ │ └── social │ │ │ │ └── opensocial │ │ │ │ └── util │ │ │ │ └── testxml │ │ │ │ ├── group1.xml │ │ │ │ ├── person1.xml │ │ │ │ ├── appdata1.xml │ │ │ │ └── activity1.xml │ │ │ ├── log4j.properties │ │ │ ├── simplelog.properties │ │ │ └── logging.properties │ │ └── main │ │ └── java │ │ └── org │ │ └── apache │ │ └── shindig │ │ └── social │ │ ├── core │ │ ├── util │ │ │ ├── package-info.java │ │ │ └── xstream │ │ │ │ └── package-info.java │ │ ├── oauth │ │ │ └── package-info.java │ │ ├── oauth2 │ │ │ ├── package-info.java │ │ │ └── validators │ │ │ │ └── OAuth2GrantValidator.java │ │ └── config │ │ │ └── package-info.java │ │ ├── sample │ │ ├── service │ │ │ └── package-info.java │ │ ├── oauth │ │ │ └── package-info.java │ │ └── spi │ │ │ └── package-info.java │ │ └── opensocial │ │ ├── oauth │ │ └── package-info.java │ │ ├── model │ │ └── package-info.java │ │ └── service │ │ └── package-info.java ├── uber │ └── src │ │ └── main │ │ └── appended-resources │ │ └── META-INF │ │ └── NOTICE ├── NOTICE ├── common │ └── src │ │ ├── test │ │ ├── resources │ │ │ └── classpath-accessible-test-file.txt │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── shindig │ │ │ └── common │ │ │ └── PairTest.java │ │ └── main │ │ └── java │ │ └── org │ │ └── apache │ │ └── shindig │ │ ├── protocol │ │ └── model │ │ │ ├── SortOrder.java │ │ │ ├── FilterOperation.java │ │ │ ├── ExtendableBeanImpl.java │ │ │ └── ExtendableBean.java │ │ └── common │ │ ├── util │ │ └── TimeSource.java │ │ ├── uri │ │ └── UriParser.java │ │ ├── Pair.java │ │ └── xml │ │ └── XmlException.java ├── sample-maven-archetype │ └── src │ │ └── main │ │ └── resources │ │ └── archetype-resources │ │ └── src │ │ └── main │ │ └── webapp │ │ └── myFirstGadget.xml └── sample-container │ └── src │ └── main │ └── java │ └── org │ └── apache │ └── shindig │ └── sample │ └── shiro │ └── ShiroGuiceModule.java ├── content ├── xpc.swf ├── images │ ├── icon.png │ ├── new.gif │ ├── bubble.gif │ └── nophoto.gif ├── gadgets │ ├── rewriter │ │ ├── feather.png │ │ ├── rewriter1.js │ │ ├── rewriter2.js │ │ ├── rewriter1.css │ │ └── rewriter2.css │ ├── url-gadget-with-features │ │ └── url.xml │ └── templates │ │ └── TestTemplateLibrary.xml └── containers │ ├── deprecated │ └── container │ │ ├── Bridge.fla │ │ ├── Bridge.swf │ │ ├── rpc_relay.html │ │ └── rpc_relay.uncompressed.html │ └── commoncontainer │ ├── viewsMenu.json │ ├── pubsub2.json │ └── sample-views.xml ├── etc ├── checkstyle │ ├── README │ └── java.header ├── eclipse │ ├── README │ ├── shindig.importorder │ └── shindig-eclipse-javascript-codetemplate.xml ├── svn-ignores ├── run-gjslint └── cruisecontrol │ └── README ├── extras └── src │ └── main │ ├── appended-resources │ └── META-INF │ │ └── NOTICE │ └── javascript │ └── features-extras │ ├── firebug-lite │ └── feature.xml │ ├── wave │ └── externs.js │ ├── analytics │ └── feature.xml │ ├── org.jquery.core-1.4.2 │ └── feature.xml │ ├── pubsub-2 │ ├── feature.xml │ └── taming.js │ ├── com.google.gadgets.analytics │ └── taming.js │ └── features.txt ├── features ├── src │ ├── main │ │ ├── appended-resources │ │ │ └── META-INF │ │ │ │ └── NOTICE │ │ └── javascript │ │ │ └── features │ │ │ ├── locked-domain │ │ │ └── feature.xml │ │ │ ├── deferjs │ │ │ └── feature.xml │ │ │ ├── content-rewrite │ │ │ └── feature.xml │ │ │ ├── xhrwrapper │ │ │ └── feature.xml │ │ │ ├── opensocial-0.9 │ │ │ └── feature.xml │ │ │ ├── opensocial-1.0 │ │ │ └── feature.xml │ │ │ ├── opensocial-2.0 │ │ │ └── feature.xml │ │ │ ├── opensocial-2.5 │ │ │ └── feature.xml │ │ │ ├── shindig.auth │ │ │ └── auth-init.js │ │ │ ├── exportjs │ │ │ └── feature.xml │ │ │ ├── shindig.container-1.0 │ │ │ └── feature.xml │ │ │ ├── taming │ │ │ └── feature.xml │ │ │ ├── open-views │ │ │ └── feature.xml │ │ │ ├── opensocial-templates │ │ │ └── README │ │ │ ├── flash │ │ │ └── taming.js │ │ │ ├── caja │ │ │ ├── es53-guest-frame.xml │ │ │ ├── es53-taming-frame.xml │ │ │ ├── caja-debug.xml │ │ │ ├── es53-guest-frame.opt.xml │ │ │ └── es53-taming-frame.opt.xml │ │ │ ├── skins │ │ │ └── taming.js │ │ │ ├── settitle │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── core.util.urlparams │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── defer.test │ │ │ ├── defertest.js │ │ │ └── feature.xml │ │ │ ├── dynamic-height │ │ │ └── taming.js │ │ │ ├── dynamic-width.width │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── dynamic-width │ │ │ └── taming.js │ │ │ ├── dynamic-height.height │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── proxied-form-post │ │ │ └── taming.js │ │ │ ├── shared-script-frame │ │ │ └── taming.js │ │ │ ├── core.util.onload │ │ │ └── taming.js │ │ │ ├── dynamic-size.util │ │ │ └── taming.js │ │ │ ├── opensocial-data-context │ │ │ ├── feature.xml │ │ │ └── taming.js │ │ │ ├── core.none │ │ │ └── feature.xml │ │ │ ├── core.util │ │ │ └── taming.js │ │ │ ├── auth-refresh │ │ │ ├── feature.xml │ │ │ └── auth-refresh.js │ │ │ ├── cloo │ │ │ └── feature.xml │ │ │ ├── gadgets.json.ext │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── globals │ │ │ ├── feature.xml │ │ │ └── globals.js │ │ │ ├── core.json │ │ │ └── taming.js │ │ │ ├── shindig.uri.ext │ │ │ └── feature.xml │ │ │ ├── core.io │ │ │ └── taming.js │ │ │ ├── core.util.string │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── i18n │ │ │ └── feature.xml │ │ │ ├── pubsub │ │ │ └── taming.js │ │ │ ├── selection │ │ │ └── taming.js │ │ │ ├── core.util.base │ │ │ ├── taming.js │ │ │ └── feature.xml │ │ │ ├── shindig.random │ │ │ └── feature.xml │ │ │ ├── core.util.event │ │ │ └── feature.xml │ │ │ ├── shindig.container │ │ │ └── util.js │ │ │ ├── osml │ │ │ └── feature.xml │ │ │ ├── core.util.dom │ │ │ └── feature.xml │ │ │ ├── oauthpopup │ │ │ └── feature.xml │ │ │ ├── opensocial-data │ │ │ └── feature.xml │ │ │ ├── actions │ │ │ └── constants.js │ │ │ └── shindig.sha1 │ │ │ └── feature.xml │ └── test │ │ └── javascript │ │ └── features │ │ └── mocks │ │ └── env.js └── bin │ ├── README │ └── runner.sh ├── assembly └── src │ └── main │ └── assembly │ └── binary-src │ └── README └── NOTICE /.reviewboardrc: -------------------------------------------------------------------------------- 1 | REVIEWBOARD_URL = "https://reviews.apache.org" 2 | -------------------------------------------------------------------------------- /java/server/src/test/resources/endtoend/test.json: -------------------------------------------------------------------------------- 1 | {"key": "value"} -------------------------------------------------------------------------------- /content/xpc.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/xpc.swf -------------------------------------------------------------------------------- /java/server/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /etc/checkstyle/README: -------------------------------------------------------------------------------- 1 | This directory contains code style configuration files for Checkstyle. -------------------------------------------------------------------------------- /content/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/images/icon.png -------------------------------------------------------------------------------- /content/images/new.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/images/new.gif -------------------------------------------------------------------------------- /content/images/bubble.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/images/bubble.gif -------------------------------------------------------------------------------- /content/images/nophoto.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/images/nophoto.gif -------------------------------------------------------------------------------- /content/gadgets/rewriter/feather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/gadgets/rewriter/feather.png -------------------------------------------------------------------------------- /extras/src/main/appended-resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | This product includes software (wave) developed by Google, Inc 2 | Copyright 2010 Google Inc. 3 | -------------------------------------------------------------------------------- /content/containers/deprecated/container/Bridge.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/containers/deprecated/container/Bridge.fla -------------------------------------------------------------------------------- /content/containers/deprecated/container/Bridge.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/content/containers/deprecated/container/Bridge.swf -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-text-before-script.html: -------------------------------------------------------------------------------- 1 | This is text. 2 | 3 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-fragment2.html: -------------------------------------------------------------------------------- 1 | 2 |
A div
-------------------------------------------------------------------------------- /etc/eclipse/README: -------------------------------------------------------------------------------- 1 | This directory contains code style configuration files for Eclipse. 2 | For more detail on these files see https://issues.apache.org/jira/browse/SHINDIG-76 3 | 4 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-fragment.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-fragment.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/bad.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/bad.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/dog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/dog.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/evil.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/evil.bmp -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/evil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/evil.png -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/huge.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/huge.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-fulldocnodoctype.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc2.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc3.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/badicc4.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/evil2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/evil2.bmp -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/expand.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/expand.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/large.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/large.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/large.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/ratio.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/ratio.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/simple.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/simple.bmp -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/small.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-fragment2-expected.html: -------------------------------------------------------------------------------- 1 | 2 |
A div
-------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/2ndjpgbad.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/2ndjpgbad.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/animated.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/animated.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/directcolor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/directcolor.gif -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/inefficient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/inefficient.png -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/testImage420.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/testImage420.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/testImage444.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/testImage444.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/unanimated.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/unanimated.gif -------------------------------------------------------------------------------- /etc/eclipse/shindig.importorder: -------------------------------------------------------------------------------- 1 | #Organize Import Order 2 | #Mon May 05 17:33:38 PDT 2008 3 | 8=javax 4 | 7=java 5 | 6=org 6 | 5=org.apache.abdera 7 | 4=org.apache.shindig 8 | 3=net 9 | 2=junit 10 | 1=com 11 | 0=com.google 12 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/rgbawithnoalpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/rgbawithnoalpha.png -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-text-before-script-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is text. 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-fragment-expected.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-fragment-expected.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/testImageNotHuffmanOptimized.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/shindig/HEAD/java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/image/testImageNotHuffmanOptimized.jpg -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-startswithcomment-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
DIV
6 | 7 | 8 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-leadingscript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
mycontent
7 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-headnobody.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-headnobody.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-fulldocnodoctype.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
DIV
6 | 7 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-startswithcomment.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
DIV
7 | 8 | 9 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-fulldocnodoctype-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
DIV
6 | 7 | -------------------------------------------------------------------------------- /java/social-api/src/test/java/org/apache/shindig/social/dataservice/integration/fixtures/ActivityEntryJsonUpdated.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": { 3 | "id": "activity2", 4 | "title" : "Super Updated Activity", 5 | "actor": {"id": "john.doe"}, 6 | "object" : {"id": "object2"} 7 | } 8 | } -------------------------------------------------------------------------------- /java/social-api/src/test/resources/org/apache/shindig/social/opensocial/util/testxml/group1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | example.org:34KJDCSKJN2HHF0DW20394/friends 4 | Peeps 5 | 6 | 7 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-headnobody-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-fulldocnodoctype-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
DIV
7 | 8 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-headnobody-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /content/containers/commoncontainer/viewsMenu.json: -------------------------------------------------------------------------------- 1 | { "views": 2 | [ 3 | {"name": "home", "value": "home", "height": "400px", "width": "450px"}, 4 | {"name": "canvas", "value": "canvas", "height": "500px", "width": "800px"}, 5 | {"name": "profile", "value": "profile", "height": "500px", "width": "300px"} 6 | ] 7 | } -------------------------------------------------------------------------------- /features/src/main/appended-resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | This product includes software (Gadget Server, Gadget Container) 2 | originally developed by Google Inc. (http://code.google.com/) and licensed 3 | to the ASF as initial contribution for Shindig. 4 | 5 | This product contains software (sha1 JS impl) developed by Google Inc. 6 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritebasic.css: -------------------------------------------------------------------------------- 1 | @import url(http://www.example.org/other1.css); 2 | @import url("relative/other2.css"); 3 | @import url('/hostrelative/excluded/other1.css'); 4 | 5 | DiV { 6 | font: arial; 7 | background-image : url("http://www.some.site/image.gif"); 8 | } 9 | -------------------------------------------------------------------------------- /java/social-api/src/test/resources/org/apache/shindig/social/opensocial/util/testxml/person1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | female 5 | 6 | 7 | Jane Doe 8 | 9 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-leadingscript-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
mycontent
11 | 12 | -------------------------------------------------------------------------------- /java/social-api/src/test/java/org/apache/shindig/social/dataservice/integration/fixtures/ActivityEntryJsonCreated.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": { 3 | "id":"activityCreated", 4 | "title":"Super Created Activity", 5 | "actor":{ 6 | "id":"john.doe", 7 | }, 8 | "object":{ 9 | "id":"objectCreated", 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /etc/svn-ignores: -------------------------------------------------------------------------------- 1 | target 2 | work 3 | dojo 4 | *.iws 5 | *.ipr 6 | *.iml 7 | derby.log 8 | maven.log 9 | build.xml 10 | build-dependency.xml 11 | velocity.log* 12 | junit*.properties 13 | surefire*.properties 14 | .project 15 | .classpath 16 | .settings 17 | .deployables 18 | .wtpmodules 19 | .externalToolBuilders 20 | create.sql 21 | drop.sql 22 | derby.log 23 | -------------------------------------------------------------------------------- /java/server/README: -------------------------------------------------------------------------------- 1 | Installing and running both servers 2 | ============================================ 3 | 4 | This is an example server setup containing web.xml files to run 5 | the gadget rendering and social-api services together or separately. 6 | 7 | Please see BUILD-JAVA in the base project directory for information. 8 | 9 | 10 | For more information, see http://shindig.apache.org 11 | -------------------------------------------------------------------------------- /java/social-api/src/test/resources/org/apache/shindig/social/opensocial/util/testxml/appdata1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | pokes 5 | 3 6 | 7 | 8 | last_poke 9 | 2008-02-13T18:30:02Z 10 | 11 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritelinksbasic.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Content 9 | 10 | 11 | -------------------------------------------------------------------------------- /java/uber/src/main/appended-resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | This product includes software (Gadget Server, Gadget Container) 2 | originally developed by Google Inc. (http://code.google.com/) and licensed 3 | to the ASF as initial contribution for Shindig. 4 | 5 | This product contains software (sha1 JS impl) developed by Google Inc. 6 | 7 | This product includes software (wave) developed by Google, Inc 8 | Copyright 2010 Google Inc. 9 | -------------------------------------------------------------------------------- /content/containers/commoncontainer/pubsub2.json: -------------------------------------------------------------------------------- 1 | { "Events": 2 | [ 3 | {"topic": "org.opensocial.event.social.person.selected", "value": "12345"}, 4 | {"topic": "org.opensocial.event.social.person.updtaed", "value": "12345"}, 5 | {"topic": "org.opensocial.event.container.ee.render", "value": "someContext"}, 6 | {"topic": "org.opensocial.event.container.itemSelected", "value": "ItemSelected"} 7 | ] 8 | } -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-with-ampersands-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | An example 5 | 6 | 7 | content 8 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-with-ampersands.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | An example 6 | 7 | 8 | 9 | content 10 | 11 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritestyle2.html: -------------------------------------------------------------------------------- 1 | 6 |
Background image Style

7 |
Background image Inline 8 |

9 | -------------------------------------------------------------------------------- /java/social-api/src/test/java/org/apache/shindig/social/dataservice/integration/fixtures/ActivityStreamsSupportedFields.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry":[ 3 | "actor", 4 | "content", 5 | "generator", 6 | "icon", 7 | "id", 8 | "object", 9 | "published", 10 | "provider", 11 | "target", 12 | "title", 13 | "updated", 14 | "url", 15 | "verb", 16 | "openSocial", 17 | "extensions" 18 | ] 19 | } -------------------------------------------------------------------------------- /java/gadgets/README: -------------------------------------------------------------------------------- 1 | Installing and Running Shindig Gadget Server 2 | ============================================ 3 | 4 | Please see BUILD-JAVA in the base project directory for information. 5 | 6 | Once the server is running, you can hit the server at 7 | http://localhost:/gadgets/ifr?url= 8 | 9 | Example: http://localhost:/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml 10 | 11 | 12 | For more information, see http://shindig.apache.org/ 13 | -------------------------------------------------------------------------------- /java/social-api/src/test/java/org/apache/shindig/social/dataservice/integration/fixtures/ActivityEntryJsonExtension.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": { 3 | id: "activityCreated", 4 | title: "Super Created Activity", 5 | extension1: "extension1Value", 6 | object: { 7 | extension3: [ 8 | { 9 | ext1: "ext1Value" 10 | } 11 | ], 12 | id: "objectCreated" 13 | }, 14 | actor: { 15 | id: "john.doe", 16 | extension2: "extension2Value" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritestylemedia.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
somecontent
9 | 10 | 11 | -------------------------------------------------------------------------------- /assembly/src/main/assembly/binary-src/README: -------------------------------------------------------------------------------- 1 | Welcome to Apache Shindig ${project.version} ! 2 | 3 | Apache Shindig is a reference implementation of the OpenSocial specification. 4 | 5 | This is the binary distribution for Shindig, containing a configured war containing 6 | the sample server and the individual jar files for the features, common, gadgets and 7 | social-api projects. If you intend to work with the Shindig source, then please download a 8 | source distribution. 9 | 10 | For more information, see http://shindig.apache.org/ 11 | -------------------------------------------------------------------------------- /features/bin/README: -------------------------------------------------------------------------------- 1 | The runner.sh script will run the javascript unit tests configured in src/test/javascript/features/alltests.js. 2 | It requires a version of rhino in your local m2 repository. 3 | 4 | It should be launched from the feature root directory, 5 | 6 | bin/runner.sh 7 | 8 | You should modify this to add your tests to it. 9 | 10 | It should be cleaned up to run all tests, but works for the osapi tests at the moment. The problem is that the alltests.js, which is an example from the jsunit site, is not recognizing all the AllTests_Suite. 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritestyle2-expected.html: -------------------------------------------------------------------------------- 1 | 6 |
Background image Style

7 |
Background image Inline 8 |

9 | -------------------------------------------------------------------------------- /java/social-api/src/test/resources/org/apache/shindig/social/opensocial/util/testxml/activity1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Some details for some activity 4 | 383777272 5 | http://example.org/activities/example.org:87ead8dead6beef/self/af3778 6 | 12312312312312 7 | <a href=\"foo\">some activity</a> 8 | http://api.example.org/activity/feeds/.../af3778 9 | example.org:34KJDCSKJN2HHF0DW20394 10 | -------------------------------------------------------------------------------- /java/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Shindig 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | ----------------------------------------------------------- 8 | 9 | This product includes software (Gadget Server, Gadget Container) 10 | originally developed by Google Inc. (http://code.google.com/) and licensed 11 | to the ASF as initial contribution for Shindig. 12 | 13 | This product contains software (sha1 JS impl) developed by Google Inc. 14 | 15 | This product includes software (wave) developed by Google, Inc 16 | Copyright 2010 Google Inc. 17 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-socialmarkup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 12 | 13 | 16 | 17 | Some content 18 | 19 |
bar
20 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritebasic-expected.css: -------------------------------------------------------------------------------- 1 | @import url('//www.test.com/dir/proxy?container=default&gadget=http%3A%2F%2Fwww.example.org%2Fpath%2Frewritebasic.css&debug=0&nocache=0&url=http%3A%2F%2Fwww.example.org%2Fother1.css'); 2 | @import url('//www.test.com/dir/proxy?container=default&gadget=http%3A%2F%2Fwww.example.org%2Fpath%2Frewritebasic.css&debug=0&nocache=0&url=http%3A%2F%2Fwww.example.org%2Fpath%2Frelative%2Fother2.css'); 3 | @import url('http://www.example.org/hostrelative/excluded/other1.css'); 4 | 5 | DiV { 6 | font: arial; 7 | background-image : url('//www.test.com/dir/proxy?container=default&gadget=http%3A%2F%2Fwww.example.org%2Fpath%2Frewritebasic.css&debug=0&nocache=0&url=http%3A%2F%2Fwww.some.site%2Fimage.gif'); 8 | } 9 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritestylebasic.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 |
somecontent
14 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Shindig 2 | Copyright 2015 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | ----------------------------------------------------------- 8 | 9 | This product includes software (Gadget Server, Gadget Container) 10 | originally developed by Google Inc. (http://code.google.com/) and licensed 11 | to the ASF as initial contribution for Shindig. 12 | 13 | This product includes software (JSUnit) developed by 14 | Joerg Schaible (http://jsunit.berlios.de/). 15 | 16 | This product contains software (sha1 JS impl) developed by Google Inc. 17 | 18 | This product includes software (wave) developed by Google, Inc 19 | Copyright 2010 Google Inc. 20 | 21 | This product includes software (OAuth2 Support) developed by IBM Corporation 22 | Copyright 2011 IBM Corp. 23 | -------------------------------------------------------------------------------- /etc/checkstyle/java.header: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /java/common/src/test/resources/classpath-accessible-test-file.txt: -------------------------------------------------------------------------------- 1 | Licensed to the Apache Software Foundation (ASF) under one 2 | or more contributor license agreements. See the NOTICE file 3 | distributed with this work for additional information 4 | regarding copyright ownership. The ASF licenses this file 5 | to you under the Apache License, Version 2.0 (the 6 | "License"); you may not use this file except in compliance 7 | with the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, 12 | software distributed under the License is distributed on an 13 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | KIND, either express or implied. See the License for the 15 | specific language governing permissions and limitations 16 | under the License. 17 | 18 | classpath-accessible-test-file.txt -------------------------------------------------------------------------------- /features/src/main/javascript/features/locked-domain/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | locked-domain 21 | 22 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/rewrite/rewritestylemedia-expected.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
somecontent
9 | 10 | 11 | -------------------------------------------------------------------------------- /content/gadgets/rewriter/rewriter1.js: -------------------------------------------------------------------------------- 1 | 19 | document.getElementById('jstarget1').innerHTML = 'This content was loaded from rewriter1.js'; 20 | -------------------------------------------------------------------------------- /content/gadgets/rewriter/rewriter2.js: -------------------------------------------------------------------------------- 1 | 19 | document.getElementById('jstarget2').innerHTML = 'This content was loaded from rewriter2.js'; 20 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | An example 6 | 7 | 8 | 9 | 10 | 11 |
12 |
a cell
13 |
14 |

Lorem ipsum

15 | link 16 |
17 |
18 | 19 | 20 |
21 |
<-- An unbalanced tag we dont care about --> 22 |

Some entities &#x27;"

23 |

Not a real entity &fake;

24 | 25 | 26 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/deferjs/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | deferjs 21 | 22 | 8 | 9 |
10 |
a cell
11 |
12 |

Lorem ipsum

13 | link 14 |
15 |
16 | 17 | 18 |
19 |
<-- An unbalanced tag we dont care about --> 20 |

Some entities &#x27;"

21 |

Not a real entity &fake;

22 |
23 | -------------------------------------------------------------------------------- /java/server/src/test/resources/endtoend/messages.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | test FTW 22 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/content-rewrite/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | content-rewrite 22 | 23 | -------------------------------------------------------------------------------- /java/server/src/test/resources/endtoend/viewMessages.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | test view FTW 22 | 23 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/xhrwrapper/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | xhrwrapper 21 | 22 | shindig.xhrwrapper 23 | 24 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/opensocial-0.9/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | opensocial-0.9 22 | opensocial 23 | 24 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/opensocial-1.0/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | opensocial-1.0 22 | opensocial 23 | 24 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/opensocial-2.0/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | opensocial-2.0 22 | opensocial 23 | 24 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/opensocial-2.5/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | opensocial-2.5 22 | opensocial 23 | 24 | -------------------------------------------------------------------------------- /extras/src/main/javascript/features-extras/firebug-lite/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | firebug-lite 21 | 22 | 28 | -------------------------------------------------------------------------------- /extras/src/main/javascript/features-extras/wave/externs.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * 'License'); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations under the License. 17 | */ 18 | 19 | /** 20 | * @fileoverview Contains variable declarations so that the jscompiler 21 | * will not report errors on these objects. 22 | */ 23 | 24 | var gadgets; 25 | gadgets.rpc; 26 | gadgets.rpc.call = function(parent, serviceName, opt_callback, opt_params) {}; 27 | -------------------------------------------------------------------------------- /java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/test-with-iecond-comments-expected.html: -------------------------------------------------------------------------------- 1 | 2 | An example -------------------------------------------------------------------------------- /java/social-api/src/main/java/org/apache/shindig/social/opensocial/oauth/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | /** 20 |

The Social Authentication package

21 |

OAuth interfaces that are used throughout the Social Component to 22 | manage OAuth assertions.

23 | */ 24 | 25 | package org.apache.shindig.social.opensocial.oauth; 26 | -------------------------------------------------------------------------------- /java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/UriStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.gadgets.uri; 20 | 21 | /** 22 | * Contains all states of a Uri - versioned/unversioned, etc. 23 | */ 24 | public enum UriStatus { 25 | VALID_VERSIONED, 26 | VALID_UNVERSIONED, 27 | INVALID_VERSION, 28 | BAD_URI 29 | } 30 | -------------------------------------------------------------------------------- /extras/src/main/javascript/features-extras/analytics/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | analytics 21 | core.legacy 22 | 23 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | /** 20 | * Implementation of OAuth 2.0. 21 | * 22 | * This implementation currently complies to 23 | * OAuth 2.0 DRAFT 21 24 | */ 25 | package org.apache.shindig.social.core.oauth2; -------------------------------------------------------------------------------- /features/bin/runner.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | 20 | # This script is designed to be run from the features module root directory. 21 | # It's very simple; feel free to make it more robust. 22 | 23 | java -cp ~/.m2/repository//rhino/js/1.7R1/js-1.7R1.jar org.mozilla.javascript.tools.shell.Main src/test/javascript/features/alltests.js BatchTest OsapiTest JsonRpcTransportTest 24 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/core.none/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 25 | core.none 26 | 27 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/core.util/taming.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * @class 22 | * Tame and expose core gadgets.* API to cajoled gadgets 23 | */ 24 | tamings___.push(function(imports) { 25 | caja___.whitelistFuncs([ 26 | [gadgets.util, 'getFeatureParameters'], 27 | [gadgets.util, 'hasFeature'] 28 | ]); 29 | }); 30 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/auth-refresh/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | auth-refresh 21 | shindig.auth 22 | rpc 23 | 24 | 30 | ]]> 31 | 32 | 33 | -------------------------------------------------------------------------------- /java/common/src/main/java/org/apache/shindig/protocol/model/ExtendableBeanImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.protocol.model; 20 | 21 | import java.util.HashMap; 22 | 23 | 24 | /** 25 | * A generic bucket to store arbitrary extensions. 26 | */ 27 | public class ExtendableBeanImpl extends HashMap implements ExtendableBean { 28 | private static final long serialVersionUID = 1L; 29 | } 30 | -------------------------------------------------------------------------------- /java/social-api/src/test/resources/logging.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | handlers=java.util.logging.ConsoleHandler 19 | java.util.logging.ConsoleHandler.level=ALL 20 | java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter 21 | .level=INFO 22 | 23 | # Shindig commons 24 | org.apache.shindig.common.JsonContainerConfig.level=${java.util.logging.test.level} 25 | org.apache.shindig.common.xml.XmlUtil.level=${java.util.logging.test.level} -------------------------------------------------------------------------------- /java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/StyleAdjacencyContentRewriter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.gadgets.rewrite; 20 | 21 | /** 22 | * Merges adjacent style tags. 23 | * 24 | * @since 2.0.0 25 | */ 26 | public class StyleAdjacencyContentRewriter extends DomWalker.Rewriter { 27 | public StyleAdjacencyContentRewriter() { 28 | super(new StyleAdjacencyVisitor()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /java/sample-maven-archetype/src/main/resources/archetype-resources/src/main/webapp/myFirstGadget.xml: -------------------------------------------------------------------------------- 1 | #set( $symbol_pound = '#' ) 2 | #set( $symbol_dollar = '$' ) 3 | #set( $symbol_escape = '\' ) 4 | 5 | 23 | 24 | 25 | 26 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | /** 20 |

The Social Service API package

21 |

Service classes and interfaces that bind to the HTTP transport 22 | and provide routing and handling of the REST requests. Containers may 23 | extend the DataServiceServlet and other classes.

24 | */ 25 | 26 | package org.apache.shindig.social.opensocial.service; 27 | -------------------------------------------------------------------------------- /extras/src/main/javascript/features-extras/pubsub-2/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | pubsub-2 21 | globals 22 | taming 23 | org.openajax.hub-2.0.7 24 | 25 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /java/common/src/main/java/org/apache/shindig/common/Pair.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.common; 20 | 21 | /** 22 | * A pair of any two objects. 23 | */ 24 | public class Pair { 25 | public final T1 one; 26 | public final T2 two; 27 | 28 | public Pair(T1 one, T2 two) { 29 | this.one = one; 30 | this.two = two; 31 | } 32 | 33 | public static Pair of(T1 one, T2 two) { 34 | return new Pair(one, two); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/OAuthUriManager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.gadgets.uri; 20 | 21 | import org.apache.shindig.common.uri.Uri; 22 | 23 | /** 24 | * Methods used by the oauth proxy, currently only used for an OAuth callback. 25 | */ 26 | public interface OAuthUriManager { 27 | /** 28 | * @return the OAuth Callback Uri on the provided host. 29 | */ 30 | Uri makeOAuthCallbackUri(String container, String host); 31 | } 32 | -------------------------------------------------------------------------------- /java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/OAuth2GrantValidator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.social.core.oauth2.validators; 20 | 21 | /** 22 | * Handles the validation of a grant requests for access tokens. 23 | */ 24 | public interface OAuth2GrantValidator extends OAuth2RequestValidator{ 25 | 26 | /** 27 | * Indicates the grant type this handler is registered to handle. 28 | */ 29 | public String getGrantType(); 30 | } 31 | -------------------------------------------------------------------------------- /extras/src/main/javascript/features-extras/features.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | 19 | features-extras/analytics/feature.xml 20 | features-extras/com.google.gadgets.analytics/feature.xml 21 | features-extras/firebug-lite/feature.xml 22 | features-extras/org.jquery.core-1.4.2/feature.xml 23 | features-extras/wave/feature.xml 24 | features-extras/opensocial-payment/feature.xml 25 | features-extras/pubsub-2/feature.xml 26 | features-extras/org.openajax.hub-2.0.7/feature.xml 27 | features-extras/swfobject/feature.xml 28 | -------------------------------------------------------------------------------- /java/gadgets/src/main/java/org/apache/shindig/gadgets/render/ServiceFetcher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.shindig.gadgets.render; 20 | 21 | import com.google.common.collect.Multimap; 22 | import com.google.inject.ImplementedBy; 23 | 24 | /** 25 | * Retrieves the rpc services for a container. 26 | */ 27 | @ImplementedBy(DefaultServiceFetcher.class) 28 | public interface ServiceFetcher { 29 | Multimap getServicesForContainer(String container, String host); 30 | } 31 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/core.util.string/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | core.util.string 21 | globals 22 | 23 | 33 | -------------------------------------------------------------------------------- /features/src/main/javascript/features/core.util.base/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | core.util.base 21 | globals 22 | 23 |