aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/share
Commit message (Collapse)AuthorAgeFilesLines
* extract mail view for sending share invitationsChristoph Wurst2016-04-191-0/+1
| | | | fixes #22947
* Merge pull request #23973 from owncloud/share_move_post_delete_from_group_hookThomas Müller2016-04-191-46/+0
|\ | | | | Move post_removeFromGroup to shareManager
| * Move post_removeFromGroup to shareManagerRoeland Jago Douma2016-04-131-46/+0
| | | | | | | | | | | | | | | | The last sharing hook to be moved over. * Added unit tests * Removed old tests that relied on old behaviour * Removed old hooks.php
* | Fix Share::getUsersSharingFile() for mount pointsJoas Schilling2016-04-131-4/+17
|/
* misc: Fix some typosStefan Weil2016-04-121-1/+1
| | | | | | Some of them were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Migrate post_groupDelete hook to share manager (#23841)Roeland Douma2016-04-121-13/+0
| | | | | | | | The hook now calls the share manager that will call the responsible shareProvider to do the proper cleanup. * Unit tests added Again nothing should change it is just to cleanup old code
* Remove pre/post_addToGroup hooks for sharesRoeland Jago Douma2016-04-081-118/+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.
* Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-041-18/+0
| | | | | | | | | | | | | This makes the post_userDelete hook call the sharemanager. This will cleanup to and from this user. * All shares owned by this user * All shares with this user (user) * All custom group shares * All link share initiated by this user (to avoid invisible link shares) Unit tests are added for the defaultshare provider as well as the federated share provider
* Generate a valid URL for link notificationRoeland Jago Douma2016-03-151-2/+11
| | | | | | fixes #23197 * Updated unit test
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-014-4/+0
|
* Update author informationLukas Reschke2016-03-013-0/+4
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Add autodiscovery support to server-to-server sharingLukas Reschke2016-02-262-11/+16
| | | | Adds autodiscovery support to server-to-server sharing as specified in the specification. If no discovery data is found it is using the fallback ownCloud endpoints for legacy support.
* Merge pull request #21854 from owncloud/fix-share-hook-group-addThomas Müller2016-02-251-0/+17
|\ | | | | Fix addUserToGroup hook of the share code
| * Fix addUserToGroup hook of the share codeMorris Jobke2016-01-221-0/+17
| | | | | | | | | | | | * sets up the filesystem of the user that is added to a group to properly accept shares * fixes #18499
* | Also filter the old share info endpointRoeland Jago Douma2016-02-101-1/+5
| | | | | | | | Make sure we do not show an icon if we can't display a share
* | More fixesJoas Schilling2016-02-091-2/+2
| |
* | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2016-02-082-2/+12
| | | | | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* | When a user is removed we should remove the right sharesRoeland Jago Douma2016-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This means all the shares directly shared with them * Or all group shares having a special share with them This patch fixes the operator precedece (AND before OR). So before this patch: (share_with = <deleted user> AND share_type = 0) OR share_type=2 So it deleted all user specific shares Now: share_with = <deleted user> AND (share_type = 0 OR (share_type=2)
* | Replace other usagesJoas Schilling2016-01-251-1/+2
|/
* Happy new year!Thomas Müller2016-01-126-11/+13
|
* getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-111-2/+2
|
* Properly close db cursorsRoeland Jago Douma2016-01-081-3/+6
|
* Make sure to respect deleted group shares by userRoeland Jago Douma2016-01-081-1/+3
|
* Moved to the query builderRoeland Jago Douma2016-01-081-17/+56
| | | | Anything to keep Lukas happy
* Make sure that permissions stay in sync for share_type 2Roeland Jago Douma2016-01-081-44/+73
| | | | | | | | | | When a file/folder is shared with a group and one of the group members moves this file/folder an extra entry is created in the share table. When the permission of the group share is updated we used to only sometimes update the shares for individual users. * Added intergration tests
* Remove OC_DB::getConnectionMorris Jobke2016-01-071-1/+1
|
* Remove OC_DB::insertidMorris Jobke2016-01-071-1/+1
|
* Remove OC_DB::isErrorMorris Jobke2016-01-071-3/+3
|
* don't allow to create a federated share if source and target server are the sameBjörn Schießle2015-12-142-2/+45
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-101-3/+3
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Merge pull request #21005 from owncloud/verify_password_before_unshareThomas Müller2015-12-091-0/+5
|\ | | | | The ajax code path unshares a link share when updating the password
| * The ajax code path unshares a link share when updating the passwordRoeland Jago Douma2015-12-071-0/+5
| | | | | | | | | | In order to not mess up existing shares if the password gets verified we should first fire this validation.
* | Add explicit check for groups excluded from sharingVincent Petry2015-12-081-1/+1
| | | | | | | | | | Since isSharable() doesn't do the check for groups excluded from sharing, adding an explicit check in the sharing code.
* | Merge pull request #20981 from ↵Thomas Müller2015-12-071-1/+3
|\ \ | | | | | | | | | | | | owncloud/issue-19848-multiple-emails-for-sharelink Allow sending a share email to multiple users
| * | Allow sending a share email to multiple usersJoas Schilling2015-12-071-1/+3
| |/
* / [Sharing] Properly check if a group already has accessRoeland Jago Douma2015-12-041-4/+2
|/ | | | | | | The old code check was to liberal resulting in wrong matches if a user with the same name as the group already had access. Fixes 20892
* Adding unit test for MailNotifications::sendInternalShareMail()Thomas Müller2015-12-021-5/+5
|
* User IUser::getEMailAddress() all over the placeThomas Müller2015-12-021-16/+22
|
* Reduce OC_Config usage in lib/Morris Jobke2015-12-021-1/+1
| | | | * replaced by proper public interfaces
* Check the expiration date for nullMorris Jobke2015-12-011-1/+7
| | | | | | * null is always less than any value -> expirationDate gets null which is "no date set" * ref https://github.com/owncloud/core/issues/20590#issuecomment-158393075
* use hooks to auto add server to the list of trusted servers once a federated ↵Björn Schießle2015-11-241-1/+4
| | | | share was created
* lastInsertId() is properly working with Oracle if the table name is properly ↵Thomas Müller2015-11-231-16/+1
| | | | passed in
* Use mocks when testing isSharingDisabledForUserThomas Müller2015-11-191-1/+1
|
* Fix Error message when sharing outside of groupRoeland Jago Douma2015-11-091-2/+2
| | | | For #19788
* cache result from parent foldersBjoern Schiessle2015-11-041-2/+3
|
* Allow separate templates for internal and external share notificationsStephen Colebrook2015-10-291-5/+5
|
* Update license headersLukas Reschke2015-10-261-2/+1
|
* Fix for broken ajax/share.php endpointRoeland Jago Douma2015-10-231-8/+16
| | | | | Even more code mess :( All tests pass again. But I'm really not happy with this endpoint.
* Ensure the password is only hashed in case it's changed on the client - ↵Thomas Müller2015-10-221-7/+11
| | | | fixes #19950
* detect object homestorage in share codeRobin Appelman2015-10-161-1/+3
|