Roundup Tracker - Issues

Issue 2550554

classification
Title: Client-side Roundup library
Type: rfe Severity: normal
Components: Interface Versions: devel
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: stefan Nosy List: ajaksu2, richard, rouilj, stefan
Priority: normal Keywords: patch

Created on 2009-06-17 14:09 by stefan, last changed 2021-03-24 04:59 by rouilj.

Files
File name Uploaded Description Edit Remove
client.py stefan, 2009-06-17 14:09
client.py stefan, 2009-06-19 17:14
Messages
msg3727 Author: [hidden] (stefan) Date: 2009-06-17 14:09
With the XMLRPC interface in place and conveniently accessibly through
the normal web interface, not much is missing to allow client
applications to interact with Roundup directly.

This patch encapsulates the XMLRPC communication, and allows clients to
access a Roundup tracker through a simple and pythonic API.

How does this look ? I propose to put that into the Roundup source tree,
and package it separately for binary packages, so users can install it
independently from the server-side code.

How does this sound ?
msg3736 Author: [hidden] (stefan) Date: 2009-06-19 17:14
As I just checked in a change that adds a 'schema()' method to the
XMLRPC interface, here is a new version of the client-side library that
mirrors that addition.

Any suggestion where to put this file in the source tree ? We will also
want to think about how to package it, as it can be installed
stand-alone, without the server-side code.
msg3815 Author: [hidden] (stefan) Date: 2009-07-19 22:58
Richard, do you have any opinion on this ? Any idea how this would be
packaged ? Some users may only want to install the client-side...

Thanks,
msg3817 Author: [hidden] (richard) Date: 2009-07-20 06:11
Gee, it's small isn't it :)

It'd be a bit much to ask users of this library to install roundup itself.

I actually think it might be an idea to create a new dist for this, so it should belong in a 
separate tree of the SVN. Perhaps /roundup-client/?
msg5886 Author: [hidden] (rouilj) Date: 2016-07-22 22:40
Stefan,
I would like to get this into the tree.

Maybe under share/roundup/xml_client_library or
roundup/client_lib/xml_rpc so it will get installed on the
roundup server and people can copy the file to the client
system as needed.

However I would like to include an example or two of how to use it.
Do you have an example using the classic demo tracker?
msg7106 Author: [hidden] (rouilj) Date: 2021-03-13 17:24
Ping Stefan:

This needs updating to python3 and I still need doc/example of use.

Do you have some time to bring this up to date and document it?

-- rouilj
msg7107 Author: [hidden] (stefan) Date: 2021-03-13 22:21
Do you have a publicly accessible tracker instance I could use to test this ?
I'm afraid I don't know how to set up a new instance, and I don't have time right now to dive in to learn it.
Thanks,
msg7108 Author: [hidden] (rouilj) Date: 2021-03-14 01:42
Hi Stefan:

In message <1615674083.93.0.00855263044248.issue2550554@roundup.psfhosted.org>,
Stefan Seefeld writes:
>Do you have a publicly accessible tracker instance I could use to
>test this ? I'm afraid I don't know how to set up a new instance,
>and I don't have time right now to dive in to learn it.

Try:

   https://rouilj.dynamic-dns dot net/demo/

replacing "dot" with a '.'. The xmlrpc endpoint should be;

   https://rouilj.dynamic-dns dot net/demo/xmlrpc

Login user: demo, password: demo.

That user should have the /xmlrpc endpoint enabled. If you go the the
tracker and look at issue1, you will have directions on the various
logins.

Note this is an extensively modified tracker compared to the classic
tracker, but the issue object has messages, title, status etc. so you
should be able to generate an example that will work with the classic
tracker.

Thanks for taking a shot at creating an example.
msg7109 Author: [hidden] (rouilj) Date: 2021-03-14 02:31
Hi Stefan:

I forgot to mention that I have anti-csrf methods enabled.
So you need to add the following headers to your request:

"Referer", "https://rouilj.dynamic-dns dot net/demo/
"Origin", "https://rouilj.dynamic-dns dot net
"X-Requested-With": "xmlrpc"

See the documentation in the doc/xmlrpc.txt for an more detailed
example.

				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
msg7137 Author: [hidden] (rouilj) Date: 2021-03-24 04:59
Hi Stefan:

Is there anything more you need from me?

-- rouilj
History
Date User Action Args
2021-03-24 04:59:46rouiljsetmessages: + msg7137
2021-03-14 02:31:37rouiljsetmessages: + msg7109
2021-03-14 01:42:29rouiljsetmessages: + msg7108
2021-03-13 22:21:23stefansetmessages: + msg7107
2021-03-13 17:24:31rouiljsetmessages: + msg7106
2016-07-22 22:40:38rouiljsetnosy: + rouilj
messages: + msg5886
2009-07-20 06:11:16richardsetmessages: + msg3817
2009-07-19 22:58:32stefansetstatus: new -> open
priority: normal
messages: + msg3815
2009-06-19 17:14:03stefansetfiles: + client.py
messages: + msg3736
2009-06-17 14:09:03stefancreate