History log of /dokuwiki/ (Results 351 – 375 of 10561)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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

e05e1bd921-Feb-2024 Gerrit Uitslag <klapinklapin@gmail.com>

Update bug_report.yml

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

bug template improvments

* maybe fix auto-tagging
* explicitly mention SSO as an environment to provide
* mention configruartion settings as environment data

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

do not delete random_compat library. fixes #4214

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

added github issue form for bug reports

This should hopefully help to get more useful bug reports by making it
more clear what kind of info we need.

Blank issues can still be created but are less p

added github issue form for bug reports

This should hopefully help to get more useful bug reports by making it
more clear what kind of info we need.

Blank issues can still be created but are less prominent. I'm not sure
if we need other types.

show more ...

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

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

Imports may not be named like local classes. fixes #4200

For compatibility reasons we let our old `cache` class inherit from
`dokuwiki\Cache\Cache` but `cache` equals `Cache`. At least on some PHP
v

Imports may not be named like local classes. fixes #4200

For compatibility reasons we let our old `cache` class inherit from
`dokuwiki\Cache\Cache` but `cache` equals `Cache`. At least on some PHP
versions? I did not see any problem on my local machine running PHP 8.2
but the problem was visible on a machine running 8.1.27

show more ...

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

sprintf expects ...args instead of an array. fixes #4193

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

gracefully handle decryption errors

This should fix #4198

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

API: legacy compatibility fix

wiki.getAllPages and dokuwiki.getPagelist differed in how the last
modification timestamp was communicated.

This should fix splitbrain/dokuwiki-plugin-sync#70

64e1c19b08-Feb-2024 Nickeau <gerardnico@users.noreply.github.com>

Reintroduce the FEED_DATA_PROCESS event

As explained here:
https://github.com/dokuwiki/dokuwiki/issues/4191

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

fix logo aspect ratio and printing. fixes #4187

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

fix overeager optimization in Table handler. fixes #4186

This reverts an optimization introduced in
bcaec9f47d06126b3e653fea89a86d8b6a6cbef8

The number of elements in $this->tableCalls may change d

fix overeager optimization in Table handler. fixes #4186

This reverts an optimization introduced in
bcaec9f47d06126b3e653fea89a86d8b6a6cbef8

The number of elements in $this->tableCalls may change during the loop,
so they need to be recounted on every step. To protect it from being
"optimized" again, the loop was changed into a while loop.

Ultimately it should be checked if this method could be optimized in
another way.

show more ...

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

adjust group type hint for User API response

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

fix User response object in API

8b267e5e06-Feb-2024 splitbrain <splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes

e9472a9806-Feb-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Fix false errors when calling getInfo() from some plugins

e02c158c04-Feb-2024 Mr_Fang <klxf@vip.qq.com>

translation update

cd9495f404-Feb-2024 mod <modex@mail.ru>

translation update

e08e278904-Feb-2024 Bheesham Persaud <171007+bheesham@users.noreply.github.com>

inc/fulltext Result from splice could be empty

The code for `AND` and `OR` assumes the call to splice will always
return 2 elements, which isn't the case if no terms are found.

Example log messages

inc/fulltext Result from splice could be empty

The code for `AND` and `OR` assumes the call to splice will always
return 2 elements, which isn't the case if no terms are found.

Example log messages:

PHP Warning: Undefined array key 0 in .../dokuwiki/inc/fulltext.php on line 134
PHP Warning: Undefined array key 1 in .../dokuwiki/inc/fulltext.php on line 134
PHP Warning: foreach() argument must be of type array|object, null given in .../dokuwiki/inc/fulltext.php on line 614

Simplified example, via `php -a`:

php > $arr = [];
php > [$a, $b] = array_splice($arr, -2);
PHP Warning: Undefined array key 0 in php shell code on line 1
PHP Warning: Undefined array key 1 in php shell code on line 1

To clear the warning we check if the result is empty and break early,
otherwise we pass the result into `ft_resultCombine` or
`ft_resultUnite`, which both handle the length 1 arrays.

show more ...

cc47c50f02-Feb-2024 splitbrain <splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes

1...<<11121314151617181920>>...423