﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
7386,Option to not santize URLs in RSS feed,enhancement,0.11,Simon Smithson,new,2010-07-15T19:07:12+02:00,2010-07-15T19:07:12+02:00,"I am having a problem with URLs being sanitized because the server the URL points to does not correctly handle sanitized URLs; specifically {{{&}}} are being replaced by {{{&amp;}}}. I've submitted a bug report against that server software (TestTrack Pro to be exact) but would like to workaround the problem at the RSS client.

An optional parameter in the RssEmbed macro to turn off URL sanitizing would be ideal.

For example, {{{[[RssEmbed(url=http://127.0.0.1:8000/test/query?status=!closed&amp;format=rss&amp;order=priority,sanitize=false)]]}}}",Lucas Rangit MAGASWERAN
7248,Doesn't work with password protected feeds,defect,0.12,Simon Smithson,new,2010-06-15T19:37:59+02:00,2010-06-15T19:37:59+02:00,"feedparser allows passing a username and password in the URl like this:

 * !http://username:password@feedparser.org/docs/examples/basic_auth.xml'

See the docs here: http://feedparser.org/docs/http-authentication.html.

However this doesn't work in RssEmbed because the macro also passes the URL to the urlopen function, which doesn't understand the syntax: it thinks 'password' is a port because of the semicolon.  I guess the urlopen is done to provide more detailed error reporting in the event of a failure, but in this case it causes the failure.

Workaround is to comment out the call to urlopen.

Maybe a proper fix would involve passing the username and password as separate parameters, then urlopen could still be called on the actual url.  The macro would then construct the extended url expected by feedparser.

Tested with trac 0.12b1.",anonymous
6935,Showing the feed title should be optional,enhancement,0.11,Simon Smithson,new,2010-04-07T00:16:19+02:00,2010-04-07T00:16:19+02:00,"You might want to have a custom title for the feed elsewhere on the wiki page, so displaying the default title for the feed should be optional. I've written a simple patch to make this configurable (the feed title is displayed by default, so this is backwards compatible).

To hide the feed's title, just pass {{{title=false}}} to the macro.",Nicholas Bergson-Shilcock
6434,Set a parameter with the number of entries to be displayed,enhancement,0.11,Simon Smithson,new,2010-01-15T13:02:25+01:00,2010-04-06T23:11:54+02:00,Add another parameter what limits the number of entries shown. ,Ismael de Esteban
5824,Timeline RSS-Feed doesn't work with Trac 0.11,defect,0.11,Simon Smithson,assigned,2009-09-15T15:06:03+02:00,2009-10-08T13:00:57+02:00,"I tried to use this macro together with the in trac built in RSS Feed for the timeline But I get this Error:
{{{
coercing to Unicode: need string or buffer, NoneType found
}}}

The Trac Log tells me this:
{{{
2009-09-15 14:28:53,012 Trac[formatter] ERROR: Macro RssEmbed(url=http://***/projects/***/timeline?ticket=on&max=50&daysback=90&format=rss,details=true) failed
Traceback (most recent call last):
  File ""/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/wiki/formatter.py"", line 468, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File ""/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/wiki/formatter.py"", line 179, in process
    text = self.processor(text)
  File ""/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/wiki/formatter.py"", line 166, in _macro_processor
    text)
  File ""build/bdist.linux-x86_64/egg/rssembed/macro.py"", line 91, in expand_macro
    return ""Cannot contact server: ""+outputText+""\n (""+url+"" ""+ proxy + "")""
TypeError: coercing to Unicode: need string or buffer, NoneType found
}}}

A solution would be welcome.

",anonymous
5943,RssEmbedMacro should depend on feedparser,defect,0.11,Simon Smithson,assigned,2009-10-07T18:25:19+02:00,2009-10-08T02:03:50+02:00,"Since feedparser is required, add it to the `setup.py`:

{{{
Index: setup.py
===================================================================
--- setup.py	(revision 6660)
+++ setup.py	(working copy)
@@ -26,7 +26,7 @@
         'Programming Language :: Python',
     ],
 
-    install_requires = ['Trac'],
+    install_requires = ['Trac', 'feedparser'],
 
     entry_points = {
         'trac.plugins': [
}}}",Jeff Hammel
5944,"undefined global, _usage",defect,0.11,Simon Smithson,assigned,2009-10-07T19:01:05+02:00,2009-10-08T02:03:45+02:00,"doing `[[RssEmbed(http://trac-hacks.org/query?status=new&status=assigned&status=reopened&format=rss&component=GeoTicketPlugin&order=priority)]]` (note lack of ''url='') displays an error message about an undefined global, `_usage`. And sure enough, `_usage` is not defined:

{{{
(Trac-2.4)> cff '_usage'
--->>> /home/jhammel/Trac-2.4/src/TracRssEmbed/rssembed/macro.py :
60-        largs, kwargs = parse_args(args)
61-
62-        if not kwargs.has_key('url'):
63:            return _usage()
64-        url = kwargs['url']
65-
66-        if kwargs.has_key('details'):
}}}",Jeff Hammel
5946,weird display of tickets with short description,defect,0.11,Simon Smithson,assigned,2009-10-07T21:17:25+02:00,2009-10-08T02:03:35+02:00,"I am using the RssEmbedMacro (thank you, BTW, love it) to scrape issues of several of my plugins on trac-hacks into a wiki page:

https://projects.openplans.org/GeoTrac/wiki/Components

Things display okay, but the end of the page looks a bit broken.  See screenshot.  Not sure if it is only the short description or other factors.  FF 3 in a 1440 x 900 display.",Jeff Hammel
5476,Strange sorting order of RssEmbedMacro,defect,0.11,Simon Smithson,assigned,2009-07-06T14:33:05+02:00,2009-07-19T13:30:58+02:00,I have RssEmbedMacro to get me a list of Bugzilla bugs (using the Bugzill Feed button). The order shown by the macro is different from the order displayed in Bugzilla. Can i manipulate the sorting order of the macro somehow ?,rino@…
