extensions-website/extensions/templates/extensions
Anna Sirota caae613747 Make it possible to fully delete unlisted/unrated extensions and versions (#81)
* removes all soft-deletion;
* shows a "Delete extension" button on the draft page in case it can be deleted;
* shows a "Delete version" button on the version page in case it can be deleted;
* a version can be deleted if
  * its file isn't approved, and it doesn't have any ratings;
* an extension can be deleted if
  * it's not listed, and doesn't have any ratings or abuse reports;
  * all it's versions can also be deleted;
* changes default `File.status` from `APPROVED` to `AWAITING_REVIEW`
  With version's file status being `APPROVED` by default, a version can never be deleted, even when the extension is still a draft.
  This change doesn't affect the approval process because
   * when an extension is approved its latest version becomes approved automatically (no change here);
   * when a new version is uploaded to an approved extension, it's approved automatically (this is new).

This allows authors to delete their drafts, freeing the extension slug and making it possible to re-upload the same file.
This also makes it possible to easily fix mistakes during the drafting of a new extension (e.g. delete a version and re-upload it without bumping a version for each typo/mistake in packaging and so on).
(see #78 and #63)

Reviewed-on: #81
2024-04-19 11:00:13 +02:00
..
components UI: Add 'ID' detail to info display on submission page (#48) 2024-03-11 12:46:03 +01:00
manage support deleting extensions (#69) 2024-04-05 19:11:03 +02:00
base.html UI: Add background overlay to hero 2024-03-05 14:37:14 +01:00
confirm_delete.html Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
detail.html Scan files with clamdscan (#77) 2024-04-12 19:11:28 +02:00
draft_finalise.html Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
home.html Home: Divide in sections for themes and add-ons 2024-02-27 19:37:24 +01:00
list.html Tags: Make tags dependent on type, and remove taggit 2024-02-29 15:52:47 +01:00
new_version_finalise.html Ext. Update: Use "Save Draft" for submit button 2024-02-23 18:27:07 +01:00
submit.html Navbar: Add Upload button to navbar 2024-03-05 19:26:42 +01:00
version_confirm_delete.html Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00
version_list.html Make it possible to fully delete unlisted/unrated extensions and versions (#81) 2024-04-19 11:00:13 +02:00