History log of /dokuwiki/inc/infoutils.php (Results 26 – 50 of 139)
Revision Date Author Comments
# b9f5205a 04-Feb-2023 Damien Regad <dregad@mantisbt.org>

Restore fallback when calling git via shell fails


# b6f8a5c6 03-Feb-2023 Damien Regad <dregad@mantisbt.org>

getVersion() now prints Git commit hash

If DokuWiki is running from Git, on Admin page Version will be shown as
`Git YYYY-MM-DD (<COMMIT>)`.

COMMIT is the abbreviated hash if shell_exec() can be us

getVersion() now prints Git commit hash

If DokuWiki is running from Git, on Admin page Version will be shown as
`Git YYYY-MM-DD (<COMMIT>)`.

COMMIT is the abbreviated hash if shell_exec() can be used to retrieve
information from git log, or the full hash otherwise.

Fixes #3877

show more ...


# 09bf5d22 03-Feb-2023 Damien Regad <dregad@mantisbt.org>

Retrieve head commit from packed-refs file

Fixes #3877


# 1b7da646 03-Feb-2023 Damien Regad <dregad@mantisbt.org>

Ensure shell_exec() is available before calling it

Fixes #3876


# 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


123456