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
před 10 roky
Bjoern Schiessle
e0a5f3b570
get permissions directly from share storage to avoid additional db calls
před 10 roky
Robin Appelman
99d46af0b4
Use instanceOfStorage instead of instanceof
před 10 roky
Bjoern Schiessle
95bd7fee9c
don't lose file size during rename
před 10 roky
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
před 10 roky
Bjoern Schiessle
12338e0ef0
allow admin to disable sharing for specific groups of users
před 10 roky
Bjoern Schiessle
5f403f3e92
move the mount point up if a share is mounted to a subfolder and the subfolder no longer exists
před 10 roky
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
před 10 roky
Robin McCorkell
6930ae22e4
Fix more missing or broken PHPDoc
před 10 roky
Thomas Müller
55fc693750
@breif -> @brief
před 10 roky
Bjoern Schiessle
31bf2d4b33
we can take the permission directly from the share, no need to call the share api first
před 10 roky
Bjoern Schiessle
20e4ad382b
get the correct owner path for part files
před 10 roky
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
před 10 roky
Bjoern Schiessle
93469ca468
make it possible to move files out of a shared mount point
před 10 roky
Thomas Müller
dd1e47b3b8
typos, use, unused and return fixed
před 10 roky
Bjoern Schiessle
652d417a58
we don't allow to share a folder if it contains a share mount point
před 10 roky
Bjoern Schiessle
bffcbac7a7
allow to rename group share mount points
před 10 roky
Bjoern Schiessle
3f6e9e0102
cleanup the shared storage, always keep the whole share resource
před 10 roky
Bjoern Schiessle
d4085d8148
make sure that path is not 'false'
před 10 roky
Bjoern Schiessle
33cdd93890
fix deleting of shared files
před 10 roky
Bjoern Schiessle
bfabd247f4
fix updating of shared files
před 10 roky
Bjoern Schiessle
a86d97295e
fix encryption tests after the removal of the shared folder
před 10 roky
Bjoern Schiessle
ed981294f1
fix share api tests
před 10 roky
Bjoern Schiessle
4967435237
show "shared by ..." for share mount point
před 10 roky
Bjoern Schiessle
6d87dacad4
fix getMimeType call, we always need to check the source path
před 10 roky
Bjoern Schiessle
a02fb3722b
user should be able to rename/delete shared files if the owner allowed it
před 10 roky
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
před 10 roky
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.
před 10 roky
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
před 10 roky
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
před 10 roky
Bjoern Schiessle
d1b47021f1
don't unshare on delete
před 10 roky
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.
před 10 roky
Robin Appelman
a2015ee065
Use View::copy and View::rename when copying or renaming files in the shared storage
před 10 roky
Vincent Petry
e3868ba118
Fixed watcher to also update the owner's folder sizes
Note that the root folder size is mandatory for quota calculation.
před 10 roky
Arthur Schiwon
c01675de5d
more is_resource checks before readdir
před 10 roky
Thomas Müller
3eed060ec9
backport of #4357 to master
před 10 roky
Robin Appelman
88cc2ccb3b
use renamed constants
před 11 roky
Michael Gapczynski
7039421efc
Fix retrieving of mount points for shared storage, fix #3218
před 11 roky
Florin Peter
3c100af132
revert changes to fbbc76f281f50afa3072d99e4e0d413df835b3d3 because master is very unstable right now
před 11 roky
Robin Appelman
809b5f81f6
Further seperation of mount management logic
před 11 roky
Michael Gapczynski
a5cab28bea
Fix fetching source path of shared files
před 11 roky
Michael Gapczynski
771e01af35
Move hook connectors from shared storage to app.php, add post_unshare hook
před 11 roky
Michael Gapczynski
9b4d7d9925
Update ETag when file is shared
před 11 roky
Michael Gapczynski
8983465210
Correct parent folders' ETags for all users with access to a shared file
před 11 roky
Michael Gapczynski
00e28cf156
Return unknown free space for shared root folder so we can still upload partial files
před 11 roky
Michael Gapczynski
b6a21cc4b5
Fix WebDAV uploading of partial shared files
před 11 roky
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
před 11 roky
Bart Visscher
59a3238d1a
Style cleanup files_sharing
před 11 roky
Michael Gapczynski
8e3b8c7f47
Proper fix for shared links
před 11 roky
Robin Appelman
c9c919da57
Move streamwrappers to seperate files and put them in a namespace
před 11 roky