/dokuwiki/lib/plugins/authpdo/conf/ |
H A D | metadata.php | 11 $meta['user'] = array('string', '_caution' => 'danger'); 12 $meta['pass'] = array('password', '_caution' => 'danger', '_code' => 'base64'); 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-group [all...] |
H A D | default.php | 11 $conf['user'] = ''; 12 $conf['pass'] = ''; 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'] [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/inc/ |
H A D | auth.php | 7 * a user by calling auth_login() 51 if ($INPUT->server->str('REMOTE_USER') === '') { 52 $INPUT->server->remove('REMOTE_USER'); 58 foreach ($plugin_controller->getList('auth') as $plugin) { 60 $auth = $plugin_controller->load('auth', $plugin); 66 msg($lang['authtempfail'], -1); 70 if ($auth->success == false) { 71 // degrade to unauthenticated user 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/'); 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 --pretty=format:'%h %cd' - [all...] |
H A D | common.php | 36 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8'); 64 * Please note: when you pass uninitialized variables, they will implicitly be created 96 return preg_replace('/[\x00-\x1F]+/s', '', $string); 103 * @link http://en.wikipedia.org/wiki/Cross-site_request_forgery 104 * @link http://christ1an.blogspot.com/2007/04/preventing-csrf-efficiently.html 113 $user = $INPUT->server->str('REMOTE_USER'); 116 // CSRF checks are only for logged in users - d [all...] |
H A D | template.php | 120 $router->getAction()->tplContent(); 123 msg(hsc($e->getMessage()), -1); 165 $toc = $plugin->getTOC(); 191 $class = $INPUT->str('page'); 203 if (!is_array($TOC)) $TOC = $plugin->getTOC(); //if TOC wasn't requested yet 205 $plugin->html(); 208 $admin->show(); 277 $styleIni = $styleUtil->cssStylein [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/conf/ |
H A D | mysql.conf.php.example | 10 * uid login pass firstname lastname email 27 $conf['plugin']['authmysql']['user'] = ''; 51 /* Basic SQL statements for user authentication (required) */ 56 * of the user. If the result table is empty or contains more than one 59 * The plugin accesses the password as 'pass' so an alias might be necessary. 62 * %{user} user name 63 * %{pass} encrypted or clear text password (depends on 'encryptPass') 66 $conf['plugin']['authmysql']['checkPass'] = "SELECT pass 70 WHERE login='%{user}' [all...] |
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/vendor/simplepie/simplepie/src/Cache/ |
H A D | MySQL.php | 6 * A PHP-Based RSS and Atom Feed Framework. 9 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 37 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue 42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 53 * connect to the `mydb` database on `localhost` on port 3306, with the user 92 $this->options = [ 93 'user' => null, 94 'pass' => null, 104 $this->options = array_replace_recursive($this->option [all...] |
/dokuwiki/inc/parser/ |
H A D | xhtml.php | 74 'startSectionEdit: $data "%s" is NOT an array! One of your plugins needs an update.', 77 -1 80 // @deprecated 2018-04-14, backward compatibility 87 $data['secid'] = ++$this->lastsecid; 89 $this->sectionedits[] = $data; 102 if (count($this->sectionedits) == 0) { 105 $data = array_pop($this->sectionedits); 112 $data['range'] = $data['start'] . '-' . (is_null($end) ? '' : $end); 114 $this->do [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Item.php | 6 * A PHP-Based RSS and Atom Feed Framework. 9 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 37 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue 42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 48 * Manages all item-related data 94 $this->feed = $feed; 95 $this->data = $data; 108 $this->registry = $registry; 118 return md5(serialize($this->data)); 127 unset($this->fee [all...] |