/dokuwiki/conf/ |
H A D | dokuwiki.php | 22 $conf['license'] = 'cc-by-nc-sa'; //see conf/license.php 24 $conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection 25 $conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect 26 $conf['cookiedir'] = ''; //path to use in cookies - blank for basedir 39 $conf['signature'] = ' --- //[[@MAIL@|@NAME@]] @DATE@//'; //signature see wiki page for details 40 $conf['showuseras'] = 'loginname'; // 'loginname' users logi [all...] |
H A D | mysql.conf.php.example | 9 * TABLE users 48 $conf['plugin']['authmysql']['TablesToLock']= array("users", "users AS u","groups", "groups AS g", "usergroup", "usergroup AS ug"); 68 JOIN users AS u ON u.uid=ug.uid 86 FROM users 98 FROM groups g, users u, usergroup ug 110 * Important is that this list contains no double entries for a user. Each 122 FROM users AS u 132 /* Additional SQL statements to add new users with the user manager */ 144 $conf['plugin']['authmysql']['addUser'] = "INSERT INTO users [all...] |
/dokuwiki/data/pages/wiki/ |
H A D | dokuwiki.txt | 3 [[doku>wiki:dokuwiki|{{wiki:dokuwiki-128.png }}]] DokuWiki is a simple to use and highly versatile Open Source [[wp>wiki]] software that doesn't require a database. It is loved by users for its clean and readable [[wiki:syntax]]. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in [[doku>acl|access controls]] and [[doku>auth|authentication connectors]] make DokuWiki especially useful in the enterprise context and the large number of [[doku>plugins]] contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki. 18 * [[doku>features|A feature list]] :!: 19 * [[doku>users|Happy Users]] 49 * [[doku>mailinglist|Join the mailing list]] 51 * [[doku>irc|Talk to other users in the IRC channel]] 58 2004-2020 (c) Andreas Gohr <andi@splitbrain.org>((Please do not contact me for help and support -- us [all...] |
H A D | syntax.txt | 38 External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too. 41 automagically: http://www.google.com or simply www.google.com - You can set 86 * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> 99 [[http://php.net|{{wiki:dokuwiki-128.png}}]] 101 [[http://php.net|{{wiki:dokuwiki-128.png}}]] 115 You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''<nowiki>~~NOTOC~~</nowiki>'' in the document. 127 -- [all...] |
/dokuwiki/inc/Extension/ |
H A D | AuthPlugin.php | 8 * 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? 33 'getGroups' => false, // can a list of available groups be retrieved? 42 * able to operate. Set capabilities in $this->cando 48 * Set $this->succes 310 deleteUsers($users) global() argument [all...] |
/dokuwiki/inc/File/ |
H A D | PageFile.php | 32 $this->id = $id; 33 $this->changelog = new PageChangeLog($this->id); 39 return $this->id; 45 return wikiFN($this->id, $rev); 58 $revInfo = $rev ? $this->changelog->getRevisionInfo($rev) : false; 61 : io_readWikiPage($this->getPath($rev), $this->id, $rev); // retrieve from attic 63 return io_readWikiPage($this->getPat [all...] |
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 35 '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); 235 * List al [all...] |
/dokuwiki/inc/Subscriptions/ |
H A D | BulkSubscriptionSender.php | 13 * Send digest and list subscriptions 27 if (!$subscriberManager->isenabled()) { 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->getUserDat [all...] |
H A D | SubscriberManager.php | 39 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/inc/Ui/ |
H A D | Recent.php | 28 $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/inc/ |
H A D | auth.php | 53 foreach ($plugin_controller->getList('auth') as $plugin) { 55 $auth = $plugin_controller->load('auth', $plugin); 61 msg($lang['authtempfail'], -1); 65 if ($auth->success == false) { 69 msg($lang['authtempfail'], -1); 74 $INPUT->set('http_credentials', false); 75 if (!$conf['rememberme']) $INPUT->set('r', false); 79 $header = $INPUT->server->str('HTTP_AUTHORIZATION') ?: $INPUT->serve [all...] |
H A D | common.php | 34 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...] |
H A D | html.php | 33 define('SEC_EDIT_PATTERN', '#<!-- EDIT({.*?}) -->#'); 54 return $xhtml_renderer->internallink($id, $name, $search, true, 'navigation'); 63 * @deprecated 2020-07-18 68 (new Login($svg))->show(); 75 * @deprecated 2020-07-1 [all...] |
H A D | infoutils.php | 43 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 D | media.php | 33 * @author Matthias Grimm <matthiasgrimm@users.sourceforge.net> 77 $meta->_parseAll(); 82 $meta->deleteField($key); 84 $meta->setField($key, $val); 94 if ($meta->save()) { 99 $sizechange = $filesize_new - $filesize_old; 107 msg($lang['metasaveerr'], -1); 177 $form->addTagOpen('div')->addClass('no'); 178 $form->setHiddenFiel [all...] |
H A D | template.php | 120 $router->getAction()->tplContent(); 123 msg(hsc($e->getMessage()), -1); 165 $toc = $plugin->getTOC(); 191 $class = $INPUT->str('page'); 203 if (!is_array($TOC)) $TOC = $plugin->getTOC(); //if TOC wasn't requested yet 205 $plugin->html(); 208 $admin->show(); 277 $styleIni = $styleUtil->cssStylein [all...] |
/dokuwiki/inc/parser/ |
H A D | renderer.php | 17 define('PREG_PATTERN_VALID_LANGUAGE', '#[^a-zA-Z0-9\-_]#'); 49 /** @var array the list of headers used to create unique link ids */ 58 * clean out any per-use values 65 $this->headers = []; 66 $this->doc = ''; 67 $this->info['cache'] = true; 68 $this->inf [all...] |
/dokuwiki/lib/plugins/acl/ |
H A D | admin.php | 41 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/authad/adLDAP/ |
H A D | adLDAP.php | 12 * 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/lib/plugins/authad/adLDAP/classes/ |
H A D | adLDAPContacts.php | 12 * 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...] |
H A D | adLDAPGroups.php | 12 * 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 D | adLDAPUsers.php | 12 * 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...] |
/dokuwiki/lib/plugins/authad/ |
H A D | auth.php | 36 * // add a list of comma separated ldap contact fields. 41 * @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->con 62 protected $users = array(); global() variable in auth_plugin_authad [all...] |
/dokuwiki/lib/plugins/authldap/ |
H A D | auth.php | 13 * @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/lib/plugins/authpdo/ |
H A D | auth.php | 10 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 22 /** @var null|array The list of all groups */ 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->pd 387 deleteUsers($users) global() argument [all...] |