<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/sessions_controller.rb</filename>
    </added>
    <added>
      <filename>app/controllers/users_controller.rb</filename>
    </added>
    <added>
      <filename>app/helpers/sessions_helper.rb</filename>
    </added>
    <added>
      <filename>app/helpers/users_helper.rb</filename>
    </added>
    <added>
      <filename>app/models/user.rb</filename>
    </added>
    <added>
      <filename>app/views/sessions/new.html.erb</filename>
    </added>
    <added>
      <filename>app/views/users/new.html.erb</filename>
    </added>
    <added>
      <filename>app/views/users/show.html.erb</filename>
    </added>
    <added>
      <filename>db/migrate/20081028233726_add_open_id.rb</filename>
    </added>
    <added>
      <filename>lib/authenticated_system.rb</filename>
    </added>
    <added>
      <filename>lib/authenticated_test_helper.rb</filename>
    </added>
    <added>
      <filename>spec/controllers/access_control_spec.rb</filename>
    </added>
    <added>
      <filename>spec/controllers/authenticated_system_spec.rb</filename>
    </added>
    <added>
      <filename>spec/controllers/sessions_controller_spec.rb</filename>
    </added>
    <added>
      <filename>spec/controllers/users_controller_spec.rb</filename>
    </added>
    <added>
      <filename>spec/fixtures/users.yml</filename>
    </added>
    <added>
      <filename>spec/helpers/users_helper_spec.rb</filename>
    </added>
    <added>
      <filename>spec/models/user_spec.rb</filename>
    </added>
    <added>
      <filename>stories/rest_auth_stories.rb</filename>
    </added>
    <added>
      <filename>stories/rest_auth_stories_helper.rb</filename>
    </added>
    <added>
      <filename>stories/steps/ra_navigation_steps.rb</filename>
    </added>
    <added>
      <filename>stories/steps/ra_resource_steps.rb</filename>
    </added>
    <added>
      <filename>stories/steps/ra_response_steps.rb</filename>
    </added>
    <added>
      <filename>stories/steps/user_steps.rb</filename>
    </added>
    <added>
      <filename>stories/users/accounts.story</filename>
    </added>
    <added>
      <filename>stories/users/sessions.story</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/CHANGELOG</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/README</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/Rakefile</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/generators/open_id_authentication_tables/templates/migration.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/templates/migration.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/init.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/lib/open_id_authentication.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/lib/open_id_authentication/association.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/lib/open_id_authentication/db_store.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/lib/open_id_authentication/mem_cache_store.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/tasks/open_id_authentication_tasks.rake</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/test/mem_cache_store_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/test/normalize_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/test/open_id_authentication_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/test/status_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/open_id_authentication/test/test_helper.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/.gitignore</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/CHANGELOG</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/README</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/Rakefile</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/TODO</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/USAGE</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/authenticated_generator.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/lib/insert_routes.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/_model_partial.html.erb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_system.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_test_helper.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/controller.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/login.html.erb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/mailer.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/migration.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/model.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/model_controller.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/signup.html.erb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/site_keys.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/controllers/access_control_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/controllers/authenticated_system_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/controllers/sessions_controller_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/controllers/users_controller_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/fixtures/users.yml</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/helpers/users_helper_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/spec/models/user_spec.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/rest_auth_stories.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/rest_auth_stories_helper.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/steps/ra_navigation_steps.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/steps/ra_resource_steps.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/steps/ra_response_steps.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/steps/user_steps.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/users/accounts.story</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/stories/users/sessions.story</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/test/functional_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/test/mailer_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/test/model_functional_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/generators/authenticated/templates/test/unit_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/init.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/install.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/authentication.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/authentication/by_cookie_token.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/authentication/by_password.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/authorization.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/authorization/stateful_roles.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/trustification.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/lib/trustification/email_validation.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/AccessControl.txt</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/Authentication.txt</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/Authorization.txt</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/RailsPlugins.txt</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/SecurityFramework.graffle</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/SecurityFramework.png</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/SecurityPatterns.txt</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/Tradeoffs.txt</filename>
    </added>
    <added>
      <filename>vendor/plugins/restful_authentication/notes/Trustification.txt</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,13 @@
 Flesh out the meetings function
 - I've generated a meetings scaffold and want to have a facility to record details about meetings like members who attended and what was discussed and links to any resources
 - play around with the datepicker - what about time? and customising the datepicker, maybe make it inline
