Simple artifact sharing
Armin Friedl
4ab3bf705e
Download first gets an unprotected, temporary download URL. It then loads an iframe with the retrieved URL, which causes to browser to download the file. This is done to prevent a reload of the page while at the same time use the standard browser file download functionality. Other solutions found cause problems with bigger files since they download the file first and then generate a binary blob in the DOM. Delete just deletes an artifact and reloads the artifact list. A potential problem could occur if the removal in the archive fails while the file is already deleted from the database. Signed-off-by: Armin Friedl <dev@friedl.net> |
||
---|---|---|
service/fling | ||
web/fling | ||
.gitignore |