Home
last modified time | relevance | path

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

12

/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'] = '';
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"';
55 …$conf['plugin']['authpdo']['insert-user'] = 'INSERT INTO user (login, pass, name, mail) VALUES (:u…
[all …]
/dokuwiki/lib/plugins/authpdo/_test/mysql/
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 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 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/conf/
H A Dmetadata.php11 $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'] = array('', '_caution' => 'danger');
18 $meta['delete-user'] = array('', '_caution' => 'danger');
19 $meta['list-users'] = array('', '_caution' => 'danger');
20 $meta['count-users'] = array('', '_caution' => 'danger');
21 $meta['update-user-info'] = array('', '_caution' => 'danger');
[all …]
H A Ddefault.php11 $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, [uid]
36 $conf['select-user-groups'] = '';
[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/.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/authad/adLDAP/classes/
H A DadLDAPExchange.php12 * 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 …
60 * @param string $emailAddress The primary email address to add to this user
62 …faults Indicates whether the store should use the default quota, rather than the per-mailbox quota.
75 $baseDn = $this->adldap->getBaseDn();
83 $mdbUseDefaults = $this->adldap->utilities()->boolToString($useDefaults);
[all …]
H A DadLDAPUsers.php12 * 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's AD password
66 return $this->adldap->authenticate($username, $password, $preventRebind);
[all …]
/dokuwiki/inc/File/
H A DPageFile.php32 $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->getPath(), $this->id, '');
75 * @param string $summary summary of text update
76 * @param bool $minor mark this saved version as minor update
94 if (isset($this->data)) return;
[all …]
/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php27 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;
56 // update.
60 // Work as the user to make sure ACLs apply correctly
61 $USERINFO = $auth->getUserData($user);
[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/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 Dinfoutils.php19 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 --pretty=format:'%h %cd' --date=short");
102 // we cannot use git on the shell -- let's do it manually!
[all …]
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 Dcommon.php38 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8');
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
135 if (is_null($token)) $token = $INPUT->str('sectok');
[all …]
H A Dchangelog.php23 * @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->str('REMOTE_USER');
78 // update changelog file and get the added entry that is also to be stored in metadata
80 $logEntry = $pageFile->changelog->addLogEntry([
85 'user' => $user,
91 // update metadata
92 $pageFile->updateMetadata($logEntry);
[all …]
H A Dhtml.php33 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-18 not called anymore, see inc/Action/Denied::tplContent()
80 (new Denied())->showBanner();
94 global $INFO;
96 if ((isset($INFO) && !$INFO['writable']) || !$show || (isset($INFO) && $INFO['rev'])) {
148 global $INFO;
159 ['do' => 'edit', 'rev' => $INFO['lastmod'], 'summary' => '[' . $name . '] '],
[all …]
/dokuwiki/lib/plugins/config/core/
H A DWriter.php13 /** @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->savefile, 'wb')) {
46 … io_rename($this->savefile . '.bak.php', $this->savefile); // problem opening, restore the backup
52 if ($setting->shouldBeSaved()) {
[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 …]
/dokuwiki/conf/
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/lib/plugins/acl/
H A Dadmin.php41 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->str('current_id')) {
80 $this->current_item = ['id' => cleanID($INPUT->str('current_id')), 'type' => 'f'];
81 } elseif ($this->ns) {
[all …]
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dcobol.php4 * ----------
6 * Copyright: (c) 2007-2008 BenBE (http://www.omorphia.de/)
18 * -------
20 * - Changed compiler directives to be handled like comments.
21 * - Fixed bug where keywords in identifiers were highlighted.
23 * - Added more intrinsic functions, reserved words, and compiler directives
26 * - Added more reserved words, compiler directives and intrinsic functions.
27 * - Added modern comment syntax and corrected the other one.
28 * - Set OOLANG to true and added an object splitter.
29 * - Added extra symbols.
[all …]
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php17 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->autosubmitFile);
95 $data = $this->gather();
[all …]

12