aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Edited app/models/blog_post.rb via GitHubJoe Sak2011-05-101-1/+1
|
* Added form fields for SEO and translations.Philip Arndt2011-05-061-1/+2
|
* Add is_seo_meta call to blog posts.Philip Arndt2011-05-051-9/+11
|
* tests were failing all over the placeJoe Sak2011-04-221-2/+0
|
* Added friendly_id to categories so instead of /categories/1 we get, say, ↵Philip Arndt2011-04-021-0/+4
| | | | /categories/news
* Acts as taggable installedJoe Sak2011-03-111-0/+3
|
* Closes GH-44. Authors are now associated with blog posts by current_user ↵Joe Sak2011-02-241-1/+3
|\ | | | | | | | | | | | | Merge branch 'addingusers' Conflicts: app/models/blog_post.rb
| * Wrong syntax for AR associationJoe Sak2011-02-241-1/+1
| |
| * Blog Posts belong to an author ("user_id")Joe Sak2011-02-241-0/+2
| |
* | just a lil' reminderJoe Sak2011-02-241-1/+2
|/
* Added settings click-button functionality for toggling comments being ↵Philip Arndt2011-02-211-1/+8
| | | | enabled, with translations.
* lambda is necessary to keep Time.now from becoming a constant, which allows ↵Joe Sak2011-02-161-3/+3
| | | | .uncategorized to use .live posts again
* This is probably just fasterJoe Sak2011-02-161-2/+2
|
* default_scope :order => 'published_at DESC'Joe Sak2011-02-162-10/+18
| | | | move "next" to << self to use exclusive scope
* Add class method to find uncategorized postsJoe Sak2011-02-161-1/+5
|
* Closes GH-37. Move habtm assn to a has_many :through so posts can be ordered ↵Joe Sak2011-02-153-2/+10
| | | | by published_at DESC on category#show view
* Archives group by year after 2 yearsJoe Sak2011-01-101-0/+4
|
* The blog nav should not grab next & previous drafts :)Joe Sak2010-12-151-2/+2
|
* Prevent mass assignment.Uģis Ozols2010-12-081-0/+2
|
* Added some rspec tests for blog post model.Uģis Ozols2010-12-071-0/+1
|
* Optimised post_count method. See gist for benchmarks - ↵Uģis Ozols2010-12-031-8/+1
| | | | https://gist.github.com/726844
* When we delete blog post it should delete associated comments too.Uģis Ozols2010-12-031-1/+1
|
* Rails 3 validation style.Uģis Ozols2010-12-033-7/+4
|
* Remove all Rails2/Rails3 checks as master is now Rails3 onlyAmanda Wagener2010-12-012-33/+10
|
* Consistent whitespace.Philip Arndt2010-11-233-6/+6
|
* use string value for :scopingJ. Edward Dewyea2010-11-222-17/+17
|
* Merged in Joe's and Steven's forks and updated for compatibility with < ↵Philip Arndt2010-11-221-4/+19
|\ | | | | | | 0.9.9. Also, specs now work by including the factories and I have also laid the foundation for cucumber features. Fixed an issue where the javascript file was clashing with the same code we merged to core from this engine relating to submenus. Regenerated gemspec.
* | Added Next, Previous Article & Home navigationJoe Sak2010-11-201-8/+22
|/
* Archive listing, views, helpersJoe Sak2010-11-181-0/+14
| | | | | | @page added to PostsController TODO: language file stuff -- I left comments in the view files where these belong. I don't know how to test them from here
* Added comment notifications.Philip Arndt2010-11-152-14/+25
|
* use published at in more placesdjones2010-09-211-1/+1
|
* added publish date support. fixes bug where categories were showing posts ↵djones2010-09-212-4/+19
| | | | that were technically supposed to be hidden from the end user
* added built in ShareThis.com supportdjones2010-09-141-0/+17
|
* Hello rails3 support.Philip Arndt2010-09-032-13/+31
|
* Comment moderation now working in the backend. Of course it still happens ↵Philip Arndt2010-09-021-1/+21
| | | | automatically if the blog isn't moderated based on whether it's spam or not.
* Comments are now moderated automatically unless moderation is enabled and ↵Philip Arndt2010-08-302-1/+15
| | | | show up below posts.
* wrote rails engine for later, added ability to add comments and see ones ↵Philip Arndt2010-08-281-1/+11
| | | | already posted.
* Good, brackets aren't required here.Philip Arndt2010-08-261-1/+1
|
* Blog categories now save onto their posts.Philip Arndt2010-08-261-4/+2
|
* In theory categories should save correctly.Philip Arndt2010-08-251-0/+8
|
* spacingPhilip Arndt2010-08-111-4/+14
|
* Fixes moderation toggler.Philip Arndt2010-08-111-2/+2
|
* Adds unmoderated support through changing approved to state.Philip Arndt2010-08-111-2/+3
|
* remove word currentlyPhilip Arndt2010-08-111-1/+1
|
* Helps when you use the RefinerySetting library properly. This is even sadder ↵Philip Arndt2010-08-111-8/+4
| | | | when you wrote most of it and then forgot.
* Better settings, update notified has a form but doesn't yet work. Created ↵Philip Arndt2010-08-101-3/+17
| | | | script files but not using them yet.
* Make comment moderation toggleablePhilip Arndt2010-08-101-0/+17
|
* Why verify presence and uniqueness of an attribute that doesn't exist?Joe Sak2010-08-091-3/+0
| | | | It was causing mysterious test fails, too.