History log of /dokuwiki/inc/ (Results 101 – 125 of 6433)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9988e85301-May-2024 Damien Regad <dregad@mantisbt.org>

Fix Undefined array key warning

E_WARNING: Undefined array key 3 in ./inc/media.php(1700)
E_WARNING: Trying to access array offset on value of type null in ./inc/media.php(1700)

This happens when t

Fix Undefined array key warning

E_WARNING: Undefined array key 3 in ./inc/media.php(1700)
E_WARNING: Trying to access array offset on value of type null in ./inc/media.php(1700)

This happens when the media manager is called with ns parameter set to
a value higher than the last namespace defined in the wiki.

Fixes #4276

show more ...

c51a3e9901-May-2024 Marek Lach <mareklachbc@tutanota.com>

translation update

5a4a5e0501-May-2024 Damien Regad <dregad@mantisbt.org>

Fix PHP warning

E_WARNING: Trying to access array offset on value of type bool
./inc/Ui/Recent.php(165)

31afae8a16-Apr-2024 Andreas Gohr <andi@splitbrain.org>

allow admin components to skip being shown in the admin menu

This is related to #4249. At least the farmer plugin provides a top
level admin component and several sub components which are loaded fro

allow admin components to skip being shown in the admin menu

This is related to #4249. At least the farmer plugin provides a top
level admin component and several sub components which are loaded from
the top component. For this use case it makes sense to be able to hide
components from the admin interface. Default remains to show all.

show more ...

7460b19815-Apr-2024 Andreas Gohr <andi@splitbrain.org>

escape environment data in admin interface

Data might contain special chars.

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

99a3dafa10-Apr-2024 Andreas Gohr <andi@splitbrain.org>

increase API version for new call, remove unused parameter

fb93418d10-Apr-2024 Andreas Gohr <andi@splitbrain.org>

remove obsolete TODO comment

c17acf8806-Apr-2024 mrgn <mo@pioka.pink>

translation update

3f8a89e527-Mar-2024 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes

f51673e527-Mar-2024 Andreas Gohr <andi@splitbrain.org>

fix listing of plugin components

Plugins may have one main component of a type or they might have
multiple of the same type in a subdirectory.

Sometimes they may have both. This is often the case f

fix listing of plugin components

Plugins may have one main component of a type or they might have
multiple of the same type in a subdirectory.

Sometimes they may have both. This is often the case for organically
grown plugin, commonly with helper classes where a helper.php exists
first only to be extended by helper/*.php files later.

This patch fixes the listing of plugin(components) by type in the plugin
controller.

It also adjusts bin/plugin.php to handle plugin CLI components.

show more ...

885b0fb021-Mar-2024 Anushka Trivedi <21999998+opheliagame@users.noreply.github.com>

added API core.getMediaUsage

1c8e20e318-Mar-2024 Nelson Ion <nelson-ion@users.noreply.github.com>

Language patch pt-br for login.txt

dfaf074713-Mar-2024 Andreas Gohr <andi@splitbrain.org>

Support b and x variants for bcrypt hashes

Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no differen

Support b and x variants for bcrypt hashes

Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no difference between 2, 2a, 2x, 2y, and 2b. If you wrote your
> implementation correctly, they all output the same result.

show more ...

7bb4088322-Feb-2024 Andreas Gohr <andi@splitbrain.org>

adjust compatibility string methods. fixes #4221

This uses the implementations from https://github.com/symfony/polyfill-php80

Not only does it fix signature compatibility by accepting null strings

adjust compatibility string methods. fixes #4221

This uses the implementations from https://github.com/symfony/polyfill-php80

Not only does it fix signature compatibility by accepting null strings
but it also adjust the handling of falsy values (like 0)

show more ...

ba15f98522-Feb-2024 Andreas Gohr <andi@splitbrain.org>

API: ignore charset when checking content types

We still expect all communication to be in UTF-8, but we really don't
need a charset attribute for that.

fixes #4218, replaces #4219

791b191c21-Feb-2024 Donatas Glodenis <dgvirtual@akl.lt>

fix breaking error

6595e6c821-Feb-2024 Donatas Glodenis <dgvirtual@akl.lt>

Updated Lithuanian translation

a77ab27421-Feb-2024 Andreas Gohr <andi@splitbrain.org>

introduce a template function to output a inline script

This handles the output of a potentially available nonce.

e0aa677521-Feb-2024 Andreas Gohr <andi@splitbrain.org>

move JS detection to default script

This moves the little helper that will remove a "no-js" class from the
header element as soon as JavaScript is detected from the dokuwiki
template to our default

move JS detection to default script

This moves the little helper that will remove a "no-js" class from the
header element as soon as JavaScript is detected from the dokuwiki
template to our default inline script that also initializes the JSINFO
array.

This ensures that this inline script is run with a nonce (if available).
See #3788 for more infor

show more ...

e5d413b021-Feb-2024 Andreas Gohr <andi@splitbrain.org>

Use environment provided NONCE for inline scripts. #3788

When an outside source wants to set a restrictive CSP, it can use a
nonce to allow inline scripts instead of using 'unsafe-inline'. This
nonc

Use environment provided NONCE for inline scripts. #3788

When an outside source wants to set a restrictive CSP, it can use a
nonce to allow inline scripts instead of using 'unsafe-inline'. This
nonce can be passed on via the environment variable NONCE and will be
used in tpl_metaheaders to tag our inline JS initializations.

An update to the cspheaders plugin should be made to provide a nonce as
well.

show more ...

3d106cfb21-Feb-2024 Andreas Gohr <andi@splitbrain.org>

remove ols xhtml compatibility CDATA comments

We really don't need these anymore for modern browsers.

f2a2bc7221-Feb-2024 Andreas Gohr <andi@splitbrain.org>

remove old IE conditionals from script loading

We really need not to think about IE anymore

1ef69b5512-Feb-2024 Nickeau <gerardnico@users.noreply.github.com>

The delete profile form was no more visible due to a missing echo

Sorry. I missed this one. It was on my list of errors but I forgot it.

7e23bd0811-Feb-2024 Andreas Gohr <andi@splitbrain.org>

use correct FeedOptions methods. fixes #4203

This makes feed.php use the correct methods for setting the feed type
and content-type header. It also adds the missing type definition for
RSS 1.0

12345678910>>...258