summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add file row indicator for unread commentsVincent Petry2016-02-031-1/+1
|
* Added JS unit tests for commentsVincent Petry2016-02-021-0/+12
|
* Merge pull request #22054 from vincchan/vincchan/fix#20199Thomas Müller2016-02-021-5/+0
|\ | | | | Move data protection check to javascript
| * Move data protection check to javascriptVincent Chan2016-02-011-5/+0
| | | | | | | | fixes #20199
* | Merge pull request #22013 from owncloud/share2_moveshareThomas Müller2016-02-022-0/+142
|\ \ | | | | | | [Share 2.0] Allow moving of shares
| * | [Share 2.0] Allow moving of sharesRoeland Jago Douma2016-02-022-0/+142
| | | | | | | | | | | | | | | * Only recipient can move a share * Unit tests
* | | Merge pull request #22049 from owncloud/issue-22041-activities-for-systemtagsThomas Müller2016-02-022-9/+35
|\ \ \ | | | | | | | | Issue 22041 activities for systemtags
| * | | Dispatch events when tags are added/updated/deletedJoas Schilling2016-02-021-1/+14
| | | |
| * | | Dispatch some events when tags are un-/assignedJoas Schilling2016-02-022-8/+21
| | | |
* | | | Merge pull request #22057 from owncloud/share2_update_hashThomas Müller2016-02-021-0/+21
|\ \ \ \ | | | | | | | | | | Update old password hashed for link shares on access
| * | | | Update old password hashed for link shares on accessRoeland Jago Douma2016-02-011-0/+21
| |/ / / | | | | | | | | | | | | Fixes https://github.com/owncloud/core/issues/16594
* | | | Merge pull request #21988 from owncloud/allow-search-in-synced-addressbooksThomas Müller2016-02-021-114/+0
|\ \ \ \ | |_|/ / |/| | | Allow search in synced addressbooks
| * | | The local address book is replaced now by the system addressbook as part of ↵Thomas Müller2016-02-021-114/+0
| |/ / | | | | | | | | | the dav app
* / / [Share 2.0] Allow recipient to be passed in to getShareByIdRoeland Jago Douma2016-02-021-0/+38
|/ / | | | | | | | | * 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-012-1/+78
|\ \ | |/ |/| Comments WebDAV adjustements
| * introduce comments read marke tables, comes with user cleanup after deletionArthur Schiwon2016-01-292-2/+59
| |
| * Comments WebDAV adjustementsArthur Schiwon2016-01-292-1/+21
| |
* | Merge pull request #22028 from owncloud/share_hook_expirationdateThomas Müller2016-02-011-19/+111
|\ \ | | | | | | Share hook expirationdate
| * | Add Unit testsRoeland Jago Douma2016-01-301-19/+111
| | |
* | | Merge pull request #21989 from owncloud/make-csp-modifiableThomas Müller2016-02-015-19/+533
|\ \ \ | | | | | | | | 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-19/+533
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-011-3/+75
|\ \ \ \ | |_|/ / |/| | | 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-291-3/+75
| | |/ | |/| | | | | | | | | | | | | 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 #21956 from owncloud/cross-cache-moveThomas Müller2016-01-292-2/+33
|\ \ \ | |/ / |/| | Add fallback moveFromCache implementation
| * | Add fallback moveFromCache implementationRobin Appelman2016-01-292-2/+33
| | |
* | | [Share 2.0] When deleting a group share delete childrenRoeland Jago Douma2016-01-281-56/+58
| |/ |/| | | | | | | | | For group shares we can have children. Those are custom shares when a user has moved or deleted a group share. Those also have to be deleted if the group share is removed.
* | Merge pull request #21858 from owncloud/getMountsForFileIdThomas Müller2016-01-281-7/+125
|\ \ | | | | | | add IUserMountCache->getMountsForFileId
| * | Fix failing oracle and postgres testsJoas Schilling2016-01-271-2/+2
| | |
| * | add IUserMountCache->getMountsForFileIdRobin Appelman2016-01-271-7/+125
| |/
* | [Share 2.0] Fix interfaces and commentsRoeland Jago Douma2016-01-282-73/+73
| | | | | | | | | | | | | | | | * 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/+2
| |
* | [Share 2.0] Move IShare to OCPRoeland Jago Douma2016-01-272-24/+26
| |
* | [Share 2.0] Fix IShareRoeland Jago Douma2016-01-271-3/+3
| |
* | Check whether ownCloud is installedLukas Reschke2016-01-273-77/+195
| | | | | | | | | | | | ownCloud might not yet be setup. This causes an issue as the user config requires a setup ownCloud. Thus this needs a block whether ownCloud is installed or not. Fixes https://github.com/owncloud/core/issues/21955
* | Merge pull request #21940 from ↵Thomas Müller2016-01-271-7/+7
|\ \ | |/ |/| | | | | owncloud/share2_do_not_returned_removed_group_shares [Share 2.0] Properly handle user deleted group shares
| * [Share 2.0] Properly handle user deleted group sharesRoeland Jago Douma2016-01-271-7/+7
| | | | | | | | | | | | If a user deletes a group share we create a special share entry. To the API this is just a normal group share for that user with permissions 0. But we should not return this.
* | Merge pull request #21741 from owncloud/l10n-improvementsThomas Müller2016-01-274-48/+527
|\ \ | | | | | | Move methods to the factory that are not related to translating, but to guessing/finding the language
| * | Add tests for findAvailableLanguagesJoas Schilling2016-01-261-0/+22
| | |
| * | Add tests for findLanguage()Joas Schilling2016-01-262-6/+133
| | |
| * | Remove tests for wrapperJoas Schilling2016-01-261-43/+0
| | |
| * | Add tests for the factoryJoas Schilling2016-01-261-0/+201
| | |
| * | Add tests for the new l10n classJoas Schilling2016-01-261-0/+162
| | |
| * | Move legacy test file to new locationJoas Schilling2016-01-261-5/+11
| | |
| * | Fix the testsJoas Schilling2016-01-261-0/+4
| | |
| * | Move findLanguage() and setLanguageFromRequest() to factoryJoas Schilling2016-01-261-1/+1
| | |
* | | Merge pull request #21887 from owncloud/share2_updateShareThomas Müller2016-01-272-70/+660
|\ \ \ | | | | | | | | [Sharing 2.0] update share
| * | | Fix comments from ThomasRoeland Jago Douma2016-01-262-21/+22
| | | |
| * | | [share 2.0] manager unit testsRoeland Jago Douma2016-01-261-1/+245
| | | |
| * | | [Share 2.0] Fix unit testsRoeland Jago Douma2016-01-261-46/+52
| | | |
| * | | [Share 2.0] Add unit test for the default share providerRoeland Jago Douma2016-01-261-7/+346
| |/ /