<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Turn off Instiki spam/flood protection</title>
	<link>http://ask.metafilter.com/83287/Turn-off-Instiki-spamflood-protection/</link>
	<description>Comments on Ask MetaFilter post Turn off Instiki spam/flood protection</description>
	<pubDate>Sun, 10 Feb 2008 16:58:10 -0800</pubDate>
	<lastBuildDate>Sun, 10 Feb 2008 16:58:10 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Turn off Instiki spam/flood protection</title>
		<link>http://ask.metafilter.com/83287/Turn-off-Instiki-spamflood-protection</link>	
		<description>Is there any way to stop spam protection on Instiki? &lt;br /&gt;&lt;br /&gt; I run a local version of Instiki (0.12) on my Mac (OSX 10.4.11) which I keep notes on. This isn&apos;t an as-you-go operation - I&apos;ll take notes by hand, and then at the end of the day or week sit down and try and type them all in.&lt;br&gt;
&lt;br&gt;
Problem is, Instiki&apos;s flood/spam protection is stopping me. Is there any way of turning it off? I&apos;m more than happy to dive in using Terminal. I&apos;ve Googled around, but there doesn&apos;t seem to be a ready-made solution yet.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.83287</guid>
		<pubDate>Sun, 10 Feb 2008 11:18:36 -0800</pubDate>
		<dc:creator>djgh</dc:creator>
		
			<category>instiki</category>
		
			<category>mac</category>
		
			<category>spam</category>
		
			<category>flood</category>
		
			<category>filtering</category>
		
			<category>protection</category>
		
			<category>osx</category>
		
			<category>ruby</category>
		
			<category>wiki</category>
		
			<category>notes</category>
		
	</item> <item>
		<title>By: Freaky</title>
		<link>http://ask.metafilter.com/83287/Turn-off-Instiki-spamflood-protection#1233633</link>	
		<description>A quick glance at it shows it uses a plugin; form_spam_protection, which is called from controllers using protect_forms_from_spam or from similar sounding before_filters.&lt;br&gt;
&lt;br&gt;
And indeed, app/controllers/application.rb: &lt;pre&gt;class ApplicationController &amp;lt; ActionController::Base&lt;br&gt;
#  require &apos;dnsbl_check&apos;&lt;br&gt;
  protect_forms_from_spam&lt;/pre&gt;&lt;br&gt;
&lt;br&gt;
Comment that out, maybe restart if it runs in production mode, and you&apos;re done.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83287-1233633</guid>
		<pubDate>Sun, 10 Feb 2008 16:58:10 -0800</pubDate>
		<dc:creator>Freaky</dc:creator>
	</item><item>
		<title>By: djgh</title>
		<link>http://ask.metafilter.com/83287/Turn-off-Instiki-spamflood-protection#1234828</link>	
		<description>My version had slightly more than that listed.&lt;br&gt;
&lt;br&gt;
&lt;code&gt;&lt;br&gt;
class ApplicationController &lt;&gt;
#  require &apos;dnsbl_check&apos;&lt;br&gt;
  protect_forms_from_spam&lt;br&gt;
  before_filter :dnsbl_check, :connect_to_model, :check_authorization, :setup_url_generator, :set_content_type_header, :set_robots_metatag&lt;br&gt;
  after_filter :remember_location, :teardown_url_generator&lt;/&gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
And commenting it out completely broke Instiki. Any ideas?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83287-1234828</guid>
		<pubDate>Mon, 11 Feb 2008 17:01:42 -0800</pubDate>
		<dc:creator>djgh</dc:creator>
	</item><item>
		<title>By: Freaky</title>
		<link>http://ask.metafilter.com/83287/Turn-off-Instiki-spamflood-protection#1234982</link>	
		<description>Yes, I just included enough context to draw your attention to &quot;protect_forms_from_spam&quot;.  Comment that line out and it should work, don&apos;t remove anything else.&lt;br&gt;
&lt;br&gt;
You may also delete &quot;:dnsbl_check,&quot; from the before_filter line to remove DNS blacklist checks; saves a few pointless DNS lookups.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83287-1234982</guid>
		<pubDate>Mon, 11 Feb 2008 19:28:42 -0800</pubDate>
		<dc:creator>Freaky</dc:creator>
	</item><item>
		<title>By: djgh</title>
		<link>http://ask.metafilter.com/83287/Turn-off-Instiki-spamflood-protection#1235434</link>	
		<description>That plus deleting all lines in spam_patterns.txt did the trick. Thanks!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83287-1235434</guid>
		<pubDate>Tue, 12 Feb 2008 08:10:05 -0800</pubDate>
		<dc:creator>djgh</dc:creator>
	</item>
	</channel>
</rss>
