pfumagalli / couldit-autoexport

Automatically exported from code.google.com/p/couldit-autoexport
Other
0 stars 1 forks source link

Auto Export XML-RPC API #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This patch adds an XML-RPC API to the Auto Export plugin exposing the following 
methods 

autoexport1.login(user,pass) 
autoexport1.exportPage(pageId) 
autoexport1.exportPage(spageKey, pageTitle) 
autoexport1.exportSpace(spaceKey) 
autoexport1.logout() 

Login is required before any other calls can be made. This patch does introduce 
a limitation, here is 
more info on that: http://forums.atlassian.com/thread.jspa?threadID=13511 

Original issue reported on code.google.com by ian...@gmail.com on 29 Nov 2007 at 12:32

Attachments:

GoogleCodeExporter commented 9 years ago
Looks like I forgot to put the correct license header on the files. To do the 
legal dance; this work is intended 
for inclusion in the auto export plugin and you have my explicit permission to 
license and distribute the code 
under the same license which auto export is distributed. 

/* 
===================================================================
======= * 
 * Copyright (c) 2006, Pier Paolo Fumagalli <mailto:pier@betaversion.org> * 
 * All rights reserved. * 
 * 
===================================================================
======= * 
 * * 
 * Redistribution and use in source and binary forms, with or without modifi- * 
 * cation, are permitted provided that the following conditions are met: * 
 * * 
 * - Redistributions of source code must retain the above copyright notice, * 
 * this list of conditions and the following disclaimer. * 
 * * 
 * - Redistributions in binary form must reproduce the above copyright * 
 * notice, this list of conditions and the following disclaimer in the * 
 * documentation and/or other materials provided with the distribution. * 
 * * 
 * - Neither the name of Pier Fumagalli, nor the names of other contributors * 
 * may be used to endorse or promote products derived from this software * 
 * without specific prior written permission. * 
 * * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" * 
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * 
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * 
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * 
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * 
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * 
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * 
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * 
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * 
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * 
 * POSSIBILITY OF SUCH DAMAGE. * 
 * 
===================================================================
======= */

Original comment by ian...@gmail.com on 29 Nov 2007 at 12:33