12645 Commits

Author SHA1 Message Date
bdf588eb27 Update SECURITY.md 2025-03-23 20:12:05 +03:00
43bf72a643 Merge pull request #4395 from dokuwiki-translate/lang_update_1039_1736812845
Translation update (hu)
2025-01-15 20:47:06 +01:00
8419acd88c Merge pull request #4394 from dokuwiki-translate/lang_update_1041_1736892997
Translation update (uk)
2025-01-15 20:46:41 +01:00
916194c74c translation update 2025-01-15 01:06:54 +01:00
db5401d78b translation update 2025-01-14 23:21:37 +01:00
564b5cbf37 Merge pull request #4389 from dokuwiki/buildquery
use http_build_query() in buildURLparams()
2025-01-13 11:20:09 +01:00
99acb4b701 Merge pull request #4393 from dokuwiki-translate/lang_update_1038_1736466325
Translation update (pl)
2025-01-12 16:33:24 +01:00
25a6adc744 translation update 2025-01-10 00:46:50 +01:00
5afd12a8fd Merge pull request #4392 from dokuwiki/bot/autofix
🤖 Automatic code style fixes
2025-01-09 18:57:50 +01:00
6066822340 🤖 Rector and PHPCS fixes 2025-01-09 17:50:11 +00:00
592f47e744 Merge pull request #3634 from spike77453/feature_add-plaintext-password-update-option
Add option 'modPassPlain' to send plaintext password updates to LDAP server
2025-01-09 18:49:16 +01:00
ababf15739 Merge pull request #4391 from dokuwiki/bot/autofix
🤖 Automatic code style fixes
2025-01-09 18:47:00 +01:00
98b599a697 🤖 Rector and PHPCS fixes 2025-01-09 17:46:40 +00:00
26e58b9a3e Merge pull request #4390 from dokuwiki/clientIP
clientIP handling
2025-01-09 18:45:43 +01:00
ced0b55f80 Fix Ip tests
We no longer use the old regexp based config, so the tests failed.
2025-01-09 17:02:25 +01:00
d5dd5d1b1d use renamed trustedproxies setting in tests 2025-01-09 16:33:07 +01:00
2f828abfb5 style fix 2025-01-09 16:26:14 +01:00
19d5ba2778 rename trustedproxy option to trustedproxies
We use a new format (array instead of regex) and need a sure way to
recognize it. Zebra's approach would not have survived the editing via
config manager.
As a side effect this also introduces a new languange string, which is
good because the old one did no longer apply.
2025-01-09 16:21:48 +01:00
e449acd087 some small cleanups in Ip class
most importantly do not crash on invalid config
2025-01-09 15:59:22 +01:00
2aba9aed6b Merge branch 'pr/3815' into clientIP
* pr/3815:
  Move IP functions into a class
  Factor out IP address functions; all proxies must be trusted
  Fix clientIP() returning the wrong address
2025-01-09 15:42:15 +01:00
7a8a36a297 Merge pull request #4388 from xi/unusable-password
allow to set unusable password
2025-01-09 13:11:16 +01:00
058c6bae05 adjusted tests for new buildURLparams()
null values are no longer added as empty parameters.
2025-01-09 10:10:35 +01:00
6cc6a0d2d8 use http_build_query() in buildURLparams()
buildURLparams() is used all throughout the code, but its implementation
was overly simplistic. This changes it to use the much better builtin
http_build_query() function. This allows for correct encoding of array
values or deeper nested structures.
2025-01-09 09:55:40 +01:00
dbc152da9e Extension Manager: add missing security token 2025-01-08 10:19:23 +01:00
b21b7935c5 mv UNUSABLE_PASSWORD const to defines 2025-01-07 15:33:44 +01:00
0ffe9fda98 add new behavior to doc block 2025-01-07 15:31:08 +01:00
527ad715b3 allow to set unusable password
This could be used by plugins such as dokuwiki-plugin-oauth to create
accounts that can only by accessed via SSO.
2025-01-07 15:13:28 +01:00
f86af016fd Merge pull request #4387 from dokuwiki-translate/lang_update_1037_1736245486
Translation update (de)
2025-01-07 13:18:08 +01:00
d8242cb1f7 translation update 2025-01-07 11:26:15 +01:00
6405e5fd39 Add option 'modPassPlain' to send plaintext password updates to LDAP server 2024-12-31 18:42:17 +01:00
fc09308ded Merge pull request #4383 from dokuwiki-translate/lang_update_1027_1734867410
Translation update (zh-tw)
2024-12-22 13:01:07 +01:00
82c7e28ae5 Merge pull request #4382 from dokuwiki-translate/lang_update_1026_1734867287
Translation update (zh-tw)
2024-12-22 13:00:44 +01:00
7baee0f810 translation update 2024-12-22 12:41:04 +01:00
bfad69040c translation update 2024-12-22 12:36:06 +01:00
d2685d3500 Merge pull request #4381 from dokuwiki/bot/autofix
🤖 Automatic code style fixes
2024-12-18 09:25:13 +01:00
811d6efaae 🤖 Rector and PHPCS fixes 2024-12-18 08:23:44 +00:00
9520a43554 dependency updates 2024-12-18 09:22:13 +01:00
c408a2af01 Merge pull request #4374 from dokuwiki/extensionlabels
Extension Manager: use characters for messages
2024-12-18 09:20:53 +01:00
18c84d9d07 Merge pull request #4378 from dokuwiki-translate/lang_update_1021_1734441244
Translation update (fr)
2024-12-17 22:23:17 +01:00
e0d957b0c5 translation update 2024-12-17 14:16:55 +01:00
f17690f709 Extension Manager: set a larger timeout
When loading large plugins, like the dw2pdf plugin, a timout of 25
seconds may not be enough on slow connections. This increases the limit
to 5 second short of 4 minutes.

On CLI this should not be an issue at all, on web SAPIs we need to
increase the execution time first, only if that succeeds (might be
disabled on some hosts) the limit is increased.

This replaces PR #4377
2024-12-17 14:06:47 +01:00
01b2a2823d initialize remote data in one go
Previously each extension was fetched separately from the API, this
fetches all installed ones in one go, speeding up the first open on cold
cache significantly.
2024-12-17 12:11:21 +01:00
dc19220032 Extension Manager: style improvements
* use SVG for popularity, a bit more muted color style
* different error icon
* colors for message icons
* lazy load screenshots
2024-12-17 11:25:20 +01:00
56bbc10d64 init rendering correctly in API
When rendering a page, the ID should be passed.
2024-12-17 10:36:21 +01:00
d2d4b908d1 Extension Manager: use characters for messages
As pointed out in
https://github.com/dokuwiki/dokuwiki/pull/4358#issuecomment-2528848505
using Unicode Symbols for message status might not be ideal. This patch
uses upper case letters instead and SVGs in the GUI manager.
2024-12-10 16:31:59 +01:00
8f42bf7931 Merge pull request #4373 from dokuwiki-translate/lang_update_1012_1733763677
Translation update (pl)
2024-12-10 15:40:15 +01:00
8392b8bbab translation update 2024-12-09 18:06:14 +01:00
f71e7588c9 Merge pull request #4372 from dokuwiki/bot/deletedFiles
🤖 Update deleted files
2024-12-09 14:52:08 +01:00
2243c8220d 🤖 Update deleted files 2024-12-09 13:49:00 +00:00
ee5ddfa4c2 Merge pull request #4358 from dokuwiki/extensionmanager
Extension Manager Refactoring
2024-12-09 14:48:05 +01:00