| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Add experimental tree builder classes
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These classes provide mechanisms to build a traversable tree of pages
and links. Either from the existing namespace structure, or from a
control page containing (possibly a nested) set of links.
The nodes returned by the tree are deliberately sparse. No ACL checking
is taking place. Developers can enrich (or omit) nodes and influence
recursion decisions via callbacks.
The tree can optionally be sorted by comparators provided in the
TreeSort class or a custom callback.
The API provided by these classes is not considered stable yet and may
change over time. Plugin authors are encouraged to use them and provide
feedback.
|
|\ \
| | |
| | | |
do not return zero error code for API exceptions. fixes #4413
|
| | | |
|
|\ \ \
| | | |
| | | | |
treat getallheaders more suspiciously. fixes #4415
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Add core.getMediaHistory API endpoint
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Even when the revision is explictly given instead of set to 0. See #4419
for ponderings about why this is necessary and a different approach.
|
| | |/
| |/|
| | |
| | | |
squashed commits of #4369
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To summarize the issue:
1. the wiki is protected by Basic auth, outside of the wiki
2. chrome will not pass authentication credentials when accessing a
linked manifest
3. the webserver will deny access to the manifest
DokuWiki does not care about the auth credentials, because the manifest
returns public info only. The issue is really with the webserver
denying the request.
Using a crossorigin hint will work around the chrome behaviour. The only
potential downside would be that chrome now will send auth credentials
even when there is no web server based auth. Since DokuWiki doesn't care,
it's not really a downside.
|
|/ |
|
|\
| |
| | |
Translation update (hu)
|
| | |
|
|/ |
|
|\
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
We no longer use the old regexp based config, so the tests failed.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
most importantly do not crash on invalid config
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* pr/3815:
Move IP functions into a class
Factor out IP address functions; all proxies must be trusted
Fix clientIP() returning the wrong address
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | | |
This could be used by plugins such as dokuwiki-plugin-oauth to create
accounts that can only by accessed via SSO.
|
| | | |
|
| | |
| | |
| | |
| | | |
When rendering a page, the ID should be passed.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
drop tilde from title. fixes #4347
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a link with the page relative shortcut is used and no title is
given, the given ID is used to create a title. In this case, the tilde
should be removed from the title.
[[~SomeThing]] -> SomeThing
|
|\ \ \ \
| | | | |
| | | | | |
unset empty REMOTE_USER. fixes #4348
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An empty remote user should not be set at all. Seems like some
webservers always set the environment var, even if no authentication
happened. I'd argue that this is wrong, but this should fix the
behaviour.
|
|\ \ \ \
| | | | |
| | | | | |
fix revisions used in RSS feeds. fixes #4357
|
| | | | |
| | | | |
| | | | |
| | | | | |
A negative value needs to be passed to retrieve the current revision.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
PHP 8.4 fixes
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
replace deprecated utf8_encode #4354
|