summaryrefslogtreecommitdiffstats
path: root/lib/private/share
Commit message (Collapse)AuthorAgeFilesLines
* owner is stored as 'uid_owner', not as 'owner' in the oc_share tableBjoern Schiessle2015-07-031-2/+2
|
* Add "Reply-To" support for sharing notificationsLukas Reschke2015-04-121-10/+9
| | | | Very hacky backport of https://github.com/owncloud/core/pull/15541 - I changed the code path to use OC_Mail instead the OCP pendant since I didn't want to modify the public API. (OCP\Util::sendMail() is anyways deprecated with 8.1)
* Merge pull request #15072 from owncloud/fix_group_shareMorris Jobke2015-03-261-2/+3
|\ | | | | also call generateTarget for group shares
| * also call generateTarget for group share to add the correct prefix if ↵Bjoern Schiessle2015-03-201-2/+3
| | | | | | | | share_folder is defined in config.php
* | Do not overwrite the shareType so the post hook is still correctJoas Schilling2015-02-091-5/+5
| | | | | | | | | | Conflicts: lib/private/share/share.php
* | for password protected link shares the password is stored in shareWith, so ↵Bjoern Schiessle2015-02-051-2/+9
|/ | | | we need to set this manually to null for the hooks
* Fix getItemSharedWithUser for groupsVincent Petry2015-01-201-12/+17
| | | | | | | | Fixed SQL query for whenever a user has more than one group. Added missing $owner where clause for group lookup. Added unit tests for the group cases. Backport of 40931a8b0d5d10c0f711756a4e8a423ff055621e from master
* Consolidate if statement, and update unit testMiguel Prokop2014-11-261-4/+2
|
* fix calculation of expiration date if there is a default expiration date set ↵Miguel Prokop2014-11-261-3/+8
| | | | (but not forced) and the user does not want the link to expire.
* only users can have a display name different from the idBjoern Schiessle2014-11-181-1/+4
|
* make sure that we only find the shares from the correct share type if users ↵Bjoern Schiessle2014-11-181-2/+8
| | | | and groups with the same ID exists
* make sure that we don't find the wrong shares if a user and a group have the ↵Bjoern Schiessle2014-11-181-6/+10
| | | | same ID
* always use the correct share typeBjoern Schiessle2014-10-211-3/+3
|
* distinguish between file dependent shares and other sharesBjoern Schiessle2014-10-131-2/+3
|
* fix performance issuesBjoern Schiessle2014-10-101-18/+56
|
* some small fixed, suggested by scrutinizerBjoern Schiessle2014-10-013-5/+4
|
* on unshare only unshare childrens if there is no other parent availableBjoern Schiessle2014-10-012-15/+63
|
* only create a new share entry, if the user needs a different target name ↵Bjoern Schiessle2014-10-011-1/+1
| | | | than the group share
* for group shares we don't need a extra db entry of groupTarget equals itemTargetBjoern Schiessle2014-10-011-3/+3
|
* for group shares only the parent has the up-to-date permission. Make sure ↵Bjoern Schiessle2014-10-011-1/+12
| | | | that we always use this permission, except if the user permission is '0' because in this case the user unshared the group share from self
* call \OCP\Share::getItemsSharedWithUser() to get exclude list, this way all ↵Bjoern Schiessle2014-10-011-29/+5
| | | | checks are executed, e.g. to check if the share is really visible
* always select permissions, used in getItems()Bjoern Schiessle2014-10-011-2/+3
|
* some small fixesBjoern Schiessle2014-10-011-6/+1
|
* only add a new row if it isn't a unique share, otherwise update the existing rowBjoern Schiessle2014-10-011-1/+1
|
* fix add user to group to work with grouped sharesBjoern Schiessle2014-10-011-10/+18
|
* generateTarget() will always find a unique targetBjoern Schiessle2014-10-012-96/+80
|
* unit tests for grouping of shares pointing to the same sourceBjoern Schiessle2014-10-011-1/+1
|
* group shares and combine permissionsBjoern Schiessle2014-10-011-237/+247
|
* Use correct language package so the subject is correctly translatedJoas Schilling2014-09-091-1/+1
| | | | | | | Fix #10847 Conflicts: lib/private/share/mailnotifications.php
* we need the recipient as a additional parameter to know for which share the ↵Bjoern Schiessle2014-08-141-3/+4
| | | | notification was send
* Add scrollto to the url if sharing a file for long file listsTom Needham2014-08-111-3/+9
|
* Fix link to files and folders in internal share emailsTom Needham2014-08-111-4/+3
|
* remove trailing slash from pathBjoern Schiessle2014-08-061-1/+2
|
* don't display share permission if resharing was disabled by the adminBjoern Schiessle2014-08-051-1/+1
|
* make sure that we set the expire date if a date is adefault date is setBjoern Schiessle2014-07-301-1/+2
|
* remove share permission if user is excluded from sharingBjoern Schiessle2014-07-291-1/+1
|
* add OCS api call to set expire date for link sharesBjoern Schiessle2014-07-281-5/+54
|
* Update share.phplibasys2014-07-151-1/+1
| | | | | | | Added empty for error: ``` Undefined index: file_target at /var/www/owncloud/lib/private/share/share.php#1911 ```
* Fix for #9422Daniel Hansson2014-07-141-14/+11
|
* BugFix missing $item on 'file_target' Line 1911libasys2014-07-091-1/+1
| | | | | | I think this should be right! Backport of e70a7af6da7108982c46ae8759f70dd490274c36 from master
* make sure that during share and unshare the etags get propagated correctlyBjoern Schiessle2014-06-252-12/+70
|
* Fix check for shared files inside sharesRobin Appelman2014-06-141-3/+3
|
* Add server<->server sharing backendRobin Appelman2014-06-141-1/+1
|
* Added ORDER BY to enforce share entry orderVincent Petry2014-06-111-0/+1
| | | | | | | | Sometimes MySQL decides to return the shares in the wrong order, but some parts of the code seem to require the order to be known, at least so that the parent shares come before the children shares. This fix adds an ORDER BY clause to force the order by id.
* only expire link sharesBjoern Schiessle2014-06-062-36/+79
|
* make sure that we only delete shares for the current userBjoern Schiessle2014-06-061-3/+8
|
* only unshare user share if it was shared with the current userBjoern Schiessle2014-06-061-1/+2
|
* make sure that we remove all shares refering to the same parentBjoern Schiessle2014-06-061-21/+0
|
* fix unshareFromSelf()Bjoern Schiessle2014-06-061-23/+38
|
* don't allow to share single files with delete permissions, user should only ↵Bjoern Schiessle2014-06-061-0/+5
| | | | be possible to unshare a single file but never to delete it