[WIP] Add server<->server sharing

Add support for adding public links from someone to your own owncloud

Fixes #7221
Can you shortly explain what's the use-case for this file? 
Generally speaking, unauthenticated users should not be able to iniitiate outgoing connections.

Sent from mobile device

> On 16 Jun 2014, at 19:43, icewind1991 <notifications@github.com> wrote:
> 
> In apps/files_sharing/ajax/testremote.php:
> 
> > @@ -0,0 +1,26 @@
> > +<?php
> > +/**
> > + * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
> > + * This file is licensed under the Affero General Public License version 3 or
> > + * later.
> > + * See the COPYING-README file.
> > + */
> > +
> > +OCP\JSON::checkAppEnabled('files_sharing');
> > +OCP\JSON::checkLoggedIn();
> Right, I knew there was a reason I didn't put it here in the first place, this needs to be usable while logged out
> 
> —
> Reply to this email directly or view it on GitHub.