Commit Graph

25 Commits (addParameterTypingVersionsMapper)

Author SHA1 Message Date
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 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
Joas Schilling 030e8d8916
fix: Align doc type with creation 2 years ago
Christoph Wurst 08a3f37695
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript 3 years ago
Vincent Petry 18c013d8fc
Add CSP policy merge priority for booleans 4 years ago
Julius Härtl bd03dd37be
Allow to set a strict-dynamic CSP through the API 4 years ago
J0WI ca7b37ce5a Make Security module strict 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma cf647451e5
Update CSP test cases to handle the new form-action 7 years ago
Roeland Jago Douma 5ac857bcdc
Add an event to edit the CSP 7 years ago
Roeland Jago Douma ad676c0102
Set default frame-ancestors to 'self' 7 years ago
Roeland Jago Douma 64244e1a4f
CSP: Allow fonts to be provided in data 7 years ago
Roeland Jago Douma 5b61ef9213
Disallow unsafe-eval by default 7 years ago
Joas Schilling bf2be08c9f
Fix risky tests without assertions 8 years ago
Morris Jobke f9bc53146d
Fix unit tests 9 years ago
Lukas Reschke adfd1e63f6
Add base-uri to CSP policy 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Joas Schilling 68481c10e6
Fix namespaces in security/ 10 years ago
Lukas Reschke 809ff5ac95 Add public API to give developers the possibility to adjust the global CSP defaults 10 years ago