| /dokuwiki/_test/tests/Remote/ |
| H A D | ApiTest.php | 3 namespace dokuwiki\test\Remote; 5 use dokuwiki\Remote\AccessDeniedException; 6 use dokuwiki\Remote\Api; 7 use dokuwiki\Remote\ApiCall; 8 use dokuwiki\Remote\RemoteException; 10 use dokuwiki\test\Remote\Mock\ApiCore; 11 use dokuwiki\test\Remote\Mock\TestPlugin1; 12 use dokuwiki\test\Remote\Mock\TestPlugin2; 20 protected $remote; variable in dokuwiki\\test\\Remote\\ApiTest 46 $conf['remote'] = 1; [all …]
|
| H A D | ApiCoreAclCheckTest.php | 3 namespace dokuwiki\test\Remote; 5 use dokuwiki\Remote\Api; 15 protected $remote; variable in dokuwiki\\test\\Remote\\ApiCoreAclCheckTest 41 $conf['remote'] = 1; 45 $this->remote = new Api(); 80 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', $params)); 90 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', $params)); 97 $this->assertEquals(AUTH_CREATE, $this->remote->call('core.aclCheck', $params)); 104 $this->assertEquals(AUTH_CREATE, $this->remote->call('core.aclCheck', $params)); 111 $this->assertEquals(AUTH_CREATE, $this->remote->call('core.aclCheck', $params)); [all …]
|
| H A D | ApiCoreTest.php | 3 namespace dokuwiki\test\Remote; 5 use dokuwiki\Remote\AccessDeniedException; 6 use dokuwiki\Remote\Api; 7 use dokuwiki\Remote\ApiCore; 8 use dokuwiki\Remote\RemoteException; 21 protected $remote; variable in dokuwiki\\test\\Remote\\ApiCoreTest 37 $conf['remote'] = 1; 41 $this->remote = new Api(); 80 $this->remote->call('core.getAPIVersion') 89 $this->remote->call('core.getWikiVersion') [all …]
|
| H A D | JsonRpcServerTest.php | 3 namespace dokuwiki\test\Remote; 6 use dokuwiki\test\Remote\Mock\JsonRpcServer; 20 $conf['remote'] = 1;
|
| H A D | XmlRpcServerTest.php | 3 namespace dokuwiki\test\Remote; 6 use dokuwiki\test\Remote\Mock\XmlRpcServer; 17 $conf['remote'] = 1;
|
| H A D | ApiCallTest.php | 3 namespace dokuwiki\test\Remote; 6 use dokuwiki\Remote\ApiCall; 7 use dokuwiki\Remote\OpenApiDoc\DocBlockMethod;
|
| /dokuwiki/lib/plugins/usermanager/_test/ |
| H A D | RemoteApiTest.php | 5 use dokuwiki\Remote\AccessDeniedException; 6 use dokuwiki\Remote\Api; 7 use dokuwiki\Remote\RemoteException; 11 * Remote API tests for the usermanager plugin 19 protected $remote; variable in dokuwiki\\plugin\\usermanager\\test\\RemoteApiTest 24 $this->remote = new Api(); 32 $conf['remote'] = 1; 58 $this->remote->call('plugin.usermanager.createUser', $params) 64 $this->remote->call('plugin.usermanager.createUser', $params) 89 $this->remote->call('plugin.usermanager.createUser', $params); [all …]
|
| /dokuwiki/inc/Extension/ |
| H A D | RemotePlugin.php | 5 use dokuwiki\Remote\Api; 6 use dokuwiki\Remote\ApiCall; 11 * Remote Plugin prototype 13 * Add functionality to the remote API in a plugin 28 * Get all available methods with remote access. 30 * By default it exports all public methods of a remote plugin. Methods beginning
|
| /dokuwiki/inc/Remote/ |
| H A D | Api.php | 3 namespace dokuwiki\Remote; 7 use dokuwiki\test\Remote\Mock\ApiCore as MockApiCore; 10 * This class provides information about remote access to the wiki. 13 * There are two types of remote methods. The first is the core methods. 15 * The other is plugin methods. These are provided by remote plugins. 43 /** @var ApiCall[] remote methods provided by dokuwiki plugins */ 47 * Get all available methods with remote access. 76 * Collects all the methods of the enabled Remote Plugins 84 $plugins = plugin_list('remote'); 87 $plugin = plugin_load('remote', $pluginName); [all …]
|
| H A D | XmlRpcServer.php | 3 namespace dokuwiki\Remote; 16 protected $remote; variable in dokuwiki\\Remote\\XmlRpcServer 23 $this->remote = new Api(); 32 if (!$conf['remote']) { 53 $result = $this->remote->call($methodname, $args);
|
| H A D | JsonRpcServer.php | 3 namespace dokuwiki\Remote; 6 * Provide the Remote XMLRPC API as a JSON based API 10 protected $remote; variable in dokuwiki\\Remote\\JsonRpcServer 20 $this->remote = new Api(); 35 if (!$conf['remote']) { 176 return $this->remote->call($methodname, $args);
|
| H A D | RemoteException.php | 3 namespace dokuwiki\Remote;
|
| H A D | AccessDeniedException.php | 3 namespace dokuwiki\Remote;
|
| /dokuwiki/_test/tests/Remote/Mock/ |
| H A D | JsonRpcServer.php | 3 namespace dokuwiki\test\Remote\Mock; 5 class JsonRpcServer extends \dokuwiki\Remote\JsonRpcServer 12 $this->remote->getCoreMethods(new ApiCore()); // use the mock API core
|
| H A D | XmlRpcServer.php | 3 namespace dokuwiki\test\Remote\Mock; 5 class XmlRpcServer extends \dokuwiki\Remote\XmlRpcServer 13 $this->remote->getCoreMethods(new ApiCore()); // use the mock API core
|
| H A D | ApiCore.php | 3 namespace dokuwiki\test\Remote\Mock; 6 use dokuwiki\Remote\ApiCall; 7 use dokuwiki\Remote\Response\Link;
|
| H A D | TestPlugin1.php | 3 namespace dokuwiki\test\Remote\Mock; 6 use dokuwiki\Remote\ApiCall;
|
| /dokuwiki/_test/tests/Remote/OpenApiDoc/ |
| H A D | DocBlockClassTest.php | 3 namespace dokuwiki\test\Remote\OpenApiDoc; 5 use dokuwiki\Remote\OpenApiDoc\DocBlockClass; 6 use dokuwiki\Remote\OpenApiDoc\DocBlockMethod; 7 use dokuwiki\Remote\OpenApiDoc\DocBlockProperty; 8 use dokuwiki\Remote\OpenApiDoc\Type;
|
| H A D | ClassResolverTest.php | 3 namespace dokuwiki\test\Remote\OpenApiDoc; 5 use dokuwiki\Remote\OpenApiDoc\ClassResolver; 20 'dokuwiki\test\Remote\OpenApiDoc\Something\Else',
|
| H A D | DocBlockMethodTest.php | 3 namespace dokuwiki\test\Remote\OpenApiDoc; 5 use dokuwiki\Remote\OpenApiDoc\DocBlockMethod; 6 use dokuwiki\Remote\OpenApiDoc\Type;
|
| H A D | TypeTest.php | 3 namespace dokuwiki\test\Remote\OpenApiDoc; 5 use dokuwiki\Remote\OpenApiDoc\Type; 39 ['Foo', 'dokuwiki\\test\\Remote\\OpenApiDoc\\Foo', 'object', self::class], 81 ['Foo[][]', ['array', 'array', 'dokuwiki\\test\\Remote\\OpenApiDoc\\Foo'], self::class],
|
| /dokuwiki/_test/ |
| H A D | phpcs.xml | 61 <exclude-pattern>*/lib/plugins/*/remote.php</exclude-pattern> 62 <exclude-pattern>*/lib/plugins/*/remote/*.php</exclude-pattern> 69 <!-- underscore skips exposing public methods to remote api --> 72 <exclude-pattern>*/lib/plugins/*/remote.php</exclude-pattern> 73 <exclude-pattern>*/lib/plugins/*/remote/*.php</exclude-pattern>
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | Extension.php | 22 64 => 'Remote', 35 'remote', 52 /** @var array The remote info array of the extension */ 137 * Initializes an extension from remote data 151 if (!isset($data['plugin'])) throw new RuntimeException('Invalid remote data'); 346 // still, here? use the remote info 536 $remote = $this->getLastUpdate(); 537 return $self < $remote; 542 // region Remote Info 807 * Fetches the remote info from the repository [all …]
|
| /dokuwiki/inc/Remote/Response/ |
| H A D | ApiResponse.php | 3 namespace dokuwiki\Remote\Response;
|
| /dokuwiki/lib/exe/ |
| H A D | jsonrpc.php | 3 use dokuwiki\Remote\JsonRpcServer;
|