Commit Graph

119 Commits (appStoreDisabledOcc)

Author SHA1 Message Date
Joas Schilling 1909b981a4
fix(controller): Fix false booleans in multipart/form-data 1 year 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
Ferdinand Thiessen 4d2556d4cf
refactor(IMenuAction): Make public menu actions use the new Vue UI 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Ferdinand Thiessen 009761be58
test: Adjust tests for CSP nonce 1 year ago
provokateurin 9d1705259c
fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checks 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Joas Schilling 9ed3ab7d87
test(request): Add tests to strip the port when forwarding requests 2 years ago
Arthur Schiwon 216b95f8b1 test(unit): fix RequestTest 2 years ago
Joas Schilling f6b6776c93
fix(API): Use a distinct exception so apps can react to it and customize the return 2 years ago
Arthur Schiwon 3fa43a529b
enh(dispatcher): enforce psalm ranges in the http dispatcher 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Ferdinand Thiessen ecf9f0a872
fix(CSP): Only add `strict-dynamic` when using nonces 2 years ago
Ferdinand Thiessen e231abd9bf
fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on `script-src-elem` 2 years ago
Ferdinand Thiessen 7df9eb3351 feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on `script-src-elem` only 2 years ago
Joas Schilling 2fa78f6245
Reverse X-Forwarded-For list to read the correct proxy remote address 2 years ago
Git'Fellow 066f6ef16c Stop sending deprecated Pragma header 2 years ago
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