<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #2766: prevent draft datasets making it to activity stream</title>
    <link>http://localhost/ticket/2766</link>
    <description>&lt;p&gt;
The new ckan creates datasets as part of a 3 phase process.  To allow for this partially created datasets can have a state that is 'draft' or 'draft-complete'.  These datasets should not be seen as active by the activity stream.
&lt;/p&gt;
&lt;p&gt;
If we click 'add dataset' and then complete the first phase of adding a dataset then we end up having a activity stream created.  When we add a resource in the next phase (add data) again an activity stream item xxx added resource to dataset is created
&lt;/p&gt;
&lt;p&gt;
We do not want these adding.  Essentially if a dataset has a state.startswith('draft') then we want the activity stream to ignore all actions involving it.
&lt;/p&gt;
&lt;p&gt;
finally when the state is changed form state.startswith('draft') to state=='active' we want a xxx has created dataset ... to be added to the stream.
&lt;/p&gt;
&lt;p&gt;
The best way to do this would be to branch from 2375-demo-theme-stable and get it to work there.
&lt;/p&gt;
&lt;p&gt;
Let me know if you need any help with this ticket or a better explanation of the problem.
&lt;/p&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/2766</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>shevski</dc:creator>

      <pubDate>Thu, 26 Jul 2012 16:07:42 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/2766#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/2766#comment:1</guid>
      <description>
        &lt;p&gt;
e.g. see 'ff' dataset &lt;a class="ext-link" href="http://s031.okserver.org:2375/en/user/shevski"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://s031.okserver.org:2375/en/user/shevski&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
shows up in activity stream
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>toby</dc:creator>

      <pubDate>Mon, 30 Jul 2012 16:04:26 GMT</pubDate>
      <title>owner, status, description changed</title>
      <link>http://localhost/ticket/2766#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/2766#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;toby&lt;/em&gt; to &lt;em&gt;seanh&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;assigned&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/2766?action=diff&amp;amp;version=2"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>aron.carroll</dc:creator>

      <pubDate>Tue, 07 Aug 2012 14:21:42 GMT</pubDate>
      <title>priority, milestone changed</title>
      <link>http://localhost/ticket/2766#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/2766#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;major&lt;/em&gt; to &lt;em&gt;blocker&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;demo phase 3&lt;/em&gt; to &lt;em&gt;demo phase 4&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>toby</dc:creator>

      <pubDate>Thu, 09 Aug 2012 20:13:13 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/2766#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/2766#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;demo phase 5&lt;/em&gt; to &lt;em&gt;demo phase 4&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>