Commit Graph

150 Commits (fc445a2eaa2f93ae7f55b3af8800a87a69480a66)

Author SHA1 Message Date
Robin Appelman ccf57e0715 add separate event for rendering login page template 2 years ago
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP 2 years ago
Joas Schilling 1b387bb341
fix!: Remove legacy event dispatching Symfony's GenericEvent from AdditionalScripts 2 years ago
jld3103 2d6a62ccee
Add IgnoreOpenAPI attribute 3 years ago
Christoph Wurst 14719110b9 chore: Replace \OC::$server->query with \OCP\Server::get in /lib 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
Git'Fellow 5b5895a130 Drop meta robots tag 3 years ago
Joas Schilling 5b2d5767e1
fix(docs): Fix language and copy-paste class name in docs of CSP 3 years ago
Joas Schilling ecb8b55c5c
feat(security): Add PHP \Attribute for remaining security annotations 3 years ago
Joas Schilling 89c3c31402
feat(ratelimit): Add Attributes support to rate limit middleware 3 years ago
Joas Schilling e839eb9b5c
feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple 3 years ago
MichaIng 5f90b8eb11
Change X-Robots-Tag header from "none" to "noindex, nofollow" 3 years ago
Christoph Wurst 20e00cdf17
feat(app-framework): Add UseSession attribute to replace annotation 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Joas Schilling 82b98b4b9b
Fix typo in deprecated 3 years ago
Daniel c55ae98a3f
Add description for public and immutable 3 years ago
Daniel Kesselberg 855ef21883
Update docblock for cacheFor 3 years ago
Julius Härtl 3901a93c72
Use JSON_THROW_ON_ERROR instead of custom error handling 4 years ago
Daniel Kesselberg be99ea969e
Fix type for resource 4 years ago
Joas Schilling ad908cd87a
Make appName of TemplateResponse accessible in BeforeTemplateRenderedEvent 4 years ago
Daniel Kesselberg 7cd356ee7d
Fix psalm warning for zip response due wrong type 4 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
Carl Schwan 7dddbd0c35 Improve caching policy 4 years ago
Robin Appelman c712987878
send request id in response header 4 years ago
Carl Schwan 28970563a2
Remove some mentions of ownCloud from our api documentation 4 years ago
Daniel Rudolf a43de10d1e
Add RedirectToDefaultAppResponse::__construct() annotations 5 years ago
Daniel Rudolf e478db9161
Deprecate RedirectToDefaultAppResponse 5 years ago
Daniel Rudolf 2c7186a15f
Remove \OC::$server->getURLGenerator() usage 5 years ago
Daniel Rudolf 12059eb65b
Add IUrlGenerator::linkToDefaultPageUrl() 5 years ago
Christoph Wurst 6d5cfe0c66
Move DateTime::RFC2822 to DateTimeInterface::2822 5 years ago
Lukas Reschke 25ab4059c6 Add security.txt 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Lukas Reschke 377514aad1 Escape filename in Content-Disposition 5 years ago
Richard de Boer a0d265b0b1 Fix a usort comparison function returning a boolean instead of an integer 5 years ago
Joas Schilling 02c011c4f7
Make debugging easier which header is being set 5 years ago
Christoph Wurst 08d4458542
Initialize \OCP\AppFramework\Http\ZipResponse::$resources 5 years ago
Christoph Wurst 9ce3ea3368
Update license headers 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Joas Schilling 329ffa257e
Log an error when setting a custom header on "Not Modified" responses 5 years ago
Thomas Citharel 71cf92697c
Update comment to reflect current CSP policy 5 years ago
Roeland Jago Douma 1e111b2ad2
Fix DataResponse typehints 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
Julius Härtl 8ab2422b6c
Add acutal response to BeforeTemplateRenderedEvent 5 years ago
Julius Härtl 45a474071e
Remove @package annotations from public namespace 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Joas Schilling 35a8519591
Fix CS 5 years ago