History log of /dokuwiki/inc/infoutils.php (Results 1 – 25 of 154)
Revision Date Author Comments
# 649695ab 14-May-2026 Andreas Gohr <andi@splitbrain.org>

fix(infoutils): fix synology os-release file parsing

Only remove comments at the start of the line. Should be enough to make
the file parsable enough for what we need.

Fixes #4572


# 8788dbbd 06-May-2026 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes


# 15ed40bb 06-May-2026 Andreas Gohr <andi@splitbrain.org>

Merge branch 'searchIndex-finish'

* searchIndex-finish: (143 commits)
SearchIndex: fix comment position
Replace deprecated idx_addPage/ft_backlinks calls in ApiCoreTest
SearchIndex: fix Integr

Merge branch 'searchIndex-finish'

* searchIndex-finish: (143 commits)
SearchIndex: fix comment position
Replace deprecated idx_addPage/ft_backlinks calls in ApiCoreTest
SearchIndex: fix IntegrityTest not re-indexing between tests
SearchIndex: remove write side effect from retrieveRow()
SearchIndex: fix TypeError when $QUERY global is null
SearchIndex: fix TypeError when $highlight is passed uninitialized
SearchIndex: increase index version
SearchIndex: rector, phpcs, type hint fixes
SearchIndex: review fixes — auto-save MemoryIndex, cast TupleOps counts, style cleanups
SearchIndex: document Tokenizer::isValidSearchTerm() in concept.txt
SearchIndex: unify CollectionSearch API and optimize search pipeline
SearchIndex: updated documentation
SearchIndex: use FileIndex for title token index
SearchIndex: move search() function tests back to tests/inc/search/
SearchIndex: add backward compatibility wrappers
SearchIndex: remove legacy intermediate classes from PR #2943
SearchIndex: add integrity checking to Collection architecture
SearchIndex: rewrite MetadataSearch to use Collection classes
SearchIndex: reorganize and expand test suite
SearchIndex: rewrite FulltextSearch to use FrequencyCollectionSearch
...

show more ...


# 27bd7771 02-May-2026 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes


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


# 21fbd01b 07-Apr-2026 Andreas Gohr <andi@splitbrain.org>

SearchIndex: add integrity checking to Collection architecture

Add checkIntegrity() to AbstractCollection and DirectCollection that
verifies paired indexes have matching line counts (token==frequenc

SearchIndex: add integrity checking to Collection architecture

Add checkIntegrity() to AbstractCollection and DirectCollection that
verifies paired indexes have matching line counts (token==frequency,
entity==reverse, entity==token for direct collections). Throws
IndexIntegrityException on the first inconsistency found.

Add Countable interface to AbstractIndex with count() implementations
in MemoryIndex and FileIndex. Add Indexer::checkIntegrity() and
Indexer::isIndexEmpty() to orchestrate checks across all collections.

Update infoutils.php to use the new Indexer API instead of the old
FulltextIndex/MetadataIndex classes.

Fix range(1, 0) bug in three places that produced [1, 0] instead of
an empty array when split-by-length indexes were empty.

show more ...


# 7f394dd6 05-Apr-2026 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into searchIndex-finish

* master: (55 commits)
Translation update (pt-br)
Bump phpseclib/phpseclib from 3.0.49 to 3.0.50
�� Update deleted files
strict value comparison

Merge branch 'master' into searchIndex-finish

* master: (55 commits)
Translation update (pt-br)
Bump phpseclib/phpseclib from 3.0.49 to 3.0.50
�� Update deleted files
strict value comparison in auth session check. fixes #4602
Translation update (pt-br)
Translation update (pt-br)
remove utf8_encode() from authad plugin
todo checker action: ignore vendor
updated rector and applied it
removed another php 7.4 workaround
removed an old PHP 5 workaround in HTTPClient
remove checks for mbstring.func_overload
removed php 8 polyfills
ignore HTML validation issue with skipped headline levels
declare PrefCookie constant visibility
update slika which fixes another php 8.5 deprecation issue
fix http tests
fix destructuring false returns from changelog functions
avoid using null as cache key
Fix deprecation warning in UTF8/Conversion
...

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


# 9df9f0c8 27-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into searchIndex-finish

There were a lot of conflicts to resolve. Not all of them may have been
resolved correctly...

* master: (1094 commits)
Login accessibility improvemen

Merge branch 'master' into searchIndex-finish

There were a lot of conflicts to resolve. Not all of them may have been
resolved correctly...

* master: (1094 commits)
Login accessibility improvements
Translation update (it)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Remove HTML from strings based on title and tagline
SECURITY: fix XSS vulnerability. fixes #4512
translation update
Fix typos in usermanager English strings
Replace hardcoded message by localized string
set DOKU_INC in rector
...

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


1234567