History log of /dokuwiki/inc/infoutils.php (Results 26 – 50 of 135)
Revision Date Author Comments
# a8ac20ea 02-Jul-2022 Gerrit Uitslag <klapinklapin@gmail.com>

use function_exists and use a string

?do=check in php8.1
Fixes:
inc/infoutils.php(92) Error: Undefined constant "zlib_decode"
inc/infoutils.php(92) ArgumentCountError: method_exists() expects
exactl

use function_exists and use a string

?do=check in php8.1
Fixes:
inc/infoutils.php(92) Error: Undefined constant "zlib_decode"
inc/infoutils.php(92) ArgumentCountError: method_exists() expects
exactly 2 arguments, 1 given

show more ...


# 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 ...


# 8368419b 30-Sep-2020 Syntaxseed <825423+syntaxseed@users.noreply.github.com>

Fix proper param order and use main function name instead of alias 'join'.


# 96da53f6 13-Oct-2020 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2443 from splitbrain/fixGetVersion

�� make getVersion() show the commit date, not checkout date


# cad4fbf6 13-Aug-2020 Andreas Gohr <andi@splitbrain.org>

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

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.

show more ...


# 31667ec6 13-Aug-2020 Andreas Gohr <andi@splitbrain.org>

replaced out calls to dbglog with new Logger calls


# 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 ...


# 3f874cb3 12-Aug-2020 Andreas Gohr <andi@splitbrain.org>

increase minimum PHP version to 7.2


# 46028c4c 04-Jun-2020 Andreas Gohr <andi@splitbrain.org>

Move defines to their own file

As described in
https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603
sometime the Lexer constants have not been (auto)loaded when a syntax plugin
is in

Move defines to their own file

As described in
https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603
sometime the Lexer constants have not been (auto)loaded when a syntax plugin
is invoked (I'm not sure why).

In general PSR2 discourages a mix of main code and function/class setup
with the call to define() being considered main code.

This patch moves these the define calls to a separate new file, solving
both of the above problems.

These are not all our defines. Instead I focused on the ones that are
ENUM-like.

In the future we should think about what defines can be replaced by
class constants and what other define() calls should be moved.

show more ...


# 322ad074 02-Jun-2020 Andreas Gohr <andi@splitbrain.org>

some minor improvements for the writability checks

* handle is_writable for non-existing pages correctly
* Success and Fail are now color coded correctly


# 556e996e 02-Jun-2020 Andreas Gohr <andi@splitbrain.org>

fixed message classes

In #3069 the internal structure of messages was accidentally changed to
be numeric. This reintroduces the proper string constants.

I thought about keeping the integers and do

fixed message classes

In #3069 the internal structure of messages was accidentally changed to
be numeric. This reintroduces the proper string constants.

I thought about keeping the integers and do the mapping in
html_msgarea() but some plugins rely on inspecting the global $MSG so I
don't want to change it.

show more ...


# 0e20480f 04-May-2020 Phy <git@phy25.com>

Trigger event for msg()

Triggers INFOUTIL_MSG_SHOW.


# b47790f9 14-Jul-2019 Andreas Gohr <andi@splitbrain.org>

Merge branch 'utf8refactor' into psr2

* utf8refactor:
replaced deprecated utf8 functions
formatting cleanup
mark old utf8 functions deprecated
Some cleanup for the UTF-8 stuff
Moved all ut

Merge branch 'utf8refactor' into psr2

* utf8refactor:
replaced deprecated utf8 functions
formatting cleanup
mark old utf8 functions deprecated
Some cleanup for the UTF-8 stuff
Moved all utf8 methods to their own namespaced classes
Create separate table files for UTF-8 handling

show more ...


# 2b9c4a05 14-Jul-2019 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into psr2

* master: (34 commits)
fix color for noninstalled extensions
show disabled extensions in gray
warn about inaccessible repo api
bugfix: access check was never

Merge branch 'master' into psr2

* master: (34 commits)
fix color for noninstalled extensions
show disabled extensions in gray
warn about inaccessible repo api
bugfix: access check was never cached
First go on a CLI component for the extension manager
use strict type comparison
translation update
translation update
fix #dokuwiki__sitetools current item not in highlight due to Greebo change
authplain: Add tests for group retrieval
authplain: Add a simple method for retrieving user groups
translation update
Negative string offsets are allowed in PHP 7.1+ only
improve memory check output
fix and test php_to_byte() related to #2756 #2556
translation update
translation update
translation update
translation update
translation update
...

show more ...


# 8cbc5ee8 10-Jun-2019 Andreas Gohr <andi@splitbrain.org>

replaced deprecated utf8 functions

For now this uses full qualified namespaces, sensible imports may come
later.


# eb2e46ca 19-May-2019 Andreas Gohr <andi@splitbrain.org>

use strict type comparison


# c6e971dd 24-Apr-2019 Andreas Gohr <gohr@cosmocode.de>

improve memory check output

Makes use of the adjusted php_to_bytes() method which correctly returns
-1 for unlimited RAM and uses human readable sizes for output.


# e1d9dcc8 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

First go at moving the plugin classes into their own namespace


# 5a8d6e48 26-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Rename HTTPClient namespace to HTTP

This should make namespace a bit more flexible in scope and allow us to
move more functionality there later.


# 198564ab 17-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Refactor HTTPClient into different files


# d8b49288 27-Feb-2019 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2689 from splitbrain/refactorCachePSR2

Refactor cache.php to better conform with PSR 2


# 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.


# b4b0b31b 22-Feb-2019 Michael Große <mic.grosse@googlemail.com>

Use deprecation helper

Instead of writing our own magic getters and setters for all variables
that used to be public, this adds a trait that does that in a generic
way.
This trait was copied from Me

Use deprecation helper

Instead of writing our own magic getters and setters for all variables
that used to be public, this adds a trait that does that in a generic
way.
This trait was copied from MediaWiki and adjusted to DokuWiki.
The original author seems to be @tgr Tisza Gergő

The downside of this trait is that the properties keep their
(potentially undesired) name. While that could be fixed within the
helper, that might add unnecessary complexity. The name can change when
support is dropped.

show more ...


# 923e149a 15-Feb-2019 Michael Große <mic.grosse@googlemail.com>

Merge branch 'master' into psr2


# 8f8499fa 26-Oct-2018 peterfromearth <coder@peterfromearth.de>

add logic if the server uses unlimited memory, memory_limit = -1


123456