Commits on Apr 29, 2012
  1. Fix mock deletion on project pages

    This is a followup to causes#2, which
    fixed mock deletion on mock pages but not project pages.
    
    Change-Id: Iab35e5c824cf43acf79e29421c1b74d0d5c30ae3
    Reviewed-on: https://gerrit.causes.com/6057
    Tested-by: Chris Chan <chris@causes.com>
    Reviewed-by: Chris Chan <chris@causes.com>
    Chris Chan committed Apr 29, 2012
  2. Fix replies not appearing in order

    After the upgrade to Rails 3 replies to comments have not been
    appearing in order. This commit ensures that all child comments
    by default display in order of creation.
    
    Fixes causes#4
    
    Change-Id: I3cc01de9af69b14c7354704d094dafe794a2c074
    Reviewed-on: https://gerrit.causes.com/6058
    Tested-by: Chris Chan <chris@causes.com>
    Reviewed-by: Chris Chan <chris@causes.com>
    Chris Chan committed Apr 29, 2012
  3. Tweak home page styles

    Change-Id: I014ed2ea7e6834bc5f76b29fd5ecd8828983372a
    Reviewed-on: https://gerrit.causes.com/6059
    Tested-by: Chris Chan <chris@causes.com>
    Reviewed-by: Chris Chan <chris@causes.com>
    Chris Chan committed Apr 29, 2012
Commits on Apr 28, 2012
  1. Add jquery-ujs-rails to mocks/show layout

    Rails 3 and higher requires an unobtrusive JavaScript library to take care of
    HTTP verbs like DELETE; the JavaScript intercepts the button click and handles
    the DELETE.
    
    Change-Id: Ie2e7a00659edcc9f615493fb5680868b5e56fa58
    Reviewed-on: https://gerrit.causes.com/6054
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 28, 2012
Commits on Apr 26, 2012
  1. Finish removing Mock emails

    Change-Id: I556424d6a46b187ecb5751164c216ffc7d8bea88
    Reviewed-on: https://gerrit.causes.com/5879
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 24, 2012
Commits on Apr 25, 2012
  1. @lann

    Update 'new comment' emails to ActionMailer 3.0

    Change-Id: Ie32bc9ae2f94b3edaa6cb4f69dd79b1e19b34a29
    Reviewed-on: https://gerrit.causes.com/5875
    Tested-by: Adam Derewecki <adam@causes.com>
    Reviewed-by: Lann Martin <lann@causes.com>
    Adam Derewecki committed with lann Apr 24, 2012
