/dokuwiki/lib/plugins/authpdo/conf/ |
H A D | metadata.php | 11 $meta['user'] = array('string', '_caution' => 'danger'); 13 $meta['select-user'] = array('', '_caution' => 'danger'); 14 $meta['check-pass'] = array('', '_caution' => 'danger'); 15 $meta['select-user-groups'] = array('', '_caution' => 'danger'); 16 $meta['select-groups'] = array('', '_caution' => 'danger'); 17 $meta['insert-user'] [all...] |
H A D | default.php | 11 $conf['user'] = ''; 15 * statement to select a single user identified by its login name 17 * input: :user 18 * return: user, name, mail, (clear|hash), [uid], [*] 20 $conf['select-user'] = ''; 25 * input: :user, :clear, :hash, [uid], [*] 28 $conf['check-pass'] = ''; 31 * statement to select a single user identified by its login name 33 * input: :user, [ui [all...] |
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
H A D | adLDAPExchange.php | 12 * Copyright (c) 2006-2012 Scott Barnett, Richard Hyland 31 * @copyright (c) 2006-2012 Scott Barnett, Richard Hyland 32 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1 51 $this->adldap = $adldap; 57 * @param string $username The username of the user to add the Exchange account to 58 * @param array $storageGroup The mailbox, Exchange Storage Group, for the user account, this must be a full CN 60 * @param string $emailAddress The primary email address to add to this user 62 * @param bool $mdbUseDefaults Indicates whether the store should use the default quota, rather than the per-mailbox quota. 75 $baseDn = $this->adlda [all...] |
H A D | adLDAPUsers.php | 12 * Copyright (c) 2006-2012 Scott Barnett, Richard Hyland 29 * @subpackage User 31 * @copyright (c) 2006-2012 Scott Barnett, Richard Hyland 32 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1 43 * USER FUNCTIONS 54 $this->adldap = $adldap; 58 * Validate a user's login credentials 60 * @param string $username A user's AD username 61 * @param string $password A user' 218 public function info($username, $fields = NULL, $isGUID = false) global() function in adLDAPUsers [all...] |
/dokuwiki/inc/File/ |
H A D | PageFile.php | 32 $this->id = $id; 33 $this->changelog = new PageChangeLog($this->id); 39 return $this->id; 45 return wikiFN($this->id, $rev); 58 $revInfo = $rev ? $this->changelog->getRevisionInfo($rev) : false; 61 : io_readWikiPage($this->getPath($rev), $this->id, $rev); // retrieve from attic 63 return io_readWikiPage($this->getPat [all...] |
/dokuwiki/inc/Subscriptions/ |
H A D | BulkSubscriptionSender.php | 27 if (!$subscriberManager->isenabled()) { 39 $subscriptions = $subscriberManager->subscribers($page, null, ['digest', 'list']); 41 // remember current user info 43 $olduser = $INPUT->server->str('REMOTE_USER'); 46 if (!$this->lock($target)) { 50 foreach ($users as $user => $info) { 51 [$style, $lastupdate] = $info; [all...] |
/dokuwiki/lib/plugins/authpdo/ |
H A D | auth.php | 10 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 33 $this->debugMsg('PDO extension for PHP not found.', -1, __LINE__); 34 $this->success = false; 38 if (!$this->getConf('dsn')) { 39 $this->debugMsg('No DSN specified', -1, __LINE__); 40 $this->success = false; 45 $this->pdo = new PDO( 46 $this->getCon 162 checkPass($user, $pass) global() argument 202 getUserData($user, $requireGroups = true) global() argument 236 createUser($user, $clear, $name, $mail, $grps = null) global() argument 295 modifyUser($user, $changes) global() argument 509 selectUser($user) global() argument 551 deleteUser($user) global() argument [all...] |
/dokuwiki/lib/plugins/authplain/ |
H A D | auth.php | 13 * @author Jan Schumann <js@schumann-it.com> 17 /** @var array user cache */ 40 $this->success = false; 43 $this->cando['addUser'] = true; 44 $this->cando['delUser'] = true; 45 $this->cando['modLogin'] = true; 46 $this->cando['modPass'] = true; 47 $this->cando['modName'] = true; 48 $this->cando['modMail'] = true; 49 $this->cand 67 checkPass($user, $pass) global() argument 90 getUserData($user, $requireGroups = true) global() argument 108 createUserLine($user, $pass, $name, $mail, $grps) global() argument 137 createUser($user, $pwd, $name, $mail, $grps = null) global() argument 173 modifyUser($user, $changes) global() argument 354 cleanUser($user) global() argument 455 filter($user, $info) global() argument [all...] |
/dokuwiki/inc/ |
H A D | auth.php | 7 * a user by calling auth_login() 53 foreach ($plugin_controller->getList('auth') as $plugin) { 55 $auth = $plugin_controller->load('auth', $plugin); 61 msg($lang['authtempfail'], -1); 65 if ($auth->success == false) { 66 // degrade to unauthenticated user 69 msg($lang['authtempfail'], -1); 74 $INPUT->set('http_credentials', false); 75 if (!$conf['rememberme']) $INPUT->set('r', false); 77 // Populate Basic Auth user/passwor 207 auth_login($user, $pass, $sticky = false, $silent = false) global() argument 454 auth_ismanager($user = null, $groups = null, $adminonly = false, $recache = false) global() argument 514 auth_isadmin($user = null, $groups = null, $recache = false) global() argument 529 auth_isMember($memberlist, $user, array $groups) global() argument 596 auth_aclcheck($id, $user, $groups) global() argument 831 auth_sendPassword($user, $password) global() argument 1246 auth_setCookie($user, $pass, $sticky) global() argument [all...] |
H A D | infoutils.php | 19 define('DOKU_MESSAGEURL', 'https://update.dokuwiki.org/check/'); 21 define('DOKU_MESSAGEURL', 'http://update.dokuwiki.org/check/'); 33 global $INFO; 36 if ($conf['useacl'] && !$INFO['ismanager']) return; 43 if ($lm < time() - (60 * 60 * 24) || $lm < @filemtime(DOKU_INC . DOKU_SCRIPT)) { 53 $http->timeout = 12; 54 $resp = $http->get(DOKU_MESSAGEURL . $updateVersion); 60 Logger::debug("checkUpdateMessages(): unexpected HTTP response received", $http->error); 94 $commitInfo = shell_exec("git log -1 - [all...] |
H A D | common.php | 34 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8'); 94 return preg_replace('/[\x00-\x1F]+/s', '', $string); 101 * @link http://en.wikipedia.org/wiki/Cross-site_request_forgery 102 * @link http://christ1an.blogspot.com/2007/04/preventing-csrf-efficiently.html 111 $user = $INPUT->server->str('REMOTE_USER'); 114 // CSRF checks are only for logged in users - do not generate for anonymous 115 if (trim($user) [all...] |
H A D | changelog.php | 23 * @deprecated 2023-09-25 44 * - ExternalEdit - mark as an external edit. 50 * @deprecated 2021-11-28 61 // no more used in DokuWiki core, but left for third-party plugins 75 $user = ($flagExternalEdit) ? '' : $INPUT->server->st [all...] |
H A D | html.php | 33 define('SEC_EDIT_PATTERN', '#<!-- EDIT({.*?}) -->#'); 54 return $xhtml_renderer->internallink($id, $name, $search, true, 'navigation'); 63 * @deprecated 2020-07-18 68 (new Login($svg))->show(); 75 * @deprecated 2020-07-1 [all...] |
H A D | template.php | 98 global $INFO; 99 $INFO['prependTOC'] = $prependTOC; 120 $router->getAction()->tplContent(); 123 msg(hsc($e->getMessage()), -1); 146 global $INFO; 153 } elseif (($ACT == 'show' || str_starts_with($ACT, 'export')) && !$REV && $INFO['exists']) { 165 $toc = $plugin->getTOC(); 186 global $INFO; [all...] |
/dokuwiki/lib/plugins/config/core/ |
H A D | Writer.php | 13 /** @var string header info */ 14 protected $header = 'Dokuwiki\'s Main Configuration File - Local Settings'; 25 $this->savefile = end($config_cascade['main']['local']); 37 if ($this->isLocked()) throw new \Exception('no save'); 40 if (file_exists($this->savefile)) { 41 if (file_exists($this->savefile . '.bak.php')) @unlink($this->savefile . '.bak.php'); 42 if (!io_rename($this->savefile, $this->savefile . '.bak.php')) throw new \Exception('no backup'); 45 if (!$fh = @fopen($this->savefil [all...] |
/dokuwiki/lib/plugins/extension/helper/ |
H A D | extension.php | 6 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 7 * @author Michael Hamann <michael@content-space.de> 44 $this->tpllib = dirname(tpl_incdir()) . '/'; 54 foreach ($this->temporary as $dir) { 76 $this->id = $id; 78 $this->base = $id; 81 $this->base = substr($id, 9); 82 $this->is_template = true; 84 $this->is_template = false; 87 $this->localInf [all...] |
/dokuwiki/conf/ |
H A D | dokuwiki.php | 22 $conf['license'] = 'cc-by-nc-sa'; //see conf/license.php 24 $conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection 25 $conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect 26 $conf['cookiedir'] = ''; //path to use in cookies - blank for basedir 39 $conf['signature'] = ' --- //[[@MAIL@|@NAME@]] @DATE@//'; //signature see wiki page for details 42 // 'email' e-mai [all...] |
/dokuwiki/lib/plugins/acl/ |
H A D | admin.php | 41 return $this->getLang('admin_acl'); 53 * handle user request 71 if ($INPUT->str('ns') == '*') { 72 $this->ns = '*'; 74 $this->ns = cleanID($INPUT->str('ns')); 77 if ($INPUT->str('current_ns')) { 78 $this->current_item = ['id' => cleanID($INPUT->str('current_ns')), 'type' => 'd']; 79 } elseif ($INPUT->st [all...] |
/dokuwiki/vendor/geshi/geshi/src/geshi/ |
H A D | cobol.php | 4 * ---------- [all...] |
H A D | racket.php | 4 * ---------- [all...] |
H A D | progress.php | 4 * -------- 13 * -- [all...] |
/dokuwiki/lib/plugins/popularity/ |
H A D | helper.php | 17 public $submitUrl = 'https://update.dokuwiki.org/popularity.php'; 43 $this->autosubmitFile = $conf['cachedir'] . '/autosubmit.txt'; 44 $this->autosubmitErrorFile = $conf['cachedir'] . '/autosubmitError.txt'; 45 $this->popularityLastSubmitFile = $conf['cachedir'] . '/lastSubmitTime.txt'; 55 return file_exists($this->autosubmitFile); 68 $status = $httpClient->sendRequest($this->submitUrl, ['data' => $data], 'POST'); 70 $error = $httpClient->error; 82 $manualSubmission = @filemtime($this->popularityLastSubmitFile); 83 $autoSubmission = @filemtime($this->autosubmitFil [all...] |
/dokuwiki/lib/plugins/config/ |
H A D | admin.php | 36 * handle user request 43 $this->configuration = new Configuration(); 45 if (!$INPUT->bool('save') || !checkSecurityToken()) { 50 if ($this->configuration->isLocked()) return; 52 // update settings and redirect of successful 53 $ok = $this->configuration->updateSettings($INPUT->arr('config')); 56 if ($this->configuratio [all...] |
/dokuwiki/data/ |
H A D | deleted.files | 5 # removed on 2022-06-26 20 lib/images/interwiki/user.png 93 # removed on 2020-06-01 124 lib/plugins/authmysql/lang/de-informal/lang.php 125 lib/plugins/authmysql/lang/de-informal/settings.php 159 lib/plugins/authmysql/lang/pt-br/lang.php 160 lib/plugins/authmysql/lang/pt-br/settings.php 175 lib/plugins/authmysql/lang/zh-t [all...] |
/dokuwiki/inc/parser/ |
H A D | xhtml.php | 73 'startSectionEdit: $data "%s" is NOT an array! One of your plugins needs an update.', 76 -1 79 // @deprecated 2018-04-14, backward compatibility 86 $data['secid'] = ++$this->lastsecid; 88 $this->sectionedits[] = $data; 101 if (count($this->sectionedits) == 0) { 104 $data = array_pop($this->sectionedits); 111 $data['range'] = $data['start'] . '-' . (is_null($end) ? '' : $end); 113 $this->do [all...] |