<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/models/stalking.rb</filename>
    </added>
    <added>
      <filename>db/migrate/20080907131513_add_stalkings.rb</filename>
    </added>
    <added>
      <filename>public/images/backgrounds/welcome_notice.png</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +0,0 @@
-[submodule &quot;vendor/rails&quot;]
-	path = vendor/rails
-	url = git://github.com/rails/rails</diff>
      <filename>.gitmodules</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@ class Asset
   end
   
   def listens_per_week
-    listens.count(:all, :conditions =&gt; ['listens.listener_id != ?', self.user_id]).to_f / days_old * 7  
+    listens.count(:all, :conditions =&gt; ['listens.listener_id != ?', self.user_id]).to_f * 7 / days_old  
   rescue
     0
   end</diff>
      <filename>app/models/asset/statistics.rb</filename>
    </modified>
    <modified>
      <diff>@@ -34,6 +34,11 @@ class User &lt; ActiveRecord::Base
   
   # top tracks
   has_many :top_tracks, :class_name =&gt; 'Asset', :limit =&gt; 10, :order =&gt; 'listens_count DESC'
+  
+  # stalking
+  has_many :stalkers, :class_name =&gt; 'Stalking'
+  has_many :stalkees, :class_name =&gt; 'Stalking'
+  has_many :new_tracks_from_stalkees, :through =&gt; :stalkees, :class_name =&gt; 'Asset'
 
   # The following attributes can be changed via mass assignment 
   attr_accessible :login, :email, :password, :password_confirmation, :website, :myspace,</diff>
      <filename>app/models/user.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-- render :layout =&gt; 'halp' do
+- render(:layout =&gt; 'halp') do
   .faq.box  
     %h2.box.static
       Help! What is this &quot;alonetone&quot; thing?
@@ -159,4 +159,5 @@
       and you can 
       =link_to 'browse the latest release here', 'http://github.com/sudara/alonetone/tree/master'
       We are looking for development help, so go ahead and email me if you are interested.
-= render :partial =&gt; 'sidebar'
+      
+= render(:partial =&gt; 'sidebar')</diff>
      <filename>app/views/pages/index.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;div id=&quot;search&quot;&gt;  
-  &lt;%= link_to '','#',:id =&gt; 'search_button' %&gt;
-  &lt;% form_tag search_url, :style =&gt; 'display:none;' do %&gt;
-    &lt;%= text_field_tag 'query', (@query || session[:last_query] || '') %&gt;
+  &lt;% form_tag search_url, :id =&gt;'search_form' do %&gt;
+    &lt;%= text_field_tag 'query', (@query || session[:last_query] || 'artist, song title or keyword') %&gt;
   &lt;% end %&gt;
