summaryrefslogtreecommitdiffstats
path: root/tests/lib/share
Commit message (Collapse)AuthorAgeFilesLines
* Move the group dummy backend to testRoeland Jago Douma2016-04-191-1/+1
| | | | | The dummy backend is only used for testing and should thus reside in tests.
* Move post_removeFromGroup to shareManagerRoeland Jago Douma2016-04-131-156/+0
| | | | | | | | The last sharing hook to be moved over. * Added unit tests * Removed old tests that relied on old behaviour * Removed old hooks.php
* Remove pre/post_addToGroup hooks for sharesRoeland Jago Douma2016-04-081-115/+0
| | | | | There is no need to perform the checks for unique targets on add to group as we have to do this all when mounting the shares anyway.
* Generate a valid URL for link notificationRoeland Jago Douma2016-03-151-4/+23
| | | | | | fixes #23197 * Updated unit test
* Move casting to IExpressionBuilderJoas Schilling2016-02-051-4/+4
|
* Removed deprecated function OC_User::deleteUserRoeland Jago Douma2015-12-171-8/+16
| | | | Replaced with proper OCP calls
* Removed deprecated private OC_User::createUserRoeland Jago Douma2015-12-171-7/+7
| | | | | All function calls are replaced with the recommended (which was already the body of the function).
* don't allow to create a federated share if source and target server are the sameBjörn Schießle2015-12-141-0/+37
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-101-1/+3
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Add a unit test for single user case as wellJoas Schilling2015-12-071-7/+9
|
* Allow sending a share email to multiple usersJoas Schilling2015-12-071-3/+17
|
* Adding unit test for MailNotifications::sendInternalShareMail()Thomas Müller2015-12-021-31/+70
|
* User IUser::getEMailAddress() all over the placeThomas Müller2015-12-021-46/+26
|
* Apply DB group annotation ...Thomas Müller2015-11-302-0/+12
|
* Check for error when resharingRoeland Jago Douma2015-10-161-6/+23
|
* When sharing with the owner show the pathRoeland Jago Douma2015-10-161-0/+24
| | | | | The error message should contain the path that is being shared not the numeric id.
* Squash collection sharesRoeland Jago Douma2015-10-131-0/+56
| | | | | | | | | | | | If folder1 is shared to user2 and user3. And folder1/folder2 is shared to user4 and user5 then getting all the users with access to folder1/folder2 should only list user2 and user 3 once. Previously this was done twice since we request the info two times. This fix makes sure that we only append unique results to the array. * Added test
* test objectstore with ceph dockerJörn Friedrich Dreyer2015-10-061-0/+5
| | | | | | | | | | | | | | | | use default config for swift primary storage test config allow testsuite to complete fix timeout, script cleanup, enable debug for now use btrfs loopback device, requires privileged container and absolute path throw exception when storage has problems debug by echo ... sleep more, more debug
* Merge pull request #19577 from ↵Thomas Müller2015-10-061-0/+37
|\ | | | | | | | | owncloud/share-donotreturnentrieswhenusernotingroup Remove invalid share items from result when missing group membership
| * Remove invalid share items from result when missing group membershipVincent Petry2015-10-051-0/+37
| | | | | | | | | | | | | | | | | | Group shares usually have subshare entries for every user. In some situations it can happen that the user was removed from the group but the subshare entries still exist. This fix makes sure that such subshare entries are not returned any more as the user isn't in the group any more.
* | Add a unit test for "share a file inside a folder that is already shared"Joas Schilling2015-10-051-0/+33
|/
* Do not blindy copy expiration date on reshareRoeland Jago Douma2015-09-251-0/+37
| | | | | | | | | | If a file/folder is reshared we should not blindly copy the expiration date of the parent share. User/Group shares do not have expiration dates currently, and thus this is always set to null. Fixes #19119 * Added testcase
* Remove unnecessary DB prefixes from existing query builder usagesJoas Schilling2015-08-101-2/+2
|
* Remove pointless unit testThomas Müller2015-08-041-7/+0
|
* Merge pull request #17195 from rullzer/no_multiple_remote_shares_of_same_fileRoeland Douma2015-07-281-0/+36
|\ | | | | Remote shares should be uique
| * Added testRoeland Jago Douma2015-07-151-0/+36
| |
* | Fix existing usages by removing the quotesJoas Schilling2015-07-211-9/+9
| |
* | Add unit tests and automatic quotingJoas Schilling2015-07-211-8/+8
| |
* | Use the public interface and our method instead of the doctrine thingJoas Schilling2015-07-211-14/+14
| |
* | Merge pull request #17381 from owncloud/fix_sharing_add_to_groupMorris Jobke2015-07-211-0/+108
|\ \ | |/ |/| [sharing] fix addToGroup hook
| * intproduce pre_addToGroup hook. we need to calculate the possible uniqueBjoern Schiessle2015-07-061-0/+108
| | | | | | | | | | targets before the user was added to the group otherwise we will always detect a name collision
* | Remove OC_AppconfigThomas Müller2015-07-031-16/+16
|/
* Use \OC\HintException and translate the hintJoas Schilling2015-06-222-1/+30
|
* Merge spliteUserRemote with fixRemoteUrlInShareWithJoas Schilling2015-06-221-49/+31
|
* make sure that we split username and server address at the first '@' from ↵Bjoern Schiessle2015-06-221-0/+39
| | | | the right to allow usernames containing '@'
* Move the helpful method to the TestCase classJoas Schilling2015-06-031-1/+1
|
* Merge pull request #15772 from ↵Joas Schilling2015-05-041-0/+33
|\ | | | | | | | | owncloud/issue-15771-dont-restrict-permissions-for-share-owner Do not restrict permissions for the original owner
| * Add a test to share a subfolder of a folder shared with the owner by groupJoas Schilling2015-04-291-0/+33
| |
* | Merge pull request #15596 from owncloud/issue/15589Morris Jobke2015-04-291-2/+56
|\ \ | | | | | | Correctly generate the feedback URL for remote share
| * | Add tests for the correct share id on the call aswellJoas Schilling2015-04-281-5/+8
| | |
| * | make scrutinizer happyJoas Schilling2015-04-281-1/+1
| | |
| * | Add tests for the remote sharing urlJoas Schilling2015-04-281-2/+53
| |/
* / Added unit testRoeland Jago Douma2015-04-281-0/+46
|/
* Add "Reply-To" support to sharing mails and refactor codeLukas Reschke2015-04-101-0/+237
|
* only create a db entry for the user in case of a name conflict on group shareBjoern Schiessle2015-04-091-0/+7
|
* Fix unit testRoeland Jago Douma2015-03-301-0/+4
|
* OCS Fixes to allow setting of password without removing additional settingsRoeland Jago Douma2015-03-301-0/+230
| | | | | | - Added setPassword to share.php - Fixed OCS API call - Added unit tests
* Merge pull request #15155 from owncloud/share-donotreturntrashedfilesMorris Jobke2015-03-271-0/+40
|\ | | | | Do not return shares for files outside "files"
| * Add logout in share test to avoid nasty side effectsVincent Petry2015-03-271-0/+1
| |
| * Do not return shares for files outside "files"Vincent Petry2015-03-271-0/+39
| |