Commit Graph

10 Commits (da7cc0408d1c2a7a1dc4f1d286c0c85237603f5f)

Author SHA1 Message Date
Joey Hess 68018323ae add getsetup hook
in python, even, wow
2008-08-06 01:04:45 -04:00
martin f. krafft 33e3528cd9 Make proxy object available to hook functions
Hook functions now get the proxy object as first argument to be able to
use RPC via the proxy.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-21 15:07:10 -04:00
Joey Hess 646392f367 rename register_hook to just hook, for consistency with the perl 2008-03-15 15:42:52 -04:00
martin f. krafft e224e9cf33 fix debug method
Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit e924b6777ac0b6d04116f563f0fe749595e03d13)
2008-03-15 13:16:57 -04:00
martin f. krafft 7893c7ff5c remove todo comment about refactoring
Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit c6e7416f65285eba154a6a9b08c1401490f68bd1)
2008-03-15 13:15:57 -04:00
martin f. krafft f91d028c47 Bump rst plugin version to 0.3
Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit 338cacc006d3b58bc827a8009e9a991b0cabf367)
2008-03-15 13:15:26 -04:00
martin f. krafft dbb4cc565d Rewrite rst plugin for Python xml-rpc proxy
Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit c877e9b4b93b550710cb26e2b0bafad4922ff209)
2008-03-15 13:14:59 -04:00
martin f. krafft 46976ac142 add debbug reference to SimpleXMLRPCDispatcher workaround
Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-12 10:48:03 -04:00
martin f. krafft 8a43597a00 Handle SimpleXMLRPCDispatcher arg count change in Py2.5
SimpleXMLRPCDispatcher.__init__ takes 3 arguments instead of 1 since
python 2.5, so we check for that with a hack, for I found no better way,
other than catching a TypeError exception.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-12 10:46:36 -04:00
joey 65dca9f89d * Rewritten rst plugin by madduck is a python program that communicates with
ikiwiki via XML RPC. This should be much faster than the old plugin that
  had to fork python for every rst page render. Note that if you use
  the rst plugin, you now need to have the RPC::XML perl module installed.
2007-10-15 16:33:02 +00:00