e86df411 | 07-Oct-2022 |
Marvin Klein <32510006+MarvinKlein1508@users.noreply.github.com> |
Update inc/toolbar.php
Minify syntax
Co-authored-by: Gerrit Uitslag <klapinklapin@gmail.com> |
e945440a | 04-Oct-2022 |
Marvin Klein <32510006+MarvinKlein1508@users.noreply.github.com> |
Fix toolbar in popup.php
The popup throws two warnings becasue $INFO is NULL within the popup itself.
This fixes this warning but not sure if it is intended to be null.
Fixes:
Warning: Trying t
Fix toolbar in popup.php
The popup throws two warnings becasue $INFO is NULL within the popup itself.
This fixes this warning but not sure if it is intended to be null.
Fixes:
Warning: Trying to access array offset on value of type null in D:\xampp\htdocs\dokuwiki\inc\toolbar.php on line 271
Warning: Trying to access array offset on value of type null in D:\xampp\htdocs\dokuwiki\inc\toolbar.php on line 272
show more ...
|
fe4fec2f | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Shorten comment line to appease PHP Code Sniffer |
b9baf069 | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Remove PHP version differentiation for MAILHEADER_EOL |
f41f8969 | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
remove obsolete define of MAILHEADER_EOL
But make sure that inc/mail.php where this is defined was included. |
abd8ac34 | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Handle change of line endings in mail() in PHP 8.0.14+ |
57cf76b9 | 13-Sep-2022 |
Guillermo Romero <drirr.gato@gmail.com> |
translation update |
63e9a247 | 03-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
SECURITY fix difftype handling. #3761 |
a7580321 | 01-Sep-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Fix clientIP() returning the wrong address |
7c7659d2 | 30-Aug-2022 |
Philipp Specht <philipp.specht@gmail.com> |
Add Message-ID to all mails
RFC 5322 specifies that all mails SHOULD have a Message-ID field. While originating SMTP servers MAY (as per RFC 5321) add a missing Message-ID, this behavior is not mand
Add Message-ID to all mails
RFC 5322 specifies that all mails SHOULD have a Message-ID field. While originating SMTP servers MAY (as per RFC 5321) add a missing Message-ID, this behavior is not mandatory. Multiple mail providers, e.g. Gmail, reject mails without a Message-ID field, rendering their users unable to receive mails from a Dokuwiki instance using a standard-conforming mail server.
This commit simply adds a random Message-ID to a mail's headers during Mailer class initialization. With the current behavior of setHeader(), overwriting that header happens without additional changes, should another Message-ID be necessary, warranted or desired.
show more ...
|
a16ec182 | 27-Aug-2022 |
Name <nam@example.com> |
translation update |
03062864 | 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
use $INPUT to access authentication environment #3750
This should fix warnings about missing data. |
12dd3cbc | 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
introduce sexplode() as a PHP8 safe explode()
We often have constructs like
list($foo, $bar) = explode(',', $input, 2);
In PHP8+ this will throw warnings when the explode returns fewer than 2 elem
introduce sexplode() as a PHP8 safe explode()
We often have constructs like
list($foo, $bar) = explode(',', $input, 2);
In PHP8+ this will throw warnings when the explode returns fewer than 2 elements. Our code usually (always?) will anticipate missing elements so the construct isn't really problematic.
The implementation here wraps the solution suggested at https://stackoverflow.com/a/56971347 into a new utility function.
I anticipate that people might object to the function name. It was chosen as a short form of "safe explode". This makes fixing the warning easy by simply adding a single letter. I also find it slightly amusing and would be open to change it to just sex() just for the fun of it.
show more ...
|
062cf88b | 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
avoid warning for new subscribers
When a subscriber never received an email no last sent timestamp is set. PHP8 threw a warning on a missing array key, there. |
96ebed36 | 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix warning when no headline id is provided in section editor
When plugins implement their own section editor, usually no hid parameter will be set, triggering a warning in PHP 8.
fixes #114 |
0c79340c | 15-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix codestyle |
0b1b444c | 15-Aug-2022 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Remove Accept-Encoding from auth_browseruid()
Browsers do not send the same Accept-Encoding header for all requests, so using
it as part of auth_browseruid() can break things. For example, the audi
Remove Accept-Encoding from auth_browseruid()
Browsers do not send the same Accept-Encoding header for all requests, so using
it as part of auth_browseruid() can break things. For example, the audio
CAPTCHA in the official CAPTCHA plugin stopped matching its corresponding
image. Details here:
https://github.com/splitbrain/dokuwiki-plugin-captcha/issues/115#issuecomment-1215007408
show more ...
|
c7dab4e8 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated method calls |
c243774d | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
another go at #3717
c0ece86a0ac0cfab0856b056fb3ce8e726855542 was wrong too, because most deprecation logs drop the callee |
6c6732d6 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
output log messages to STDERR during unit testig
This is especially helpful to notice deprecation messages |
c0ece86a | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
Another fix for #3717
The deprecation mechanism did actually log the wrong file (callee instead of caller). This was fixed and the message adjusted again.
A guardian for very short backtraces and l
Another fix for #3717
The deprecation mechanism did actually log the wrong file (callee instead of caller). This was fixed and the message adjusted again.
A guardian for very short backtraces and large offsets was added
show more ...
|
25edeeca | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
log deprecation messages independent from allowdebug
Only the logging configuration should influnece if deprecation messages are to be logged. By default they should be logged. |
704bf768 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated call to dbglog. fixes #3726 |
be6462f4 | 13-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
log warnings to error log
This introduces an error handler that will log warnings, including a stack trace in the error log. This should help plugin and core authors with identifying cases of uninit
log warnings to error log
This introduces an error handler that will log warnings, including a stack trace in the error log. This should help plugin and core authors with identifying cases of uninitilized variables in PHP8+ environments.
A feature flag (default off) will let users temporarily disable the display of warnings in the frontend. This should allow the usage of not yet upgraded plugins in many cases. In the future the flag can be removed again.
show more ...
|
3f168574 | 05-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update Recent.php
Fix bug in line 158:
Change
$itemType = $info['mode'] = $info['media'] ? 'media' : 'page';
to
$itemType = $info['media'] ? 'media' : 'page'; |