| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
This removes headers that are sent by PHP/the webserver anyway as they
are possibly wrong as e.g. when gzip compression is enabled in
inc/init.php (which does happen when the client supports gzip) the
content size is smaller than the one that was specified by the
content-length header and thus e.g. the Python XML-RPC client fails with
an error message because of the size mismatch. Additionally the content
encoding is now set to utf-8 in the http headers.
|
|
|
|
| |
includes unit tests. Extensions welcome.
|
|
|
|
|
|
|
|
| |
Since the specs aren't 100% clear, dates might be passed in different
formats by various XMLRPC clients. This patch makes date parsing a bit
more flexible.
Unit tests included.
|
| |
|
|
|
|
|
|
| |
according to the specs a value without a type is
recognised as string. This patch handles empty value
tags the right way as empty String.
|
|
|
|
|
|
| |
It seems that the 0x0B Vertical Tab character breaks the PHP
XML parser. This workaround replaces the char with a space
before parsing. Not ideal but good enough for now.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Ignore-this: f43d3f070cfae4040e0e70648d0e541a
The XMLRPC backend will not trim whitespaces or newlines from string values
anymore.
darcs-hash:20091219151652-7ad00-94d6cb26ff6396e09f107cf09dccb5423680c5c9.gz
|
|
|
|
|
|
| |
Ignore-this: e422f7ffed22302c153bba0d7227b6e0
darcs-hash:20091211125537-7ad00-365862547d10c83af000b4ef0fb3f0d632d7ffea.gz
|
|
|
|
|
|
| |
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
|
|
|
|
|
|
| |
Ignore-this: e8d6e4b7eade8bd2898ada53cd9cf0dd
darcs-hash:20090312223053-556be-bab8017750e73beb806ca3c22e0f509d58acf19a.gz
|
|
|
|
| |
darcs-hash:20090303193527-7ad00-82bb49362732ec221c7cdab41050d402ea125938.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: e74f051d409c2df9e59f6f0b42f362f8
According to the specification of the wiki XML-RPC api at
http://www.jspwiki.org/wiki/WikiRPCInterface2 all returned datetimes
should be UTC. This commit changes the date-functions in IXR_Date to
make DokuWiki obey to this specification (otherwise there is now way
to get from these datetimes back to a timestamp for example).
darcs-hash:20090227223344-074e0-91382e67b18e6e1fa3b6d9311adbc1898fb73a01.gz
|
|
|
|
|
|
| |
Ignore-this: 4d1b83deb38aa6192cfe53cecdc6b6f6
darcs-hash:20090221125206-7ad00-44d6a3c5a11d6042c2fc6e41bd7f309a382a55dc.gz
|
|
|
|
|
|
| |
As described on http://bugs.php.net/bug.php?idE996, current versions of libxml (2.7.0/1) lead to the fact that the xml parser of PHP eats predefined entities. As proposed on http://bugs.simplepie.org/issues/show/101 predefined entities are replaced by their numeric equivalents. There is no condition in this patch as there are people reporting it isn't gone in 2.7.2, i can confirm that, and furthermore here PHP is reporting libxml 20632 and the bug exists, too (it is linked to libxml2 though which has version 2.7.2). As soon as there is definite knowledge on which versions are actually concerned and how to detect them in PHP a condition should be added as this patch might decrease the performance of the affected functions.
darcs-hash:20081229213341-074e0-10e0cca836c6599efe4d3dfd45f512d624d0a808.gz
|
|
|
|
|
|
|
|
|
| |
By using this event, action plugins can register their own callback methods
in DokuWikis XML-RPC server, and extend it's functionality. The event data
is the server instance. Plugins can also remove already registered
callbacks or replace them with their own methods.
darcs-hash:20080824080457-23886-b49b897592ce6717f0980f6044bae2d51fd73336.gz
|
|
|
|
| |
darcs-hash:20080405214737-2b4f5-01801b89e5efb32fb56b63a6746b60223ee270ba.gz
|
|
|
|
| |
darcs-hash:20080405214710-2b4f5-42e138c2fb2c272ea99f1054065b35f840d6fcd4.gz
|
|
|
|
| |
darcs-hash:20080405112253-2b4f5-e69a8765cff9cc4b0373afca236488f8a2eb2751.gz
|
|
|
|
| |
darcs-hash:20080305193802-23886-b786952c122c36e63676dd82d771494d763b9569.gz
|
|
|
|
|
|
| |
The code should work but is completely untested because it is currently not used.
darcs-hash:20080227215408-7ad00-952ebba433991bde0c4282beeb4887c637eb25aa.gz
|
|
|
|
|
|
| |
Adds the putpage-method to the xmlrpc-server-code
darcs-hash:20071012135930-b8925-1d770de41b3e6aea4c612666194e915dda344647.gz
|
|
This adds experimental XMLRPC support to DokuWiki. A subset of the
Wiki XMLRPC API v2 [1] is implemented.
You need to remove the die() call in lib/exe/xmlrpc.php to use it.
[1] http://www.jspwiki.org/wiki/WikiRPCInterface2
darcs-hash:20061124232744-7ad00-fdaccc68787c3b0349b155a94a1a56003560c5d8.gz
|