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.
Showing
- apps/files_encryption/lib/hooks.php 6 additions, 7 deletionsapps/files_encryption/lib/hooks.php
- apps/files_encryption/lib/util.php 1 addition, 7 deletionsapps/files_encryption/lib/util.php
- apps/files_encryption/tests/share.php 92 additions, 7 deletionsapps/files_encryption/tests/share.php
- apps/files_sharing/ajax/external.php 6 additions, 5 deletionsapps/files_sharing/ajax/external.php
- apps/files_sharing/api/server2server.php 34 additions, 17 deletionsapps/files_sharing/api/server2server.php
- apps/files_sharing/appinfo/routes.php 17 additions, 5 deletionsapps/files_sharing/appinfo/routes.php
- apps/files_sharing/application.php 21 additions, 0 deletionsapps/files_sharing/application.php
- apps/files_sharing/js/external.js 65 additions, 30 deletionsapps/files_sharing/js/external.js
- apps/files_sharing/lib/activity.php 1 addition, 1 deletionapps/files_sharing/lib/activity.php
- apps/files_sharing/lib/connector/publicauth.php 2 additions, 0 deletionsapps/files_sharing/lib/connector/publicauth.php
- apps/files_sharing/lib/controllers/externalsharescontroller.php 86 additions, 0 deletions...iles_sharing/lib/controllers/externalsharescontroller.php
- apps/files_sharing/lib/external/manager.php 125 additions, 11 deletionsapps/files_sharing/lib/external/manager.php
- apps/files_sharing/lib/helper.php 1 addition, 27 deletionsapps/files_sharing/lib/helper.php
- apps/files_sharing/lib/share/file.php 14 additions, 0 deletionsapps/files_sharing/lib/share/file.php
- apps/files_sharing/lib/updater.php 5 additions, 2 deletionsapps/files_sharing/lib/updater.php
- apps/files_sharing/tests/server2server.php 37 additions, 4 deletionsapps/files_sharing/tests/server2server.php
- core/ajax/share.php 16 additions, 1 deletioncore/ajax/share.php
- core/js/share.js 52 additions, 30 deletionscore/js/share.js
- lib/private/httphelper.php 53 additions, 2 deletionslib/private/httphelper.php
- lib/private/security/certificatemanager.php 11 additions, 5 deletionslib/private/security/certificatemanager.php
Loading
Please register or sign in to comment