| #
5c3fa123 |
| 12-Mar-2025 |
Andreas Gohr <andi@splitbrain.org> |
do not return zero error code for API exceptions. fixes #4413
|
| #
d4f83172 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: line breaks
|
| #
4b867325 |
| 04-Feb-2022 |
Andreas Gohr <andi@splitbrain.org> |
Fix #3619 and correctly handle exceptions in XMLRPC
This ensures that any exception happening during XMLRPC processing is signalled correctly to the client as XML encoded error message.
|
| #
1cdd0090 |
| 07-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
moved XMLRPC server class from lib/exe to inc/Remote
|
| #
dd87735d |
| 07-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
PSR-2 compatibility for the remote API libs
|
| #
2a9d6d65 |
| 01-Oct-2016 |
Florian Rathgeber <florian.rathgeber@gmail.com> |
Return valid xml when XML-RPC interface not enabled, #1704
|
| #
42a6fba0 |
| 27-Apr-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
rename constructor, visibility functions of dokuwiki_xmlrpc_server
|
| #
0c43e719 |
| 15-Jun-2015 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Replace old constructor call by __construct() in dokuwiki_xmlrpc_server
|
| #
7e8500ee |
| 02-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
PHPDocs and some improvements
|
| #
42ea7f44 |
| 01-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Many PHPDocs, some unused and dyn declared vars
many PHPDocs some unused variables some dynamically declared variables declared
|
| #
9d2e1be6 |
| 16-Feb-2013 |
Andreas Gohr <andi@splitbrain.org> |
introduced http_status() for sending HTTP status code FS#1698
It seems, some servers require a special Status: header for sending the HTTP status code from PHP (F)CGI to the server. This patch intro
introduced http_status() for sending HTTP status code FS#1698
It seems, some servers require a special Status: header for sending the HTTP status code from PHP (F)CGI to the server. This patch introduces a new function (adopted from CodeIgniter) for simplifying the status handling.
show more ...
|
| #
b2a3342a |
| 18-Apr-2012 |
Tim Roes <mail@timroes.de> |
Added more detail error code for unauthorized calls in xmlrpc interface.
|
| #
b967e5fc |
| 22-Mar-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
removed requires, changed conf check in xmlrpc.php
|
| #
96946cc9 |
| 21-Mar-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
replaced $HTTP_RAW_POST_DATA with http_get_raw_post_data function
|
| #
3a6d7607 |
| 14-Mar-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
Merge branch 'master' of https://github.com/splitbrain/dokuwiki
Conflicts: lib/exe/xmlrpc.php
|
| #
750a55de |
| 05-Feb-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
corrected comment
|
| #
2203da5b |
| 01-Feb-2012 |
Andreas Gohr <andi@splitbrain.org> |
increased XMLRPC API version for 1d667b4
|
| #
e61127e4 |
| 08-Jan-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
refactored RemoteAccessDenied to RemoteAccessDeniedException
|
| #
f9501785 |
| 08-Jan-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
delegate file and date transformation to remote library
|
| #
3a13cfe7 |
| 08-Jan-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
set login as public method
|
| #
fe092d88 |
| 11-Dec-2011 |
Dominik Eckelmann <deckelmann@gmail.com> |
transfered bugfix from dokuwiki 97a000f0551735b35606d94d59abc4ff440783a5
|
| #
aafb4e36 |
| 01-Dec-2011 |
Tim Roes <mail@timroes.de> |
Fixed bug in XML-RPC search.
The score was randomly transfered as string or as integer. This way it will always be transfered as an integer.
|
| #
f3046d2b |
| 29-Nov-2011 |
Tim Roes <mail@timroes.de> |
Second part of the error codes. Forgot some :(
Added the new error codes and categories:
--- 212 Not allowed to delete media
== 230 Media edit error --- 231 Filename not given --- 232 File is stil
Second part of the error codes. Forgot some :(
Added the new error codes and categories:
--- 212 Not allowed to delete media
== 230 Media edit error --- 231 Filename not given --- 232 File is still referenced --- 233 Could not delete file
show more ...
|
| #
1c122589 |
| 29-Nov-2011 |
Tim Roes <mail@timroes.de> |
Using sensefull error codes.
Since there are currently a lot of error coded returning 1, that mean completly different thing, i guess it would be very nice to change this. A client should not be for
Using sensefull error codes.
Since there are currently a lot of error coded returning 1, that mean completly different thing, i guess it would be very nice to change this. A client should not be forced to parse the error message, the error code should be enough to explain the error.
This change suggests some error codes, that have a hierarchical structure. In the following list the categories begin with = and the error codes actually used with -.
= 100 Page errors == 110 Page access errors --- 111 User is not allowed to read the requested page --- 112 User is not allowed to edit the page == 120 Page existance errors --- 121 The requested page does not exist == 130 Page edit errors --- 131 Empty page id --- 132 Empty page content --- 133 Page is locked --- 134 Positive wordblock check
= 200 Media errors == 210 Media access errors --- 211 User is not allowed to read media --- 215 User is not allowed to list media == 220 Media existance errors --- 221 The requested media does not exist
= 300 Search errors == 310 Argument errors --- 311 The provided value is not a valid timestamp == 320 Search result errors --- 321 No chances in specified timeframe
show more ...
|
| #
3f3bb97f |
| 28-Nov-2011 |
Dominik Eckelmann <deckelmann@gmail.com> |
removed dublicated content
|