Home
last modified time | relevance | path

Searched +full:delete +full:- +full:user -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 60) sorted by relevance

123

/dokuwiki/lib/plugins/authpdo/_test/pgsql/
H A Ddjango.php10 'select-user' => '
12 username AS "user",
17 WHERE username = :user
19 'select-user-groups' => '
25 'select-groups' => '
29 'insert-user' => '
32 …VALUES (:hash, false, :user, SPLIT_PART(:name,\' \',1), SPLIT_PART(:name,\' \',2), :mail, false, t…
34 'delete-user' => '
35 DELETE FROM auth_user_user_permissions
38 DELETE FROM auth_user
[all …]
/dokuwiki/lib/plugins/usermanager/
H A Dremote.php11 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
17 * 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
[all …]
H A Dcli.php22 $options->setHelp(
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');
36 $options->registerArgument('password', 'Password to set', false, 'add');
37 $options->registerOption('notify', 'Notify user', 'n', false, 'add');
[all …]
H A Dadmin.php9 * User Manager
13 * This version of the user manager has been modified to only work with
30 protected $filter = []; // user selection filter(s)
31 protected $start = 0; // index of first user to be displayed
32 protected $last = 0; // index of the last user to be displayed
34 protected $edit_user = ''; // set to user selected for editing
38 …protected $lastdisabled = false; // set to true if last user is unknown and last button is hence b…
48 $this->setupLocale();
51 $this->disabled = $this->lang['noauth'];
52 } elseif (!$auth->canDo('getUsers')) {
[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' => '
25 'select-groups' => '
29 'insert-user' => '
32 VALUES (0, :user, :hash, :mail)
34 'delete-user' => '
35 DELETE FROM fluy_users
[all …]
H A Dmybb.php13 'select-user' => '
15 username AS user,
19 WHERE username = :user
21 'check-pass' => '
24 WHERE username = :user
27 'select-user-groups' => '
35 'select-groups' => '
39 'insert-user' => '
43 …VALUES (:user, :mail, @salt, MD5(CONCAT(MD5(@salt), MD5(:clear))), UNIX_TIMESTAMP() ) …
45 'delete-user' => '
[all …]
H A Dwordpress.php12 'select-user' => '
14 user_login AS user,
19 WHERE user_login = :user
21 'select-user-groups' => '
27 'select-groups' => '',
28 'insert-user' => '',
29 'delete-user' => '',
30 'list-users' => '
31 SELECT DISTINCT user_login AS user
36 AND U.user_login LIKE :user
[all …]
/dokuwiki/lib/plugins/authpdo/_test/
H A Dsqlite.test.php34 … $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;
48 $conf['plugin']['authpdo']['user'] = '';
51 …plugin']['authpdo']['select-user'] = 'SELECT id AS uid, login AS user, name, pass AS clear, mail F…
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…
[all …]
/dokuwiki/inc/Action/
H A DDraftdel.php11 * Delete a draft
24 * Delete an existing draft for the current page and user if any
34 if ($draft->isDraftAvailable() && checkSecurityToken()) {
35 $draft->deleteDraft();
H A DProfileDelete.php12 * Delete a user account
31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
/dokuwiki/lib/plugins/authpdo/conf/
H A Dmetadata.php11 $meta['user'] = array('string', '_caution' => 'danger');
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');
[all …]
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], [*]
28 $conf['check-pass'] = '';
31 * statement to select a single user identified by its login name
33 * input: :user, [uid]
36 $conf['select-user-groups'] = '';
[all …]
/dokuwiki/_test/conf/
H A Dacl.auth.php11 # or user names you need to urlencode them (only chars <128, leave
12 # UTF-8 multibyte chars as is)
19 # delete 16
26 users:%USER%:* %USER% 16
/dokuwiki/_test/tests/inc/
H A Dauth_deleteprofile.test.php11 * 1. It works and the user is logged off
14 …* 5. Any of invalid security token, missing/not set 'delete' flag, missing/unchecked 'confirm_del…
29 'delete' => '1',
39 $this->assertTrue(auth_deleteprofile());
40 $this->assertTrue($auth->loggedOff);
54 'delete' => '1',
65 // password check required - it fails, so don't delete profile
66 $this->assertFalse(auth_deleteprofile());
69 $INPUT->set('oldpass','password');
70 $INPUT->post->set('oldpass','password');
[all …]
/dokuwiki/conf/
H A Dacl.auth.php.dist11 # or user names you need to urlencode them (only chars <128, leave
12 # UTF-8 multibyte chars as is)
19 # delete 16
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/inc/Ui/
H A DUserProfile.php10 * DokuWiki User Profile Interface
17 * Display the User Profile Form Panel
31 'user' => $_SERVER['REMOTE_USER'],
32 'name' => $INPUT->post->str('fullname', $INFO['userinfo']['name'], true),
33 'mail' => $INPUT->post->str('email', $INFO['userinfo']['mail'], true),
40 echo $this->updateProfileForm($userinfo)->toHTML('UpdateProfile');
41 echo $this->tokenForm($userinfo['user'])->toHTML();
42 if ($auth->canDo('delUser') && actionOK('profile_delete')) {
43 echo $this->deleteProfileForm()->toHTML('ProfileDelete');
61 $form->addHTML("<br>\n");
[all …]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php12 * @author Jan Schumann <js@jschumann-it.com>
35 'logout' => true, // can the user logout again? (eg. not possible with HTTP auth)
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->cando array and
89 // can at least one of the user's properties be changed?
90 return ($this->cando['modPass'] ||
91 $this->cando['modName'] ||
92 $this->cando['modMail']);
[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->getConf('dsn'),
47 $this->getConf('user'),
48 conf_decodeString($this->getConf('pass')),
[all …]
/dokuwiki/.github/workflows/
H A Drelease-preparation.yml2 # All needed info is provided by the user in the workflow_dispatch dialog
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
[all …]
/dokuwiki/inc/Subscriptions/
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
39 if (!$this->isenabled()) {
43 // delete any existing subscription
44 $this->remove($id, $user);
46 $user = auth_nameencode(trim($user));
50 if (!$user) {
51 throw new Exception('no subscription user given');
[all …]
/dokuwiki/vendor/geshi/geshi/
H A Dbuild.xml1 <?xml version="1.0" encoding="utf-8"?>
3 <!--
4 GeSHi - Generic Syntax Highlighter - phing build file.
8 -->
13 <property name="zipfile" value="${phing.project.name}-${version}.zip" />
14 <property name="gzfile" value="${phing.project.name}-${version}.tar.gz" />
15 <property name="bz2file" value="${phing.project.name}-${version}.tar.bz2" />
16 <property name="pkgfile" value="geshi-${version}.tgz" />
46 <delete file="dist/${zipfile}" failonerror="false"/>
47 <delete file="dist/${gzfile}" failonerror="false"/>
[all …]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php12 * Copyright (c) 2006-2012 Scott Barnett, Richard Hyland
29 * @subpackage User
31 * @copyright (c) 2006-2012 Scott Barnett, Richard Hyland
32 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
43 * USER FUNCTIONS
54 $this->adldap = $adldap;
58 * Validate a user's login credentials
60 * @param string $username A user's AD username
61 * @param string $password A user's AD password
66 return $this->adldap->authenticate($username, $password, $preventRebind);
[all …]
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);
91 * Add a user to a group
93 * @param string $group The group to add the user to
94 * @param string $user The user to add to the group
[all …]
/dokuwiki/bin/
H A Ddwpage.php29 $options->registerOption(
34 $options->registerOption(
35 'user',
36 'work as this user. defaults to current CLI user',
40 $options->setHelp(
46 $options->registerCommand(
54 $options->registerArgument(
60 $options->registerArgument(
68 $options->registerCommand(
73 $options->registerArgument(
[all …]

123