[Trac] Re: create new ticket via xmlrpc

2009-05-13 Thread Lukasz Szybalski

On Tue, May 12, 2009 at 3:28 PM, Lukasz Szybalski szybal...@gmail.com wrote:
 Hello,
 I'm trying to find an example of how to create a new ticket via xmlrpc.

 I've got the stand alone server and authentication going. I am able to
 login via xmlrpc but how do I create a new ticket?
 How do I add an attachment with a new ticket?
 How to set custom fields?

 Thanks,
 Lucas


I was able to create a new ticket via xmlrpc.

Is there a render for pdf attachments in trac?


File fax000314169.pdf, 32.2 kB  (added by admin, 15 seconds ago)

fax000314169.pdf

HTML preview not available, since no preview renderer could handle it.
Try downloading the file instead.



If is there somekind of plugin that would allow the pdf to be opened
when somebody clicks on the attachment?



Thanks,
Lucas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: create new ticket via xmlrpc

2009-05-13 Thread Olemis Lang

On Wed, May 13, 2009 at 9:34 AM, Jeff Hammel jham...@openplans.org wrote:

 snip/
 I was able to create a new ticket via xmlrpc.

 Is there a render for pdf attachments in trac?

 
 File fax000314169.pdf, 32.2 kB  (added by admin, 15 seconds ago)

 fax000314169.pdf

 HTML preview not available, since no preview renderer could handle it.
 Try downloading the file instead.
 


 If is there somekind of plugin that would allow the pdf to be opened
 when somebody clicks on the attachment?



 Thanks,
 Lucas

 You can always click on the download link, or for a quick and dirty hack see:

 http://trac-hacks.org/wiki/PdfRendererPlugin


Cool ! Didnt know ... :-/

Trac is awesome ! Keep up the good work ! It can get even better ;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: create new ticket via xmlrpc

2009-05-13 Thread Lukasz Szybalski



On May 13, 9:43 am, Olemis Lang ole...@gmail.com wrote:
 On Wed, May 13, 2009 at 9:34 AM, Jeff Hammel jham...@openplans.org wrote:

  snip/
  I was able to create a new ticket via xmlrpc.

  Is there a render for pdf attachments in trac?

  
  File fax000314169.pdf, 32.2 kB  (added by admin, 15 seconds ago)

  fax000314169.pdf

  HTML preview not available, since no preview renderer could handle it.
  Try downloading the file instead.
  

  If is there somekind of plugin that would allow the pdf to be opened
  when somebody clicks on the attachment?

  Thanks,
  Lucas

  You can always click on the download link, or for a quick and dirty hack 
  see:

 http://trac-hacks.org/wiki/PdfRendererPlugin

Is there something better?

Something like  scribd or google pdf render (google books)

I really would like to render these pdfs on the website. I tried
getting the adobe plugin to work on the trac but its not working. It
works on any other page but the trac. I guess it might have something
to do with the way encoding is done or something along these lines.

Ideas?

Thanks,
Lucas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: create new ticket via xmlrpc

2009-05-13 Thread Jeff Hammel

On Wed, May 13, 2009 at 09:40:50AM -0700, Lukasz Szybalski wrote:
 
 
 
 On May 13, 9:43 am, Olemis Lang ole...@gmail.com wrote:
  On Wed, May 13, 2009 at 9:34 AM, Jeff Hammel jham...@openplans.org wrote:
 
   snip/
   I was able to create a new ticket via xmlrpc.
 
   Is there a render for pdf attachments in trac?
 
   
   File fax000314169.pdf, 32.2 kB  (added by admin, 15 seconds ago)
 
   fax000314169.pdf
 
   HTML preview not available, since no preview renderer could handle it.
   Try downloading the file instead.
   
 
   If is there somekind of plugin that would allow the pdf to be opened
   when somebody clicks on the attachment?
 
   Thanks,
   Lucas
 
   You can always click on the download link, or for a quick and dirty hack 
   see:
 
  http://trac-hacks.org/wiki/PdfRendererPlugin
 
 Is there something better?
 
 Something like  scribd or google pdf render (google books)
 
 I really would like to render these pdfs on the website. I tried
 getting the adobe plugin to work on the trac but its not working. It
 works on any other page but the trac. I guess it might have something
 to do with the way encoding is done or something along these lines.
 
 Ideas?
 
 Thanks,
 Lucas

While I don't have any time to work on it, if any one wants to make the 
PdfRendererPlugin better, I would gladly accept patches or grant access to its 
SVN. I threw up what I did as a 1 hour example because I was annoyed at not 
being able to see a PDF someone else had uploaded to Trac ;)

Jeff

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---