dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 년 전
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 년 전
Morris Jobke
83a75c670b
Replace static call to Share::unshare with ShareManager->deleteShare in tests
And then cleanup all the code that is dead then...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 년 전
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 년 전