Permalink
Switch branches/tags
Nothing to show
Commits on Jan 9, 2011
  1. Load jquery unobtrusive js driver.

    Adam Wróbel authored and xaviershay committed Dec 20, 2010
    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. Unify atom links on index page and atom itself.

    Adam Wróbel
    Adam Wróbel committed Dec 21, 2010
    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. Fix posts time shifts.

    Adam Wróbel
    Adam Wróbel committed Dec 20, 2010
    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. Removed admin/tags controller and related views/specs/routes. Updated…

    gaelian committed Dec 20, 2010
    … admin
    
    layout.
    
    Closes #7.
  3. Tagging model now automatically removes unused tags when taggable is …

    gaelian committed Dec 20, 2010
    …updated
    
    or destroyed. Includes accompanying specs.
Commits on Dec 18, 2010
  1. content(:page_title) now returns blank rather than nil when not

    xaviershay committed Dec 18, 2010
    provided, so update the code accordingly. Thanks mirlord.
    
    Closes #17.
Commits on Dec 3, 2010
  1. Don't throw exception when viewing empty tag.

    Adam Wróbel authored and xaviershay committed Dec 2, 2010
    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.
  2. Remove stubbed OpenID specs. They are far too brittle. Add a note to

    xaviershay committed Dec 3, 2010
    write an integration test instead.
  3. Fix openid comments errors display.

    Adam Wróbel authored and xaviershay committed Dec 1, 2010
    authenticate_with_open_id returns :base, not 'base'.
  4. Fix comments posting when using invalid openid.

    Adam Wróbel authored and xaviershay committed Dec 1, 2010
    Stays in the create action when invalid openid is provided.
    Runs comment validations when session[pending_comment] is not nil.
  5. Don't double wrap ActiveRecord models returned in JSON (thanks dreamr).

    xaviershay committed Dec 3, 2010
    Was returning {'post': {'post': { ... }}}
    Now returns   {'post': { ... }}
Commits on Nov 25, 2010
  1. String#slugorize now allows apostrophes, and correctly strips multiple

    xaviershay committed Nov 25, 2010
    dashes at the start and end of the string.
Commits on Nov 21, 2010
  1. Fix OpenID login. This was broken by a change in behaviour in the

    xaviershay committed Nov 21, 2010
    underlying OpenID library (returning 401 to begin OpenID auth), and a subsequent invalid fix on our side that
    made the specs pass, but didn't actually work.
    
    Closes #10.
Commits on Nov 19, 2010
  1. Add link to open issues

    xaviershay committed Nov 19, 2010
  2. Upgrade to rails 3.0.3

    xaviershay committed Nov 19, 2010
  3. Remove unused locales file

    xaviershay committed Nov 19, 2010
Commits on Nov 14, 2010
  1. Fix valid_html5 matchers

    xaviershay committed Nov 14, 2010
  2. Merge branch 'html5-pre-rails-3' of https://github.com/gaelian/enki i…

    xaviershay committed Nov 14, 2010
    …nto html5
    
    Conflicts:
    	app/helpers/application_helper.rb
    	app/views/admin/comments/show.html.erb
    	app/views/admin/dashboard/show.html.erb
    	app/views/admin/pages/_page.html.erb
    	app/views/admin/pages/new.html.erb
    	app/views/admin/pages/show.html.erb
    	app/views/admin/posts/_post.html.erb
    	app/views/admin/posts/new.html.erb
    	app/views/admin/posts/show.html.erb
    	app/views/layouts/admin.html.erb
    	app/views/layouts/application.html.erb
    	config/environment.rb
    	public/404.html
    	public/422.html
    	public/500.html
    	spec/be_valid_html5.rb
    	spec/be_valid_xhtml.rb
    	spec/spec_helper.rb
    	spec/support/be_valid_xhtml.rb
    	spec/views/admin/comments/index.html.erb_spec.rb
    	spec/views/admin/comments/show.html.erb_spec.rb
    	spec/views/admin/dashboard/show.html.erb_spec.rb
    	spec/views/admin/pages/index.html.erb_spec.rb
    	spec/views/admin/pages/new.html.erb_spec.rb
    	spec/views/admin/pages/show.html.erb_spec.rb
    	spec/views/admin/posts/index.html.erb_spec.rb
    	spec/views/admin/posts/new.html.erb_spec.rb
    	spec/views/admin/posts/show.html.erb_spec.rb
    	spec/views/admin/sessions/new.html.erb_spec.rb
    	spec/views/admin/undo_items/index.html.erb_spec.rb
    	spec/views/archives/index.html.erb_spec.rb
    	spec/views/pages/show.html.erb_spec.rb
    	spec/views/posts/index.html.erb_spec.rb
    	spec/views/posts/show.html.erb_spec.rb
  3. Fix admin/tags

    xaviershay committed Nov 14, 2010
  4. Fix live comment preview

    xaviershay committed Nov 14, 2010