Lines Matching +full:- +full:- +full:set +full:- +full:upstream
29 * Check for new messages from upstream
46 if ($lm < time() - (60 * 60 * 24) || $lm < @filemtime(DOKU_INC . DOKU_SCRIPT)) {
56 $http->timeout = 12;
57 $resp = $http->get(DOKU_MESSAGEURL . $updateVersion);
63 Logger::debug("checkUpdateMessages(): unexpected HTTP response received", $http->error);
97 $args = ['git', 'log', '-1', '--pretty=format:%h %cd', '--date=short'];
106 // we cannot use git on the shell -- let's do it manually!
116 $packedRefs = file_get_contents(DOKU_INC . '.git/packed-refs');
137 if ($ts && $date = date('Y-m-d', $ts)) {
155 * last commit. SHA is the short SHA of the last commit - this is only added on
159 * Where XX represents the update version number set in doku.php.
161 * @return string The version string e.g. "Release 2023-04-04a"
202 * @return array an os-release array, might be empty
209 if (@file_exists('/etc/os-release')) {
211 $osRelease = $reader('/etc/os-release');
247 msg('Your PHP version is too old (' . phpversion() . ' vs. 8.2+ needed)', -1);
252 msg('Your PHP version is too old', -1);
257 if ($mem === -1) {
261 Increase memory_limit in php.ini', -1);
264 … you might encounter problems with bigger pages. Increase memory_limit in php.ini', -1);
276 msg('Changelog is not writable', -1);
284 msg('Importing old changelog failed', -1);
290 msg('Importoldchangelog plugin not disabled after import', -1);
297 msg('conf directory is not writable', -1);
316 msg('mb_string extension not available - PHP only replacements will be used', 0);
320 msg('PHP is missing UTF-8 support in Perl-Compatible Regular Expressions (PCRE)', -1);
323 …msg('PHP is missing Unicode properties support in Perl-Compatible Regular Expressions (PCRE)', -1);
328 msg('No valid locale is set for your PHP setup. You should fix this', -1);
330 msg('Your locale <code>' . hsc($loc) . '</code> seems not to be a UTF-8 locale,
337 …Debugging support is enabled. If you don\'t need it you should set $conf[\'allowdebug\'] = 0', -1);
345 $INPUT->server->str('REMOTE_USER'),
360 msg('The current page is not writable by the webserver', -1);
366 msg('The current page is not writable by you', -1);
372 $indexer->checkIntegrity();
373 if (!$indexer->isIndexEmpty()) {
389 -1
395 $http->max_redirect = 0;
396 $http->timeout = 3;
397 $http->sendRequest('https://www.dokuwiki.org', '', 'HEAD');
400 if (isset($http->resp_headers['date'])) {
401 $time = strtotime($http->resp_headers['date']);
402 $diff = $time - $now;
423 * @param int $lvl -1 = error, 0 = info, 1 = success, 2 = notify
433 -1 => 'error',
448 if ($evt->advise_before()) {
449 /* Show msg normally - event could suppress message show */
466 $evt->advise_after();
484 // is the message public? - everyone and anyone can see it
522 echo "<!--\n";
524 echo "\n-->";
539 * @deprecated 2020-08-13
551 Logger::getInstance(Logger::LOG_DEBUG)->log(
583 $depth = count($backtrace) - 1;
612 $calls[$depth - $i] = sprintf(