#
31add35e |
| 30-Jun-2025 |
Andreas Gohr <andi@splitbrain.org> |
fix $thing parameter in deprecation helper
See https://github.com/dokuwiki/dokuwiki/commit/615810c59cd1bbc7a6f950fa667bd0c75f92d99a#r161070574
|
#
d4f83172 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: line breaks
|
#
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
#
615810c5 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
address issues mention in PR#4045
|
#
d868eb89 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function declaration braces/spaces
|
#
8553d24d |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector renames
|
#
74981a4e |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
apply PSR-12 constant visibility rule
PSR-12 says constants need their visibility declared from PHP 7.1 onwards
|
#
1490c177 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Extension and inc/Debug
|
#
0c79340c |
| 15-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix codestyle
|
#
c243774d |
| 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
another go at #3717
c0ece86a0ac0cfab0856b056fb3ce8e726855542 was wrong too, because most deprecation logs drop the callee
|
#
c0ece86a |
| 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
Another fix for #3717
The deprecation mechanism did actually log the wrong file (callee instead of caller). This was fixed and the message adjusted again.
A guardian for very short backtraces and l
Another fix for #3717
The deprecation mechanism did actually log the wrong file (callee instead of caller). This was fixed and the message adjusted again.
A guardian for very short backtraces and large offsets was added
show more ...
|
#
25edeeca |
| 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
log deprecation messages independent from allowdebug
Only the logging configuration should influnece if deprecation messages are to be logged. By default they should be logged.
|
#
5499b0da |
| 22-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Fixes caller position when logging deprecated data
The backtrace lists the caller position for the called method. The code assumed it to be the position of the methof itself.
|
#
413313a1 |
| 03-Dec-2020 |
Andreas Gohr <andi@splitbrain.org> |
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 o
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
show more ...
|
#
e4aa0139 |
| 13-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
better deprecation messages for self required plugin base files
|
#
0ecde6ce |
| 13-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
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 d
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)
show more ...
|
#
9ced17c4 |
| 25-Mar-2020 |
Phy <git@phy25.com> |
fix undefined index notice in DebugHelper::dbgDeprecatedFunction
|
#
1b008e87 |
| 14-Jan-2020 |
Michael Große <mic.grosse@googlemail.com> |
Restore some backwards compatibility for injected handlers
Some plugins, for example the move plugin, use their own handler class. We need to give these plugins time to adjust their code.
This shou
Restore some backwards compatibility for injected handlers
Some plugins, for example the move plugin, use their own handler class. We need to give these plugins time to adjust their code.
This should restore the functionality of the move plugin. We still need to extract the handler class itself.
It also adds another debug method for triggering the deprecation event, since none of the two existing methods are suitable here. This dbgCustomDeprecationEvent method should be used sparingly and only where the other two don't work.
Co-authored-by: Phy <git@phy25.com>
show more ...
|
#
fdf261bd |
| 20-Apr-2019 |
Andreas Gohr <andi@splitbrain.org> |
Avoid accessing the evet system before it's intialized
reimplements cbfa1cdd75e162a1a8fac054453f4554f96e3362
|
#
e1d9dcc8 |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
First go at moving the plugin classes into their own namespace
|
#
0c5eb5e2 |
| 25-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Refactor deprecation logging into its own class
This gives us the flexibility to handle both deprecated properties and methods/functions properly.
|