Commit Graph

101 Commits (fc445a2eaa2f93ae7f55b3af8800a87a69480a66)

Author SHA1 Message Date
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP 2 years ago
Joas Schilling 2c6f32cb28
feat(request): Allow to match the client version with the IRequest::USER_AGENT_* regex 3 years ago
jld3103 b0001c6010
Add template types to responses 3 years ago
Christoph Wurst 08a3f37695
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript 3 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
MichaIng 5f90b8eb11
Change X-Robots-Tag header from "none" to "noindex, nofollow" 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Christoph Wurst 20fcfb5739
feat(app framework)!: Inject services into controller methods 3 years ago
Christoph Wurst b6dd1a1d7b
fix(app framework): Fix missing cast of double controller parameters 3 years ago
Artur Neumann 81f2857f34
check if params given to API are really an array 3 years ago
Côme Chilliet 68363f6944
Fix some more problems with tests under PHP 8.2 3 years ago
Stanimir Bozhilov 46c10c77e1 Fix the JSON content type regex to match all MIME types 3 years ago
Stanimir Bozhilov f7d51a39cf Add unit tests for application/scim+json content type 3 years ago
Simon Leiner 09362eaeaa
Support specifying IPv6 proxies in CIDR notation 3 years ago
Côme Chilliet 1bd5222224
Fix PHP 8.2 warnings about undeclared properties 4 years ago
Côme Chilliet c7e1c36362
Remove at matcher uses in tests/lib 4 years ago
Julius Härtl 3901a93c72
Use JSON_THROW_ON_ERROR instead of custom error handling 4 years ago
Julius Härtl bd03dd37be
Allow to set a strict-dynamic CSP through the API 4 years ago
Julius Härtl 2dd96fe8da
Fix tests 4 years ago
Joas Schilling cc6653e45c
Adjust and add unit tests 4 years ago
Robin Appelman c712987878
send request id in response header 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Côme Chilliet 3a1b3745eb
Fix DateTime constructor calls with null 4 years ago
Lukas Reschke 377514aad1 Escape filename in Content-Disposition 5 years ago
Roeland Jago Douma 9163790b7c
Set frame-ancestors to none if none are filled 5 years ago
Roeland Jago Douma fa6a790859
Remove deprecated OCSResponse 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Joas Schilling 95a301ea57
Fix tests 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Morris Jobke 0123cd0ae3
Use assertStringContainsString instead of assertContains on strings 6 years ago
Joas Schilling 74a9cadc50
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 6 years ago
Joas Schilling b7060be18d
Fix robots "noindex, nofollow" signals 6 years ago
Roeland Jago Douma fbf9772a3e
Allow to specify the cookie type for appframework responses 6 years ago
Roeland Jago Douma c006b5ff2a
Fix unit test of the ResponseTest 6 years ago
Roeland Jago Douma 12fa748c49
Move the notmodified check to middleware where it belongs 6 years ago
Clement Wong 979dd1b6f5 Fix http cache test 6 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2a529e453a
Use a blank line after the opening tag 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Daniel Kesselberg 8331d8296b
Make getServerHost more robust to faulty user input 6 years ago
Daniel Kesselberg d393b1612b
Modify regex to match some other chromium browsers 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago