HomeSoftware Heritage

browse/vault: Handle dead link for cooked archive
005f1fa2be74Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

browse/vault: Handle dead link for cooked archive

A download link for an archive cooked through the vault (directory or
revision_gitfast) does not remain alive ad vitam aeternam.

As the history of previously cooked objects remains stored in the browser
local storage, we need to handle the case where one wants to download a
previously cooked archive from a dead link.

In that case, check the link availability first before proceeding to the
real download. If it is dead, display a modal asking the user if he wants
to recook the archive.

Closes T1082

Details

Provenance
anlambertAuthored on Jun 5 2018, 6:51 PM
ardumontPushed on Jun 21 2018, 1:29 PM
Parents
R65:5b1db1fae32f: templates: Use 'forloop.first' instead of 'forloop.counter == 1'
Branches
Unknown
Tags
Unknown