Re: [rt-users] RSS feed customization
On Mon, Jul 22, 2013 at 06:14:43PM -0700, S P wrote: Is there a way to include the queue name in the RSS feed of a saved search (or add it to the title or subject)? The directions at http://requesttracker.wikia.com/wiki/RssFeed reference adding strings to the dc hash, but the Results.rdf file distributed with 4.0.8 doesn't contain a dc hash section (and doesn't contain much, in contrast to the Results.rdf file in 3.x) There is no configuration of that code, just local overlays. As you say, in 4.0 that file is very short: /Search/Elements/ResultsRSSView, %ARGS That loads and runs the specified mason component (since the same code is used from 2 different places). If you're going to be making changes to RT, it's worth reviewing documentation on how Mason works. http://www.masonbook.com/ -kevin pgpjIgwu58NOS.pgp Description: PGP signature
[rt-users] RSS feed customization
Hi, Is there a way to include the queue name in the RSS feed of a saved search (or add it to the title or subject)? The directions at http://requesttracker.wikia.com/wiki/RssFeed reference adding strings to the dc hash, but the Results.rdf file distributed with 4.0.8 doesn't contain a dc hash section (and doesn't contain much, in contrast to the Results.rdf file in 3.x) Thanks! Sean
[rt-users] RSS feed doesn't work in Outlook/Thunderbird
Hello everybody Ubuntu 10.04 Server LTS RT 3.8.9 We would like to use RSS feeds notifications over ths ms outlook client ... but sth. doesn't work Here is the RSS link: https://xxx.xxx.xxx/NoAuth/rss/user/74b8b94a96c1cb23/?Order=DESCOrderBy=CreatedQuery=%20Owner%20%3D%20%27Nobody%27%20AND%20(%20Status%20%3D%20%27new%27%20OR%20Status%20%3D%20%27open%27) I tried some rss reader: MS outlook2003: fail ( comes an error that the url is not valid and cannot be found) Thunderbird: fail ( comes an error that the url cannot be found plz. try again) NFReader: success All other RSS-Feeds from the internet are working together with thunderbird and outlook. the RT.Log doesn't show any errors of it an the same with the Apache Log Here is my RTSiteConfig: #Set( $rtname, 'example.com'); #Set(@Plugins,(qw(Extension::QuickDelete RT::FM))); #Set(@Plugins,'RT::Extension::JSGantt'); 1; ### #Standard Settings and Config## ### Set(%GnuPG, Enable = 0 ); # $user_passwd_min defines the minimum length for user passwords. Setting # it to 0 disables this check # $Timezone is used to convert times entered by users into GMT and back again # It should be set to a timezone recognized by your local unix box. #TIMEZONE . takes the timezone from linux installation. my $zone = CEST; $zone='/bin/cat /etc/timezone' if -f /etc/timezone; chomp $zone; Set($Timezone, $zone); #Set($WebPath , '/rt'); #Set($WebBaseURL , http://rt.example.com;); Set($WebDomain, xxx.xxx.local); Set($WebPort, 443); Set($LogToFileNamed , rt.log); Set($LogToFile, 'debug'); Set($RTAddressRegexp , '^help(-comment)?\@(help|admin)\.(example\.org|ourother\.domain\.com)$'); ### # #Data Base Config # # }}} # {{{ Database Configuration # Database driver beeing used. Case matters # Valid types are mysql, Oracle and Pg Set($DatabaseType , 'mysql'); # The domain name of your database server # If you're running mysql and it's on localhost, # leave it blank for enhanced performance Set($DatabaseHost , 'localhost'); Set($DatabaseRTHost , 'localhost'); # The port that your database server is running on. Ignored unless it's # a positive integer. It's usually safe to leave this blank Set($DatabasePort , ); #The name of the database user (inside the database) Set($DatabaseUser , 'rt_user'); # Password the DatabaseUser should use to access the database Set($DatabasePassword , ''); #Loading Plugins # Set(@Plugins,(qw(RT::Extension::JSGantt RT::Authen::ExternalAuth RT::Extension::PriorityAsString RT::Extension::HistoryFilter RT::Extension::ReminderImproved ))); ## JS Gantt Settings # #Set(@Plugins,'RT::Extension::JSGantt'); Set( %JSGanttOptions, DefaultFormat = 'day', # or week or month or quarter ShowOwner = 1, ShowProgress = 1, ShowDuration = 1, ColorScheme = ['ff', '00', 'ff00ff', '00ff00', '00', 'ff'], # if can't find both start and end dates, use this color NullDatesColor = 333, # to caculate day length WorkingHoursPerDay = 8, # used to set start/end if one exists but the other does not DefaultDays = 7, ); regards john -- View this message in context: http://old.nabble.com/RSS-feed-doesn%27t-work-in-Outlook-Thunderbird-tp33323064p33323064.html Sent from the Request Tracker - User mailing list archive at Nabble.com. RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012
Re: [rt-users] RSS Feed - listing newest instead of oldest?
Kevin Falcone falcone at bestpractical.com writes: On Wed, Oct 26, 2011 at 10:21:42AM -0700, Joseph Spenner wrote: When using the RSS feed option to view a queue, is it possible to configure the results such that the entry listed under each ticket is the most recent entry rather than the first entry in the ticket? You'll need to make a local overlay of Search/Elements/ResultsRSSView and change the line that returns the content of the create transaction. -kevin Kevin: Is there any documentation explaining how to do this? I took a few stabs/guesses at it, but all I did was prevent RT/apache from restarting. I'm surprised more people aren't interested in this as the default behavior, since it seems to me it would make more sense to look at what is new rather than what was originally posted in a message. Thanks! RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 29, 2011
Re: [rt-users] RSS Feed - listing newest instead of oldest?
On Mon, Oct 31, 2011 at 06:43:21PM +, Joseph Spenner wrote: Kevin Falcone falcone at bestpractical.com writes: On Wed, Oct 26, 2011 at 10:21:42AM -0700, Joseph Spenner wrote: When using the RSS feed option to view a queue, is it possible to configure the results such that the entry listed under each ticket is the most recent entry rather than the first entry in the ticket? You'll need to make a local overlay of Search/Elements/ResultsRSSView and change the line that returns the content of the create transaction. Is there any documentation explaining how to do this? I took a few stabs/guesses at it, but all I did was prevent RT/apache from restarting. The customizing RT wiki page is probably your best bet: http://requesttracker.wikia.com/wiki/Customizing Your example earlier of switching from First to Last is unlikely to be right, since your Last transaction could be an owner change or a Priority change, not necessarily a comment/correspondence. I'm surprised more people aren't interested in this as the default behavior, since it seems to me it would make more sense to look at what is new rather than what was originally posted in a message. I think there may be a ticket open about it, but it's not been a high priority. If a patch came in, it's certainly something we'd look at. It's also something that would be really easy to change as an extension which we could use to see what people want out of that feed. I'd also be interested in patches to make the calendar feeds more flexible. -kevin pgpFJlujY5vo1.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Barcelona, Spain November 28 29, 2011
Re: [rt-users] RSS Feed - listing newest instead of oldest?
On Wed, Oct 26, 2011 at 10:21:42AM -0700, Joseph Spenner wrote: When using the RSS feed option to view a queue, is it possible to configure the results such that the entry listed under each ticket is the most recent entry rather than the first entry in the ticket? You'll need to make a local overlay of Search/Elements/ResultsRSSView and change the line that returns the content of the create transaction. -kevin pgpPyVZKLIEro.pgp Description: PGP signature RT Training Sessions (http://bestpractical.com/services/training.html) * Washington DC, USA October 31 November 1, 2011 * Barcelona, Spain November 28 29, 2011
Re: [rt-users] RSS Feed - listing newest instead of oldest?
On Wed, Oct 26, 2011 at 10:21:42AM -0700, Joseph Spenner wrote: When using the RSS feed option to view a queue, is it possible to configure the results such that the entry listed under each ticket is the most recent entry rather than the first entry in the ticket? You'll need to make a local overlay of Search/Elements/ResultsRSSView and change the line that returns the content of the create transaction. -kevin Ok, I was afraid of that. :) Not being a developer, I'm not sure what to do. I found the file you mentioned: /opt/rt3/share/html/Search/Elements/ResultsRSSView Is this the line to edit? description = $Ticket-Transactions-First-Content, and change to something intuitive, such as: description = $Ticket-Transactions-Last-Content, ? RT Training Sessions (http://bestpractical.com/services/training.html) * Washington DC, USA October 31 November 1, 2011 * Barcelona, Spain November 28 29, 2011
[rt-users] RSS feed
Hi! Would be NICE to have possibility to control (in RT_SiteConfig.pm) do user see RSS feed or not. Our company policy says that RSS feed of tickets is not allowed, and now only way (far as I know) to prevent that is edit 'share/html/Search/Elements/ResultViews' file. -- JJussi ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 23 Dublin, Ireland - Mar 15 16 Boston, MA, USA - April 5 6 Washington DC, USA - Oct 25 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] RSS feed from within CAS protected (WebExternalAuth=1) RT website
Not really a RT issue, but since it came up in the process of setting it up :) In short, my entire RT website (except for /NoAuth/) is CAS-protected (with Set($WebExternalAuth, 1)). So as my CAS timesout (or whatever it does), my RSS feed of RT tickets stops working. Logging in to RT (via CAS) makes RSS ok again. Going directly to .../rt3/share/html/Search/Results.rdf just redirects me to our CAS login page. After that, it redirects me back to the RSS feed, and I'm fine. So I tried copying the .../rt3/share/html/Search/Results.rdf over to .../rt3/share/html/NoAuth/Results.rdf and then went to it directly. This gives me the error: Invalid at the top level of the document. Line: 1 Character: 1 Can't call method HasRight on an undefined value at /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm line 3351. using IE7. Using Firefox3, I get roughly the same message. I didn't want to start copying a bunch of files over from the real RT3 to my /NoAuth/ directory. If it's only one or two, I suppose I could, and if that's the case, and anyone knows what those files are, I'd appreciate a note. Otherwise, if there is an easier/better way to do it, a note on that would be greatly appreciated as well. RT-3.8.2 on OpenBSD-4.4 using Apache-2.2.11 with ModPerl-2.0.4, MySQL-5.0.67, OpenSSL 0.98i, and mod_auth_cas-1.0.8. Aside from the RSS bit (and only when my CAS expires/timeouts), it's working fine :) Thank you, PH - Paul Hirose : pthir...@ucdavis.edu : Sysadm Motto: rm -fr /MyLife 1034 Academic Surge : Programmer/Analyst : Backup Motto : rm -fr / One Shields Avenue : Voice (530) 752-7181 : Robot, n.: Univ. Admin Davis, CA 95616-8770 : Fax (530) 752-4465 : rec.pets.cat.anecdotes ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RSS Feed Permissions/Authentication problem (Repost)
Torben Nehmer wrote: Hello everybody, does anybody have any idea here, would it be possible to move the RSS streams to HTTP Basic Authentication? Sure. RT supports HTTP Auth out of the box. Have a look ing the config file for the configuration options. -Jesse ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users SAVE THOUSANDS OF DOLLARS ON RT SUPPORT: If you sign up for a new RT support contract before December 31, we'll take up to 20 percent off the price. This sale won't last long, so get in touch today. Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745. Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
AW: [rt-users] RSS Feed Permissions/Authentication problem (Repost)
Hi there, does anybody have any idea here, would it be possible to move the RSS streams to HTTP Basic Authentication? In advance, I apologize for not having tested this myself with RT. The following is just wild guessing but it's probably the way I'd try to go if I had to (and I actually do so in other frameworks): You could try to retrieve the RSS data off-line by means of some command-line tool. Then let your WWW server do the authentication. I am using a method called screen scraping by means of Perl's WWW::Mechanize. WWW::Mechanize is old but still does a good job. http://www.google.com/search?q=WWW%3A%3AMechanize+Screen+scraping This is an interesting idea, I will think about this. Nevertheless I would prefer it, if RT would support HTTP Basic Auth for RSS Feeds out of the box, it shouldn't be that hard to implement (if one knows RT and Perl that is ;-)). I doubt, that the RSS feeds are useable within the average RSS client across the board, except perhaps the browser-integrated ones where you explicitly authenticate yourself beforehand. But then, if I have to go to the RT site to use the RSS feeds in the first place, many of the RSS advantages are gone. Let alone the usability problems for the average management guy... Yours, Torben Nehmer --- Torben Nehmer Diplom Informatiker (FH) Business System Developer CANCOM Deutschland GmbH Messerschmittstr. 20 89343 Scheppach Germany Tel.: +49 (0)8225 - 996-1118 Fax: +49 (0)8225 - 996-41118 [EMAIL PROTECTED] www.cancom.de CANCOM Deutschland GmbH Sitz der Gesellschaft: Jettingen-Scheppach HRB 10653 Memmingen Geschäftsführer: Paul Holdschik, Christian Linder Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschließlich für den Gebrauch durch den Empfänger bestimmt! This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee! ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users SAVE THOUSANDS OF DOLLARS ON RT SUPPORT: If you sign up for a new RT support contract before December 31, we'll take up to 20 percent off the price. This sale won't last long, so get in touch today. Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745. Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RSS Feed Permissions/Authentication problem (Repost)
Hi there, On Mon, 19 Nov 2007, Torben Nehmer wrote: does anybody have any idea here, would it be possible to move the RSS streams to HTTP Basic Authentication? In advance, I apologize for not having tested this myself with RT. The following is just wild guessing but it's probably the way I'd try to go if I had to (and I actually do so in other frameworks): You could try to retrieve the RSS data off-line by means of some command-line tool. Then let your WWW server do the authentication. I am using a method called screen scraping by means of Perl's WWW::Mechanize. WWW::Mechanize is old but still does a good job. http://www.google.com/search?q=WWW%3A%3AMechanize+Screen+scraping HTH, -- -- Andreas ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users SAVE THOUSANDS OF DOLLARS ON RT SUPPORT: If you sign up for a new RT support contract before December 31, we'll take up to 20 percent off the price. This sale won't last long, so get in touch today. Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745. Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] RSS Feed Permissions/Authentication problem (Repost)
Hello everybody, does anybody have any idea here, would it be possible to move the RSS streams to HTTP Basic Authentication? Old post: | Is there a way to load the RSS feeds of RT within a RSS Reader without | having to use the form based authentication beforehand? | | In my case here I have tried adding a Ticket Feed to the Outlook of my | boss, which can't load the feed because of missing authentication | (obviously). Other RSS Readers could have the same problem, I'd suspect. Greetings, Torben. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users SAVE THOUSANDS OF DOLLARS ON RT SUPPORT: If you sign up for a new RT support contract before December 31, we'll take up to 20 percent off the price. This sale won't last long, so get in touch today. Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745. Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com