Skip to content
Snippets Groups Projects
  1. Nov 29, 2011
    • Tim Roes's avatar
      Using sensefull error codes. · 1c122589
      Tim Roes authored
      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
      1c122589
  2. Nov 26, 2011
    • Tim Roes's avatar
      Fixed XML-RPC getAttachment method. · 5505dd9a
      Tim Roes authored
      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.
      5505dd9a
  3. Oct 30, 2011
  4. Oct 27, 2011
  5. Oct 15, 2011
  6. Sep 13, 2011
  7. Sep 06, 2011
  8. Sep 04, 2011
  9. Sep 02, 2011
  10. Aug 24, 2011
  11. Aug 20, 2011
  12. Aug 19, 2011
  13. Aug 18, 2011
  14. Aug 15, 2011
  15. Aug 12, 2011
  16. Aug 08, 2011
  17. Aug 07, 2011
  18. Aug 04, 2011
  19. Aug 03, 2011
  20. Aug 02, 2011
  21. Jul 26, 2011
  22. Jul 11, 2011
  23. Jul 10, 2011
  24. Jul 08, 2011
  25. Jul 05, 2011
  26. Jul 04, 2011
  27. Jul 03, 2011
Loading