Home
last modified time | relevance | path

Searched +full:count +full:- +full:users -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 31) sorted by relevance

12

/dokuwiki/lib/plugins/authplain/
H A Dauth.php13 * @author Jan Schumann <js@schumann-it.com>
18 protected $users;
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->cand
17 protected $users = null; global() variable in auth_plugin_authplain
230 deleteUsers($users) global() argument
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php22 $options->setHelp(
23 "Manage users for this DokuWiki instance\n"
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->registerArgumen
[all...]
H A Dadmin.php28 protected $users_total = 0; // number of registered users
32 protected $pagesize = 20; // number of users to list on one page
47 $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_failure
[all...]
/dokuwiki/lib/plugins/authpdo/conf/
H A Dmetadata.php13 $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
[all...]
H A Ddefault.php20 $conf['select-user'] = '';
28 $conf['check-pass'] = '';
36 $conf['select-user-groups'] = '';
43 $conf['select-groups'] = '';
50 $conf['insert-user'] = '';
57 $conf['delete-user'] = '';
67 $conf['list-users'] = '';
70 * count use
[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->getCon
387 deleteUsers($users) global() argument
[all...]
/dokuwiki/lib/plugins/authad/
H A Dauth.php41 * @link http://www.nosq.com/blog/2005/08/ldap-activedirectory-and-dokuwiki/
43 * @author Jan Schumann <js@schumann-it.com>
65 protected $users = [];
68 * @var array filter patterns for listing users
86 $this->loadConfig();
89 if (isset($this->conf['additional'])) {
90 $this->conf['additional'] = str_replace(' ', '', $this->con
62 protected $users = array(); global() variable in auth_plugin_authad
[all...]
/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php27 if (!$subscriberManager->isenabled()) {
37 $count = 0;
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->serve
[all...]
H A DSubscriberManager.php39 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->subscriber
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPGroups.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
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->adlda
[all...]
H A DadLDAPUsers.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
54 $this->adldap = $adldap;
66 return $this->adldap->authenticate($username, $password, $preventRebind);
87 if (array_key_exists("password",$attributes) && (!$this->adldap->getUseSSL() && !$this->adlda
[all...]
H A DadLDAPContacts.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
52 $this->adldap = $adldap;
74 $add = $this->adldap->adldap_schema($attributes);
91 $result = @ldap_add($this->adldap->getLdapConnection(), "CN=" . $this->adlda
[all...]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php8 * 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?
42 * able to operate. Set capabilities in $this->cando
48 * Set $this->success to false if checks fail
68 return array_keys($this->cando);
74 * Checks the capabilities set in the $this->cand
310 deleteUsers($users) global() argument
[all...]
/dokuwiki/lib/plugins/authldap/
H A Dauth.php13 * @author Jan Schumann <js@schumann-it.com>
23 /* @var array $users User data cache */
24 protected $users;
38 $this->debug("LDAP err: PHP LDAP extension not found.", -1, __LINE__, __FILE__);
39 $this->success = false;
44 $this->cando['modPass'] = $this->getConf('modPass');
63 if (!$this->openLDAP()) return false;
66 if ($this->getCon
21 protected $users = null; global() variable in auth_plugin_authldap
[all...]
/dokuwiki/inc/
H A Dfarm.php75 for ($i = count($uri) - 1; $i > 0; $i--) {
76 for ($j = count($server); $j > 0; $j--) {
77 $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i));
140 'plainauth.users' => [
141 'default' => DOKU_CONF . 'users
[all...]
H A Dinfoutils.php43 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 -
[all...]
H A Dcommon.php34 return htmlspecialchars($string, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, 'UTF-8');
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
129 if (!$INPUT->serve
[all...]
/dokuwiki/inc/Ui/
H A DRecent.php28 $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->setHiddenFiel
[all...]
/dokuwiki/lib/plugins/acl/
H A Dadmin.php41 return $this->getLang('admin_acl');
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_ite
[all...]
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php10 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
32 $this->facilities = $this->getFacilities();
33 $this->facility = $INPUT->str('facility');
34 if (!in_array($this->facility, $this->facilities)) {
35 $this->facility = $this->facilities[0];
38 $this->dat
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRandom.php19 * @license http://www.opensource.org/licenses/mit-license.html MIT License
26 * Pure-PHP Random Number Generator
61 // at this point we have no choice but to use a pure-PHP CSPRNG
73 // by the user and (2) this isn't just looking at the data sent by the current user - it's based
74 // on the data sent by all users. one user requests the page and a hash of their info is saved.
107 if (!isset($_SESSION['count'])) {
108 $_SESSION['count'] = 0;
110 $_SESSION['count']++;
134 // http://tools.ietf.org/html/rfc4253#section-7.2
166 $crypto->setKe
[all...]
/dokuwiki/inc/Remote/
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(),
106 * Returns a Unix timestamp (seconds since 1970-01-01 00:00:00 UTC).
145 if ($auth->canDo('external')) {
146 $ok = $auth->trustExternal($user, $pass, false);
213 $page = $this->checkPage($page, 0, false, AUTH_NONE);
219 $userinfo = $auth->getUserData($user);
255 return $this->getAllPage
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php4 * Pure-PHP X.509 Parser
11 * {@link http://web.archive.org/web/19961027104704/http://www3.netscape.com/eng/security/cert-exts.html Netscape Certificate Extensions}.
17 * the certificate all together unless the certificate is re-signed.
21 * @license http://www.opensource.org/licenses/mit-license.html MIT License
43 * Pure-PHP X.509 Parser
97 * ie. a base64-encoded PEM with a header and a footer
123 * Auto-detect the format
137 const ATTR_ALL = -1; // All attribute values (array).
138 const ATTR_APPEND = -2; // Add a value.
139 const ATTR_REPLACE = -
2213 _testForIntermediate($caonly, $count) global() argument
2295 _validateSignatureCountable($caonly, $count) global() argument
2470 setRecurLimit($count) global() argument
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/
H A DadLDAP.php12 * Copyright (c) 2006-2012 Scott Barnett, Richard Hyland
30 * @copyright (c) 2006-2012 Scott Barnett, Richard Hyland
31 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
44 * much information on other users as you could as a domain admin.
74 * The default port for LDAP non-SSL connections
126 * Setting to false will fudge "Domain Users" and is much faster. Keep in mind though that if
127 * someone's primary group is NOT domain users, this is obviously going to mess up the results
143 * If you wish to use TLS you should ensure that $useSSL is set to false and vice-versa
184 if ($this->ldapConnectio
[all...]
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dbash.php4 * --------
13 * --
[all...]

12