server/apps/files_trashbin
Vincent Petry f86699cd48 Fix restoring files from trash with unique name
When restoring a file, a unique name needs to be generated if a file
with the same name already exists.

Also fixed the restore() method to return false if the file to restore
does not exist.

Added unit tests to cover restore cases.
2015-05-15 12:42:27 +02:00
..
ajax Update license headers 2015-03-26 11:44:36 +01:00
appinfo Fix usage of deprecated private constants 2015-04-18 10:30:02 +02:00
command Tear down FS after running trash expire 2015-04-24 12:09:09 +02:00
css Hide the size in the trashbin summary row 2014-07-03 17:16:50 +02:00
img introduce new app page layout 2014-10-15 15:21:40 +02:00
js l10n: delete permanently fix 2015-01-11 17:15:58 +01:00
l10n [tx-robot] updated from transifex 2015-05-07 01:56:44 -04:00
lib Fix restoring files from trash with unique name 2015-05-15 12:42:27 +02:00
templates use class for no results div instead of id. the elements are not unique. 2015-01-06 14:34:35 +01:00
tests Fix restoring files from trash with unique name 2015-05-15 12:42:27 +02:00
list.php Update license headers 2015-03-26 11:44:36 +01:00