Commit Graph

12409 Commits

Author SHA1 Message Date
Andreas Gohr 4c1ed9da81 usermanager: initialize auth sytem later
This prevents header errors when inspecting the CLI component in
plugin.php
2024-03-27 14:06:17 +01:00
Andreas Gohr ed46af861c disable RemoveUnusedConstructorParamRector
At least until rectorphp/rector#8580 is fixed
2024-03-27 13:21:16 +01:00
Andreas Gohr 8f3e80a222
Merge pull request #4245 from nelson-ion/master
Language patch pt-br for login.txt
2024-03-18 20:57:39 +01:00
Nelson Ion 992cc866c9
Merge pull request #1 from nelson-ion/language-patch-pt-br
Language patch pt-br for login.txt
2024-03-18 15:04:17 -03:00
Nelson Ion 1c8e20e312
Language patch pt-br for login.txt 2024-03-18 15:00:37 -03:00
Andreas Gohr dfaf0747ed Support b and x variants for bcrypt hashes
Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no difference between 2, 2a, 2x, 2y, and 2b. If you wrote your
> implementation correctly, they all output the same result.
2024-03-13 15:44:23 +01:00
Andreas Gohr 4d2a091249 increase github action versions 2024-03-11 15:33:34 +01:00
Andreas Gohr eb130b95b4
Merge pull request #4240 from FailedCode/fix/3811-tests-the-at-matcher-has-been-deprecated
Tests: The at() matcher has been deprecated
2024-03-11 09:38:25 +01:00
FailedCode 2a113f4663 Tests: The at() matcher has been deprecated
fixes #3811

Replaces at() with withConsecutive() in these tests:

- TestOfLexer::testSinglePattern
- TestOfLexer::testMultiplePattern
- TestOfLexerModes::testIsolatedPattern
- TestOfLexerModes::testModeChange
- TestOfLexerModes::testNesting
- TestOfLexerModes::testSingular
- TestOfLexerModes::testUnwindTooFar
- TestOfLexerHandlers::testModeMapping
- TestOfLexerByteIndices::testIndex
- TestOfLexerByteIndices::testIndexLookaheadEqual
- TestOfLexerByteIndices::testIndexLookaheadNotEqual
- TestOfLexerByteIndices::testIndexLookbehindEqual
- TestOfLexerByteIndices::testIndexLookbehindNotEqual
2024-03-09 17:47:38 +01:00
Gerrit Uitslag a6016e3ec6
Merge pull request #4234 from dokuwiki-translate/lang_update_837_1709730245
Translation update (de)
2024-03-06 14:10:43 +01:00
Christoph 8ff79746cf translation update 2024-03-06 14:06:15 +01:00
Andreas Gohr 6995fd7756
Merge pull request #4224 from dokuwiki/apicontenttype
API: ignore charset when checking content types
2024-03-05 15:11:41 +01:00
Andreas Gohr f604629e44
Merge pull request #4225 from dokuwiki/strcompatibility
adjust compatibility string methods. fixes #4221
2024-03-05 15:09:23 +01:00
Andreas Gohr b3beabcb2c
Merge pull request #4230 from dokuwiki-translate/lang_update_830_1709550808
Translation update (fr)
2024-03-05 15:09:01 +01:00
Andreas Gohr c13ef3ba1d composer updates 2024-03-05 15:08:02 +01:00
Schplurtz le Déboulonné 5824a753c1 translation update 2024-03-04 12:16:14 +01:00
Andreas Gohr 7bb40883ca adjust compatibility string methods. fixes #4221
This uses the implementations from https://github.com/symfony/polyfill-php80

Not only does it fix signature compatibility by accepting null strings
but it also adjust the handling of falsy values (like 0)
2024-02-22 19:00:44 +01:00
Andreas Gohr ba15f985c4 API: ignore charset when checking content types
We still expect all communication to be in UTF-8, but we really don't
need a charset attribute for that.

