| #
5505dd9a |
| 27-Nov-2011 |
Tim Roes <github@timroes.de> |
Fixed XML-RPC getAttachment method.
Without creating an IXR_Base64 object, the file will be encoded as base64, but send as string. The client XML-RPC parser cannot detect that it is meant to be a ba
Fixed XML-RPC getAttachment method.
Without creating an IXR_Base64 object, the file will be encoded as base64, but send as string. The client XML-RPC parser cannot detect that it is meant to be a base64 encoded file.
show more ...
|
| #
80d6fbc3 |
| 30-Oct-2011 |
Adrian Lang <mail@adrianlang.de> |
Fix double-decoding in XMLRPC putAttachment
|
| #
fe13bd81 |
| 15-Oct-2011 |
Andreas Gohr <andi@splitbrain.org> |
Fix XML-RPC login method FS#2324
The login wasn't able to modify the session as it was already closed earlier.
This patch also executes the correct event when logins via XMLRPC are done.
|
| #
794fc9db |
| 15-Oct-2011 |
Michael Hamann <michael@content-space.de> |
Only send 401 if user is not logged in in XML-RPC FS#2133
If the user is already logged in, a 403 is sent instead now.
|
| #
b760af94 |
| 15-Oct-2011 |
Michael Hamann <michael@content-space.de> |
Send a 401 Unauthorized header in XML-RPC when access is denied
This is far from perfect but should solve most issues in the recommended configuration where only authorized users have access. Sendin
Send a 401 Unauthorized header in XML-RPC when access is denied
This is far from perfect but should solve most issues in the recommended configuration where only authorized users have access. Sending proper status codes should be implemented when the API implementation refactoring is done.
show more ...
|
| #
992ded5a |
| 10-Jul-2011 |
Andreas Gohr <andi@splitbrain.org> |
make use of auth_isMember() in XMLRPC authentication check FS#2287
|
| #
f77fc90d |
| 24-Feb-2011 |
Michael Hamann <michael@content-space.de> |
Merge branch 'master' into indexer_rewrite
Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
|
| #
ffb291f2 |
| 06-Feb-2011 |
Adrian Lang <dokuwiki@adrianlang.de> |
Use common media_save in media_upload and putAttachment
Changes: * XML-RPC now correctly allows leading and trailing _ * Error messages from XML-RPC are correct * MEDIA_UPLOAD_FINISH has a six
Use common media_save in media_upload and putAttachment
Changes: * XML-RPC now correctly allows leading and trailing _ * Error messages from XML-RPC are correct * MEDIA_UPLOAD_FINISH has a sixth param specifying the move function * Not having upload rights when using media_upload throws a msg
show more ...
|
| #
87229c84 |
| 06-Feb-2011 |
Adrian Lang <dokuwiki@adrianlang.de> |
XML-RPC deleteAttachment now uses media_delete
Functionality changes: * deleteAttachment now triggers MEDIA_DELETE_FILE (closes FS#1568) * deletion success msg in mediamanager is correct, even w
XML-RPC deleteAttachment now uses media_delete
Functionality changes: * deleteAttachment now triggers MEDIA_DELETE_FILE (closes FS#1568) * deletion success msg in mediamanager is correct, even when the ns dir was deleted * media_delete changed quite a bit
show more ...
|
| #
fc756e0d |
| 23-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Merge branch 'master' into indexer_improvements
Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
|
| #
eff795ac |
| 16-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Fix several security issues in the XML-RPC interface
For locks and getRevisions there hasn't been any acl check. In many other cases the id hadn't been cleaned before the acl check was done which me
Fix several security issues in the XML-RPC interface
For locks and getRevisions there hasn't been any acl check. In many other cases the id hadn't been cleaned before the acl check was done which means that many acl rules that should be applied weren't applied. So e.g. when you have read permissions for the root namespace but not for a subnamespace you could add a leading ":" and the permissions for the root namespace will be used instead of the permissions for the subnamespace. This did not apply to writing pages and reading media files, but writing and deleting media files have been concerned as well as reading both plain and html versions of pages.
This only concerns installations where XML-RPC is enabled (default is disabled) and XML-RPC is allowed for all or untrusted users.
show more ...
|
| #
9b41be24 |
| 29-Dec-2010 |
Tom N Harris <tnharris@whoopdedo.org> |
Indexer v3 Rewrite part two, update uses of indexer
|
| #
e3776c06 |
| 29-Nov-2010 |
Michael Hamann <michael@content-space.de> |
Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3
As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is o
Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3
As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
show more ...
|
| #
7c2ef4e8 |
| 17-Nov-2010 |
Tom N Harris <tnharris@whoopdedo.org> |
Use a different indexer version when external tokenizer is enabled
|
| #
ba9418bc |
| 13-Nov-2010 |
Hakan Sandell <sandell.hakan@gmail.com> |
Added XMLRPC dokuwiki:appendPage
|
| #
a0070b52 |
| 16-Jun-2010 |
Adrian Lang <lang@cosmocode.de> |
Add title index to the indexer files, improve indexer calls
|
| #
86228f10 |
| 24-May-2010 |
Dominik Eckelmann <deckelmann@gmail.com> |
added cleanID to xmlrpc call wiki.getBackLinks
|
| #
e6f4c9d4 |
| 17-Apr-2010 |
Georges-Etienne Legendre <legege@bonsai.home.legege.com> |
Adding getTitle to the XML-RPC API
|
| #
ac1ffdde |
| 17-Apr-2010 |
Georges-Etienne Legendre <legege@bonsai.home.legege.com> |
Fix #1943: full text search XML-RPC call should return the $pages instead of $data
|
| #
c77fa67b |
| 16-Mar-2010 |
Michael Hamann <michael@content-space.de> |
Use md5sum of id and client ip as temporary filename in XML-RPC
Before this patch the temporary filename was the uncleaned id. This allowed everyone with upload-privileges (on the whole wiki) and XM
Use md5sum of id and client ip as temporary filename in XML-RPC
Before this patch the temporary filename was the uncleaned id. This allowed everyone with upload-privileges (on the whole wiki) and XML-RPC privileges on a XML-RPC-enabled DokuWiki to (over)write any file PHP is allowed to write with any content he wants. If you have XML-RPC enabled and users with XML-RPC and upload privileges you don't trust in a way you would allow them to write any file PHP may write, consider this as an important security fix. By default XML-RPC is disabled, so if you don't know what I'm talking about you are probably not affected by the problem.
show more ...
|
| #
d7879495 |
| 12-Mar-2010 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'requireall'
Conflicts: inc/fulltext.php
|
| #
fe17917e |
| 10-Mar-2010 |
Adrian Lang <lang@cosmocode.de> |
Move & rename HTML_PAGE_FROMTEMPLATE to common.php
The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template has been read but before performing the template replacements.
|
| #
f71f4f53 |
| 28-Feb-2010 |
Andreas Gohr <andi@splitbrain.org> |
added dokuwiki.search XMLRPC call FS#1882
|
| #
24b3cb1a |
| 01-Feb-2010 |
Andreas Gohr <andi@splitbrain.org> |
removed require's in lib/exe/*
|
| #
56523eec |
| 19-Dec-2009 |
Andreas Gohr <andi@splitbrain.org> |
do not trim XMLRPC values FS#1824
Ignore-this: f43d3f070cfae4040e0e70648d0e541a The XMLRPC backend will not trim whitespaces or newlines from string values anymore.
darcs-hash:20091219151652-7ad00-
do not trim XMLRPC values FS#1824
Ignore-this: f43d3f070cfae4040e0e70648d0e541a The XMLRPC backend will not trim whitespaces or newlines from string values anymore.
darcs-hash:20091219151652-7ad00-94d6cb26ff6396e09f107cf09dccb5423680c5c9.gz
show more ...
|