Lines Matching +full:update +full:- +full:user +full:- +full:login -(+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);
57 // or it looks like one of our messages, not WiFi login or other interposed response
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.
158 * @return string The version string e.g. "Release 2023-04-04a"
182 msg('Your PHP version is too old (' . phpversion() . ' vs. 7.4+ needed)', -1);
187 msg('Your PHP version is too old', -1);
192 if ($mem === -1) {
196 Increase memory_limit in php.ini', -1);
199 you might encounter problems with bigger pages. Increase memory_limit in php.ini', -1);
211 msg('Changelog is not writable', -1);
219 msg('Importing old changelog failed', -1);
225 msg('Importoldchangelog plugin not disabled after import', -1);
232 msg('conf directory is not writable', -1);
250 msg('mb_string function overloading is enabled, this will cause problems and should be disabled', -1);
254 msg('mb_string extension not available - PHP only replacements will be used', 0);
258 msg('PHP is missing UTF-8 support in Perl-Compatible Regular Expressions (PCRE)', -1);
261 msg('PHP is missing Unicode properties support in Perl-Compatible Regular Expressions (PCRE)', -1);
266 msg('No valid locale is set for your PHP setup. You should fix this', -1);
268 msg('Your locale <code>' . hsc($loc) . '</code> seems not to be a UTF-8 locale,
275 msg('Debugging support is enabled. If you don\'t need it you should set $conf[\'allowdebug\'] = 0', -1);
283 $INPUT->server->str('REMOTE_USER'),
298 msg('The current page is not writable by the webserver', -1);
304 msg('The current page is not writable by you', -1);
330 -1
345 $http->max_redirect = 0;
346 $http->timeout = 3;
347 $http->sendRequest('https://www.dokuwiki.org', '', 'HEAD');
349 if (isset($http->resp_headers['date'])) {
350 $time = strtotime($http->resp_headers['date']);
351 $diff = $time - $now;
363 * Display a message to the user
372 * @param int $lvl -1 = error, 0 = info, 1 = success, 2 = notify
382 -1 => 'error',
397 if ($evt->advise_before()) {
398 /* Show msg normally - event could suppress message show */
415 $evt->advise_after();
420 * Determine whether the current user is allowed to view the message
433 // is the message public? - everyone and anyone can see it
471 echo "<!--\n";
473 echo "\n-->";
488 * @deprecated 2020-08-13
500 Logger::getInstance(Logger::LOG_DEBUG)->log(
532 $depth = count($backtrace) - 1;
561 $calls[$depth - $i] = sprintf(