fixes #4218, replaces #4219
2024-02-22 18:22:47 +01:00
Gerrit Uitslag ff6a7a9d5f
Merge pull request #4223 from dgvirtual/lt_translation_update
Fix error I left in the lithuanian translation file
2024-02-22 00:47:39 +01:00
Donatas Glodenis 791b191cbc fix breaking error 2024-02-21 23:58:29 +02:00
Gerrit Uitslag 328e7dfdc0
Merge pull request #4222 from dgvirtual/lt_translation_update
Updated Lithuanian translation
2024-02-21 21:50:08 +01:00
Donatas Glodenis 6595e6c8fa Updated Lithuanian translation 2024-02-21 22:30:39 +02:00
Gerrit Uitslag e05e1bd971
Update bug_report.yml 2024-02-21 11:25:14 +01:00
Andreas Gohr 3f815ae37e bug template improvments
* maybe fix auto-tagging
* explicitly mention SSO as an environment to provide
* mention configruartion settings as environment data
2024-02-18 16:06:56 +01:00
Andreas Gohr 9e5ebb620a do not delete random_compat library. fixes #4214 2024-02-18 15:48:13 +01:00
Andreas Gohr 453f528726
Merge pull request #4209 from gerardnico/patch-2
The delete profile form was no more visible due to a missing echo
2024-02-14 15:28:43 +01:00
Andreas Gohr 38dc4143ad 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.
2024-02-14 15:24:24 +01:00
Nickeau 1ef69b555b
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.
2024-02-12 17:50:40 +01:00
Andreas Gohr af43012a7a
Merge pull request #4205 from dokuwiki/feedoptionfix
use correct FeedOptions methods. fixes #4203
2024-02-12 08:55:52 +01:00
Andreas Gohr 9f91826506
Merge pull request #4199 from dokuwiki/issue4198
gracefully handle decryption errors
2024-02-12 08:55:34 +01:00
Andreas Gohr 7e23bd088a 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
2024-02-11 10:11:45 +01:00
Andreas Gohr 7a9c51a02e 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
2024-02-10 16:42:02 +01:00
Andreas Gohr 2c978aed5a sprintf expects ...args instead of an array. fixes #4193 2024-02-09 18:47:48 +01:00
Andreas Gohr 1cedacf229 gracefully handle decryption errors
This should fix #4198
2024-02-09 18:38:24 +01:00
Andreas Gohr 1418a776f1 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
2024-02-09 12:59:31 +01:00
Andreas Gohr d602927bd9
Merge pull request #4195 from gerardnico/patch-1
Reintroduce the FEED_DATA_PROCESS event
2024-02-09 11:40:21 +01:00
Andreas Gohr 9e3e140bb0
Merge pull request #4189 from dokuwiki/logoaspect
fix logo aspect ratio and printing. fixes #4187
2024-02-09 11:12:34 +01:00
Andreas Gohr 29bc60621d
Merge pull request #4188 from dokuwiki/tablefix
fix overeager optimization in Table handler. fixes #4186
2024-02-09 11:12:12 +01:00
Nickeau 64e1c19b92
Reintroduce the FEED_DATA_PROCESS event
As explained here:
https://github.com/dokuwiki/dokuwiki/issues/4191
2024-02-08 15:54:31 +01:00
Andreas Gohr 71808afbef fix logo aspect ratio and printing. fixes #4187 2024-02-07 09:30:45 +01:00
Andreas Gohr 643ea3a6ea fix overeager optimization in Table handler. fixes #4186
This reverts an optimization introduced in
bcaec9f47d

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.
2024-02-07 09:20:15 +01:00
Andreas Gohr ab86a1cdff adjust group type hint for User API response 2024-02-06 13:32:25 +01:00
Andreas Gohr 932ec837f7 fix User response object in API 2024-02-06 12:31:37 +01:00
Andreas Gohr ca22330bd9
Merge pull request #4181 from dokuwiki/bot/autofix
🤖 Automatic code style fixes
2024-02-06 09:49:38 +01:00
splitbrain 8b267e5e4f 🤖 Rector and PHPCS fixes 2024-02-06 08:05:19 +00:00
Andreas Gohr 92f048d359
Merge pull request #4183 from annda/plugin-getinfo
Fix false errors when calling getInfo() from some plugins
2024-02-06 09:00:30 +01:00
Anna Dabrowska e9472a985a Fix false errors when calling getInfo() from some plugins 2024-02-06 08:45:45 +01:00
Gerrit Uitslag 0f64ea014d
Merge pull request #4180 from dokuwiki-translate/lang_update_817_1707054141
Translation update (zh)
2024-02-04 14:52:48 +01:00
Andreas Gohr 155d3bc330
Merge pull request #4178 from bheesham/fulltext-warnings
inc/fulltext Result from splice could be empty
2024-02-04 14:50:20 +01:00
Mr_Fang e02c158cf0 translation update 2024-02-04 14:46:15 +01:00