Home
last modified time | relevance | path

Searched +full:continue +full:- +full:on +full:- +full:error (Results 1 – 25 of 57) sorted by relevance

123

/dokuwiki/.github/workflows/
H A DautoFix.yml1 name: "Auto-Fix code"
2 on:
5 - master
10 runs-on: ubuntu-latest
12 - name: Checkout
15 fetch-depth: 0
17 - name: Setup PHP
18 uses: shivammathur/setup-php@v2
20 php-version: '8.2'
22 - name: Install tools
[all …]
/dokuwiki/vendor/splitbrain/php-jsstrip/src/
H A DJSStrip.php19 '(', '=', '<', '>', '?', '[', '{', ',', ';', ':', '!', '&', '|', '+', '-', '%', '~', '^',
25 const CHARS = "^&|!+\-*\/%=\?:;,{}()<>% \t\n\r'\"`[]~^";
29 * E.g. '+ ++' may not be compressed to '+++' --> syntax error.
31 const OPS = "+-/";
51 $this->source = $source;
52 $this->line = 1;
53 $this->idx = &$idx;
74 if ($endC === false) $this->fatal('Found invalid /*..*/ comment');
77 if (substr($source, $idx, $endC + 2 - $idx) == '/* BEGIN NOCOMPRESS */') {
85 if ($endNC === false) $this->fatal('Found invalid NOCOMPRESS comment');
[all …]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php18 * @author Tobias Sarnowski <sarnowski@new-thoughts.org>
37 // don't set these, read on error
38 public $error; variable in dokuwiki\\HTTP\\HTTPClient
61 // what we use as boundary on multipart/form-data posts
62 protected $boundary = '---DokuWikiHTTPClient--4523452351';
71 $this->agent = 'Mozilla/4.0 (compatible; DokuWiki HTTP Client; ' . PHP_OS . ')';
72 if (extension_loaded('zlib')) $this->headers['Accept-encoding'] = 'gzip';
73 $this->headers['Accept'] = 'text/xml,application/xml,application/xhtml+xml,' .
75 $this->headers['Accept-Language'] = 'en-us';
82 * Returns the wanted page or false on an error;
[all …]
/dokuwiki/lib/plugins/extension/
H A Dadmin.php14 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
28 $repo->checkAccess();
30 msg($e->getMessage(), -1);
33 // Only continue if there is something to do
34 …if (!$INPUT->post->has('fn') && !$INPUT->post->str('installurl') && !isset($_FILES['installfile'])…
39 // Run actions on the installer
40 $installer = new Installer($INPUT->post->bool('overwrite'));
42 foreach ($INPUT->post->arr('fn') as $action => $extensions) {
49 $installer->installExtension($ext);
52 $installer->uninstall($ext);
[all …]
H A DInstaller.php49 $this->overwrite = $overwrite;
59 foreach ($this->temporary as $dir) {
62 $this->cleanUp();
79 if ($skipInstalled && $extension->isInstalled()) return;
80 $this->installExtension($extension);
93 $url = $extension->getDownloadURL();
95 throw new Exception('error_nourl', [$extension->getId()]);
97 $this->installFromUrl($url, $extension->getBase());
109 $this->sourceUrl = $url;
110 $archive = $this->downloadArchive($url);
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/
H A DParser.php44 '-' => 1,
62 ['/border-radius$/i', '/^font$/i'];
65 'font-face',
68 '-moz-document',
70 '-moz-viewport',
71 '-o-viewport',
72 '-ms-viewport'
82 * property1: 10 -5; // is two numbers, 10 and -5
83 * property2: (10 -5); // should evaluate to 5
93 * @param string|null $sourceName name used for error messages
[all …]
/dokuwiki/bin/
H A Dgittool.php21 * Register options and arguments on the given $options object
28 $options->setHelp(
32 "$> ./bin/gittool.php origin -v"
35 $options->registerArgument(
41 $options->registerCommand(
46 $options->registerArgument(
53 $options->registerCommand(
58 $options->registerArgument(
65 $options->registerCommand(
70 $options->registerCommand(
[all …]
/dokuwiki/inc/
H A DPrefCookie.php24 $this->data = $this->decodeData($_COOKIE[self::COOKIENAME] ?? '');
36 return $this->data[$pref] ?? $default;
51 if (isset($this->data[$pref])) {
52 unset($this->data[$pref]);
55 $this->data[$pref] = $value;
58 $this->sendCookie();
70 ksort($this->data); // sort by key
72 $newdata = self::encodeData($this->data);
80 // no cookies to set when running on CLI
106 Logger::error('Odd entries in user\'s pref cookie', $rawdata);
[all …]
H A Dio.php23 * @param string $id - a pageid, the namespace of that id will be tried to deleted
24 * @param string $basedir - the config name of the type to delete (datadir or mediadir usally)
25 * @return bool - true if at least one namespace was deleted
98 return ''; //callback error
113 * @return string|bool the file contents or false on error
147 * @return string|array|bool content or false on error
239 return false; //callback error
249 * @return bool true on success, otherwise false
301 * @return bool true on success, otherwise false
310 msg("Writing $file failed", -1);
[all …]
H A Dinit.php23 return microtime(true) - ((float)$start);
43 // check for error reporting override or set error reporting to sane values
81 if (empty($config_cascade['main'][$config_group])) continue;
102 if (empty($config_cascade['license'][$config_group])) continue;
153 * @deprecated 2012-10-13 replaced by more dynamic method
161 * @deprecated 2012-10-13 replaced by more dynamic method
220 // from now on everything is an exception
261 * @link http://php.net/manual/en/session.configuration.php#ini.session.sid-length
277 …if (isset($_COOKIE[DOKU_SESSION_NAME]) && !preg_match('/^[-,a-zA-Z0-9]{22,256}$/', $_COOKIE[DOKU_S…
387 * Check for accessibility on directories as well.
[all …]
/dokuwiki/vendor/simplepie/simplepie/idn/
H A Didna_convert.class.php6 // +----------------------------------------------------------------------+
19 // | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
21 // +----------------------------------------------------------------------+
39 * - www.nörgler.com
40 * - xn--nrgler-wxa
41 * - xn--brse-5qa.xn--knrz-1ra.info
43 * Unicode input might be given as either UTF-8 string, UCS-4 string or UCS-4
50 * @copyright 2004-2007 phlyLabs Berlin, http://phlylabs.de
57 * Holds all relevant mapping tables, loaded from a seperate file on construct
66 var $_punycode_prefix = 'xn--';
[all …]
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php3 * GeSHi - Generic Syntax Highlighter
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 * @copyright (C) 2004 - 2007 Nigel McNie, (C) 2007 - 2014 Benny Baumann
38 // their values - you never know when a value may change in a future
60 // Line numbers - use with enable_line_numbers()
111 // Note that if you change these, they should be as-is: i.e., don't
125 disabled by {@link GeSHi->enable_strict_mode()} */
153 @see GeSHi->optimize_regexp_list()
158 still have to close open patterns. 12k should do just fine on a 16k limit.
159 @see GeSHi->optimize_regexp_list()
[all …]
/dokuwiki/inc/Remote/
H A DApiCore.php36 'core.getAPIVersion' => (new ApiCall([$this, 'getAPIVersion'], 'info'))->setPublic(),
39 'core.getWikiTitle' => (new ApiCall([$this, 'getWikiTitle'], 'info'))->setPublic(),
42 'core.login' => (new ApiCall([$this, 'login'], 'user'))->setPublic(),
107 * Returns a Unix timestamp (seconds since 1970-01-01 00:00:00 UTC).
146 if ($auth->canDo('external')) {
147 $ok = $auth->trustExternal($user, $pass, false);
170 * @return int 0 on failure, 1 on success
214 $page = $this->checkPage($page, 0, false, AUTH_NONE);
220 $userinfo = $auth->getUserData($user);
256 return $this->getAllPages($hash);
[all …]
/dokuwiki/inc/Search/
H A DIndexer.php11 * Class that encapsulates operations on the indexer database.
37 if (!$this->lock())
41 $pid = $this->getPIDNoLock($page);
43 $this->unlock();
49 $words = $this->getPageWords($text);
51 $this->unlock();
57 $index = $this->getIndex('i', $wlen);
60 $index[$wid] = $this->updateTuple($idx, $pid, $freq);
63 if (!$this->saveIndex('i', $wlen, $index)) {
64 $this->unlock();
[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/vendor/geshi/geshi/src/geshi/
H A Doorexx.php4 * ---------------------------------
7 * - Walter Pachl (pachl@chello.at)
15 * -------
17 * - tried to get it syntactically right
20 * -------------------------
21 * - Get it working on rosettacode.org
39 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45 'COMMENT_SINGLE' => array(1 => '--'),
61 'continue', 'digits', 'engineering', 'error',
66 'notready', 'novalue', 'off', 'on', 'options', 'over',
[all …]
H A Dsas.php4 * -------
10 * SAS language file for GeSHi. Based on the sas vim file.
13 * -------
15 * - Added description of extra language features (SF#1970248)
16 * - Cleaned up code style
18 * - First Release
21 * -------------------------
40 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
109 'CARDS4','CASCADE','CATNAME','CHECK','CONTINUE','CREATE',
115 'MODIFY','MSGTYPE','NOT','NULL','ON','OPTIONS','OR','ORDER',
[all …]
H A Dfreebasic.php4 * -------------
13 * -------
15 * - First Release
34 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 "common", "cons", "const", "continue", "cos", "cshort", "csign", "csng",
58 "eqv", "erase", "err", "error", "exec", "exepath", "exit", "exp", "export",
66 "mutexdestroy", "mutexlock", "mutexunlock", "name", "next", "not", "oct", "on",
H A Dvbnet.php4 * ---------
13 * -------
15 * - Initial release
18 * -------------------------
36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 'Call', 'Case', 'Catch', 'Char', 'Class', 'Const', 'Continue',
54 … 'Enum', 'Erase', 'Error', 'Event', 'Exit', 'False', 'Finally', 'For', 'Friend', 'Function',
58 … 'Narrowing', 'New', 'Next', 'Not', 'Nothing', 'NotInheritable', 'NotOverridable', 'Of', 'On',
83 //Built-in functions
89 'EOF', 'ERROR$', 'EXP', 'FILEATTR', 'FILECOPY', 'FILEDATATIME', 'FILELEN', 'FILTER',
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DXML.php8 * https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue
15 * @license http://www.opensource.org/licenses/mit-license.html MIT License
65 throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
69 … throw new BadConfigurationException('The dom extension is not setup correctly on this system');
79 $temp = self::isolateNamespace($key, 'http://www.w3.org/2001/04/xmldsig-more#');
89 if (!$dom->loadXML($key)) {
99 $QA = self::query($xpath, 'ecdsakeyvalue')->length ?
109 * Case-insensitive xpath query
113 * @param string $error optional
117 private static function query(\DOMXPath $xpath, $name, $error = null, $decode = true) argument
[all …]
/dokuwiki/inc/lang/en/
H A Dlang.php11 $lang['encoding'] = 'utf-8';
65 $lang['email'] = 'E-Mail';
70 $lang['draftdate'] = 'Draft autosaved on'; // full dformat date will be added
94 $lang['regmailfail'] = 'Looks like there was an error on sending the password mail. Pleas…
95 …admail'] = 'The given email address looks invalid - if you think this is an error, cont…
114 …tication Token can be used to let 3rd party applications to log in and act on your behalf. Resetti…
125 $lang['license'] = 'Except where otherwise noted, content on this wiki is licensed un…
141 $lang['js']['keepopen'] = 'Keep window open on selection';
160 $lang['js']['medialeft'] = 'Align the image on the left.';
161 $lang['js']['mediaright'] = 'Align the image on the right.';
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRandom.php19 * @license http://www.opensource.org/licenses/mit-license.html MIT License
26 * Pure-PHP Random Number Generator
55 // object that implements the Throwable interface (Exception, TypeError, Error).
56 // We don't actually need to do anything here. The string() method should just continue
61 // at this point we have no choice but to use a pure-PHP CSPRNG
69 … // PHP isn't low level to be able to use those as sources and on a web server there's not likely
72 …// solely on parameters a potential attacker sends but (1) not everything in $_SERVER is controlled
73 … // by the user and (2) this isn't just looking at the data sent by the current user - it's based
74 … // on the data sent by all users. one user requests the page and a hash of their info is saved.
134 // http://tools.ietf.org/html/rfc4253#section-7.2
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php4 * Pure-PHP implementation of SFTP.
18 * if (!$sftp->login('username', 'password')) {
22 * echo $sftp->pwd() . "\r\n";
23 * $sftp->put('filename.ext', 'hello, world!');
24 * print_r($sftp->nlist());
30 * @license http://www.opensource.org/licenses/mit-license.html MIT License
40 * Pure-PHP implementations of SFTP.
122 …* The request ID exists in the off chance that a packet is sent out-of-order. Of course, this lib…
133 …* The request ID exists in the off chance that a packet is sent out-of-order. Of course, this lib…
139 private $packet_type = -1;
[all …]
/dokuwiki/vendor/geshi/geshi/
H A DCHANGELOG2 CHANGES - Changelog for GeSHi (geshi.php only)
7 changes - thanks to all who suggested these ideas and gave me the code to show me how!
16 - Renamed Nimrod to Nim (mrtuxa)
18 - Added language files
22 - Some minor tweaks for RFC822 email support (BenBE)
23 - Introduce strip_language function (phy25)
24 - Recognize additional file extensions (RealityRipple)
25 - Code style update by avoiding create_function (cweiske)
26 - Backported CLI tool from GeSHi 1.1 branch (cweiske)
27 - Improvements to language files
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSimplePie.php6 * A PHP-Based RSS and Atom Feed Framework.
9 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
178 * RDF-based RSS
183 * Non-RDF-based RSS (truly intended as syndication format)
233 * base64-encoded construct
295 public const NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
344 * Wrong Media RSS Namespace. Caused by a long-standing typo in the spec.
[all …]

123