summaryrefslogtreecommitdiffstats
path: root/lib/private/share
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * update licence headers via scriptMorris Jobke2015-10-051-0/+1
| |
* | Merge pull request #19577 from ↵Thomas Müller2015-10-061-0/+6
|\ \ | | | | | | | | | | | | 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/+6
| |/ | | | | | | | | | | | | | | | | 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.
* | Make sure all variables are definedJoas Schilling2015-10-051-0/+2
| |
* | Make sure the share we found is for the same itemJoas Schilling2015-10-051-1/+1
|/
* Do not blindy copy expiration date on reshareRoeland Jago Douma2015-09-251-1/+0
| | | | | | | | | | 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
* Discard expiration date from result for non-link sharesVincent Petry2015-09-171-0/+5
|
* started to implement sharee list view. not completed yet, do not cry please.Arthur Schiwon2015-09-161-0/+1
|
* split off expirationViewArthur Schiwon2015-09-161-0/+1
|
* split off linkShareViewArthur Schiwon2015-09-161-0/+1
|
* split ShareDialogResharerInfoView from base viewArthur Schiwon2015-09-161-0/+1
|
* further work on reimplementing the dialog layoutArthur Schiwon2015-09-161-0/+1
|
* refactor share dialog for multi-purpose use (dropdown, sidebar) and better ↵Arthur Schiwon2015-09-161-0/+2
| | | | maintainability
* Allow 0 and false as passwordLukas Reschke2015-09-081-1/+1
| | | | | | When we use the check for "empty" here passwords such as 0 will not work. Fixes https://github.com/owncloud/password_policy/issues/8
* Merge pull request #18833 from owncloud/share-prevent-twiceMorris Jobke2015-09-041-0/+12
|\ | | | | Prevent sharing twice with user when already a group
| * Prevent sharing twice with user when already a groupVincent Petry2015-09-041-0/+12
| |
* | setup owner when getting users for shareRobin Appelman2015-09-031-0/+2
|/
* Merge pull request #18651 from owncloud/ocs_share_create_with_expireVincent Petry2015-08-301-0/+15
|\ | | | | Allow to directly set the expireDate on a new (link)share
| * Actually validate the expire date on shareRoeland Jago Douma2015-08-301-0/+15
| | | | | | | | * Added more intergration tests
* | Change log level of debugging logs to debugJoas Schilling2015-08-241-22/+22
|/