Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 67) sorted by relevance

123

/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php12 * @param string|array $user
21 public function buildRegex($user = null, $style = null, $data = null)
24 $user = (array)$user;
29 $user = array_filter(array_map('trim', $user));
33 // user names are encoded
34 $user = array_map('auth_nameencode', $user);
37 $user
22 buildRegex($user = null, $style = null, $data = null) global() argument
[all...]
H A DSubscriberManager.php24 * This will automatically overwrite any existent subscription for the given user on this
27 * @throws Exception when user or style is empty
31 * @param string $user
37 public function add($id, $user, $style, $data = '')
44 $this->remove($id, $user);
46 $user = auth_nameencode(trim($user));
50 if (!$user) {
51 throw new Exception('no subscription user given');
60 $line = "$user
38 add($id, $user, $style, $data = '') global() argument
81 remove($id, $user = null, $style = null, $data = null) global() argument
111 userSubscription($id = '', $user = '') global() argument
164 subscribers($page, $user = null, $style = null, $data = null) global() argument
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPExchange.php57 * @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 be a full CN
60 * @param string $emailAddress The primary email address to add to this user
91 $result = $this->adldap->user()->modify($username, $attributes, $isGUID);
103 * @param string $username The username of the user to add the X400 to to
119 // Find the dn of the user
120 $user = $this->adldap->user()->info($username, array("cn","proxyaddresses"), $isGUID);
121 if ($user[0]["dn"] === NULL) { return false; }
122 $userDn = $user[
[all...]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php17 /** @var array user cache */
58 * Check user+password
60 * Checks if the given user exists and the given
64 * @param string $user
68 public function checkPass($user, $pass)
70 $userinfo = $this->getUserData($user);
73 return auth_verifyPassword($pass, $this->users[$user]['pass']);
77 * Return user info
79 * Returns info about the given user needs to contain
82 * name string full name of the user
67 checkPass($user, $pass) global() argument
90 getUserData($user, $requireGroups = true) global() argument
108 createUserLine($user, $pass, $name, $mail, $grps) global() argument
137 createUser($user, $pwd, $name, $mail, $grps = null) global() argument
173 modifyUser($user, $changes) global() argument
354 cleanUser($user) global() argument
455 filter($user, $info) global() argument
[all...]
/dokuwiki/lib/plugins/acl/
H A Dremote.php14 * @return array {Scope: ACL}, where ACL = dictionnary {user/group: permissions_int}
35 * @param string $user The user or group to apply the ACL to
40 public function addAcl($scope, $user, $level)
51 return $apa->addOrUpdateACL($scope, $user, $level);
58 * @param string $user The user or group the ACL applied to
62 public function delAcl($scope, $user)
73 return $apa->deleteACL($scope, $user);
67 addAcl($scope, $user, $level) global() argument
89 delAcl($scope, $user) global() argument
/dokuwiki/inc/Extension/
H A DAuthPlugin.php35 'logout' => true, // can the user logout again? (eg. not possible with HTTP auth)
89 // can at least one of the user's properties be changed?
115 * example for enforcing a user name schema.
147 * Log off the current user [ OPTIONAL ]
165 * authenticate a user - all other DokuWiki internals
180 * the function needs to check if the user is logged in
189 * @param string $user Username
195 public function trustExternal($user, $pass, $sticky = false)
209 $_SERVER['REMOTE_USER'] = $user;
210 $_SESSION[DOKU_COOKIE]['auth']['user']
197 trustExternal($user, $pass, $sticky = false) global() argument
233 checkPass($user, $pass) global() argument
254 getUserData($user, $requireGroups = true) global() argument
279 createUser($user, $pass, $name, $mail, $grps = null) global() argument
295 modifyUser($user, $changes) global() argument
406 cleanUser($user) global() argument
456 useSessionCache($user) global() argument
[all...]
/dokuwiki/lib/plugins/authad/
H A Dauth.php32 * // warn user about expiring password this many days in advance:
63 * @var array user listing cache
114 // trust the incoming user
148 * Check user+password [required auth function]
150 * Checks if the given user exists and the given
155 * @param string $user
159 public function checkPass($user, $pass)
163 $INPUT->server->str('REMOTE_USER') == $user &&
167 $adldap = $this->initAdLdap($this->getUserDomain($user));
171 return $adldap->authenticate($this->getUserName($user),
154 checkPass($user, $pass) global() argument
197 getUserData($user, $requireGroups = true) global() argument
316 cleanUser($user) global() argument
568 modifyUser($user, $changes) global() argument
652 getUserDomain($user) global() argument
666 getUserName($user) global() argument
764 filter($user, $info) global() argument
[all...]
/dokuwiki/conf/
H A Dmysql.conf.php.example27 $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
62 * %{user} user name
70 WHERE login='%{user}'
74 * information about one user. The field needed are:
76 * 'name' the user's full name
77 * 'mail' the user's email address
83 * %{user} use
[all...]
/dokuwiki/inc/Action/
H A DResendpwd.php83 // we're in token phase - get user info from token
99 $user = io_readfile($tfile);
100 $userinfo = $auth->getUserData($user, $requireGroups = false);
106 if (!$conf['autopasswd']) { // we let the user choose a password
117 if (!$auth->triggerUserMod('modify', [$user, ['pass' => $pass]])) {
122 $pass = auth_pwgen($user);
123 if (!$auth->triggerUserMod('modify', [$user, ['pass' => $pass]])) {
128 if (auth_sendPassword($user, $pass)) {
146 $user = trim($auth->cleanUser($INPUT->post->str('login')));
149 $userinfo = $auth->getUserData($user,
[all...]
/dokuwiki/inc/
H A Dauth.php7 * a user by calling auth_login()
66 // degrade to unauthenticated user
77 // Populate Basic Auth user/password from Authorization header
92 // apply cleaning (auth specific user names, remove control chars)
109 'user' => $INPUT->str('u'),
125 * Loads the ACL setup and handle user wildcards
148 // substitute user wildcard first (its 1:1)
150 // if user is not logged in, this ACL line is meaningless - skip it
159 // if user is not logged in, grps is empty, no output will be added (i.e. skipped)
209 // fetch user inf
207 auth_login($user, $pass, $sticky = false, $silent = false) global() argument
454 auth_ismanager($user = null, $groups = null, $adminonly = false, $recache = false) global() argument
514 auth_isadmin($user = null, $groups = null, $recache = false) global() argument
529 auth_isMember($memberlist, $user, array $groups) global() argument
596 auth_aclcheck($id, $user, $groups) global() argument
831 auth_sendPassword($user, $password) global() argument
1246 auth_setCookie($user, $pass, $sticky) global() argument
[all...]
H A Ddeprecated.php393 * @param string|array $user
400 public function subscribers($page, $user = null, $style = null, $data = null) {
403 return $manager->subscribers($page, $user, $style, $data);
409 * This will automatically overwrite any existent subscription for the given user on this
414 * @param string $user
417 * @throws Exception when user or style is empty
422 public function add($id, $user, $style, $data = '') {
425 return $manager->add($id, $user, $style, $data);
436 * @param string|array $user
443 public function remove($id, $user
398 subscribers($page, $user = null, $style = null, $data = null) global() argument
420 add($id, $user, $style, $data = '') global() argument
441 remove($id, $user = null, $style = null, $data = null) global() argument
461 user_subscription($id = '', $user = '') global() argument
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php12 * This version of the user manager has been modified to only work with
29 protected $filter = []; // user selection filter(s)
30 protected $start = 0; // index of first user to be displayed
31 protected $last = 0; // index of the last user to be displayed
33 protected $edit_user = ''; // set to user selected for editing
37 protected $lastdisabled = false; // set to true if last user is unknown and last button is hence buggy
114 * Handle user request
251 echo '<td><input type="text" name="userid" class="edit" value="' . $this->htmlFilter('user') . '" /></td>';
260 foreach ($user_list as $user => $userinfo) {
270 echo '<td class="centeralign"><input type="checkbox" name="delete[' . hsc($user)
377 htmlUserForm($cmd, $user = '', $userdata = array(), $indent = 0) global() argument
862 notifyUser($user, $password, $status_alert = true) global() argument
1192 importUser($user, & $error) global() argument
[all...]
H A Dplugin.info.txt6 desc Manage DokuWiki user accounts
/dokuwiki/inc/lang/en/
H A Dlocked.txt3 This page is currently locked for editing by another user. You have to wait until this user finishes editing or the lock expires.
H A Dupdateprofile.txt3 You only need to complete those fields you wish to change. You may not change your user name.
H A Dregistermail.txt1 A new user has registered. Here are the details:
/dokuwiki/inc/lang/id/
H A Dlocked.txt3 Halaman ini tertutup (terkunci) untuk diedit oleh user lain. Anda harus menunggu sampai user ini menyelesaikan pengeditan, atau masa berlaku penguncian telah berakhir.
/dokuwiki/lib/plugins/usermanager/lang/en/
H A Dadd.txt1 ===== Add user =====
H A Ddelete.txt1 ===== Delete user =====
H A Dedit.txt1 ===== Edit user =====
H A Dimport.txt4 The columns must contain, in order: user-id, full name, email address and groups.
7 Duplicate user-ids will be ignored.
9 A password will be generated and emailed to each successfully imported user.
/dokuwiki/lib/plugins/authldap/
H A Dauth.php21 protected $bound = 0; // 0: anonymous, 1: user, 2: superuser
48 * Check user+password
50 * Checks if the given user exists and the given
54 * @param string $user
59 public function checkPass($user, $pass)
65 // indirect user bind
81 ['user' => $user, 'server' => $this->getConf('server')]
83 } elseif (strpos($this->getConf('usertree'), '%{user}')) {
84 // direct user bin
56 checkPass($user, $pass) global() argument
152 getUserData($user, $requireGroups = true) global() argument
162 fetchUserData($user, $inbind = false) global() argument
321 modifyUser($user, $changes) global() argument
482 filter($user, $info) global() argument
[all...]
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php47 $this->getConf('user'),
64 ['select-user', 'select-user-groups', 'select-groups', 'insert-user', 'insert-group', 'join-group']
69 ['select-user', 'select-user-groups', 'select-groups', 'leave-group', 'delete-user']
74 ['select-user', 'select-user-groups', 'update-user
162 checkPass($user, $pass) global() argument
202 getUserData($user, $requireGroups = true) global() argument
236 createUser($user, $clear, $name, $mail, $grps = null) global() argument
295 modifyUser($user, $changes) global() argument
509 selectUser($user) global() argument
551 deleteUser($user) global() argument
[all...]
/dokuwiki/bin/
H A Ddwpage.php35 'user',
36 'work as this user. defaults to current CLI user',
157 $this->username = $options->getOpt('user', $this->getUser());
284 $this->error("Page $wiki_id is already locked by another user");
308 $this->error("Page $wiki_id is locked by another user");
338 * Get the current user's username from the environment
344 $user = getenv('USER');
345 if (empty($user)) {
346 $user
[all...]
/dokuwiki/inc/File/
H A DPageFile.php204 'user' => $INPUT->server->str('REMOTE_USER'),
289 ['date' => $date, 'type' => $changeType, 'user' => $user, ] = $logEntry;
309 if ($user) {
311 $meta['user'] = $user;
318 if ($user) {
319 $meta['contributor'][$user] = $INFO['userinfo']['name'] ?? null;
323 if ($user) {
324 $meta['contributor'][$user]
[all...]

123