+  &lt;%= link_to '','#',:id =&gt; 'search_button' %&gt;
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>app/views/shared/_search.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
-&lt;div class=&quot;notice&quot;&gt;
-  &lt;h1 class=&quot;notice&quot;&gt;alonetone, a damn fine home for musicians&lt;/h1&gt;
-  alonetone gives music makers free mp3 uploads, unlimited distribution, sharing tools &amp;amp; warm fuzzies &lt;br/&gt;&lt;br/&gt;
-  &lt;%= image_tag 'help/how_to_play.jpg' %&gt;&lt;br/&gt;&lt;br/&gt;
-  &lt;%=link_to 'Sign up', signup_path, :title =&gt; 'sign up to upload your music' %&gt; to join the community of artists and listeners. &lt;%=link_to 'Have questions?', about_path, :title =&gt; 'help' %&gt;
+&lt;div id=&quot;welcome&quot; class=&quot;notice&quot;&gt;
+  alonetone gives musicians a home for their music&lt;br/&gt; 
+  unlimited distribution, sharing tools &amp;amp; warm fuzzies &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
+  &lt;%=link_to 'Sign up', signup_path, :title =&gt; 'sign up to upload your music' %&gt; to start uploading your tracks or &lt;%=link_to 'read our FAQ', about_path, :title =&gt; 'help' %&gt;
 &lt;/div&gt;</diff>
      <filename>app/views/shared/_self_confidence.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
 # ENV['RAILS_ENV'] ||= 'production'
 
 # Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
 
 # Bootstrap the Rails environment, frameworks, and default configuration
 require File.join(File.dirname(__FILE__), 'boot')</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -798,17 +798,22 @@ jQuery(function($) {
   // double the text area size when typing a lot
   $('textarea.double_trouble').attach(AdjustableTextarea,16);
   
-  // slide open the search
+  // search submit
   $('#search_button').click(function(){
-    $(this).addClass('active');
-    $(this).next().width('0px');
-    $(this).next().animate({
-      width: '200px'
-    });
-    $(this).next().focus();
+    $('#search_form').submit();
     return false;
   });
   
+  // clear default text from search box
+  $('#query').focus(function(){
+    $(this).addClass('focused');
+    if($(this).val() == 'artist, song title or keyword') 
+      $(this).val('');
+  });
+  $('#query').blur(function(){
+    $(this).removeClass('focused');
+  });
+  
   // setup the footer
   $('#footer').attach(ResizeableFooter);
   </diff>
      <filename>public/javascripts/application.js</filename>
    </modified>
    <modified>
      <diff>@@ -75,27 +75,31 @@
     a
       :background url(../images/buttons/search.png) no-repeat 0px 0
       :display block
-      :float left
+      :position absolute
+      :left 215px
       :width 84px
       :height 27px
-      &amp;:hover, &amp;.active
+      &amp;:hover
         :background-position -84px 0
     form
       :position absolute
       :top 0px
-      :left 86px
-      :height 28px
+      :left 0px
+      :height 22px
       :width 200px
-      input
+      #query
         :margin 0
-        :margin-left 15px
-        :height 22px
+        :margin-left 0px
+        :margin-top 1px
+        :height 17px
         :font-size 14px
-        :color = !white
+        :color = !silver
         :padding 2px 3px
         :width 200px
         :background-color #5b5d4a
         :border 1px solid #4b4e3f
+        &amp;.focused
+          :color = #fff
        
 // browse all users    
 #user_index, #user_search_results</diff>
      <filename>public/stylesheets/sass/alonetone.sass</filename>
    </modified>
    <modified>
      <diff>@@ -213,4 +213,11 @@ div.notice, div.errorExplanation
   :padding 20px 30px
   :margin-bottom 20px
   :border-bottom 1px solid #7e807e
-  :border-top 1px solid #6f6f6f
\ No newline at end of file
+  :border-top 1px solid #6f6f6f
+
+div#welcome
+  :background #c7c8c7 url(../images/backgrounds/welcome_notice.png) no-repeat top left
+  :height 73px
+  :width 830px
+  :padding-top 100px
+  :padding-left 26px
\ No newline at end of file</diff>
      <filename>public/stylesheets/sass/layout.sass</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vendor/rails</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>617b491cd28a1222f0597815a8a307a1b914eaa3</id>
    </parent>
  </parents>
  <author>
    <name>Sudara</name>
    <email>sudara@alonetone.com</email>
  </author>
  <url>http://github.com/tiendung/alonetone/commit/7d58672dcca84a752a31212ae492868b3f91e89c</url>
  <id>7d58672dcca84a752a31212ae492868b3f91e89c</id>
  <committed-date>2008-09-07T08:36:30-07:00</committed-date>
  <authored-date>2008-09-07T08:36:30-07:00</authored-date>
  <message>remove rails edge, pimp out welcome message, make search more prominent</message>
  <tree>174d48ce05400bd968571f494644909e78393415</tree>
  <committer>
    <name>Sudara</name>
    <email>sudara@alonetone.com</email>
  </committer>
</commit>
