nextcloud/tests/lib
Bjoern Schiessle 24993280ed Next step in server-to-server sharing next generation, see #12285
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.
2014-12-19 15:20:24 +01:00
..
app Next step in server-to-server sharing next generation, see #12285 2014-12-19 15:20:24 +01:00
appframework Merge pull request #12619 from owncloud/use-also-original-hea 2014-12-04 16:59:42 +01:00
archive Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
backgroundjob Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
cache Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
connector/sabre Merge pull request #12865 from owncloud/files-tags-webdav 2014-12-19 09:33:28 +01:00
contacts Make class compatible 2014-12-09 12:25:22 +01:00
db add unit tests for tableExists and dropTable 2014-12-09 17:26:53 +01:00
files Add getMountPoint to FileInfo 2014-12-17 14:03:50 +01:00
group add isAdmin and isInGroup methods for the group manager 2014-12-17 17:41:57 +01:00
hooks Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
memcache Add Redis cache implementation, prefer over memcached, tests & config sample 2014-12-10 12:24:20 +01:00
ocs Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
public Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
repair Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
security Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
session Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
share Next step in server-to-server sharing next generation, see #12285 2014-12-19 15:20:24 +01:00
template Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
user introduce names for user backends - IUserBackend 2014-12-19 10:17:17 +01:00
activitymanager.php Add test for getSpecialParameterList() 2014-12-11 15:01:45 +01:00
allconfig.php Workaround to fix the too early init dilemma 2014-12-08 22:33:36 +01:00
api.php Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
app.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
appconfig.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
archive.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
autoloader.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
avatar.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
cache.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
config.php drop unused isDebugMode and setDebugMode of OC_Config 2014-12-08 22:42:44 +01:00
contactsmanager.php Mock interface 2014-12-08 13:18:00 +01:00
datetimeformatter.php Use a fixed timestamp so we dont switch days/years with the getTimestampAgo 2014-12-11 13:22:05 +01:00
db.php Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
dbschema.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
errorHandler.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
geo.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
group.php Do not use uniqid in Group and User tests as it is not unique on windows 2014-11-06 17:36:35 +01:00
helper.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
helperstorage.php reduce OC_Preferences, OC_Config and \OCP\Config usage 2014-12-08 22:42:37 +01:00
httphelper.php Next step in server-to-server sharing next generation, see #12285 2014-12-19 15:20:24 +01:00
image.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
installer.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
l10n.php Correctly fallback to english, if the plural case is not translated 2014-12-11 12:42:21 +01:00
largefilehelper.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
largefilehelpergetfilesize.php Check if open_basedir is set 2014-12-11 00:09:55 +01:00
logger.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
mail.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
naturalsort.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
preview.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
repair.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
request.php Add test for IPv6 without port 2014-12-04 12:16:33 +01:00
setup.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
streamwrappers.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
tags.php Add user parameter to tag manager 2014-12-11 12:22:28 +01:00
template.php Deprecate Util::formatDate() 2014-12-10 11:58:56 +01:00
templatelayout.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
tempmanager.php fix failing unit test for the temp manager - concurrently executed unit tests influence each other 2014-11-25 22:16:48 +01:00
testcase.php Add login/logout to TestCase base class 2014-12-10 16:11:27 +01:00
updater.php Next step in server-to-server sharing next generation, see #12285 2014-12-19 15:20:24 +01:00
urlgenerator.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
user.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
util.php Move timezone logic out of server.php 2014-12-16 16:16:22 +01:00
utilcheckserver.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
vobject.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00