summaryrefslogtreecommitdiffstats
path: root/lib/private/share
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Check for error when resharingRoeland Jago Douma2015-10-161-4/+4
|
* When sharing with the owner show the pathRoeland Jago Douma2015-10-161-1/+4
| | | | | The error message should contain the path that is being shared not the numeric id.
* Merge pull request #19727 from owncloud/fix_19678Thomas Müller2015-10-141-2/+2
|\ | | | | Return path instead of itemsource
| * Return path instead of itemsourceRoeland Jago Douma2015-10-131-2/+2
| | | | | | | | | | | | Fixes #19678 Errors should contain paths and not internal ids
* | Squash collection sharesRoeland Jago Douma2015-10-131-0/+1
|/ | | | | | | | | | | | 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
* Merge pull request #19511 from owncloud/etag-share-permissions-updateRobin Appelman2015-10-061-1/+9
|\ | | | | Mark shares as dirty when changing permissions
| * Mark shares as dirty when changing permissionsRobin Appelman2015-10-061-1/+9
| |
* | OC_Log not longer existsThomas Müller2015-10-061-1/+1
|/
* Merge pull request #19597 from owncloud/update-license-headersThomas Müller2015-10-061-0/+1
|\ | | | | update licence headers via script