Joas Schilling
4b1e8a1184
One more PSR-4 fix (#24852)
8 years ago
Joas Schilling
2c0743c46b
Fix the tests again
8 years ago
Joas Schilling
4cfefda891
Move Test\Files\Storage\Wrapper\EncodingTest to PSR-4
8 years ago
Joas Schilling
154e328e2b
Adjust the phpunit config
8 years ago
Joas Schilling
8afbd80328
Move parallel merged auth tests to PSR-4
8 years ago
Christoph Wurst
28ce7dd262
do not allow client password logins if token auth is enforced or 2FA is enabled
8 years ago
Christoph Wurst
ad10485cec
when generating browser/device token, save the login name for later password checks
8 years ago
Roeland Jago Douma
abe338f433
Store user bucket in preferences
8 years ago
Roeland Jago Douma
e03e4921a0
Fix Name
8 years ago
Roeland Jago Douma
7ef21b0b27
Add unit tests for ObjectHomeMountProvider
8 years ago
Roeland Jago Douma
12b63258d5
Add mapper unit tests
8 years ago
Julius Haertl
d065980814
Add more tests for OC\Core\Controller\LostController
- remove testResetFormUnsuccessful as it is now splitted up in different test cases
- add testResetFormInvalidToken to check if timestamp and token are present
- add testResetFormInvalidTokenMatch to check if the saved token matches the provided
- add testResetFormExpiredToken to check if expiration detection works
- add testResetFormValidToken to check if detection of valid tokens works
8 years ago
Robin Appelman
eca57be336
Only recurse into incomplete folders during background scans
8 years ago
Christoph Wurst
dfb4d426c2
Add two factor auth to core
8 years ago
Christoph Wurst
c20cdc2213
invalidate user session if the user is disabled
8 years ago
Christoph Wurst
74277c25be
add button to invalidate browser sessions/device tokens
8 years ago
Christoph Wurst
6495534bcd
add button to add new device tokens
8 years ago
Christoph Wurst
12431aa399
list user's auth tokens on the personal settings page
8 years ago
Joas Schilling
d0a2fa0506
Lock jobs while executing them, to allow multiple executors to run in parallel
8 years ago
Björn Schießle
7b25839bd5
use share initiator as fall back to access the file
in case of federated re-shares the owner can be a remote user.
Therefore we can't always use to owner to access the local file
8 years ago
Vincent Petry
88740f035d
Act on effective system tag canAssign permission
Whenever the server returns true for the can-assign Webdav property of
a system tag, it means the current user is allowed to assign,
regardless of the value of user-assignable.
This commit brings the proper logic to the web UI to make it possible
for users to assign when they have the permission.
8 years ago
Vincent Petry
b5eb3d9e5a
Add system tag assignability check with groups
Whenever a user is not an admin, a tag is visible but not
user-assignable, check whether the user is a member of the allowed
groups.
8 years ago
Vincent Petry
3cd65fe25d
Add systemtag_group table and get/set methods
Added systemtag to group mapping table.
Added methods in ISystemTagManager to get/set the group mappings.
8 years ago
Vincent Petry
09b3883d9c
Updated canUser* functions in SystemTagManager to accept objects
8 years ago
Vincent Petry
8343cfb64b
Add interface methods for permission check
Instead of checking for admin perm, use interface method
canUserAssignTag and canUserSeeTag to check for permissions.
Allows for more flexible implementation.
8 years ago
Roeland Jago Douma
54b637e83c
Fix unit tests
8 years ago
Joas Schilling
94ad54ec9b
Move tests/ to PSR-4 (#24731)
* Move a-b to PSR-4
* Move c-d to PSR-4
* Move e+g to PSR-4
* Move h-l to PSR-4
* Move m-r to PSR-4
* Move s-u to PSR-4
* Move files/ to PSR-4
* Move remaining tests to PSR-4
* Remove Test\ from old autoloader
8 years ago
Vincent Petry
e8d082208d
Fixes for encoding wrapper
Improved label
Fixed rename/copy/moveFromStorage/copyFromStorage and added tests
Improved findPathToUse algo
8 years ago
Vincent Petry
63bbbf29f4
Add wrapper for NFD encoding workaround
8 years ago
Joas Schilling
54250ed065
Add PSR-4 loading for Test\ and Tests\
8 years ago
Joas Schilling
f8180391fd
Create a Fallback in the old autoloader for PSR-4 Test\TestCase
8 years ago
Joas Schilling
ffa4633822
No more Test_* files exist, remove autoloading
8 years ago
Joas Schilling
c58d174616
Move tests/settings to PSR-4
8 years ago
Joas Schilling
392bc0c6b9
Move tests/core/ to PSR-4
8 years ago
Joas Schilling
20f229eed9
Move OCS Provider to PSR-4 namespace
8 years ago
Joas Schilling
bae4118b4f
Fix renamed class
8 years ago
Joas Schilling
320b1c3abf
Fix more failures
8 years ago
Joas Schilling
f24179a327
Fix deprecated private method
8 years ago
Joas Schilling
e88a9b2fed
Fix missing backtick before OC
8 years ago
Joas Schilling
e823d50044
Fix "Class 'Test\Security\DateTime' not found"
8 years ago
Joas Schilling
9a4253ef7c
Fix lib/
8 years ago
Joas Schilling
55fc6536d3
FIx lib/ a-d
8 years ago
Joas Schilling
7f3f16d155
Fix namespace in user/
8 years ago
Joas Schilling
a107e7de7b
Fix namespace in share/
8 years ago
Joas Schilling
68481c10e6
Fix namespaces in security/
8 years ago
Joas Schilling
a9f24a74a2
Fix namespace in repair/
8 years ago
Joas Schilling
d19d6533dd
Fix public/ namespace in tests
8 years ago
Joas Schilling
859d2bc0ff
Fix namespace of memcache/ and ocs/
8 years ago
Joas Schilling
71603fe348
Fix namespace in log/ and mail/
8 years ago
Joas Schilling
0ab1120a33
Fix namespaces in tests/lib/integritycheck
8 years ago