Lines Matching refs:remote

21     protected $remote;  variable in dokuwiki\\test\\Remote\\ApiCoreTest
41 $this->remote = new Api();
80 $this->remote->call('core.getAPIVersion')
89 $this->remote->call('core.getWikiVersion')
99 $this->remote->call('core.getWikiTitle')
108 $this->remote->call('core.getWikiTime'),
140 $this->assertEquals(AUTH_UPLOAD, $this->remote->call('core.aclCheck', ['page' => $id]));
153 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', ['page' => $id]));
193 $this->remote->call(
237 $this->remote->call(
274 $this->remote->call(
316 $this->remote->call(
340 $this->remote->call('core.getPage', ['page' => $id, 'rev' => 0]),
346 $this->remote->call('core.getPage', ['page' => $id, 'rev' => $rev1]),
352 $this->remote->call('core.getPage', ['page' => $id, 'rev' => $rev2]),
358 $this->remote->call('core.getPage', ['page' => $id, 'rev' => 1234]),
364 $this->remote->call('core.getPage', ['page' => 'foobar', 'rev' => 1234]),
389 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => 0]),
395 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => $rev1]),
401 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => $rev2]),
407 $this->remote->call('core.getPageHTML', ['page' => $id, 'rev' => 1234]);
415 $this->remote->call('core.getPageHTML', ['page' => 'foobar', 'rev' => 1234]);
448 …$this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => 0, 'hash' => true, 'author' => tr…
463 $this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => $rev1]),
478 $this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => $rev2]),
484 $this->remote->call('core.getPageInfo', ['page' => $id, 'rev' => 1234]);
492 $this->remote->call('core.getPageInfo', ['page' => 'foobar', 'rev' => 1234]);
516 $versions = $this->remote->call('core.getPageHistory', $params);
527 $versions = $this->remote->call('core.getPageHistory', $params);
539 $versions = $this->remote->call('core.getPageHistory', $params);
547 $versions = $this->remote->call('core.getPageHistory', $params);
555 $versions = $this->remote->call('core.getPageHistory', $params);
631 $this->remote->call('core.lockPages', ['pages' => $tolock]),
652 $this->remote->call('core.unlockPages', ['pages' => $tounlock])
668 $this->assertTrue($this->remote->call('core.savePage', $params));
676 $this->assertTrue($this->remote->call('core.savePage', $params));
682 $this->remote->call('core.savePage', $params);
701 $this->assertEquals(true, $this->remote->call('core.appendPage', $params));
729 $this->remote->call(
783 $this->remote->call(
801 $this->remote->call('core.getMedia', ['media' => $id])
806 $this->remote->call('core.getMedia', ['media' => $id, 'rev' => 1234]);
814 $this->remote->call('core.getMedia', ['media' => 'foobar.png']);
839 … $this->remote->call('core.getMediaInfo', ['media' => $id, 'hash' => true, 'author' => false])
844 $this->remote->call('core.getMediaInfo', ['media' => $id, 'rev' => 1234]);
852 $this->remote->call('core.getMediaInfo', ['media' => 'foobar.png']);
883 $versions = $this->remote->call('core.getMediaHistory', $params);
890 $versions = $this->remote->call('core.getMediaHistory', $params);
896 $versions = $this->remote->call('core.getMediaHistory', $params);
901 $versions = $this->remote->call('core.getMediaHistory', $params);
915 …$this->assertTrue($this->remote->call('core.saveMedia', ['media' => $target, 'base64' => $base64])…
933 $this->remote->call('core.deleteMedia', ['media' => $id]);
950 $this->assertTrue($this->remote->call('core.deleteMedia', ['media' => $id]));
958 $this->remote->call('core.deleteMedia', ['media' => $id]);