Home
last modified time | relevance | path

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

123

/dokuwiki/
H A DCOPYING109 these conditions, and telling the user how to view a copy of this
H A Dfeed.php
/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...]
H A Dgittool.php319 $user = $m[1];
321 return 'https://github.com/' . $user . '/' . $repo . '.git';
326 $user = $m[1];
328 if (!$repo) $repo = $user;
330 return 'https://git.gitorious.org/' . $user . '/' . $repo . '.git';
335 $user = $m[1];
337 return 'https://bitbucket.org/' . $user . '/' . $repo . '.git';
/dokuwiki/conf/
H A Dacl.auth.php.dist11 # or user names you need to urlencode them (only chars <128, leave
H A Dinterwiki.conf39 user :user:{NAME}
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/data/
H A Ddeleted.files20 lib/images/interwiki/user.png
/dokuwiki/data/pages/wiki/
H A Ddokuwiki.txt50 * [[https://forum.dokuwiki.org|Check out the user forum]]
H A Dsyntax.txt79 Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]].
H A Dwelcome.txt26 DokuWiki is an Open Source project that thrives through user contributions. A good way to stay informed on what's going on and to get useful tips in using DokuWiki is subscribing to the [[doku>newsletter]].
/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/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/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...]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php47 public $user;
185 if (isset($uri['user'])) $this->user = $uri['user'];
239 if ($this->user) {
240 $headers['Authorization'] = 'Basic ' . base64_encode($this->user . ':' . $this->pass);
46 public $user; global() variable in dokuwiki\\HTTP\\HTTPClient
/dokuwiki/inc/Remote/
H A DApiCore.php41 'core.login' => (new ApiCall([$this, 'login'], 'user'))->setPublic(),
42 'core.logoff' => new ApiCall([$this, 'logoff'], 'user'),
43 'core.whoAmI' => (new ApiCall([$this, 'whoAmI'], 'user')),
44 'core.aclCheck' => new ApiCall([$this, 'aclCheck'], 'user'),
120 // region user
125 * This will use the given credentials and attempt to login the user. This will set the
130 * @param string $user The user name
134 public function login($user, $pass)
146 $ok = $auth->trustExternal($user,
740 aclCheck($id, $user = null, $groups = null) global() argument
1033 login($user, $pass) global() argument
[all...]
/dokuwiki/inc/Subscriptions/
H A DBulkSubscriptionSender.php41 // remember current user info
50 foreach ($users as $user => $info) {
60 // Work as the user to make sure ACLs apply correctly
61 $USERINFO = $auth->getUserData($user);
62 $INPUT->server->set('REMOTE_USER', $user);
89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] ||
119 $subscriberManager->add($target, $user, $style, time());
124 // restore current user info
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...]
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...]
/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 Dchangelog.php75 $user = ($flagExternalEdit) ? '' : $INPUT->server->str('REMOTE_USER');
85 'user' => $user,
133 $user = ($flagExternalEdit) ? '' : $INPUT->server->str('REMOTE_USER');
142 'user' => $user,
H A Dcommon.php111 $user = $INPUT->server->str('REMOTE_USER');
115 if (trim($user) == '' || trim($session) == '') return '';
116 return PassHash::hmac('md5', $session . $user, auth_cookiesalt());
129 if (!$INPUT->server->str('REMOTE_USER')) return true; // no logged in user, no need for a check
288 $info['user'] = $revinfo['user'];
293 $info['editor'] = $revinfo['user'] ?: $revinfo['ip'];
296 $info['user'] = null;
707 * and gain information about the user who was blocked.
711 * data['userinfo'] - information about the blocked user
[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/inc/lang/en/
H A Dconflict.txt3 A newer version of the document you edited exists. This happens when another user changed the document while you were editing it.
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.

123