Commit Graph

41 Commits (41feb5d29da7b13bfa4d4c7dcc651f471a01e55b)

Author SHA1 Message Date
provokateurin bfb4fe8f86
fix(core): Stop abusing the cache for avatar upload 4 months ago
Joas Schilling 3df6d90a4c
Revert "perf(base): Stop setting up the FS for every basic auth request" 4 months ago
provokateurin 5057d5fcc5 fix(core): Stop abusing the cache for avatar upload 4 months ago
John Molakvoæ 2b50d9b2c5
Revert "perf(base): Stop setting up the FS for every basic auth request" 6 months ago
provokateurin 24f7a2e680
fix(core): Stop abusing the cache for avatar upload 6 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 6 months ago
Robin Appelman 3561937816
chore: run rector on tests with new rule 7 months ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 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
skjnldsv 8bed23288b fix(files_sharing): dark avatar support 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Arthur Schiwon b3b6f2d581
fix Controller tests 4 years ago
Carl Schwan b70c6a128f Update core to PHP 7.4 standard 4 years ago
Joas Schilling 6dd60b6d30
Only allow avatars in 64 and 512 pixel size 4 years ago
Côme Chilliet 8b271b8a12
Fix tests and avoid PHP errors in them 4 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling c2bef528ef
Remove unused members and imports 5 years ago
Joas Schilling a4b2403e29
The privacy setting is only about syncing to other servers 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 caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Daniel Kesselberg 68148f4073
Always use status 200 for avatar response 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma ef4b59d341
More fixes 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 54eb27dab2
Update tests 6 years ago
Michael Weimann bf1253cb49
Implement guest avatar endpoint 7 years ago
Joas Schilling 38fffffe18
Fix unit test 8 years ago
John Molakvoæ (skjnldsv) 156da29cea
Avatar imagick bump 8 years ago
John Molakvoæ (skjnldsv) eea6f74ca4
Controller tests fixes 8 years ago
Roeland Jago Douma 8e8fe6b8eb
Fix tests 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Joas Schilling 0aff1c9268
Return the user id in case of an error 8 years ago
Joas Schilling 656e3f7a24
Check the mimetype before reading the content and catch exception 9 years ago
Roeland Jago Douma 6a85882f61
Fix tests 9 years ago
Roeland Jago Douma b1a090f357
AvatarController use proper JSONResponse 10 years ago
Roeland Jago Douma 2f03853fb9
AvatarController cleanup 10 years ago
Roeland Jago Douma 87ac72d004
We have to mock the is_uploaded_file in the OC\Core\Controller namespace 10 years ago
Roeland Jago Douma 09f4ce4389
Fix mock call in AvatarControllerTest 10 years ago
Joas Schilling 392bc0c6b9
Move tests/core/ to PSR-4 10 years ago
Roeland Jago Douma b9b19cef41
Fix avatar controller tests 10 years ago
Morris Jobke b97fe97875 move avatar controller to core/controller 10 years ago
Roeland Jago Douma 186e35d954 Verify the path is a file on avatar update 10 years ago
Roeland Jago Douma 3e80f14269 [Avatar] Make the avatar controller use the avatar node 10 years ago
Scrutinizer Auto-Fixer 453e1bf66e Scrutinizer Auto-Fixes 10 years ago
Thomas Müller 757aa45db7 Adding more DB groups to test suits 10 years ago
Roeland Jago Douma fee6847f48 [Avatar] No need to setup FS for avatar tests 10 years ago
Lukas Reschke abdbf10ebc Do not print exception message 10 years ago