Re: [Radiant] Re: Caching and Application/Site Controllers

2010-10-22 Thread Josh French
> So do you think it's possible to add the logic to a middleware object and add > the middleware object to the stack? Actually... wouldn't that work as long as it was inserted before Rack::Cache? Can someone more familiar with the caching layer confirm/deny? On Oct 21, 2010, at 10:38 PM, Stan

Re: [Radiant] Re: Caching and Application/Site Controllers

2010-10-22 Thread Jim Gay
On Fri, Oct 22, 2010 at 9:18 AM, Josh French wrote: > So do you think it's possible to add the logic to a middleware object and > add the middleware object to the stack? > > Actually... wouldn't that work as long as it was inserted before > Rack::Cache? Can someone more familiar with the caching l

Re: [Radiant] Quick question about updating extensions with git

2010-10-22 Thread john muhl
On Tue, Oct 19, 2010 at 2:56 PM, Nate Turnage wrote: > Hey all, > > It's been a while since I've worked with Radiant and Git, and I now need to > update a couple of apps to, at least, 0.8.2. > > So I was wondering if somebody could help me out by listing the command used > to update an extension t

[Radiant] How to filter comments before they are published

2010-10-22 Thread Diann S.
I'm getting loads of comments...you can imagine the descriptions!! I can't keep up with deleting them. How do I create a filter so that I must approve comments before they can appear on my site? Thank you so much. -- Posted via http://www.ruby-forum.com/.

Re: [Radiant] How to filter comments before they are published

2010-10-22 Thread Jim Gay
I just added docs for this, but set Radiant::Config['comments.auto_approve'] = false and you'll need to approve each one. I'd like to make the standard spam-blocking a bit more robust in the future. On Fri, Oct 22, 2010 at 3:47 PM, Diann S. wrote: > I'm getting loads of comments...you can imag

[Radiant] Re: Caching and Application/Site Controllers

2010-10-22 Thread Stan Rawrysz
Awesome. These seems to have fixed it: extension_config do |config| if config.middleware.include? Radiant::Cache config.middleware.insert_before(Radiant::Cache, GeoIpRedirect) else config.middleware.use GeoIpRedirect end end I'll reply back if my Qa team finds out it d

[Radiant] Re: How to filter comments before they are published

2010-10-22 Thread Diann S.
Jim Gay wrote in post #956414: > I just added docs for this, but set > > Radiant::Config['comments.auto_approve'] = false > > and you'll need to approve each one. I'd like to make the standard > spam-blocking a bit more robust in the future. = Thank you Jim. Where do I put this code? -- Post