Commits on Apr 16, 2012
  1. Remove un-used method

    Change-Id: I211d20581457da4c0deb458b2215a3c90d7743c5
    Reviewed-on: https://gerrit.causes.com/5456
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 16, 2012
  2. Remove deprecated action_controller.session call

    Change-Id: I8a7132e11bb2b1fa5714ad6dd76dce1043d0c431
    Reviewed-on: https://gerrit.causes.com/5302
    Reviewed-by: Jimmy Kittiyachavalit <jimmy@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  3. Fixed styling in README.md

    Change-Id: I6a85c7609bc78a3b635f3235245520e105f07fcf
    Reviewed-on: https://gerrit.causes.com/5457
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 16, 2012
  4. Update README.md

    Added a "Try it out!" section to the readme with a link to the live sandbox at
    http://mockr-demo.heroku.com/
    
    Change-Id: I78368c2d3f4d393ece566570dda2a89b8a6b7a71
    Reviewed-on: https://gerrit.causes.com/5455
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 16, 2012
Commits on Apr 14, 2012
  1. @lann

    Fix comment image highlight

    Th .comment_node box attribute was being incorrectly escaped. I took the
    opportunity to move some view logic out of the model, renaming
    Comment#box_attribute to #box_coords
    
    Change-Id: I7ca0914c6732a6a40fa06b9d4cc9db83cdef2ec7
    Reviewed-on: https://gerrit.causes.com/5358
    Reviewed-by: Lann Martin <lann@causes.com>
    Tested-by: Lann Martin <lann@causes.com>
    lann committed Apr 14, 2012
  2. Add image to README.md

    Change-Id: I09f2dd06bfe229bad150e6532c8a0abe67cbcf98
    Reviewed-on: https://gerrit.causes.com/5330
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  3. Fix typo in README.md

    Change-Id: I98175ab4cba96f5c7fe6d13a8d7c990e55e9b830
    Reviewed-on: https://gerrit.causes.com/5329
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  4. Add Facebook profile photos in comments authors section

    Adds a facebook_photo_url helper to application helper and uses it for comments
    
    Change-Id: I657377c35964c55930816b247c138fbc0a20051f
    Reviewed-on: https://gerrit.causes.com/5327
    Tested-by: Adam Derewecki <adam@causes.com>
    Reviewed-by: Lann Martin <lann@causes.com>
    Adam Derewecki & Chris Chan committed with Adam Derewecki Apr 13, 2012
  5. @lann

    Add project filter box to home/index

    Change-Id: I11e9d08f3fb2af31dfe4b4af8bcd66778641c569
    Reviewed-on: https://gerrit.causes.com/5315
    Tested-by: Lann Martin <lann@causes.com>
    Reviewed-by: Lann Martin <lann@causes.com>
    lann committed Apr 13, 2012
  6. Add mockr screenshot

    Change-Id: Ie0b7eb491c6eee3c79e276c2c28d4e2d6871c82c
    Reviewed-on: https://gerrit.causes.com/5312
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  7. Allow projects to be archived

    Current Projects will now list all project, but display an 'X' on hover that
    will allow you to archive. There's a new "All Projects" section that you can
    expand that will list all, including archived, projects.
    
    Change-Id: I1cbc530d4f2a7a2d5d465b0264d188a1f15b2d89
    Reviewed-on: https://gerrit.causes.com/5307
    Reviewed-by: Jimmy Kittiyachavalit <jimmy@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  8. Fix formatting issue in README.md

    Change-Id: I8801c73c0d2172d9e64926054d86713610831a57
    Reviewed-on: https://gerrit.causes.com/5297
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  9. Post Rails 3.0.12 upgrade fixups

    - Clean up layouts
    - Clean up views/{home,projects}
    - Clean up helpers
    - Clean up views/settings
    - Clean up views/{shared,usage,users}
    - Collapse Mockr lib into ApplicationController
     - The Mockr module consisted solely of unclaimed?, so I just collapsed it down
       into ApplicationController. Cleaned up references in associated templates and
       controllers.
    - Update mock mailers
     - moves mock related mailers into mock_mailer from notifier
     - update the gmail_smtp settings for the new Rails 3.0 configuration settings
     - change default sending email address to use the specified domain name
    - Fix jquery javascript_include_tags
    - Fix deprecated error_message_on
    - Fix library includes
     - Locally, the development server was dealing with `require 'lib/*'`
       gracefully, but Heroku is being complainy. This commit removes the 'lib/'
       prefix.
    
    Change-Id: I0dafcc65fe3d21eb67d4395fa532d098ae05de65
    Reviewed-on: https://gerrit.causes.com/5291
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki & Lann Martin committed with Adam Derewecki Apr 13, 2012
  10. Upgrade to Rails 3.0.12

    Change-Id: I4190989c836764205138ed79a2435eb80fa790dd
    Reviewed-on: https://gerrit.causes.com/5290
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 13, 2012
  11. Move paperclip from vendor/plugins to gem

    Change-Id: I772a79a9db28e12b43529c3b2759c828e6105117
    Reviewed-on: https://gerrit.causes.com/5289
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 11, 2012
Commits on Apr 13, 2012
  1. @lann

    Clean up views/{home,projects}

    Change-Id: I4c3d91d6fa230e5f12a7efa48183e70fad6db547
    Reviewed-on: https://gerrit.causes.com/5251
    Reviewed-by: Lann Martin <lann@causes.com>
    Tested-by: Lann Martin <lann@causes.com>
    lann committed Apr 13, 2012
  2. @lann

    Clean up layouts

    Change-Id: If78cb127967669499c9f7f2ebb45890e3ca7ac08
    Reviewed-on: https://gerrit.causes.com/5246
    Tested-by: Lann Martin <lann@causes.com>
    Reviewed-by: Lann Martin <lann@causes.com>
    lann committed Apr 13, 2012
  3. Rails 3.0.12 prereqs

    Change-Id: I8eaffdc164957a4cc8ddfd5c02f548158678137e
    Reviewed-on: https://gerrit.causes.com/5232
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 11, 2012
  4. Fix uploading flow for Mockr instances without Campfire configured

    Users without a Campfire subdomain set were seeing an error message when
    uploading a mock. The mock went through, but we were encountering an error in
    attempting to parse the URI ".campfire.now", which does not exist. We now only
    parse if a proper campfire subdomain has been configured.
    
    Change-Id: I18af41801b9115baf159869dbb11593d1c96c662
    Reviewed-on: https://gerrit.causes.com/5217
    Tested-by: Chris Chan <chris@causes.com>
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Chris Chan committed with Adam Derewecki Apr 13, 2012
Commits on Apr 11, 2012
  1. Remove reference to missing background

    Change-Id: Id7472ad7255d40195002ddaeacf61d2f59d1f476
    Reviewed-on: https://gerrit.causes.com/5122
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 11, 2012
  2. Upgrade Rails 2.3.5 => 2.3.14

    Change-Id: I99640adbf6df70b2dcd80db6499a259960851685
    Reviewed-on: https://gerrit.causes.com/5126
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 11, 2012
  3. Net::HTTP instead of open(uri).read

    Change-Id: I3a16673e042a8682a637718d1bcfe3efaa19fdf5
    Reviewed-on: https://gerrit.causes.com/5125
    Reviewed-by: Adam Derewecki <adam@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 11, 2012
  4. Use OpenGraph to get new user's name in claim flow

    Instead of a "Lost" inspired default name, we utilize the Facebook OpenGraph
    JSON API to pull basic contact details based on a Facebook UID.
    
    Change-Id: I78ed6f37f34aad081ed2994bf406f7c37defffcb
    Reviewed-on: https://gerrit.causes.com/5113
    Reviewed-by: Lann Martin <lann@causes.com>
    Tested-by: Adam Derewecki <adam@causes.com>
    Adam Derewecki committed Apr 11, 2012
