| /dokuwiki/lib/plugins/usermanager/ |
| H A D | cli.php | 22 $options->setHelp( 23 "Manage users for this DokuWiki instance\n" 26 // list 27 $options->registerCommand('list', 'List users'); 28 $options->registerOption('verbose', 'Show detailed user information', 'v', false, 'list'); 31 $options->registerCommand('add', 'Add an user to auth backend'); 32 $options->registerArgument('login', 'Username', true, 'add'); 33 $options->registerArgument('mail', 'Email address', true, 'add'); 34 $options->registerArgument('name', 'Full name', false, 'add'); 35 $options->registerArgument('groups', 'Groups to be added, comma-seperated', false, 'add'); [all …]
|
| /dokuwiki/lib/plugins/authplain/ |
| H A D | auth.php | 13 * @author Jan Schumann <js@schumann-it.com> 18 protected $users; variable in auth_plugin_authplain 39 if (!@is_readable($config_cascade['plainauth.users']['default'])) { 40 $this->success = false; 42 if (@is_writable($config_cascade['plainauth.users']['default'])) { 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; [all …]
|
| /dokuwiki/lib/plugins/authpdo/ |
| H A D | auth.php | 10 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 22 /** @var null|array The list of all groups */ 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'), [all …]
|
| /dokuwiki/lib/plugins/authpdo/_test/ |
| H A D | mysql.test.php | 20 $configuration = DOKU_UNITTEST . "{$this->driver}.conf.php"; 26 $this->host = $conf['host']; 27 $this->user = $conf['user']; 28 $this->pass = $conf['pass']; 29 $this->port = $conf['port']; 39 $this->dropDatabase(); 46 if(!$this->host || !$this->user) { 47 $this->markTestSkipped("Skipped {$this->driver} tests. Missing configuration"); 50 $this->markTestSkipped("Skipped {$this->driver} tests. Missing PDO extension"); 52 if(!in_array($this->driver, pdo_drivers())) { [all …]
|
| H A D | sqlite.test.php | 34 … $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; 51 …$conf['plugin']['authpdo']['select-user'] = 'SELECT id AS uid, login AS user, name, pass AS clear,… 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… 56 $conf['plugin']['authpdo']['delete-user'] = 'DELETE FROM user WHERE id = :uid'; [all …]
|
| /dokuwiki/data/pages/wiki/ |
| H A D | dokuwiki.txt | 3 …ki-128.png }}]] DokuWiki is a simple to use and highly versatile Open Source [[wp>wiki]] software … 18 * [[doku>features|A feature list]] :!: 19 * [[doku>users|Happy Users]] 49 * [[doku>mailinglist|Join the mailing list]] 51 * [[doku>irc|Talk to other users in the IRC channel]] 58 2004-2020 (c) Andreas Gohr <andi@splitbrain.org>((Please do not contact me for help and support -- … 60 … Version 2. If you use DokuWiki in your company, consider [[doku>donate|donating]] a few bucks ;-).
|
| /dokuwiki/lib/plugins/authpdo/conf/ |
| H A D | default.php | 20 $conf['select-user'] = ''; 28 $conf['check-pass'] = ''; 36 $conf['select-user-groups'] = ''; 43 $conf['select-groups'] = ''; 50 $conf['insert-user'] = ''; 57 $conf['delete-user'] = ''; 60 * list user names matching the given criteria 62 * Make sure the list is distinct and sorted by user name. Apply the given limit and offset 67 $conf['list-users'] = ''; 72 * Make sure the counted list is distinct [all …]
|
| H A D | metadata.php | 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'); 22 $meta['update-user-login'] = array('', '_caution' => 'danger'); [all …]
|
| /dokuwiki/inc/Extension/ |
| H A D | AuthPlugin.php | 8 * allows to authenticate users in a plugin 12 * @author Jan Schumann <js@jschumann-it.com> 24 'addUser' => false, // can Users be created? 25 'delUser' => false, // can Users be deleted? 31 'getUsers' => false, // can a (filtered) list of users be retrieved? 32 'getUserCount' => false, // can the number of users be retrieved? 33 'getGroups' => false, // can a list of available groups be retrieved? 42 * able to operate. Set capabilities in $this->cando 48 * Set $this->success to false if checks fail 68 return array_keys($this->cando); [all …]
|
| /dokuwiki/lib/plugins/authpdo/_test/mysql/ |
| H A D | mybb.php | 5 * mybb stores additional group ids in a commaseparated list of mybb_users.addtionalgroups This 13 'select-user' => ' 21 'check-pass' => ' 27 'select-user-groups' => ' 35 'select-groups' => ' 39 'insert-user' => ' 45 'delete-user' => ' 49 'list-users' => ' 62 'count-users' => ' 72 'update-user-info' => ' [all …]
|
| H A D | fluxbb.php | 10 'select-user' => ' 19 'select-user-groups' => ' 25 'select-groups' => ' 29 'insert-user' => ' 34 'delete-user' => ' 38 'list-users' => ' 50 'count-users' => ' 59 'update-user-info' => '', // we can't do this because username = displayname 60 'update-user-login' => ' 65 'update-user-pass' => ' [all …]
|
| H A D | wordpress.php | 12 'select-user' => ' 21 'select-user-groups' => ' 27 'select-groups' => '', 28 'insert-user' => '', 29 'delete-user' => '', 30 'list-users' => ' 43 'count-users' => ' 53 'update-user-info' => ' 59 'update-user-login' => ' 64 'update-user-pass' => ' [all …]
|
| /dokuwiki/_test/data/pages/wiki/ |
| H A D | dokuwiki.txt | 3 …-128.png }}]] DokuWiki is a standards compliant, simple to use [[wp>Wiki]], mainly aimed at creati… 18 * [[doku>features|A feature list]] :!: 19 * [[doku>users|Happy Users]] 50 * [[doku>mailinglist|Join the mailing list]] 52 * [[doku>irc|Talk to other users in the IRC channel]] 60 2004-2010 (c) Andreas Gohr <andi@splitbrain.org>((Please do not contact me for help and support -- … 62 … Version 2. If you use DokuWiki in your company, consider [[doku>donate|donating]] a few bucks ;-).
|
| /dokuwiki/lib/plugins/authpdo/_test/pgsql/ |
| H A D | django.php | 10 'select-user' => ' 19 'select-user-groups' => ' 25 'select-groups' => ' 29 'insert-user' => ' 34 'delete-user' => ' 41 'list-users' => ' 54 'count-users' => ' 64 'update-user-info' => ' 71 'update-user-login' => ' 76 'update-user-pass' => ' [all …]
|
| /dokuwiki/lib/plugins/usermanager/_test/ |
| H A D | csv_import.test.php | 15 * At present, users imported in individual tests remain in the user list for subsequent tests 25 $this->importfile = tempnam(TMP_DIR, 'csv'); 27 $this->old_files = $_FILES; 31 'tmp_name' => $this->importfile, 38 $this->usermanager = new admin_mock_usermanager(); 44 $_FILES = $this->old_files; 51 $before_users = $auth->retrieveUsers(); 53 io_saveFile($this->importfile, $importCsv); 54 $result = $this->usermanager->tryImport(); 56 $after_users = $auth->retrieveUsers(); [all …]
|
| /dokuwiki/inc/Subscriptions/ |
| H A D | BulkSubscriptionSender.php | 13 * Send digest and list subscriptions 27 if (!$subscriberManager->isenabled()) { 39 $subscriptions = $subscriberManager->subscribers($page, null, ['digest', 'list']); 43 $olduser = $INPUT->server->str('REMOTE_USER'); 45 foreach ($subscriptions as $target => $users) { 46 if (!$this->lock($target)) { 50 foreach ($users as $user => $info) { 61 $USERINFO = $auth->getUserData($user); 62 $INPUT->server->set('REMOTE_USER', $user); 89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] || [all …]
|
| H A D | SubscriberManager.php | 39 if (!$this->isenabled()) { 44 $this->remove($id, $user); 61 $file = $this->file($id); 83 if (!$this->isenabled()) { 87 $file = $this->file($id); 93 $re = $regexBuilder->buildRegex($user, $style, $data); 114 if (!$this->isenabled()) { 125 $user = $INPUT->server->str('REMOTE_USER'); 133 $subs = $this->subscribers($id, $user); 169 if (!$this->isenabled()) { [all …]
|
| /dokuwiki/lib/plugins/authad/adLDAP/classes/ |
| H A D | adLDAPGroups.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 54 $this->adldap = $adldap; 67 $parentGroup = $this->ginfo($parent, array("cn")); 74 $childGroup = $this->info($child, array("cn")); 83 $result = @ldap_mod_add($this->adldap->getLdapConnection(), $parentDn, $add); 104 $userDn = $this->adldap->user()->dn($user, $isGUID); 110 $groupInfo = $this->info($group, array("cn")); 119 $result = @ldap_mod_add($this->adldap->getLdapConnection(), $groupDn, $add); [all …]
|
| H A D | adLDAPContacts.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 52 $this->adldap = $adldap; 74 $add = $this->adldap->adldap_schema($attributes); 91 …($this->adldap->getLdapConnection(), "CN=" . $this->adldap->utilities()->escapeCharacters($add["cn… 100 * Determine the list of groups a contact is a member of 109 …if ($recursive === NULL) { $recursive = $this->adldap->getRecursiveGroups(); } //use the default o… 110 if (!$this->adldap->getLdapBind()){ return false; } 113 $info = @$this->info($distinguishedName, array("memberof", "primarygroupid")); [all …]
|
| H A D | adLDAPUsers.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 54 $this->adldap = $adldap; 66 return $this->adldap->authenticate($username, $password, $preventRebind); 87 …if (array_key_exists("password",$attributes) && (!$this->adldap->getUseSSL() && !$this->adldap->ge… 96 $add = $this->adldap->adldap_schema($attributes); 112 $add["userAccountControl"][0] = $this->accountControl($control_options); 119 …$result = @ldap_add($this->adldap->getLdapConnection(), "CN=" . $add["cn"][0] . ", " . $container … 173 $userinfo = $this->info($username, array("*"), $isGUID); [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 40 $conf['showuseras'] = 'loginname'; // 'loginname' users login name 41 // 'username' users full name 42 … // 'email' e-mail address (will be obfuscated as per mailguard) 43 … // 'email_link' e-mail address as a mailto: link (obfuscated) 59 $conf['defaultgroup']= 'user'; //Default groups new Users are added to [all …]
|
| H A D | mysql.conf.php.example | 9 * TABLE users 48 $conf['plugin']['authmysql']['TablesToLock']= array("users", "users AS u","groups", "groups AS g", … 68 JOIN users AS u ON u.uid=ug.uid 86 FROM users 98 FROM groups g, users u, usergroup ug 110 * Important is that this list contains no double entries for a user. Each 122 FROM users AS u 132 /* Additional SQL statements to add new users with the user manager */ 144 $conf['plugin']['authmysql']['addUser'] = "INSERT INTO users 148 SUBSTRING_INDEX('%{name}',' ', -1))"; [all …]
|
| /dokuwiki/lib/plugins/authad/ |
| H A D | auth.php | 36 * // add a list of comma separated ldap contact fields. 41 * @link http://www.nosq.com/blog/2005/08/ldap-activedirectory-and-dokuwiki/ 43 * @author Jan Schumann <js@schumann-it.com> 65 protected $users = []; variable in auth_plugin_authad 68 * @var array filter patterns for listing users 86 $this->loadConfig(); 89 if (isset($this->conf['additional'])) { 90 $this->conf['additional'] = str_replace(' ', '', $this->conf['additional']); 91 $this->conf['additional'] = explode(',', $this->conf['additional']); 92 } else $this->conf['additional'] = []; [all …]
|
| /dokuwiki/.github/workflows/ |
| H A D | release-preparation.yml | 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 42 - name: Set git identity [all …]
|
| /dokuwiki/inc/Ui/ |
| H A D | Recent.php | 28 $this->first = $first; 29 $this->show_changes = $show_changes; 36 * @author Matthias Grimm <matthiasgrimm@users.sourceforge.net> 49 $first = $this->first; 51 $recents = $this->getRecents($first, $hasNext); 64 $form->addTagOpen('div')->addClass('no'); 65 $form->setHiddenField('sectok', null); 66 $form->setHiddenField('do', 'recent'); 67 $form->setHiddenField('id', $ID); 71 $this->addRecentItemSelector($form); [all …]
|