Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#344 closed enhancement (fixed)

How to attach files to an ticket using XmlRpcPlugin

Reported by: vinay Owned by: athomas
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 9 years ago by athomas

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

comment:2 Changed 9 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 9 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

(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.

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.