Home
last modified time | relevance | path

Searched refs:server (Results 51 – 75 of 659) sorted by relevance

12345678910>>...27

/plugin/webdav/vendor/sabre/dav/lib/DAV/PartialUpdate/
H A DPlugin.php34 protected $server; variable in Sabre\\DAV\\PartialUpdate\\Plugin
44 function initialize(DAV\Server $server) { argument
46 $this->server = $server;
47 $server->on('method:PATCH', [$this, 'httpPatch']);
81 $tree = $this->server->tree;
120 $node = $this->server->tree->getNodeForPath($path);
139 $len = $this->server->httpRequest->getHeader('Content-Length');
158 if (!$this->server->emit('beforeWriteContent', [$path, $node, null]))
161 $body = $this->server->httpRequest->getBody();
166 $this->server->emit('afterWriteContent', [$path, $node]);
/plugin/davcal/vendor/sabre/dav/lib/DAV/PartialUpdate/
H A DPlugin.php34 protected $server; variable in Sabre\\DAV\\PartialUpdate\\Plugin
44 function initialize(DAV\Server $server) { argument
46 $this->server = $server;
47 $server->on('method:PATCH', [$this, 'httpPatch']);
81 $tree = $this->server->tree;
120 $node = $this->server->tree->getNodeForPath($path);
139 $len = $this->server->httpRequest->getHeader('Content-Length');
158 if (!$this->server->emit('beforeWriteContent', [$path, $node, null]))
161 $body = $this->server->httpRequest->getBody();
166 $this->server->emit('afterWriteContent', [$path, $node]);
/plugin/webdav/_test/lib/
H A DDAVServerTest.php11 public $server; variable in DAVServerTest
21 $this->server = new DAV\Server(new DAV\SimpleCollection('root', [
25 $this->server->setBaseUri('/');
26 $this->server->addPlugin(new Plugin\DokuWiki());
58 $this->server->httpRequest = $request;
59 $this->server->httpResponse = $response;
63 $this->server->exec();
66 return $this->server->httpResponse;
/plugin/webdav/vendor/sabre/dav/lib/DAV/Browser/
H A DMapGetToPropFind.php26 protected $server; variable in Sabre\\DAV\\Browser\\MapGetToPropFind
34 function initialize(DAV\Server $server) { argument
36 $this->server = $server;
37 $this->server->on('method:GET', [$this, 'httpGet'], 90);
49 $node = $this->server->tree->getNodeForPath($request->getPath());
55 $this->server->invokeMethod($subRequest, $response);
/plugin/davcal/vendor/sabre/dav/lib/DAV/Browser/
H A DMapGetToPropFind.php26 protected $server; variable in Sabre\\DAV\\Browser\\MapGetToPropFind
34 function initialize(DAV\Server $server) { argument
36 $this->server = $server;
37 $this->server->on('method:GET', [$this, 'httpGet'], 90);
49 $node = $this->server->tree->getNodeForPath($request->getPath());
55 $this->server->invokeMethod($subRequest, $response);
/plugin/webdav/vendor/sabre/dav/lib/DAV/Locks/
H A DPlugin.php37 protected $server; variable in Sabre\\DAV\\Locks\\Plugin
58 function initialize(DAV\Server $server) { argument
60 $this->server = $server;
64 $server->on('method:LOCK', [$this, 'httpLock']);
65 $server->on('method:UNLOCK', [$this, 'httpUnlock']);
67 $server->on('propFind', [$this, 'propFind']);
68 $server->on('afterUnbind', [$this, 'afterUnbind']);
189 $lockInfo->depth = $this->server->getHTTPDepth();
236 $this->server->tree->getNodeForPath($uri);
396 return $this->server->xml->write('{DAV:}prop', [
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAV/Locks/
H A DPlugin.php37 protected $server; variable in Sabre\\DAV\\Locks\\Plugin
58 function initialize(DAV\Server $server) { argument
60 $this->server = $server;
64 $server->on('method:LOCK', [$this, 'httpLock']);
65 $server->on('method:UNLOCK', [$this, 'httpUnlock']);
67 $server->on('propFind', [$this, 'propFind']);
68 $server->on('afterUnbind', [$this, 'afterUnbind']);
189 $lockInfo->depth = $this->server->getHTTPDepth();
236 $this->server->tree->getNodeForPath($uri);
396 return $this->server->xml->write('{DAV:}prop', [
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DIssue33Test.php22 $server = new Server($root);
23 $server->setBaseUri('/webdav/');
94 $server = new Server($tree);
95 $server->setBaseUri('/webdav/');
97 $server->httpRequest = $request;
98 $server->httpResponse = $response;
99 $server->sapi = new HTTP\SapiMock();
100 $server->exec();
H A DGetIfConditionsTest.php16 $conditions = $this->server->getIfConditions($request);
24 $conditions = $this->server->getIfConditions($request);
54 $conditions = $this->server->getIfConditions($request);
82 $conditions = $this->server->getIfConditions($request);
111 $conditions = $this->server->getIfConditions($request);
144 $conditions = $this->server->getIfConditions($request);
182 $conditions = $this->server->getIfConditions($request);
226 $conditions = $this->server->getIfConditions($request);
253 $conditions = $this->server->getIfConditions($request);
287 $conditions = $this->server->getIfConditions($request);
H A DServerPluginTest.php21 $this->server->addPlugin($testPlugin);
51 $this->server->httpRequest = ($request);
52 $this->server->exec();
72 … $this->assertEquals($this->testPlugin,$this->server->getPlugin(get_class($this->testPlugin)));
78 $this->assertNull($this->server->getPlugin('SomeRandomClassName'));
93 'core' => $this->server->getPlugin('core'),
95 $this->server->getPlugins()
/plugin/davcal/
H A Dcalendarserver.php60 $server = new Sabre\DAV\Server($tree); variable
63 $server->setBaseUri($baseUri);
67 $server->addPlugin($authPlugin);
70 $server->addPlugin($aclPlugin);
74 $server->addPlugin($caldavPlugin);
87 $server->addPlugin(new Sabre\DAV\Sync\Plugin());
91 $server->addPlugin($browser);
95 $server->exec();
/plugin/webdav/core/Plugin/
H A DFakeLocker.php52 private $server; variable in dokuwiki\\plugin\\webdav\\core\\Plugin\\FakeLocker
55 public function initialize(\Sabre\DAV\Server $server) argument
57 $this->server = $server;
58 $this->server->on('method:LOCK', [$this, 'fakeLockProvider'], 1);
59 $this->server->on('method:UNLOCK', [$this, 'fakeUnlockProvider'], 1);
60 $server->on('propFind', [$this, 'propFind']);
61 $server->on('validateTokens', [$this, 'validateTokens']);
141 $body = $this->server->xml->write('{DAV:}prop', [
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DTemporaryFileFilterPlugin.php56 protected $server; variable in Sabre\\DAV\\TemporaryFileFilterPlugin
89 * @param Server $server
92 function initialize(Server $server) { argument
94 $this->server = $server;
95 $server->on('beforeMethod', [$this, 'beforeMethod']);
96 $server->on('beforeCreateFile', [$this, 'beforeCreateFile']);
143 $hR = $this->server->httpResponse;
215 if (!$newFile && ($this->server->httpRequest->getHeader('If-None-Match'))) {
219 file_put_contents($tempLocation, $this->server->httpRequest->getBody());
278 $data = $this->server->generateMultiStatus([$properties]);
/plugin/webdav/vendor/sabre/dav/lib/DAV/
H A DTemporaryFileFilterPlugin.php56 protected $server; variable in Sabre\\DAV\\TemporaryFileFilterPlugin
89 * @param Server $server
92 function initialize(Server $server) { argument
94 $this->server = $server;
95 $server->on('beforeMethod', [$this, 'beforeMethod']);
96 $server->on('beforeCreateFile', [$this, 'beforeCreateFile']);
146 $hR = $this->server->httpResponse;
218 if (!$newFile && ($this->server->httpRequest->getHeader('If-None-Match'))) {
222 file_put_contents($tempLocation, $this->server->httpRequest->getBody());
281 $data = $this->server->generateMultiStatus([$properties]);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DPluginPropertiesTest.php23 $server->addPlugin($plugin);
81 $server = new DAV\Server();
82 $server->addPlugin($plugin);
95 $server = new DAV\Server();
98 $result = $server->xml->write('{DAV:}root', $prop);
155 $server = new DAV\Server($nodes);
156 $server->addPlugin($plugin);
158 $server->addPlugin($authPlugin);
193 $server = new DAV\Server($nodes);
194 $server->addPlugin($plugin);
[all …]
H A DExpandPropertiesTest.php65 $server = $this->getServer();
66 $server->httpRequest = $request;
68 $server->exec();
70 …$this->assertEquals(207, $server->httpResponse->status,'Incorrect status code received. Full body:…
74 ), $server->httpResponse->getHeaders());
89 $xml = simplexml_load_string($server->httpResponse->body);
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/
H A DICSExportPlugin.php54 protected $server; variable in Sabre\\CalDAV\\ICSExportPlugin
62 function initialize(DAV\Server $server) { argument
64 $this->server = $server;
65 $server->on('method:GET', [$this, 'httpGet'], 90);
66 $server->on('browserButtonActions', function($path, $node, &$actions) {
88 $node = $this->server->getProperties($path, [
100 $this->server->transactionType = 'get-calendar-export';
179 $calendarNode = $this->server->tree->getNodeForPath($path);
207 $nodes = $this->server->getPropertiesForMultiplePaths($queryResult, [$calDataProp]);
211 $nodes = $this->server->getPropertiesForPath($path, [$calDataProp], 1);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DValidateVCardTest.php13 protected $server; variable in Sabre\\CardDAV\\ValidateVCardTest
33 $this->server = new DAV\Server($tree);
34 $this->server->sapi = new HTTP\SapiMock();
35 $this->server->debugExceptions = true;
38 $this->server->addPlugin($plugin);
41 $this->server->httpResponse = $response;
47 $this->server->httpRequest = $request;
48 $this->server->exec();
50 return $this->server->httpResponse;
H A DMultiGetTest.php32 $this->server->httpRequest = $request;
33 $this->server->httpResponse = $response;
35 $this->server->exec();
75 $this->server->httpRequest = $request;
76 $this->server->httpResponse = $response;
78 $this->server->exec();
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Server/ServerRunner/
H A DPcntlServerRunner.php26 * Uses PNCTL to fork incoming requests and send them to the server protocol handler.
47 protected $server;
120 public function run(SocketServer $server): void
122 $this->server = $server;
151 $this->server->removeClient($socket);
165 * Accept clients from the socket server in a loop with a timeout. This lets us to periodically check existing
171 'The server process has started and is now accepting clients.',
176 $socket = $this->server->accept(self::SOCKET_ACCEPT_TIMEOUT);
181 'A client was accepted, but the server i
29 protected $server; global() variable in FreeDSx\\Ldap\\Server\\ServerRunner\\PcntlServerRunner
50 run(SocketServer $server) global() argument
[all...]
/plugin/news/scripts/
H A DfeedData.php104 list($server,$rest) = explode('?', $this->url());
105 if(!$server) $server = DOKU_URL;
107 $server = str_replace('doku.php',"",$server);
108 if(preg_match("#http://([^/]+)/([^/]+)/*$#", $server)) {
109 return $server;
112 if(preg_match("#(?!:/)/([^/]+)/[^/]+/$#", $server)) {
113 return preg_replace("#/[^/]+/*$#", "/",$server);
116 return $server;
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
H A DScheduleDeliverTest.php263 $this->server->httpRequest->setMethod('MOVE');
392 $this->server->on('propFind', function($propFind) {
428 $this->server->on('propFind', function($propFind) {
463 $this->server->on('propFind', function($propFind) {
498 $this->server->removeAllListeners('schedule');
558 $this->server->httpRequest->setUrl($this->calendarObjectUri);
560 $this->server->httpRequest->setHeader('Schedule-Reply','F');
572 $this->server->emit('beforeWriteContent', [
574 $this->server->tree->getNodeForPath($this->calendarObjectUri),
596 $this->server->emit('beforeCreateFile', [
[all …]
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/
H A DICSExportPlugin.php54 protected $server; variable in Sabre\\CalDAV\\ICSExportPlugin
62 function initialize(DAV\Server $server) { argument
64 $this->server = $server;
65 $server->on('method:GET', [$this, 'httpGet'], 90);
66 $server->on('browserButtonActions', function($path, $node, &$actions) {
88 $node = $this->server->getProperties($path, [
100 $this->server->transactionType = 'get-calendar-export';
173 $calendarNode = $this->server->tree->getNodeForPath($path);
207 $nodes = $this->server->getPropertiesForMultiplePaths($queryResult, [$calDataProp]);
211 $nodes = $this->server->getPropertiesForPath($path, [$calDataProp], 1);
[all …]
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Subscriptions/
H A DPlugin.php30 * @param Server $server
33 function initialize(Server $server) { argument
35 $server->resourceTypeMapping['Sabre\\CalDAV\\Subscriptions\\ISubscription'] =
38 $server->xml->elementMap['{http://calendarserver.org/ns/}source'] =
41 $server->on('propFind', [$this, 'propFind'], 150);
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Subscriptions/
H A DPlugin.php30 * @param Server $server
33 function initialize(Server $server) { argument
35 $server->resourceTypeMapping['Sabre\\CalDAV\\Subscriptions\\ISubscription'] =
38 $server->xml->elementMap['{http://calendarserver.org/ns/}source'] =
41 $server->on('propFind', [$this, 'propFind'], 150);

12345678910>>...27