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

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

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

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

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

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

    provided, so update the code accordingly. Thanks mirlord.
    
    Closes #17.
    xaviershay committed Dec 18, 2010
Commits on Dec 3, 2010
  1. Spec for last commit (don't 404 empty tags).

    Closes #15.
    xaviershay committed Dec 3, 2010
  2. Don't throw exception when viewing empty tag.

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

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

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

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

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

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

    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.
    xaviershay committed Nov 21, 2010
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…

    …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
    xaviershay committed Nov 14, 2010
  3. Fix admin/tags

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

    xaviershay committed Nov 14, 2010