<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/commands_controller.rb</filename>
    </added>
    <added>
      <filename>app/controllers/kernel_controller.rb</filename>
    </added>
    <added>
      <filename>app/controllers/pages_controller.rb</filename>
    </added>
    <added>
      <filename>app/controllers/parser_controller.rb</filename>
    </added>
    <added>
      <filename>app/helpers/command_helper.rb</filename>
    </added>
    <added>
      <filename>app/helpers/parser_helper.rb</filename>
    </added>
    <added>
      <filename>app/models/banned_url_pattern.rb</filename>
    </added>
    <added>
      <filename>app/models/command.rb</filename>
    </added>
    <added>
      <filename>app/models/parser.rb</filename>
    </added>
    <added>
      <filename>app/views/commands/index.html.erb</filename>
    </added>
    <added>
      <filename>app/views/commands/new.html.erb</filename>
    </added>
    <added>
      <filename>app/views/example/exit.html.erb</filename>
    </added>
    <added>
      <filename>app/views/example/split.html.erb</filename>
    </added>
    <added>
      <filename>app/views/example/tr.html.erb</filename>
    </added>
    <added>
      <filename>app/views/kernel/golden_eggs.html.erb</filename>
    </added>
    <added>
      <filename>app/views/kernel/ls.html.erb</filename>
    </added>
    <added>
      <filename>app/views/kernel/man.html.erb</filename>
    </added>
    <added>
      <filename>app/views/kernel/most_used_commands.html.erb</filename>
    </added>
    <added>
      <filename>app/views/kernel/no_manual_entry.html.erb</filename>
    </added>
    <added>
      <filename>app/views/layouts/_footer.html.haml</filename>
    </added>
    <added>
      <filename>app/views/layouts/_header.html.erb</filename>
    </added>
    <added>
      <filename>app/views/pages/describe_advanced_syntax.html.erb</filename>
    </added>
    <added>
      <filename>app/views/pages/describe_installation.html.erb</filename>
    </added>
    <added>
      <filename>app/views/pages/describe_upcoming_features.html.erb</filename>
    </added>
    <added>
      <filename>app/views/pages/display_acknowledgements.html.erb</filename>
    </added>
    <added>
      <filename>app/views/pages/jeremys_picks.html.erb</filename>
    </added>
    <added>
      <filename>app/views/parser/landing.html.erb</filename>
    </added>
    <added>
      <filename>app/views/shared/_command_list.html.erb</filename>
    </added>
    <added>
      <filename>app/views/shared/_input_box.html.erb</filename>
    </added>
    <added>
      <filename>config/initializers/haml.rb</filename>
    </added>
    <added>
      <filename>config/initializers/new_rails_defaults.rb</filename>
    </added>
    <added>
      <filename>db/fixtures/commands.rb</filename>
    </added>
    <added>
      <filename>doc/README_FOR_APP</filename>
    </added>
    <added>
      <filename>doc/all_golden_eggs.xml</filename>
    </added>
    <added>
      <filename>doc/paging_styles.sass</filename>
    </added>
    <added>
      <filename>lib/tasks/yubnub.rake</filename>
    </added>
    <added>
      <filename>public/New Microsoft Excel Worksheet.xls</filename>
    </added>
    <added>
      <filename>public/New Microsoft Word Document.doc</filename>
    </added>
    <added>
      <filename>public/New OpenOffice.org 1.1.2 Spreadsheet.sxc</filename>
    </added>
    <added>
      <filename>public/New OpenOffice.org 1.1.2 Text Document.sxw</filename>
    </added>
    <added>
      <filename>public/XML-CMD.png</filename>
    </added>
    <added>
      <filename>public/google-toolbar-2.xml</filename>
    </added>
    <added>
      <filename>public/images/Thumbs.db</filename>
    </added>
    <added>
      <filename>public/images/YubNubButton1.gif</filename>
    </added>
    <added>
      <filename>public/images/YubNubButton2.gif</filename>
    </added>
    <added>
      <filename>public/images/YubNubButton3.gif</filename>
    </added>
    <added>
      <filename>public/images/camino.png</filename>
    </added>
    <added>
      <filename>public/images/dashnub.png</filename>
    </added>
    <added>
      <filename>public/images/firefox.gif</filename>
    </added>
    <added>
      <filename>public/images/firefox_search_plugin.png</filename>
    </added>
    <added>
      <filename>public/images/firefox_without_address_bar.png</filename>
    </added>
    <added>
      <filename>public/images/ge.jpg</filename>
    </added>
    <added>
      <filename>public/images/ie.JPG</filename>
    </added>
    <added>
      <filename>public/images/ie7.png</filename>
    </added>
    <added>
      <filename>public/images/konqueror.png</filename>
    </added>
    <added>
      <filename>public/images/maxthon.png</filename>
    </added>
    <added>
      <filename>public/images/opera.png</filename>
    </added>
    <added>
      <filename>public/images/safari.gif</filename>
    </added>
    <added>
      <filename>public/images/xml_button.gif</filename>
    </added>
    <added>
      <filename>public/images/yubnub.png</filename>
    </added>
    <added>
      <filename>public/images/yubnub4conkeror.png</filename>
    </added>
    <added>
      <filename>public/images/yubnub_blackberry.jpg</filename>
    </added>
    <added>
      <filename>public/images/yubnub_console.jpg</filename>
    </added>
    <added>
      <filename>public/images/yubnub_form_details.png</filename>
    </added>
    <added>
      <filename>public/images/yubnub_google.png</filename>
    </added>
    <added>
      <filename>public/images/yubnub_konfabulator.jpg</filename>
    </added>
    <added>
      <filename>public/images/yubnub_mobile.jpg</filename>
    </added>
    <added>
      <filename>public/images/yubnub_multiie.png</filename>
    </added>
    <added>
      <filename>public/images/yubnub_multiie_options.png</filename>
    </added>
    <added>
      <filename>public/images/yubnub_small.png</filename>
    </added>
    <added>
      <filename>public/images/yubnubber.png</filename>
    </added>
    <added>
      <filename>public/images/yubutils1.jpg</filename>
    </added>
    <added>
      <filename>public/images/yubutils2.jpg</filename>
    </added>
    <added>
      <filename>public/images/yubutils3.jpg</filename>
    </added>
    <added>
      <filename>public/javascripts/controls.js</filename>
    </added>
    <added>
      <filename>public/javascripts/dragdrop.js</filename>
    </added>
    <added>
      <filename>public/javascripts/effects.js</filename>
    </added>
    <added>
      <filename>public/stylesheets/paging.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/sass/paging.sass</filename>
    </added>
    <added>
      <filename>public/stylesheets/yubnub.css</filename>
    </added>
    <added>
      <filename>public/xml_button.gif</filename>
    </added>
    <added>
      <filename>public/yubnub-dqsd.xml</filename>
    </added>
    <added>
      <filename>public/yubnub-emacs.txt</filename>
    </added>
    <added>
      <filename>public/yubnub-ie.reg</filename>
    </added>
    <added>
      <filename>public/yubnub-surfraw.txt</filename>
    </added>
    <added>
      <filename>public/yubnub.sh</filename>
    </added>
    <added>
      <filename>script/dbconsole</filename>
    </added>
    <added>
      <filename>test/fixtures/banned_url_patterns.yml</filename>
    </added>
    <added>
      <filename>test/fixtures/commands.yml</filename>
    </added>
    <added>
      <filename>test/functional/command_controller_test.rb</filename>
    </added>
    <added>
      <filename>test/functional/documentation_controller_test.rb</filename>
    </added>
    <added>
      <filename>test/functional/example_controller_test.rb</filename>
    </added>
    <added>
      <filename>test/functional/kernel_controller_test.rb</filename>
    </added>
    <added>
      <filename>test/functional/parser_controller_test.rb</filename>
    </added>
    <added>
      <filename>test/unit/banned_url_pattern_test.rb</filename>
    </added>
    <added>
      <filename>test/unit/command_test.rb</filename>
    </added>
    <added>
      <filename>test/unit/parser_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,203 +1,5 @@
-== Welcome to Rails
+== YubNub
 
-Rails is a web-application and persistence framework that includes everything
-needed to create database-backed web-applications according to the
-Model-View-Control pattern of separation. This pattern splits the view (also
-called the presentation) into &quot;dumb&quot; templates that are primarily responsible
-for inserting pre-built data in between HTML tags. The model contains the
-&quot;smart&quot; domain objects (such as Account, Product, Person, Post) that holds all
-the business logic and knows how to persist themselves to a database. The
-controller handles the incoming requests (such as Save New Account, Update
-Product, Show Post) by manipulating the model and directing data to the view.
+To install:
 
-In Rails, the model is handled by what's called an object-relational mapping
-layer entitled Active Record. This layer allows you to present the data from
-database rows as objects and embellish these data objects with business logic
-methods. You can read more about Active Record in
-link:files/vendor/rails/activerecord/README.html.
-
-The controller and view are handled by the Action Pack, which handles both
-layers by its two parts: Action View and Action Controller. These two layers
-are bundled in a single package due to their heavy interdependence. This is
-unlike the relationship between the Active Record and Action Pack that is much
-more separate. Each of these packages can be used independently outside of
-Rails.  You can read more about Action Pack in
-link:files/vendor/rails/actionpack/README.html.
-
-
-== Getting Started
-
-1. At the command prompt, start a new Rails application using the &lt;tt&gt;rails&lt;/tt&gt; command
-   and your application name. Ex: rails myapp
-   (If you've downloaded Rails in a complete tgz or zip, this step is already done)
-2. Change directory into myapp and start the web server: &lt;tt&gt;script/server&lt;/tt&gt; (run with --help for options)
-3. Go to http://localhost:3000/ and get &quot;Welcome aboard: You&#8217;re riding the Rails!&quot;
-4. Follow the guidelines to start developing your application
-
-
-== Web Servers
-
-By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise
-Rails will use WEBrick, the webserver that ships with Ruby. When you run script/server,
-Rails will check if Mongrel exists, then lighttpd and finally fall back to WEBrick. This ensures
-that you can always get up and running quickly.
-
-Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is
-suitable for development and deployment of Rails applications. If you have Ruby Gems installed,
-getting up and running with mongrel is as easy as: &lt;tt&gt;gem install mongrel&lt;/tt&gt;.
-More info at: http://mongrel.rubyforge.org
-
-If Mongrel is not installed, Rails will look for lighttpd. It's considerably faster than
-Mongrel and WEBrick and also suited for production use, but requires additional
-installation and currently only works well on OS X/Unix (Windows users are encouraged
-to start with Mongrel). We recommend version 1.4.11 and higher. You can download it from
-http://www.lighttpd.net.
-
-And finally, if neither Mongrel or lighttpd are installed, Rails will use the built-in Ruby
-web server, WEBrick. WEBrick is a small Ruby web server suitable for development, but not
-for production.
-
-But of course its also possible to run Rails on any platform that supports FCGI.
-Apache, LiteSpeed, IIS are just a few. For more information on FCGI,
-please visit: http://wiki.rubyonrails.com/rails/pages/FastCGI
-
-
-== Debugging Rails
-
-Sometimes your application goes wrong.  Fortunately there are a lot of tools that
-will help you debug it and get it back on the rails.
-
-First area to check is the application log files.  Have &quot;tail -f&quot; commands running
-on the server.log and development.log. Rails will automatically display debugging
-and runtime information to these files. Debugging info will also be shown in the
-browser on requests from 127.0.0.1.
-
-You can also log your own messages directly into the log file from your code using
-the Ruby logger class from inside your controllers. Example:
-
-  class WeblogController &lt; ActionController::Base
-    def destroy
-      @weblog = Weblog.find(params[:id])
-      @weblog.destroy
-      logger.info(&quot;#{Time.now} Destroyed Weblog ID ##{@weblog.id}!&quot;)
-    end
-  end
-
-The result will be a message in your log file along the lines of:
-
-  Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1
-
-More information on how to use the logger is at http://www.ruby-doc.org/core/
-
-Also, Ruby documentation can be found at http://www.ruby-lang.org/ including:
-
-* The Learning Ruby (Pickaxe) Book: http://www.ruby-doc.org/docs/ProgrammingRuby/
-* Learn to Program: http://pine.fm/LearnToProgram/  (a beginners guide)
-
-These two online (and free) books will bring you up to speed on the Ruby language
-and also on programming in general.
-
-
-== Debugger
-
-Debugger support is available through the debugger command when you start your Mongrel or
-Webrick server with --debugger. This means that you can break out of execution at any point
-in the code, investigate and change the model, AND then resume execution! Example:
-
-  class WeblogController &lt; ActionController::Base
-    def index
-      @posts = Post.find(:all)
-      debugger
-    end
-  end
-
-So the controller will accept the action, run the first line, then present you
-with a IRB prompt in the server window. Here you can do things like:
-
-  &gt;&gt; @posts.inspect
-  =&gt; &quot;[#&lt;Post:0x14a6be8 @attributes={\&quot;title\&quot;=&gt;nil, \&quot;body\&quot;=&gt;nil, \&quot;id\&quot;=&gt;\&quot;1\&quot;}&gt;,
-       #&lt;Post:0x14a6620 @attributes={\&quot;title\&quot;=&gt;\&quot;Rails you know!\&quot;, \&quot;body\&quot;=&gt;\&quot;Only ten..\&quot;, \&quot;id\&quot;=&gt;\&quot;2\&quot;}&gt;]&quot;
-  &gt;&gt; @posts.first.title = &quot;hello from a debugger&quot;
-  =&gt; &quot;hello from a debugger&quot;
-
-...and even better is that you can examine how your runtime objects actually work:
-
-  &gt;&gt; f = @posts.first
-  =&gt; #&lt;Post:0x13630c4 @attributes={&quot;title&quot;=&gt;nil, &quot;body&quot;=&gt;nil, &quot;id&quot;=&gt;&quot;1&quot;}&gt;
-  &gt;&gt; f.
-  Display all 152 possibilities? (y or n)
-
-Finally, when you're ready to resume execution, you enter &quot;cont&quot;
-
-
-== Console
-
-You can interact with the domain model by starting the console through &lt;tt&gt;script/console&lt;/tt&gt;.
-Here you'll have all parts of the application configured, just like it is when the
-application is running. You can inspect domain models, change values, and save to the
-database. Starting the script without arguments will launch it in the development environment.
-Passing an argument will specify a different environment, like &lt;tt&gt;script/console production&lt;/tt&gt;.
-
-To reload your controllers and models after launching the console run &lt;tt&gt;reload!&lt;/tt&gt;
-
-
-== Description of Contents
-
-app
-  Holds all the code that's specific to this particular application.
-
-app/controllers
-  Holds controllers that should be named like weblogs_controller.rb for
-  automated URL mapping. All controllers should descend from ApplicationController
-  which itself descends from ActionController::Base.
-
-app/models
-  Holds models that should be named like post.rb.
-  Most models will descend from ActiveRecord::Base.
-
-app/views
-  Holds the template files for the view that should be named like
-  weblogs/index.erb for the WeblogsController#index action. All views use eRuby
-  syntax.
-
-app/views/layouts
-  Holds the template files for layouts to be used with views. This models the common
-  header/footer method of wrapping views. In your views, define a layout using the
-  &lt;tt&gt;layout :default&lt;/tt&gt; and create a file named default.erb. Inside default.erb,
-  call &lt;% yield %&gt; to render the view using this layout.
-
-app/helpers
-  Holds view helpers that should be named like weblogs_helper.rb. These are generated
-  for you automatically when using script/generate for controllers. Helpers can be used to
-  wrap functionality for your views into methods.
-
-config
-  Configuration files for the Rails environment, the routing map, the database, and other dependencies.
-
-db
-  Contains the database schema in schema.rb.  db/migrate contains all
-  the sequence of Migrations for your schema.
-
-doc
-  This directory is where your application documentation will be stored when generated
-  using &lt;tt&gt;rake doc:app&lt;/tt&gt;
-
-lib
-  Application specific libraries. Basically, any kind of custom code that doesn't
-  belong under controllers, models, or helpers. This directory is in the load path.
-
-public
-  The directory available for the web server. Contains subdirectories for images, stylesheets,
-  and javascripts. Also contains the dispatchers and the default HTML files. This should be
-  set as the DOCUMENT_ROOT of your web server.
-
-script
-  Helper scripts for automation and generation.
-
-test
-  Unit and functional tests along with fixtures. When using the script/generate scripts, template
-  test files will be generated for you and placed in this directory.
-
-vendor
-  External libraries that the application depends on. Also includes the plugins subdirectory.
-  This directory is in the load path.
+1) 
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -7,5 +7,5 @@ class ApplicationController &lt; ActionController::Base
   # See ActionController::RequestForgeryProtection for details
   # Uncomment the :secret if you're not using the cookie session store
   # protect_from_forgery # :secret =&gt; '679db21358b0d645844f15fd7766b49b'
-    
+
 end</diff>
      <filename>app/controllers/application.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,145 +1,37 @@
-# Methods added to this helper will be available to all templates in the application.
 module ApplicationHelper
-  
-  # display flash_boxes (unless its already been shown)
-  def flash_boxes
-    unless @flash_shown
-      @flash_shown = true
-      render :partial =&gt; &quot;layouts/flash_boxes&quot;
-    else
-      &quot;&quot;
-    end
-  end
-  
-  def clear(direction = nil)
-    &quot;&lt;div class=\&quot;clear#{direction}\&quot;&gt;&lt;/div&gt;&quot;
+  def truncate_with_ellipses(string, max_chars)
+    string[0..max_chars-1] + (string.length &gt; max_chars ? &quot;...&quot; : &quot;&quot;)
   end
   
-  # returns the controller &amp; action
-  def action_path
-    &quot;#{params[:controller]}/#{params[:action]}&quot;
+  def prefix_with_http_if_necessary(url)
+    ! url_format_recognized(url) ? 'http://' + url : url
   end
   
-  # return the css class for the current controller and action
-  def body_class
-    classes = &quot;&quot;
-    classes &lt;&lt; &quot;container&quot;
-    classes &lt;&lt; &quot; &quot;
-    classes &lt;&lt; controller.controller_name
-    classes &lt;&lt; &quot;-&quot;
-    classes &lt;&lt; controller.action_name
-    classes &lt;&lt; &quot; &quot;
-    unless production? 
-      classes &lt;&lt; &quot;debug&quot; 
-    end
-    
-    return classes.strip
+  def prefix_with_url_if_necessary url    
+    # Do not url-encode the stuff between {}, because it is not a URL.
+    # See &quot;rewriting bl, but it insists on transforming characters&quot;, 
+    # http://groups.google.com/group/YubNub/browse_thread/thread/abcf3e5852268d85/fb1896ec6f341003#fb1896ec6f341003  [Jon Aquino 2006-04-01]
+    (! url_format_recognized(url) and !Command.by_name(url.split[0]).nil?) ? &quot;{url[no url encoding] #{url}}&quot; : url
   end
   
-  def production?
-    ENV[&quot;RAILS_ENV&quot;] == &quot;production&quot;
+  def url_format_recognized(url)
+    url =~ /^((http)|(\{))/
   end
   
-  # returns either the new_arg or the edit_arg depending on if the action is a new or edit action
-  def new_or_edit(new_arg, edit_arg, other = nil)
-    if is_new?
-      return new_arg
-    elsif is_edit?
-      return edit_arg
-    else
-      return other
-    end
-  end
-  
-  def is_new?
-    action = params[:action]
-    action == &quot;new&quot; || action == &quot;create&quot;
-  end
-      
-  def is_edit?
-    action = params[:action]
-    action == &quot;edit&quot; || action == &quot;update&quot;
-  end
-  
-  # Whether or not to use caching
-  def use_cache?
-    ActionController::Base.perform_caching
-  end
-  
-  def paging(page_data, style = :sabros)
-    return unless page_data.class == WillPaginate::Collection    
-    will_paginate(page_data, :class =&gt; &quot;pagination #{style}&quot;, :inner_window =&gt; 3)
-  end
-  
-  def error_messages_for(name, options = {})
-    super(name, {:id =&gt; &quot;error_explanation&quot;, :class =&gt; &quot;error&quot;}.merge(options))
-  end
-  
-  def hide_if(condition)
-    if condition
-      {:style =&gt; &quot;display:none&quot;}
+  # display flash_boxes (unless its already been shown)
+  def flash_boxes
+    unless @flash_shown
+      @flash_shown = true
+      render :partial =&gt; &quot;layouts/flash_boxes&quot;
     else
-      {}
+      &quot;&quot;
     end
   end
-  
-  def hide_unless(condition)
-    hide_if(!condition)
-  end
-  
-  def br
-    &quot;&lt;br /&gt;&quot;
-  end
-
-  def hr
-    &quot;&lt;hr /&gt;&quot;
-  end
-
-  def space
-    &quot;&lt;hr class='space' /&gt;&quot;
-  end
-
-  def anchor(anchor_name)
-    &quot;&lt;a name='#{anchor_name}'&gt;&lt;/a&gt;&quot;
-  end
-
-  def button(text, options = {})
-    submit_tag(text, options)
-  end
 
-  def clear_tag(tag, direction = nil)
-    &quot;&lt;#{tag} class=\&quot;clear#{direction}\&quot;&gt;&lt;/#{tag}&gt;&quot;
-  end
-
-  def clear(direction = nil)
-    clear_tag(:div, direction)
-  end
-  
-  def lorem
-    &quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&quot;
-  end
-  
-  def hidden
-    {:style =&gt; &quot;display:none&quot;}
-  end
-  
-  def clearbit_icon(icon, color, options = {})
-    image_tag &quot;clearbits/#{icon}.gif&quot;, {:class =&gt; &quot;clearbits #{color}&quot;, :alt =&gt; icon}.merge(options)
-  end
-  
-  def delete_link(*args)
-    options = {:method =&gt; :delete, :confirm =&gt; &quot;Are you sure you want to delete this?&quot;}.merge(args.extract_options!)
-    args &lt;&lt; options
-    link_to *args
-  end
-  
-  def link_to_block(*args, &amp;block)
-    content = capture_haml(&amp;block)
-    return link_to(content, *args)
+  # show paging
+  def paging(page_data, style = :meneame)
+    return unless page_data.is_a? WillPaginate::Collection    
+    will_paginate(page_data, :class =&gt; &quot;pagination #{style}&quot;, :inner_window =&gt; 3)
   end
   
-  # pixel spacing helper
-  def pixel(options = {})
-    image_tag &quot;pixel.png&quot;, options
-  end
 end</diff>
      <filename>app/helpers/application_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,6 @@
 -# Set flash[:notice] to display a notice panel
 - if flash[:notice]
-  .flash.notice= flash[:notice]
-- if flash[:success]
-  .flash.success= flash[:success]
+  .flash.message{:style =&gt; &quot;margin-bottom:15px&quot;}= flash[:notice]
+
 - if flash[:error]
-  .flash.error= flash[:error]
\ No newline at end of file
+  .flash.warning{:style =&gt; &quot;margin-bottom:15px&quot;}= flash[:error]
\ No newline at end of file</diff>
      <filename>app/views/layouts/_flash_boxes.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -2,12 +2,13 @@
 %html{html_attrs}
   %head
     %meta{&quot;http-equiv&quot; =&gt; &quot;Content-type&quot;, &quot;content&quot; =&gt; &quot;text/html; charset=utf-8&quot;}
+    = title :site =&gt; AppConfig.site_name
+    = stylesheet &quot;yubnub&quot;, &quot;paging&quot;
+    :javascript
+      function focus(){document.input_box.command.focus();}
     
-    = title :site =&gt; &quot;[Site Name]&quot;
-    = stylesheets
-    = javascripts
-  
   %body
-    #body{:class =&gt; body_class}
-      = render :partial =&gt; &quot;layouts/flash_boxes&quot;
+    #body{:onload =&gt; &quot;focus();&quot;}
+      = partial &quot;layouts/header&quot; unless @hide_header
       = yield
+      = partial &quot;layouts/footer&quot;</diff>
      <filename>app/views/layouts/application.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 # CHANGE ME
-site_name: &quot;[Your Site]&quot;
-site_url: &quot;http://YOURSITE&quot;
-require_email_activation: true
+site_name: &quot;YubNub&quot;
+site_url: &quot;http://www.yubnub.com&quot;
+default_command: g
   
\ No newline at end of file</diff>
      <filename>config/app_config.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-# MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
+\# MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
 #
 # Install the MySQL driver:
 #   gem install mysql
@@ -18,7 +18,7 @@ development:
   adapter: mysql
   encoding: utf8
   host: localhost
-  database: base_development
+  database: yubnub_development
   username: root
   password:
 
@@ -29,7 +29,7 @@ test:
   adapter: mysql
   encoding: utf8
   host: localhost
-  database: base_test
+  database: yubnub_test
   username: root
   password:
 
@@ -37,6 +37,6 @@ production:
   adapter: mysql
   encoding: utf8
   host: localhost
-  database: base_production
+  database: yubnub_production
   username: root
   password: </diff>
      <filename>config/database.yml</filename>
    </modified>
    <modified>
      <diff>@@ -37,8 +37,8 @@ Rails::Initializer.run do |config|
   # Make sure the secret is at least 30 characters and all random, 
   # no regular words or you'll be exposed to dictionary attacks.
   config.action_controller.session = {
-    :session_key =&gt; '_blank_session',
-    :secret      =&gt; 'd27cc7f3bae1ef15fa00a9fad245f42057cff6113327d732a4dbd8e43c3eaba1a5bda246f882029653b71266c2015ef38ff4ce67616d8a0b2c220884edaba8c7'
+    :session_key =&gt; '_yubnub_session',
+    :secret      =&gt; '8932b76c55a8f90fd1856651213ac255924f9066ba46404b00fe683a00c409d7f7074188fa1ef7098444cd1e0ace2565c62bf45004d8bd4088a98e966230965c'
   }
 
   # Use the database for sessions instead of the cookie-based default,
@@ -60,14 +60,6 @@ Rails::Initializer.run do |config|
   # standard gems
   config.gem &quot;haml&quot;, :version =&gt; &quot;&gt;= 2.0.0&quot;
 
-  # ssl_requirement
-  # ------
-  # Allow controller actions to force SSL on specific parts of the site
-  # ------
-  config.gem 'jcnetdev-ssl_requirement', :version =&gt; '&gt;= 1.0',
-                                         :lib =&gt; 'ssl_requirement',
-                                         :source =&gt; 'http://gems.github.com'
-
   # exception_notification
   # ------
   # Allows unhandled exceptions to be emailed on production
@@ -75,25 +67,7 @@ Rails::Initializer.run do |config|
   config.gem 'jcnetdev-exception_notification', :version =&gt; '&gt;= 1.1',
                                                 :lib =&gt; 'exception_notification',
                                                 :source =&gt; 'http://gems.github.com'
-  
-  
-  # Rails Plugins (via gems)
 
-  # active_record_without_table
-  # ------
-  # Allows creation of ActiveRecord models that work without any database backend
-  # ------
-  config.gem 'jcnetdev-active_record_without_table', :version =&gt; '&gt;= 1.1',
-                                                     :lib =&gt; 'active_record_without_table',
-                                                     :source =&gt; 'http://gems.github.com'
-  
-  # acts_as_state_machine
-  # ------
-  # Allows ActiveRecord models to define states and transition actions between them
-  # ------
-  config.gem 'jcnetdev-acts_as_state_machine', :version =&gt; '&gt;= 2.1.0',
-                                               :lib =&gt; 'acts_as_state_machine',
-                                               :source =&gt; 'http://gems.github.com'
   
   # app_config
   # ------
@@ -118,24 +92,7 @@ Rails::Initializer.run do |config|
   config.gem 'jcnetdev-better_partials', :version =&gt; '&gt;= 1.0',
                                          :lib =&gt; 'better_partials',
                                          :source =&gt; 'http://gems.github.com'
-  
 
-  # form_fu
-  # ------
-  # Allows easier rails form creation and processing
-  # ------
-  # config.gem 'neorails-form_fu', :version =&gt; '&gt;= 1.0',
-  #                                :lib =&gt; 'form_fu',
-  #                                :source =&gt; 'http://gems.github.com'
-                                       
-  # paperclip
-  # ------
-  # Allows easy uploading of files with no dependencies
-  # ------
-  config.gem 'jcnetdev-paperclip', :version =&gt; '&gt;= 1.0',
-                                   :lib =&gt; 'paperclip',
-                                   :source =&gt; 'http://gems.github.com'
-  
   # seed-fu
   # ------
   # Allows easier database seeding of tables
@@ -144,22 +101,6 @@ Rails::Initializer.run do |config|
                                  :lib =&gt; 'seed-fu',
                                  :source =&gt; 'http://gems.github.com'
 
-
-  # subdomain-fu
-  # ------
-  # Allows easier subdomain selection
-  # ------
-  config.gem 'jcnetdev-subdomain-fu', :version =&gt; '&gt;= 0.0.2',
-                                      :lib =&gt; 'subdomain-fu',
-                                      :source =&gt; 'http://gems.github.com'
-  
-  # validates_as_email_address
-  # ------
-  # Allows for easy format validation of email addresses
-  # ------
-  config.gem 'jcnetdev-validates_as_email_address', :version =&gt; '&gt;= 1.0',
-                                                    :lib =&gt; 'validates_as_email_address',
-                                                    :source =&gt; 'http://gems.github.com'
   
   # will_paginate
   # ------
@@ -168,16 +109,26 @@ Rails::Initializer.run do |config|
   config.gem 'jcnetdev-will_paginate', :version =&gt; '&gt;= 2.3.2',
                                        :lib =&gt; 'will_paginate',
                                        :source =&gt; 'http://gems.github.com'
+
   
-  # view_fu
+  # OPTIONAL PLUGINS
+
+  
+  # validates_as_email_address
   # ------
-  # Adds view helpers for titles, stylesheets, javascripts, and common tags
+  # Allows for easy format validation of email addresses
   # ------
-  # config.gem 'neorails-view_fu', :version =&gt; '&gt;= 1.0',
-  #                                :lib =&gt; 'view_fu',
-  #                                :source =&gt; 'http://gems.github.com'
-  
-  # OPTIONAL PLUGINS
+  # config.gem 'jcnetdev-validates_as_email_address', :version =&gt; '&gt;= 1.0',
+  #                                                   :lib =&gt; 'validates_as_email_address',
+  #                                                   :source =&gt; 'http://gems.github.com'
+
+  # subdomain-fu
+  # ------
+  # Allows easier subdomain selection
+  # ------
+  # config.gem 'jcnetdev-subdomain-fu', :version =&gt; '&gt;= 0.0.2',
+  #                                     :lib =&gt; 'subdomain-fu',
+  #                                     :source =&gt; 'http://gems.github.com'
 
   # acts_as_list
   # ------
@@ -187,15 +138,6 @@ Rails::Initializer.run do |config|
   #                                     :lib =&gt; 'acts_as_list',
   #                                     :source =&gt; 'http://gems.github.com'
 
-  # acts-as-readable
-  # ------
-  # Allows ActiveRecord Models to be easily marked as read / unread
-  # ------
-  # config.gem 'jcnetdev-acts-as-readable', :version =&gt; '&gt;= 1.0',
-  #                                         :lib =&gt; 'acts_as_readable',
-  #                                         :source =&gt; 'http://gems.github.com'
-
-
   # sms-fu
   # ------
   # Send SMS messages easily</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1,2 @@
-ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!(:date =&gt; &quot;%m/%d/%Y&quot;)
\ No newline at end of file
+ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!(:date =&gt; &quot;%m/%d/%Y&quot;)
+ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!(:use_date =&gt; &quot;%Y-%m-%d %H:%M&quot;)
\ No newline at end of file</diff>
      <filename>config/initializers/date_settings.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,41 +1,28 @@
 ActionController::Routing::Routes.draw do |map|
 
-  map.resource :session
+  # Resources
+  map.resources :commands, :collection =&gt; {:exists =&gt; :get}
   map.resources :users, :member =&gt; {:activate =&gt; :get}
+  map.resource :session
+  
+  # Dynamic
+  map.parse &quot;/parse&quot;, :controller =&gt; 'parser', :action =&gt; 'parse'
+  map.commands &quot;/commands&quot;, :controller =&gt; 'kernel', :action =&gt; 'most_used_commands'
 
-  # The priority is based upon order of creation: first created -&gt; highest priority.
-
-  # Sample of regular route:
-  #   map.connect 'products/:id', :controller =&gt; 'catalog', :action =&gt; 'view'
-  # Keep in mind you can assign values other than :controller and :action
-
-  # Sample of named route:
-  #   map.purchase 'products/:id/purchase', :controller =&gt; 'catalog', :action =&gt; 'purchase'
-  # This route can be invoked with purchase_url(:id =&gt; product.id)
-
-  # Sample resource route (maps HTTP verbs to controller actions automatically):
-  #   map.resources :products
-
-  # Sample resource route with options:
-  #   map.resources :products, :member =&gt; { :short =&gt; :get, :toggle =&gt; :post }, :collection =&gt; { :sold =&gt; :get }
-
-  # Sample resource route with sub-resources:
-  #   map.resources :products, :has_many =&gt; [ :comments, :sales ], :has_one =&gt; :seller
-
-  # Sample resource route within a namespace:
-  #   map.namespace :admin do |admin|
-  #     # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
-  #     admin.resources :products
-  #   end
 
-  # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
-  # map.root :controller =&gt; &quot;welcome&quot;
+  # Pages
+  map.syntax &quot;/syntax&quot;, :controller =&gt; 'pages', :action =&gt; 'describe_advanced_syntax'
+  map.install &quot;/install&quot;, :controller =&gt; 'pages', :action =&gt; 'describe_installation'
+  map.ack &quot;/acknowledgements&quot;, :controller =&gt; 'pages', :action =&gt; 'display_acknowledgements'
+  map.picks &quot;/picks&quot;, :controller =&gt; 'pages', :action =&gt; 'jeremys_picks'
+  map.upcoming &quot;/upcoming&quot;, :controller =&gt; 'pages', :action =&gt; 'describe_upcoming_features'
 
-  # See how all your routes lay out with &quot;rake routes&quot;
+  
+  # Old Routes
+  map.connect &quot;/command/new&quot;, :controller =&gt; &quot;commands&quot;, :action =&gt; &quot;new&quot;
 
   # sample resource
-  map.resources :widgets
-  map.root :controller =&gt; &quot;widgets&quot;
+  map.root :controller =&gt; &quot;parser&quot;, :action =&gt; &quot;landing&quot;
 
   # Install the default routes as the lowest priority.
   map.connect ':controller/:action/:id'</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,39 +11,18 @@
 
 ActiveRecord::Schema.define(:version =&gt; 0) do
 
-  create_table &quot;mail_incoming&quot;, :force =&gt; true do |t|
-    t.text     &quot;mail&quot;
-    t.datetime &quot;created_on&quot;
+  create_table &quot;banned_url_patterns&quot;, :force =&gt; true do |t|
+    t.string &quot;pattern&quot;
   end
 
-  create_table &quot;mail_outgoing&quot;, :force =&gt; true do |t|
-    t.string   &quot;from&quot;
-    t.string   &quot;to&quot;
-    t.integer  &quot;last_send_attempt&quot;, :limit =&gt; 11, :default =&gt; 0
-    t.text     &quot;mail&quot;
-    t.datetime &quot;created_on&quot;
-  end
-
-  create_table &quot;users&quot;, :force =&gt; true do |t|
-    t.string   &quot;login&quot;
-    t.string   &quot;email&quot;
-    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;
-    t.datetime &quot;remember_token_expires_at&quot;
-    t.string   &quot;activation_code&quot;,           :limit =&gt; 40
-    t.datetime &quot;activated_at&quot;
-    t.string   &quot;state&quot;,                                   :default =&gt; &quot;passive&quot;
-    t.datetime &quot;deleted_at&quot;
-  end
-
-  create_table &quot;widgets&quot;, :force =&gt; true do |t|
+  create_table &quot;commands&quot;, :force =&gt; true do |t|
     t.string   &quot;name&quot;
-    t.integer  &quot;price&quot;,       :limit =&gt; 10
+    t.text     &quot;url&quot;
     t.text     &quot;description&quot;
-    t.boolean  &quot;is_in_stock&quot;
+    t.integer  &quot;uses&quot;,            :limit =&gt; 11, :default =&gt; 0
+    t.boolean  &quot;spam&quot;,                          :default =&gt; false
+    t.datetime &quot;last_use_date&quot;
+    t.datetime &quot;golden_egg_date&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
   end</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/controllers/sessions_controller.rb</filename>
    </removed>
    <removed>
      <filename>app/controllers/users_controller.rb</filename>
    </removed>
    <removed>
      <filename>app/controllers/widgets_controller.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/javascript_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/sessions_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/stylesheet_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/users_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/widgets_helper.rb</filename>
    </removed>
    <removed>
      <filename>app/models/login.rb</filename>
    </removed>
    <removed>
      <filename>app/models/mail_incoming.rb</filename>
    </removed>
    <removed>
      <filename>app/models/mail_outgoing.rb</filename>
    </removed>
    <removed>
      <filename>app/models/user.rb</filename>
    </removed>
    <removed>
      <filename>app/models/user_mailer.rb</filename>
    </removed>
    <removed>
      <filename>app/models/widget.rb</filename>
    </removed>
    <removed>
      <filename>app/views/sessions/new.html.haml</filename>
    </removed>
    <removed>
      <filename>app/views/sessions/show.html.haml</filename>
    </removed>
    <removed>
      <filename>app/views/user_mailer/activation_success.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/user_mailer/signup_notification.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/user_mailer/test.html.erb</filename>
    </removed>
    <removed>
      <filename>app/views/users/new.html.haml</filename>
    </removed>
    <removed>
      <filename>app/views/widgets/_form.html.haml</filename>
    </removed>
    <removed>
      <filename>app/views/widgets/edit.html.haml</filename>
    </removed>
    <removed>
      <filename>app/views/widgets/index.html.haml</filename>
    </removed>
    <removed>
      <filename>app/views/widgets/new.html.haml</filename>
    </removed>
    <removed>
      <filename>config/deploy.rb</filename>
    </removed>
    <removed>
      <filename>config/initializers/mail_settings.rb</filename>
    </removed>
    <removed>
      <filename>config/initializers/new_default.rb</filename>
    </removed>
    <removed>
      <filename>config/mailer.yml</filename>
    </removed>
    <removed>
      <filename>config/nginx/app_name.conf</filename>
    </removed>
    <removed>
      <filename>config/sms_fu.yml</filename>
    </removed>
    <removed>
      <filename>db/fixtures/SEED_FILES_GO_HERE</filename>
    </removed>
    <removed>
      <filename>lib/action_mailer/ar_mailer.rb</filename>
    </removed>
    <removed>
      <filename>lib/action_mailer/ar_sendmail.rb</filename>
    </removed>
    <removed>
      <filename>lib/authenticated_system.rb</filename>
    </removed>
    <removed>
      <filename>lib/authenticated_test_helper.rb</filename>
    </removed>
    <removed>
      <filename>lib/email_parser.rb</filename>
    </removed>
    <removed>
      <filename>lib/sanitizer.rb</filename>
    </removed>
    <removed>
      <filename>lib/smtp_tls.rb</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/application.css</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/common/paging.css</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/haml-forms.css</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/application.sass</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/blueprint.sass</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/common/README</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/common/paging.sass</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/components/README</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/forms.sass</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/sass/pages/README</filename>
    </removed>
    <removed>
      <filename>test/unit/mail_incoming_test.rb</filename>
    </removed>
    <removed>
      <filename>test/unit/mail_outgoing_test.rb</filename>
    </removed>
    <removed>
      <filename>test/unit/user_mailer_test.rb</filename>
    </removed>
    <removed>
      <filename>test/unit/user_test.rb</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml/init.rb</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml_forms/MIT-LICENSE</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml_forms/README</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml_forms/init.rb</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml_forms/lib/haml_form_builder.rb</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml_forms/lib/haml_form_support.rb</filename>
    </removed>
    <removed>
      <filename>vendor/plugins/haml_forms/lib/label_helper.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>fd24fdfb6356f6ce061bf028666db5c2741bfa55</id>
    </parent>
  </parents>
  <author>
    <name>Jacques Crocker</name>
    <email>jcnetdev@gmail.com</email>
  </author>
  <url>http://github.com/jcnetdev/yubnub/commit/38adc8e9e8097246431d4fe0e4970a86d2e43913</url>
  <id>38adc8e9e8097246431d4fe0e4970a86d2e43913</id>
  <committed-date>2008-07-05T17:08:51-07:00</committed-date>
  <authored-date>2008-07-05T17:08:51-07:00</authored-date>
  <message>Refactored and Upgraded to Rails 2.0</message>
  <tree>a49e79cb85db13f03028b3ee86a79816af00d307</tree>
  <committer>
    <name>Jacques Crocker</name>
    <email>jcnetdev@gmail.com</email>
  </committer>
</commit>
