<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>db/migrate/20090318164300_remove_user_ip_from_spam_reports.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,24 +2,14 @@ Fixes
 
 Features
 - add alternative download format for linux/windows
-- provide adobe media player feed
+- add search to comments page
 
 Possible
-- remember me when logging in
-- textile for comments
-- author edit comment for short time
-- add a blog
 - try &quot;application/quicktime&quot; content type to open movie directly in quicktime (see apple.com/quicktime for examples)
-- sort tag page in descending order
+- provide adobe media player feed
 - integration with miro (getmiro.com)
-- add search to comments page
-- improve CSS design
-
-Spam Reporting
-x add spam report to admin navigation
-x add AJAX report link to comments page
-x add confirm link to spam report list
-x show spam report details with matching comments
-x add hit_count to spam report and increment upon similar reports
-x don't allow comment post if it matches spam report with enough hits
-? add user's ip to spam report or remove attribute
++ improve CSS design
++ author edit comment for short time
++ textile for comments
++ remember me when logging in
++ add a blog</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 &lt;% @comment_counter += 1 -%&gt;
 &lt;%= tag :hr if @comment_counter &gt; 1 %&gt;
 &lt;% div_for comment do %&gt;
-  &lt;%- unless current_page? episode_path(comment.episode) -%&gt;
+  &lt;%- if comment.episode &amp;&amp; !current_page?(comment.episode) -%&gt;
     &lt;h4&gt;
       Episode #&lt;%= comment.episode.position %&gt;:
       &lt;%= link_to h(comment.episode.name), episode_path(:id =&gt; comment.episode, :anchor =&gt; dom_id(comment)) %&gt;</diff>
      <filename>app/views/comments/_comment.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version =&gt; 20090311181239) do
+ActiveRecord::Schema.define(:version =&gt; 20090318164300) do
 
   create_table &quot;comments&quot;, :force =&gt; true do |t|
     t.integer  &quot;episode_id&quot;
@@ -56,7 +56,6 @@ ActiveRecord::Schema.define(:version =&gt; 20090311181239) do
     t.string   &quot;comment_ip&quot;
     t.string   &quot;comment_site_url&quot;
     t.string   &quot;comment_name&quot;
-    t.string   &quot;user_ip&quot;
     t.datetime &quot;confirmed_at&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
@@ -80,8 +79,8 @@ ActiveRecord::Schema.define(:version =&gt; 20090311181239) do
     t.datetime &quot;updated_at&quot;
   end
 
-  add_index &quot;taggings&quot;, [&quot;tag_id&quot;], :name =&gt; &quot;index_taggings_on_tag_id&quot;
   add_index &quot;taggings&quot;, [&quot;episode_id&quot;], :name =&gt; &quot;index_taggings_on_episode_id&quot;
+  add_index &quot;taggings&quot;, [&quot;tag_id&quot;], :name =&gt; &quot;index_taggings_on_tag_id&quot;
 
   create_table &quot;tags&quot;, :force =&gt; true do |t|
     t.string   &quot;name&quot;</diff>
      <filename>db/schema.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,6 @@ one:
   comment_ip: MyString
   comment_site_url: MyString
   comment_name: MyString
-  user_ip: MyString
   confirmed_at:
 
 two:
@@ -11,5 +10,4 @@ two:
   comment_ip: MyString
   comment_site_url: MyString
   comment_name: MyString
-  user_ip: MyString
   confirmed_at: 2009-03-11 09:51:21</diff>
      <filename>spec/fixtures/spam_reports.yml</filename>
    </modified>
    <modified>
      <diff>@@ -48,7 +48,7 @@ describe Comment do
   
   it &quot;should not find matching spam reports by blank values&quot; do
     Comment.delete_all
-    report = SpamReport.create!(:user_ip =&gt; '')
+    report = SpamReport.create!(:comment_ip =&gt; '')
     comment = Factory(:comment, :user_ip =&gt; '')
     comment.matching_spam_reports.should_not include(report)
     comment.should_not be_spammish</diff>
      <filename>spec/models/comment_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e52bb95d91b83bed8b06a3dea4c1cf58765f3505</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </author>
  <url>http://github.com/ryanb/railscasts/commit/a0ed40368d1414ca24383feab124955e7c54f358</url>
  <id>a0ed40368d1414ca24383feab124955e7c54f358</id>
  <committed-date>2009-03-18T09:47:41-07:00</committed-date>
  <authored-date>2009-03-18T09:47:41-07:00</authored-date>
  <message>removing user_ip field from spam reports because it was not being used</message>
  <tree>475a9db660a16bdaa9b74e666d0468e309fb3b5a</tree>
  <committer>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </committer>
</commit>
