Lines Matching +full:check +full:- +full:pass -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

35             'core.getAPIVersion' => (new ApiCall([$this, 'getAPIVersion'], 'info'))->setPublic(),
38 'core.getWikiTitle' => (new ApiCall([$this, 'getWikiTitle'], 'info'))->setPublic(),
41 'core.login' => (new ApiCall([$this, 'login'], 'user'))->setPublic(),
82 * When developing a client, you should check this version and make sure you can handle it.
106 * Returns a Unix timestamp (seconds since 1970-01-01 00:00:00 UTC).
131 * @param string $pass The password
134 public function login($user, $pass)
145 if ($auth->canDo('external')) {
146 $ok = $auth->trustExternal($user, $pass, false);
151 'password' => $pass,
194 * Check ACL Permissions
196 * This call allows to check the permissions for a given page/media and user/group combination.
213 $page = $this->checkPage($page, 0, false, AUTH_NONE);
219 $userinfo = $auth->getUserData($user);
255 return $this->getAllPages($hash);
293 $pages = idx_get_indexer()->getPages();
303 if ($hash) $page->calculateHash();
363 * @author Michael Hamann <michael@content-space.de>
390 * A non-existing page (or revision) will return an empty string usually. For the current revision
403 $page = $this->checkPage($page, $rev, false);
432 $page = $this->checkPage($page, $rev);
454 $page = $this->checkPage($page, $rev);
457 if ($author) $result->retrieveAuthor();
458 if ($hash) $result->calculateHash();
481 $page = $this->checkPage($page, 0, false);
484 $pagelog->setChunkSize(1024);
486 $revisions = $pagelog->getRevisions($first - 1, $conf['recent']);
490 if (!page_exists($page, $rev)) continue; // skip non-existing revisions
491 $info = $pagelog->getRevisionInfo($rev);
527 $page = $this->checkPage($page);
532 // instantiate new Renderer - needed for interwiki links
534 $Renderer->interwiki = getInterwiki();
547 $url = $Renderer->_resolveInterWiki($in[1][2], $in[1][3]);
571 $page = $this->checkPage($page, 0, false);
665 $page = $this->checkPage($page, 0, false, AUTH_EDIT);
673 // Check, if page is locked
678 // SPAM check
708 * If the page does not exist, it will be created. If a page template for the non-existant
725 $currentpage = $this->getPage($page);
729 return $this->savePage($page, $currentpage . $text, $summary, $isminor);
793 * @author Michael Hamann <michael@content-space.de>
873 if ($hash) $info->calculateHash();
874 if ($author) $info->retrieveAuthor();
932 '-' => '+', // RFC4648 base64url
998 * - clean the given page id
999 * - disallow an empty page id
1000 * - check if the page exists (unless disabled)
1001 * - check if the user has the required access level (pass AUTH_NONE to skip)