-- topics should probably be a nested resource of meetings
\ No newline at end of file
+- topics should probably be a nested resource of meetings
+- fix validation/errors for adding new topics on the edit meetings view
+- probably remove jrails plugin and stop using rails js helpers (which are obtrusive) and go for something more unobtrusive
+- implement OpenID authentication system for admin editing of meeting info
+-- maybe make it really simple, only used by admins for now (maybe for members when there is commenting)
+-- only display on meetings page and it is simply a login as admins are already signed up
+- add a commenting function for meetings
+- provide mechanism for hosting and playing slides of presentations either on the site or through a third party service
+- add a mapping facility that allows meeting locations to be graphically presented
+- allow for upload of images for a meeting/event</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -2,14 +2,13 @@
 # Likewise, all the methods added will be available for all controllers.
 
 class ApplicationController &lt; ActionController::Base
+  include AuthenticatedSystem
+  
   helper :all # include all helpers, all the time
 
   # See ActionController::RequestForgeryProtection for details
   # Uncomment the :secret if you're not using the cookie session store
   protect_from_forgery # :secret =&gt; '505bd66a8842a7f247596f00b5637871'
   
-  # See ActionController::Base for details 
-  # Uncomment this to filter the contents of submitted sensitive data parameters
-  # from your application log (in this case, all fields with names like &quot;password&quot;). 
-  # filter_parameter_logging :password
+  filter_parameter_logging :password
 end</diff>
      <filename>app/controllers/application.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,8 @@
 module MeetingsHelper
+  
+  # yields content only for admins
+  # def admin_only
+  #   yield if logged_in? and current_user.admin?
+  # end
+  
 end</diff>
      <filename>app/helpers/meetings_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,15 @@
