Commit graph

305 commits

Author SHA1 Message Date
Pete Higgins
6df59131f1 Fix MassAssignmentSecurity::Error in integration test. 2012-04-01 16:23:15 -07:00
Nic Haynes
0c78cd138d Fix draft translation 2012-03-22 08:41:38 -05:00
Nic Haynes
435763f307 Show published date if not drafted 2012-03-21 00:23:58 -05:00
Nic Haynes
f8e38d516a Fix markup for draft input 2012-03-21 00:23:42 -05:00
Nic Haynes
31bdd586f2 Move draft checkbox for better usability 2012-03-20 19:43:30 -05:00
Nic Haynes
96448fc374 Add draft label to admin index 2012-03-20 19:43:18 -05:00
Philip Arndt
3049816aa9 Don't cache when logged in or there's a flash message. Moved canonical to protected methods. 2012-03-20 15:16:58 +13:00
Philip Arndt
9bcf2b3dda This took code presentation to a new level. 2012-02-29 23:47:15 +13:00
Philip Arndt
70d8f46c12 Don't like having a dialogue for this 2012-02-29 21:26:33 +13:00
Philip Arndt
8edc3ab3dd y u need two lines 2012-02-29 21:23:10 +13:00
Philip Arndt
594dd8ca96 Now supporting FriendlyId 4 2012-02-27 17:08:37 +13:00
Pete Higgins
d353cd556c Don't need to specify class names here. 2012-02-23 00:29:46 -08:00
Pete Higgins
5eaad8997f Cleanup next and previous stuff. 2012-02-23 00:20:37 -08:00
Pete Higgins
2537923034 Remove functionality provided by rails. 2012-02-23 00:09:09 -08:00
Pete Higgins
c9ff548329 DRY some Refinery::Blog::Post methods. 2012-02-23 00:02:15 -08:00
Pete Higgins
5ea1b7399b Change a .map to a .pluck. 2012-02-22 23:50:05 -08:00
Philip Arndt
f82d2c96e4 Merge pull request #195 from substantial/refactor_archive_widget
Refactor archive widget
2012-02-22 23:43:01 -08:00
Philip Arndt
5440fad815 Merge pull request #200 from dmoose/rails-3-1-recent-popular
Rails 3 1 recent popular
2012-02-22 20:11:14 -08:00
Jeff Shumate
602759af1b cleanup 2012-02-22 21:00:45 -07:00
Jeff Shumate
4f0b5f8223 add popularity counter to blog posts as well as accessor for recent posts 2012-02-22 20:37:08 -07:00
Mark Stuart
29809838f4 Correct translations scope 2012-02-23 15:43:07 +13:00
Pete Higgins
f140ed284f Refactor .by_archive and .by_year. 2012-02-10 01:07:04 -08:00
Pete Higgins
aaf26e22d2 Refactor all_previous into published_dates_older_than. 2012-02-10 01:06:05 -08:00
Pete Higgins
80187eac7d Refactor blog archive widget. 2012-02-10 01:05:51 -08:00
Uģis Ozols
1af631b501 Refinery::Crud already sets title_attribute and redirect_to_url with the same values. 2012-02-04 22:01:00 +02:00
Uģis Ozols
34fd7b7b89 Move some of the Refinery::Setting's over to Refinery::Blog. 2012-02-04 21:22:51 +02:00
Philip Arndt
6d06af3400 Converted scopes to class methods. 2012-02-03 11:34:49 +13:00
Philip Arndt
33bfa4dd23 Added support for new code in Refinery CMS since resolve/refinerycms#1234 2012-02-01 16:34:06 +13:00
Mark Stuart
e46f0549c6 New 'main_app.' format. 2012-01-30 17:42:26 +13:00
Mark Stuart
2a672af348 New 'main_app.' format 2012-01-30 17:41:11 +13:00
Mark Stuart
f9d51ed549 Correct path for form tag. Updated cancel_url to new format. 2012-01-30 17:38:48 +13:00
Philip Arndt
44a059a475 Fix for deprecation in Rails 3.2 2012-01-30 11:48:24 +13:00
Philip Arndt
f8cd5804ad Merge pull request #187 from substantial/rails-3-2-compat
Rails 3 2 compat
2012-01-28 20:03:11 -08:00
Pete Higgins
c89b4dfc1f attr_accessible :author for Post model. 2012-01-26 16:58:04 -08:00
Jeff Shumate
e274bb1757 add source url for post 2012-01-25 22:27:46 -07:00
Jeff Shumate
f62ad53f8f really fix issue 175 path error in _nav 2012-01-25 22:00:56 -07:00
Jeff Shumate
be73028ee8 fix issue 175 2012-01-25 21:45:21 -07:00
Pete Higgins
492fd663ca Fix route helper in categories view. 2012-01-24 20:12:45 -08:00
Philip Arndt
ea2f177b0d Merge pull request #181 from enmasse-entertainment/fix_comment_posting
Fix comment posting
2012-01-24 14:45:13 -08:00
Pete Higgins
3abf537eaa Fix comment posting. 2012-01-24 14:42:54 -08:00
Tony Semana
4eb17bb58d Fixed to show the word 'blog' only once in route 2012-01-17 15:17:43 -05:00
Tony Semana
f77592bc05 Fixes posts_helper to use updated refinery namespacing 2012-01-17 12:51:38 -05:00
Philip Arndt
b1e4fd0094 Fixed namespacing for Refinery conventions. 2012-01-17 16:56:24 +13:00
Philip Arndt
b3a25c1b68 Restructured part of the project to Refinery::Blog::Admin not Refinery::Admin::Blog 2012-01-17 16:56:23 +13:00
Uģis Ozols
223a719300 Use Refinery::Core.config to get site name. 2012-01-02 14:26:05 +02:00
Uģis Ozols
fd0521bb99 Fix deprecation warning. Closes #164. 2012-01-02 13:52:44 +02:00
Philip Arndt
547c8bcff2 Refinery::Page.default_parts is now Refinery::Pages.config.default_parts 2011-12-17 17:57:26 +13:00
Philip Arndt
de5c02994c Use Refinery::Page APIs (content_for) properly. 2011-12-17 17:43:09 +13:00
Pete Higgins
04b49b2371 Allow configurable author for blog posts. 2011-12-14 15:24:20 -08:00
Shaun
d90c831cca ensure page titles on date-based and tag-based archive views are unique 2011-11-11 12:09:05 -08:00