Home
last modified time | relevance | path

Searched +full:check +full:- +full:pass -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 40) sorted by last modified time

12

/dokuwiki/lib/plugins/authpdo/
H A Dauth.php10 * @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
[all...]
/dokuwiki/inc/parser/
H A Dxhtml.php76 -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->doc .= '<!-
[all...]
/dokuwiki/inc/
H A Dtemplate.php120 $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...]
H A DMailer.class.php5 * attachments). All mails are assumed to be in UTF-8 encoding.
49 $this->partid = substr(md5(uniqid(random_int(0, mt_getrandmax()), true)), 0, 8) . '@' . $server;
50 $this->boundary = '__________' . md5(uniqid(random_int(0, mt_getrandmax()), true));
57 $this->allowhtml = (bool)$conf['htmlmail'];
61 $this->setHeader('Return-Path', $conf['mailreturnpath']);
63 $this->setHeader('X-Mailer', 'DokuWiki');
64 $this->setHeader('X-DokuWik
[all...]
H A Dcommon.php34 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8');
62 * Please note: when you pass uninitialized variables, they will implicitly be created
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
120 * Check th
[all...]
H A Dinfoutils.php19 define('DOKU_MESSAGEURL', 'https://update.dokuwiki.org/check/');
21 define('DOKU_MESSAGEURL', 'http://update.dokuwiki.org/check/');
26 * Check for new messages from upstream
42 // check if new messages needs to be fetched
43 if ($lm < time() - (60 * 60 * 24) || $lm < @filemtime(DOKU_INC . DOKU_SCRIPT)) {
53 $http->timeout = 12;
54 $resp = $http->get(DOKU_MESSAGEURL . $updateVersion);
56 // basic sanity check that this is either an empty string response (ie "no messages")
60 Logger::debug("checkUpdateMessages(): unexpected HTTP response received", $http->error);
94 $commitInfo = shell_exec("git log -
149 function check(){ global() function
[all...]
H A Dauth.php53 foreach ($plugin_controller->getList('auth') as $plugin) {
55 $auth = $plugin_controller->load('auth', $plugin);
61 msg($lang['authtempfail'], -1);
65 if ($auth->success == false) {
69 msg($lang['authtempfail'], -1);
74 $INPUT->set('http_credentials', false);
75 if (!$conf['rememberme']) $INPUT->set('r', false);
79 $header = $INPUT->server->str('HTTP_AUTHORIZATION') ?: $INPUT->serve
207 auth_login($user, $pass, $sticky = false, $silent = false) global() argument
1246 auth_setCookie($user, $pass, $sticky) global() argument
[all...]
H A Dconfutils.php45 return [$ext, 'application/octet-stream', true];
158 if ($event->advise_before()) {
160 $jqmod = md5(implode('-', $versions));
163 $src[] = sprintf('https://code.jquery.com/jquery-%s.min.js', $versions['JQ_VERSION']);
164 $src[] = sprintf('https://code.jquery.com/ui/%s/jquery-ui.min.js', $versions['JQUI_VERSION']);
171 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/%s/jquery-ui.min.js',
176 $event->advise_after();
302 * @param array $params optional additional params to pass to the callback
305 * $combined - the already read & merged configuration values
306 * $new - arra
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRSA.php4 * Pure-PHP PKCS#1 (v2.1) compliant implementation of RSA.
14 * $public = $private->getPublicKey();
18 * $ciphertext = $public->encrypt($plaintext);
20 * echo $private->decrypt($ciphertext);
30 * $public = $private->getPublicKey();
34 * $signature = $private->sign($plaintext);
36 * echo $public->verify($plaintext, $signature) ? 'verified' : 'unverified';
41 * Technically, id-RSASSA-PSS has a different key format than rsaEncryption. So
42 * should phpseclib save to the id-RSASS
[all...]
/dokuwiki/vendor/simplepie/simplepie/idn/
H A Didna_convert.class.php6 // +----------
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DParser.php7 * A PHP-Based RSS and Atom Feed Framework.
10 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
38 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
43 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
74 public $current_xhtml_construct = -1;
80 $this->registry = $registry;
87 @$doc->loadHTML($data);
89 // Check for both h-feed and h-entr
[all...]
H A DSimplePie.php7 * A PHP-Based RSS and Atom Feed Framework.
10 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
38 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
43 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
179 * RDF-based RSS
184 * Non-RDF-based RSS (truly intended as syndication format)
234 * base64-encoded construct
296 public const NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-synta
[all...]
/dokuwiki/inc/Search/
H A DIndexer.php37 if (!$this->lock())
41 $pid = $this->getPIDNoLock($page);
43 $this->unlock();
49 $words = $this->getPageWords($text);
51 $this->unlock();
57 $index = $this->getIndex('i', $wlen);
60 $index[$wid] = $this->updateTuple($idx, $pid, $freq);
63 if (!$this->saveIndex('i', $wlen, $index)) {
64 $this->unlock();
71 $pageword_idx = $this->getIndexKe
[all...]
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md1 # PHP-CLI
3 PHP-CLI is a simple library that helps with creating nice looking command line scripts.
7 - **option parsing**
8 - **help page generation**
9 - **automatic width adjustment**
10 - **colored output**
11 - **optional PSR3 compatibility**
13 It is lightweight and has **no 3rd party dependencies**. Note: this is for non-interactive scripts only. It has no readline or similar support.
19 ```php composer.phar require splitbrain/php-cli```
37 $options->setHel
[all...]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php32 $width = $this->getTerminalWidth();
34 $this->max = $width - 1;
38 $this->colors = $colors;
40 $this->colors = new Colors();
51 return $this->border;
62 $this->border = $border;
74 return $this->max;
84 $this->max = $max;
122 $border = $this->strle
[all...]
/dokuwiki/inc/Utf8/
H A DUnicode.php6 * Convert between UTF-8 and a list of Unicode Code Points
11 * Takes an UTF-8 string and returns an array of ints representing the
17 * string isn't a valid UTF-8 octet sequence and raises a PHP error at
26 * @link http://hsivonen.iki.fi/php-utf8/
31 * @param string $str UTF-8 encoded string
32 * @param boolean $strict Check for invalid sequences?
33 * @return mixed array of unicode code points or false if UTF-8 invalid
50 // When mState is zero we expect either a US-ASCII character or a
51 // multi-octet sequence.
53 // US-ASCI
[all...]
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Drsplus.php7 * - Benilton Carvalho (beniltoncarvalho@gmail.com)
8 * - Fernando Henrique Ferraz Pereira da Rosa (mentus@gmail.com)
16 * ——-
18 * - Add references to Sekhon’s R Package docs
20 * - First Release
22 * - Added functions from base packages (Benilton Carvalho - carvalho@bclab.org)
25 * ———-
36 * --
[all...]
/dokuwiki/vendor/composer/
H A DInstalledVersions.php21 * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
23 * To require its presence, you can require `composer-runtime-api ^2.0`
31 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
42 * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
50 * @psalm-return list<string>
71 * @psalm-return list<string>
117 * @param string|null $constraint A version constraint to check for, if you pass on
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php47 $this->setupLocale();
50 $this->disabled = $this->lang['noauth'];
51 } elseif (!$auth->canDo('getUsers')) {
52 $this->disabled = $this->lang['nosupport'];
55 $this->auth = &$auth;
60 $this->import_failures = $_SESSION['import_failures'];
73 if (!is_null($this->auth))
76 return $this->getLan
[all...]
/dokuwiki/inc/Remote/
H A DApi.php26 * 'public' => 1/0 - method bypass default group check (used by login)
53 return array_merge($this->getCoreMethods(), $this->getPluginMethods());
60 * Here you can pass a non-default RemoteAPICore instance. (for mocking)
65 if (!$this->coreMethods) {
67 $this->coreMethods = (new LegacyApiCore())->getMethods();
69 $this->coreMethod
[all...]
H A DApiCore.php35 '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->trustExterna
1033 login($user, $pass) global() argument
[all...]
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php
/dokuwiki/inc/Action/
H A DSitemap.php27 * @author Michael Hamann <michael@content-space.de>
41 $mime = 'application/x-gzip';
43 $mime = 'application/xml; charset=utf-8';
46 // Check if sitemap file exists, otherwise create it
53 header('Content-Type: ' . $mime);
54 header('Content-Disposition: attachment; filename=' . PhpString::basename($sitemap));
59 //use x-sendfile header to pass the delivery to compatible webservers
66 throw new FatalException('Could not read the sitemap file - bad permissions?');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php4 * Pure-PHP arbitrary precision integer arithmetic library.
6 * Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP or BCMath extensions, if available,
17 * $c = $a->add($b);
19 * echo $c->toString(); // outputs 5
25 * @license http://www.opensource.org/licenses/mit-license.html MIT License
34 * Pure-PHP arbitrary precision integer arithmetic library. Supports base-
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DMySQL.php7 * A PHP-Based RSS and Atom Feed Framework.
10 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
38 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
43 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
93 $this->options = [
95 'pass' => null,
105 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location));
108 $this->options['dbname'] = substr($this->option
[all...]

12