Commit Graph

31 Commits (d001c4e375287bfcfc45d714def4ed835d886dbf)

Author SHA1 Message Date
Bjoern Schiessle d50e70ba3a set accept to 1 (=true) for all server-to-server shares on update, at this point in time all shares are created by the first version of server-to-server sharing and are accepted if they were added to the table 12 years ago
Lukas Reschke 8dbedbb849 Remove unused code 12 years ago
Bjoern Schiessle c9903f2e68 make share folder configurable 12 years ago
Bjoern Schiessle c22b5c7884 fix sharing update, add proper escaping 12 years ago
Bjoern Schiessle a5752a8463 fix db query 12 years ago
Bjoern Schiessle bf5e9357fc don't allow to share single files with delete permissions, user should only be possible to unshare a single file but never to delete it 12 years ago
Bjoern Schiessle b102222fed split-up the update script and add unit tests for it 12 years ago
Thomas Müller dd1e47b3b8 typos, use, unused and return fixed 12 years ago
Bjoern Schiessle aae22b2d6a update script, create Shared folder and adjust target path for the shares 12 years ago
Morris Jobke ec54bc7709 Refactor update script to class and add unit test 13 years ago
Jamie McClelland d58fda7ff3 fix update to remove shares where file doesn't exist on postgres 13 years ago
Thomas Müller 23a4d0d44e OC_Util::setupFS($user) will create a data dir for the given string - no matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error 13 years ago
Morris Jobke 6284ab31de fix escaping 13 years ago
Bjoern Schiessle 68e1dd1f23 make sure that we only remove file/folder shares 13 years ago
Bjoern Schiessle 0346167bb2 clean up oc_share table from files which are no longer exists 13 years ago
Bart Visscher 59a3238d1a Style cleanup files_sharing 14 years ago
Thomas Tanghus 56239df2e7 Update all to use OCP\PERMISSION_* instead of OCP\Share::PERMISSION_* 14 years ago
Robin Appelman 0fb707d2c9 some more porting of the sharing 14 years ago
Robin Appelman 6db81afab9 move some stuff to the new api 14 years ago
Arthur Schiwon 81cf726b18 unset UserID after Update 14 years ago
Sam Tuke 8b01286a5d Merged branch 'master' 14 years ago
Michael Gapczynski 995b8bf12a Remove old Shared folders from the file cache, fixes bug oc-1911 14 years ago
Arthur Schiwon 0192d920f0 Sharing: write update errors to logfile; do not die on errors 14 years ago
Arthur Schiwon 7b8c7aaf0d Add missing Sharing permission 14 years ago
Arthur Schiwon 80fde2d8d1 Sharing update: take over reshares and thus don't fail 14 years ago
Arthur Schiwon 15e02726d7 Fix files_sharing update script, by making filesystem and users available 14 years ago
Bart Visscher 8cfa618df5 Catch exceptions in upgrading files_sharing, skip the errors for now 14 years ago
Michael Gapczynski ff6141b1e9 Change version number update occurs on to prevent problem with betas, users using the 4.5 betas will have to manually trigger the update if they want to get their old shared files back again 14 years ago
Michael Gapczynski deb1fbf9a1 Provide update script for files sharing 14 years ago
Bart Visscher 0e58800016 Whitespace fixes in apps 14 years ago
Bjoern Schiessle 50eef9a71c update script to fix fscache 14 years ago