support emptying trash

Ticket

+commit
 

some sites are getting bloated.  we need ways to create space.

 

must remove:

  1. the card record
  2. all revisions of the card
  3. references (references from trashed_cards should not exist, and references to trashed cards should not have card_ids in them (like any reference to missing cards), but we should confirm that this is correct and clean up any mistakes)
  4. user accounts where applicable

 

 

For a single card card, see ability to completely delete a card


currently at admin/empty_trash (must have admin priveleges).

--Ethan McCutchen.....2013-04-09 20:51:14 +0000

Nice. Does it ask for confirmation before doing it?

--John Abbe.....2013-04-20 20:30:37 +0000

(and does it actually delete old files/images?)

--John Abbe.....2013-04-20 20:35:32 +0000

no on both of those. so I wouldn't advise linking to it.

--Ethan McCutchen.....2013-04-20 20:56:40 +0000

basically anything that starts with "/admin/" is temporary and will have a new address once we can do it properly with card actions. The current implementation is bare bones, and I don't expect to build any pretty interface around it. Once we're doing it in a more permanent way, that will change.

 

The files issue is definitely worth ticketing, though. delete trashed files when emptying trash

--Ethan McCutchen.....2013-04-20 21:00:40 +0000