[Rt-commit] [svn] r1061 - in RT-Journal/trunk: .
html/Journal/Elements html/Journal/User lib/RT
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Sun Jun 13 01:04:32 EDT 2004
Author: jesse
Date: Sun Jun 13 01:04:32 2004
New Revision: 1061
Modified:
RT-Journal/trunk/Changes
RT-Journal/trunk/META.yml
RT-Journal/trunk/html/Journal/Elements/Attr
RT-Journal/trunk/html/Journal/Elements/BlogAsHTML
RT-Journal/trunk/html/Journal/User/dhandler
RT-Journal/trunk/lib/RT/Journal.pm
Log:
It builds. Ship it!
Modified: RT-Journal/trunk/Changes
==============================================================================
--- RT-Journal/trunk/Changes (original)
+++ RT-Journal/trunk/Changes Sun Jun 13 01:04:32 2004
@@ -1 +1,3 @@
+0.03 - Some fixups to public blog display so it actually works.
+
0.02 - Initial release
Modified: RT-Journal/trunk/META.yml
==============================================================================
--- RT-Journal/trunk/META.yml (original)
+++ RT-Journal/trunk/META.yml Sun Jun 13 01:04:32 2004
@@ -1,5 +1,5 @@
name: RT-Journal
-version: 0.01_01
+version: 0.03
abstract: RT Journal Extension
author: Jesse Vincent <jesse at bestpractical.com>
license: GPLv2
Modified: RT-Journal/trunk/html/Journal/Elements/Attr
==============================================================================
--- RT-Journal/trunk/html/Journal/Elements/Attr (original)
+++ RT-Journal/trunk/html/Journal/Elements/Attr Sun Jun 13 01:04:32 2004
@@ -3,7 +3,6 @@
$User => undef
</%args>
<%init>
-$RT::Logger->crit($User . " $Name");
my @attr = $User->Attributes->Named('RT::Journal-'.$Name);
if( UNIVERSAL::can($attr[0], 'Content')){
$m->out($attr[0]->Content);
Modified: RT-Journal/trunk/html/Journal/Elements/BlogAsHTML
==============================================================================
--- RT-Journal/trunk/html/Journal/Elements/BlogAsHTML (original)
+++ RT-Journal/trunk/html/Journal/Elements/BlogAsHTML Sun Jun 13 01:04:32 2004
@@ -23,7 +23,7 @@
[<a href="Edit.html?id=<%$post->Id%>"><&|/l&>Edit</&></a>]
% }
% my $comments = $post->Transactions;
-% $comments->Limit(FIELD => 'Type', VALUE => 'Correspond', OPERATOR => '=');
+% $comments->Limit(FIELD => 'Type', VALUE => 'Correspond', OPERATOR => '=', ENTRYAGGREGATOR => 'AND');
<div class="blog-footer">
<a href="<& Attr, User => $User, Name=>'BaseURL'&>/Entry/<%$post->Id%>"><&|/l,$comments->Count&>[_1] Comments</&></a> |
<a href="<& Attr, User => $User, Name=>'BaseURL'&>/Entry/<%$post->Id%>"><&|/l&>Permalink</&></a>
@@ -49,5 +49,5 @@
</%ARGS>
<%init>
#return if ($m->cache_self([expires_in => '1 hour']));
-my $guest = RT::CurrentUser->new('RT::Journal-guest');
+my $guest = RT::CurrentUser->new('RT::Journal-Guest');
</%init>
Modified: RT-Journal/trunk/html/Journal/User/dhandler
==============================================================================
--- RT-Journal/trunk/html/Journal/User/dhandler (original)
+++ RT-Journal/trunk/html/Journal/User/dhandler Sun Jun 13 01:04:32 2004
@@ -6,7 +6,7 @@
inherit => 0
</%flags>
<%init>
-#$m->comp('../Elements/_SetDefaults');
+$m->comp('../Elements/_SetDefaults');
my $argument = $m->dhandler_arg;
my $username;
Modified: RT-Journal/trunk/lib/RT/Journal.pm
==============================================================================
--- RT-Journal/trunk/lib/RT/Journal.pm (original)
+++ RT-Journal/trunk/lib/RT/Journal.pm Sun Jun 13 01:04:32 2004
@@ -2,7 +2,7 @@
use warnings;
package RT::Journal;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
1;
More information about the Rt-commit
mailing list