axeloz / filesharing

Self-hosted files sharing application, easy to setup, easy to use
https://filesharing.webinno.fr
GNU General Public License v3.0
220 stars 33 forks source link

[Improvement] Do not 404 the preview links for the creator #60

Open sanskar-mk2 opened 7 months ago

sanskar-mk2 commented 7 months ago

Unless bundle is deleted/purged. Do not 404 the preview link. It can be used for record-keeping. Only the creator should be able to see it.

What causes the 404 on the Bundle model?

Moreover I saw deletion_link being used in code. Why is it not used in the website?

axeloz commented 4 days ago

Hello @sanskar-mk2 Sorry for the delay of my answer. Can you explain what you mean? What should be displayed when bundle downloads are over the limit or when the bundles are expired according to you?

The deletion_link is used for creators to force the bundle's expiry and thus cancel the bundle.

Let me know.