2764: Add wget-friendly Collections file page.
authorBrett Smith <brett@curoverse.com>
Thu, 15 May 2014 20:38:12 +0000 (16:38 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 21 May 2014 19:16:35 +0000 (15:16 -0400)
commitdffa580d39b977746f6950b835b78b949a862c9d
tree4906111b7a2dc4872ae6c652c8f1b621bebdfdd4
parent1924b28c8f715bc08752fb219d1fd8145ccfe84f
2764: Add wget-friendly Collections file page.

This new route will become the way you share authless Collection links
with others.  They can pass it to `wget -r` to download the whole
collection, nicely organized, with nothing extraneous.  Since it
doesn't try to load user information or look up related Arvados items,
it can be rendered using an API token with a very narrow scope.

Because wget respects robots.txt, this branch stops using that in
favor of the corresponding <meta> tag.  The new view only limits
indexing, so wget can follow the links on the page.

Refs #2764.
apps/workbench/app/controllers/collections_controller.rb
apps/workbench/app/views/collections/show_file_links.html.erb [new file with mode: 0644]
apps/workbench/app/views/layouts/application.html.erb
apps/workbench/public/robots.txt
apps/workbench/test/integration/collections_test.rb
services/api/test/fixtures/api_client_authorizations.yml