summaryrefslogtreecommitdiff
path: root/inc/infoutils.php
Commit message (Collapse)AuthorAge
* new PHP minimum requirement is now 5.3.3Andreas Gohr2014-10-14
| | | | that's the version in Debian old stable
* use its own cache file per versionsAndreas Gohr2014-10-14
| | | | | this ensures there will be never, ever an outdated update message shown after upgrade.
* Fix for update messages never completely going awayAngus Gratton2014-10-11
| | | | | | | | | | | | | | | | | | The existing logic for messages.txt requires some valid update response (ending in %) to the messages update check before it clears the current messages. However update.dokuwiki.org appears to return an empty string response if everything is up to date. (ie http://update.dokuwiki.org/check/46.1 ) As a result if there are update messages in messages.txt they don't automatically go away after updating to the current version. The only time they change is when a newer release comes out. The upgrade plugin has logic in it to force a re-download of messages.txt, but currently this just re-downloads the old update messages. This change explicitly allows for "" as a valid "no messages" indicator (distinct from false, which is the HTTP error indicator.)
* sanity check update messageAndreas Gohr2014-08-15
| | | | | | This should avoid problems when a WiFi login redirect intercepts the update check. See https://forum.dokuwiki.org/post/45076
* Merge pull request #693 from splitbrain/logdeprecatedAndreas Gohr2014-05-18
|\ | | | | log deprecated function calls FS#2399
| * log deprecated function calls FS#2399Andreas Gohr2014-05-10
| | | | | | | | | | | | This introduces a new dbg_deprecated() function which allows for easy marking of deprecated functions. Each call is logged to the debuglog when debuggin is enabled.
* | doc block updatesAndreas Gohr2014-05-10
|/
* amend $_SERVER to $INPUT->serverChristopher Smith2014-03-06
|
* show PHP version only to admins and managers FS#2655Andreas Gohr2014-02-15
|
* Fix CodeSniffer whitespace violoationsMatt Perry2013-09-10
| | | | | Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
* FS#2840 fix typo in debug messageChristoph Schindler2013-08-23
|
* we now require PHP 5.2.0 at leastAndreas Gohr2013-06-02
|
* change nomenclature from 'show' to 'allow' (fn from canshow to allowed)Christopher Smith2013-04-07
|
* for completeness (& defensive coding), test ['show'] against MSG_PUBLIC in ↵Christopher Smith2013-04-01
| | | | case its redefined to a non-zero value
* add capability to restrict recipients of dokuwiki 'msg' alerts. This is ↵Christopher Smith2013-04-01
| | | | useful where message is added to the queue before authentication is initialized
* added to version info if version is unknownAnika Henke2012-12-19
|
* check for unicode preg capabilities in UTF-8 lib FS#2636Andreas Gohr2012-11-12
| | | | | We now have two defines for checking for UTF-8 and Unicode property support in PREG and use them to work around FS#2636 on older systems.
* added PCRE UTF-8 checks to do=check FS#2636Andreas Gohr2012-11-08
|
* avoid multiple paralell update checksAndreas Gohr2012-11-07
| | | | | we now touch the messages before the actual update happens. this should lower the chance of more than one update check running at a time.
* removed data dir security check as suggested in FS#2547Andreas Gohr2012-08-26
|
* replaced use of basename() with utf8_basename() FS#2015Andreas Gohr2012-07-28
|
* check locale setting in do=check FS#2445Andreas Gohr2012-07-28
|
* don't check data dir writability in do=checkAndreas Gohr2012-07-28
| | | | these are already checked in init.php, so we can save some space here
* Fixes messages.txt's modification timestamp not being updated.Robert Nitsch2012-05-21
| | | | | | | | | This bug occurs on systems where writing a zero-length string to an empty file does not update the file's modification timestamp. This leads to the messages.txt being downloaded almost endlessly, causing long delays for logged-in users. Visitors are not affected, because the messages.txt is only updated for logged-in users.
* use DOKU_SCRIPT instead of stray doku.php in checkUpdateMessages() (FS#2364)Anika Henke2011-11-08
|
* Verify conf/ directory is writable in the do=check actionGuy Brand2011-11-05
|
* added new plugins config cascade and added plugin.info.txtPiyush Mishra2011-08-20
|
* fixed some missing config_cascade occurrences (FS#2235)Anika Henke2011-05-07
|
* Fix the wording of the search index check messagesMichael Hamann2011-05-02
|
* Add a test to do=check that should detect search index corruptionMichael Hamann2011-05-02
| | | | | | With this test it should be possible to detect if the search index has been corrupted by using Rincewind RC or a git version of the weeks before the RC release.
* Fix msg() calls when messages have already been printedMichael Hamann2011-01-10
| | | | | | | | | | | | This commit fixes two bugs that occurred when msg() was called after html_msgarea() had already been called. - the $MSG array is now cleared when it has been printed (otherwise $MSG has been printed again when another msg() call was done) - headers_sent() didn't work for me, it always reported false although html_msgarea() had already been called which might be explainable with output buffering. This makes msg() now depend on the first call of html_msgarea() or headers_sent() in order to not to break msg() in ajax requests etc.
* Write the debug log only when debugging is enabledMichael Hamann2010-09-18
| | | | | | The debug log isn't automatically cleaned so don't write to it when debugging is disabled and thus nobody is aware that debug output might be generated.
* moved update message from its own file (conf/msg) into doku.php (FS#1800)Anika Henke2010-06-27
|
* FS#1878: Hide Dokuwiki version information from metadata and only show it to ↵Gina Haeussge2010-06-26
| | | | admins and manager in do=check. Also protected meta files README, VERSION and COPYING additionally to .ht*
* fixed handling of MSGDominik Eckelmann2010-06-24
| | | | | | | msg() now stores always the message to the MSG array until headers are sent. After this, a call of msg will print out all messages from the MSG array immediately through html_msgarea. This prevents double posting and losses of messages from the MSG array.
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * removed more unneeded require_once() callsAndreas Gohr2010-02-01
| |
| * first attempt to centralize all include loadingAndreas Gohr2010-01-31
| | | | | | | | | | | | | | | | Classes are loaded throug PHP5's class autoloader, all other includes are just loaded by default. This skips a lot of require_once calls. Parser and Plugin stuff isn't handled by the class loader yet.
* | run dbg() output through htmlspecialcharsAndreas Gohr2010-02-08
|/
* Read version from last Git logAndreas Gohr2010-01-08
|
* Grab version from darcs correctly and simplerAdrian Lang2009-12-10
| | | | darcs-hash:20091210104320-e4919-3178a4f01fc1e1720ad86716552f4deaa52dc236.gz
* added getVersionData() additionally to getVersion() to get version date and ↵Anika Henke2009-11-15
| | | | | | type independently darcs-hash:20091115124244-f7d6d-fa481e7c3ebf5ae5ab1203e8774ab81e122e14a0.gz
* correctly read version from darcs2 inventoryAndreas Gohr2009-11-04
| | | | | | Ignore-this: 93b8d0ec90f44d1fde05f94965d4e4e1 darcs-hash:20091104121658-6e07b-4336680ee1a7964872ce9c576f3dd9a18bb1c1e2.gz
* set required PHP release to 5.1.2Andreas Gohr2009-10-26
| | | | | | Ignore-this: 5dd4f31786cfa624b5e54b4c19060003 darcs-hash:20091026115305-6e07b-b48459f3dcaa70898f799cd0e843997265af8fb9.gz
* Coding Standard CleanupAndreas Gohr2009-10-20
| | | | | | Ignore-this: 259cb5773c3144c6c706d87298dcf674 darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
* Updated version checks for PHP 5Andreas Gohr2009-07-26
| | | | | | | | | Ignore-this: 97d3d6fd8dc65d0cfce6b976cc2fad28 The next release will require PHP 5, the related checks were upgraded to check for at least 5.0.0 (we might need to tune this) darcs-hash:20090726115255-7ad00-59d67b61739db8eea0288a8010d7cdf507ab867b.gz
* optional additional header for dbglog()Andreas Gohr2009-02-28
| | | | darcs-hash:20090228145326-7ad00-014ee0dbaa44197eb50423cfd45f4fd2fbe54f22.gz
* check if mb_string function overloading is enabled FS#1565Andreas Gohr2009-01-16
| | | | darcs-hash:20090116122030-7ad00-da6705f92e7b128d3f908969aa6b348d28d85ae0.gz
* Added HTTP check for data directory securityAndreas Gohr2009-01-14
| | | | | | The ?do darcs-hash:20090114174724-7ad00-cc45b798d930b7e87c3c820925982fb8201cf7f4.gz
* better logging for objects and arrays in dbglog()Andreas Gohr2009-01-13
| | | | darcs-hash:20090113122638-7ad00-6bc9dc3dd4120b5a1551b50d97ce8529619819ce.gz