Internet Archive!

* Add public repository group.
* webapp: Can now set up Internet Archive repositories.

TODO: Enabling IA repositories.
This commit is contained in:
Joey Hess 2013-04-25 12:23:36 -04:00
parent 04d8a26afe
commit 2810807ca5
16 changed files with 248 additions and 27 deletions

View file

@ -0,0 +1,33 @@
<div .span9 .hero-unit>
<h2>
Adding an Internet Archive repository
<p>
<a href="http://archive.org/">The Internet Archive</a> allows anyone #
to publically archive their information, for free.
<p>
All you need to do is #
<a href="http://archive.org/account/login.createaccount.php">
Create an account
<p>
To protect your pirvacy, only files located in a public folder #
will be sent to the Internet Archive by default.
<p>
Note that you cannot remove information once it has been sent to the #
Internet Archive. So before you continue, please make sure you want #
to make your files public, and that your files conform to the #
<a href="http://archive.org/about/terms.php">Terms of Use</a>.
<p>
<form method="post" .form-horizontal enctype=#{enctype}>
<fieldset>
^{form}
^{webAppFormAuthToken}
<div .form-actions>
<button .btn .btn-primary type=submit onclick="$('#workingmodal').modal('show');">
Add Internet Archive repository
<div .modal .fade #workingmodal>
<div .modal-header>
<h3>
Making repository ...
<div .modal-body>
<p>
Setting up your Internet Archive repository. This could take a minute.

View file

@ -11,4 +11,9 @@
<h2>
Store your data in the cloud
^{makeCloudRepositories False}
^{makeCloudRepositories}
<h2>
Archive your data
^{makeArchiveRepositories}

View file

@ -0,0 +1,11 @@
<h3>
<a href="@{AddGlacierR}">
<i .icon-plus-sign></i> Amazon Glacier
<p>
Low cost offline data archival.
<h3>
<a href="@{AddIAR}">
<i .icon-plus-sign></i> Internet Archive
<p>
Free archival of public data.

View file

@ -16,13 +16,6 @@
<p>
Good choice for professional quality storage.
$if not onlyTransfer
<h3>
<a href="@{AddGlacierR}">
<i .icon-plus-sign></i> Amazon Glacier
<p>
Low cost offline data archival.
<h3>
<a href="@{AddSshR}">
<i .icon-plus-sign></i> Remote server

View file

@ -29,4 +29,4 @@
^{cloudRepoList}
<h2>
Add a cloud repository
^{makeCloudRepositories True}
^{makeCloudRepositories}

View file

@ -14,4 +14,4 @@
^{cloudRepoList}
<h2>
Add a cloud repository
^{makeCloudRepositories True}
^{makeCloudRepositories}

View file

@ -46,6 +46,11 @@
<b>source repositories</b>. Repositories in this group only retain #
files until they can be moved to some other repository, like a client #
or transfer repository.
<p>
If you configure a repository that can be viwed by the public, #
but you don't want all your files to show up there, you can #
configure it to be a <b>public repository</b>. Then only files #
located in a "public" directory will be sent to it.
<p>
Finally, repositories can be configured to be in <b>manual mode</b>. This #
prevents content being automatically synced to the repository, but #