Permalink
Commits on Aug 7, 2011
  1. Got the SVN handler *mostly* working.

    The SVN handler proxies to mod_dav_svn running under apache.  The configuration
    for this proxy is in config/settings.yml, under svn_app_config.port and
    svn_app_config.host.  Right now, this proxies paths like
    /p/project-name/repo-name.svn/ to
    http://localhost:8001/project-name.repo-name.svn/, but this doesn't work with
    the SVN client because the client sends the original URL in the request body
    and then the server sends back a 500 error because it doesn't think the client
    is using the right repo.  While SVN can't connect, the web interface works.
    Just create repositories under /var/codefoundry/svn/project-name/repo-name.svn
    and symlink /var/codefoundry/svn/project-name.repo-name.svn.
    committed Aug 7, 2011
Commits on Jul 30, 2011
  1. Removing routes for git and svn handlers.

    We don't want to use /git or /svn, instead we will use paths like
    /projects/cf/repositories/main.git (or .svn).
    committed Jul 30, 2011
  2. Fixing git handler.

    Clone/push now work for git repositories!  There is currently no access
    control, we will have to add that later.  These changes add the GitHandler as
    middleware in config/application.rb.  Loading lib/git_handler is probably
    incorrect, but for some reason I had annoying troubles when trying to load from
    lib.  The git_handler itself has been updated to match projedt repository URLs
    ending in .git.  I plan to do the same for the SVN handler.
    committed Jul 30, 2011
  3. Updating paperclip, which had a bug with new rails.

    This should fix the to_tempfile bug:
    thoughtbot/paperclip#327
    committed Jul 30, 2011
Commits on Jul 29, 2011
  1. Same as last commit.

    I had to remove a hard-coded version in order to get it to work.
    committed Jul 29, 2011
  2. Ran bundle update delayed_job.

    DJ and psych YAML parsing do not play nice, but bundler and rubygems use it.
    This causes problems that I hope an update will fix.  See
    collectiveidea/delayed_job#201
    committed Jul 29, 2011
Commits on Jan 9, 2011
  1. Removing database.yml.

    committed Jan 9, 2011
Commits on Jan 2, 2011
  1. Adding roadmap and updating about.

    Changed faq/roadmap to copy the about action.
    
    Adding roadmap to outline what needs to be done and adding it to the main menu
    for now.
    committed Jan 2, 2011
Commits on Jan 1, 2011
  1. Increasing space between the header and content.

    This looks nicer with longer headings.
    committed Jan 1, 2011
  2. Adding gears image to the footer.

    Playing around with images from thenounproject.com and came up with some gears
    that look nice in the footer.  I had to add svg_tag helper.  The nice thing
    about using SVG is that it scales with the page.
    
    svg_tag uses an embed element rather than an object element.  embed is
    discouraged by w3c, but I couldn't get object to work for some reason.
    committed Jan 1, 2011
Commits on Dec 28, 2010
  1. Adding render_marker.

    render_marker is a new ApplicationController method that sets up a marker page
    and renders it.  This is supposed to allow us to write static documentation and
    information pages (e.g., faq and about) in marker format, stored in git.  The
    view it uses is shared/marker and marker docs should be stored in public/docs.
    
    About and faq pages now use render_marker and empty files are in docs.
    committed Dec 28, 2010
  2. Moved start/find project buttons into Welcome menu.

    Previously, these were displayed in the sidebar but were from the index page.
    Now, they are included in the _context_menu partial and will be on all Welcome
    controller pages.
    committed Dec 28, 2010
  3. Adding Marker setup and style.

    Added lib/marker_templates.rb, where templates should be defined.  This
    currently includes a simple html_safe method to escape < and >.  Ruby crashes
    when I use h() for some reason.
    
    Marker configuration is handled in a new initializer for marker, which
    currently sets up the template module in lib/marker_templates and sets the
    link_base from Settings.  Lastly, the initializer changes the default
    method_missing to hide template information in a abbr tag.
    
    Added footnotes style to application.css.
    
    Removed "\r" sanitization from the marker helper since it is not needed.
    committed Dec 28, 2010
Commits on Dec 26, 2010
  1. Starting to add Marker styles.

    Added .indent and list compression.  Includes some minor tweaks also.
    committed Dec 26, 2010
Commits on Dec 21, 2010
  1. Finished layout style!

    committed Dec 21, 2010
Commits on Dec 20, 2010
Commits on Dec 19, 2010
  1. Trying some new style.

    committed Dec 19, 2010
  2. Commenting out git and svn handlers in config.ru.

    The handlers were configured by the settings object and were broken on the
    upgrade to Settingslogic because it isn't loaded yet when config.ru runs.  We
    will have to fix this later, but it's fine for now because we need to build
    other things.
    committed Dec 19, 2010
Commits on Dec 12, 2010
  1. Added notification area.

    The new notification area is a place to display messages and popup forms.  It
    displays system messages (renders shared/_system_messages), the flash
    notifications (renders shared/_flash) and the :forms content.  The idea is to
    have a fixed-position popup area that is not displayed until there is relevant
    content.
    
    So far, system messages aren't defined and there is just a stub partial in
    place.  Flash messages are working but ugly; JS is in place to display the
    messages and age-off notices and successes after 10 seconds.  Using a partial
    to display flash makes it easy to render the flash for async JS calls so it is
    appropriate to use for async form submission results.
    
    Forms can be added to the area by using content_for :forms.  Forms should start
    off with CSS class "hide".
    committed Dec 12, 2010
  2. Updating Gemfile to point at rubygems.org.

    Also adding Gemfile.lock, which is recommended by the bundler website.  The
    lock file is what contains the versions that are bundled with my install.  This
    will keep all of the bundled libraries on each developer's system in sync.
    committed Dec 12, 2010
Commits on Nov 14, 2010
  1. Added some annoyances to .gitignore.

    * public/projects avatar folder
    * TODO list (or TODO.txt)
    committed Nov 14, 2010
  2. Removing another harsh file.

    committed Nov 14, 2010
  3. Switching JS engine to jQuery.

    Using the advice on the jquery-ujs github page, adding the gem and using the
    generator to install:
     $ rails generate jquery:install --ui
          remove  public/javascripts/controls.js
          remove  public/javascripts/dragdrop.js
          remove  public/javascripts/effects.js
          remove  public/javascripts/prototype.js
        fetching  jQuery (1.4.3)
          create  public/javascripts/jquery.js
          create  public/javascripts/jquery.min.js
        fetching  jQuery UI (latest 1.x release)
          create  public/javascripts/jquery-ui.js
          create  public/javascripts/jquery-ui.min.js
        fetching  jQuery UJS adapter (github HEAD)
        conflict  public/javascripts/rails.js
     Overwrite public/javascripts/rails.js? (enter "h" for help) [Ynaqdh] Y
           force  public/javascripts/rails.js
    committed Nov 14, 2010
  4. Changing settings to use Settingslogic.

    Was using a home-grown solution, but this is much nicer for accessing and
    supports ERB.
    committed Nov 6, 2010
  5. Moving back to one Gemfile by removing uv/harsh.

    We decided to move to coderay, since it rocks and isn't a pain in the ass.
    
    The harsh submodule is also removed in this commit.
    committed Nov 6, 2010