| /plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
| D | StreamDecoratorTraitTest.php | 28 $this->c = fopen('php://temp', 'r+'); 29 fwrite($this->c, 'foo'); 30 fseek($this->c, 0); 31 $this->a = Stream::factory($this->c); 32 $this->b = new Str($this->a); 37 $s = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface') 38 ->getMockForAbstractClass(); 39 $s->expects($this->once()) 40 ->method('read') 41 ->will($this->throwException(new \Exception('foo'))); [all …]
|
| D | StreamTest.php | 15 $this->expectException(InvalidArgumentException::class); 24 $this->assertTrue($stream->isReadable()); 25 $this->assertTrue($stream->isWritable()); 26 $this->assertTrue($stream->isSeekable()); 27 $this->assertEquals('php://temp', $stream->getMetadata('uri')); 28 $this->assertIsArray($stream->getMetadata()); 29 $this->assertEquals(4, $stream->getSize()); 30 $this->assertFalse($stream->eof()); 31 $stream->close(); 39 $this->assertFalse(is_resource($handle)); [all …]
|
| D | AppendStreamTest.php | 18 $s = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface') 19 ->getMockForAbstractClass(); 20 $s->expects($this->once()) 21 ->method('isReadable') 22 ->will($this->returnValue(true)); 23 $a->addStream($s); 29 $this->assertFalse($a->seek(100, SEEK_CUR)); 35 $s = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface') 36 ->getMockForAbstractClass(); 37 $s->expects($this->once()) [all …]
|
| D | FnStreamTest.php | 16 $this->expectException(BadMethodCallException::class); 17 $this->expectExceptionMessage('seek() is not implemented in the FnStream'); 18 (new FnStream([]))->seek(1); 23 $s = new FnStream([ 25 $this->assertEquals(3, $len); 30 $this->assertEquals('foo', $s->read(3)); 36 $s = new FnStream([ 41 unset($s); 42 $this->assertTrue($called); 50 $s = new FnStream([]); [all …]
|
| D | CachingStreamTest.php | 24 $this->decorated = Stream::factory('testing'); 25 $this->body = new CachingStream($this->decorated); 30 $this->decorated->close(); 31 $this->body->close(); 38 $this->assertEquals(4, $caching->getSize()); 43 $this->expectException(RuntimeException::class); 44 $this->expectErrorMessage('Cannot seek to byte 10'); 45 $this->body->seek(10); 50 $this->assertFalse($this->body->seek(2, SEEK_END)); 56 $d = $this->getMockBuilder('GuzzleHttp\Stream\CachingStream') [all …]
|
| D | PumpStreamTest.php | 19 $this->assertEquals('bar', $p->getMetadata('foo')); 20 $this->assertEquals(['foo' => 'bar'], $p->getMetadata()); 21 $this->assertEquals(100, $p->getSize()); 29 $this->assertEquals('a', $p->read(1)); 30 $this->assertEquals(1, $p->tell()); 31 $this->assertEquals('aaaaa', $p->read(5)); 32 $this->assertEquals(6, $p->tell()); 42 $this->assertEquals('a', $p->read(1)); 43 $this->assertEquals('b', $p->read(1)); 44 $this->assertEquals('cdef', $p->read(4)); [all …]
|
| /plugin/matrixnotifierwas/vendor/guzzlehttp/psr7/src/ |
| D | LimitStream.php | 28 * from the stream. Pass -1 for no limit. 34 int $limit = -1, 37 $this->stream = $stream; 38 $this->setLimit($limit); 39 $this->setOffset($offset); 45 if ($this->stream->eof()) { 50 if ($this->limit === -1) { 54 return $this->stream->tell() >= $this->offset + $this->limit; 62 if (null === ($length = $this->stream->getSize())) { 64 } elseif ($this->limit === -1) { [all …]
|
| D | StreamDecoratorTrait.php | 21 $this->stream = $stream; 33 $this->stream = $this->createStream(); 35 return $this->stream; 44 if ($this->isSeekable()) { 45 $this->seek(0); 48 return $this->getContents(); 53 … trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 72 $callable = [$this->stream, $method]; 76 return $result === $this->stream ? $this : $result; 81 $this->stream->close(); [all …]
|
| D | FnStream.php | 20 'getSize', 'tell', 'eof', 'isSeekable', 'seek', 'isWritable', 'write', 32 $this->methods = $methods; 36 $this->{'_fn_'.$name} = $fn; 56 if (isset($this->_fn_close)) { 57 ($this->_fn_close)(); 97 return ($this->_fn___toString)(); 102 … trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); 110 ($this->_fn_close)(); 115 return ($this->_fn_detach)(); 120 return ($this->_fn_getSize)(); [all …]
|
| /plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/ |
| D | LimitStream.php | 25 * from the stream. Pass -1 for no limit. 31 $limit = -1, 34 $this->stream = $stream; 35 $this->setLimit($limit); 36 $this->setOffset($offset); 42 if ($this->stream->eof()) { 47 if ($this->limit == -1) { 51 return $this->stream->tell() >= $this->offset + $this->limit; 60 if (null === ($length = $this->stream->getSize())) { 62 } elseif ($this->limit == -1) { [all …]
|
| /plugin/webdav/vendor/sabre/dav/lib/DAV/ |
| D | CorePlugin.php | 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']); 41 $server->on('method:PUT', [$this, 'httpPut']); 42 $server->on('method:MKCOL', [$this, 'httpMkcol']); 43 $server->on('method:MOVE', [$this, 'httpMove']); [all …]
|
| /plugin/chordsheets/ |
| H A D | test.html | 12 <div id="sheet" class="song-with-chords" id="1963630744" data-transpose="-2">[Intro] 28 Come all without, come all with - in, 36 Come all without, come all with - in, 56 Everybody's building ships and boats, 64 Everybody's in despair, every girl and boy, 70 (Ah------------, ah, ah!) 76 Every - body's gonna jump for joy! 78 (Ah------------------------------!) 88 Come all without, come all with - in, 116 Everyone's be - neath the trees, feeding pigeons on a limb, [all …]
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/ |
| H A D | CorePlugin.php | 13 * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). 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']); 41 $server->on('method:PUT', [$this, 'httpPut']); 42 $server->on('method:MKCOL', [$this, 'httpMkcol']); [all …]
|
| /plugin/userhomepage/lang/en/ |
| D | userhomepage_publicspace.default | 1 ====== @NAME@ (@USER@) - Public Space ====== 2 …ce ''//@TARGETPUBLICNS@:*//'', as stated by it's name, **can be read by anyone but only you can e… 3 …* You can introduce yourself, add links to your contributions in this wiki, tell a story or presen… 4 * Think about [[wp>http://en.wikipedia.org/wiki/Etiquette_in_technology|netiquette]] ;-) 8 * To create a sub-namespace, simply indicate the new page's full position : 9 <code>[[@TARGETPUBLICNS@:<sub-namespace_to_create>:example 3]]</code> 12 Now, write something! :-D
|
| D | userhomepage_public.default | 1 ====== @NAME@ (@USER@) - Public Page ====== 2 This public page ''//@TARGETPUBLICPAGE@.txt//'', as stated by it's name, **can be read by anyone b… 3 …* You can introduce yourself, add links to your contributions in this wiki, tell a story or presen… 4 * Think about [[wp>http://en.wikipedia.org/wiki/Etiquette_in_technology|netiquette]] ;-) 10 Now, write something! :-D
|
| /plugin/aichat/lang/en/ |
| D | noanswer.prompt | 1 …s question, tell them that you can't answer it because you couldn't find any matching wiki pages, …
|
| /plugin/bureaucracyau/_test/ |
| D | input.txt | 2 action template userstpl users:%Y:@@What's your Name?@@:start 7 email "Your E-Mail Address" 23 textarea "Tell me about your self" 27 select "What's your Continent?" "Europe|N. America|S. America|Asia|Australia" 28 textbox "What's your Name?"
|
| /plugin/bureaucracy-au/_test/ |
| D | input.txt | 2 action template userstpl users:%Y:@@What's your Name?@@:start 7 email "Your E-Mail Address" 23 textarea "Tell me about your self" 27 select "What's your Continent?" "Europe|N. America|S. America|Asia|Australia" 28 textbox "What's your Name?"
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/ |
| D | HostBlacklist.php | 3 // It's not clear to me whether or not Punycode means that hostnames 4 // do not have canonical forms anymore. As far as I can tell, it's 25 $this->blacklist = $config->get('URI.HostBlacklist'); 37 foreach ($this->blacklist as $blacklisted_host_fragment) { 38 if ($uri->host !== null && strpos($uri->host, $blacklisted_host_fragment) !== false) {
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/ |
| D | HTML.AllowedElements.txt | 5 --DESCRIPTION-- 7 If HTML Purifier's tag set is unsatisfactory for your needs, you can 16 tell HTML Purifier about this element by using the 17 … <a href="http://htmlpurifier.org/docs/enduser-customize.html">advanced customization features.</a> 23 --# vim: et sw=4 sts=4
|
| /plugin/grensladawritezor/ |
| D | readme.txt | 5 …s XHTML renderer's default escaping. This is probably a "good thing" (tm) since allowing full HTML… 9 …2. Support for the rest of FCKEditor's features - namely, image upload and font face don't work. P… 10 …3. Auto-mapping between wiki text and the rich text editor. i.e. instead of using the <EMBEDDED_HT… 13 The toolbar icon, GrenSladaWritezor.png, needs to be copied to DokuWiki's lib/images/toolbar direct… 16 I embedded a copy of v. 2.4.1 of FCKEditor in the plugin to avoid an extra installation step. It's … 33 That's all for now! Enjoy!
|
| /plugin/wysiwyg/fckeditor/_samples/py/ |
| D | sampleposteddata.py | 4 FCKeditor - The text editor for Internet - http://www.fckeditor.net 5 Copyright (C) 2003-2007 Frederico Caldeira Knabben 12 - GNU General Public License Version 2 or later (the "GPL") 15 - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 18 - Mozilla Public License Version 1.1 or later (the "MPL") 19 http://www.mozilla.org/MPL/MPL-1.1.html 29 # Tell the browser to render html 30 print "Content-Type: text/html" 40 print """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 43 <title>FCKeditor - Samples - Posted Data</title> [all …]
|
| /plugin/grensladawritezor/fckeditor/_samples/py/ |
| D | sampleposteddata.py | 4 FCKeditor - The text editor for Internet - http://www.fckeditor.net 5 Copyright (C) 2003-2007 Frederico Caldeira Knabben 12 - GNU General Public License Version 2 or later (the "GPL") 15 - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 18 - Mozilla Public License Version 1.1 or later (the "MPL") 19 http://www.mozilla.org/MPL/MPL-1.1.html 29 # Tell the browser to render html 30 print "Content-Type: text/html" 40 print """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 43 <title>FCKeditor - Samples - Posted Data</title> [all …]
|
| D | sample01.py | 4 FCKeditor - The text editor for Internet - http://www.fckeditor.net 5 Copyright (C) 2003-2007 Frederico Caldeira Knabben 12 - GNU General Public License Version 2 or later (the "GPL") 15 - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 18 - Mozilla Public License Version 1.1 or later (the "MPL") 19 http://www.mozilla.org/MPL/MPL-1.1.html 32 # Tell the browser to render html 33 print "Content-Type: text/html" 37 print """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 40 <title>FCKeditor - Sample</title> [all …]
|
| /plugin/grensladawritezor/fckeditor/editor/_source/classes/ |
| D | fckeditingarea.js | 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 10 * - GNU General Public License Version 2 or later (the "GPL") 13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 16 * - Mozilla Public License Version 1.1 or later (the "MPL") 17 * http://www.mozilla.org/MPL/MPL-1.1.html 64 html = html.replace( /(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi, '$1></base>' ) ; 69 html = html.replace( /(<body[^>]*>)\s*(<\/body>)/i, '$1' + GECKO_BOGUS + '$2' ) ; 103 // Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it 183 // Tell Gecko to use or not the <SPAN> tag for the bold, italic and underline. [all …]
|