Commit Graph

39 Commits (master)

Author SHA1 Message Date
Ferdinand Thiessen d6d6747a73 refactor: apply rector rules for PHPUnit 10 2 months ago
Robin Appelman aa15f9d16d
chore: run rector 6 months ago
Robin Appelman 3561937816
chore: run rector on tests with new rule 7 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Ferdinand Thiessen e143921896
feat(IUser): add `getQuotaBytes` method to get machine readable quota 7 months ago
Joas Schilling 2c74609e07
test: Fix tests/lib/[S-Z]* 8 months ago
Côme Chilliet 3289cbcbd3 fix: Fix UserTest to return valid configuration values 11 months ago
Ferdinand Thiessen 16833aff86
fix: Make user removal more resilient 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Joas Schilling ad12a740cb
fix!: Remove symfony EventDispatcherInterface from User 2 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Joas Schilling 6e3d668436
Keep non default protocol in cloud id 4 years ago
Robin Appelman d08d0ebdda
skip localstorage dependend user test when not using local user storage 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Arthur Schiwon 4461b9e870
enable the user to set a primary (notification) email address (backend) 4 years ago
Julien Veyssier 416d10f76c refs #21045 add app config to disable unlimited quota and to set max quota 4 years ago
Robin Appelman ed2d02d5f1
better cleanup of user files on user deletion 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Joas Schilling dc7913efcd
Fix recursive calls in logging via server methods 6 years ago
Roeland Jago Douma c1152af523
Move deprecated aliases over to new registration 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Leon Klingele f420647add
lib/private/User: do not change user properties if value has not changed 7 years ago
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects 7 years ago
John Molakvoæ (skjnldsv) 8b9bd37e4e
Fixed tests 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Arthur Schiwon 999455c1aa
emit changeUser only if there really was a change (quota, displayname) 9 years ago
Joas Schilling ac0c21f4a7
Trigger change when a user is enabled/disabled 9 years ago
Joas Schilling ada615eb86
Use the correct Dummy and Backend class 9 years ago
Vincent Petry 91cd57e55b
Get user home folder before deletion 9 years ago
Roeland Jago Douma 7b4265ab59
Improve OC\User\User coverage 9 years ago
Joas Schilling 4d1acfd4ef
Only trigger postDelete hooks when the user was deleted... 9 years ago
Joas Schilling f6ff60f4cb
Make sure that comments, notifications and preferences are deleted 9 years ago
Roeland Jago Douma d616984879
Fix getMock User 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Joas Schilling bae4118b4f
Fix renamed class 10 years ago
Roeland Jago Douma f6ee738ba8
Add \OC\User\Backend 10 years ago
Roeland Jago Douma 9e1d9871a8
Move OC_User_Database to \OC\User\Database 10 years ago
Thomas Müller aeb89947a2 Introduce IUser::setEMailAddress and add hook mechanism 10 years ago
Thomas Müller 28ceab2f61 Fix endless recursion 10 years ago
Thomas Müller 0391cc0451 Fix getCloudId 10 years ago
Thomas Müller fe67db1ad0 Adding unit test for User::getCloudId() 10 years ago
Lukas Reschke 36ce254ffd Move dummy backend to Tests namespace 10 years ago
Morris Jobke 6da33e1ea7 introduce names for user backends - IUserBackend 11 years ago
Lukas Reschke 4c13918bd8 Expose backend type via REST API 11 years ago
Morris Jobke a9e411e076 migrate \OC\AllConfig to \OCP\IConfig 11 years ago