| 40f2b82e | 25-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Fix unititialized string offset access in query parser
The code always tried to access positon 2 of the parsed token, even for tokens shorter than that (like OR)
fixes #3896 |
| 0d9f02ec | 25-Feb-2023 |
asivery <asivery@protonmail.com> |
Backwards Compatibility: Don't error if finishSectionEdit is called without first startSectionEdit |
| d769956e | 25-Feb-2023 |
asivery <asivery@protonmail.com> |
Fix: 'E_WARNING: Uninitialized string offset -1' on some templates |
| 740897dc | 25-Feb-2023 |
asivery <asivery@protonmail.com> |
Fix: 'E_WARNING: Undefined array key "_data"' |
| 290ea73d | 23-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Automate the release workflow using GitHub actions
This introduces a two-part release mechanism. A manually triggered workflow asks for the important info like type of release (stable, rc) and code
Automate the release workflow using GitHub actions
This introduces a two-part release mechanism. A manually triggered workflow asks for the important info like type of release (stable, rc) and code name. It then creates a cleanly mergable pull request.
When that pull request is merged, a release is automatically tagged, built and uploaded.
Another workflow is introduced to keep track of the deleted.files info. This is one less chore to do on a release.
A new scheme for tags is also introduced, making all tags sortable, regardless of their type. They follow the pattern
release-YYYY-MM-DD(<hotfixletter>|rc)
A script will be used to clean-up the existing tags.
show more ...
|
| a42c05d2 | 23-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Add mechanism to parse the Version data into its parts
This will be needed in the release automation I'm currently working on. |
| 7fb26b8e | 14-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Properly quick search in titles with UTF-8 chars.
Fixes #3808 |
| 93497020 | 13-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
AuthPlain user parsing fix. #3833
This removes workarounds we had for old PCRE versions. All modern PHP releases should be workable with the Regex we have.
If splitting the user line results in les
AuthPlain user parsing fix. #3833
This removes workarounds we had for old PCRE versions. All modern PHP releases should be workable with the Regex we have.
If splitting the user line results in less than 5 results, we log an error and pad the result for further use.
show more ...
|
| f1892550 | 13-Feb-2023 |
Stephan Bauer <stephan_bauer@gmx.de> |
Change date fields to correct ones |
| 5dfef116 | 08-Feb-2023 |
jan lapere <jan@lapere.nl> |
translation update |
| ff85e116 | 04-Feb-2023 |
Kurt Singer <webmaster@kurt-singer.com> |
translation update |
| 62bf3ac0 | 03-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
Check Basic Auth scheme in Authorization header
Prior to this, auth_setup() would simply assume that the Authorization header was using the Basic auth scheme, but there are other available ones, whi
Check Basic Auth scheme in Authorization header
Prior to this, auth_setup() would simply assume that the Authorization header was using the Basic auth scheme, but there are other available ones, which could result in incorrect processing of the header's data.
We now specifically check that we have the `Basic` scheme, and only then perform the base64_decode to get the username and password.
show more ...
|
| b9f5205a | 04-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
Restore fallback when calling git via shell fails |
| b6f8a5c6 | 03-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
getVersion() now prints Git commit hash
If DokuWiki is running from Git, on Admin page Version will be shown as `Git YYYY-MM-DD (<COMMIT>)`.
COMMIT is the abbreviated hash if shell_exec() can be us
getVersion() now prints Git commit hash
If DokuWiki is running from Git, on Admin page Version will be shown as `Git YYYY-MM-DD (<COMMIT>)`.
COMMIT is the abbreviated hash if shell_exec() can be used to retrieve information from git log, or the full hash otherwise.
Fixes #3877
show more ...
|
| 09bf5d22 | 03-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
Retrieve head commit from packed-refs file
Fixes #3877 |
| 1b7da646 | 03-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
Ensure shell_exec() is available before calling it
Fixes #3876 |
| 010cc795 | 03-Feb-2023 |
Simone Perin <simoneperin.92@libero.it> |
translation update |
| 90eb1b7b | 02-Feb-2023 |
Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com> |
Update template.php |
| 8f5f1b87 | 02-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Revert "reset Event System in TestRequest"
This reverts commit d09a8e055b2b1ddb55da17403441e873517de553.
We have test that manipulate the event handler (eg. registering their own events on that han
Revert "reset Event System in TestRequest"
This reverts commit d09a8e055b2b1ddb55da17403441e873517de553.
We have test that manipulate the event handler (eg. registering their own events on that handler) which broke with above commit.
A better way needs to be found.
show more ...
|
| c7875401 | 02-Feb-2023 |
Jyoti S <16028156+AmritasyaPutra@users.noreply.github.com> |
Fix for PHP 8.1 Warning
I am running Dokuwiki Release 2022-07-31a "Igor" and I noticed the following variety of PHP logs generated:
[01-Feb-2023 07:21:37 Asia/Kolkata] PHP Warning: Undefined array
Fix for PHP 8.1 Warning
I am running Dokuwiki Release 2022-07-31a "Igor" and I noticed the following variety of PHP logs generated:
[01-Feb-2023 07:21:37 Asia/Kolkata] PHP Warning: Undefined array key "host" in /home/ekvastra/wiki.ekvastra.in/inc/common.php on line 1362
show more ...
|
| d09a8e05 | 01-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
reset Event System in TestRequest
To better simulate requests, event registration should be redone on each simulated request. |
| 428df306 | 01-Feb-2023 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Avoid indexing into log line
Should fix #3868
A log file should be treated as untrusted input. Thus we can make no assumptions about its content. Assuming a line has at least 2 characters length
Avoid indexing into log line
Should fix #3868
A log file should be treated as untrusted input. Thus we can make no assumptions about its content. Assuming a line has at least 2 characters length is an assumption we can avoid by using `substr($line, 0, 2) === ' '` instead of `$line[0] === ' ' && $line[1] === ' '`. No need to separately check for empty or `null` either.
show more ...
|
| 7e785b0c | 31-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
update to lesserphp 0.6 |
| c7acaa16 | 31-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
try utf8_decode last
utf8_decode has been deprecated with PHP 8.2 so we now only use it when no other mechanisms (mbstring and intl) are available |
| 9aee9730 | 31-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
Adjustments for new SimplePie version |