aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/iservercontainer.php
Commit message (Collapse)AuthorAgeFilesLines
* Move IServerContainter to PSR-4Roeland Jago Douma2016-03-221-522/+0
|
* Add public API to give developers the possibility to adjust the global CSP ↵Lukas Reschke2016-01-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defaults Allows to inject something into the default content policy. This is for example useful when you're injecting Javascript code into a view belonging to another controller and cannot modify its Content-Security-Policy itself. Note that the adjustment is only applied to applications that use AppFramework controllers. To use this from your `app.php` use `\OC::$server->getContentSecurityPolicyManager()->addDefaultPolicy($policy)`, $policy has to be of type `\OCP\AppFramework\Http\ContentSecurityPolicy`. To test this add something like the following into an `app.php` of any enabled app: ``` $manager = \OC::$server->getContentSecurityPolicyManager(); $policy = new \OCP\AppFramework\Http\ContentSecurityPolicy(false); $policy->addAllowedFrameDomain('asdf'); $policy->addAllowedScriptDomain('yolo.com'); $policy->allowInlineScript(false); $manager->addDefaultPolicy($policy); $policy = new \OCP\AppFramework\Http\ContentSecurityPolicy(false); $policy->addAllowedFontDomain('yolo.com'); $manager->addDefaultPolicy($policy); $policy = new \OCP\AppFramework\Http\ContentSecurityPolicy(false); $policy->addAllowedFrameDomain('banana.com'); $manager->addDefaultPolicy($policy); ``` If you now open the files app the policy should be: ``` Content-Security-Policy:default-src 'none';script-src yolo.com 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src yolo.com 'self';connect-src 'self';media-src 'self';frame-src asdf banana.com 'self' ```
* [Share 2.0] Add getShareManager to OCP\IServerContainerRoeland Jago Douma2016-01-271-0/+8
|
* Merge pull request #21719 from owncloud/move-notification-api-to-ocpThomas Müller2016-01-221-2/+2
|\ | | | | Move the notification API to public namespace
| * Allow automatic injection of the ManagerJoas Schilling2016-01-221-1/+1
| |
| * Move the notification API to public namespaceJoas Schilling2016-01-221-1/+1
| |
* | Introduce CredentialsManager for storage of credentials in DBRobin McCorkell2016-01-181-0/+8
|/ | | | | | | | | | | CredentialsManager performs a simple role, of storing and retrieving encrypted credentials from the database. Credentials are stored by user ID (which may be null) and credentials identifier. Credentials themselves may be of any type that can be JSON encoded. The rationale behind this is to avoid further (mis)use of oc_preferences, which was being used for all manner of data not related to user preferences.
* Merge pull request #21653 from owncloud/update-license-headers-2016Thomas Müller2016-01-131-2/+4
|\ | | | | Update license headers 2016
| * Happy new year!Thomas Müller2016-01-121-2/+4
| |
* | Allow admins to add system wide root certificatesRobin Appelman2016-01-121-1/+1
|/
* anounce CommentsManager getter in public server interfaceArthur Schiwon2015-12-091-0/+6
|
* Added system tags data structure and PHP side managersVincent Petry2015-11-271-0/+18
| | | | Added SystemTagManager and SystemTagObjectMapper
* Update license headersLukas Reschke2015-10-261-1/+1
|
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Add the L10N Factory to the container interfaceJoas Schilling2015-09-251-0/+6
|
* Move interfaces to private until they are no longer experimentalJoas Schilling2015-09-081-1/+1
|
* Notification APIJoas Schilling2015-09-081-1/+8
|
* Split mimetype handling to new classRobin McCorkell2015-09-041-0/+8
|
* Adding EventDispatcher to IServerContainerThomas Müller2015-08-141-0/+9
|
* Use DIRoeland Jago Douma2015-08-101-7/+0
| | | | | | | | * Register OCP\Capability\IManager at DIContainer * Add register capabilities to appframework * Register capabilities in DI way * Make unit test pass again * Remove CapabiltiesManager from OCP
* Added Capabilities ManagerRoeland Jago Douma2015-08-101-0/+8
| | | | | | | * This should allow the capabilities to be intergrated into the appframework * Unit tests * Throw exception if closure does not return ICapability instance
* Added mimetype detectorRoeland Jago Douma2015-07-271-0/+9
| | | | * Copied unit tests from old functions
* Add getUserFolder to IRootFolderMorris Jobke2015-07-031-0/+1
| | | | | * untangle DI of user specific folders * allows to autodetect the dependency
* expose the mount manager in the public apiRobin Appelman2015-07-011-0/+6
|
* update license headers and authorsMorris Jobke2015-06-251-0/+1
|
* Fix return value for OCP PHPDocMorris Jobke2015-06-171-1/+1
|
* Fix OCP PHPDocMorris Jobke2015-06-171-2/+2
| | | | * was always a string instead of \OCP\IUser
* [OCP] update PHPdoc to contain correct @since tagsMorris Jobke2015-06-051-1/+1
|
* expose locking provider in the server containerRobin Appelman2015-06-011-0/+8
|
* Fix return type of the getRootFolder() methodJoas Schilling2015-04-281-1/+1
|
* add $encryptionModuleId to methods of Keys/IStorageThomas Müller2015-04-221-3/+1
|
* Add version to @deprecated tagsMorris Jobke2015-04-191-2/+2
|
* add visibility of methods in server container and interfaceMorris Jobke2015-04-181-46/+46
|
* Add @since tags to all methods in public namespaceMorris Jobke2015-04-161-0/+47
| | | | | | | * enhance the app development experience - you can look up the method introduction right inside the code without searching via git blame * easier to write apps for multiple versions
* Merge pull request #15196 from owncloud/limit-file-activities-to-favoritesMorris Jobke2015-04-091-1/+1
|\ | | | | Limit file activities to favorites
| * Make scrutinizer happyJoas Schilling2015-04-011-1/+1
| |
* | fixing license headers - encryption code relatedThomas Müller2015-04-071-0/+1
| |
* | add helper class accessible for encryption modules to ask for a list of ↵Bjoern Schiessle2015-04-071-0/+5
| | | | | | | | users with access to a file, needed to apply the recovery key to all files
* | adding function getSecureRandom(); to IServerContainerThomas Müller2015-04-071-1/+7
| |
* | make recovery settings workBjoern Schiessle2015-04-071-0/+12
|/
* Update license headersJenkins for ownCloud2015-03-261-12/+19
|
* Add wrapper for GuzzleLukas Reschke2015-03-251-0/+8
|
* Migrate to SwiftMailLukas Reschke2015-03-161-1/+7
| | | | | | | | | | | | | | | | | | | | | Replaces the OC_Mail and phpmailer with SwiftMail allowing us to mock it properly. Fixes the unit test execution on master on local machines and https://github.com/owncloud/core/issues/12014 Conflicts: 3rdparty lib/private/server.php lib/public/iservercontainer.php tests/lib/mail.php tests/settings/controller/mailsettingscontrollertest.php Conflicts: 3rdparty lib/private/mail.php lib/private/server.php lib/public/iservercontainer.php settings/ajax/lostpassword.php settings/application.php
* Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-271-19/+19
|\ | | | | Revert "Updating license headers"
| * Revert "Updating license headers"Morris Jobke2015-02-261-19/+19
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Merge pull request #14300 from owncloud/commandbusMorris Jobke2015-02-261-0/+5
|\ \ | |/ |/| Add async command system to handle asynchronous operations
| * Rename getAsyncCommandBus to getCommandBusRobin Appelman2015-02-251-1/+1
| |
| * Add async command system to handle asynchronous operationsRobin Appelman2015-02-251-0/+5
| |
* | deprecate getters for deprecated classBernhard Posselt2015-02-251-1/+2
|/