Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2819 from nextcloud/trash-ext-link-uselinkowner | Roeland Jago Douma | 2016-12-23 | 1 | -0/+10 |
|\ | | | | | Fallback to share link owner when no owner found | ||||
| * | Fallback to share link owner when no owner found | Vincent Petry | 2016-12-22 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | When creating link shares from external storage, the filesystem cannot find an owner in some scenarios (ex: system-wide mounts). In such cases, fall back to using the current user's trashbin which happens to also be the user who created the link share. Fixes an issue where this scenario made deletion impossible due to missing user information. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | | make code more robust | Bjoern Schiessle | 2016-12-21 | 1 | -10/+25 |
| | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> | ||||
* | | check for class name in case class is not loaded | Bjoern Schiessle | 2016-12-21 | 1 | -2/+1 |
| | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> | ||||
* | | add a copy to the owners trash bin if another user moves a file out of a ↵ | Bjoern Schiessle | 2016-12-21 | 2 | -10/+67 |
|/ | | | | | | shared folder Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> | ||||
* | More tests | Roeland Jago Douma | 2016-11-03 | 1 | -5/+0 |
| | | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Move over files_trashbin | Roeland Jago Douma | 2016-11-03 | 1 | -0/+124 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | introduce callForSeenUsers and countSeenUsers (#26361) | Jörn Friedrich Dreyer | 2016-10-28 | 2 | -4/+4 |
| | | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0 | ||||
* | Also fire a bulk pre- and post-delete hook | Steven Bühner | 2016-09-20 | 1 | -3/+14 |
| | |||||
* | Always use the same relative Path (Starting from users home dir. i.e.: ↵ | Steven Bühner | 2016-09-20 | 1 | -4/+7 |
| | | | | "/files_trashbin/...") | ||||
* | Take the same path (with /USERNAME/ as base) for every emmited hooks | Steven Bühner | 2016-09-20 | 1 | -2/+2 |
| | |||||
* | Emit hooks for each file before and after all files in trashbin have been ↵ | Steven Bühner | 2016-09-20 | 1 | -23/+23 |
| | | | | deleted. | ||||
* | Fiy typo | Steven Bühner | 2016-09-20 | 1 | -1/+1 |
| | |||||
* | Emit Hooks for each file bevore and after all files in trashbin have been ↵ | Steven Bühner | 2016-09-20 | 1 | -3/+32 |
| | | | | deleted. | ||||
* | detect the correct mimetype of the files in the trashbin, therefore we have ↵ | Bjoern Schiessle | 2016-09-09 | 1 | -2/+3 |
| | | | | to check the filename without the appended timestamp | ||||
* | Add occ command to expire the trashbin (#25878) | Thomas Müller | 2016-08-29 | 1 | -0/+127 |
| | | | | | | * Add occ command to expire the trashbin * Fix versions folder in setup check | ||||
* | Skip version and trash expiry for users that never logged in | Jörn Friedrich Dreyer | 2016-08-10 | 1 | -1/+1 |
| | |||||
* | Update with robin | Joas Schilling | 2016-07-21 | 4 | -4/+4 |
| | |||||
* | Fix apps/ | Joas Schilling | 2016-07-21 | 11 | -18/+29 |
| | |||||
* | Update license headers | Lukas Reschke | 2016-05-26 | 9 | -12/+12 |
| | |||||
* | Add wrapper for NFD encoding workaround | Vincent Petry | 2016-05-20 | 1 | -1/+1 |
| | |||||
* | Move files_trashbin to PSR-4 (#24570) | Joas Schilling | 2016-05-12 | 11 | -0/+226 |
| | |||||
* | use the cache for trash listing | Robin Appelman | 2016-05-03 | 1 | -46/+38 |
| | |||||
* | Chunk the users correctly in the trashbin and versions background job | Joas Schilling | 2016-04-20 | 1 | -39/+12 |
| | |||||
* | apps/files_trashbin: Fix typos in comments (found and fixed by codespell) | Stefan Weil | 2016-03-30 | 1 | -1/+1 |
| | | | | | | Fix also a wrong word. Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | Properly check path validity before deleting to trash | Vincent Petry | 2016-03-04 | 1 | -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 Fixer | Lukas Reschke | 2016-03-01 | 1 | -1/+0 |
| | |||||
* | Update author information | Lukas Reschke | 2016-03-01 | 2 | -1/+1 |
| | | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :) | ||||
* | Skip users with no trashbin | Victor Dubiniuk | 2016-02-24 | 1 | -0/+6 |
| | |||||
* | get the actual user instead of a federated cloud id | Bjoern Schiessle | 2016-02-18 | 1 | -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-folder | Thomas Müller | 2016-02-17 | 1 | -6/+10 |
|\ | | | | | Handles null as return code and uses proper UserFolder in trashbin | ||||
| * | Handles null as return code and uses proper UserFolder in trashbin | Morris Jobke | 2016-02-16 | 1 | -6/+10 |
| | | |||||
* | | Don't resize trash when no user | Vincent Petry | 2016-02-16 | 1 | -2/+5 |
|/ | | | | Happens when overwriting files on federated shares. | ||||
* | Consolidate getQuota and setQuota methods in User instance | Arthur Schiwon | 2016-02-09 | 1 | -4/+1 |
| | |||||
* | Merge pull request #21117 from owncloud/owner-file-exists | Thomas Müller | 2016-01-15 | 1 | -13/+6 |
|\ | | | | | Only return an owner if the file exists + improved getUidAndFilename | ||||
| * | handle not found in trash hook | Robin Appelman | 2016-01-11 | 1 | -1/+5 |
| | | |||||
| * | de-deplicate getUidAndFilename | Robin Appelman | 2016-01-11 | 1 | -12/+1 |
| | | |||||
* | | Merge pull request #21544 from owncloud/trashbin-permissions | Thomas Müller | 2016-01-15 | 1 | -0/+3 |
|\ \ | | | | | | | set etag and permission fields for trashbin entries | ||||
| * | | set etag and permission fields for trashbin entries | Robin Appelman | 2016-01-08 | 1 | -0/+3 |
| |/ | |||||
* / | Happy new year! | Thomas Müller | 2016-01-12 | 8 | -12/+13 |
|/ | |||||
* | Use proper public API for OC_Helper::getFileNameMimeType | Morris Jobke | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | Fix thrashbin wrapper when no user is loggedin | Robin Appelman | 2015-12-11 | 1 | -2/+3 |
| | |||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2015-12-07 | 1 | -6/+7 |
| | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com | ||||
* | Cleanup trashbin expire code | Morris Jobke | 2015-11-30 | 1 | -15/+6 |
| | | | | * requested by @schiesbn | ||||
* | Deduplicate queued trashbin expire jobs | Morris Jobke | 2015-11-27 | 1 | -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 storage | Robin Appelman | 2015-11-25 | 1 | -3/+3 |
| | |||||
* | Update license headers | Lukas Reschke | 2015-10-26 | 3 | -3/+3 |
| | |||||
* | Throw exception on `getPath` if file does not exist | Lukas Reschke | 2015-10-25 | 1 | -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 space | Robin Appelman | 2015-10-16 | 1 | -2/+3 |
| | |||||
* | update licence headers via script | Morris Jobke | 2015-10-05 | 5 | -1/+4 |
| |