Changes between Version 102 and Version 103 of XmlRpcPlugin


Ignore:
Timestamp:
May 23, 2015, 8:47:49 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • XmlRpcPlugin

    v102 v103  
    22
    33= Trac XML-RPC Plugin
    4  
    5 Remote Procedure Call plugin for Trac 0.10 (not actively maintained) and 0.11/0.12/1.0/++ (trunk).
    64
    75== Description
     
    1917Protocol and method documentation for the latest version of the plugin can be found [/rpc here].
    2018 
    21 == Todo
     19=== Todo
    2220
    2321Outstanding tasks are roadmap, timeline, user management, for example get a (filtered) user list to assign a task in [http://eclipse.org/mylyn/ mylyn]), plugin management, plus probably more.
    2422
    25 == Bugs/Feature Requests == 
    26  
    27 Existing bugs and feature requests for XmlRpcPlugin are [query:status!=closed&component=XmlRpcPlugin&order=priority here]. If you have any issues, create a [/newticket?component=XmlRpcPlugin&owner=osimons&cc=olemis new ticket].
     23== Bugs/Feature Requests
     24 
     25Existing bugs and feature requests for XmlRpcPlugin are [query:status!=closed&component=XmlRpcPlugin&order=priority here].
     26
     27If you have any issues, create a [/newticket?component=XmlRpcPlugin&owner=osimons&cc=olemis new ticket].
    2828
    2929[[TicketQuery(component=XmlRpcPlugin&group=type,format=progress)]]
     
    3535Experimental features and work in progress can be found at a [http://bitbucket.org/osimons/trac-rpc-mq/ patches repository hosted by Bitbucket]. Work in progress is developed using [http://hgbook.red-bean.com/read/managing-change-with-mercurial-queues.html Mercurial Queues].
    3636
    37 For enhanced compatibility with [wiki:bloodhound Apache™ Bloodhound]>=0.6 download ''BloodhoundRPC'' fork from [https://bitbucket.org/olemis/bloodhound-rpc this repository] and check out `bloodhound_rpc` branch.
     37For enhanced compatibility with [wiki:ApacheBloodhound Apache™ Bloodhound] >= 0.6 download the ''BloodhoundRPC'' fork from [https://bitbucket.org/olemis/bloodhound-rpc this repository] and check out `bloodhound_rpc` branch.
    3838
    3939== Installation
     
    5252If you want it to be installed for all Trac environments, then depending on the version of Trac you are running:
    5353 
    54 {{{
    55 #!sh
     54{{{#!sh
    5655easy_install -Z -U http://trac-hacks.org/svn/xmlrpcplugin/trunk # 0.11/0.12/1.0/++
    5756easy_install -Z -U http://trac-hacks.org/svn/xmlrpcplugin/0.10 # 0.10
     
    6362You will also need to enable the plugin in your `trac.ini` file:
    6463 
    65 {{{
    66 #!ini
     64{{{#!ini
    6765[components]
    6866tracrpc.* = enabled
     
    7573If you have the AccountManagerPlugin enabled and you followed their advice/example to disable the standard login module as follows:
    7674
    77 {{{
    78 #!ini
     75{{{#!ini
    7976[components]
    8077trac.web.auth.LoginModule = disabled
     
    8380then the /login/xmlrpc URL for authorized access will not work as expected. Every access will look like anonymous access.
    8481 
    85 ~~You can use the HttpAuthPlugin to correct this.~~
    86 
    8782The recommended approach to make it work is to add the following configuration in TracIni:
    8883
    89 {{{
    90 #!ini
     84{{{#!ini
    9185[account-manager]
    9286environ_auth_overwrite = false
     
    113107Obtain and print a list of XML-RPC exported functions available to my user:
    114108         
    115 {{{
    116 #!python
     109{{{#!python
    117110import xmlrpclib
    118111         
     
    127120The same example using `system.multicall()`. This reduces network and server load by compacting all of the `system.methodHelp()` calls into one HTTP POST.
    128121                 
    129 {{{
    130 #!python
     122{{{#!python
    131123import xmlrpclib
    132124         
     
    147139List all tickets that are owned by athomas, using the XML-RPC multicall system to issue multiple RPC calls with one HTTP request:
    148140         
    149 {{{
    150 #!python
     141{{{#!python
    151142import xmlrpclib
    152143                 
     
    161152Access the Wiki with [http://www.jspwiki.org/Wiki.jsp?page=WikiRPCInterface2 WikiRPC]:
    162153
    163 {{{
    164 #!python
     154{{{#!python
    165155import xmlrpclib
    166156                 
     
    180170Add an attachment to WikiStart:
    181171         
    182 {{{
    183 #!python
     172{{{#!python
    184173import xmlrpclib
    185174 
     
    193182One can use digest authentication if you know the realm that you are connecting to. This shows up in the login box "server says '<realm'".
    194183
    195 {{{
    196 #!python
     184{{{#!python
    197185class HTTPSDigestTransport(xmlrpclib.SafeTransport):
    198186    """