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>
Basic Fling backend with admin interface.
Features:
- Basic admin site structure
- Token authorization
- Upload artifacts
- Change basic fling settings
Many things missing still or not fully functional.
Signed-off-by: Armin Friedl <dev@friedl.net>