Home
last modified time | relevance | path

Searched +full:update +full:- +full:user +full:- +full:pass -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 22 of 22) sorted by relevance

/dokuwiki/lib/plugins/authpdo/_test/mysql/
H A Dwordpress.php12 'select-user' => '
14 user_login AS user,
19 WHERE user_login = :user
21 'select-user-groups' => '
27 'select-groups' => '',
28 'insert-user' => '',
29 'delete-user' => '',
30 'list-users' => '
31 SELECT DISTINCT user_login AS user
36 AND U.user_login LIKE :user
[all …]
H A Dfluxbb.php3 …ion for fluxbb. They have a very simplistic model. There is no separate display name and a user can
10 'select-user' => '
12 username AS user,
17 WHERE username = :user
19 'select-user-groups' => '
25 'select-groups' => '
29 'insert-user' => '
32 VALUES (0, :user, :hash, :mail)
34 'delete-user' => '
38 'list-users' => '
[all …]
H A Dmybb.php13 'select-user' => '
15 username AS user,
19 WHERE username = :user
21 'check-pass' => '
24 WHERE username = :user
27 'select-user-groups' => '
35 'select-groups' => '
39 'insert-user' => '
43 …VALUES (:user, :mail, @salt, MD5(CONCAT(MD5(@salt), MD5(:clear))), UNIX_TIMESTAMP() ) …
45 'delete-user' => '
[all …]
/dokuwiki/lib/plugins/authpdo/_test/pgsql/
H A Ddjango.php10 'select-user' => '
12 username AS "user",
17 WHERE username = :user
19 'select-user-groups' => '
25 'select-groups' => '
29 'insert-user' => '
32 …VALUES (:hash, false, :user, SPLIT_PART(:name,\' \',1), SPLIT_PART(:name,\' \',2), :mail, false, t…
34 'delete-user' => '
41 'list-users' => '
42 SELECT DISTINCT U.username AS "user"
[all …]
/dokuwiki/lib/plugins/authpdo/conf/
H A Dmetadata.php11 $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-groups'] = array('', '_caution' => 'danger');
17 $meta['insert-user'] = array('', '_caution' => 'danger');
18 $meta['delete-user'] = array('', '_caution' => 'danger');
19 $meta['list-users'] = array('', '_caution' => 'danger');
20 $meta['count-users'] = array('', '_caution' => 'danger');
[all …]
H A Ddefault.php11 $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'] = '';
31 * statement to select a single user identified by its login name
33 * input: :user, [uid]
[all …]
/dokuwiki/lib/plugins/authpdo/_test/
H A Dsqlite.test.php34 … $this->markTestSkipped('skipping all authpdo tests for sqlite. Need PDO_sqlite extension');
36 $this->assertTrue(true); // avoid being marked as risky for having no assertion
41 $this->dbfile = tempnam('/tmp/', 'pluginpdo_test_');
42 copy(__DIR__ . '/test.sqlite3', $this->dbfile);
47 $conf['plugin']['authpdo']['dsn'] = 'sqlite:' . $this->dbfile;
48 $conf['plugin']['authpdo']['user'] = '';
49 $conf['plugin']['authpdo']['pass'] = '';
51 …plugin']['authpdo']['select-user'] = 'SELECT id AS uid, login AS user, name, pass AS clear, mail F…
52 …$conf['plugin']['authpdo']['select-user-groups'] = 'SELECT * FROM member AS m, "group" AS g WHERE…
53 $conf['plugin']['authpdo']['select-groups'] = 'SELECT id AS gid, "group" FROM "group"';
[all …]
/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->getConf('dsn'),
47 $this->getConf('user'),
48 conf_decodeString($this->getConf('pass')),
[all …]
/dokuwiki/.github/workflows/
H A Drelease-preparation.yml2 # All needed info is provided by the user in the workflow_dispatch dialog
4 # When the pull request is merged, the release-build workflow will be triggered automatically
16 - stable
17 - hotfix
18 - rc
23 description: 'The version date YYYY-MM-DD, empty for today'
29 runs-on: ubuntu-latest
31 - name: Fail if branch is not master
37 - name: Checkout
40 fetch-depth: 0
[all …]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php13 * @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->cando['modGroups'] = true;
[all …]
/dokuwiki/inc/
H A Dauth.php7 * a user by calling auth_login()
52 if ($INPUT->server->str('REMOTE_USER') === '') {
53 $INPUT->server->remove('REMOTE_USER');
59 foreach ($plugin_controller->getList('auth') as $plugin) {
61 $auth = $plugin_controller->load('auth', $plugin);
67 msg($lang['authtempfail'], -1);
71 if ($auth->success == false) {
72 // degrade to unauthenticated user
75 msg($lang['authtempfail'], -1);
80 $INPUT->set('http_credentials', false);
[all …]
H A Dinfoutils.php19 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' --date=short");
102 // we cannot use git on the shell -- let's do it manually!
112 $packedRefs = file_get_contents(DOKU_INC . '.git/packed-refs');
133 if ($ts && $date = date('Y-m-d', $ts)) {
[all …]
H A Dcommon.php38 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8');
66 * Please note: when you pass uninitialized variables, they will implicitly be created
98 return preg_replace('/[\x00-\x1F]+/s', '', $string);
105 * @link http://en.wikipedia.org/wiki/Cross-site_request_forgery
106 * @link http://christ1an.blogspot.com/2007/04/preventing-csrf-efficiently.html
115 $user = $INPUT->server->str('REMOTE_USER');
118 // CSRF checks are only for logged in users - do not generate for anonymous
119 if (trim($user) == '' || trim($session) == '') return '';
120 return PassHash::hmac('md5', $session . $user, auth_cookiesalt());
133 if (!$INPUT->server->str('REMOTE_USER')) return true; // no logged in user, no need for a check
[all …]
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();
273 'crossorigin' => 'use-credentials' // See issue #4322
278 $styleIni = $styleUtil->cssStyleini();
282 'name' => 'theme-color',
[all …]
/dokuwiki/conf/
H A Dmysql.conf.php.example10 * 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}'
74 * information about one user. The field needed are:
[all …]
H A Ddokuwiki.php22 $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-mail address (will be obfuscated as per mailguard)
43 … // 'email_link' e-mail address as a mailto: link (obfuscated)
56 $conf['autopasswd'] = 1; //autogenerate passwords and email them to user
59 $conf['defaultgroup']= 'user'; //Default groups new Users are added to
60 $conf['superuser'] = '!!not set!!'; //The admin can be user or @group or comma separated list …
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DMySQL.php3 // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
4 // SPDX-License-Identifier: BSD-3-Clause
16 * connect to the `mydb` database on `localhost` on port 3306, with the user
53 $this->options = [
54 'user' => null,
55 'pass' => null,
65 … $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location));
68 $this->options['dbname'] = substr($this->options['path'], 1);
71->mysql = new \PDO("mysql:dbname={$this->options['dbname']};host={$this->options['host']};port={$t…
73 $this->mysql = null;
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DFile.php3 // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
4 // SPDX-License-Identifier: BSD-3-Clause
30 * @var ?string User agent to use in requests
31 * @deprecated Set the user agent in constructor.
38 /** @var array<string, non-empty-array<string>> Canonical representation of headers */
60 …/** @var non-negative-int Number of redirect that were already performed during this request seque…
67 …* @var int-mask-of<SimplePie::FILE_SOURCE_*> Bit mask representing the method used to fetch the fi…
98 $this->url = $url;
99 if ($this->permanentUrlMutable) {
100 $this->permanent_url = $url;
[all …]
H A DItem.php3 // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
4 // SPDX-License-Identifier: BSD-3-Clause
11 * Manages all item-related data
59 $this->feed = $feed;
60 $this->data = $data;
74 $this->registry = $registry;
84 return md5(serialize($this->data));
93 unset($this->feed);
98 * Get data for an item-level element
101 * sub-element of the item/entry tag.
[all …]
/dokuwiki/_test/tests/inc/
H A Dcommon_saveWikiText.test.php12 if ($event->data[3] !== false) {
13 $this->waitForTick();
23 &$expectedLastEntry, // @param array, pass by reference
26 $revisions = $pagelog->getRevisions(-1, 200);
27 $this->assertCount($expectedRevs, $revisions);
28 $this->assertCount($expectedRevs, array_unique($revisions), 'date duplicated in changelog');
30 $lastRevInfo = $pagelog->getRevisionInfo($revisions[0]);
32 $this->assertEquals($expectedLastEntry, $lastRevInfo);
34 $currentRevInfo = $pagelog->getCurrentRevisionInfo();
35 … $this->assertEquals($currentRevInfo, $lastRevInfo, 'current & last revs should be identical');
[all …]
/dokuwiki/vendor/simplepie/simplepie/
H A DCHANGELOG.md12 ## [1.9.0](https://github.com/simplepie/simplepie/compare/1.8.1...1.9.0) - 2025-09-12
16 - New method `SimplePie\SimplePie::set_http_client()` for providing PSR-18 HTTP client and PSR-17 f…
17 - New method `SimplePie\Locator::set_http_client()` for providing PSR-18 HTTP client and PSR-17 fac…
18 - New method `SimplePie\Sanitize::set_http_client()` for providing PSR-18 HTTP client and PSR-17 fa…
22 - Use `idn_to_ascii` function instead of `idna_convert` library (requires `intl` extension or a [po…
23 - Improve precision of type annotations and increased the PHPStan checks to level 8 (by @jtojnar in…
24 - Use native `gzdecode` function instead of internal PHP implementation (by @jtojnar in [#882](http…
25 - `SimplePie\SimplePie::set_curl_options([CURLOPT_HTTPHEADER => …])` will no longer prevent the fol…
29 - Do not crash when `Content-Type` header is missing (by @Art4 in [#774](https://github.com/simplep…
30 - Correct `SimplePie\File::$permanent_url` when multiple redirects are chained (by @jtojnar in [#81…
[all …]
/dokuwiki/inc/parser/
H A Dxhtml.php74 … '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->doc .= '<!-- EDIT' . hsc(json_encode($data, JSON_THROW_ON_ERROR)) . ' -->';
133 $this->toc = [];
[all …]