| 9f48b704 | 19-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix version for master |
| 57cf76b9 | 13-Sep-2022 |
Guillermo Romero <drirr.gato@gmail.com> |
translation update |
| 36300e60 | 09-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
opening up CSP headers for fetch.php resources
This drops the sandbox attribute as discussed in #3710 to re-enable inline display of PDFs in Safari again.
Dropping the sandbox attribute should also
opening up CSP headers for fetch.php resources
This drops the sandbox attribute as discussed in #3710 to re-enable inline display of PDFs in Safari again.
Dropping the sandbox attribute should also help with using navigational links within SVG files as discussed in https://forum.dokuwiki.org/d/20420-how-to-embed-svg-with-links-the-proper-way
It also allows the loading of fonts from within SVG files. This currently does not allow font loading from google fonts as asked for in #3709 though. I'm not sure if we should favor any font provider here.
show more ...
|
| 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 |
| ec745ed9 | 01-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
security info: use the new profile at huntr.dev |
| 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 ...
|
| 6fd2d4b0 | 27-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix warnings in feed.php. #3728 |
| 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 |
| 3e2e2c4f | 17-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
avoid php8 warnings in authad. fixes #3746 |
| 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. |
| aa726f38 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
better deprecation message for require. fixes #3717 |
| 704bf768 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated call to dbglog. fixes #3726 |
| 45230f13 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
use self hosted msglint api. fixes #3736 |
| 042e7b39 | 13-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
declare visibility o new method (codestyle fix) |