<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #362: Ratings should not be created with a GET</title>
    <link>http://localhost/ticket/362</link>
    <description>&lt;h2 id="Background"&gt;Background&lt;/h2&gt;
&lt;p&gt;
In the Web UI, when you rate a package it simply links to something like:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://ckan.net/package/rate/mke-liquor-licenses?rating=3"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://ckan.net/package/rate/mke-liquor-licenses?rating=3&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
This creates a GET request.
&lt;/p&gt;
&lt;p&gt;
This is bad because:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Search engine crawlers follow links to find pages, and in this case end up creating a rating (although we've got a robots.txt to try and avoid this)
&lt;/li&gt;&lt;li&gt;There are occasions when we want to make a CKAN instance read-only, so we put a &amp;lt;&lt;a class="missing wiki"&gt;LimitExcept?&lt;/a&gt; GET&amp;gt; Apache instruction in. But the database may still get written for these ratings.
&lt;/li&gt;&lt;li&gt;Best practise for web requests is for GET to be a read-only request.
&lt;/li&gt;&lt;/ul&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/362</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Mon, 25 Oct 2010 19:51:33 GMT</pubDate>
      <title>priority changed; owner, milestone set</title>
      <link>http://localhost/ticket/362#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/362#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;dread&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;awaiting triage&lt;/em&gt; to &lt;em&gt;critical&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;ckan v1.3&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Mon, 31 Jan 2011 10:24:30 GMT</pubDate>
      <title>priority changed; milestone deleted</title>
      <link>http://localhost/ticket/362#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/362#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;critical&lt;/em&gt; to &lt;em&gt;awaiting triage&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                &lt;em&gt;ckan-v1.3&lt;/em&gt; deleted
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Rating are currently disabled (invisible) so moving this down.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>thejimmyg</dc:creator>

      <pubDate>Wed, 20 Jul 2011 15:42:44 GMT</pubDate>
      <title>status changed; repo, theme, resolution set</title>
      <link>http://localhost/ticket/362#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/362#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;repo&lt;/strong&gt;
                set to &lt;em&gt;ckan&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;theme&lt;/strong&gt;
                set to &lt;em&gt;none&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;invalid&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This ticket is more than 6 months old so marking as invalid in line with out ticketing policy.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>