Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 роки тому
Morris Jobke
e84504c4d6
Use IBootstrap for the files_trashbin app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 роки тому
Joas Schilling
89ed2c37bf
Update share type constant usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 роки тому
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 роки тому
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 роки тому
Roeland Jago Douma
e9c972f708
Fix share tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 роки тому
Morris Jobke
a55e794bfd
Cleanup unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
91dfff5db4
Revert "fix permissions of mountpoints - take 2"
7 роки тому
Robin Appelman
9b750c08ac
update comment to code
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 роки тому
Roeland Jago Douma
412d3e2e80
Fix SharedStorage Test
A moveable mount point (What a SharedStorage is) always has DELETE +
UPDATE permissions. Since you can either delete (unshare) or update
(rename) it.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 роки тому
Robin Appelman
a12ec5ec77
set cache to failedcache when shared storage init fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 роки тому
Vincent Petry
a4ce440392
Ignore NoUserException for shares from ghosts
Add unit tests for FailedStorage init from SharedStorage
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 роки тому
Robin Appelman
5d0897b8d7
use unmasked permissions in shared scanner
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 роки тому
Robin Appelman
02ee4f958c
apply permissions mask for shared storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 роки тому
Joas Schilling
246bb9f33d
Move OC\Files\Storage\Shared to the right namespace
8 роки тому
Joas Schilling
0215b004da
Update with robin
8 роки тому
Joas Schilling
813f0a0f40
Fix apps/
8 роки тому
Lukas Reschke
aba539703c
Update license headers
8 роки тому
Joas Schilling
3f0b2d148d
Move tests to PSR-4
8 роки тому
Roeland Jago Douma
92abb5f23d
Fix tests
8 роки тому
Thomas Müller
682821c71e
Happy new year!
8 роки тому
Thomas Müller
3bb6dcea64
Apply DB group annotation ...
8 роки тому
Robin Appelman
e7f75484f8
Fix shared storage tests for non local home storage
8 роки тому
Robin Appelman
0cdd46de60
fix sabre connector tests when using a non local home storage
8 роки тому
Robin Appelman
085acaf6ba
add unit tests for share target conflict with group shares
8 роки тому
Robin Appelman
19486837b2
adjust test
9 роки тому
Robin Appelman
d16ee4138d
Fix test
9 роки тому
Robin Appelman
d726db7459
Implement move/copyFromStorage for shared storage
9 роки тому
Jenkins for ownCloud
b585d87d9d
Update license headers
9 роки тому
Vincent Petry
67160e0861
Do not automatically add "update" permission to shared mounts
In the past it seems the update permission was needed to be able to
rename shared mounts, but it doesn't seem to be the case any more.
Removing the "update" permission that used to be added automatically
fixes the read-only permission check when trying to overwrite a
read-only file over WebDAV.
9 роки тому
Vincent Petry
eef5851a67
Fix share permission related unit tests
9 роки тому
Vincent Petry
c2315aa015
Fix shared storage permission checks
9 роки тому
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 роки тому
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 роки тому
Vincent Petry
1a06edd712
Unregister trashbin storage wrapper at the end of tests
Some more tests that uses the storage wrapper now remove it afterwards
9 роки тому
Bjoern Schiessle
15ae6b47ed
replace hook with storage wrapper
9 роки тому
Joas Schilling
76ebd3a050
Make apps/ extend the \Test\TestCase and fix overwritten methods
9 роки тому
Robin Appelman
7ecd220715
Setup shared mounts for the correct user when setting up the filesystem for the non-logged in user
9 роки тому
Thomas Müller
f776bcd4a0
remove unnecessary require calls - the ownCloud class loader is supposed to take care of this
9 роки тому
Bjoern Schiessle
193a0b1a17
fix broken unit tests
9 роки тому
Bjoern Schiessle
3fc7357ade
add/update unit tests
10 роки тому
Bjoern Schiessle
95bd7fee9c
don't lose file size during rename
10 роки тому
Bjoern Schiessle
5f403f3e92
move the mount point up if a share is mounted to a subfolder and the subfolder no longer exists
10 роки тому
Bjoern Schiessle
20e4ad382b
get the correct owner path for part files
10 роки тому