- Nov 18, 2020
-
-
Roeland Jago Douma authored
frame-ancestors doesn't fall back to default-src. So when we apply a very restricted CSP we should make sure to set it to 'none' and not leave it empty. Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Jun 25, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Apr 10, 2020
-
-
Christoph Wurst authored
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Apr 09, 2020
-
-
Christoph Wurst authored
For PSR2 Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Mar 26, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Nov 27, 2019
-
-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Nov 22, 2019
-
-
Roeland Jago Douma authored
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Aug 10, 2019
-
-
Roeland Jago Douma authored
This adds the events and the classes to modify the feature policy. It also adds a default restricted feature policy. Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Apr 16, 2019
-
-
Roeland Jago Douma authored
For #14179 By default responses should have the strictest (and simplest) CSP possible. Only template responses should require an actual CSP. Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Jan 08, 2019
-
-
Roeland Jago Douma authored
For #13042 Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Jan 07, 2019
-
-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Oct 14, 2018
-
-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Mar 29, 2017
-
-
Morris Jobke authored
Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
- Mar 16, 2017
-
-
Lukas Reschke authored
Signed-off-by:
Lukas Reschke <lukas@statuscode.ch>
-
- Jan 10, 2017
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- May 20, 2016
-
-
Joas Schilling authored
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader
-
- May 18, 2016
-
-
Joas Schilling authored
-
- Sep 29, 2015
-
-
Lukas Reschke authored
Fixes https://github.com/owncloud/core/issues/19438
-
- Aug 10, 2015
-
-
sualko authored
-
- Feb 16, 2015
-
-
Lukas Reschke authored
This change allows AppFramework applications to specify a custom CSP header for example when the default policy is too strict. Furthermore this allows us to partially migrate away from CSS and allowed eval() in our JavaScript components. Legacy ownCloud components will still use the previous policy. Application developers can use this as following in their controllers: ```php $response = new TemplateResponse('activity', 'list', []); $cspHelper = new ContentSecurityPolicyHelper(); $cspHelper->addAllowedScriptDomain('www.owncloud.org'); $response->addHeader('Content-Security-Policy', $cspHelper->getPolicy()); return $response; ``` Fixes https://github.com/owncloud/core/issues/11857 which is a pre-requisite for https://github.com/owncloud/core/issues/13458 and https://github.com/owncloud/core/issues/11925
-
- Nov 19, 2014
-
-
Joas Schilling authored
-
- Oct 29, 2014
-
-
Bernhard Posselt authored
fix docstrings adjust copyright date another copyright date update another header update implement third headers argument, fix indention, fix docstrings fix docstrings
-