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);
96 // --pretty=reference format ("hash (subject, date)") avoids percent
99 $args = ['git', 'log', '-1', '--pretty=reference'];
101 …if (preg_match('/^([0-9a-f]{7,40}) \(.*, (\d{4}-\d{2}-\d{2})\)$/', trim((string)$commitInfo), $m))…
108 // we cannot use git on the shell -- let's do it manually!
118 $packedRefs = file_get_contents(DOKU_INC . '.git/packed-refs');
139 if ($ts && $date = date('Y-m-d', $ts)) {
157 * last commit. SHA is the short SHA of the last commit - this is only added on
161 * Where XX represents the update version number set in doku.php.
163 * @return string The version string e.g. "Release 2023-04-04a"
204 * @return array an os-release array, might be empty
211 if (@file_exists('/etc/os-release')) {
213 $osRelease = $reader('/etc/os-release');
249 msg('Your PHP version is too old (' . phpversion() . ' vs. 8.2+ needed)', -1);
254 msg('Your PHP version is too old', -1);
259 if ($mem === -1) {
263 Increase memory_limit in php.ini', -1);
266 … you might encounter problems with bigger pages. Increase memory_limit in php.ini', -1);
278 msg('Changelog is not writable', -1);
286 msg('Importing old changelog failed', -1);
292 msg('Importoldchangelog plugin not disabled after import', -1);
299 msg('conf directory is not writable', -1);
318 msg('mb_string extension not available - PHP only replacements will be used', 0);
322 msg('PHP is missing UTF-8 support in Perl-Compatible Regular Expressions (PCRE)', -1);
325 …msg('PHP is missing Unicode properties support in Perl-Compatible Regular Expressions (PCRE)', -1);
330 msg('No valid locale is set for your PHP setup. You should fix this', -1);
332 msg('Your locale <code>' . hsc($loc) . '</code> seems not to be a UTF-8 locale,
339 …Debugging support is enabled. If you don\'t need it you should set $conf[\'allowdebug\'] = 0', -1);
347 $INPUT->server->str('REMOTE_USER'),
362 msg('The current page is not writable by the webserver', -1);
368 msg('The current page is not writable by you', -1);
374 $indexer->checkIntegrity();
375 if (!$indexer->isIndexEmpty()) {
391 -1
397 $http->max_redirect = 0;
398 $http->timeout = 3;
399 $http->sendRequest('https://www.dokuwiki.org', '', 'HEAD');
402 if (isset($http->resp_headers['date'])) {
403 $time = strtotime($http->resp_headers['date']);
404 $diff = $time - $now;
425 * @param int $lvl -1 = error, 0 = info, 1 = success, 2 = notify
435 -1 => 'error',
450 if ($evt->advise_before()) {
451 /* Show msg normally - event could suppress message show */
468 $evt->advise_after();
486 // is the message public? - everyone and anyone can see it
524 echo "<!--\n";
526 echo "\n-->";
541 * @deprecated 2020-08-13
553 Logger::getInstance(Logger::LOG_DEBUG)->log(
585 $depth = count($backtrace) - 1;
614 $calls[$depth - $i] = sprintf(