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