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