owncloud/core — pull request #1266 by schiesbn (2013-01-22 13:30:46+00:00)
Title: Trash bin

This App implements a trash bin in the way most of us know it from common desktop systems. Deleted files get copied to a trash folder (including the versions), the user can browse the trash bin and restore the files/folders if he wish.

By default files older than 180 days gets deleted from the trash bin. The admin can adjust this value in config.php with the key 'trashbin_retention_obligation' if needed.

@jancborchardt It would be great to have some icons. Maybe you already have some nice icons or you can create them?

1. The undelete action shown by the mouse-over effect in the files list of the trash bin needs an icon similar to the share, download, etc icons.
2. If I select more than one file in the trash bin I get a option at the top of the files list to restore all selected files (similar to the download option for selected files). It would be nice to have an icon there too.
3. I added a "Trash" button at the top right corner of the files list to access the trash bin. Maybe it would be nice to add an icon there. Either as a replacement for the text "Trash" or beside the text. But I'm not sure, what do you think?