Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | owner is stored as 'uid_owner', not as 'owner' in the oc_share table | Bjoern Schiessle | 2015-07-03 | 1 | -2/+2 |
| | |||||
* | Add "Reply-To" support for sharing notifications | Lukas Reschke | 2015-04-12 | 1 | -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_share | Morris Jobke | 2015-03-26 | 1 | -2/+3 |
|\ | | | | | also call generateTarget for group shares | ||||
| * | also call generateTarget for group share to add the correct prefix if ↵ | Bjoern Schiessle | 2015-03-20 | 1 | -2/+3 |
| | | | | | | | | share_folder is defined in config.php | ||||
* | | Do not overwrite the shareType so the post hook is still correct | Joas Schilling | 2015-02-09 | 1 | -5/+5 |
| | | | | | | | | | | Conflicts: lib/private/share/share.php | ||||
* | | for password protected link shares the password is stored in shareWith, so ↵ | Bjoern Schiessle | 2015-02-05 | 1 | -2/+9 |
|/ | | | | we need to set this manually to null for the hooks | ||||
* | Fix getItemSharedWithUser for groups | Vincent Petry | 2015-01-20 | 1 | -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 test | Miguel Prokop | 2014-11-26 | 1 | -4/+2 |
| | |||||
* | fix calculation of expiration date if there is a default expiration date set ↵ | Miguel Prokop | 2014-11-26 | 1 | -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 id | Bjoern Schiessle | 2014-11-18 | 1 | -1/+4 |
| | |||||
* | make sure that we only find the shares from the correct share type if users ↵ | Bjoern Schiessle | 2014-11-18 | 1 | -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 Schiessle | 2014-11-18 | 1 | -6/+10 |
| | | | | same ID | ||||
* | always use the correct share type | Bjoern Schiessle | 2014-10-21 | 1 | -3/+3 |
| | |||||
* | distinguish between file dependent shares and other shares | Bjoern Schiessle | 2014-10-13 | 1 | -2/+3 |
| | |||||
* | fix performance issues | Bjoern Schiessle | 2014-10-10 | 1 | -18/+56 |
| | |||||
* | some small fixed, suggested by scrutinizer | Bjoern Schiessle | 2014-10-01 | 3 | -5/+4 |
| | |||||
* | on unshare only unshare childrens if there is no other parent available | Bjoern Schiessle | 2014-10-01 | 2 | -15/+63 |
| | |||||
* | only create a new share entry, if the user needs a different target name ↵ | Bjoern Schiessle | 2014-10-01 | 1 | -1/+1 |
| | | | | than the group share | ||||
* | for group shares we don't need a extra db entry of groupTarget equals itemTarget | Bjoern Schiessle | 2014-10-01 | 1 | -3/+3 |
| | |||||
* | for group shares only the parent has the up-to-date permission. Make sure ↵ | Bjoern Schiessle | 2014-10-01 | 1 | -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 Schiessle | 2014-10-01 | 1 | -29/+5 |
| | | | | checks are executed, e.g. to check if the share is really visible | ||||
* | always select permissions, used in getItems() | Bjoern Schiessle | 2014-10-01 | 1 | -2/+3 |
| | |||||
* | some small fixes | Bjoern Schiessle | 2014-10-01 | 1 | -6/+1 |
| | |||||
* | only add a new row if it isn't a unique share, otherwise update the existing row | Bjoern Schiessle | 2014-10-01 | 1 | -1/+1 |
| | |||||
* | fix add user to group to work with grouped shares | Bjoern Schiessle | 2014-10-01 | 1 | -10/+18 |
| | |||||
* | generateTarget() will always find a unique target | Bjoern Schiessle | 2014-10-01 | 2 | -96/+80 |
| | |||||
* | unit tests for grouping of shares pointing to the same source | Bjoern Schiessle | 2014-10-01 | 1 | -1/+1 |
| | |||||
* | group shares and combine permissions | Bjoern Schiessle | 2014-10-01 | 1 | -237/+247 |
| | |||||
* | Use correct language package so the subject is correctly translated | Joas Schilling | 2014-09-09 | 1 | -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 Schiessle | 2014-08-14 | 1 | -3/+4 |
| | | | | notification was send | ||||
* | Add scrollto to the url if sharing a file for long file lists | Tom Needham | 2014-08-11 | 1 | -3/+9 |
| | |||||
* | Fix link to files and folders in internal share emails | Tom Needham | 2014-08-11 | 1 | -4/+3 |
| | |||||
* | remove trailing slash from path | Bjoern Schiessle | 2014-08-06 | 1 | -1/+2 |
| | |||||
* | don't display share permission if resharing was disabled by the admin | Bjoern Schiessle | 2014-08-05 | 1 | -1/+1 |
| | |||||
* | make sure that we set the expire date if a date is adefault date is set | Bjoern Schiessle | 2014-07-30 | 1 | -1/+2 |
| | |||||
* | remove share permission if user is excluded from sharing | Bjoern Schiessle | 2014-07-29 | 1 | -1/+1 |
| | |||||
* | add OCS api call to set expire date for link shares | Bjoern Schiessle | 2014-07-28 | 1 | -5/+54 |
| | |||||
* | Update share.php | libasys | 2014-07-15 | 1 | -1/+1 |
| | | | | | | | Added empty for error: ``` Undefined index: file_target at /var/www/owncloud/lib/private/share/share.php#1911 ``` | ||||
* | Fix for #9422 | Daniel Hansson | 2014-07-14 | 1 | -14/+11 |
| | |||||
* | BugFix missing $item on 'file_target' Line 1911 | libasys | 2014-07-09 | 1 | -1/+1 |
| | | | | | | I think this should be right! Backport of e70a7af6da7108982c46ae8759f70dd490274c36 from master | ||||
* | make sure that during share and unshare the etags get propagated correctly | Bjoern Schiessle | 2014-06-25 | 2 | -12/+70 |
| | |||||
* | Fix check for shared files inside shares | Robin Appelman | 2014-06-14 | 1 | -3/+3 |
| | |||||
* | Add server<->server sharing backend | Robin Appelman | 2014-06-14 | 1 | -1/+1 |
| | |||||
* | Added ORDER BY to enforce share entry order | Vincent Petry | 2014-06-11 | 1 | -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 shares | Bjoern Schiessle | 2014-06-06 | 2 | -36/+79 |
| | |||||
* | make sure that we only delete shares for the current user | Bjoern Schiessle | 2014-06-06 | 1 | -3/+8 |
| | |||||
* | only unshare user share if it was shared with the current user | Bjoern Schiessle | 2014-06-06 | 1 | -1/+2 |
| | |||||
* | make sure that we remove all shares refering to the same parent | Bjoern Schiessle | 2014-06-06 | 1 | -21/+0 |
| | |||||
* | fix unshareFromSelf() | Bjoern Schiessle | 2014-06-06 | 1 | -23/+38 |
| | |||||
* | don't allow to share single files with delete permissions, user should only ↵ | Bjoern Schiessle | 2014-06-06 | 1 | -0/+5 |
| | | | | be possible to unshare a single file but never to delete it |