<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/administration/scheduled_tasks_controller.rb</filename>
    </added>
    <added>
      <filename>app/views/administration/scheduled_tasks/_form.erb</filename>
    </added>
    <added>
      <filename>app/views/administration/scheduled_tasks/edit.html.erb</filename>
    </added>
    <added>
      <filename>app/views/administration/scheduled_tasks/index.html.erb</filename>
    </added>
    <added>
      <filename>app/views/administration/scheduled_tasks/new.html.erb</filename>
    </added>
    <added>
      <filename>lib/recipes/templates/maintenance.html</filename>
    </added>
    <added>
      <filename>lib/recipes/web.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -139,7 +139,7 @@ class GroupsController &lt; ApplicationController
   private
   
     def feature_enabled?
-      unless Setting.get(:features, :groups) and Site.current.max_groups &gt; 0
+      unless Setting.get(:features, :groups) and (Site.current.max_groups.nil? or Site.current.max_groups &gt; 0)
         redirect_to people_path
         false
       end</diff>
      <filename>app/controllers/groups_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ class SharesController &lt; ApplicationController
   def index
     @pictures = Picture.all(:limit =&gt; 10, :order =&gt; 'created_at desc')
     @verses = Verse.all(:limit =&gt; 5, :order =&gt; 'created_at desc')
-    @recipes = Recipe.all(:limit =&gt; 5, :order =&gt; 'created_at desc')
+    @recipes = Recipe.paginate(:per_page =&gt; 5, :order =&gt; 'created_at desc', :page =&gt; 1)
     @publications = Publication.all(:limit =&gt; 2, :order =&gt; 'created_at desc')
   end
   </diff>
      <filename>app/controllers/shares_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -34,7 +34,7 @@
   in the &lt;%= link_to h(object.group.name_group), url_for(object.group) %&gt;.
 &lt;% elsif object.is_a? Message and object.wall %&gt;
   posted a message on 
-  &lt;%= link_to &quot;#{object.wall.name_possessive} wall&quot;, url_for(object.wall, :anchor =&gt; 'wall') %&gt;.
+  &lt;%= link_to &quot;#{object.wall.name_possessive} wall&quot;, person_path(object.wall, :anchor =&gt; 'wall') %&gt;.
 &lt;% elsif object.is_a? Person %&gt;
   updated &lt;%= item.person == @logged_in ? 'your' : 'their' %&gt;
   &lt;%= item.showable_change_keys.to_sentence %&gt;.</diff>
      <filename>app/views/feeds/_log_item.erb</filename>
    </modified>
    <modified>
      <diff>@@ -11,5 +11,5 @@
 
 &lt;% if @tag.recipes.any? %&gt;
   &lt;h2&gt;Recipes&lt;/h2&gt;
-  &lt;%= render :partial =&gt; 'recipes/list', :locals =&gt; {:recipes =&gt; @tag.recipes} %&gt;
+  &lt;%= render :partial =&gt; 'recipes/list', :locals =&gt; {:recipes =&gt; @tag.recipes.paginate(:page =&gt; 1, :per_page =&gt; 100)} %&gt;
 &lt;% end %&gt;</diff>
      <filename>app/views/tags/show.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -29,4 +29,3 @@ set :repository_cache, 'git_cache'
 set :deploy_via, :remote_cache
 set :deploy_to, &quot;/var/www/apps/#{application}&quot;
 set :use_sudo, false
-set :maintenance_file_path, &quot;#{shared_path}/public/maintenance.html&quot;</diff>
      <filename>config/deploy.rb.example</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ class CreateAlbums &lt; ActiveRecord::Migration
     Site.each do |site|
       Picture.all.each do |picture|
         name, description, person_id = \
-          picture.connection.select_one(['select name, description, person_id from events where id = ?', picture.event_id])
+          picture.connection.select_one(&quot;select name, description, person_id from events where id = #{picture.event_id}&quot;)
         album = Album.find_or_initialize_by_name(name)
         album.update_attributes! :description =&gt; description, :person_id =&gt; person_id
         picture.album = album</diff>
      <filename>db/migrate/20080709134559_create_albums.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 class CleanUp &lt; ActiveRecord::Migration
   def self.up
     change_table :families do |t|
-      t.remove :security_token
+      t.remove :security_token rescue nil
       t.remove :mail_group
     end
   end</diff>
      <filename>db/migrate/20080720215226_clean_up.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/controllers/scheduled_tasks_controller.rb</filename>
    </removed>
    <removed>
      <filename>app/views/scheduled_tasks/_form.erb</filename>
    </removed>
    <removed>
      <filename>app/views/scheduled_tasks/edit.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/scheduled_tasks/index.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/scheduled_tasks/new.html.erb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>a4008e480741d86bf97da757f627e20856c6db33</id>
    </parent>
  </parents>
  <author>
    <name>Tim Morgan</name>
    <email>tim@timmorgan.org</email>
  </author>
  <url>http://github.com/seven1m/onebody/commit/471a6fe575ace050df45cd6ab01c552a5d3e910e</url>
  <id>471a6fe575ace050df45cd6ab01c552a5d3e910e</id>
  <committed-date>2008-08-19T17:37:46-07:00</committed-date>
  <authored-date>2008-08-19T17:37:46-07:00</authored-date>
  <message>Move scheduled tasks controller into administration namespace.
Fix recipe listing in various places.
Fix log item wall link.
Add web cap tasks.</message>
  <tree>953b41de052f6043c48a0d1f7c38cb7646950eef</tree>
  <committer>
    <name>Tim Morgan</name>
    <email>tim@timmorgan.org</email>
  </committer>
</commit>
