Commit Graph

40 Commits (411f6c7704dbf24c45dee9edde4c7ef4a8cd9464)

Author SHA1 Message Date
Bjoern Schiessle 40fe1275de throw exception if file is to large for trash bin 12 years ago
Bjoern Schiessle 05cd150fd2 add additional tests for the trash bin 12 years ago
Bjoern Schiessle e06fa200b3 make sure that we always use the right user 12 years ago
Bjoern Schiessle e20bb71a42 remove unused code 12 years ago
Bjoern Schiessle b486f48fbc fix trash bin expire operation and add unit tests 12 years ago
Thomas Müller 6fcd135d0e table files_trashsizes was still used in some locations -> removed 12 years ago
Thomas Müller 9f3fcf036c fixing typo 12 years ago
Bjoern Schiessle 05cf34ea1f get files in trash from file cache 12 years ago
Bjoern Schiessle a7f6a051ad return size '0' if the trashbin folder doesn't exists yet 12 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 12 years ago
Robin McCorkell c4f1de63a8 Fix PHPDoc in /apps 12 years ago
Thomas Müller e0dd69e4e6 remove legacy aka deprecated code: OC_FilesystemView 12 years ago
Sjors van der Pluijm 49822dfcdb refs #8376; spaces=>tabs 12 years ago
Sjors van der Pluijm 54f482ff9c refs #8376; added comment and applied patch on other files 12 years ago
Robin McCorkell 869e7a51f0 Prevent error in files_trashbin 13 years ago
Robin McCorkell fa8814902e Adjust logic for deciding if trashbin empty 13 years ago
Robin Appelman 6b66b42f6e catch the case where files_trashbin/files doesn't exist 13 years ago
Robin Appelman 38b1529c2a More robust way to check if the folder is empty 13 years ago
Robin Appelman 332c14a878 Use a more efficient way to determine that the trashbin is empty that doesn't rely on the cache 13 years ago
Georg Ehrke 0f864c38bb add preDelete hook for files_trashbin app 13 years ago
Bjoern Schiessle 4562909a20 get trash size from file cache 13 years ago
Bjoern Schiessle eab844e226 if file is not in db, fall back to restore file to the users root 13 years ago
Robin Appelman 181bbd4325 Remove usage of legacy OC_Appconfig 13 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 13 years ago
Vincent Petry d49c7ad4fb Fixed double file encoding for previews 13 years ago
Vincent Petry ca57a849ff When reading the size of "files" mountpoints need to be excluded 13 years ago
Bjoern Schiessle 592ae16603 remove old code 13 years ago
Bjoern Schiessle f11f65c6a5 copy files to owner trash recursively 13 years ago
Bjoern Schiessle 6b7fdda4f5 config switch to disable auto expire for the trash bin 13 years ago
Bjoern Schiessle 8ce3ea3e2c fix delete files from trash bin 13 years ago
Bjoern Schiessle 5d2299eab8 only create complete share key if we know the exact path 13 years ago
Bjoern Schiessle f8fcd567a7 move files to owners trash 13 years ago
Georg Ehrke 90fac1f371 replace $path with '/files_trashbin/files/' . $file 13 years ago
Georg Ehrke feee4b865b add delete hook for trash bin app 13 years ago
Jörn Friedrich Dreyer 9e39118b52 namespaces use upcasefirst parts 13 years ago
Bjoern Schiessle aed71bb420 also move empty folders to the trash bin as discussed here #4590 13 years ago
Bjoern Schiessle 316d9bfed6 the trash bin can also contain empty files. Don't use the trash bin size as indicator to decide if the trash bin is empty or not 13 years ago
Georg Ehrke 2ea8ee6139 add class='preview-icon' in trashbin app as well 13 years ago
Björn Schießle 2c8e5ec84f user interface to allow user to decrypt all his files once the encryption app was disabled 13 years ago
Björn Schießle 0a9bb8ba73 reduce time for auto expire to 30 days by default 13 years ago
Björn Schießle a5d9b985c3 make 'restored' extension translatable 13 years ago
Björn Schießle 0182a503a6 expire trash bin if trash bin exceeds max size after a new file was added to ownCloud 13 years ago
Björn Schießle a00cff7c05 disable "deleted files" button if trash bin is empty 13 years ago
Björn Schießle 96e175ffbf don't move empty folders to the trash bin 13 years ago
Björn Schießle bf668eb14f nicer format of unique names, use 'file (restored).txt' instead of 'files.txt.restored' 13 years ago
Georg Ehrke cf449d42e8 properly encode path 13 years ago
kondou 2f11f56d32 Use !== and === in files_trashbin-app 13 years ago
Georg Ehrke 04292ff16c implement use of preview icons in thrashbin app 13 years ago
Björn Schießle ae30eb48f2 make trash bin aware of system wide mounts with respect to encryption keys 13 years ago
Björn Schießle c3371812a0 fix indention 13 years ago