Commit Graph

299 Commits (c2abc5810c505dfd2ae6f2aaaecb7ca01cb79647)

Author SHA1 Message Date
Bjoern Schiessle 6e69881512
allow apps to control the trash bin 8 years ago
Joas Schilling d703744d4a Fix comparisions in the trashbin app 9 years ago
Roeland Jago Douma 549845aa73
Delete trash using node API to trigger preview deletion 9 years ago
Morris Jobke b4fa812a3d Improve logging of trash bin inconsistencies 9 years ago
Morris Jobke 23cc309606
Handle more error cases 9 years ago
Morris Jobke c54a59d51e
Remove unused use statements 9 years ago
Morris Jobke 1729e4471f
Update comments to Nextcloud 9 years ago
Juan Pablo Villafáñez 713faa0fc0
Use the expected method depending on the target being a file or folder 9 years ago
Morris Jobke fb87aa61e7
fix path for files from root folder 9 years ago
Victor Dubiniuk 17bed297db
In the real world id is an initial filename 9 years ago
Bjoern Schiessle 79d362f4a6
delete files right away in case of a encryption exception 9 years ago
Morris Jobke a4ad8af6e3
Add proper default value for datadir 9 years ago
Vincent Petry 34d466b2f6
Fallback to share link owner when no owner found 9 years ago
Bjoern Schiessle a1d6f3068a
make code more robust 9 years ago
Bjoern Schiessle 60810b44bc
check for class name in case class is not loaded 9 years ago
Bjoern Schiessle 0e4eeab3c1
add a copy to the owners trash bin if another user moves a file out of a shared folder 9 years ago
Roeland Jago Douma 55af6b45f7
More tests 9 years ago
Roeland Jago Douma 5d11085190
Move over files_trashbin 9 years ago
Jörn Friedrich Dreyer f8352fcb8d
introduce callForSeenUsers and countSeenUsers (#26361) 9 years ago
Steven Bühner 1bd4eebb26
Also fire a bulk pre- and post-delete hook 9 years ago
Steven Bühner 2b37dc9c9e
Always use the same relative Path (Starting from users home dir. i.e.: "/files_trashbin/...") 9 years ago
Steven Bühner 55fe036dbf
Take the same path (with /USERNAME/ as base) for every emmited hooks 9 years ago
Steven Bühner a41541ae22
Emit hooks for each file before and after all files in trashbin have been deleted. 9 years ago
Steven Bühner 2f555cb10d
Fiy typo 9 years ago
Steven Bühner 0408d9a2e4
Emit Hooks for each file bevore and after all files in trashbin have been deleted. 9 years ago
Bjoern Schiessle 68b53669c0
detect the correct mimetype of the files in the trashbin, therefore we have to check the filename without the appended timestamp 9 years ago
Thomas Müller 297d2e48ad
Add occ command to expire the trashbin (#25878) 9 years ago
Jörn Friedrich Dreyer d59cb04427
Skip version and trash expiry for users that never logged in 10 years ago
Joas Schilling 0215b004da
Update with robin 10 years ago
Joas Schilling 813f0a0f40
Fix apps/ 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Vincent Petry 63bbbf29f4
Add wrapper for NFD encoding workaround 10 years ago
Joas Schilling d5dee80580 Move files_trashbin to PSR-4 (#24570) 10 years ago
Robin Appelman 435cd31fa6 use the cache for trash listing 10 years ago
Joas Schilling 9ebae0bdeb
Chunk the users correctly in the trashbin and versions background job 10 years ago
Stefan Weil 217d9e8e95 apps/files_trashbin: Fix typos in comments (found and fixed by codespell) 10 years ago
Vincent Petry 0eb5292aaf Properly check path validity before deleting to trash 10 years ago
Lukas Reschke c353d51810 Remove Scrutinizer Auto Fixer 10 years ago
Lukas Reschke 933f60e314 Update author information 10 years ago
Victor Dubiniuk aac6932e92 Skip users with no trashbin 10 years ago
Bjoern Schiessle ac1c3d27b7 get the actual user instead of a federated cloud id 10 years ago
Morris Jobke de58364eb8 Handles null as return code and uses proper UserFolder in trashbin 10 years ago
Vincent Petry 7bed529951 Don't resize trash when no user 10 years ago
Arthur Schiwon 3a796d1e15 Consolidate getQuota and setQuota methods in User instance 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Robin Appelman 8890c88c11 handle not found in trash hook 10 years ago
Robin Appelman 300eb54c87 de-deplicate getUidAndFilename 10 years ago
Robin Appelman cb3d3ebf50 set etag and permission fields for trashbin entries 10 years ago
Morris Jobke ecdf88e41b Use proper public API for OC_Helper::getFileNameMimeType 10 years ago
Robin Appelman 415cf92784 Fix thrashbin wrapper when no user is loggedin 10 years ago