Modify

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#344 closed enhancement (fixed)

How to attach files to an ticket using XmlRpcPlugin

Reported by: vinay Owned by: Alec Thomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

Is it possible? If so how is it done? I didn't see any particular thing in tickets.py to do it. Would I fo it from the wiki interface?, I don't see how that makes sense, considering that my anonymous user doesn't have WIKI_MODIFY capability, but can still attach to the tickets.

If this can be done already, please let me know how and feel free to close the ticket. Otherwise please let me know and I will see if I can go about implementing it (i'm not so good at python).

/Vinay

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by Alec Thomas

This is not possible currently. I'm not sure how XML-RPC would handle large binary content either.

comment:2 Changed 12 years ago by vinay

Well, I don't know about XML-RPC handling large binary data, but I know it can handle decent size amount. You could always implement the slightly harder to implement SOAP.

But, since it seems to be supported for the wikiRPC....i would imagine it would support it for this.

comment:3 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [808]) * Removed magic for guessing whether first argument to a remote call should be a req object. RPC methods now always receive a req object as their first argument.

  • Added ticket attachment add/remove/list/delete (closes #344).
  • Set newly created tickets status to new, unless specified (closes #401).
  • Made /xmlrpc listing a bit friendlier.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.