+- content_for :sidebar do
+  = javascript_tag nil, { :id =&gt; &quot;__openidselector&quot;, :src =&gt; &quot;https://www.idselector.com/selector/35a7c32f7c9b9a1070af8f839f4b1deade415eb5&quot;, :charset =&gt;&quot;utf-8&quot; }
+
+  %h3 OpenID Login (inactive)
+  
+  %form{:action =&gt; '/login', :method =&gt; 'post'}  
+    / %input{ :id =&gt; &quot;openid_identifier&quot; }
+    = text_field_tag 'openid_identifier'
+    =# submit_tag 'Go'
+
+  = logged_in? ? link_to(&quot;Log out #{current_user.email}&quot;, session_url, :method =&gt; :delete) : link_to(&quot;Log in&quot;, new_session_url)
+					  
 #next_meeting
   %h1 Next Meeting
   - unless @next_meeting.nil?
@@ -20,12 +32,3 @@
     There have not been any meetings yet
     
 %p= link_to 'Schedule a new meeting', new_meeting_path
-
-- content_for :sidebar do
-
-  %h3 Testing OpenID Login
-  
-  %input{ :id =&gt; &quot;openid_identifier&quot; }
-  = javascript_tag nil, { :id =&gt; &quot;__openidselector&quot;, :src =&gt; &quot;https://www.idselector.com/selector/35a7c32f7c9b9a1070af8f839f4b1deade415eb5&quot;, :charset =&gt;&quot;utf-8&quot; }
-  
-  %p (not hooked up yet)</diff>
      <filename>app/views/meetings/index.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -53,7 +53,7 @@ Rails::Initializer.run do |config|
   # no regular words or you'll be exposed to dictionary attacks.
   config.action_controller.session = {
     :session_key =&gt; '_crc_session',
-    :secret      =&gt; '1dfa4bee58458352f13c498f463d4abee79b4d3f7834987d5f46ba890b73b85652efc7388474a5bfc07fe3abb2cce37cbafbf90c882c9e466274a9f7486555ee'
+    :secret      =&gt; '93632c6ab68d540c06dbacb08642f08e387405a84c9b93c5c044ba9345d22a0d9eed89842ec27ffa0ee23178d8474e3eaf0319277081da734fbdab9c587bb680'
   }
 
   # Use the database for sessions instead of the cookie-based default,</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,15 @@ ActionController::Routing::Routes.draw do |map|
 
   map.resources :meetings
 
+  map.resources :users
+
+  map.open_id_complete 'opensession', :controller =&gt; &quot;sessions&quot;, :action =&gt; &quot;create&quot;, :requirements =&gt; { :method =&gt; :get }
+  map.open_id_create 'opencreate', :controller =&gt; &quot;users&quot;, :action =&gt; &quot;create&quot;, :requirements =&gt; { :method =&gt; :get }
+  map.resource :session
+  map.signup '/signup', :controller =&gt; 'users', :action =&gt; 'new'
+  map.login  '/login',  :controller =&gt; 'sessions', :action =&gt; 'new'
+  map.logout '/logout', :controller =&gt; 'sessions', :action =&gt; 'destroy'
+  
 
   map.commits '/hacks', :controller =&gt; 'commits'
 </diff>
      <filename>config/routes.rb</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; 20081023140716) do
+ActiveRecord::Schema.define(:version =&gt; 20081028233726) do
 
   create_table &quot;attendances&quot;, :force =&gt; true do |t|
     t.integer  &quot;person_id&quot;,  :limit =&gt; 11
@@ -71,6 +71,21 @@ ActiveRecord::Schema.define(:version =&gt; 20081023140716) do
     t.datetime &quot;updated_at&quot;
   end
 
+  create_table &quot;open_id_authentication_associations&quot;, :force =&gt; true do |t|
+    t.integer &quot;issued&quot;,     :limit =&gt; 11
+    t.integer &quot;lifetime&quot;,   :limit =&gt; 11
+    t.string  &quot;handle&quot;
+    t.string  &quot;assoc_type&quot;
+    t.binary  &quot;server_url&quot;
+    t.binary  &quot;secret&quot;
+  end
+
+  create_table &quot;open_id_authentication_nonces&quot;, :force =&gt; true do |t|
+    t.integer &quot;timestamp&quot;,  :limit =&gt; 11, :null =&gt; false
+    t.string  &quot;server_url&quot;
+    t.string  &quot;salt&quot;,                     :null =&gt; false
+  end
+
   create_table &quot;people&quot;, :force =&gt; true do |t|
     t.string   &quot;username&quot;
     t.string   &quot;name&quot;
@@ -90,4 +105,19 @@ ActiveRecord::Schema.define(:version =&gt; 20081023140716) do
     t.datetime &quot;updated_at&quot;
   end
 
+  create_table &quot;users&quot;, :force =&gt; true do |t|
+    t.string   &quot;login&quot;,                     :limit =&gt; 40
+    t.string   &quot;name&quot;,                      :limit =&gt; 100, :default =&gt; &quot;&quot;
+    t.string   &quot;email&quot;,                     :limit =&gt; 100
+    t.string   &quot;crypted_password&quot;,          :limit =&gt; 40
+    t.string   &quot;salt&quot;,                      :limit =&gt; 40
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+    t.string   &quot;remember_token&quot;,            :limit =&gt; 40
+    t.datetime &quot;remember_token_expires_at&quot;
+    t.string   &quot;identity_url&quot;
+  end
+
+  add_index &quot;users&quot;, [&quot;login&quot;], :name =&gt; &quot;index_users_on_login&quot;
+
 end</diff>
      <filename>db/schema.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,4 +8,18 @@ describe MeetingsHelper do
     included_modules.should include(MeetingsHelper)
   end
   
+  # describe &quot;admin_only&quot; do
+  #   it &quot;should yield if logged in user is an admin&quot; do
+  #     @content_block = &quot;Inside the content block&quot;
+  #     result = helper.admin_only { @content_block }
+  #     result.should_not equal(@content_block)
+  #   end
+  #   it &quot;should NOT yield if user is not logged in&quot; do
+  #     
+  #   end
+  #   it &quot;should NOT yield if logged in user is not an admin&quot; do
+  #     
+  #   end
+  # end
+  
 end</diff>
      <filename>spec/helpers/meetings_helper_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>public/.DS_Store</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>a2b5088f79d8061e9d0b8f74c19438272732e291</id>
    </parent>
  </parents>
  <author>
    <name>Michael MacDonald</name>
    <email>michaelm@amc.org.au</email>
  </author>
  <url>http://github.com/artpop/crc_site/commit/0bca37ab7703e59522225d956f8763be4de6ade0</url>
  <id>0bca37ab7703e59522225d956f8763be4de6ade0</id>
  <committed-date>2008-10-28T16:55:21-07:00</committed-date>
  <authored-date>2008-10-28T16:55:21-07:00</authored-date>
  <message>Added OpenID Rails Kit</message>
  <tree>411eca4c15e080173e7ec6851dd3199f4b3a2084</tree>
  <committer>
    <name>Michael MacDonald</name>
    <email>michaelm@amc.org.au</email>
  </committer>
</commit>
