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 years ago
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma
e9c972f708
Fix share tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma
f4fd0224db
Do not use \OCP\DB anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
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 years ago
Joas Schilling
246bb9f33d
Move OC\Files\Storage\Shared to the right namespace
8 years ago
Robin Appelman
3845d4ec9a
more robust test setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years ago
Robin Appelman
e8e950a4d2
more efficient querying of numeric storage ids
7 years ago
Joas Schilling
0215b004da
Update with robin
7 years ago
Joas Schilling
813f0a0f40
Fix apps/
7 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Joas Schilling
3f0b2d148d
Move tests to PSR-4
8 years ago
Joas Schilling
5001036fd4
Move classes from outside lib/ to PSR-4
8 years ago
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 years ago
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 years ago
Roeland Jago Douma
92abb5f23d
Fix tests
8 years ago
Robin Appelman
1369f2c684
cleanup shared cache
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Roeland Jago Douma
1f715289bf
Removed deprecated function OC_User::deleteUser
Replaced with proper OCP calls
8 years ago
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 years ago
Robin Appelman
3d5a7b307f
Add test case for group share propagation
8 years ago
Thomas Müller
3bb6dcea64
Apply DB group annotation ...
8 years ago
Robin Appelman
888df3933d
take the etag of child mounts into account for the folder etag
this replaces shared etag propagation
8 years ago
Lukas Reschke
36ce254ffd
Move dummy backend to Tests namespace
8 years ago
Robin Appelman
415f16eb24
fix tests
9 years ago
Robin Appelman
d5434c9c4e
more propagation tests
9 years ago
Robin Appelman
30ad56813a
propagate etags for all user of a share
9 years ago
Bjoern Schiessle
fac7ec3fc4
fix re-shares with encryption
9 years ago
Bjoern Schiessle
391fab35f0
reset storage for each unit test
9 years ago
Thomas Müller
00338f9dca
Removing files_encryption left overs
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Joas Schilling
ac5bb97d04
Reset the group backend aswell
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Robin Appelman
5394a81c05
Dont fatal error test when encryption is enabled
9 years ago
Joas Schilling
76ebd3a050
Make apps/ extend the \Test\TestCase and fix overwritten methods
9 years ago
Lukas Reschke
988c85d292
Refactor file sharing public link handling
fixes download issue introduced by #10755
Conflicts:
apps/files_sharing/public.php
9 years ago
Robin Appelman
0f3fd89f7d
Fix sharing tests
9 years ago
Robin Appelman
9c79c2fa17
Dont make real users in tests
9 years ago
Thomas Müller
f776bcd4a0
remove unnecessary require calls - the ownCloud class loader is supposed to take care of this
9 years ago
Jörn Friedrich Dreyer
cb3a4d22b1
make tests compatible with hook based skeleton generation
9 years ago
Jörn Friedrich Dreyer
9b0f0df7f5
make skeleton compatible with objectstore
suspend encryption proxy when copying skeleton
9 years ago
Bjoern Schiessle
5c7fe91041
clear share table after each test run
9 years ago
Bjoern Schiessle
9105e17307
unit tests for grouping of shares pointing to the same source
9 years ago
Bjoern Schiessle
12338e0ef0
allow admin to disable sharing for specific groups of users
10 years ago
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
10 years ago
Robin McCorkell
c4f1de63a8
Fix PHPDoc in /apps
10 years ago
Thomas Müller
e0dd69e4e6
remove legacy aka deprecated code: OC_FilesystemView
10 years ago
Bjoern Schiessle
ed981294f1
fix share api tests
10 years ago
Bjoern Schiessle
e3f676e009
fix path in sharing results if it is a file in the Shared folder
10 years ago