Good Morning!
This are the git changes for DokuWiki committed
yesterday. Please test them and report bugs.
---------------------------------------------------------------------
http://github.com/splitbrain/dokuwiki/commit/f2a13d874dcc604edbe881a9f0925314dceba218
Merge: 541032dac 65bcbb603
Author: Henry Pan <git[at]phy25.com>
Date: Thu Dec 3 19:26:34 2020 -0500
Merge pull request #3355 from dokuwiki-translate/lang_update_218_1607030223
Translation update (fr)
http://github.com/splitbrain/dokuwiki/commit/65bcbb603b328831487794885db6a5883cb236d0
Author: Schplurtz le Déboulonné <Schplurtz[at]laposte.net>
Date: Thu Dec 3 22:21:12 2020 +0100
translation update
http://github.com/splitbrain/dokuwiki/commit/541032dacb7bf061e1c90c6ab2076f2b66f18242
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 21:52:07 2020 +0100
extension manager: fix for empty API result. fixes #3330
http://github.com/splitbrain/dokuwiki/commit/fe2e97f6756a6c569a993bc8d25fb5772749f89f
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 21:46:22 2020 +0100
PHP 8: rename match() to apply() in Lexer #3298
http://github.com/splitbrain/dokuwiki/commit/bc45a28e1f07fa57fb3a4a1daaf0010a433b226a
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 21:29:50 2020 +0100
codestyle fixes
http://github.com/splitbrain/dokuwiki/commit/61da323a0e274d5247365787184af0c020a33b54
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 21:24:10 2020 +0100
add new log dir to test data directory
http://github.com/splitbrain/dokuwiki/commit/413313a1557b246296ce666c3c01263a139988e1
Merge: b102b83e6 6071f0eef
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 20:01:57 2020 +0100
Merge branch 'logging'
* logging:
added JavaScript based filter mechanism
added logging configuration
replaced out calls to dbglog with new Logger calls
added convenience methods to log to our default facilities
added logviwer admin plugin
added log dir to git
central logging mechanism
http://github.com/splitbrain/dokuwiki/commit/b102b83e6dd0a6634b8108bc334f78ba0957d247
Merge: e8baa3e84 697ca7e2e
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 20:01:33 2020 +0100
Merge branch 'globalErrorHandling'
* globalErrorHandling:
fixed plugin name output on load error
no need to convert Errors to Exceptions
FatalException and proper plugin detection
add shutdown handler to even manage fatal errors
reflow overlong line
better exception handling on plugin loading
log stacktrace to error log
guess which plugin was the source of an exception
introduce a global error handler
http://github.com/splitbrain/dokuwiki/commit/e8baa3e8478e0b42a500e74fdc689627f57c47ea
Merge: bae9e2a14 02b69dbb1
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 19:58:23 2020 +0100
Merge pull request #3307 from Rainbow-Spike/patch-3
Fixing of cell width
http://github.com/splitbrain/dokuwiki/commit/bae9e2a1441ca2940a0e275b3a34effe67ed72e5
Merge: 1203daccf 571a8adbb
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Dec 3 19:57:44 2020 +0100
Merge pull request #3343 from splitbrain/bug3271
work around disabled php_strip_whitespace. fixes #3271
http://github.com/splitbrain/dokuwiki/commit/571a8adbb88943ed2bef096eaa3ef0b064a462e8
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Nov 19 20:51:22 2020 +0100
work around disabled php_strip_whitespace. fixes #3271
http://github.com/splitbrain/dokuwiki/commit/6071f0eef30466192d0db9320b73a17c5ef7df39
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Oct 15 12:13:32 2020 +0200
added JavaScript based filter mechanism
http://github.com/splitbrain/dokuwiki/commit/02b69dbb1d2243f1954e0e352d0cac8405c417b0
Author: Rainbow Spike <3947636+Rainbow-Spike[at]users.noreply.github.com>
Date: Mon Oct 12 09:58:42 2020 +1000
Fixing of cell width
http://github.com/splitbrain/dokuwiki/commit/697ca7e2e129a18dbfb89b0238c752930e4bede7
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 20:32:17 2020 +0200
fixed plugin name output on load error
http://github.com/splitbrain/dokuwiki/commit/cad4fbf6e21bd4a053f1f42b9e40c74f1cfaeab6
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 20:28:52 2020 +0200
added logging configuration
Log facitlities can now be disabled. By default only debug is disabled.
It might make sense to by default disable deprecated as well?
Debug logging is now independend of the allowdebug method. allowdebug
was often used in two ways: for displaying errors directly to the user
and for logging to the debug log. Now it only controls the former.
http://github.com/splitbrain/dokuwiki/commit/31667ec67823633de149106f2f0de3f1dbc5fd1e
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 20:04:34 2020 +0200
replaced out calls to dbglog with new Logger calls
http://github.com/splitbrain/dokuwiki/commit/c2050393228b5814b1f89804a01f19ad90502ce7
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 20:03:41 2020 +0200
added convenience methods to log to our default facilities
http://github.com/splitbrain/dokuwiki/commit/70cc2cbf41ee65a6048aab5aab40e124b337e295
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 19:48:45 2020 +0200
added logviwer admin plugin
This allows for easy viewing of the available logs.
The log format was sligthly adjusted again for easier parsing.
http://github.com/splitbrain/dokuwiki/commit/5b784a2b834405d28627b116e3d44b7d16fc1840
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 13:52:35 2020 +0200
added log dir to git
http://github.com/splitbrain/dokuwiki/commit/0ecde6ce23ad8ee6132797de11e004e7458a83fd
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Thu Aug 13 13:25:46 2020 +0200
central logging mechanism
This introduces a logger mechanism and a new data/log directory. This is
a first proof of concept. It's built on top of the new global error
handling mechanism
Things to discuss:
* should we adopt PSR-3 somehow? if yes, how and should plugins be able
to drop-in other psr3 loggers?
* how to configure which facilities shall be logged?
* should we implement a log deletion feature?
* is the log format sensible?
* should we implement a log viewer admin plugin?
* should logging trigger events (it should maybe replace the
deprecation event)
http://github.com/splitbrain/dokuwiki/commit/51c1fbb36b428d9d354bb1353dae7e97a1219b26
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Tue Jul 14 22:18:01 2020 +0200
no need to convert Errors to Exceptions
we handle Throwables anyway
http://github.com/splitbrain/dokuwiki/commit/dbe0790d4cb5bac92c977818735d040e84836756
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Tue Jul 14 22:16:01 2020 +0200
FatalException and proper plugin detection
Using our own Exception makes it easier to differentiate fatal errors
from others in the log
http://github.com/splitbrain/dokuwiki/commit/cb4cefebb32128c1e6893c596b119ef03d82a7f2
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Tue Jul 14 00:55:22 2020 +0200
add shutdown handler to even manage fatal errors
We can't catch some errors and they are not passed to the error_handler
either. But we can at least react to them in a shutdown function to show
a friendly message to the user and write our log.
http://github.com/splitbrain/dokuwiki/commit/03e8a69a1ee6334c8346082ece819be9b115960f
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Mon Jul 13 19:59:10 2020 +0200
reflow overlong line
http://github.com/splitbrain/dokuwiki/commit/ffa84f81215ee805194333e08773b61f12689af9
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Mon Jul 13 19:48:55 2020 +0200
better exception handling on plugin loading
Now all important places where plugins are loaded are guarded by a
try/except. We're catching Throwables here to be able to catch stuff
like syntax errors early on (otherwise they will only be caught by our
ErrorConverter much too late). This means that this change requires PHP
7.0 minimum!
http://github.com/splitbrain/dokuwiki/commit/0e69c9aff9ff4cba682a19c90e461c1fc38a1c02
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Mon Jul 13 19:34:59 2020 +0200
log stacktrace to error log
Ultimately the one responsible for fixing the problem will need this
anyway. Better log it right away for (hopefully) better bug reports
http://github.com/splitbrain/dokuwiki/commit/7e0b27f2adf6886e1828a6d77152719228566d88
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Mon Jul 13 19:29:12 2020 +0200
guess which plugin was the source of an exception
This looks at filenames and classes involved in the stacktrace to see if
a plugin is referenced.
We're only guessing plugins here, because looking for templates may
cause false positives where templates load plugins.
http://github.com/splitbrain/dokuwiki/commit/642e976cb685105e1684f43a5d99c79f258029f4
Author: Andreas Gohr <andi[at]splitbrain.org>
Date: Mon Jul 13 19:05:12 2020 +0200
introduce a global error handler
This transfers old style PHP errors into Exceptions and installs a
global exception handler. All exceptions caught by this handler are
logged to an error log and a meassage is shown to the end user. This
should finally get rid of "blank page" bug reports.
---------------------------------------------------------------------
You can download individual diffs or patches by appending .diff or
.patch to the given commit URLs above.
Bye,
your git changelog mailer
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist