Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Sep 13, 2011
  1. @xaviershay
Commits on Jul 23, 2011
  1. @xaviershay
  2. @xaviershay
  3. @xaviershay

    Clean up commenting routes, the hack that was there was for a much

    xaviershay authored
    earlier version of Rails and is no longer required.
  4. @xaviershay

    Fix OpenID commenting.

    xaviershay authored
    A recent change in Rails (3.0.4 I think) added
    code to reset the session if the CSRF request forgery check failed. This
    was happening on the OpenID callback, so the pending comment was being
    lost, with the result of a blank comment trying to be saved.
    
    This commit disables CSRF check only for OpenID callbacks, I don't think
    it makes sense in this context.
    
    Fixes #37.
  5. @xaviershay
Commits on Jul 9, 2011
  1. @xaviershay
Commits on Mar 25, 2011
  1. @xaviershay
  2. @xaviershay
Commits on Mar 4, 2011
  1. @xaviershay

    Send csrf-token with AJAX requests now that rails doesn't make an exc…

    xaviershay authored
    …eption for XHR in 3.0.4.
    
    Fixes #27.
Commits on Feb 15, 2011
  1. @xaviershay
  2. @lucianosousa @xaviershay

    fix spec about /pages request. Closes #6. Closes #24.

    lucianosousa authored xaviershay committed
  3. @xaviershay
Commits on Feb 9, 2011
  1. @xaviershay

    Comment the psych hack

    xaviershay authored
  2. @xaviershay
Commits on Feb 4, 2011
  1. @xaviershay
  2. @xaviershay
Commits on Jan 24, 2011
  1. @xaviershay
Commits on Jan 9, 2011
  1. @amw @xaviershay

    Load jquery unobtrusive js driver.

    amw authored xaviershay committed
    At least one ujs driver needs to be loaded if enki is to be used with Rails 3. Since Prototype is not included in any layout I'm adding Jquery that is used everywhere in Enki.
    
    Without this driver things like the Logout button in Admin panel did not work. It was pointing to GET admin_session_url instead of
    DELETE admin_session_url.
    
    The driver required jquery update.
Commits on Dec 21, 2010
  1. @xaviershay
  2. @xaviershay
  3. @xaviershay
  4. @xaviershay
  5. @xaviershay
  6. @amw

    Unify atom links on index page and atom itself.

    amw authored
    The atom link on the html index (without tag) is "url/posts.atom" while on the atom feed the self link was "url/.atom".
    
    This commit copies the url statement from index to atom feed.
Commits on Dec 20, 2010
  1. @amw

    Fix posts time shifts.

    amw authored
    If system's time zone != rails time zone (default utc) then continuously saving a post shifts it's creation time by the time zone difference.
    
    This initializes Chronic timezone to Rails config.
  2. @gaelian
  3. @gaelian

    Tagging model now automatically removes unused tags when taggable is …

    gaelian authored
    …updated
    
    or destroyed. Includes accompanying specs.
Commits on Dec 18, 2010
  1. @xaviershay

    content(:page_title) now returns blank rather than nil when not

    xaviershay authored
    provided, so update the code accordingly. Thanks mirlord.
    
    Closes #17.
Commits on Dec 3, 2010
  1. @xaviershay
  2. @amw @xaviershay

    Don't throw exception when viewing empty tag.

    amw authored xaviershay committed
    I'm settings my posts date to future as a replacement for the missing "draft" feature. If you do so the post will not be displayed in posts index or posts index by tag, but the tag will be visible in the navigation bar. Clicking a new for which the article isn't published yet causes an exception.
    
    This commits makes it display "There are no posts yet".
    
    The real fix to this problem would be filtering out tags with only unpublished posts, but this would either require a lot more coding or would slow down tag list terribly.
  3. @xaviershay
  4. @xaviershay

    Remove stubbed OpenID specs. They are far too brittle. Add a note to

    xaviershay authored
    write an integration test instead.
  5. @amw @xaviershay

    Fix openid comments errors display.

    amw authored xaviershay committed
    authenticate_with_open_id returns :base, not 'base'.
  6. @amw @xaviershay

    Fix comments posting when using invalid openid.

    amw authored xaviershay committed
    Stays in the create action when invalid openid is provided.
    Runs comment validations when session[pending_comment] is not nil.
Something went wrong with that request. Please try again.