Thomas Müller
da3974bcb2
- drop permissions table and related code
- the file/folder's permission is now stored in the file cache
- BackGroundWatcher has been removed - this has meanwhile be replaced by occ files:scan which can be executed in a cron jobs
- increase version to trigger database migration
преди 10 години
Bjoern Schiessle
e0a5f3b570
get permissions directly from share storage to avoid additional db calls
преди 10 години
Robin Appelman
99d46af0b4
Use instanceOfStorage instead of instanceof
преди 10 години
Bjoern Schiessle
95bd7fee9c
don't lose file size during rename
преди 10 години
Bjoern Schiessle
11aa2cf74b
always check for unique filename, if a file gets added from outside the mount
point should be adjusted to ne unique again
преди 10 години
Bjoern Schiessle
12338e0ef0
allow admin to disable sharing for specific groups of users
преди 10 години
Bjoern Schiessle
5f403f3e92
move the mount point up if a share is mounted to a subfolder and the subfolder no longer exists
преди 10 години
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
преди 10 години
Robin McCorkell
6930ae22e4
Fix more missing or broken PHPDoc
преди 10 години
Thomas Müller
55fc693750
@breif -> @brief
преди 10 години
Bjoern Schiessle
31bf2d4b33
we can take the permission directly from the share, no need to call the share api first
преди 10 години
Bjoern Schiessle
20e4ad382b
get the correct owner path for part files
преди 10 години
Robin McCorkell
77e3d067f0
Better handle return values from Filesystem::getMountBy*
getMountByStorageId and getMountByNumericId return an empty array on error,
which should be detected to avoid possible errors. This commit also adds in
some new logging points and throws to aid debugging
преди 10 години
Bjoern Schiessle
93469ca468
make it possible to move files out of a shared mount point
преди 10 години
Thomas Müller
dd1e47b3b8
typos, use, unused and return fixed
преди 10 години
Bjoern Schiessle
652d417a58
we don't allow to share a folder if it contains a share mount point
преди 10 години
Bjoern Schiessle
bffcbac7a7
allow to rename group share mount points
преди 10 години
Bjoern Schiessle
3f6e9e0102
cleanup the shared storage, always keep the whole share resource
преди 10 години
Bjoern Schiessle
d4085d8148
make sure that path is not 'false'
преди 10 години
Bjoern Schiessle
33cdd93890
fix deleting of shared files
преди 10 години
Bjoern Schiessle
bfabd247f4
fix updating of shared files
преди 10 години
Bjoern Schiessle
a86d97295e
fix encryption tests after the removal of the shared folder
преди 10 години
Bjoern Schiessle
ed981294f1
fix share api tests
преди 10 години
Bjoern Schiessle
4967435237
show "shared by ..." for share mount point
преди 10 години
Bjoern Schiessle
6d87dacad4
fix getMimeType call, we always need to check the source path
преди 10 години
Bjoern Schiessle
a02fb3722b
user should be able to rename/delete shared files if the owner allowed it
преди 10 години
Bjoern Schiessle
a27db9e4ca
first steps to remove the shared folder:
- mount shares to the root folder instead of "Shared/"
- navigate in shared folder and sub-folders
- show previews
- show correct file permissions
- download/edit files
преди 10 години
Bart Visscher
1d7564dc2f
Only check for existence of shared files when doing shared storage setup
The getItemsSharedWith function also retrieves related information,
resulting in work that isn't used here.
преди 10 години
Scrutinizer Auto-Fixer
adaee6a5a1
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
преди 10 години
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
преди 10 години
Bjoern Schiessle
d1b47021f1
don't unshare on delete
преди 10 години
Vincent Petry
8eaa39f4e2
Removed special handling of part files in shared storage rename
This fixes the issue introduced by the transfer id which itself wasn't
taken into account by the shortcut code for part file in the shared
storage class.
преди 10 години
Robin Appelman
a2015ee065
Use View::copy and View::rename when copying or renaming files in the shared storage
преди 10 години
Vincent Petry
e3868ba118
Fixed watcher to also update the owner's folder sizes
Note that the root folder size is mandatory for quota calculation.
преди 10 години
Arthur Schiwon
c01675de5d
more is_resource checks before readdir
преди 10 години
Thomas Müller
3eed060ec9
backport of #4357 to master
преди 10 години
Robin Appelman
88cc2ccb3b
use renamed constants
преди 11 години
Michael Gapczynski
7039421efc
Fix retrieving of mount points for shared storage, fix #3218
преди 11 години
Florin Peter
3c100af132
revert changes to fbbc76f281f50afa3072d99e4e0d413df835b3d3 because master is very unstable right now
преди 11 години
Robin Appelman
809b5f81f6
Further seperation of mount management logic
преди 11 години
Michael Gapczynski
a5cab28bea
Fix fetching source path of shared files
преди 11 години
Michael Gapczynski
771e01af35
Move hook connectors from shared storage to app.php, add post_unshare hook
преди 11 години
Michael Gapczynski
9b4d7d9925
Update ETag when file is shared
преди 11 години
Michael Gapczynski
8983465210
Correct parent folders' ETags for all users with access to a shared file
преди 11 години
Michael Gapczynski
00e28cf156
Return unknown free space for shared root folder so we can still upload partial files
преди 11 години
Michael Gapczynski
b6a21cc4b5
Fix WebDAV uploading of partial shared files
преди 11 години
Björn Schießle
d8137fdf66
return both, count and result if the operation succeeded or failed. Maybe in some cases it is useful to know how much bytes where copied
преди 11 години
Bart Visscher
59a3238d1a
Style cleanup files_sharing
преди 11 години
Michael Gapczynski
8e3b8c7f47
Proper fix for shared links
преди 11 години
Robin Appelman
c9c919da57
Move streamwrappers to seperate files and put them in a namespace
преди 11 години