Permalink
Browse files

disabled caching, upgrades to bubbling / grails-ui and removed tags f…

…rom news items
  • Loading branch information...
graemerocher committed Apr 26, 2010
1 parent e0c324b commit b5be762b6984c60283f4f040f671d99e411fdecf
@@ -1,16 +1,16 @@
#Grails Metadata file
-#Tue Mar 09 15:34:58 CET 2010
-app.grails.version=1.3.0.BUILD-SNAPSHOT
+#Mon Apr 26 14:13:11 CEST 2010
+app.grails.version=1.3.0.RC2
app.name=site
app.servlet.version=2.4
app.version=3.2
plugins.autobase=0.8.5
plugins.avatar=0.3
-plugins.bubbling=2.1.1
+plugins.bubbling=2.1.2
plugins.commentable=0.7.4
plugins.feeds=1.4
-plugins.grails-ui=1.1-SNAPSHOT
-plugins.hibernate=1.3.0.BUILD-SNAPSHOT
+plugins.grails-ui=1.2-SNAPSHOT
+plugins.hibernate=1.3.0.RC2
plugins.jsecurity=0.3
plugins.mail=0.5
plugins.quartz=0.4.1-SNAPSHOT
@@ -21,5 +21,5 @@ plugins.searchable=0.5.4
plugins.simple-blog=0.1.3
plugins.springcache=1.2
plugins.taggable=0.6.1
-plugins.tomcat=1.3.0.BUILD-SNAPSHOT
+plugins.tomcat=1.3.0.RC2
plugins.yui=2.7.0.1
@@ -54,6 +54,7 @@ environments {
}
springcache {
+ disabled = true
defaults {
// set default cache properties that will apply to all caches that do not override them
eternal = false
@@ -397,6 +397,7 @@ class ContentController extends BaseWikiController {
// Homepage needs latest plugins
def newestPlugins = pluginService.newestPlugins(4)
def newsItems = BlogEntry.list(max:3, cache:true, order:"desc", sort:"dateCreated")
+
// make it easy to get the month and day
newsItems.each {
it.metaClass.getMonth = { ->
@@ -411,9 +412,7 @@ class ContentController extends BaseWikiController {
model:[
newestPlugins:newestPlugins,
newsItems:newsItems,
- latestScreencastId: latestScreencastId,
- newsComments:newsItems?.collect { it.comments },
- newsTags:newsItems?.collect { it.tags }
+ latestScreencastId: latestScreencastId
]
)
}
@@ -118,7 +118,7 @@
<g:link controller="blog" action="showEntry" params="[author:newsItem.author, title: newsItem.title]">
<div class="detail">
<h4><wiki:shorten length="50" text="${newsItem.title}" /></h4>
- <div class="author">by ${newsItem.author} | ${newsItem.tags.join(', ')}</div>
+ <div class="author">by ${newsItem.author} </div>
<div class="comments">${newsItem.comments.size()} comments</div>
</div>
<div class="calendar">

0 comments on commit b5be762

Please sign in to comment.