Fixes and updates
- Add CSP policy to fix youtube embeds
- Remove twitter timeline
- Add nightly build link to download page
Change-Id:If17ec8dbd1de435c9a0caedf4daa7ae6ebe3c5b2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/incubator-asterixdb-site/+/19070
Reviewed-by: Ian Maxon <imaxon@apache.org>
diff --git a/_layouts/default.html b/_layouts/default.html
index cc5b498..5140a25 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="{{ site.url }}favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>{{ page.title }}</title>
diff --git a/content/about.html b/content/about.html
index 51fb905..f3bacc2 100644
--- a/content/about.html
+++ b/content/about.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>About Apache AsterixDB</title>
diff --git a/content/community.html b/content/community.html
index 2f676e6..96b1175 100644
--- a/content/community.html
+++ b/content/community.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Community</title>
diff --git a/content/dev-setup.html b/content/dev-setup.html
index c18f0a6..ce63bea 100644
--- a/content/dev-setup.html
+++ b/content/dev-setup.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Contributing to AsterixDB</title>
diff --git a/content/download.html b/content/download.html
index 1b8233a..d66ee01 100644
--- a/content/download.html
+++ b/content/download.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Download</title>
@@ -172,6 +173,29 @@
<p><a class="btn btn-md btn-success" href="http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-jdbc-0.9.8.3/asterixdb_jdbc.taco" role="button">Download AsterixDB Tableau Connector 0.9.9 <i class="fa fa-download fa-lg"></i> </a></p>
</div>
+
+</div>
+
+<div class="row">
+
+<div class="col-md-6">
+ <h3 id="nightly-build">Nightly Build</h3>
+
+ </div>
+</div>
+
+<div class="row">
+
+<div class="col-md-6">
+ <p>This is a nightly build of the latest work in AsterixDB. This is intended for developers looking to work with the bleeding edge. Don’t use this in production! Expect things to break. It is not vetted through the Apache release process, and is not an official release.</p>
+ </div>
+
+<div class="col-md-6">
+
+ <p><a class="btn btn-md btn-warning" href="https://ci-builds.apache.org/job/AsterixDB/job/asterixdb-snapshot-integration/lastSuccessfulBuild/artifact/asterixdb/asterix-server/target/asterix-server-0.9.10-SNAPSHOT-binary-assembly.zip" role="button">Download AsterixDB Dev Build <i class="fa fa-download fa-lg"></i> </a></p>
+
+ </div>
+
</div>
</div>
diff --git a/content/extension.html b/content/extension.html
index 5ac1cb7..5b1451e 100644
--- a/content/extension.html
+++ b/content/extension.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>AsterixDB Extensions</title>
diff --git a/content/index.html b/content/index.html
index ae72e75..73775a2 100644
--- a/content/index.html
+++ b/content/index.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Apache AsterixDB</title>
@@ -179,17 +180,13 @@
</div>
<div class="row">
- <div class="col-md-4">
- <a class="twitter-timeline" width="100%" href="https://twitter.com/ASTERIXUCI" data-widget-id="733118248380571648">Tweets by @ASTERIXUCI</a>
-<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div>
- <div class="col-md-4">
+ <div class="col-md-6">
<h3 id="community-and-support">Community and Support</h3>
<p>If you have any questions, please feel free to ask on our <a href="mailto:users@asterixdb.apache.org">users</a> mailing list, which you can subscribe to by sending an empty email to <a href="users-subscribe@asterixdb.apache.org">users-subscribe</a>. Check out the <a href="community.html">Community</a> page for more details.</p>
<p>If you would like to know more about how to contribute to AsterixDB or any of its related components, head on over to the <a href="dev-setup.html">Contributing</a> page to learn more.</p>
</div>
- <div class="col-md-4">
+ <div class="col-md-6">
<h3 id="download">Download</h3>
<p><a class="btn btn-md btn-success" href="http://www.apache.org/dyn/closer.lua/asterixdb/asterixdb-0.9.9/asterix-server-0.9.9-binary-assembly.zip" role="button">Download AsterixDB 0.9.9 <i class="fa fa-download fa-lg"></i></a>
<a class="btn btn-md btn-info" href="https://github.com/apache/asterixdb/" role="button">GitHub <i class="fa fa-github fa-lg"></i></a></p>
diff --git a/content/pushing.html b/content/pushing.html
index 0606f96..3813d55 100644
--- a/content/pushing.html
+++ b/content/pushing.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Submitting Changes</title>
diff --git a/content/site.html b/content/site.html
index d30b698..7aabd4d 100644
--- a/content/site.html
+++ b/content/site.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Editing this website</title>
diff --git a/content/tools.html b/content/tools.html
index 1810b07..c12be52 100644
--- a/content/tools.html
+++ b/content/tools.html
@@ -8,6 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
+ <meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Tools</title>
diff --git a/download.md b/download.md
index 530c7a3..ac5f341 100644
--- a/download.md
+++ b/download.md
@@ -67,4 +67,28 @@
<p><a class="btn btn-md btn-success" href="{{ site.STABLE_TACO_URL}}" role="button">Download AsterixDB Tableau Connector {{ site.STABLE_VERSION }} <i class="fa fa-download fa-lg"></i> </a></p>
</div>
+
+</div>
+
+<div class="row">
+
+<div class="col-md-6" markdown="1">
+### Nightly Build
+
+
+</div>
+</div>
+
+<div class="row">
+
+<div class="col-md-6" markdown="1">
+This is a nightly build of the latest work in AsterixDB. This is intended for developers looking to work with the bleeding edge. Don't use this in production! Expect things to break. It is not vetted through the Apache release process, and is not an official release.
+</div>
+
+<div class="col-md-6" markdown="1">
+
+<p><a class="btn btn-md btn-warning" href="{{ site.UNSTABLE_NCSERVICE_URL }}" role="button">Download AsterixDB Dev Build <i class="fa fa-download fa-lg"></i> </a></p>
+
+</div>
+
</div>
diff --git a/index.md b/index.md
index d404841..dcb11a6 100644
--- a/index.md
+++ b/index.md
@@ -74,17 +74,13 @@
</div>
<div class="row">
- <div class="col-md-4">
- <a class="twitter-timeline" width="100%" href="https://twitter.com/ASTERIXUCI" data-widget-id="733118248380571648">Tweets by @ASTERIXUCI</a>
-<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div>
- <div class="col-md-4" markdown="1">
+ <div class="col-md-6" markdown="1">
### Community and Support
If you have any questions, please feel free to ask on our [users](mailto:users@asterixdb.apache.org) mailing list, which you can subscribe to by sending an empty email to [users-subscribe](users-subscribe@asterixdb.apache.org). Check out the [Community]({{ site.url }}community.html) page for more details.
If you would like to know more about how to contribute to AsterixDB or any of its related components, head on over to the [Contributing]({{ site.url }}dev-setup.html) page to learn more.
</div>
- <div class="col-md-4" markdown="1">
+ <div class="col-md-6" markdown="1">
### Download
<p><a class="btn btn-md btn-success" href="{{ site.STABLE_NCSERVICE_URL }}" role="button">Download AsterixDB {{ site.STABLE_VERSION }} <i class="fa fa-download fa-lg"></i></a>
<a class="btn btn-md btn-info" href="https://github.com/apache/asterixdb/" role="button">GitHub <i class="fa fa-github fa-lg"></i></a></p>