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
fccc86e63c
Updated to support Refinery CMS 2.0.1 and Rails 3.2.2
2012-03-06 13:17:41 +13:00
Philip Arndt
215ea87e45
require refinerycms-settings
2012-03-01 13:48:13 +13:00
Philip Arndt
594dd8ca96
Now supporting FriendlyId 4
2012-02-27 17:08:37 +13:00
Uģis Ozols
34fd7b7b89
Move some of the Refinery::Setting's over to Refinery::Blog.
2012-02-04 21:22:51 +02:00
Uģis Ozols
5c3de1175f
Don't need to set initializer order anymore.
2012-02-02 15:48:30 +02:00
Jeff Shumate
e274bb1757
add source url for post
2012-01-25 22:27:46 -07:00
Uģis Ozols
ad0b7f6ac8
Don't need to set table_name_prefix because it gets set by isolate_namespace.
2012-01-20 15:34:59 +02:00
Uģis Ozols
083fd20ee5
Don't need to set engine_name because it gets set by isolate_namespace.
2012-01-20 15:27:00 +02: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
Philip Arndt
2a2fcca649
Isolate this engine to Refinery::Blog (which, according to my interpretation of the docs, is how it should be) and remove url hack now that resolve/refinerycms#1193 has been fixed.
2012-01-10 17:19:28 +13:00
Pete Higgins
becdbfaa9b
Fix typo in activity route.
2012-01-08 16:30:41 -08:00
Pete Higgins
edfa8b81e7
Fix activity route generation. Workaround for resolve/refinerycms#1193 .
2012-01-06 11:36:27 -08:00
Uģis Ozols
c84d887187
refinerycms-core requires Rails so don't check if defined?(Rails).
2012-01-02 14:26:49 +02:00
Uģis Ozols
26243ddade
Don't require rails explicitly because refinerycms-core will do it for us.
2011-12-22 12:10:42 +02:00
Uģis Ozols
567bdd6334
Return correct root path.
2011-12-22 11:36:48 +02:00
Pete Higgins
8cc819aeed
Fix tab highlighting in admin interface.
2011-12-15 17:27:18 -08:00
Philip Arndt
36c005ecd1
Refactored everything (models, helpers) into proper namespace of Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
2011-11-09 22:19:07 +13:00
Uģis Ozols
d18364d359
Use root menthod to set engine factory path.
2011-11-06 21:28:25 +02:00
Uģis Ozols
a85b7ffab0
Specify correct path to factories.
2011-11-04 15:54:12 +02:00
Jamie Winsor
3165574730
Move blog tab accessor and class array to blog file from tab file
2011-10-28 12:15:07 -07:00
Jamie Winsor
e01e9ff9b7
Tabs are autoloaded, don't need to explicitly require
2011-10-27 19:37:38 -07:00
Jamie Winsor
14daff297b
Refactor require layout to match other engines
2011-10-27 19:36:54 -07:00
Jamie Winsor
8cd4a282d8
This is the blog engine... not hte resources engine..
2011-10-27 15:29:02 -07:00
Jamie Winsor
993b4a8b1b
Update engine definition
...
Isolate engine to Refinery
add engine name
Add initializer to register engine with Refinery
Rename plugin init initializer to be more descriptive
Update plugin initializer to conform to latest master of RefineryCMS
2011-10-26 13:28:54 -07:00
Jamie Winsor
7903bdfed2
refactor factories and add #show tests for posts controller
...
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
2011-09-04 14:35:03 -07:00
Jamie Winsor
e85535da5f
Refactor testing tasks out of this project and into refinerycms project
2011-08-03 20:56:12 -07:00
Jamie Winsor
d3eff64d19
Add rake tasks to initialize the testing environment
...
Update README to reflect new functionality
2011-08-03 20:38:41 -07:00
Jamie Winsor
21b19db5a3
refactor engine testing scenario
...
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
2011-08-03 18:01:32 -07:00
Uģis Ozols
3fa8937b95
Rails 3.1 - wip.
2011-07-27 13:46:24 +03:00
Philip Arndt
e7d107ca4f
We will have to push a version 1.6.2 to fix 1.6.1 tag_list bug.
2011-06-27 10:26:23 +12:00
Joe Sak
3b975e0d77
postgreSQL is picky about doing a LIKE query
2011-06-21 22:52:21 -05:00
Philip Arndt
f0e4b6c8c1
This will have to be 1.6.0 when it's released.
2011-05-31 14:45:36 +12:00
Philip Arndt
2dc08f3a49
tab -> tabs and requiring the file on to_prepare so that it actually loads. Fixed specs now that the form 'looks' different.
2011-05-31 14:16:04 +12:00
Michael Gall
60fc7839f8
Add page-like tab functionality
2011-05-31 13:53:56 +12:00
Philip Arndt
3a5d3f56f3
Wow, I'm getting good at releasing new versions of this. Fixes size (again).
2011-05-28 00:32:20 +12:00
Philip Arndt
2d41081770
use options[:size] not size.
2011-05-28 00:28:31 +12:00
Philip Arndt
f88cd445a1
Allow plugin to work on Refinery CMS ~> 1.0.0 again, rebranded as 1.5.0
2011-05-26 14:15:56 +12:00
Philip Arndt
1f72e3d90a
Made version code more accessible and fixed up lib/gemspec.rb
2011-04-25 13:43:14 +12:00