summaryrefslogtreecommitdiffstats
path: root/lib/private/share/share.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-011-0/+2
| | | | 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-261-9/+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.
* 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-081-0/+10
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Replace other usagesJoas Schilling2016-01-251-1/+2
|
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* 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-141-2/+11
|
* 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.
* | [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
* 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
|
* 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
|