Joas Schilling
89ed2c37bf
Update share type constant usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Christoph Wurst
1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
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>
6 years ago
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
e9c972f708
Fix share tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
0487144b26
Remove deprecated searchByTag
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Morris Jobke
55532f19d9
Cleanup OC_User and OCP\User
* mainly removes deprecated methods and old static code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Robin Appelman
56fd462718
Use the correct root for shared jail when the source storage is also a jail
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 years ago
Roeland Jago Douma
c81e79f8b9
Fix files_sharing CacheTests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Robin Appelman
ae3016959e
fix shared storage numeric id
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Vincent Petry
89c42a76c3
Remove SharedCache::getNumericStorageId to let CacheWrapper do it
The CacheWrapper will properly forward the call to the wrapped cache.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9 years ago
Joas Schilling
246bb9f33d
Move OC\Files\Storage\Shared to the right namespace
10 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
813f0a0f40
Fix apps/
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
3f0b2d148d
Move tests to PSR-4
10 years ago
Roeland Jago Douma
92abb5f23d
Fix tests
10 years ago
Stefan Weil
16df1c5188
apps: Fix typos (found by codespell) ( #23862 )
Signed-off-by: Stefan Weil <sw@weilnetz.de>
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Thomas Müller
3bb6dcea64
Apply DB group annotation ...
10 years ago
Robin Appelman
19486837b2
adjust test
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Vincent Petry
11b3aa2dbe
Fix issues with searchByTag in shared storage
11 years ago
Vincent Petry
15ecb28d50
Make $userId mandatory for searchByTags
$userId is now a mandatory parameter for searchByTags.
Also fixed some places in the code where the argument was missing (Node
API and View)
11 years ago
Vincent Petry
25dde7e93b
Added searchByTags to view, storage and cache
11 years ago
Joas Schilling
2c39aec8cb
Replace deprecated constant with new class constant
11 years ago
Joas Schilling
76ebd3a050
Make apps/ extend the \Test\TestCase and fix overwritten methods
11 years ago
Joas Schilling
a3a064fe96
Skip some more tests on Windows which just can not work at all
11 years ago
Thomas Müller
f776bcd4a0
remove unnecessary require calls - the ownCloud class loader is supposed to take care of this
11 years ago
Jörn Friedrich Dreyer
1af436cb59
add test for search() in shared cache
12 years ago
Vincent Petry
658828867c
Correctly return the owner display name for children of shares
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
Thomas Müller
e0dd69e4e6
remove legacy aka deprecated code: OC_FilesystemView
12 years ago
Bjoern Schiessle
fb88aba8f4
some fixes to make the gallery work, this made it necessary to adjust some tests and the encryption code
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
ed981294f1
fix share api tests
12 years ago
Robin Appelman
fe78d963d9
Implement getPath for shared files
12 years ago
Bjoern Schiessle
0c0e4fced5
fix test so that it doesn't depend on the array order
12 years ago
Bjoern Schiessle
6ca4d3bfde
fix usersPath and add unit tests
12 years ago
Vincent Petry
fa5ddc3e18
Fixed searchByMime in shared cache
- searchByMime now correctly returns files recursively search through
all the dirs
- added unit test for searchByMime
12 years ago