aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc
Commit message (Collapse)AuthorAge
* Merge pull request #4423 from dokuwiki/treebuilderAndreas Gohr2025-04-10
|\ | | | | Add experimental tree builder classes
| * rector and codesniffer fixesAndreas Gohr2025-04-10
| |
| * Add experimental tree builder classesAndreas Gohr2025-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #4414 from dokuwiki/fixapierrorcodeAndreas Gohr2025-04-09
|\ \ | | | | | | do not return zero error code for API exceptions. fixes #4413
| * | do not return zero error code for API exceptions. fixes #4413Andreas Gohr2025-03-12
| | |
* | | Merge pull request #4416 from dokuwiki/getallheadersAndreas Gohr2025-04-09
|\ \ \ | | | | | | | | treat getallheaders more suspiciously. fixes #4415
| * | | treat getallheaders more suspiciously. fixes #4415Andreas Gohr2025-03-12
| |/ /
* | | Merge pull request #4420 from dokuwiki/api-mediahistoryAndreas Gohr2025-04-09
|\ \ \ | | | | | | | | Add core.getMediaHistory API endpoint
| * | | API doc block updatesAndreas Gohr2025-03-15
| | | |
| * | | increased API versionAndreas Gohr2025-03-15
| | | |
| * | | API: proper access to the current media revisionAndreas Gohr2025-03-15
| | | | | | | | | | | | | | | | | | | | 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.
| * | | Added API endpoint core.getMediaHistory #4147kuangfio2025-03-15
| | |/ | |/| | | | | | | squashed commits of #4369
* / | translation updateManu2025-03-18
|/ /
* | updated jquery and jquery-ui versionsAndreas Gohr2025-03-15
| |
* | set crossorigin header for manifest. fixes #4322Andreas Gohr2025-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | fix legacy XMLRPC call dokuwiki.appendPage #4418Andreas Gohr2025-03-15
|/
* Merge pull request #4395 from dokuwiki-translate/lang_update_1039_1736812845Gerrit Uitslag2025-01-15
|\ | | | | Translation update (hu)
| * translation updateFekete Ádám Zsolt2025-01-15
| |
* | translation updateВолодимир2025-01-14
|/
* Merge pull request #4389 from dokuwiki/buildqueryAndreas Gohr2025-01-13
|\ | | | | use http_build_query() in buildURLparams()
| * use http_build_query() in buildURLparams()Andreas Gohr2025-01-09
| | | | | | | | | | | | | | 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.
* | 🤖 Rector and PHPCS fixessplitbrain2025-01-09
| |
* | Fix Ip testsAndreas Gohr2025-01-09
| | | | | | | | We no longer use the old regexp based config, so the tests failed.
* | use renamed trustedproxies setting in testsAndreas Gohr2025-01-09
| |
* | style fixAndreas Gohr2025-01-09
| |
* | rename trustedproxy option to trustedproxiesAndreas Gohr2025-01-09
| | | | | | | | | | | | | | | | 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.
* | some small cleanups in Ip classAndreas Gohr2025-01-09
| | | | | | | | most importantly do not crash on invalid config
* | Merge branch 'pr/3815' into clientIPAndreas Gohr2025-01-09
|\ \ | | | | | | | | | | | | | | | | | | * pr/3815: Move IP functions into a class Factor out IP address functions; all proxies must be trusted Fix clientIP() returning the wrong address
| * | Move IP functions into a classZebra North2022-10-26
| | |
| * | Merge branch 'master' into fix-clientipZebra North2022-10-22
| |\ \
| * | | Factor out IP address functions; all proxies must be trustedZebra North2022-10-22
| | | |
| * | | Fix clientIP() returning the wrong addressZebra North2022-09-01
| | | |
* | | | mv UNUSABLE_PASSWORD const to definesTobias Bengfort2025-01-07
| | | |
* | | | add new behavior to doc blockTobias Bengfort2025-01-07
| | | |
* | | | allow to set unusable passwordTobias Bengfort2025-01-07
| |_|/ |/| | | | | | | | | | | This could be used by plugins such as dokuwiki-plugin-oauth to create accounts that can only by accessed via SSO.
* | | translation updatePeter Dave Hello2024-12-22
| | |
* | | init rendering correctly in APIAndreas Gohr2024-12-17
| | | | | | | | | | | | When rendering a page, the ID should be passed.
* | | 🤖 Rector and PHPCS fixessplitbrain2024-12-02
| | |
* | | removed obsolete files from static autoloaderAndreas Gohr2024-12-02
| | |
* | | Merge pull request #4367 from dokuwiki/tildetitleAndreas Gohr2024-12-02
|\ \ \ | | | | | | | | drop tilde from title. fixes #4347
| * | | drop tilde from title. fixes #4347Andreas Gohr2024-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #4366 from dokuwiki/remoteusertrimAndreas Gohr2024-12-02
|\ \ \ \ | | | | | | | | | | unset empty REMOTE_USER. fixes #4348
| * | | | unset empty REMOTE_USER. fixes #4348Andreas Gohr2024-11-27
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #4365 from dokuwiki/feedrevsAndreas Gohr2024-12-02
|\ \ \ \ | | | | | | | | | | fix revisions used in RSS feeds. fixes #4357
| * | | | fix revisions used in RSS feeds. fixes #4357Andreas Gohr2024-11-27
| | | | | | | | | | | | | | | | | | | | A negative value needs to be passed to retrieve the current revision.
* | | | | Merge pull request #4360 from dokuwiki/php84Andreas Gohr2024-12-02
|\ \ \ \ \ | |_|/ / / |/| | | | PHP 8.4 fixes
| * | | | code style fixes for LoggerAndreas Gohr2024-11-25
| | | | |
| * | | | io_replaceInFile: replace warning with logging callAndreas Gohr2024-11-25
| | | | |
| * | | | Allow tests to expect log messagesAndreas Gohr2024-11-25
| | | | |
| * | | | Merge pull request #4359 from dokuwiki/utf8encodeAndreas Gohr2024-11-25
| |\ \ \ \ | | | | | | | | | | | | replace deprecated utf8_encode #4354