| b9baf069 | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Remove PHP version differentiation for MAILHEADER_EOL |
| e21332f8 | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Fix testing errors with CRLF line endings |
| 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+ |
| 9f48b704 | 19-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix version for master |
| f5f947e5 | 14-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
WIP fulltext collection |
| 57cf76b9 | 13-Sep-2022 |
Guillermo Romero <drirr.gato@gmail.com> |
translation update |
| 03a35633 | 12-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
added method to search an index by regular expression |
| 6a086a5d | 12-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
Use base class for searchIndex tests
Many tests are the same for File and Memory indexes |
| 12ebce97 | 12-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
Fix autoloading for tests
Namespace based loading for core tests did not work as intended (but hasn't been used so far) |
| 1ca67924 | 11-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
Add a first collection based on the old FullText Index
This collection is meant as a base class for fulltext indexes, a page specific implementation will follow.
Currently contains lots of dead cod
Add a first collection based on the old FullText Index
This collection is meant as a base class for fulltext indexes, a page specific implementation will follow.
Currently contains lots of dead code that needs to be removed or replaced.
show more ...
|
| b3cb0bc3 | 11-Sep-2022 |
Andreas Gohr <andi@splitbrain.org> |
keep modification state of MemoryIndexes
MemoryIndexes only need to be saved back when they have been modified |
| 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 |