nextcloud/tests
Lukas Reschke b20174bdad Allow AppFramework applications to specify a custom CSP header
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
2015-02-16 11:00:41 +01:00
..
acceptance correct delete-icon to icon-delete, fix #11128 2014-09-22 18:17:33 +02:00
core/lostpassword/controller Mock l10n in the setup 2015-02-01 17:46:48 +01:00
data Merge pull request #12625 from owncloud/app-dependencies-libs-and-commands 2014-12-15 12:34:46 +01:00
lib Allow AppFramework applications to specify a custom CSP header 2015-02-16 11:00:41 +01:00
settings Merge pull request #13753 from owncloud/use-403-instead-of-200 2015-02-07 13:25:15 +01:00
apps.php load test cases from enabled apps 2012-10-08 14:26:51 +02:00
bootstrap.php Load apps in test situations 2014-09-10 17:28:25 +02:00
enable_all.php Add provisioning_api app 2014-12-24 22:15:20 +01:00
karma.config.js Add unit test for external share JS dialog 2015-01-21 11:26:54 +01:00
phpunit-autotest-external.xml Setup a docker container that holds a webdav instance to test files_external 2014-12-17 21:50:35 +01:00
phpunit-autotest.xml Add provisioning_api app 2014-12-24 22:15:20 +01:00
phpunit.xml.dist Add provisioning_api app 2014-12-24 22:15:20 +01:00
preseed-config.php adding new config parameter for sqlite to specify the journal mode 2014-11-25 16:29:06 +01:00
startsessionlistener.php kill OC::$session 2014-08-29 10:22:21 +02:00