skjnldsv
|
8bed23288b
fix(files_sharing): dark avatar support
|
5 mesi fa |
Andy Scherzinger
|
1f7e2ba599
chore: Add SPDX header
|
6 mesi fa |
Arthur Schiwon
|
b3b6f2d581
fix Controller tests
|
2 anni fa |
Carl Schwan
|
b70c6a128f
Update core to PHP 7.4 standard
|
2 anni fa |
Joas Schilling
|
6dd60b6d30
Only allow avatars in 64 and 512 pixel size
|
2 anni fa |
Côme Chilliet
|
8b271b8a12
Fix tests and avoid PHP errors in them
|
3 anni fa |
Christoph Wurst
|
d9015a8c94
Format code to a single space around binary operators
|
4 anni fa |
Joas Schilling
|
c2bef528ef
Remove unused members and imports
|
4 anni fa |
Joas Schilling
|
a4b2403e29
The privacy setting is only about syncing to other servers
|
4 anni fa |
Morris Jobke
|
234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
|
4 anni fa |
Christoph Wurst
|
caff1023ea
Format control structures, classes, methods and function
|
4 anni fa |
Christoph Wurst
|
2ee65f177e
Use the shorter phpunit syntax for mocked return values
|
4 anni fa |
Daniel Kesselberg
|
68148f4073
Always use status 200 for avatar response
|
4 anni fa |
Joas Schilling
|
738e6bf079
Merge pull request #17715 from nextcloud/fix/5456/respect_avatar_privacy
|
5 anni fa |
Roeland Jago Douma
|
3a7cf40aaa
Mode to modern phpunit
|
5 anni fa |
Roeland Jago Douma
|
ef4b59d341
More fixes
|
5 anni fa |
Roeland Jago Douma
|
c007ca624f
Make phpunit8 compatible
|
5 anni fa |
Roeland Jago Douma
|
68748d4f85
Some php-cs fixes
|
5 anni fa |
Roeland Jago Douma
|
54eb27dab2
Update tests
|
5 anni fa |
Michael Weimann
|
bf1253cb49
Implement guest avatar endpoint
|
5 anni fa |
Joas Schilling
|
38fffffe18
Fix unit test
|
6 anni fa |
Roeland Jago Douma
|
8e8fe6b8eb
Fix tests
|
7 anni fa |
Morris Jobke
|
43e498844e
Use ::class in test mocks
|
7 anni fa |
Joas Schilling
|
0aff1c9268
Return the user id in case of an error
|
7 anni fa |
Joas Schilling
|
656e3f7a24
Check the mimetype before reading the content and catch exception
|
8 anni fa |
Roeland Jago Douma
|
6a85882f61
Fix tests
|
8 anni fa |
Roeland Jago Douma
|
b1a090f357
AvatarController use proper JSONResponse
|
8 anni fa |
Roeland Jago Douma
|
2f03853fb9
AvatarController cleanup
|
8 anni fa |
Roeland Jago Douma
|
87ac72d004
We have to mock the is_uploaded_file in the OC\Core\Controller namespace
|
8 anni fa |
Roeland Jago Douma
|
09f4ce4389
Fix mock call in AvatarControllerTest
|
8 anni fa |