summaryrefslogtreecommitdiff
path: root/inc/IXR_Library.php
Commit message (Collapse)AuthorAge
* Remove superfluous headers, fix XML-RPC with gzip enabledMichael Hamann2011-01-15
| | | | | | | | | | 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.
* XML-RPC fix for untyped string values FS#1993Andreas Gohr2010-07-01
| | | | includes unit tests. Extensions welcome.
* Make XMLRPC date parsing more flexible FS#1966Andreas Gohr2010-06-09
| | | | | | | | 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.
* Changed date format to the xmlrpc spec date formatDominik Eckelmann2010-06-09
|
* bugfix empty strings in untyped value tag.Dominik Eckelmann2010-06-08
| | | | | | 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.
* Replace vertical tabs befor parsing XML in XMLRPCAndreas Gohr2010-03-22
| | | | | | 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.
* removed more unneeded require_once() callsAndreas Gohr2010-02-01
|
* some more coding standard compliance updatesAndreas Gohr2010-01-15
|
* do not trim XMLRPC values FS#1824Andreas Gohr2009-12-19
| | | | | | | | Ignore-this: f43d3f070cfae4040e0e70648d0e541a The XMLRPC backend will not trim whitespaces or newlines from string values anymore. darcs-hash:20091219151652-7ad00-94d6cb26ff6396e09f107cf09dccb5423680c5c9.gz
* fixed possible problem in XMLRPC when no arguments are passedAndreas Gohr2009-12-11
| | | | | | Ignore-this: e422f7ffed22302c153bba0d7227b6e0 darcs-hash:20091211125537-7ad00-365862547d10c83af000b4ef0fb3f0d632d7ffea.gz
* Whitespace cleanup FS#1709furun2009-10-16
| | | | | | Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
* bugfix for IXR_Date::parseIso()Mikhail I. Izmestev2009-03-12
| | | | | | Ignore-this: e8d6e4b7eade8bd2898ada53cd9cf0dd darcs-hash:20090312223053-556be-bab8017750e73beb806ca3c22e0f509d58acf19a.gz
* Check HTTP response code in XMLRPC clientAndreas Gohr2009-03-03
| | | | darcs-hash:20090303193527-7ad00-82bb49362732ec221c7cdab41050d402ea125938.gz
* Replaced date-functions by their utc-quivalent in the XML-RPC library.michael2009-02-27
| | | | | | | | | | | 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
* fixed error reporting in XMLRPC clientAndreas Gohr2009-02-21
| | | | | | Ignore-this: 4d1b83deb38aa6192cfe53cecdc6b6f6 darcs-hash:20090221125206-7ad00-44d6a3c5a11d6042c2fc6e41bd7f309a382a55dc.gz
* Workaround for a PHP/libxml-bug with entitiesmichael2008-12-29
| | | | | | 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
* XMLRPC: new event XMLRPC_CALLBACK_REGISTERMichael Klier2008-08-24
| | | | | | | | | 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
* XMLRPC requests are to be made using POST according to specGina Haeussge2008-04-05
| | | | darcs-hash:20080405214737-2b4f5-01801b89e5efb32fb56b63a6746b60223ee270ba.gz
* XMLRPC client needs to call constructor of parent classGina Haeussge2008-04-05
| | | | darcs-hash:20080405214710-2b4f5-42e138c2fb2c272ea99f1054065b35f840d6fcd4.gz
* Fix of invalid reference to request headers in XMLRPC clientGina Haeussge2008-04-05
| | | | darcs-hash:20080405112253-2b4f5-e69a8765cff9cc4b0373afca236488f8a2eb2751.gz
* XMLRPC: fix for IXR_Date which returned a wrong formatted UTC timestampMichael Klier2008-03-05
| | | | darcs-hash:20080305193802-23886-b786952c122c36e63676dd82d771494d763b9569.gz
* use DokuHTTPClient in XMLRPC libraryAndreas Gohr2008-02-27
| | | | | | The code should work but is completely untested because it is currently not used. darcs-hash:20080227215408-7ad00-952ebba433991bde0c4282beeb4887c637eb25aa.gz
* xmlrpc_putpageDennis Ploeger2007-10-12
| | | | | | Adds the putpage-method to the xmlrpc-server-code darcs-hash:20071012135930-b8925-1d770de41b3e6aea4c612666194e915dda344647.gz
* experimental XMLRPC supportAndreas Gohr2006-11-25
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