Home
last modified time | relevance | path

Searched +full:remote -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 94) sorted by relevance

1234

/dokuwiki/_test/tests/Remote/
H A DApiTest.php3 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 DApiCoreAclCheckTest.php3 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 DApiCoreTest.php3 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 DJsonRpcServerTest.php3 namespace dokuwiki\test\Remote;
6 use dokuwiki\test\Remote\Mock\JsonRpcServer;
20 $conf['remote'] = 1;
H A DXmlRpcServerTest.php3 namespace dokuwiki\test\Remote;
6 use dokuwiki\test\Remote\Mock\XmlRpcServer;
17 $conf['remote'] = 1;
H A DApiCallTest.php3 namespace dokuwiki\test\Remote;
6 use dokuwiki\Remote\ApiCall;
7 use dokuwiki\Remote\OpenApiDoc\DocBlockMethod;
/dokuwiki/lib/plugins/usermanager/_test/
H A DRemoteApiTest.php5 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 DRemotePlugin.php5 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 DApi.php3 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 DXmlRpcServer.php3 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 DJsonRpcServer.php3 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 DRemoteException.php3 namespace dokuwiki\Remote;
H A DAccessDeniedException.php3 namespace dokuwiki\Remote;
/dokuwiki/_test/tests/Remote/Mock/
H A DJsonRpcServer.php3 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 DXmlRpcServer.php3 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 DApiCore.php3 namespace dokuwiki\test\Remote\Mock;
6 use dokuwiki\Remote\ApiCall;
7 use dokuwiki\Remote\Response\Link;
H A DTestPlugin1.php3 namespace dokuwiki\test\Remote\Mock;
6 use dokuwiki\Remote\ApiCall;
/dokuwiki/_test/tests/Remote/OpenApiDoc/
H A DDocBlockClassTest.php3 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 DClassResolverTest.php3 namespace dokuwiki\test\Remote\OpenApiDoc;
5 use dokuwiki\Remote\OpenApiDoc\ClassResolver;
20 'dokuwiki\test\Remote\OpenApiDoc\Something\Else',
H A DDocBlockMethodTest.php3 namespace dokuwiki\test\Remote\OpenApiDoc;
5 use dokuwiki\Remote\OpenApiDoc\DocBlockMethod;
6 use dokuwiki\Remote\OpenApiDoc\Type;
H A DTypeTest.php3 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 Dphpcs.xml61 <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 DExtension.php22 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 DApiResponse.php3 namespace dokuwiki\Remote\Response;
/dokuwiki/lib/exe/
H A Djsonrpc.php3 use dokuwiki\Remote\JsonRpcServer;

1234