<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>db/migrate/20091105233416_inactive_projects.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,9 @@
     &lt;label for=&quot;project_name&quot;&gt;Project name:&lt;/label&gt;
     &lt;%= form.text_field :name %&gt;
   &lt;/p&gt;
-  
+  &lt;p&gt;
+    &lt;label for=&quot;project_active&quot;&gt;&lt;%= form.check_box :active %&gt; Active project&lt;/label&gt;
+  &lt;/p&gt;
   &lt;p&gt;
 	  &lt;label for=&quot;project_code&quot;&gt;Default Code for posting to this project?&lt;/label&gt;
 	  &lt;span class=&quot;at&quot;&gt;@&lt;/span&gt;</diff>
      <filename>app/views/projects/_form.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -50,6 +50,7 @@
       &lt;/li&gt;
     	&lt;% memberships.each_with_index do |membership, index| -%&gt;
     	  &lt;% project = membership.project %&gt;
+    	  &lt;% next if ! project.active? %&gt;
   			&lt;% project_hours = project.statuses.filtered_hours(nil, :daily) ; user_hours = project_hours.total(current_user) -%&gt;
         &lt;li&lt;%= %( class=&quot;last&quot;) if first_in_collection?(current_user.projects, index) %&gt; id=&quot;project-&lt;%= project.id %&gt;&quot;&gt;
           &lt;a href=&quot;&lt;%= url_for project %&gt;&quot;&gt;</diff>
      <filename>app/views/projects/_sidebox.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -62,6 +62,5 @@ Rails::Initializer.run do |config|
   
   config.after_initialize do
     %w(ostruct md5).each { |lib| require lib }
-    Bj.config[&quot;production.no_tickle&quot;] = true if RAILS_ENV == 'production'
   end
 end</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 # This file is auto-generated from the current state of the database. Instead of editing this file, 
-# please use the migrations feature of ActiveRecord to incrementally modify your database, and
+# please use the migrations feature of Active Record to incrementally modify your database, and
 # then regenerate this schema definition.
 #
 # Note that this schema.rb definition is the authoritative source for your database schema. If you need
@@ -9,7 +9,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version =&gt; 20081003200545) do
+ActiveRecord::Schema.define(:version =&gt; 20091105233416) do
 
   create_table &quot;bj_config&quot;, :primary_key =&gt; &quot;bj_config_id&quot;, :force =&gt; true do |t|
     t.string &quot;hostname&quot;
@@ -79,6 +79,20 @@ ActiveRecord::Schema.define(:version =&gt; 20081003200545) do
 
   add_index &quot;contexts&quot;, [&quot;permalink&quot;], :name =&gt; &quot;index_contexts_on_permalink&quot;
 
+  create_table &quot;delayed_jobs&quot;, :force =&gt; true do |t|
+    t.integer  &quot;priority&quot;,   :default =&gt; 0
+    t.integer  &quot;attempts&quot;,   :default =&gt; 0
+    t.text     &quot;handler&quot;
+    t.text     &quot;last_error&quot;
+    t.datetime &quot;run_at&quot;
+    t.datetime &quot;locked_at&quot;
+    t.datetime &quot;failed_at&quot;
+    t.string   &quot;locked_by&quot;
+    t.integer  &quot;user_id&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+  end
+
   create_table &quot;feeds&quot;, :force =&gt; true do |t|
     t.string   &quot;name&quot;
     t.string   &quot;url&quot;
@@ -112,11 +126,12 @@ ActiveRecord::Schema.define(:version =&gt; 20081003200545) do
     t.integer &quot;context_id&quot;
   end
 
-	create_table &quot;messages&quot;, :force =&gt; true do |t|
-		t.integer &quot;user_id&quot;
-		t.string &quot;message_text&quot;
-		t.timestamps
-	end
+  create_table &quot;messages&quot;, :force =&gt; true do |t|
+    t.integer  &quot;user_id&quot;
+    t.string   &quot;message_text&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+  end
 
   create_table &quot;open_id_authentication_associations&quot;, :force =&gt; true do |t|
     t.binary  &quot;server_url&quot;
@@ -145,6 +160,7 @@ ActiveRecord::Schema.define(:version =&gt; 20081003200545) do
     t.string   &quot;code&quot;
     t.string   &quot;permalink&quot;
     t.string   &quot;git_repo&quot;
+    t.boolean  &quot;active&quot;,     :default =&gt; true
   end
 
   add_index &quot;projects&quot;, [&quot;code&quot;], :name =&gt; &quot;index_projects_on_code&quot;</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2afe45c285fb3e9e64509bbb6a49509405bd0fd4</id>
    </parent>
    <parent>
      <id>402259ba629bb1b154127edf6bdbf49162e6985c</id>
    </parent>
  </parents>
  <author>
    <name>c3</name>
    <email>courtenay@entp.com</email>
  </author>
  <url>http://github.com/entp/xtt/commit/cf6469488a9e554e14a1bd3e1867f2cbfa8a4dd4</url>
  <id>cf6469488a9e554e14a1bd3e1867f2cbfa8a4dd4</id>
  <committed-date>2009-11-05T16:26:57-08:00</committed-date>
  <authored-date>2009-11-05T16:26:57-08:00</authored-date>
  <message>Merge branch 'production', minor fix on graphs

Conflicts:
	db/schema.rb</message>
  <tree>e93c0221e1e68158dc69eff309b18dd404497ca4</tree>
  <committer>
    <name>c3</name>
    <email>courtenay@entp.com</email>
  </committer>
</commit>
