Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 753) sorted by relevance

12345678910>>...31

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DAllowAccessTest.php13 protected $server; variable in Sabre\\DAVACL\\AllowAccessTest
21 $this->server = new DAV\Server($nodes);
24 $this->server->addPlugin($aclPlugin);
30 $this->server->httpRequest->setMethod('GET');
31 $this->server->httpRequest->setUrl('/testdir');
33 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
39 $this->server->httpRequest->setMethod('GET');
40 $this->server->httpRequest->setUrl('/foo');
42 …$this->assertTrue($this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->…
48 $this->server->httpRequest->setMethod('HEAD');
[all …]
H A DACLMethodTest.php16 $server = new DAV\Server();
17 $server->addPlugin($acl);
19 $acl->httpAcl($server->httpRequest, $server->httpResponse);
34 $server = new DAV\Server($tree);
35 $server->httpRequest = new HTTP\Request();
39 $server->httpRequest->setBody($body);
40 $server->addPlugin($acl);
42 $acl->httpACL($server->httpRequest, $server->httpResponse);
52 $server = new DAV\Server($tree);
53 $server->httpRequest = new HTTP\Request();
[all …]
H A DBlockAccessTest.php13 protected $server; variable in Sabre\\DAVACL\\BlockAccessTest
22 $this->server = new DAV\Server($nodes);
25 $this->server->addPlugin($this->plugin);
34 $this->server->httpRequest->setMethod('GET');
35 $this->server->httpRequest->setUrl('/testdir');
37 … $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]);
43 $this->server->httpRequest->setMethod('GET');
44 $this->server->httpRequest->setUrl('/foo');
46 …$r = $this->server->emit('beforeMethod', [$this->server->httpRequest, $this->server->httpResponse]…
56 $this->server->httpRequest->setMethod('HEAD');
[all …]
H A DPrincipalPropertySearchTest.php60 $server = $this->getServer();
61 $server->httpRequest = $request;
63 $server->exec();
65 …$this->assertEquals(400, $server->httpResponse->getStatus(), $server->httpResponse->getBodyAsStrin…
69 ), $server->httpResponse->getHeaders());
99 $server = $this->getServer();
100 $server->httpRequest = $request;
102 $server->exec();
104 …$this->assertEquals(207, $server->httpResponse->getStatus(), "Full body: " . $server->httpResponse…
109 ), $server->httpResponse->getHeaders());
[all …]
H A DPrincipalSearchPropertySetTest.php46 $server = $this->getServer();
47 $server->httpRequest = $request;
49 $server->exec();
51 $this->assertEquals(400, $server->httpResponse->status);
55 ), $server->httpResponse->getHeaders());
73 $server = $this->getServer();
74 $server->httpRequest = $request;
76 $server->exec();
78 $this->assertEquals(400, $server->httpResponse->status, $server->httpResponse->body);
82 ), $server->httpResponse->getHeaders());
[all …]
H A DPluginUpdatePropertiesTest.php18 $server = new DAV\Server($tree);
19 $server->addPlugin(new Plugin());
21 $result = $server->updateProperties('foo', array(
38 $server = new DAV\Server($tree);
39 $server->addPlugin(new Plugin());
41 $result = $server->updateProperties('foo', array(
59 $server = new DAV\Server($tree);
60 $server->addPlugin(new Plugin());
62 $result = $server->updateProperties('foo', [
83 $server = new DAV\Server($tree);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DServerSimpleTest.php15 $server = new Server($nodes);
16 $this->assertEquals($nodes[0], $server->tree->getNodeForPath('hello'));
30 $server = new Server($nodes);
39 $server = new Server(1);
46 $this->server->httpRequest = $request;
47 $this->server->exec();
66 $this->server->httpRequest = $request;
68 $this->server->exec();
92 $this->server->httpRequest = ($request);
93 $this->server->exec();
[all …]
H A DServerPreconditionTest.php17 $server = new Server($root);
20 $server->checkPreconditions($httpRequest, $httpResponse);
29 $server = new Server($root);
32 $this->assertTrue($server->checkPreconditions($httpRequest, $httpResponse));
42 $server = new Server($root);
45 $server->checkPreconditions($httpRequest, $httpResponse);
54 $server = new Server($root);
57 $this->assertTrue($server->checkPreconditions($httpRequest, $httpResponse));
69 $server = new Server($root);
72 $this->assertTrue($server->checkPreconditions($httpRequest, $httpResponse));
[all …]
H A DServerEventsTest.php16 $this->server->on('afterBind', [$this,'afterBindHandler']);
20 $this->server->createFile($newPath,'body');
36 $this->server->on('afterResponse', [$mock, 'afterResponseCallback']);
38 $this->server->httpRequest = HTTP\Sapi::createFromServerArray(array(
43 $this->server->exec();
49 $this->server->on('beforeBind', [$this,'beforeBindCancelHandler']);
50 $this->assertFalse($this->server->createFile('bla','body'));
58 $this->server->httpRequest = $req;
59 $this->server->exec();
61 $this->assertEquals('',$this->server->httpResponse->status);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
H A DFreeBusyRequestTest.php15 protected $server; variable in Sabre\\CalDAV\\Schedule\\FreeBusyRequestTest
74 $this->server = new DAV\Server($tree);
75 $this->server->httpRequest = $this->request;
76 $this->server->httpResponse = $this->response;
79 $this->server->addPlugin($this->aclPlugin);
86 $this->server->addPlugin($this->authPlugin);
90 $this->server->addPlugin($this->plugin);
94 $this->server->addPlugin($this->plugin);
100 $this->server->httpRequest = new HTTP\Request(
107 $this->plugin->httpPost($this->server->httpRequest, $this->server->httpResponse)
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/
H A DPluginTest.php22 $this->server->addPlugin($locksPlugin);
42 $this->server->httpRequest = $request;
43 $this->server->exec();
68 $this->server->httpRequest = $request;
69 $this->server->exec();
125 $this->server->httpRequest = $request;
126 $this->server->exec();
129 $this->server->httpResponse = $this->response;
131 $this->server->exec();
154 $this->server->httpRequest = $request;
[all …]
H A DMSWordTest.php18 $server = new DAV\Server($tree);
19 $server->debugExceptions = true;
22 $server->addPlugin($locksPlugin);
26 $server->httpRequest = $this->getLockRequest();
27 $server->httpResponse = $response1;
28 $server->sapi = new HTTP\SapiMock();
29 $server->exec();
31 …$this->assertEquals(201, $server->httpResponse->getStatus(), 'Full response body:' . $response1->g…
32 $this->assertTrue(!!$server->httpResponse->getHeaders('Lock-Token'));
33 $lockToken = $server->httpResponse->getHeader('Lock-Token');
[all …]
/plugin/webdav/vendor/sabre/dav/lib/DAV/
DCorePlugin.php24 protected $server; variable in Sabre\\DAV\\CorePlugin
29 * @param Server $server
32 function initialize(Server $server) { argument
34 $this->server = $server;
35 $server->on('method:GET', [$this, 'httpGet']);
36 $server->on('method:OPTIONS', [$this, 'httpOptions']);
37 $server->on('method:HEAD', [$this, 'httpHead']);
38 $server->on('method:DELETE', [$this, 'httpDelete']);
39 $server->on('method:PROPFIND', [$this, 'httpPropFind']);
40 $server->on('method:PROPPATCH', [$this, 'httpPropPatch']);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DCorePlugin.php24 protected $server; variable in Sabre\\DAV\\CorePlugin
29 * @param Server $server
32 function initialize(Server $server) { argument
34 $this->server = $server;
35 $server->on('method:GET', [$this, 'httpGet']);
36 $server->on('method:OPTIONS', [$this, 'httpOptions']);
37 $server->on('method:HEAD', [$this, 'httpHead']);
38 $server->on('method:DELETE', [$this, 'httpDelete']);
39 $server->on('method:PROPFIND', [$this, 'httpPropFind']);
40 $server->on('method:PROPPATCH', [$this, 'httpPropPatch']);
[all …]
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/
DPlugin.php51 protected $server; variable in Sabre\\CalDAV\\Plugin
76 $node = $this->server->tree->getNodeForPath($parent);
153 $node = $this->server->tree->getNodeForPath($uri);
166 if ($node instanceof CalendarHome && $this->server->getPlugin('sync')) {
179 function initialize(DAV\Server $server) { argument
181 $this->server = $server;
183 $server->on('method:MKCALENDAR', [$this, 'httpMkCalendar']);
184 $server->on('report', [$this, 'report']);
185 $server->on('propFind', [$this, 'propFind']);
186 $server->on('onHTMLActionsPanel', [$this, 'htmlActionsPanel']);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/
H A DPlugin.php50 protected $server; variable in Sabre\\CalDAV\\Plugin
75 $node = $this->server->tree->getNodeForPath($parent);
142 $node = $this->server->tree->getNodeForPath($uri);
155 if ($node instanceof CalendarHome && $this->server->getPlugin('sync')) {
168 function initialize(DAV\Server $server) { argument
170 $this->server = $server;
172 $server->on('method:MKCALENDAR', [$this, 'httpMkCalendar']);
173 $server->on('report', [$this, 'report']);
174 $server->on('propFind', [$this, 'propFind']);
175 $server->on('onHTMLActionsPanel', [$this, 'htmlActionsPanel']);
[all …]
/plugin/webdav/vendor/sabre/dav/lib/DAVACL/
DPlugin.php59 protected $server; variable in Sabre\\DAVACL\\Plugin
210 $authPlugin = $this->server->getPlugin('auth');
213 $this->server->httpRequest,
214 $this->server->httpResponse
240 $authPlugin = $this->server->getPlugin('auth');
341 $node = $this->server->tree->getNodeForPath($principal);
444 $node = $this->server->tree->getNodeForPath($node);
506 $this->server->emit(
590 $node = $this->server->tree->getNodeForPath($node);
621 $node = $this->server->tree->getNodeForPath($node);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DPluginTest.php17 protected $server; variable in Sabre\\CalDAV\\PluginTest
75 $this->server = new DAV\Server($root);
76 $this->server->sapi = new HTTP\SapiMock();
77 $this->server->debugExceptions = true;
78 $this->server->setBaseUri('/');
80 $this->server->addPlugin($this->plugin);
83 $this->server->addPlugin(new DAVACL\Plugin());
90 $this->server->addPlugin($authPlugin);
96 $this->server->httpResponse = $this->response;
118 $this->server->httpRequest = $request;
[all …]
H A DFreeBusyReportTest.php21 protected $server; variable in Sabre\\CalDAV\\FreeBusyReportTest
85 $this->server = new DAV\Server([$calendar]);
90 $this->server->httpRequest = $request;
91 $this->server->httpResponse = new HTTP\ResponseMock();
94 $this->server->addPlugin($this->plugin);
107 $report = $this->server->xml->parse($reportXML, null, $rootElem);
110 $this->assertEquals(200, $this->server->httpResponse->status);
111 … $this->assertEquals('text/calendar', $this->server->httpResponse->getHeader('Content-Type'));
112 $this->assertTrue(strpos($this->server->httpResponse->body, 'BEGIN:VFREEBUSY')!==false);
113 …$this->assertTrue(strpos($this->server->httpResponse->body, '20111005T120000Z/20111005T130000Z')!=…
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Notifications/
H A DPluginTest.php18 protected $server; variable in Sabre\\CalDAV\\Notifications\\PluginTest
40 $this->server = new DAV\Server($root);
41 $this->server->sapi = new HTTP\SapiMock();
42 $this->server->debugExceptions = true;
43 $this->server->setBaseUri('/');
45 $this->server->addPlugin($this->plugin);
49 $this->server->addPlugin(new DAVACL\Plugin());
52 $this->server->addPlugin(new CalDAV\Plugin());
57 $this->server->addPlugin($authPlugin);
63 $this->server->httpResponse = $this->response;
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CardDAV/
H A DPlugin.php48 protected $server; variable in Sabre\\CardDAV\\Plugin
63 function initialize(DAV\Server $server) { argument
66 $server->on('propFind', [$this, 'propFindEarly']);
67 $server->on('propFind', [$this, 'propFindLate'], 150);
68 $server->on('report', [$this, 'report']);
69 $server->on('onHTMLActionsPanel', [$this, 'htmlActionsPanel']);
70 $server->on('beforeWriteContent', [$this, 'beforeWriteContent']);
71 $server->on('beforeCreateFile', [$this, 'beforeCreateFile']);
72 $server->on('afterMethod:GET', [$this, 'httpAfterGet']);
74 $server->xml->namespaceMap[self::NS_CARDDAV] = 'card';
[all …]
/plugin/webdav/core/
DServer.php23 public $server; variable in dokuwiki\\plugin\\webdav\\core\\Server
55 $this->server = new DAV\Server(new DAV\SimpleCollection('root', [
60 $this->server->setBaseUri($base_uri);
64 $this->server::$exposeVersion = false;
67 $this->server->addPlugin(new Plugin\Exception);
71 $this->server->addPlugin(new DAV\Browser\Plugin);
73 $this->server->addPlugin(new Plugin\DummyGetResponse);
81 $this->server->addPlugin(new DAV\Auth\Plugin($auth_backend));
85 $this->server->addPlugin(new DAV\Mount\Plugin);
86 …$this->server->addPlugin(new DAV\Locks\Plugin(new Backend\LocksFile($conf['cachedir'] . '/webdav.l…
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/
H A DPlugin.php54 protected $server; variable in Sabre\\DAVACL\\Plugin
232 $authPlugin = $this->server->getPlugin('auth');
289 $node = $this->server->tree->getNodeForPath($principal);
328 $node = $this->server->tree->getNodeForPath($node);
473 $node = $this->server->tree->getNodeForPath($node);
504 $node = $this->server->tree->getNodeForPath($node);
590 $principalCollection = $this->server->tree->getNodeForPath($collection);
640 $principalCollection = $this->server->tree->getNodeForPath($uri);
658 … list($matches[]) = $this->server->getPropertiesForPath($lookupResult, $requestedProperties, 0);
674 function initialize(DAV\Server $server) { argument
[all …]
/plugin/webdav/vendor/sabre/dav/lib/CardDAV/
DPlugin.php48 protected $server; variable in Sabre\\CardDAV\\Plugin
63 function initialize(DAV\Server $server) { argument
66 $server->on('propFind', [$this, 'propFindEarly']);
67 $server->on('propFind', [$this, 'propFindLate'], 150);
68 $server->on('report', [$this, 'report']);
69 $server->on('onHTMLActionsPanel', [$this, 'htmlActionsPanel']);
70 $server->on('beforeWriteContent', [$this, 'beforeWriteContent']);
71 $server->on('beforeCreateFile', [$this, 'beforeCreateFile']);
72 $server->on('afterMethod:GET', [$this, 'httpAfterGet']);
74 $server->xml->namespaceMap[self::NS_CARDDAV] = 'card';
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DAddressBookQueryTest.php35 $this->server->httpRequest = $request;
36 $this->server->httpResponse = $response;
38 $this->server->exec();
85 $this->server->httpRequest = $request;
86 $this->server->httpResponse = $response;
88 $this->server->exec();
130 $this->server->httpRequest = $request;
131 $this->server->httpResponse = $response;
133 $this->server->exec();
169 $this->server->httpRequest = $request;
[all …]

12345678910>>...31