aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Added i18n support to models through globalize3.Adrien Coquio2012-06-093-16/+60
| | | | | | | | | | | | | | * 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.
* Merge pull request #238 from GeekOnCoffee/fix_countPhilip Arndt2012-05-191-1/+1
|\ | | | | Adding Finder Method to utilize count
| * Removing redundant live methodAndrew Hooker2012-05-191-4/+0
| |
| * Adding Finder Method to utilize countAndrew Hooker2012-05-192-1/+5
| |
* | Merge pull request #237 from GeekOnCoffee/eliminate_ternaryPhilip Arndt2012-05-191-1/+1
|\ \ | |/ |/| Eliminate Ternary
| * Eliminate TernaryAndrew Hooker2012-05-191-1/+1
| |
* | Adding Deprecation VersionAndrew Hooker2012-05-191-1/+1
| |
* | Using Standard Refinery Deprecation MethodAndrew Hooker2012-05-191-1/+1
| |
* | Renaming Method to better describe use, Including Deprecation Warning on Old ↵Andrew Hooker2012-05-191-2/+7
|/ | | | Method
* Do we really need a model called comment_mailer?Philip Arndt2012-05-151-1/+0
|
* Adding attr_accessible for Rails 3.2 mass assignment fixes.Matt Garrison2012-04-181-1/+2
|
* Fix MassAssignmentSecurity::Error in integration test.Pete Higgins2012-04-011-1/+3
|
* Now supporting FriendlyId 4Philip Arndt2012-02-272-10/+4
|
* Don't need to specify class names here.Pete Higgins2012-02-232-3/+3
|
* Cleanup next and previous stuff.Pete Higgins2012-02-231-7/+4
|
* Remove functionality provided by rails.Pete Higgins2012-02-231-6/+0
|
* DRY some Refinery::Blog::Post methods.Pete Higgins2012-02-231-7/+8
|
* Change a .map to a .pluck.Pete Higgins2012-02-221-1/+1
|
* Merge pull request #195 from substantial/refactor_archive_widgetPhilip Arndt2012-02-221-6/+6
|\ | | | | Refactor archive widget
| * Refactor .by_archive and .by_year.Pete Higgins2012-02-101-4/+4
| |
| * Refactor all_previous into published_dates_older_than.Pete Higgins2012-02-101-2/+2
| |
* | cleanupJeff Shumate2012-02-221-1/+1
| |
* | add popularity counter to blog posts as well as accessor for recent postsJeff Shumate2012-02-221-0/+8
|/
* Move some of the Refinery::Setting's over to Refinery::Blog.Uģis Ozols2012-02-043-21/+12
|
* Converted scopes to class methods.Philip Arndt2012-02-032-22/+38
|
* Fix for deprecation in Rails 3.2Philip Arndt2012-01-301-1/+1
|
* Merge pull request #187 from substantial/rails-3-2-compatPhilip Arndt2012-01-281-2/+2
|\ | | | | Rails 3 2 compat
| * attr_accessible :author for Post model.Pete Higgins2012-01-261-2/+2
| |
* | add source url for postJeff Shumate2012-01-251-0/+7
|/
* Refactored everything (models, helpers) into proper namespace of ↵Philip Arndt2011-11-097-273/+267
| | | | Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
* index action of blog post controller now caches and sweeps on changesJamie Winsor2011-09-032-26/+17
| | | | | | | | | | | | | | | 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
* Add attr_accessible to blog posts to interact better with page_imagesMichael Gall2011-08-311-0/+2
|
* will_paginate is back.Uģis Ozols2011-08-252-2/+2
|
* 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/+5
|
* Remove per_page pagination code from controllers.Uģis Ozols2011-07-271-0/+3
|
* Move per_page pagination stuff into model to dry up posts controller.Uģis Ozols2011-07-271-0/+3
|
* Rails 3.1 - wip.Uģis Ozols2011-07-2710-272/+280
|
* categorization has_many :through should have an ID, and the relationship ↵Joe Sak2011-07-182-2/+2
| | | | should be destroyed if the blog post or category is
* readonly author just for safety's sakeJoe Sak2011-07-181-1/+1
|
* Added ability to disable teaser independent of teaser lengthJohan Bruning2011-07-041-0/+13
| | | | | | 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.
* just remove this and it's fine, we won't have to remember to use it for ↵Joe Sak2011-06-301-2/+0
| | | | future attrs
* Allow custom_teaser field to be updated via forms.Kyle Wilkinson2011-06-211-1/+1
|
* Make blog_post custom_url field updatable.Kyle Wilkinson2011-06-161-1/+1
|
* Add logic to allow users to override the url for a post from just a title.Kyle Wilkinson2011-06-161-1/+5
|
* Make category_ids attribute accessible so that blog categories can be updated.Kyle Wilkinson2011-06-141-1/+1
|
* Merged remote branch 'keram/master'.Philip Arndt2011-05-312-3/+9
|\
| * For backwards compatibility must be approximate_ascii and strip_non_ascii by ↵Marek2011-05-192-4/+4
| | | | | | | | default false
| * Approximate ascii on blog slugs. For: GH-60Marek2011-05-192-2/+8
| |
* | Add page-like tab functionalityMichael Gall2011-05-311-0/+2
| |