| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
inc/media.php
inc/plugin.php
inc/template.php
lib/plugins/authplain/_test/escaping.test.php
lib/plugins/syntax.php
|
| |
| |
| |
| | |
that's the version in Debian old stable
|
| |
| |
| |
| |
| | |
this ensures there will be never, ever an outdated update message shown
after upgrade.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.)
|
|/ |
|
|
|
|
|
|
| |
This should avoid problems when a WiFi login redirect intercepts the
update check.
See https://forum.dokuwiki.org/post/45076
|
|\
| |
| | |
log deprecated function calls FS#2399
|
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
Removed extraneous whitespace to eliminate errors reported by the
Squiz.WhiteSpace.SuperfluousWhitespace sniff.
|
| |
|
| |
|
| |
|
|
|
|
| |
case its redefined to a non-zero value
|
|
|
|
| |
useful where message is added to the queue before authentication is initialized
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
these are already checked in init.php, so we can save some space here
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
admins and manager in do=check. Also protected meta files README, VERSION and COPYING additionally to .ht*
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Conflicts:
inc/fulltext.php
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
|
|
|
| |
darcs-hash:20091210104320-e4919-3178a4f01fc1e1720ad86716552f4deaa52dc236.gz
|
|
|
|
|
|
| |
type independently
darcs-hash:20091115124244-f7d6d-fa481e7c3ebf5ae5ab1203e8774ab81e122e14a0.gz
|
|
|
|
|
|
| |
Ignore-this: 93b8d0ec90f44d1fde05f94965d4e4e1
darcs-hash:20091104121658-6e07b-4336680ee1a7964872ce9c576f3dd9a18bb1c1e2.gz
|
|
|
|
|
|
| |
Ignore-this: 5dd4f31786cfa624b5e54b4c19060003
darcs-hash:20091026115305-6e07b-b48459f3dcaa70898f799cd0e843997265af8fb9.gz
|
|
|
|
|
|
| |
Ignore-this: 259cb5773c3144c6c706d87298dcf674
darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20090228145326-7ad00-014ee0dbaa44197eb50423cfd45f4fd2fbe54f22.gz
|