imagine_cms 3.0.0.beta12 → 3.0.0.beta13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -2,12 +2,9 @@
2
2
 
3
3
  Imagine CMS is a content management system developed by {Bigger Bird Creative, Inc.}[https://www.biggerbird.com] in 2006 for its clients. Other systems came with a learning curve: fine for daily users, but clients who only used it once a month or so would never remember how to use the system the next time they logged in. Simpler systems didn't allow us enough flexibility as designers and developers.
4
4
 
5
- =Usage & Demo
5
+ =Demo
6
6
 
7
- Add to your Gemfile:
8
- gem 'imagine_cms'
9
-
10
- Working on the demo... it needs to be fairly resilient to hacking attempts, not a trivial thing to set up.
7
+ Working on this... it needs to be fairly resilient to hacking attempts, not a trivial thing to set up.
11
8
 
12
9
  =History and Roadmap
13
10
 
@@ -25,14 +22,18 @@ Of the three original phases of this project, two remain:
25
22
 
26
23
  =Current Status
27
24
 
28
- Imagine 3.0 is finally ready for production use internally at Bigger Bird, but it's not quite ready for general use yet. For starters, it has no install generator or migrations, so good luck figuring out the database schema on your own. Probably still buggy, not all functionality has been properly exercised. No tests or documentation yet, I'll tackle this for 4.0 as we modernize the internals.
25
+ Imagine 3.0 is finally ready for production use internally at Bigger Bird, but it's not quite ready for general use yet. Probably still buggy, not all functionality has been properly exercised, and there are no tests yet, I'll tackle this for 4.0 as we modernize the internals.
29
26
 
30
- One major feature is still missing: browser-based editing of application layout and stylesheets. While convenient, this was probably not ever a good idea, so I'm working on a better solution. Might need to go into 3.1. Once 3.0 has stabilized in production (December 2012-ish), I'll branch off 3.0-stable and begin work on 3.1 on master.
27
+ One major feature is still missing: browser-based editing of view layouts and stylesheets. While convenient, this was probably not ever a good idea, so I'm working on a better solution.
31
28
 
32
29
  Unless you are interested in contributing to development, it might be best to wait until the second phase of this project (Imagine 4). Why? Well, the purpose of Imagine 3 is strictly to port legacy sites to Rails 3.2 as simply as possible. Imagine 3 will always be held back by its need to remain compatible with legacy installations dating back to 2006. The ERB templating language can be dangerous (it allows all Ruby, including shell escapes), and the editor (powered by an ancient version of Dojo) is Firefox-only. It also uses Prototype, which has become a bit unfashionable these days.
33
30
 
34
31
  Imagine 4 will be a clean break from all of these "traditions," and thus will be a good time to get on board.
35
32
 
33
+ =Hosting
34
+
35
+ Imagine 3 can run on most "standard" Rails hosting platforms, anything that uses Passenger, Unicorn, etc. On hosts that don't allow/recommend writing to the local filesystem (e.g. Heroku) you won't be able to use photo galleries or page caching, but other features should work (this has not been tested).
36
+
36
37
  =Getting Help
37
38
 
38
39
  Get paid support and hosting for Imagine CMS straight from the people who made it: {Bigger Bird Creative, Inc.}[https://www.biggerbird.com] Neither is required, of course. :-) Free support is up top (Issues).
@@ -63,6 +63,9 @@ module Cms # :nodoc:
63
63
  end
64
64
 
65
65
  def show_from_db
66
+ @@cms_page_table_exists ||= CmsPage.table_exists?
67
+ return unless @@cms_page_table_exists
68
+
66
69
  logger.debug 'Rendering content from database'
67
70
 
68
71
  begin
@@ -867,9 +867,7 @@ class Management::CmsController < Management::ApplicationController # :nodoc:
867
867
  next if img.include?('-thumb')
868
868
 
869
869
  thumbfile = File.join(Rails.root, 'public', @dirname, File.basename(img, File.extname(img))) + '-thumb.jpg'
870
- #@thumbs << File.basename(img, File.extname(img))
871
- @thumbs << File.join(@dirname, File.basename(img, File.extname(img))) +
872
- '-thumb.jpg'
870
+ @thumbs << File.join(@dirname, File.basename(img, File.extname(img))) + '-thumb.jpg'
873
871
 
874
872
  next if File.exists?(thumbfile)
875
873
 
@@ -1,3 +1,3 @@
1
1
  module ImagineCms
2
- VERSION = "3.0.0.beta12"
2
+ VERSION = "3.0.0.beta13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagine_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta12
4
+ version: 3.0.0.beta13
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-22 00:00:00.000000000 Z
12
+ date: 2012-12-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails