| #
b9e35b2f |
| 25-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
fix(infoutils): escape git log arguments for Windows compatibility
Single quotes are not shell quoting on Windows cmd, causing git to parse '%cd' as an ambiguous revision and emit a fatal error to s
fix(infoutils): escape git log arguments for Windows compatibility
Single quotes are not shell quoting on Windows cmd, causing git to parse '%cd' as an ambiguous revision and emit a fatal error to stderr. Pass each argument through escapeshellarg() so quoting works on both Unix and Windows.
show more ...
|
| #
093fe67e |
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
updated rector and applied it
|
| #
8c831647 |
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
remove checks for mbstring.func_overload
This ini setting no longer exists in PHP8, so we don't need to check for it.
|
| #
8e88a29b |
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
update minimum requirement to PHP 8.2
According to https://stitcher.io/blog/php-version-stats-june-2025 most people are running a newer version anyway. 8.2 still receives security support til the en
update minimum requirement to PHP 8.2
According to https://stitcher.io/blog/php-version-stats-june-2025 most people are running a newer version anyway. 8.2 still receives security support til the end of the year and is the version included in Debian old-stable (Bookworm).
This patch only increases the minumum version and updates the composer dependencies. No code has been changed yet.
show more ...
|
| #
0a374113 |
| 21-May-2025 |
Andreas Gohr <gohr@cosmocode.de> |
fix OS checks. fixes #4446 and #4445
Access to /etc might be restricted. We simply ignore the errors and pretend the file does not exist.
Strictly speaking, the files are not in ini format. But par
fix OS checks. fixes #4446 and #4445
Access to /etc might be restricted. We simply ignore the errors and pretend the file does not exist.
Strictly speaking, the files are not in ini format. But parsing them as ini mostly works, except for some comments (on synology), so we strip the comments first.
This also makes sure the correct file is read on synology.
show more ...
|
| #
dafc9892 |
| 16-May-2024 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
| #
79f150bd |
| 15-Apr-2024 |
Andreas Gohr <andi@splitbrain.org> |
Output more version data on the admin screen
Bug reports are often lacking crucial information about the environment the wiki is run on and novice users often do not know how to obtain this data.
T
Output more version data on the admin screen
Bug reports are often lacking crucial information about the environment the wiki is run on and novice users often do not know how to obtain this data.
This patch gathers some environmental information and outputs it next to the DokuWiki version number on the admin screen.
Info included (if obtainable):
* PHP version * Linux Distribution name and version * Operating System and Version (refers to kernel version on linux) * The PHP SAPI (modphp, cgi, fcgi) * If running on kubernetes or docker
show more ...
|
| #
78b8232b |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #4069 from dokuwiki/debugbacktrace
Fix Undefined array key "file" and "line"
|
| #
6cce3332 |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Reworked API definition
This cleans up the API:
* no more compatibility with obsolete wiki API * no more difference between wiki.* and dokuwiki.* calls -> core.* * use of optional parameters avoids
Reworked API definition
This cleans up the API:
* no more compatibility with obsolete wiki API * no more difference between wiki.* and dokuwiki.* calls -> core.* * use of optional parameters avoids double definitions * use Response objects for complex results * always use named primitives as input * major cleanup of docblock descriptions
show more ...
|
| #
fe9f11e2 |
| 07-Dec-2023 |
Andreas Gohr <andi@splitbrain.org> |
improved API docs
|
| #
c0f08ea9 |
| 14-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
clean up dbg_backtrace
This makes the formatting decisions more explicit instead of multiple nested ternary operators. For hopefully make it easier to read.
It also renames [internal function] to [
clean up dbg_backtrace
This makes the formatting decisions more explicit instead of multiple nested ternary operators. For hopefully make it easier to read.
It also renames [internal function] to [anonymous] since it usually signifies an error in a anonymous callback rather than a PHP internal.
show more ...
|
| #
be801c86 |
| 21-Sep-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Fix Undefined array key "file" and "line"
E_WARNING: Undefined array key "line" /home/gerrit/Sites/dokuwiki/dokuwiki/inc/infoutils.php(525)
In the exception::trace this line is labeled as internal
Fix Undefined array key "file" and "line"
E_WARNING: Undefined array key "line" /home/gerrit/Sites/dokuwiki/dokuwiki/inc/infoutils.php(525)
In the exception::trace this line is labeled as internal function. Of course it is an assumption that all cases without file are internal functions.
show more ...
|
| #
6c16a3a9 |
| 14-Sep-2023 |
fiwswe <fiwswe@fwml.de> |
Use str_starts_with/str_ends_with
|
| #
6547cfc7 |
| 31-Aug-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
use $auth instanceof AuthPlugin instead of not null check
|
| #
f5be2fc0 |
| 31-Aug-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
https, phpdocs,
|
| #
d4f83172 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: line breaks
|
| #
90fb952c |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: operator spacing
|
| #
26dfc232 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Rector to rename print to echo calls
|
| #
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
| #
dccd6b2b |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: function call spacing
|
| #
d868eb89 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function declaration braces/spaces
|
| #
c1482d1c |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function argument spacing
|
| #
24870174 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to the rest of inc
|
| #
c49393f5 |
| 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
increase required PHP version to 7.4
|
| #
a4231b8c |
| 01-Jun-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Avoid warning in do=check for anonymous users
fixes #3984
|