Home
last modified time | relevance | path

Searched full:status (Results 1 – 25 of 136) sorted by relevance

123456

/dokuwiki/inc/Action/Exception/
H A DFatalException.php10 * Will abort all handling and display some info to the user. The HTTP status code
21 * @param int $status the HTTP status to send
24 public function __construct($message = 'A fatal error occured', $status = 500, $previous = null) argument
26 parent::__construct($message, $status, $previous);
/dokuwiki/_test/core/
H A DTestResponse.php71 * Access the http status code
73 … * in the test environment, only status codes explicitly set by dokuwiki are likely to be returned
74 … * this means succcessful status codes (e.g. 200 OK) will not be present, but error codes will be
76 * @return int http status code
79 $headers = $this->getHeader('Status');
83 // if there is more than one status header, use the last one
84 $status = is_array($headers) ? array_pop($headers) : $headers;
86 preg_match('/^Status: ?(\d+)/', $status, $matches);
/dokuwiki/lib/exe/
H A Dfetch.php44 [$STATUS, $STATUSMESSAGE] = checkFileStatus($MEDIA, $FILE, $REV, $WIDTH, $HEIGHT);
57 'status' => $STATUS,
71 // handle the file status
75 if ($data['status'] > 300 && $data['status'] <= 304) {
79 // send any non 200 status
80 if ($data['status'] != 200) {
81 http_status($data['status'], $data['statusmessage']);
84 if ($data['status'] > 203) {
/dokuwiki/lib/plugins/extension/
H A Dcli.php32 "Status codes:\n" .
49 $options->registerOption('filter', 'Filter by this status', 'f', 'status', 'list');
220 foreach ($processed as $id => $status) {
221 if ($status == Installer::STATUS_INSTALLED) {
223 } elseif ($status == Installer::STATUS_UPDATED) {
274 * @param string $filter filter for this status
282 $status = '';
286 $status = 'i';
289 $status .= 'u';
293 if ($ext->isGitControlled()) $status = 'g';
[all …]
H A Dremote.php75 * @return bool Success status
92 * @return bool Success status
125 static fn($status) => (
126 $status == Installer::STATUS_INSTALLED || $status == Installer::STATUS_UPDATED
136 * @return bool Success status
H A Dadmin.php74 foreach ($processed as $id => $status) {
75 if ($status == Installer::STATUS_INSTALLED) {
77 } elseif ($status == Installer::STATUS_UPDATED) {
79 } elseif ($status == Installer::STATUS_SKIPPED) {
81 } elseif ($status == Installer::STATUS_REMOVED) {
H A DInstaller.php154 // check installation status
160 $status = self::STATUS_UPDATED;
162 $status = self::STATUS_INSTALLED;
184 $this->processed[$extension->getId()] = $status;
299 … if ($data === false) throw new Exception('error_download', [$url, $http->error, $http->status]);
365 * Get the list of processed extensions and their status during an installation run
367 * @return array id => status
/dokuwiki/_test/tests/inc/
H A Dhttpclient_mock.php46 if($this->status != -100 && $this->status != 408) break;
64 'Status' => $this->status,
/dokuwiki/lib/plugins/popularity/
H A Daction.php44 $status = $this->helper->sendData($this->helper->gatherAsString());
46 if ($status !== '') {
48 io_saveFile($this->helper->autosubmitErrorFile, $status);
/dokuwiki/_test/tests/inc/parser/
H A Dparser_quotes.test.php187 $status = $this->getInaccessibleProperty($this->H, 'status');
188 $status['doublequote'] = 1;
190 $this->setInaccessibleProperty($this->H, 'status', $status);
210 $status = $this->getInaccessibleProperty($this->H, 'status');
211 $status['doublequote'] = 1;
213 $this->setInaccessibleProperty($this->H, 'status', $status);
233 $status = $this->getInaccessibleProperty($this->H, 'status');
234 $status['doublequote'] = 0;
236 $this->setInaccessibleProperty($this->H, 'status', $status);
/dokuwiki/inc/Remote/IXR/
H A DClient.php56 if ($this->httpClient->status < 200 || $this->httpClient->status > 206) {
57 … $this->handleError(-32300, 'transport error - HTTP status ' . $this->httpClient->status);
/dokuwiki/conf/
H A Dplugins.required.php3 * This file configures the enabled/disabled status of plugins, which are also protected
/dokuwiki/inc/HTTP/
H A DHTTPClient.php42 public $status = 0; variable in dokuwiki\\HTTP\\HTTPClient
93 if ($this->status == 304 && $sloppy304) return $this->resp_body;
94 if ($this->status < 200 || $this->status > 206) return false;
137 if ($this->status < 200 || $this->status > 206) return false;
162 $this->status = 0;
204 $this->status = -200;
259 $this->status = -100;
273 $this->status = $e->getCode();
328 // get Status
332 $this->status = $m[2];
[all …]
/dokuwiki/inc/parser/
H A Dhandler.php25 /** @var array internal status holders for some modes */
26 protected $status = [ variable in Doku_Handler
81 * Return the current internal status of the given name
83 * @param string $status
86 public function getStatus($status) argument
88 if (!isset($this->status[$status])) return null;
89 return $this->status[$status];
93 * Set a new internal status
95 * @param string $status
98 public function setStatus($status, $value) argument
[all …]
/dokuwiki/bin/
H A Dwantedpages.php144 $status = $this->dirFilter($entry, $dir);
145 if ($status == WantedPagesCLI::DIR_CONTINUE) {
147 } elseif ($status == WantedPagesCLI::DIR_NS) {
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DMemcached.php148 * @return bool Success status
158 * @return bool Success status
167 * @return bool Success status
H A DBase.php107 * @return bool Success status
114 * @return bool Success status
H A DFile.php145 * @return bool Success status
155 * @return bool Success status
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php99 * Status Codes
643 … server MAY send a status response describing the failure, but MUST then close the channel without
673 list($status) = Strings::unpackSSH2('N', $response);
674 if ($status != NET_SFTP_STATUS_OK) {
675 $this->logError($response, $status);
677 . ' Got ' . $status);
801 * @param int $status
803 private function logError($response, $status = -1) argument
805 if ($status == -1) {
806 list($status) = Strings::unpackSSH2('N', $response);
[all …]
/dokuwiki/_test/tests/lib/exe/
H A Dfetch_statuscodes_external.test.php79 * expect: 412 status code
96 * expect: 412 status code
H A Dfetch_imagetoken.test.php61 * expect: 412 status code
70 * expect: 412 status code
/dokuwiki/vendor/phpseclib/phpseclib/
H A DREADME.md3 [![CI Status](https://github.com/phpseclib/phpseclib/actions/workflows/ci.yml/badge.svg?branch=3.0&…
/dokuwiki/lib/plugins/config/_test/
H A DDocumentationTest.php52 $this->assertFalse($fail, $msg . ' ' . $http->status . ' ' . $http->error);
/dokuwiki/_test/tests/test/
H A Dbasic.test.php21 'Status: 200 OK',
22 'Status: 404 Not Found',
168 …rray_slice($this->some_headers,0,-2)); // slice off the last two headers to leave no status header
/dokuwiki/inc/
H A Dfetch.functions.php136 * Check for media for preconditions and return correct status code
139 * WRITE: MEDIA, FILE, array( STATUS, STATUSMESSAGE )
148 * @return array as array(STATUS, STATUSMESSAGE)

123456