Andy Scherzinger
1e04619675
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
пре 3 недеља
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
пре 7 месеци
Joas Schilling
98ed72b3ed
Revert "fix(performance): Do not set up filesystem on every call"
пре 1 година
Julius Härtl
20058eb9de
tests: Fix test isolation on object storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
пре 1 година
Robin Appelman
6fcc1f5684
add test for shared mount conflict resolution
Signed-off-by: Robin Appelman <robin@icewind.nl>
пре 1 година
Côme Chilliet
262f7d92f0
Remove broken function resetStorage from test cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
пре 1 година
Carl Schwan
4333c215cb
Cache display name
This should saves some query in the share backend when displaying the
owner and it's not important if the display name is 10 minutes outdated
as it is very rare that this gets changed.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
пре 2 година
Robin Appelman
ef93d2ea1c
update tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
пре 2 година
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
пре 3 година
Joas Schilling
df47445c01
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
пре 3 година
Morris Jobke
d84e1f1951
Re-use fetched dependencies in lib/base.php
Reduces calls to DI container by reusing already fetched dependencies.
For status.php it went from 355 to 344.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
пре 3 година
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 3 година
Robin Appelman
118965ad98
better cleanup in share tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
пре 4 година
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 4 година
Christoph Wurst
28f8eb5dba
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
пре 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
74936c49ea
Remove unused imports
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 година
John Molakvoæ (skjnldsv)
5cb11ca642
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
пре 4 година
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
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 година
Roeland Jago Douma
f4fd0224db
Do not use \OCP\DB anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
пре 6 година
Morris Jobke
a5ba1f7803
Remove legacy class OC_Group and OC_User
* basically a straight replacement of the wrapped code at the calling code parts
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
пре 7 година
Joas Schilling
246bb9f33d
Move OC\Files\Storage\Shared to the right namespace
пре 8 година
Robin Appelman
3845d4ec9a
more robust test setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
пре 7 година
Robin Appelman
e8e950a4d2
more efficient querying of numeric storage ids
пре 7 година
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 година
Joas Schilling
5001036fd4
Move classes from outside lib/ to PSR-4
пре 8 година
Roeland Douma
5c9103287f
Group fixup (#24621)
* Move used OC_Group_xx to \OC\Group
* Add (deprecated) legacy wrapper in legacy, OC_Group_xx
* Replace deprecated use of OC_Group_xx with \OC\Group\xx
пре 8 година
Roeland Jago Douma
dd7e0d13e5
Move the group dummy backend to test
The dummy backend is only used for testing and should thus reside in
tests.
пре 8 година
Roeland Jago Douma
92abb5f23d
Fix tests
пре 8 година
Robin Appelman
1369f2c684
cleanup shared cache
пре 8 година
Thomas Müller
682821c71e
Happy new year!
пре 8 година
Roeland Jago Douma
1f715289bf
Removed deprecated function OC_User::deleteUser
Replaced with proper OCP calls
пре 8 година
Roeland Jago Douma
835911bce5
Removed deprecated private OC_User::createUser
All function calls are replaced with the recommended (which was already
the body of the function).
пре 8 година
Robin Appelman
3d5a7b307f
Add test case for group share propagation
пре 8 година
Thomas Müller
3bb6dcea64
Apply DB group annotation ...
пре 8 година
Robin Appelman
888df3933d
take the etag of child mounts into account for the folder etag
this replaces shared etag propagation
пре 8 година
Lukas Reschke
36ce254ffd
Move dummy backend to Tests namespace
пре 8 година
Robin Appelman
415f16eb24
fix tests
пре 9 година
Robin Appelman
d5434c9c4e
more propagation tests
пре 9 година
Robin Appelman
30ad56813a
propagate etags for all user of a share
пре 9 година
Bjoern Schiessle
fac7ec3fc4
fix re-shares with encryption
пре 9 година
Bjoern Schiessle
391fab35f0
reset storage for each unit test
пре 9 година
Thomas Müller
00338f9dca
Removing files_encryption left overs
пре 9 година
Jenkins for ownCloud
b585d87d9d
Update license headers
пре 9 година
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
пре 9 година