Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a test for the post_shared hook shareType | Joas Schilling | 2015-02-09 | 1 | -0/+11 |
| | |||||
* | Do not retrieve shares through group if user has no group | Vincent Petry | 2015-01-23 | 1 | -1/+26 |
| | |||||
* | Fix reshare permission change to not impair other deletion code | Vincent Petry | 2015-01-22 | 1 | -0/+47 |
| | | | | | | | | | | | | | | A recent change that prevents reshare permission changes to delete group share children had the side-effect of also preventing group share children deletion when it needed to be done. This fix adds an extra flag to isolate the "reshare permission change" deletion case and keep the other ones as they were before, not only to fix the regression but also fix other potential regressions in code that uses this method. Also updated the comment because now Helper::delete() is no longer limited to reshares but also applies to group share children. | ||||
* | Fix getItemSharedWithUser for groups | Vincent Petry | 2015-01-16 | 1 | -0/+35 |
| | | | | | | 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. | ||||
* | Next step in server-to-server sharing next generation, see #12285 | Bjoern Schiessle | 2014-12-19 | 2 | -0/+21 |
| | | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him. | ||||
* | Move share interfaces to own files so they can be autoloaded | Joas Schilling | 2014-11-27 | 1 | -2/+0 |
| | |||||
* | Merge pull request #12350 from mprokop/link_expiration | Morris Jobke | 2014-11-26 | 1 | -4/+2 |
|\ | | | | | fix calculation of expiration date if there is a default expiration date... | ||||
| * | Consolidate if statement, and update unit test | Miguel Prokop | 2014-11-21 | 1 | -4/+2 |
| | | |||||
* | | Replace deprecated constant with new class constant | Joas Schilling | 2014-11-25 | 1 | -70/+70 |
| | | |||||
* | | also check for the correct owner if it was submitted | Bjoern Schiessle | 2014-11-21 | 1 | -0/+44 |
|/ | |||||
* | Make remaining files extend the test base | Joas Schilling | 2014-11-19 | 3 | -3/+5 |
| | |||||
* | use the new base class for unit tests | Bjoern Schiessle | 2014-11-18 | 1 | -10/+12 |
| | |||||
* | make sure that we don't find the wrong shares if a user and a group have the ↵ | Bjoern Schiessle | 2014-11-18 | 1 | -0/+41 |
| | | | | same ID | ||||
* | Add option to include tags for shared items. | Bernhard Reiter | 2014-10-14 | 1 | -1/+2 |
| | |||||
* | fix unit tests | Bjoern Schiessle | 2014-09-24 | 2 | -5/+22 |
| | |||||
* | unit tests for grouping of shares pointing to the same source | Bjoern Schiessle | 2014-09-22 | 1 | -12/+80 |
| | |||||
* | kill OC::$session | Jörn Friedrich Dreyer | 2014-08-29 | 1 | -3/+3 |
| | | | | | | | | | | | | maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used | ||||
* | Merge pull request #9915 from suraia/unsharefromself-source | Björn Schießle | 2014-08-27 | 1 | -0/+24 |
|\ | | | | | Allow specifying the item source in unshareFromSelf(). | ||||
| * | Add unit tests for new unshareFromSelf() functionality. | Michael Kuhn | 2014-08-23 | 1 | -0/+24 |
| | | |||||
* | | Merge pull request #9970 from owncloud/sharing_set_expire_date | Morris Jobke | 2014-07-30 | 1 | -0/+26 |
|\ \ | | | | | | | Sharing set expire date | ||||
| * | | add unit test | Bjoern Schiessle | 2014-07-28 | 1 | -0/+26 |
| | | | |||||
* | | | remove share permission if user is excluded from sharing | Bjoern Schiessle | 2014-07-29 | 1 | -0/+33 |
|/ / | |||||
* / | add OCS api call to set expire date for link shares | Bjoern Schiessle | 2014-07-25 | 1 | -11/+37 |
|/ | |||||
* | only expire link shares | Bjoern Schiessle | 2014-06-06 | 1 | -59/+18 |
| | |||||
* | unify share settings | Bjoern Schiessle | 2014-06-05 | 1 | -3/+3 |
| | |||||
* | add setting to set default expire date | Bjoern Schiessle | 2014-04-24 | 1 | -0/+54 |
| | |||||
* | always return an array | Bjoern Schiessle | 2014-03-25 | 1 | -6/+6 |
| | |||||
* | fix sharing unit tests | Bjoern Schiessle | 2014-02-21 | 2 | -7/+7 |
| | |||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2014-02-19 | 1 | -0/+7 |
| | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend | ||||
* | intendation | Arthur Schiwon | 2014-02-11 | 1 | -5/+5 |
| | |||||
* | Inject logger | Arthur Schiwon | 2014-02-11 | 1 | -0/+7 |
| | |||||
* | test for share dialoge sorter | Arthur Schiwon | 2014-02-11 | 1 | -0/+40 |
| | |||||
* | fixing comment + adding unit test for checkPasswordProtectedShare | Thomas Müller | 2014-01-21 | 1 | -0/+42 |
| | |||||
* | updated the unit test for OCP\Share::unshareAll() to verify that shares by ↵ | ben-denham | 2014-01-10 | 1 | -4/+54 |
| | | | | all users are removed for an item. | ||||
* | Add tests for OCP\Share::unshareAll(). | Andreas Fischer | 2013-11-03 | 1 | -10/+33 |
| | |||||
* | Tests whether expired/valid link share is still accessible. | Andreas Fischer | 2013-09-16 | 1 | -0/+48 |
| | |||||
* | Calculate dateInPast and dateInFuture. | Andreas Fischer | 2013-09-12 | 1 | -5/+8 |
| | |||||
* | Add comment explaining how $dateInFuture was picked. | Andreas Fischer | 2013-09-12 | 1 | -0/+2 |
| | |||||
* | Coding style: { for methods start are supposed to be on the same line. | Andreas Fischer | 2013-09-12 | 1 | -12/+6 |
| | |||||
* | Expiration tests for sharing with groups. | Andreas Fischer | 2013-09-12 | 1 | -6/+76 |
| | |||||
* | Do not repeat shareUserOneTestFileWithUserTwo() code. | Andreas Fischer | 2013-09-12 | 1 | -25/+22 |
| | |||||
* | Make dates test class properties. | Andreas Fischer | 2013-09-12 | 1 | -2/+5 |
| | |||||
* | Try to make Oracle happy by also specifying seconds. | Andreas Fischer | 2013-09-12 | 1 | -2/+2 |
| | |||||
* | Test whether a still-valid user share is still accessible. | Andreas Fischer | 2013-09-12 | 1 | -11/+34 |
| | |||||
* | Test whether an expired user share is still accessible. | Andreas Fischer | 2013-09-12 | 1 | -0/+33 |
| | |||||
* | Check resharing setting | Michael Gapczynski | 2013-02-26 | 1 | -1/+4 |
| | |||||
* | drop SimpleTest compatibility | Thomas Mueller | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | Rename install hook functions to register hook | Bart Visscher | 2012-11-15 | 1 | -1/+1 |
| | |||||
* | Create functions to install standard hooks | Bart Visscher | 2012-11-13 | 1 | -0/+2 |
| | | | | | Also use these in tests that needs them Fix #151 | ||||
* | Update all to use OCP\PERMISSION_* instead of OCP\Share::PERMISSION_* | Thomas Tanghus | 2012-11-11 | 1 | -73/+73 |
| |