Commits on Apr 10, 2012
  1. Add db/*.sqlite3 to .gitignore

    Change-Id: I2f584fcd3680118e2ca2d6fb8eeabb42f24e2eef
    Reviewed-on: https://gerrit.causes.com/5044
    Reviewed-by: Lann Martin <lann@causes.com>
    Tested-by: Chris Chan <chris@causes.com>
    Adam Derewecki committed with Chris Chan Apr 10, 2012
  2. Standardize on a default name that doesn't depend on a Facebook cookie.

    Change-Id: Ie20a5957809fbf8ed56cf943e2fa1959634a2e9b
    Reviewed-on: https://gerrit.causes.com/5045
    Reviewed-by: Chris Chan <chris@causes.com>
    Tested-by: Chris Chan <chris@causes.com>
    Chris Chan committed Apr 10, 2012
  3. Make SQLite3 the :development default

    These were the bare minimum changes I needed to make to get Mockr up and
    running locally with SQLite3.
    
    - Gemfile{,.lock}
      - SQLite3 is the development database adapter
      - pg (Postgres) has been moved to the :production group
    - database.yml has been switched to SQLite
    - the SQLite rule was added to the `create_user' migration
    Adam Derewecki committed Apr 10, 2012
Commits on Feb 7, 2012
  1. Fix mock grid layout issue

    Chris Chan committed Feb 7, 2012
Commits on Jan 22, 2012
  1. Remove debug info

    Chris Chan committed Jan 21, 2012