summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add wrapper for NFD encoding workaroundVincent Petry2016-05-201-1/+1
|
* Move files_trashbin to PSR-4 (#24570)Joas Schilling2016-05-1211-0/+226
|
* use the cache for trash listingRobin Appelman2016-05-031-46/+38
|
* Chunk the users correctly in the trashbin and versions background jobJoas Schilling2016-04-201-39/+12
|
* apps/files_trashbin: Fix typos in comments (found and fixed by codespell)Stefan Weil2016-03-301-1/+1
| | | | | | Fix also a wrong word. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Properly check path validity before deleting to trashVincent Petry2016-03-041-1/+1
| | | | | This prevents deleting the whole "files" folder of the user whenever $ownerPath is empty. This can happen in concurrency situations.
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-012-1/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Skip users with no trashbinVictor Dubiniuk2016-02-241-0/+6
|
* get the actual user instead of a federated cloud idBjoern Schiessle2016-02-181-40/+62
| | | | | | $view->getUidAndFilename($filename); returns the federated cloud id in case of a federated share. But in this case we need the local user who "owns" the file which is the current logged in user in case of a federated share
* Merge pull request #22451 from owncloud/use-proper-user-folderThomas Müller2016-02-171-6/+10
|\ | | | | Handles null as return code and uses proper UserFolder in trashbin
| * Handles null as return code and uses proper UserFolder in trashbinMorris Jobke2016-02-161-6/+10
| |
* | Don't resize trash when no userVincent Petry2016-02-161-2/+5
|/ | | | Happens when overwriting files on federated shares.
* Consolidate getQuota and setQuota methods in User instanceArthur Schiwon2016-02-091-4/+1
|
* Merge pull request #21117 from owncloud/owner-file-existsThomas Müller2016-01-151-13/+6
|\ | | | | Only return an owner if the file exists + improved getUidAndFilename
| * handle not found in trash hookRobin Appelman2016-01-111-1/+5
| |
| * de-deplicate getUidAndFilenameRobin Appelman2016-01-111-12/+1
| |
* | Merge pull request #21544 from owncloud/trashbin-permissionsThomas Müller2016-01-151-0/+3
|\ \ | | | | | | set etag and permission fields for trashbin entries
| * | set etag and permission fields for trashbin entriesRobin Appelman2016-01-081-0/+3
| |/
* / Happy new year!Thomas Müller2016-01-128-12/+13
|/
* Use proper public API for OC_Helper::getFileNameMimeTypeMorris Jobke2015-12-171-1/+1
|
* Fix thrashbin wrapper when no user is loggedinRobin Appelman2015-12-111-2/+3
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-071-6/+7
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Cleanup trashbin expire codeMorris Jobke2015-11-301-15/+6
| | | | * requested by @schiesbn
* Deduplicate queued trashbin expire jobsMorris Jobke2015-11-271-16/+9
| | | | | | | | * fixes #20425 * this removes the argument trashbin size from the expire job - it is now calculated in the expire job * the queue now detects properly that the job is already queue and doesn't add it again
* Make Cache\Updater per storageRobin Appelman2015-11-251-3/+3
|
* Update license headersLukas Reschke2015-10-263-3/+3
|
* Throw exception on `getPath` if file does not existLukas Reschke2015-10-251-2/+12
| | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
* Fix trashbin handling of unknown/unlimited free spaceRobin Appelman2015-10-161-2/+3
|
* update licence headers via scriptMorris Jobke2015-10-055-1/+4
|
* first copy to owner and then move to current user because the encryptionBjoern Schiessle2015-10-012-18/+26
| | | | wrapper always expect to work on the owner storage
* Change small thumbnails to 32 pxMorris Jobke2015-09-301-1/+1
| | | | | * fixes #16913 * fixes issues in IE8 where the thumbnail is too big
* Replaces if ($file === '.' || $file === '..') by ↵Martin2015-09-221-1/+1
| | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
* make sure to add the correct file size to the file info, otherwise we will ↵Bjoern Schiessle2015-09-211-0/+4
| | | | not show the preview for every filetype
* Log deleted filesVictor Dubiniuk2015-09-161-0/+4
|
* Add PHPDocLukas Reschke2015-09-162-2/+16
|
* Updates according to reviewVictor Dubiniuk2015-09-161-10/+22
|
* Add expiration cronjobVictor Dubiniuk2015-09-163-1/+114
|
* Migrate settingsVictor Dubiniuk2015-08-101-3/+2
|
* Enhance trashbin expiration settingsVictor Dubiniuk2015-08-102-18/+166
|
* Moved core apps to the capabilities managerRoeland Jago Douma2015-08-101-10/+12
| | | | | | | * Files * Files_Sharing * Files_Trashbin * Files_Versions
* Set proper mimetype for directoriesRoeland Jago Douma2015-08-051-1/+1
|
* only move real files to the trash binBjoern Schiessle2015-07-081-2/+32
|
* Remove OC_LogThomas Müller2015-07-031-4/+4
|
* Merge pull request #15506 from rullzer/core_apps_oc_log2ocp_utilMorris Jobke2015-07-011-6/+6
|\ | | | | Move core apps from OC_Log::write to OCP\Util
| * Move core apps from OC_Log::write to OCP\UtilRoeland Jago Douma2015-05-181-6/+6
| |
* | update license headers and authorsMorris Jobke2015-06-252-2/+1
| |
* | explain pre-hook scanRobin Appelman2015-06-151-0/+1
| |
* | ensure we dont have to scan a file in the trash wrapperRobin Appelman2015-06-151-0/+10
| |
* | Keep versions when deleting as recipientVincent Petry2015-06-021-9/+9
| | | | | | | | | | | | | | | | | | The original owner could not be resolved because the original file was already deleted, so no versions were retained. This fix passes the owner and path to retainVersions() since it was already resolved before the file deletion. This reactivates the versions logic and creates a copy of the versions in each trashbin.