Andreas Gohr
c0f08ea9b4
clean up dbg_backtrace
...
This makes the formatting decisions more explicit instead of multiple
nested ternary operators. For hopefully make it easier to read.
It also renames [internal function] to [anonymous] since it usually
signifies an error in a anonymous callback rather than a PHP internal.
2023-11-14 10:35:17 +01:00
Andreas Gohr
49adf0edb3
Merge pull request #4108 from dokuwiki-translate/lang_update_733_1699926349
...
Translation update (hu)
2023-11-14 10:18:36 +01:00
Andreas Gohr
bcedcbabae
fix page title handling broken in #4107
2023-11-14 08:26:21 +01:00
Fekete Ádám Zsolt
73f7d49d56
translation update
2023-11-14 02:51:17 +01:00
Andreas Gohr
1d4c3caf85
Merge pull request #4107 from dokuwiki/bot/autofix
...
🤖 Automatic code style fixes
2023-11-13 17:13:07 +01:00
m-martin-78
a4dce27ed4
Fixed bad copy/paste, sorry...
2023-11-13 17:06:27 +01:00
splitbrain
9b36c1fc64
🤖 Rector and PHPCS fixes
2023-11-13 15:56:26 +00:00
m-martin-78
2a3397394d
Check if trustedproxy is empty + changed behavior in is_ssl to match the same behavior
2023-11-13 16:55:40 +01:00
Andreas Gohr
108f17cf39
updated devel dependencies
2023-11-13 16:53:47 +01:00
Andreas Gohr
9bfc127bb8
Merge pull request #4065 from dokuwiki/composerdev
...
implement composer dev dependencies as suggested in #4058
2023-11-13 16:46:19 +01:00
m-martin-78
6e9b187718
bugfix: trustedproxy is not a delimited pcre
2023-11-13 15:09:39 +01:00
m-martin-78
12a78321c4
Codestyle + check trustedproxies
...
Adjust code style to match dokuwiki's.
Secure the use of `X-Forwarded-Host` by checking against the https://www.dokuwiki.org/config:trustedproxy property.
2023-11-13 14:56:05 +01:00
m-martin-78
5ab8f4a0d7
Add support for X-Forwarded-Host proxy header
...
X-Forwarded-From and X-Forwarded-Proto are already used, so should X-Forwarded-Host.
2023-11-13 11:09:23 +01:00
Andreas Gohr
72203f2cae
avoid another warning in authad
2023-11-08 12:25:23 +01:00
Phy
518e8499bf
Merge pull request #4101 from dokuwiki-translate/lang_update_728_1698996987
...
Translation update (ca)
2023-11-04 14:18:49 -04:00
pau
dd952db834
translation update
2023-11-03 08:41:19 +01:00
Andreas Gohr
1fc5061d2b
skip CompleteMissingIfElseBracketRector
...
We like our one-line guardians.
See discussion in
https://github.com/dokuwiki/dokuwiki/pull/4097#issuecomment-1788608355
https://github.com/dokuwiki/dokuwiki/pull/4097#issuecomment-1789826392
2023-11-02 09:08:14 +01:00
Gerrit Uitslag
eb7781ab6e
Merge pull request #4096 from dokuwiki-translate/lang_update_726_1698406849
...
Translation update (ar)
2023-10-27 13:59:28 +02:00
Gerrit Uitslag
81ffb9e8a1
Merge branch 'master' into lang_update_726_1698406849
2023-10-27 13:59:20 +02:00
Gerrit Uitslag
db4a80ee5e
Merge pull request #4086 from dokuwiki/bot/deletedFiles
...
🤖 Update deleted files
2023-10-27 13:58:23 +02:00
talal
8f9a51db90
translation update
2023-10-27 13:46:26 +02:00
Klap-in
2761c7d433
🤖 Update deleted files
2023-10-27 11:44:50 +00:00
Gerrit Uitslag
77a63337f9
Merge pull request #4095 from dokuwiki-translate/lang_update_725_1698406457
...
Translation update (ar)
2023-10-27 13:44:31 +02:00
talal
9b03c563b0
translation update
2023-10-27 13:36:27 +02:00
Andreas Gohr
d26e5a249c
Tokenauth: ignore case when gettign auth header from apache
2023-10-12 15:21:21 +02:00
Andreas Gohr
403d6a9f4c
added tests for auth token handling
2023-10-12 15:21:21 +02:00
Andreas Gohr
455aa67e85
Introduce token authentication #2431
...
This generates a JWT token for users. This token can be sent in a Bearer
authentication header as a login mechanism. Users can reset their token
in the profile.
Note: a previously suggested implementation used a custom token format,
not JWT tokens
2023-10-12 15:21:06 +02:00
Andreas Gohr
045bc00a85
Merge pull request #4059 from dokuwiki/loader
...
Refactor autoloading, fix #4048
2023-10-12 14:36:58 +02:00
Andreas Gohr
2f624be6e5
Merge pull request #4074 from dokuwiki/issue4072
...
strip any trailing dots when resolving IDs
2023-10-12 14:23:23 +02:00
Andreas Gohr
e66f8dfe35
use rtrim not trim to remove trailing dots
2023-10-12 14:17:52 +02:00
Andreas Gohr
e86688aae8
Merge pull request #4085 from dokuwiki/4084
...
don't break config manager if plugin renderer fails to load #4084
2023-10-12 14:15:23 +02:00
Andreas Gohr
bafb943703
don't break config manager if plugin renderer fails to load #4084
2023-10-12 13:55:39 +02:00
Gerrit Uitslag
ef3d623070
Merge pull request #4073 from dokuwiki/bot/autofix
...
🤖 Automatic code style fixes
2023-10-07 18:18:29 +02:00
Klap-in
28a6ee9a28
🤖 Rector and PHPCS fixes
2023-10-07 16:16:08 +00:00
Gerrit Uitslag
6e7ec8b621
Merge pull request #4082 from dokuwiki-translate/lang_update_720_1696693939
...
Translation update (pl)
2023-10-07 18:12:51 +02:00
Marek Adamski
ac29674ebd
translation update
2023-10-07 17:56:22 +02:00
Gerrit Uitslag
70d120ba1c
Merge pull request #4078 from dokuwiki-translate/lang_update_713_1696375517
...
Translation update (et)
2023-10-04 07:40:26 +02:00
Werewolf
3f6003853b
translation update
2023-10-04 01:30:48 +02:00
Gerrit Uitslag
171f97e886
Merge pull request #4077 from dokuwiki-translate/lang_update_709_1696334095
...
Translation update (pl)
2023-10-04 00:31:03 +02:00
Michał
7aaa205106
translation update
2023-10-03 13:56:22 +02:00
Andreas Gohr
d87b66457e
removed obsolete tests
...
These tests have been moved to the File namespace.
2023-09-30 20:46:00 +02:00
Andreas Gohr
42411fe918
strip any trailing dots when resolving IDs
...
fixes #4072
2023-09-30 20:35:21 +02:00
Andreas Gohr
f32fa0963b
Merge pull request #4071 from dokuwiki/setmedia
...
set media entry to fix Undefined array key
2023-09-30 10:46:50 +02:00
Damien Regad
5f21556db6
Fix undefined array key warning
2023-09-27 11:42:27 +02:00
Gerrit Uitslag
9349c09b46
minor refactor
2023-09-25 21:01:19 +02:00
Gerrit Uitslag
adf3f0ade0
update Recent as well
2023-09-25 01:55:20 +02:00
Gerrit Uitslag
72d8810b2b
Fix unit test, little refactor
2023-09-25 01:23:25 +02:00
Gerrit Uitslag
719518410a
deprecate parseChangelogLine()
...
It was already replace in code, replaced in unit test as well.
2023-09-25 01:22:54 +02:00
Gerrit Uitslag
4d95c1688e
code style
2023-09-25 00:14:17 +02:00
Gerrit Uitslag
851600592b
little refactoring
2023-09-25 00:10:01 +02:00