| /dokuwiki/lib/plugins/authpdo/_test/pgsql/ |
| H A D | django.sql | 1 -- 2 -- PostgreSQL database dump 3 -- 5 -- Dumped from database version 9.5.1 6 -- Dumped by pg_dump version 9.5.1 14 -- 15 -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: 16 -- 21 -- 22 -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: [all …]
|
| /dokuwiki/inc/ |
| H A D | pluginutils.php | 16 // note that only [a-z0-9]+ is officially supported, 17 // this is only to support plugins that don't follow these conventions, too 18 if (!defined('DOKU_PLUGIN_NAME_REGEX')) define('DOKU_PLUGIN_NAME_REGEX', '[a-zA-Z0-9\x7f-\xff]+'); 28 * @param bool $all; true to retrieve all, false to retrieve only enabled plugins 35 $plugins = $plugin_controller->getList($type, $all); 42 * Returns only new instances of a plugin when $new is true or if plugin is not Singleton, 46 * @param $name string name of the plugin to load 51 function plugin_load($type, $name, $new = false, $disabled = false) argument 55 return $plugin_controller->load($type, $name, $new, $disabled); 61 * @param string $plugin name of plugin [all …]
|
| /dokuwiki/vendor/php81_bc/strftime/src/ |
| H A D | DateLocaleFormatter.php | 8 * This formatter uses simple, non-locale aware formatting of dates 10 …* It should only be used when the intl extension is not available and thus the IntlLocaleFormatter… 18 '%b' => 'M', // Abbreviated month name, Jan through Dec 19 '%B' => 'F', // Full month name, January through December 20 '%h' => 'M', // Abbreviated month name, (an alias of %b) Jan through Dec 23 '%X' => 'g:i:s A', // Time only 29 if (!isset($this->formats[$format])) { 33 trigger_error('Formatting without \\IntlDateFormatter only return english formats'); 35 return $timestamp->format($this->formats[$format]);
|
| /dokuwiki/lib/plugins/usermanager/ |
| H A D | remote.php | 11 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 21 * value rather than relying on the error code only. 25 * @param string $user The user's login name 26 * @param string $name The user's full name 36 public function createUser($user, $name, $mail, $groups, $password = '', $notify = false) argument 39 throw new AccessDeniedException('Only admins are allowed to create users', 114); 45 if (!$auth->canDo('addUser')) { 47 sprintf('Authentication backend %s can\'t do addUser', $auth->getPluginName()), 52 $user = trim($auth->cleanUser($user)); 53 $name = trim(preg_replace('/[\x00-\x1f:<>&%,;]+/', '', $name)); [all …]
|
| /dokuwiki/inc/Extension/ |
| H A D | PluginInterface.php | 21 * base - the plugin's base name (eg. the directory it needs to be installed in) 22 * author - Author of the plugin 23 * email - Email address to contact the author 24 * date - Last modified date of the plugin in YYYY-MM-DD format 25 * name - Name of the plugin 26 * desc - Short description of the plugin (Text only) 27 * url - Website with more information on the plugin (eg. syntax description) 32 * The type of the plugin inferred from the class name 39 * The name of the plugin inferred from the class name 41 * @return string plugin name [all …]
|
| H A D | AuthPlugin.php | 12 * @author Jan Schumann <js@jschumann-it.com> 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 90 return ($this->cando['modPass'] || 91 $this->cando['modName'] || 92 $this->cando['modMail']); 95 return ($this->cando['modPass'] || 96 $this->cando['modName'] || [all …]
|
| H A D | PluginController.php | 29 $this->loadConfig(); 30 $this->populateMasterList(); 31 $this->initAutoloaders(); 37 * @param $type string, plugin_type name; 41 * false to only return enabled plugins, 45 * - plugin names when $type = '' 46 * - or plugin component names when a $type is given 55 … return $all ? array_keys($this->masterList) : array_keys(array_filter($this->masterList)); 58 if (!isset($this->listByType[$type]['enabled'])) { 59 $this->listByType[$type]['enabled'] = $this->getListByType($type, true); [all …]
|
| H A D | RemotePlugin.php | 24 $this->api = new Api(); 41 foreach ($reflection->getMethods(ReflectionMethod::IS_PUBLIC) as $method) { 42 // skip parent methods, only methods further down are exported 43 $declaredin = $method->getDeclaringClass()->name; 47 $method_name = $method->name; 63 * @deprecated 2023-11-30 77 return $this->api;
|
| H A D | EventHandler.php | 34 if ($plugin instanceof PluginInterface) $plugin->register($this); 43 * @param string $event name used by the event 53 $doSort = !isset($this->hooks[$event . '_' . $advise][$seq]); 54 $this->hooks[$event . '_' . $advise][$seq][] = [$obj, $method, $param]; 57 ksort($this->hooks[$event . '_' . $advise]); 70 $evt_name = $event->name . ($advise ? '_' . $advise : '_BEFORE'); 72 if (!empty($this->hooks[$evt_name])) { 73 foreach ($this->hooks[$evt_name] as $sequenced_hooks) { 80 $obj->$method($event, $param); 83 if (!$event->mayPropagate()) return; [all …]
|
| /dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
| H A D | JSONCreator.php | 17 $data['title'] = (string)$this->title; 18 $data['home_page_url'] = (string)$this->link; 19 $data['feed_url'] = (string)$this->syndicationURL; 20 $data['description'] = (string)$this->description; 22 if ($this->image != null) { 23 $data['icon'] = $this->image->url; 25 if ($this->language != '') { 26 $data['language'] = $this->language; 30 foreach ($this->items as $item) { 32 $entry['id'] = $item->guid ? (string)$item->guid : (string)$item->link; [all …]
|
| /dokuwiki/inc/Debug/ |
| H A D | PropertyDeprecationHelper.php | 15 * and make the properties non-public. The trait will preserve public access 23 * $this->deprecatePublicProperty( 'bar', '1.21', __CLASS__ ); 28 * $foo->bar; // works but logs a warning 36 * List of deprecated properties, in <property name> => <class> format 37 * where <class> is the the name of the class defining the property 45 * Mark a property as deprecated. Only use this for properties that used to be public and only 48 * @param string $property The name of the property. 49 * @param null $class name of the class defining the property 56 $this->deprecatedPublicProperties[$property] = $class ?: get_class($this); 59 public function __get($name) argument [all …]
|
| /dokuwiki/lib/plugins/styling/ |
| H A D | admin.php | 9 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 25 * @return bool true if only access for superuser, false is for superusers and moderators 38 $run = $INPUT->extract('run')->str('run'); 42 $this->$run(); 51 if ($this->ispopup) $class = 'ispopup page'; 54 echo '<h1>' . $this->getLang('menu') . '</h1>'; 55 $this->form(); 68 $styleini = $styleUtil->cssStyleini(); 71 if ($this->ispopup) { 78 echo '<p class="error">' . $this->getLang('error') . '</p>'; [all …]
|
| /dokuwiki/lib/scripts/ |
| H A D | cookie.js | 4 * Only a single cookie is written and read. You may only save 5 * simple name-value pairs - no complex types! 7 * You should only use the getValue and setValue methods 14 name: 'DOKU_PREFS', property 39 …jQuery.cookie(this.name, text.join('#'), {expires: 365, path: DOKU_COOKIE_PARAM.path, secure: DOKU… 63 text = jQuery.cookie(this.name);
|
| /dokuwiki/lib/plugins/authpdo/_test/mysql/ |
| H A D | fluxbb.php | 3 …* Confiuration for fluxbb. They have a very simplistic model. There is no separate display name an… 4 * only be in a single group. 10 'select-user' => ' 13 username AS name, 19 'select-user-groups' => ' 25 'select-groups' => ' 29 'insert-user' => ' 34 'delete-user' => ' 38 'list-users' => ' 44 AND U.username LIKE :name [all …]
|
| /dokuwiki/.github/workflows/ |
| H A D | deletedFiles.yml | 2 # It compares the current master with the data/deleted.files file and cleans the file from any re-i… 4 # unless they are already listed there or are excluded from the release archives (export-ignore in … 6 # Finally, the list of newly removed entries receives a header "# removed on $(date -I)" with the c… 8 name: "Update deleted files" 12 - master 16 name: Update deleted files 17 runs-on: ubuntu-latest 19 - name: Checkout 22 fetch-depth: 0 24 - name: Cleaning list from re-introduced files [all …]
|
| H A D | release-preparation.yml | 4 # When the pull request is merged, the release-build workflow will be triggered automatically 6 name: "Release: Preparation " 16 - stable 17 - hotfix 18 - rc 23 description: 'The version date YYYY-MM-DD, empty for today' 28 name: Prepare Pull Request 29 runs-on: ubuntu-latest 31 - name: Fail if branch is not master 34 echo "::error::This workflow should only be triggered on master" [all …]
|
| /dokuwiki/lib/plugins/authplain/_test/ |
| H A D | escaping.test.php | 24 $this->auth = new auth_plugin_authplain(); 30 $name = $config_cascade['plainauth.users']['default']; 31 copy($name, $name.".orig"); 32 $this->reloadUsers(); 38 $name = $config_cascade['plainauth.users']['default']; 39 copy($name.".orig", $name); 45 $this->auth->createUser("mwuser", "12345", "Mediawiki User", "me@example.com"); 46 $this->reloadUsers(); 47 $this->assertTrue($this->auth->checkPass("mwuser", "12345")); 48 $mwuser = $this->auth->getUserData("mwuser"); [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
| H A D | NameFilter.php | 5 * A PHP-Based RSS and Atom Feed Framework. 8 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used 36 * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue 41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 57 * The returning name MUST follow the rules for keys in PSR-16. 59 * @link https://www.php-fig.org/psr/psr-16/ 61 * The returning name MUST be a string of at least one character 62 * that uniquely identifies a cached item, MUST only contain the 63 * characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding [all …]
|
| H A D | CallableNameFilter.php | 5 * A PHP-Based RSS and Atom Feed Framework. 8 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used 36 * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue 41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 61 $this->callable = $callable; 67 * The returning name MUST follow the rules for keys in PSR-16. 69 * @link https://www.php-fig.org/psr/psr-16/ 71 * The returning name MUST be a string of at least one character 72 * that uniquely identifies a cached item, MUST only contain the [all …]
|
| H A D | File.php | 6 * A PHP-Based RSS and Atom Feed Framework. 9 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 22 * * Neither the name of the SimplePie Team nor the names of its contributors may be used 37 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue 42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 83 protected $name; variable in SimplePie\\Cache\\File 89 * @param string $name Unique ID for the cache 92 public function __construct($location, $name, $type) argument 94 $this->location = $location; 95 $this->filename = $name; [all …]
|
| /dokuwiki/lib/plugins/config/lang/en/ |
| H A D | lang.php | 20 ensure the local settings file name and permissions are correct.'; 26 /* --- Config Setting Headers --- */ 33 /* --- Config Setting Groups --- */ 37 $lang['_anti_spam'] = 'Anti-Spam'; 46 /* --- Undefined Setting Messages --- */ 52 /* -------------------- Config Options --------------------------- */ 55 $lang['title'] = 'Wiki title aka. your wiki\'s name'; 56 $lang['start'] = 'Page name to use as the starting point for each namespace'; 60 $lang['sidebar'] = 'Sidebar page name (if template supports it), empty field disables the sideb… 96 $lang['superuser'] = 'Superuser - group, user or comma separated list user1,@group1,user2 with fu… [all …]
|
| /dokuwiki/conf/ |
| H A D | interwiki.conf | 4 # {NAME} this is replaced by the wikiname as given in the document 5 # only mandatory encoded is done, urlencoding if the link 14 # If no placeholder is defined the urlencoded name is appended to the URL 19 wp https://en.wikipedia.org/wiki/{NAME} 20 wpfr https://fr.wikipedia.org/wiki/{NAME} 21 wpde https://de.wikipedia.org/wiki/{NAME} 22 wpes https://es.wikipedia.org/wiki/{NAME} 23 wppl https://pl.wikipedia.org/wiki/{NAME} 24 wpjp https://ja.wikipedia.org/wiki/{NAME} 25 wpru https://ru.wikipedia.org/wiki/{NAME} [all …]
|
| /dokuwiki/inc/Form/ |
| H A D | InputElement.php | 28 * @param string $name The name of this form element 31 public function __construct($type, $name, $label = '') argument 33 parent::__construct($type, ['name' => $name]); 34 $this->attr('name', $name); 35 $this->attr('type', $type); 36 if ($label) $this->label = new LabelElement($label); 46 return $this->label; 60 $this->useInput = (bool) $useinput; 72 if ($this->label) $this->label->attr('for', $id); 86 if ($this->label) $this->label->addClass($class); [all …]
|
| H A D | DropdownElement.php | 8 …* Represents a HTML select. Please not that prefilling with input data only works for single value… 21 * @param string $name The name of this form element 25 public function __construct($name, $options, $label = '') argument 27 parent::__construct('dropdown', $name, $label); 28 $this->rmattr('type'); 29 $this->optGroups[''] = new OptGroup(null, $options); 30 $this->val(''); 46 $this->optGroups[$label] = new OptGroup($label, $options); 47 return end($this->optGroups); 51 * Set or get the optgroups of an Dropdown-Element. [all …]
|
| /dokuwiki/_test/core/ |
| H A D | TestResponse.php | 30 $this->content = $content; 31 $this->headers = $headers; 32 $this->data = $data; 41 return $this->content; 50 return $this->headers; 56 * @param $name string, the name of the header without the ':', e.g. 'Content-Type', 'Pragma' 59 public function getHeader($name) { argument 61 foreach($this->headers as $header) { 62 if(substr($header, 0, strlen($name) + 1) == $name . ':') { 73 … * in the test environment, only status codes explicitly set by dokuwiki are likely to be returned [all …]
|