aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Prevents rails from looking for a layout for the rss feed.Charles de Bueger2012-07-021-1/+1
|
* Use shorter syntax of render where possible.Uģis Ozols2012-06-273-5/+5
|
* Added i18n support to models through globalize3.Adrien Coquio2012-06-093-4/+9
| | | | | | | | | | | | | | * Added Post translation * Added Category translation * Use friendly_id globalize with category * Added migrate_data option on migrations for translations * Use Refinery locale instead of I18n * Refactored duplicate locale_picker partial * Removed useless .all call * Use presence instead if / blank? * Added with_globalize scopes when loading posts of one category * Use Globalize when creating post factory * Fix failing specs by creating blog posts/categories using needed locale.
* Renaming Method to better describe use, Including Deprecation Warning on Old ↵Andrew Hooker2012-05-191-1/+1
| | | | Method
* Fix page caching on index when pages param is present.Michael Gall2012-04-111-1/+1
| | | | fixes #145
* Use shorter syntax for render :partial => ...Uģis Ozols2012-04-101-1/+1
|
* Don't cache when logged in or there's a flash message. Moved canonical to ↵Philip Arndt2012-03-201-2/+3
| | | | protected methods.
* Merge pull request #200 from dmoose/rails-3-1-recent-popularPhilip Arndt2012-02-221-0/+2
|\ | | | | Rails 3 1 recent popular
| * cleanupJeff Shumate2012-02-221-1/+1
| |
| * add popularity counter to blog posts as well as accessor for recent postsJeff Shumate2012-02-221-0/+2
| |
* | Correct translations scopeMark Stuart2012-02-231-1/+1
|/
* Refinery::Crud already sets title_attribute and redirect_to_url with the ↵Uģis Ozols2012-02-042-4/+1
| | | | same values.
* Added support for new code in Refinery CMS since resolve/refinerycms#1234Philip Arndt2012-02-014-18/+18
|
* New 'main_app.' format.Mark Stuart2012-01-301-6/+6
|
* New 'main_app.' formatMark Stuart2012-01-301-1/+1
|
* Fix comment posting.Pete Higgins2012-01-241-1/+1
|
* Fixed namespacing for Refinery conventions.Philip Arndt2012-01-176-45/+45
|
* Restructured part of the project to Refinery::Blog::Admin not ↵Philip Arndt2012-01-174-10/+10
| | | | Refinery::Admin::Blog
* Allow configurable author for blog posts.Pete Higgins2011-12-141-6/+4
|
* Merge branch 'master' into rails-3-1Philip Arndt2011-11-102-14/+16
|\ | | | | | | | | | | Conflicts: app/controllers/admin/blog/posts_controller.rb app/controllers/blog/posts_controller.rb
| * fix corrupted indentationMarek2011-09-111-16/+16
| |
| * canonical tag for postsMarek2011-09-111-15/+19
| |
| * fixed listing of uncategorized postsMichael Pope2011-08-151-2/+2
| |
* | Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-097-35/+36
| | | | | | | | Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
* | setting indentation to 'rails way' for protected and private classesJamie Winsor2011-09-191-3/+3
| |
* | Namespace BlogController into Blog::BaseControllerJamie Winsor2011-09-194-17/+19
| |
* | Namespace BlogControllerHelper to Blog::ControllerHelperJamie Winsor2011-09-191-1/+1
| |
* | remove duplicate BlogControllerHelper includeJamie Winsor2011-09-191-2/+0
| |
* | Abstract filter methods into controller helpersJamie Winsor2011-09-192-26/+4
| | | | | | | | | | | | This will enable users to include the controller helper into their own controllers to perform common functions - such as finding a blog post or listing all blog posts.
* | Change current_user to current_refinery_userJamie Winsor2011-09-141-1/+1
| | | | | | | | Fixes for https://github.com/resolve/refinerycms/commit/8294a86c13943fcd9bb966341ecfa250ae4aeaf0
* | Second commit for ::Refinery::AdminControllerMichael Gall2011-09-054-4/+4
| |
* | remove useless commentJamie Winsor2011-09-041-1/+0
| |
* | refactor factories and add #show tests for posts controllerJamie Winsor2011-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | Do not want to cache classes, but do want to reload models after factory girl: http://groups.google.com/group/factory_girl/browse_thread/thread/daa24556d90c31fc http://stackoverflow.com/questions/5145165/associationtypemismatch-and-factorygirl rails_autolink was removed from Rails 3.1 and abstracted to an external gem fix display author name and post time on comment show fix namespace for thanking and moderated flash notices
* | index action of blog post controller now caches and sweeps on changesJamie Winsor2011-09-033-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix various views which were broken and untested with rails-3-1 upgrade add request spec tests for admin blog comments Factory is now FactoryGirl Fix multiple issues around listing unmoderated comments use cleaner definitions to set per_page willpaginate attribute on models update all paginate calls to use new arel representation reorganize filter sections to be located at top of controller modify uncategorized class method to activerecord scope and perform a left outer join instead of iterate through an array to find uncategorized posts move request specs into their proper places update guardfile to ensure that request specs get run when their respective controllers are modified Fix show action for AdminBlogComments and added test Fix redirection link after approving or rejecting a comment
* | will_paginate is back.Uģis Ozols2011-08-251-1/+4
| |
* | Syntax fixes for Ruby 1.8.7Jamie Winsor2011-08-143-18/+6
| |
* | refactor engine testing scenarioJamie Winsor2011-08-031-0/+0
| | | | | | | | | | | | | | | | Engine is now tested standalone by leveraging a dummy rails app Enable Guard for speedy testing Move factories to the more standard location `spec/factories/*` Update README with a Testing section Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
* | Array is paginated differently.Uģis Ozols2011-07-281-3/+3
| |
* | Update some translation scopes.Uģis Ozols2011-07-281-2/+3
| |
* | Remove per_page pagination code from controllers.Uģis Ozols2011-07-272-8/+6
| |
* | Move per_page pagination stuff into model to dry up posts controller.Uģis Ozols2011-07-271-10/+6
| |
* | Cucumber tag steps now pass.Uģis Ozols2011-07-272-9/+8
| |
* | Wip.Uģis Ozols2011-07-271-1/+1
| |
* | Rails 3.1 - wip.Uģis Ozols2011-07-2714-335/+349
|/
* Blog:PostsController#index doesn't paginate the blog posts if an rss feed is ↵Jack Kinsella2011-07-221-0/+2
| | | | requested.
* I don't know, it looks like before_filters are down hereJoe Sak2011-07-121-1/+3
|
* this is the 'railscasts' way of handling the category checkboxesJoe Sak2011-07-121-1/+6
|
* Added ability to disable teaser independent of teaser lengthJohan Bruning2011-07-041-0/+10
| | | | | | I prefer full length articles at all times on blogs and don't like teasers. I added the ability for people to disable teasers so full articles will be shown by default. The teasers can e enabled just like comments from the admin page or trough the normal settings. However not sure if the post partial now is conform standards. Maybe the helper method "blog_post_teaser" could encapsulate the check which is now done in the view and return the full length article instead of a teaser if the teasers are disabled.
* fix my typosPhilip Arndt2011-07-011-1/+1
|
* Making use of modules and putting classes under modules.Philip Arndt2011-07-016-220/+240
|