<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/member/messages_controller.rb</filename>
    </added>
    <added>
      <filename>app/models/create_mail_folders_observer.rb</filename>
    </added>
    <added>
      <filename>app/models/user.rb</filename>
    </added>
    <added>
      <filename>app/views/member/messages/index.html.erb</filename>
    </added>
    <added>
      <filename>app/views/member/messages/new.html.erb</filename>
    </added>
    <added>
      <filename>app/views/member/messages/reply.html.erb</filename>
    </added>
    <added>
      <filename>app/views/member/messages/show.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,20 +1,19 @@
-Copyright (c) 2008 Linking Paths
+Copyright (c) 2008 Keras Software Development
 
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-&quot;Software&quot;), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the &quot;Software&quot;), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
 
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
 
-THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.</diff>
      <filename>MIT-LICENSE</filename>
    </modified>
    <modified>
      <diff>@@ -2,3 +2,20 @@
 # add &lt;tt&gt;map.resources&lt;/tt&gt;, here you would add just &lt;tt&gt;resources&lt;/tt&gt;
 
 # resources :tog_mails
+
+
+namespace(:member) do |member|
+
+  member.with_options(:controller =&gt; 'messages') do |messages|
+    messages.resources :messages,
+      :collection =&gt; { :move =&gt; :post,
+                       :copy =&gt; :post,
+                       :mark_as_read =&gt; :post,
+                       :mark_as_unread =&gt; :post,
+                       :search =&gt; :get
+                     },
+      :member =&gt; { :reply =&gt; :get }
+    messages.new_message_to 'messages/new/:user_id', :action =&gt; &quot;new&quot;
+  end
+
+end
\ No newline at end of file</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,9 @@
 require_plugin 'tog_core'
-require_plugin 'tog_user'
\ No newline at end of file
+require_plugin 'tog_user'
+
+Tog::Plugins.settings :tog_mail, &quot;messages.default_folders&quot;   =&gt; &quot;Inbox Outbox&quot;,
+                                 &quot;messages_list.size&quot;         =&gt; &quot;10&quot;
+
+Tog::Interface.sections(:member).add &quot;Messages&quot;, &quot;/member/messages&quot;   
+       
+Tog::Plugins.observers &lt;&lt; :mail_folders_observer</diff>
      <filename>init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>53a9af787551b2e9b6dcd4be588db290bfadc059</id>
    </parent>
  </parents>
  <author>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </author>
  <url>http://github.com/tog/tog_mail/commit/32e1e763304bac604683a4b9462702d29ff48986</url>
  <id>32e1e763304bac604683a4b9462702d29ff48986</id>
  <committed-date>2008-09-04T11:13:50-07:00</committed-date>
  <authored-date>2008-09-04T11:13:50-07:00</authored-date>
  <message>messages migrated, still can't see a msg</message>
  <tree>06e6aa76e3c591fcf853debfec8c32809626ee0f</tree>
  <committer>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </committer>
</commit>
