summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22013 from owncloud/share2_moveshareThomas Müller2016-02-022-3/+30
|\ | | | | [Share 2.0] Allow moving of shares
| * [Share 2.0] Allow moving of sharesRoeland Jago Douma2016-02-022-3/+30
| | | | | | | | | | * Only recipient can move a share * Unit tests
* | Merge pull request #22049 from owncloud/issue-22041-activities-for-systemtagsThomas Müller2016-02-022-0/+178
|\ \ | |/ |/| Issue 22041 activities for systemtags
| * Dispatch events when tags are added/updated/deletedJoas Schilling2016-02-021-0/+85
| |
| * Dispatch some events when tags are un-/assignedJoas Schilling2016-02-021-0/+93
| |
* | [Share 2.0] Allow recipient to be passed in to getShareByIdRoeland Jago Douma2016-02-022-4/+9
|/ | | | | * This allows us to retrieve usergroup shares for a given id. If the user deleted a share or moved it this will be a different share
* Merge pull request #21967 from owncloud/comments-webdavThomas Müller2016-02-011-1/+47
|\ | | | | Comments WebDAV adjustements
| * introduce comments read marke tables, comes with user cleanup after deletionArthur Schiwon2016-01-291-0/+19
| |
| * Comments WebDAV adjustementsArthur Schiwon2016-01-291-1/+28
| |
* | Merge pull request #21989 from owncloud/make-csp-modifiableThomas Müller2016-02-015-323/+458
|\ \ | | | | | | Add public API to give developers the possibility to adjust the global CSP defaults
| * | Add public API to give developers the possibility to adjust the global CSP ↵Lukas Reschke2016-01-285-323/+458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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' ```
* | | Merge pull request #22022 from owncloud/share_ocs_filter_path_sharedwithmeThomas Müller2016-02-012-2/+6
|\ \ \ | | | | | | | | Add path filter to OCS Share API shared_with_me=true
| * | | Add path filter to OCS Share API ?shared_with_me=trueRoeland Jago Douma2016-01-292-2/+6
| | |/ | |/| | | | | | | | | | | | | This allows all clients to quickly get the share info for a given path. Instead of returning everything and filtering it then manually on the client side.
* | | Merge pull request #22012 from owncloud/storagenotavailableexception-codeThomas Müller2016-02-011-1/+1
|\ \ \ | | | | | | | | Default to STATUS_ERROR in StorageNotAvailableException
| * | | Default to STATUS_ERROR in StorageNotAvailableExceptionRobin McCorkell2016-01-291-1/+1
| | | |
* | | | Merge pull request #21956 from owncloud/cross-cache-moveThomas Müller2016-01-292-1/+5
|\ \ \ \ | |_|/ / |/| | | Add fallback moveFromCache implementation
| * | | Add fallback moveFromCache implementationRobin Appelman2016-01-292-1/+5
| | | |
* | | | Remove other broken usages in deprecated methodsJoas Schilling2016-01-291-35/+3
| | | |
* | | | Deprecate the method and warn against using itJoas Schilling2016-01-281-0/+2
| |_|/ |/| |
* | | Merge pull request #21858 from owncloud/getMountsForFileIdThomas Müller2016-01-281-0/+15
|\ \ \ | | | | | | | | add IUserMountCache->getMountsForFileId
| * | | add IUserMountCache->getMountsForFileIdRobin Appelman2016-01-271-0/+15
| |/ /
* | | [Share 2.0] Remove setId and setProviderId from the interfaceRoeland Jago Douma2016-01-281-18/+0
| | | | | | | | | | | | Those should only ever be set by the providers
* | | [Share 2.0] Fix interfaces and commentsRoeland Jago Douma2016-01-283-49/+51
| | | | | | | | | | | | | | | | | | | | | | | | * Made comments more clear * Removed unneeded methods * IShares shareTime is now a proper DateTime object * IShares getPath -> getNode & setPath -> setNode * Fix unit tests
* | | [Share 2.0] Add getShareManager to OCP\IServerContainerRoeland Jago Douma2016-01-271-0/+8
| | |
* | | [Share 2.0] Create IManger interface for share managerRoeland Jago Douma2016-01-271-0/+210
| | |
* | | [Share 2.0] Move IShare to OCPRoeland Jago Douma2016-01-273-0/+474
| | |
* | | clean cache interfaceRobin Appelman2016-01-271-15/+0
|/ /
* | Merge pull request #21741 from owncloud/l10n-improvementsThomas Müller2016-01-271-0/+43
|\ \ | | | | | | Move methods to the factory that are not related to translating, but to guessing/finding the language
| * | Move finding the language files and creating the function out of the objectJoas Schilling2016-01-261-0/+10
| | |
| * | Move findLanguage() and setLanguageFromRequest() to factoryJoas Schilling2016-01-261-0/+16
| | |
| * | Move languageExists() to the factoryJoas Schilling2016-01-261-0/+8
| | |
| * | Move findAvailableLanguages() to the factoryJoas Schilling2016-01-261-0/+9
| | |
* | | Fix Oracle comparisonsJoas Schilling2016-01-261-25/+73
| | |
* | | Adjust comments to the new constantsJoas Schilling2016-01-261-1/+1
|/ /
* | Merge pull request #21894 from owncloud/refactor-csrfThomas Müller2016-01-261-3/+13
|\ \ | |/ |/| Add new CSRF manager for unit testing purposes
| * Add new CSRF manager for unit testing purposesLukas Reschke2016-01-251-3/+13
| | | | | | | | This adds a new CSRF manager for unit testing purposes, it's interface is based upon https://github.com/symfony/security-csrf. Due to some of our required custom changes it is however not possible to use the Symfony component directly.
* | Merge pull request #21892 from owncloud/issue-21890-parametersThomas Müller2016-01-251-0/+39
|\ \ | | | | | | Add parameters types to IQueryBuilder
| * | Add parameters to public interfaceJoas Schilling2016-01-251-0/+39
| | |
* | | Adding support of -1 as size to be passed into get and getFileThomas Müller2016-01-251-3/+3
|/ /
* / Remove OC_Helper::imagePath and use the proper public interfaceMorris Jobke2016-01-241-2/+2
|/
* Merge pull request #21719 from owncloud/move-notification-api-to-ocpThomas Müller2016-01-226-2/+487
|\ | | | | Move the notification API to public namespace
| * Allow automatic injection of the ManagerJoas Schilling2016-01-221-1/+1
| |
| * Adjust the since on the interfaceJoas Schilling2016-01-225-48/+48
| |
| * Move the notification API to public namespaceJoas Schilling2016-01-226-1/+486
| |
* | Merge pull request #18531 from owncloud/ext-user-credentialsThomas Müller2016-01-224-1/+96
|\ \ | | | | | | External storage 'Login credentials' auth mechanism
| * | allow comparing clob using expressionbuilder->eq if you explicitly say ↵Robin Appelman2016-01-181-1/+3
| | | | | | | | | | | | you're comparing strings
| * | Introduce CredentialsManager for storage of credentials in DBRobin McCorkell2016-01-182-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Introduce IDBConnection::setValues()Robin McCorkell2016-01-181-0/+14
| | | | | | | | | | | | | | | setValues() attempts to insert a new row, or failing that, update an existing row. The ability to set preconditions is also available.
* | | Merge pull request #20768 from owncloud/mount-cacheThomas Müller2016-01-223-0/+160
|\ \ \ | |_|/ |/| | cache mountpoints in the db
| * | clear mount cache when removing applicablesRobin Appelman2016-01-201-0/+19
| | |