Jamie McClelland
|
d58fda7ff3
|
fix update to remove shares where file doesn't exist on postgres
Without patch, breaks with: Failed to upgrade "files_sharing".
Exception="SQLSTATE[22P02]: Invalid text representation: 7 ERROR:
invalid input syntax for integer: "5,179""
See: https://github.com/owncloud/core/issues/5758
removing unnecessary cruft - no parameter is set, none to pass.
https://github.com/owncloud/core/issues/5758
removing subquery, making more readable
See: https://github.com/owncloud/core/pull/6016#issuecomment-29510979
parameters to sql calls should be arrays
https://github.com/owncloud/core/pull/6016
boosting version to ensure fix gets executed
properly escaping the sql select statement
removing extraneous closing paren.
|
2014-03-13 13:09:31 +01:00 |
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
|
2014-01-21 11:32:30 +01:00 |
Morris Jobke
|
6284ab31de
|
fix escaping
|
2013-10-08 16:00:26 +02:00 |
Bjoern Schiessle
|
68e1dd1f23
|
make sure that we only remove file/folder shares
|
2013-10-08 16:00:18 +02:00 |
Bjoern Schiessle
|
0346167bb2
|
clean up oc_share table from files which are no longer exists
|
2013-10-07 10:59:09 +02:00 |
Bart Visscher
|
59a3238d1a
|
Style cleanup files_sharing
|
2013-02-21 23:46:50 +01:00 |
Robin Appelman
|
bf2ac9f113
|
merge master into filesystem
|
2012-11-15 00:37:54 +01:00 |
Thomas Tanghus
|
56239df2e7
|
Update all to use OCP\PERMISSION_* instead of OCP\Share::PERMISSION_*
|
2012-11-11 23:10:23 +01:00 |
Robin Appelman
|
0fb707d2c9
|
some more porting of the sharing
|
2012-10-27 14:25:15 +02:00 |
Robin Appelman
|
6db81afab9
|
move some stuff to the new api
|
2012-10-26 23:05:02 +02:00 |
Arthur Schiwon
|
81cf726b18
|
unset UserID after Update
|
2012-10-18 18:45:03 +02:00 |
Michael Gapczynski
|
995b8bf12a
|
Remove old Shared folders from the file cache, fixes bug oc-1911
|
2012-10-07 17:34:21 -04:00 |
Arthur Schiwon
|
0192d920f0
|
Sharing: write update errors to logfile; do not die on errors
|
2012-09-26 12:27:43 +02:00 |
Arthur Schiwon
|
7b8c7aaf0d
|
Add missing Sharing permission
|
2012-09-25 18:01:56 +02:00 |
Arthur Schiwon
|
80fde2d8d1
|
Sharing update: take over reshares and thus don't fail
|
2012-09-25 12:14:20 +02:00 |
Arthur Schiwon
|
15e02726d7
|
Fix files_sharing update script, by making filesystem and users available
|
2012-09-25 11:47:53 +02:00 |
Bart Visscher
|
8cfa618df5
|
Catch exceptions in upgrading files_sharing, skip the errors for now
|
2012-09-21 23:31:44 +02:00 |
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
|
2012-09-10 21:57:13 -04:00 |
Michael Gapczynski
|
deb1fbf9a1
|
Provide update script for files sharing
|
2012-09-09 18:29:47 -04:00 |
Bart Visscher
|
0e58800016
|
Whitespace fixes in apps
|
2012-08-29 20:29:43 +02:00 |
Bjoern Schiessle
|
50eef9a71c
|
update script to fix fscache
|
2012-07-13 15:17:36 +02:00 |