This repository has been archived by the owner on Dec 4, 2017. It is now read-only.
forked from mozilla/socialapi-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mozilla#51 from fqueze/work-offline
Improvements to make the demo usable without internet connection (eg. ad hoc wifi)
- Loading branch information
Showing
16 changed files
with
128 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
VERSION = 0.10 | ||
|
||
all: | ||
rm ../static/webrtc.xpi | ||
zip ../static/webrtc.xpi bootstrap.js chrome.manifest install.rdf \ | ||
sed "s/@VERSION@/$(VERSION)/" < install.rdf.in > install.rdf | ||
zip ../static/webrtc.xpi bootstrap.js options.xul chrome.manifest install.rdf \ | ||
styles/*.css | ||
@echo "Did you remember to update the version in install.rdf?" | ||
@echo "Don't forget to update ../static/update.rdf!" | ||
@echo "sha256 sum is:" | ||
shasum -a 256 ../static/webrtc.xpi | ||
sed "s/@VERSION@/$(VERSION)/; \ | ||
s/@SHA256@/"`shasum -a 256 ../static/webrtc.xpi |cut -f1 -d' '`"/" \ | ||
< update.rdf.in > ../static/update.rdf | ||
@echo | ||
@echo "Did you remember to update the version number in Makefile?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<Description about="urn:mozilla:install-manifest"> | ||
<em:id>[email protected]</em:id> | ||
<em:name>WebRTC Demo Improvements</em:name> | ||
<em:version>0.9</em:version> | ||
<em:version>0.10</em:version> | ||
<em:description>Adds default variables for webrtc and some extra features</em:description> | ||
<em:bootstrap>true</em:bootstrap> | ||
<em:updateURL>https://webrtc-demo.vcap.mozillalabs.com/update.rdf</em:updateURL> | ||
|
@@ -17,4 +17,3 @@ | |
</em:targetApplication> | ||
</Description> | ||
</RDF> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> | ||
<Description about="urn:mozilla:install-manifest"> | ||
<em:id>[email protected]</em:id> | ||
<em:name>WebRTC Demo Improvements</em:name> | ||
<em:version>@VERSION@</em:version> | ||
<em:description>Adds default variables for webrtc and some extra features</em:description> | ||
<em:bootstrap>true</em:bootstrap> | ||
<em:updateURL>https://webrtc-demo.vcap.mozillalabs.com/update.rdf</em:updateURL> | ||
<!-- Firefox --> | ||
<em:targetApplication> | ||
<Description> | ||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> | ||
<em:minVersion>20.0a1</em:minVersion> | ||
<em:maxVersion>21.0a1</em:maxVersion> | ||
</Description> | ||
</em:targetApplication> | ||
</Description> | ||
</RDF> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" ?> | ||
<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
<setting pref="addons.wrapps.siteURL" type="string" title="Demo site URL"/> | ||
</vbox> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:em="http://www.mozilla.org/2004/em-rdf#"> | ||
<RDF:Description about="urn:mozilla:extension:[email protected]"> | ||
<em:updates> | ||
<RDF:Seq> | ||
<RDF:li resource="urn:mozilla:extension:[email protected]:0.7"/> | ||
</RDF:Seq> | ||
</em:updates> | ||
</RDF:Description> | ||
<RDF:Description about="urn:mozilla:extension:[email protected]:0.7"> | ||
<em:version>@VERSION@</em:version> | ||
<em:targetApplication> | ||
<RDF:Description> | ||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> | ||
<em:minVersion>20.0a1</em:minVersion> | ||
<em:maxVersion>21.0a1</em:maxVersion> | ||
<em:updateLink>https://webrtc-demo.vcap.mozillalabs.com/webrtc.xpi</em:updateLink> | ||
<em:updateInfoURL>https://webrtc-demo.vcap.mozillalabs.com/update.txt</em:updateInfoURL> | ||
<em:updateHash>sha256:@SHA256@</em:updateHash> | ||
</RDF:Description> | ||
</em:targetApplication> | ||
</RDF:Description> | ||
</RDF:RDF> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,15 @@ | |
</em:updates> | ||
</RDF:Description> | ||
<RDF:Description about="urn:mozilla:extension:[email protected]:0.7"> | ||
<em:version>0.9</em:version> | ||
<em:version>0.10</em:version> | ||
<em:targetApplication> | ||
<RDF:Description> | ||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> | ||
<em:minVersion>20.0a1</em:minVersion> | ||
<em:maxVersion>21.0a1</em:maxVersion> | ||
<em:updateLink>https://webrtc-demo.vcap.mozillalabs.com/webrtc.xpi</em:updateLink> | ||
<em:updateInfoURL>https://webrtc-demo.vcap.mozillalabs.com/update.txt</em:updateInfoURL> | ||
<em:updateHash>sha256:97dabc30764643790b1c523f5a3cb0594433b1b5f4503d2e566ba20235f0ee02</em:updateHash> | ||
<em:updateHash>sha256:24f2459029905bfcdab14e6d3bc0562213281c0d7d5d8ce13b05f4dfe8a90168</em:updateHash> | ||
</RDF:Description> | ||
</em:targetApplication> | ||
</RDF:Description> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.