Lines Matching +full:update +full:- +full:user +full:- +full:pass -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

19         define('DOKU_MESSAGEURL', 'https://update.dokuwiki.org/check/');
21 define('DOKU_MESSAGEURL', 'http://update.dokuwiki.org/check/');
43 if ($lm < time() - (60 * 60 * 24) || $lm < @filemtime(DOKU_INC . DOKU_SCRIPT)) {
53 $http->timeout = 12;
54 $resp = $http->get(DOKU_MESSAGEURL . $updateVersion);
60 Logger::debug("checkUpdateMessages(): unexpected HTTP response received", $http->error);
94 $commitInfo = shell_exec("git log -1 --pretty=format:'%h %cd' --date=short");
102 // we cannot use git on the shell -- let's do it manually!
112 $packedRefs = file_get_contents(DOKU_INC . '.git/packed-refs');
133 if ($ts && $date = date('Y-m-d', $ts)) {
140 $version['date'] = 'update version ' . $updateVersion;
151 * last commit. SHA is the short SHA of the last commit - this is only added on
154 * If no version can be determined "snapshot? update version XX" is returned.
155 * Where XX represents the update version number set in doku.php.
157 * @return string The version string e.g. "Release 2023-04-04a"
198 * @return array an os-release array, might be empty
203 if (file_exists('/etc/os-release')) {
205 $osRelease = parse_ini_file('/etc/os-release');
236 msg('Your PHP version is too old (' . phpversion() . ' vs. 7.4+ needed)', -1);
241 msg('Your PHP version is too old', -1);
246 if ($mem === -1) {
250 Increase memory_limit in php.ini', -1);
253 you might encounter problems with bigger pages. Increase memory_limit in php.ini', -1);
265 msg('Changelog is not writable', -1);
273 msg('Importing old changelog failed', -1);
279 msg('Importoldchangelog plugin not disabled after import', -1);
286 msg('conf directory is not writable', -1);
304 msg('mb_string function overloading is enabled, this will cause problems and should be disabled', -1);
308 msg('mb_string extension not available - PHP only replacements will be used', 0);
312 msg('PHP is missing UTF-8 support in Perl-Compatible Regular Expressions (PCRE)', -1);
315 msg('PHP is missing Unicode properties support in Perl-Compatible Regular Expressions (PCRE)', -1);
320 msg('No valid locale is set for your PHP setup. You should fix this', -1);
322 msg('Your locale <code>' . hsc($loc) . '</code> seems not to be a UTF-8 locale,
329 msg('Debugging support is enabled. If you don\'t need it you should set $conf[\'allowdebug\'] = 0', -1);
337 $INPUT->server->str('REMOTE_USER'),
352 msg('The current page is not writable by the webserver', -1);
358 msg('The current page is not writable by you', -1);
384 -1
399 $http->max_redirect = 0;
400 $http->timeout = 3;
401 $http->sendRequest('https://www.dokuwiki.org', '', 'HEAD');
403 if (isset($http->resp_headers['date'])) {
404 $time = strtotime($http->resp_headers['date']);
405 $diff = $time - $now;
417 * Display a message to the user
426 * @param int $lvl -1 = error, 0 = info, 1 = success, 2 = notify
436 -1 => 'error',
451 if ($evt->advise_before()) {
452 /* Show msg normally - event could suppress message show */
469 $evt->advise_after();
474 * Determine whether the current user is allowed to view the message
487 // is the message public? - everyone and anyone can see it
525 echo "<!--\n";
527 echo "\n-->";
542 * @deprecated 2020-08-13
554 Logger::getInstance(Logger::LOG_DEBUG)->log(
586 $depth = count($backtrace) - 1;
615 $calls[$depth - $i] = sprintf(
640 if (preg_match('/(notify|pass|auth|secret|ftp|userinfo|token|buid|mail|proxy)/i', $key)) {