imagine_cms 3.0.0.beta8 → 3.0.0.beta9
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/.gitignore +9 -4
- data/.rvmrc +19 -0
- data/Gemfile +14 -1
- data/Gemfile.lock +111 -0
- data/README.rdoc +44 -28
- data/Rakefile +39 -1
- data/app/controllers/management/cms_controller.rb +13 -4
- data/app/helpers/cms_application_helper.rb +3 -3
- data/app/models/cms_page.rb +1 -6
- data/app/views/{management/cms → imagine_cms}/_dialogs.html.erb +4 -3
- data/app/views/imagine_cms/_header.html.erb +40 -0
- data/app/views/imagine_cms/_toolbar.html.erb +26 -0
- data/app/views/layouts/management.html.erb +5 -0
- data/imagine_cms.gemspec +6 -1
- data/lib/imagine_cms/version.rb +1 -1
- data/license.txt +661 -0
- data/script/rails +8 -0
- data/test/dummy/app/assets/stylesheets/application.css +1 -1
- data/test/dummy/config/application.rb +5 -2
- data/test/dummy/config/environments/production.rb +1 -1
- data/test/dummy/config/initializers/secret_token.rb +1 -1
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/dummy/config/initializers/wrap_parameters.rb +1 -1
- data/test/dummy/config/routes.rb +2 -56
- data/test/imagine_cms_test.rb +7 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +5 -0
- metadata +30 -44
- data/doc/Gemfile.html +0 -89
- data/doc/ImagineCms.html +0 -137
- data/doc/README_rdoc.html +0 -137
- data/doc/Rakefile.html +0 -87
- data/doc/created.rid +0 -6
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -82
- data/doc/js/darkfish.js +0 -153
- data/doc/js/jquery.js +0 -18
- data/doc/js/navigation.js +0 -142
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/rdoc.css +0 -543
- data/doc/table_of_contents.html +0 -65
- data/test/test123_test.rb +0 -7
@@ -3,7 +3,7 @@ require File.expand_path('../boot', __FILE__)
|
|
3
3
|
require 'rails/all'
|
4
4
|
|
5
5
|
Bundler.require
|
6
|
-
require "
|
6
|
+
require "imagine_cms"
|
7
7
|
|
8
8
|
module Dummy
|
9
9
|
class Application < Rails::Application
|
@@ -35,6 +35,9 @@ module Dummy
|
|
35
35
|
# Configure sensitive parameters which will be filtered from the log file.
|
36
36
|
config.filter_parameters += [:password]
|
37
37
|
|
38
|
+
# Enable escaping HTML in JSON.
|
39
|
+
config.active_support.escape_html_entities_in_json = true
|
40
|
+
|
38
41
|
# Use SQL instead of Active Record's schema dumper when creating the database.
|
39
42
|
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
40
43
|
# like if you have constraints or database-specific column types
|
@@ -44,7 +47,7 @@ module Dummy
|
|
44
47
|
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
45
48
|
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
46
49
|
# parameters by using an attr_accessible or attr_protected declaration.
|
47
|
-
|
50
|
+
config.active_record.whitelist_attributes = true
|
48
51
|
|
49
52
|
# Enable the asset pipeline
|
50
53
|
config.assets.enabled = true
|
@@ -20,7 +20,7 @@ Dummy::Application.configure do
|
|
20
20
|
# Generate digests for assets URLs
|
21
21
|
config.assets.digest = true
|
22
22
|
|
23
|
-
# Defaults to
|
23
|
+
# Defaults to nil and saved in location specified by config.assets.prefix
|
24
24
|
# config.assets.manifest = YOUR_PATH
|
25
25
|
|
26
26
|
# Specifies the header that your server uses for sending files
|
@@ -4,4 +4,4 @@
|
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
Dummy::Application.config.secret_token = '
|
7
|
+
Dummy::Application.config.secret_token = 'eb5fb7660a738940a38542ef2f46c1b4d8ec715139afad4e3c09e51b09709efa2182de271e9037e720d84a374ac6b6c826d1fc55d81bd7974b4ed45dcdc95e92'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
Dummy::Application.config.session_store :cookie_store, :
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
7
|
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters :
|
8
|
+
wrap_parameters format: [:json]
|
9
9
|
end
|
10
10
|
|
11
11
|
# Disable root element in JSON by default.
|
data/test/dummy/config/routes.rb
CHANGED
@@ -1,58 +1,4 @@
|
|
1
|
-
|
2
|
-
# The priority is based upon order of creation:
|
3
|
-
# first created -> highest priority.
|
1
|
+
Rails.application.routes.draw do
|
4
2
|
|
5
|
-
|
6
|
-
# match 'products/:id' => 'catalog#view'
|
7
|
-
# Keep in mind you can assign values other than :controller and :action
|
8
|
-
|
9
|
-
# Sample of named route:
|
10
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
-
|
13
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
-
# resources :products
|
15
|
-
|
16
|
-
# Sample resource route with options:
|
17
|
-
# resources :products do
|
18
|
-
# member do
|
19
|
-
# get 'short'
|
20
|
-
# post 'toggle'
|
21
|
-
# end
|
22
|
-
#
|
23
|
-
# collection do
|
24
|
-
# get 'sold'
|
25
|
-
# end
|
26
|
-
# end
|
27
|
-
|
28
|
-
# Sample resource route with sub-resources:
|
29
|
-
# resources :products do
|
30
|
-
# resources :comments, :sales
|
31
|
-
# resource :seller
|
32
|
-
# end
|
33
|
-
|
34
|
-
# Sample resource route with more complex sub-resources
|
35
|
-
# resources :products do
|
36
|
-
# resources :comments
|
37
|
-
# resources :sales do
|
38
|
-
# get 'recent', :on => :collection
|
39
|
-
# end
|
40
|
-
# end
|
41
|
-
|
42
|
-
# Sample resource route within a namespace:
|
43
|
-
# namespace :admin do
|
44
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
-
# # (app/controllers/admin/products_controller.rb)
|
46
|
-
# resources :products
|
47
|
-
# end
|
48
|
-
|
49
|
-
# You can have the root of your site routed with "root"
|
50
|
-
# just remember to delete public/index.html.
|
51
|
-
# root :to => 'welcome#index'
|
52
|
-
|
53
|
-
# See how all your routes lay out with "rake routes"
|
54
|
-
|
55
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
-
# match ':controller(/:action(/:id))(.:format)'
|
3
|
+
mount ImagineCms::Engine => "/imagine_cms"
|
58
4
|
end
|
data/test/test_helper.rb
CHANGED
@@ -8,3 +8,8 @@ Rails.backtrace_cleaner.remove_silencers!
|
|
8
8
|
|
9
9
|
# Load support files
|
10
10
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
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.
|
4
|
+
version: 3.0.0.beta9
|
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-
|
12
|
+
date: 2012-11-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -107,7 +107,23 @@ dependencies:
|
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '1.2'
|
110
|
-
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: sqlite3
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
description: See README for details.
|
111
127
|
email:
|
112
128
|
- aaron@biggerbird.com
|
113
129
|
executables: []
|
@@ -115,7 +131,9 @@ extensions: []
|
|
115
131
|
extra_rdoc_files: []
|
116
132
|
files:
|
117
133
|
- .gitignore
|
134
|
+
- .rvmrc
|
118
135
|
- Gemfile
|
136
|
+
- Gemfile.lock
|
119
137
|
- README.rdoc
|
120
138
|
- Rakefile
|
121
139
|
- app/assets/images/codepress/line-numbers.png
|
@@ -285,6 +303,9 @@ files:
|
|
285
303
|
- app/models/user.rb
|
286
304
|
- app/views/errors/404.html.erb
|
287
305
|
- app/views/errors/permission_denied.html.erb
|
306
|
+
- app/views/imagine_cms/_dialogs.html.erb
|
307
|
+
- app/views/imagine_cms/_header.html.erb
|
308
|
+
- app/views/imagine_cms/_toolbar.html.erb
|
288
309
|
- app/views/layouts/management.html.erb
|
289
310
|
- app/views/management/cms/_complete_gallery.html.erb
|
290
311
|
- app/views/management/cms/_create_file_link.html.erb
|
@@ -294,7 +315,6 @@ files:
|
|
294
315
|
- app/views/management/cms/_crop_results_feature_image.html.erb
|
295
316
|
- app/views/management/cms/_crop_results_thumb.html.erb
|
296
317
|
- app/views/management/cms/_crop_thumb.html.erb
|
297
|
-
- app/views/management/cms/_dialogs.html.erb
|
298
318
|
- app/views/management/cms/_edit_page.html.erb
|
299
319
|
- app/views/management/cms/_gallery_index.html.erb
|
300
320
|
- app/views/management/cms/_gallery_setup.html.erb
|
@@ -348,44 +368,6 @@ files:
|
|
348
368
|
- app/views/util/_tab.html.erb
|
349
369
|
- config/initializers/constants.rb
|
350
370
|
- config/routes.rb
|
351
|
-
- doc/Gemfile.html
|
352
|
-
- doc/ImagineCms.html
|
353
|
-
- doc/README_rdoc.html
|
354
|
-
- doc/Rakefile.html
|
355
|
-
- doc/created.rid
|
356
|
-
- doc/images/add.png
|
357
|
-
- doc/images/brick.png
|
358
|
-
- doc/images/brick_link.png
|
359
|
-
- doc/images/bug.png
|
360
|
-
- doc/images/bullet_black.png
|
361
|
-
- doc/images/bullet_toggle_minus.png
|
362
|
-
- doc/images/bullet_toggle_plus.png
|
363
|
-
- doc/images/date.png
|
364
|
-
- doc/images/delete.png
|
365
|
-
- doc/images/find.png
|
366
|
-
- doc/images/loadingAnimation.gif
|
367
|
-
- doc/images/macFFBgHack.png
|
368
|
-
- doc/images/package.png
|
369
|
-
- doc/images/page_green.png
|
370
|
-
- doc/images/page_white_text.png
|
371
|
-
- doc/images/page_white_width.png
|
372
|
-
- doc/images/plugin.png
|
373
|
-
- doc/images/ruby.png
|
374
|
-
- doc/images/tag_blue.png
|
375
|
-
- doc/images/tag_green.png
|
376
|
-
- doc/images/transparent.png
|
377
|
-
- doc/images/wrench.png
|
378
|
-
- doc/images/wrench_orange.png
|
379
|
-
- doc/images/zoom.png
|
380
|
-
- doc/index.html
|
381
|
-
- doc/js/darkfish.js
|
382
|
-
- doc/js/jquery.js
|
383
|
-
- doc/js/navigation.js
|
384
|
-
- doc/js/search.js
|
385
|
-
- doc/js/search_index.js
|
386
|
-
- doc/js/searcher.js
|
387
|
-
- doc/rdoc.css
|
388
|
-
- doc/table_of_contents.html
|
389
371
|
- imagine_cms.gemspec
|
390
372
|
- lib/acts_as_versioned/.document
|
391
373
|
- lib/acts_as_versioned/.gitignore
|
@@ -440,6 +422,8 @@ files:
|
|
440
422
|
- lib/upload_progress/test/multipart_progress_testx.rb
|
441
423
|
- lib/upload_progress/test/upload_progress_helper_testx.rb
|
442
424
|
- lib/upload_progress/test/upload_progress_testx.rb
|
425
|
+
- license.txt
|
426
|
+
- script/rails
|
443
427
|
- test/dummy/README.rdoc
|
444
428
|
- test/dummy/Rakefile
|
445
429
|
- test/dummy/app/assets/javascripts/application.js
|
@@ -472,7 +456,8 @@ files:
|
|
472
456
|
- test/dummy/public/500.html
|
473
457
|
- test/dummy/public/favicon.ico
|
474
458
|
- test/dummy/script/rails
|
475
|
-
- test/
|
459
|
+
- test/imagine_cms_test.rb
|
460
|
+
- test/integration/navigation_test.rb
|
476
461
|
- test/test_helper.rb
|
477
462
|
- vendor/.DS_Store
|
478
463
|
homepage: https://github.com/anamba/imagine_cms
|
@@ -532,5 +517,6 @@ test_files:
|
|
532
517
|
- test/dummy/public/500.html
|
533
518
|
- test/dummy/public/favicon.ico
|
534
519
|
- test/dummy/script/rails
|
535
|
-
- test/
|
520
|
+
- test/imagine_cms_test.rb
|
521
|
+
- test/integration/navigation_test.rb
|
536
522
|
- test/test_helper.rb
|
data/doc/Gemfile.html
DELETED
@@ -1,89 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>Gemfile - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "./";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body class="file">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="./index.html">Home</a>
|
28
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="project-metadata">
|
47
|
-
<nav id="fileindex-section" class="section project-section">
|
48
|
-
<h3 class="section-header">Pages</h3>
|
49
|
-
|
50
|
-
<ul>
|
51
|
-
|
52
|
-
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
53
|
-
|
54
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
55
|
-
|
56
|
-
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
57
|
-
|
58
|
-
</ul>
|
59
|
-
</nav>
|
60
|
-
|
61
|
-
<nav id="classindex-section" class="section project-section">
|
62
|
-
<h3 class="section-header">Class and Module Index</h3>
|
63
|
-
|
64
|
-
<ul class="link-list">
|
65
|
-
|
66
|
-
<li><a href="./ImagineCms.html">ImagineCms</a>
|
67
|
-
|
68
|
-
</ul>
|
69
|
-
</nav>
|
70
|
-
|
71
|
-
</div>
|
72
|
-
</nav>
|
73
|
-
|
74
|
-
<div id="documentation" class="description">
|
75
|
-
|
76
|
-
<p>source “<a href="http://rubygems.org">rubygems.org</a>”</p>
|
77
|
-
|
78
|
-
<p># Specify your gem’s dependencies in imagine_cms.gemspec gemspec</p>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
<footer id="validator-badges">
|
85
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
86
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
87
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
88
|
-
</footer>
|
89
|
-
|
data/doc/ImagineCms.html
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>module ImagineCms - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "./";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body id="top" class="module">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="./index.html">Home</a>
|
28
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/imagine_cms/version.rb
|
51
|
-
<li>lib/imagine_cms.rb
|
52
|
-
</ul>
|
53
|
-
</nav>
|
54
|
-
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
<div id="class-metadata">
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</div>
|
64
|
-
|
65
|
-
<div id="project-metadata">
|
66
|
-
<nav id="fileindex-section" class="section project-section">
|
67
|
-
<h3 class="section-header">Pages</h3>
|
68
|
-
|
69
|
-
<ul>
|
70
|
-
|
71
|
-
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
72
|
-
|
73
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
74
|
-
|
75
|
-
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
76
|
-
|
77
|
-
</ul>
|
78
|
-
</nav>
|
79
|
-
|
80
|
-
<nav id="classindex-section" class="section project-section">
|
81
|
-
<h3 class="section-header">Class and Module Index</h3>
|
82
|
-
|
83
|
-
<ul class="link-list">
|
84
|
-
|
85
|
-
<li><a href="./ImagineCms.html">ImagineCms</a>
|
86
|
-
|
87
|
-
</ul>
|
88
|
-
</nav>
|
89
|
-
|
90
|
-
</div>
|
91
|
-
</nav>
|
92
|
-
|
93
|
-
<div id="documentation">
|
94
|
-
<h1 class="module">module ImagineCms</h1>
|
95
|
-
|
96
|
-
<div id="description" class="description">
|
97
|
-
|
98
|
-
</div><!-- description -->
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<!-- Constants -->
|
110
|
-
<section id="constants-list" class="section">
|
111
|
-
<h3 class="section-header">Constants</h3>
|
112
|
-
<dl>
|
113
|
-
|
114
|
-
<dt id="VERSION">VERSION
|
115
|
-
|
116
|
-
<dd class="description">
|
117
|
-
|
118
|
-
|
119
|
-
</dl>
|
120
|
-
</section>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<!-- Methods -->
|
126
|
-
|
127
|
-
</section><!-- 5Buntitled-5D -->
|
128
|
-
|
129
|
-
</div><!-- documentation -->
|
130
|
-
|
131
|
-
|
132
|
-
<footer id="validator-badges">
|
133
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
134
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
135
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
136
|
-
</footer>
|
137
|
-
|
data/doc/README_rdoc.html
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>README - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "./";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body class="file">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="./index.html">Home</a>
|
28
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="project-metadata">
|
47
|
-
<nav id="fileindex-section" class="section project-section">
|
48
|
-
<h3 class="section-header">Pages</h3>
|
49
|
-
|
50
|
-
<ul>
|
51
|
-
|
52
|
-
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
53
|
-
|
54
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
55
|
-
|
56
|
-
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
57
|
-
|
58
|
-
</ul>
|
59
|
-
</nav>
|
60
|
-
|
61
|
-
<nav id="classindex-section" class="section project-section">
|
62
|
-
<h3 class="section-header">Class and Module Index</h3>
|
63
|
-
|
64
|
-
<ul class="link-list">
|
65
|
-
|
66
|
-
<li><a href="./ImagineCms.html">ImagineCms</a>
|
67
|
-
|
68
|
-
</ul>
|
69
|
-
</nav>
|
70
|
-
|
71
|
-
</div>
|
72
|
-
</nav>
|
73
|
-
|
74
|
-
<div id="documentation" class="description">
|
75
|
-
|
76
|
-
<h1 id="label-About+Imagine+CMS">About Imagine CMS</h1>
|
77
|
-
|
78
|
-
<p>Imagine CMS is a content management system originally developed for
|
79
|
-
internal use at Bigger Bird Creative (biggerbird.com). However, it was so
|
80
|
-
strongly bound to Rails that it became difficult to port to newer Rails
|
81
|
-
versions. Thus, sites using Imagine have been stuck on Rails 1.2 since time
|
82
|
-
immemorial.</p>
|
83
|
-
|
84
|
-
<p>This project intends to fix all that. By extracting Imagine functionality
|
85
|
-
out into a gem, we should be able to achieve compatibility with Rails 4.0
|
86
|
-
(hopefully around the time it is released). However, at the same time,
|
87
|
-
backwards compatibility with existing sites is extremely important, as the
|
88
|
-
whole reason for doing this is to allow us to upgrade existing sites to a
|
89
|
-
modern, supported version of Rails.</p>
|
90
|
-
|
91
|
-
<p>So… don’t use this. I’m not even including a license right now. (But
|
92
|
-
it will probably be AGPLv3.)</p>
|
93
|
-
|
94
|
-
<p>Wait until the second phase of this project (Imagine 4.x). Why? Well, the
|
95
|
-
3.x versions, while usable, will be hobbled by their need to remain
|
96
|
-
compatible with Bigger Bird’s existing sites. The ERB templating language
|
97
|
-
is dangerous (allows shell escapes) and the editor is Firefox-only. Once we
|
98
|
-
are into the 4.x era, when we can move ahead without worrying about
|
99
|
-
backward compatibility, it will be a good time to get on board.</p>
|
100
|
-
|
101
|
-
<h1 id="label-Roadmap">Roadmap</h1>
|
102
|
-
|
103
|
-
<p>Here’s what’s coming up:</p>
|
104
|
-
<ul><li>
|
105
|
-
<p>Imagine 3.0: 90% restored functionality, can function on existing sites
|
106
|
-
with no database changes</p>
|
107
|
-
</li><li>
|
108
|
-
<p>Imagine 3.1: 100% restored functionality, may require a few simple
|
109
|
-
migrations</p>
|
110
|
-
</li><li>
|
111
|
-
<p>Imagine 4.0: Refactoring & rewriting of the worst parts
|
112
|
-
(substitutions); move away from ERB templating, to something like Liquid;
|
113
|
-
switch to a cross-browser editor</p>
|
114
|
-
</li></ul>
|
115
|
-
|
116
|
-
<p>(Imagine 1.x and 2.x have already been used internally, so we might as well
|
117
|
-
start at 3.0.)</p>
|
118
|
-
|
119
|
-
<p>Dependencies:</p>
|
120
|
-
<ul><li>
|
121
|
-
<p>acts_as_tree</p>
|
122
|
-
</li><li>
|
123
|
-
<p>acts_as_versioned</p>
|
124
|
-
</li><li>
|
125
|
-
<p>mini_magick</p>
|
126
|
-
</li></ul>
|
127
|
-
|
128
|
-
</div>
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<footer id="validator-badges">
|
133
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
134
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
135
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
136
|
-
</footer>
|
137
|
-
|