removed chmod for good, fixed footer (#452)

This commit is contained in:
Bastian Greshake Tzovaras
2017-12-11 08:14:31 -08:00
committed by GitHub
parent 3b361c63f2
commit 615b8a61ef
3 changed files with 6 additions and 6 deletions

View File

@@ -11,13 +11,17 @@
</ul>
</div>
<div class="col-md-4 col-md-offset-2 col-xs-6 col-xs-offset-3" style="margin-bottom: 10px;">
<p class="footer__texts">Our hosting is made possible thanks to the kind support of <b><a href="https://patreon.com/openSNP">our patrons on Patreon</a></b>. Please consider <b><a href="https://www.patreon.com/openSNP?ty=h">supporting us as well if our service is valuable to you!</a></b></p>
<p class="footer__texts">
Our hosting is made possible thanks to the kind support of <b><a href="https://patreon.com/openSNP">our patrons on Patreon</a></b>. Please consider <b><a href="https://www.patreon.com/openSNP?ty=h">supporting us as well if our service is valuable to you!</a></b>
You can also <a href="https://dnageeks.com/search?q=opensnp&aff=6">buy a shirt/mug</a> to support us with our hosting costs.
</p>
</div>
<script type="text/javascript">
(function (w,d) {var loader = function () {var s = d.createElement("script"), tag = d.getElementsByTagName("script")[0]; s.src = "https://cdn.iubenda.com/iubenda.js"; tag.parentNode.insertBefore(s,tag);}; w.addEventListener ? w.addEventListener("load", loader, false) : w.attachEvent("onload", loader);})(window, document);
</script>
<div class="col-md-4 col-xs-12">
<p class="footer__texts">The openSNP project is licensed under the <b><a href="https://github.com/openSNP/snpr/blob/master/LICENSE.md" target="_blank">MIT License</a></b>, the code is at <b><a href="https://github.com/openSNP/snpr">GitHub</a></b>. The data is donated into the public domain using <b><a href="http://creativecommons.org/publicdomain/zero/1.0/" target="_blank">CC0 1.0</a></b>. The hand drawn icons were created by <b><a href="http://oneseventyseven.com/" target="_blank">one seventy seven</a></b> and are licensed under <b><a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a></b>, the CSS of openSNP is provided by <b><a href="http://twitter.github.com/bootstrap/">Bootstrap, from Twitter</a></b> and is licensed under the <b><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2.0</a></b>, the search icon comes from <b><a href="http://glyphicons.com/">glyphicons</a></b>.</p>
<p class="footer__texts">The openSNP project is licensed under the <b><a href="https://github.com/openSNP/snpr/blob/master/LICENSE.md" target="_blank">MIT License</a></b>, the code is at <b><a href="https://github.com/openSNP/snpr">GitHub</a></b>. The data is donated into the public domain using <b><a href="http://creativecommons.org/publicdomain/zero/1.0/" target="_blank">CC0 1.0</a></b>.
The CSS of openSNP is provided by <b><a href="http://twitter.github.com/bootstrap/">Bootstrap, from Twitter</a></b> and is licensed under the <b><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2.0</a></b>, the search icon comes from <b><a href="http://glyphicons.com/">glyphicons</a></b>.</p>
</div>
</div>
<div class="row footer__links-bottom">

View File

@@ -53,10 +53,8 @@ class Zipfulldata
create_readme(zipfile)
zip_genotype_files(genotypes, zipfile)
end
FileUtils.chmod(0o644, @zip_fs_path)
# move from local storage to network storage
FileUtils.mv(@zip_fs_path, Rails.root.join("public/data/zip/#{dump_file_name}.zip"))
logger.info('created zip-file')
FileUtils.ln_sf(

View File

@@ -127,8 +127,6 @@ Thanks for using openSNP!
expect(job).to receive(:create_picture_zip).with([upp], zipfile)
expect(job).to receive(:create_readme).with(zipfile)
expect(job).to receive(:zip_genotype_files).with([genotype], zipfile)
expect(FileUtils).to receive(:chmod).
with(0o644, "/tmp/#{job.dump_file_name}.zip")
expect(FileUtils).to receive(:ln_sf).with(
Rails.root.join("public/data/zip/#{job.dump_file_name}.zip"),
Rails.root.join("public/data/zip/opensnp_datadump.current.zip"))