Home
last modified time | relevance | path

Searched full:user (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/dokuwiki/lib/plugins/authpdo/conf/
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], [*]
31 * statement to select a single user identified by its login name
33 * input: :user, [uid]
36 $conf['select-user-groups'] = '';
46 * Create a new user
[all …]
/dokuwiki/lib/plugins/authpdo/lang/en/
H A Dsettings.php10 $lang['user'] = 'The user for the above database connection (empty for sqlite)';
12 $lang['select-user'] = 'SQL Statement to select the data of a single user';
13 $lang['select-user-groups'] = 'SQL Statement to select all groups of a single user';
15 $lang['insert-user'] = 'SQL Statement to insert a new user into the database';
16 $lang['delete-user'] = 'SQL Statement to remove a single user from the database';
19 $lang['update-user-info'] = 'SQL Statement to update the full name and email address of a single
20 $lang['update-user-login'] = 'SQL Statement to update the login name of a single user';
21 $lang['update-user-pass'] = 'SQL Statement to update the password of a single user';
23 $lang['join-group'] = 'SQL Statement to add a user to an existing group';
24 $lang['leave-group'] = 'SQL Statement to remove a user from a group';
[all …]
/dokuwiki/lib/plugins/authpdo/_test/
H A Dsqlite.test.php48 $conf['plugin']['authpdo']['user'] = '';
51 …lugin']['authpdo']['select-user'] = 'SELECT id AS uid, login AS user, name, pass AS clear, mail FR…
52 …$conf['plugin']['authpdo']['select-user-groups'] = 'SELECT * FROM member AS m, "group" AS g WHERE…
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';
58 $conf['plugin']['authpdo']['list-users'] = 'SELECT DISTINCT login as user
59 FROM user U, member M, "group" G
63 AND U.login LIKE :user
70 FROM user U, member M, "group" G
74 AND U.login LIKE :user
[all …]
H A Dmysql.test.php14 protected $user = ''; variable in mysql_plugin_authpdo_test
27 $this->user = $conf['user'];
46 if(!$this->host || !$this->user) {
63 "{$this->driver}:host={$this->host};port={$this->port}", $this->user, $this->pass,
78 "{$this->driver}:host={$this->host};port={$this->port}", $this->user, $this->pass,
100 …>driver}:dbname={$this->database};host={$this->host};port={$this->port}", $this->user, $this->pass,
138 'user' => 'newuserfoobar',
145 $newuser['user'],
152 $check = $auth->getUserData($newuser['user']);
153 $this->assertEquals($newuser['user'], $check['user'], $info);
[all …]
/dokuwiki/lib/plugins/usermanager/lang/id/
H A Dlang.php9 $lang['menu'] = 'Manajemen User';
11 $lang['nosupport'] = '(manajemen user tidak didukung)';
13 $lang['user_id'] = 'User';
24 $lang['edit_prompt'] = 'Edit user ini';
30 …lang['summary'] = 'Menampilkan user %1$d-%2$d dari %3$d user yang ditemukan. Total s…
31 $lang['nonefound'] = 'User tidak ditemukan. Total semua user %d. ';
32 $lang['delete_ok'] = 'User %d dihapus';
33 $lang['delete_fail'] = 'User %d tidak berhasil dihapus';
34 $lang['update_ok'] = 'User berhasil diubah';
35 $lang['update_fail'] = 'Perubahan user tidak berhasil';
[all …]
/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php12 * @param string|array $user
21 public function buildRegex($user = null, $style = null, $data = null) argument
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 = array_map(preg_quote_cb(...), $user);
43 $user = implode('|', $user);
48 if ($user . $style . $data === '') {
55 if ($user === '') {
[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 = '') argument
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 $style $data\n";
74 * @param string|array $user
[all …]
/dokuwiki/lib/plugins/usermanager/
H A Dremote.php17 * Create a new user
19 * If no password is provided, a password is auto generated. If the user can't be created
25 * @param string $user The user's login name
26 * @param string $name The user's full name
27 * @param string $mail The user's email address
28 * @param string[] $groups The groups the user should be in
29 * @param string $password The user's password, empty for autogeneration
30 * @param bool $notify Whether to send a notification email to the user
31 * @return bool Wether the user was successfully created
36 public function createUser($user, $name, $mail, $groups, $password = '', $notify = false) argument
[all …]
/dokuwiki/lib/plugins/usermanager/lang/en/
H A Dlang.php8 $lang['menu'] = 'User Manager';
11 $lang['noauth'] = '(user authentication not available)';
12 $lang['nosupport'] = '(user management not supported)';
16 $lang['user_id'] = 'User';
28 $lang['edit_prompt'] = 'Edit this user';
35 $lang['export_filtered'] = 'Export Filtered User list (CSV)';
45 $lang['update_ok'] = 'User updated successfully';
46 $lang['update_fail'] = 'User update failed';
47 $lang['update_exists'] = 'User name change failed, the specified user name (%s) already exists (any…
55 $lang['edit_usermissing'] = 'Selected user not found, the specified user name may have been deleted…
[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' => '
29 'insert-user' => '
32 VALUES (0, :user, :hash, :mail)
34 'delete-user' => '
39 SELECT DISTINCT username AS user
43 AND U.username LIKE :user
[all …]
H A Dwordpress.php12 'select-user' => '
14 user_login AS user,
19 WHERE user_login = :user
21 'select-user-groups' => '
28 'insert-user' => '',
29 'delete-user' => '',
31 SELECT DISTINCT user_login AS user
36 AND U.user_login LIKE :user
49 AND U.user_login LIKE :user
53 'update-user-info' => '
[all …]
H A Dmybb.php13 'select-user' => '
15 username AS user,
19 WHERE username = :user
24 WHERE username = :user
27 'select-user-groups' => '
39 'insert-user' => '
43 …VALUES (:user, :mail, @salt, MD5(CONCAT(MD5(@salt), MD5(:clear))), UNIX_TIMESTAMP() ) …
45 'delete-user' => '
50 SELECT U.username AS user
55 AND U.username LIKE :user
[all …]
/dokuwiki/lib/plugins/authplain/_test/conf/
H A Dauth.users.php12 user_1:$1$tGu7CW5z$VpsMjRIx5tbyOJaQ2SP23.:Admin:admin@example.com:user,first_group
13 user_2:$1$2uJ5C3ib$edo0EDEb/yLAFHme7RK851:User 2:user2@example.com:user,second_group,third_group
14 user_3:$1$yqnlDqgZ$Sste968uKhuxH6wIQt6/D/:User 3:user3@example.com:user,fourth_group,first_group,th…
15 user_4:$1$tXjajS9s$peoGPBQep.P245H1Lfloj0:User 4:user4@example.com:user,third_group
16 user_5:$1$IWrqdhol$xXOmufjZ2hW1aAVp7zDP.1:User 5:user5@example.com:user,second_group,fifth_group
/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} user name
87 WHERE login='%{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) argument
70 $userinfo = $this->getUserData($user);
76 return auth_verifyPassword($pass, $this->users[$user]['pass']);
80 * Return user info
82 * Returns info about the given user needs to contain
85 * name string full name of the user
[all …]
/dokuwiki/lib/plugins/authplain/_test/
H A Descaping.test.php5 * correct escaping of colon field delimiters and backslashes in user content.
45 $this->auth->createUser("mwuser", "12345", "Mediawiki User", "me@example.com");
50 $this->assertEquals("Mediawiki User",$mwuser['name']);
54 $name = ":Colon: User:";
57 $user = $this->auth->getUserData("colonuser");
58 $this->assertEquals($name,$user['name']);
62 $name = "\\Slash\\ User\\";
65 $user = $this->auth->getUserData("slashuser");
66 $this->assertEquals($name,$user['name']);
70 $name = "Hash # User";
[all …]
/dokuwiki/_test/tests/inc/
H A Dparserutils_set_metadata.test.php11 * Set up fake user environment with for the gieven user
13 * @param string $user
15 function helper_prepare_user($user = '1') { argument
24 'grps' => array('admin', 'user'),
31 'grps' => array('user'),
34 if(!isset($users[$user])) throw new RuntimeException('requested non-existing user');
38 $USERINFO = $users[$user];
40 $_SERVER['REMOTE_USER'] = $user;
47 // prepare user
55 $this->assertEquals('1', $meta['user'], 'Initial page has wrong user ID');
[all …]
/dokuwiki/lib/plugins/usermanager/_test/
H A DRemoteApiTest.php45 'user' => 'user1',
47 'name' => 'user one',
50 'user',
62 // try again should fail, because user already exists
74 'user' => 'user1',
76 'name' => 'user one',
79 'user',
98 'user' => '',
100 'name' => 'user one',
103 'user',
[all …]
H A Dcsv_import.test.php15 * At present, users imported in individual tests remain in the user list for subsequent tests
68 …NewUsers, $this->stripPasswords($new_users)); // new user data matches imported user data
83 $csv = 'User,"Real Name",Email,Groups
84 importuser,"Ford Prefect",ford@example.com,user
94 $csv = 'User,"Real Name",Email,Groups
95 importuser,"Ford Prefect",ford@example.com,user
101 'grps' => array('user'),
110 $csv = 'User,"Real Name",Email,Groups
111 importuser,"Ford Prefect",ford@example.com,user
116 'user' => array(
[all …]
/dokuwiki/inc/
H A DJWT.php10 protected $user; variable in dokuwiki\\JWT
19 * @param string $user
22 protected function __construct($user, $issued) argument
24 $this->user = $user;
78 $user = $payload['sub'];
79 $file = self::getStorageFile($user);
88 return new self($user, $payload['iat']);
92 * Create a new instance from a user
96 * @param $user
99 public static function fromUser($user) argument
[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) argument
209 $_SERVER['REMOTE_USER'] = $user;
210 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user;
[all …]
/dokuwiki/lib/plugins/authpdo/lang/zh/
H A Dsettings.php11 $lang['user'] = '以上数据库连接的用户名(sqlite 留空)';
13 $lang['select-user'] = '选择单一用户数据的SQL语句';
14 $lang['select-user-groups'] = '选择单一用户所有用户组的SQL语句';
16 $lang['insert-user'] = '向数据库插入一个新用户的SQL语句';
17 $lang['delete-user'] = '从数据库中移除单个用户的SQL语句';
20 $lang['update-user-info'] = '更新单一用户全名和email地址的SQL语句';
21 $lang['update-user-login'] = '更新单一用户登录名的SQL语句';
22 $lang['update-user-pass'] = '更新单一用户密码的SQL语句';
26 $lang['check-pass'] = '查询用户密码的 SQL 语句(如密码在 select-user 查询时已经获取,则本设置可留空)';
/dokuwiki/lib/plugins/authpdo/_test/pgsql/
H A Ddjango.php10 'select-user' => '
12 username AS "user",
17 WHERE username = :user
19 'select-user-groups' => '
29 'insert-user' => '
32 …VALUES (:hash, false, :user, SPLIT_PART(:name,\' \',1), SPLIT_PART(:name,\' \',2), :mail, false, t…
34 'delete-user' => '
42 SELECT DISTINCT U.username AS "user"
47 AND U.username LIKE :user
60 AND U.username LIKE :user
[all …]
/dokuwiki/lib/plugins/authpdo/lang/ja/
H A Dsettings.php10 $lang['user'] = '上記データベースに接続するユーザー名(sqliteの場合は空欄にしておいて下さい)';
12 $lang['select-user'] = '個々のユーザーのデータを選ぶSQL命令文';
13 $lang['select-user-groups'] = '個々のユーザーが属する全てのグループを選ぶSQL命令文';
15 $lang['insert-user'] = 'データベースに新規ユーザーを追加するSQL命令文';
16 $lang['delete-user'] = '個々のユーザーをデータベースから取り除くSQL命令文';
19 $lang['update-user-info'] = '個々のユーザーのフルネームとメールアドレスを更新するSQL命令文';
20 $lang['update-user-login'] = '個々のユーザーのログイン名を更新するSQL命令文';
21 $lang['update-user-pass'] = '個々のユーザーのパスワードを更新するSQL命令文';
/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-login']
79 ['select-user', 'select-user-groups', 'update-user-pass']
84 ['select-user', 'select-user-groups', 'update-user-info:name']
89 ['select-user', 'select-user-groups', 'update-user-info:mail']
94 …['select-user', 'select-user-groups', 'select-groups', 'leave-group', 'join-group', 'insert-group']
116 * Check user+password
118 * @param string $user the user name
[all …]

12345678910>>...24