liquid_cms 0.2.1.1 → 0.2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +7 -0
- data/README.rdoc +15 -1
- data/TODO.rdoc +0 -2
- data/app/controllers/cms/assets_controller.rb +20 -6
- data/app/controllers/cms/components_controller.rb +11 -3
- data/app/controllers/cms/pages_controller.rb +15 -4
- data/app/helpers/cms/common_helper.rb +31 -31
- data/app/liquid/cms_paperclip_extension.rb +75 -3
- data/app/models/cms/asset.rb +1 -1
- data/app/models/cms/component.rb +3 -3
- data/app/views/cms/assets/_form.html.erb +1 -1
- data/app/views/cms/assets/update.js.rjs +1 -0
- data/app/views/cms/components/update.js.rjs +1 -0
- data/app/views/cms/pages/_form.html.erb +1 -1
- data/app/views/cms/pages/update.js.rjs +1 -0
- data/app/views/layouts/cms.html.erb +4 -3
- data/generators/liquid_cms/liquid_cms_generator.rb +1 -0
- data/generators/liquid_cms/templates/config/locales/cms/en.yml +4 -0
- data/generators/liquid_cms/templates/migration_rev2.rb +13 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/LICENSE +16 -20
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/codemirror.css +68 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/codemirror.js +2197 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/overlay.js +51 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/runmode.js +27 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clike/clike.js +247 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clike/index.html +102 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clojure/clojure.js +207 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clojure/index.html +85 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/LICENSE +22 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/coffeescript.js +325 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/index.html +722 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/css/css.js +124 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/css/index.html +56 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/diff/diff.css +3 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/diff/diff.js +13 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/diff/index.html +99 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/haskell/haskell.js +242 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/haskell/index.html +60 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/htmlmixed/htmlmixed.js +79 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/htmlmixed/index.html +52 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/javascript/index.html +78 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/javascript/javascript.js +352 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/jinja2/index.html +38 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/jinja2/jinja2.js +42 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/lua/index.html +72 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/lua/lua.js +140 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/index.html +340 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/markdown.css +10 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/markdown.js +230 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ntriples/index.html +33 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ntriples/ntriples.js +172 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/LICENSE +7 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/index.html +49 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/pascal.js +138 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/php/index.html +49 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/php/php.js +116 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/plsql/index.html +63 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/plsql/plsql.js +217 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/python/LICENSE.txt +21 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/python/index.html +123 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/python/python.js +320 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/r/LICENSE +24 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/r/index.html +74 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/r/r.js +141 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/rst/index.html +526 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/rst/rst.css +75 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/rst/rst.js +333 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/LICENSE +24 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/index.html +172 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/ruby.js +195 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/scheme/index.html +65 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/scheme/scheme.js +202 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/smalltalk/index.html +56 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/smalltalk/smalltalk.js +122 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/sparql/index.html +41 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/sparql/sparql.js +143 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/stex/index.html +96 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/stex/stex.js +167 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/velocity/index.html +103 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/velocity/velocity.js +146 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xml/index.html +42 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xml/xml.js +231 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xmlpure/index.html +60 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xmlpure/xmlpure.js +481 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/yaml/index.html +68 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/yaml/yaml.js +95 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/cobalt.css +17 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/default.css +19 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/eclipse.css +24 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/elegant.css +9 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/neat.css +8 -0
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/night.css +20 -0
- data/generators/liquid_cms/templates/public/cms/javascripts/cms.js +1 -1
- data/generators/liquid_cms/templates/public/cms/javascripts/codemirror_custom.js +96 -0
- data/generators/liquid_cms/templates/public/cms/stylesheets/codemirror_changes.css +26 -0
- data/generators/liquid_cms/templates/public/cms/stylesheets/liquid.css +7 -0
- data/generators/liquid_cms/templates/public/cms/stylesheets/simple_form.css +0 -8
- data/lib/liquid_cms/version.rb +1 -1
- data/liquid_cms.gemspec +0 -1
- data/test/functional/assets_controller_test.rb +35 -20
- data/test/functional/components_controller_test.rb +15 -5
- data/test/functional/pages_controller_test.rb +19 -6
- data/test/rails_app/config/environment.rb +1 -1
- data/test/rails_app/config/locales/cms/en.yml +19 -4
- data/test/rails_app/db/migrate/20110511161859_create_liquid_cms_upgrade_rev2.rb +13 -0
- data/test/unit/asset_test.rb +1 -1
- metadata +100 -58
- data/generators/liquid_cms/templates/public/cms/codemirror/css/csscolors.css +0 -55
- data/generators/liquid_cms/templates/public/cms/codemirror/css/docs.css +0 -158
- data/generators/liquid_cms/templates/public/cms/codemirror/css/font.js +0 -15
- data/generators/liquid_cms/templates/public/cms/codemirror/css/jscolors.css +0 -59
- data/generators/liquid_cms/templates/public/cms/codemirror/css/sparqlcolors.css +0 -43
- data/generators/liquid_cms/templates/public/cms/codemirror/css/xmlcolors.css +0 -55
- data/generators/liquid_cms/templates/public/cms/codemirror/js/codemirror.js +0 -582
- data/generators/liquid_cms/templates/public/cms/codemirror/js/editor.js +0 -1671
- data/generators/liquid_cms/templates/public/cms/codemirror/js/highlight.js +0 -68
- data/generators/liquid_cms/templates/public/cms/codemirror/js/mirrorframe.js +0 -81
- data/generators/liquid_cms/templates/public/cms/codemirror/js/parsecss.js +0 -161
- data/generators/liquid_cms/templates/public/cms/codemirror/js/parsedummy.js +0 -32
- data/generators/liquid_cms/templates/public/cms/codemirror/js/parsehtmlmixed.js +0 -93
- data/generators/liquid_cms/templates/public/cms/codemirror/js/parsejavascript.js +0 -359
- data/generators/liquid_cms/templates/public/cms/codemirror/js/parsesparql.js +0 -162
- data/generators/liquid_cms/templates/public/cms/codemirror/js/parsexml.js +0 -291
- data/generators/liquid_cms/templates/public/cms/codemirror/js/select.js +0 -699
- data/generators/liquid_cms/templates/public/cms/codemirror/js/stringstream.js +0 -159
- data/generators/liquid_cms/templates/public/cms/codemirror/js/tokenize.js +0 -57
- data/generators/liquid_cms/templates/public/cms/codemirror/js/tokenizejavascript.js +0 -174
- data/generators/liquid_cms/templates/public/cms/codemirror/js/undo.js +0 -413
- data/generators/liquid_cms/templates/public/cms/codemirror/js/unittests.js +0 -44
- data/generators/liquid_cms/templates/public/cms/codemirror/js/util.js +0 -133
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: liquid_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 87
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
-
|
11
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
- 0
|
11
|
+
version: 0.2.2.0
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Andrew Kaspick
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-
|
20
|
+
date: 2011-09-27 00:00:00 -05:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -52,26 +52,10 @@ dependencies:
|
|
52
52
|
version: 2.3.1
|
53
53
|
type: :runtime
|
54
54
|
version_requirements: *id002
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: vestal_versions
|
57
|
-
prerelease: false
|
58
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
|
-
requirements:
|
61
|
-
- - ~>
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
hash: 21
|
64
|
-
segments:
|
65
|
-
- 1
|
66
|
-
- 0
|
67
|
-
- 1
|
68
|
-
version: 1.0.1
|
69
|
-
type: :runtime
|
70
|
-
version_requirements: *id003
|
71
55
|
- !ruby/object:Gem::Dependency
|
72
56
|
name: simple_form
|
73
57
|
prerelease: false
|
74
|
-
requirement: &
|
58
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
75
59
|
none: false
|
76
60
|
requirements:
|
77
61
|
- - "="
|
@@ -83,11 +67,11 @@ dependencies:
|
|
83
67
|
- 4
|
84
68
|
version: 1.0.4
|
85
69
|
type: :runtime
|
86
|
-
version_requirements: *
|
70
|
+
version_requirements: *id003
|
87
71
|
- !ruby/object:Gem::Dependency
|
88
72
|
name: rubyzip
|
89
73
|
prerelease: false
|
90
|
-
requirement: &
|
74
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
91
75
|
none: false
|
92
76
|
requirements:
|
93
77
|
- - ~>
|
@@ -99,11 +83,11 @@ dependencies:
|
|
99
83
|
- 1
|
100
84
|
version: 0.9.1
|
101
85
|
type: :runtime
|
102
|
-
version_requirements: *
|
86
|
+
version_requirements: *id004
|
103
87
|
- !ruby/object:Gem::Dependency
|
104
88
|
name: will_paginate
|
105
89
|
prerelease: false
|
106
|
-
requirement: &
|
90
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
107
91
|
none: false
|
108
92
|
requirements:
|
109
93
|
- - ~>
|
@@ -115,11 +99,11 @@ dependencies:
|
|
115
99
|
- 12
|
116
100
|
version: 2.3.12
|
117
101
|
type: :runtime
|
118
|
-
version_requirements: *
|
102
|
+
version_requirements: *id005
|
119
103
|
- !ruby/object:Gem::Dependency
|
120
104
|
name: RedCloth
|
121
105
|
prerelease: false
|
122
|
-
requirement: &
|
106
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
123
107
|
none: false
|
124
108
|
requirements:
|
125
109
|
- - ">="
|
@@ -129,11 +113,11 @@ dependencies:
|
|
129
113
|
- 0
|
130
114
|
version: "0"
|
131
115
|
type: :runtime
|
132
|
-
version_requirements: *
|
116
|
+
version_requirements: *id006
|
133
117
|
- !ruby/object:Gem::Dependency
|
134
118
|
name: factory_girl
|
135
119
|
prerelease: false
|
136
|
-
requirement: &
|
120
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
137
121
|
none: false
|
138
122
|
requirements:
|
139
123
|
- - ~>
|
@@ -145,11 +129,11 @@ dependencies:
|
|
145
129
|
- 3
|
146
130
|
version: 1.2.3
|
147
131
|
type: :development
|
148
|
-
version_requirements: *
|
132
|
+
version_requirements: *id007
|
149
133
|
- !ruby/object:Gem::Dependency
|
150
134
|
name: shoulda
|
151
135
|
prerelease: false
|
152
|
-
requirement: &
|
136
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
153
137
|
none: false
|
154
138
|
requirements:
|
155
139
|
- - ~>
|
@@ -161,11 +145,11 @@ dependencies:
|
|
161
145
|
- 3
|
162
146
|
version: 2.10.3
|
163
147
|
type: :development
|
164
|
-
version_requirements: *
|
148
|
+
version_requirements: *id008
|
165
149
|
- !ruby/object:Gem::Dependency
|
166
150
|
name: mocha
|
167
151
|
prerelease: false
|
168
|
-
requirement: &
|
152
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
169
153
|
none: false
|
170
154
|
requirements:
|
171
155
|
- - ">="
|
@@ -175,7 +159,7 @@ dependencies:
|
|
175
159
|
- 0
|
176
160
|
version: "0"
|
177
161
|
type: :development
|
178
|
-
version_requirements: *
|
162
|
+
version_requirements: *id009
|
179
163
|
description: " A context aware Rails CMS engine using the Liquid template library.\n Use the 0.3.x version for Rails 3 compatibility and the 0.2.x version for Rails 2 compatibility.\n"
|
180
164
|
email:
|
181
165
|
- andrew@redlinesoftware.com
|
@@ -225,8 +209,10 @@ files:
|
|
225
209
|
- app/views/cms/assets/edit.html.erb
|
226
210
|
- app/views/cms/assets/new.html.erb
|
227
211
|
- app/views/cms/assets/show.html.erb
|
212
|
+
- app/views/cms/assets/update.js.rjs
|
228
213
|
- app/views/cms/components/_list.html.erb
|
229
214
|
- app/views/cms/components/edit.html.erb
|
215
|
+
- app/views/cms/components/update.js.rjs
|
230
216
|
- app/views/cms/documentation/_app_blocks.html.erb
|
231
217
|
- app/views/cms/documentation/_app_drops.html.erb
|
232
218
|
- app/views/cms/documentation/_app_filters.html.erb
|
@@ -250,6 +236,7 @@ files:
|
|
250
236
|
- app/views/cms/pages/edit.html.erb
|
251
237
|
- app/views/cms/pages/new.html.erb
|
252
238
|
- app/views/cms/pages/search.html.erb
|
239
|
+
- app/views/cms/pages/update.js.rjs
|
253
240
|
- app/views/cms/shared/_index.html.erb
|
254
241
|
- app/views/cms/shared/_sidebar.html.erb
|
255
242
|
- app/views/layouts/cms.html.erb
|
@@ -263,30 +250,80 @@ files:
|
|
263
250
|
- generators/liquid_cms/templates/config/locales/cms/en.yml
|
264
251
|
- generators/liquid_cms/templates/migration.rb
|
265
252
|
- generators/liquid_cms/templates/migration_rev1.rb
|
253
|
+
- generators/liquid_cms/templates/migration_rev2.rb
|
266
254
|
- generators/liquid_cms/templates/public/cms/codemirror/LICENSE
|
267
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
268
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
269
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
270
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
271
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
272
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
273
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
274
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
275
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
276
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
277
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
278
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
279
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
280
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
281
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
282
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
283
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
284
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
285
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
286
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
287
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
288
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
289
|
-
- generators/liquid_cms/templates/public/cms/codemirror/
|
255
|
+
- generators/liquid_cms/templates/public/cms/codemirror/lib/codemirror.css
|
256
|
+
- generators/liquid_cms/templates/public/cms/codemirror/lib/codemirror.js
|
257
|
+
- generators/liquid_cms/templates/public/cms/codemirror/lib/overlay.js
|
258
|
+
- generators/liquid_cms/templates/public/cms/codemirror/lib/runmode.js
|
259
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/clike/clike.js
|
260
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/clike/index.html
|
261
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/clojure/clojure.js
|
262
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/clojure/index.html
|
263
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/LICENSE
|
264
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/coffeescript.js
|
265
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/index.html
|
266
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/css/css.js
|
267
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/css/index.html
|
268
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/diff/diff.css
|
269
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/diff/diff.js
|
270
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/diff/index.html
|
271
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/haskell/haskell.js
|
272
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/haskell/index.html
|
273
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/htmlmixed/htmlmixed.js
|
274
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/htmlmixed/index.html
|
275
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/javascript/index.html
|
276
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/javascript/javascript.js
|
277
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/jinja2/index.html
|
278
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/jinja2/jinja2.js
|
279
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/lua/index.html
|
280
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/lua/lua.js
|
281
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/index.html
|
282
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/markdown.css
|
283
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/markdown.js
|
284
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/ntriples/index.html
|
285
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/ntriples/ntriples.js
|
286
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/LICENSE
|
287
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/index.html
|
288
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/pascal.js
|
289
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/php/index.html
|
290
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/php/php.js
|
291
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/plsql/index.html
|
292
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/plsql/plsql.js
|
293
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/python/LICENSE.txt
|
294
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/python/index.html
|
295
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/python/python.js
|
296
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/r/LICENSE
|
297
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/r/index.html
|
298
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/r/r.js
|
299
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/rst/index.html
|
300
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/rst/rst.css
|
301
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/rst/rst.js
|
302
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/LICENSE
|
303
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/index.html
|
304
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/ruby.js
|
305
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/scheme/index.html
|
306
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/scheme/scheme.js
|
307
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/smalltalk/index.html
|
308
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/smalltalk/smalltalk.js
|
309
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/sparql/index.html
|
310
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/sparql/sparql.js
|
311
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/stex/index.html
|
312
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/stex/stex.js
|
313
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/velocity/index.html
|
314
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/velocity/velocity.js
|
315
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/xml/index.html
|
316
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/xml/xml.js
|
317
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/xmlpure/index.html
|
318
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/xmlpure/xmlpure.js
|
319
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/yaml/index.html
|
320
|
+
- generators/liquid_cms/templates/public/cms/codemirror/mode/yaml/yaml.js
|
321
|
+
- generators/liquid_cms/templates/public/cms/codemirror/theme/cobalt.css
|
322
|
+
- generators/liquid_cms/templates/public/cms/codemirror/theme/default.css
|
323
|
+
- generators/liquid_cms/templates/public/cms/codemirror/theme/eclipse.css
|
324
|
+
- generators/liquid_cms/templates/public/cms/codemirror/theme/elegant.css
|
325
|
+
- generators/liquid_cms/templates/public/cms/codemirror/theme/neat.css
|
326
|
+
- generators/liquid_cms/templates/public/cms/codemirror/theme/night.css
|
290
327
|
- generators/liquid_cms/templates/public/cms/images/icons/accept.png
|
291
328
|
- generators/liquid_cms/templates/public/cms/images/icons/add.png
|
292
329
|
- generators/liquid_cms/templates/public/cms/images/icons/anchor.png
|
@@ -1312,16 +1349,19 @@ files:
|
|
1312
1349
|
- generators/liquid_cms/templates/public/cms/images/tree/vline.png
|
1313
1350
|
- generators/liquid_cms/templates/public/cms/images/trentacinque.gif
|
1314
1351
|
- generators/liquid_cms/templates/public/cms/javascripts/cms.js
|
1352
|
+
- generators/liquid_cms/templates/public/cms/javascripts/codemirror_custom.js
|
1315
1353
|
- generators/liquid_cms/templates/public/cms/javascripts/cookiejar.js
|
1316
1354
|
- generators/liquid_cms/templates/public/cms/javascripts/humanmsg.js
|
1317
1355
|
- generators/liquid_cms/templates/public/cms/javascripts/livepipe.js
|
1318
1356
|
- generators/liquid_cms/templates/public/cms/javascripts/parseliquid.js
|
1319
1357
|
- generators/liquid_cms/templates/public/cms/javascripts/tabs.js
|
1320
1358
|
- generators/liquid_cms/templates/public/cms/stylesheets/clearfix.css
|
1359
|
+
- generators/liquid_cms/templates/public/cms/stylesheets/codemirror_changes.css
|
1321
1360
|
- generators/liquid_cms/templates/public/cms/stylesheets/documentation.css
|
1322
1361
|
- generators/liquid_cms/templates/public/cms/stylesheets/humanmsg.css
|
1323
1362
|
- generators/liquid_cms/templates/public/cms/stylesheets/ie.css
|
1324
1363
|
- generators/liquid_cms/templates/public/cms/stylesheets/ie9.css
|
1364
|
+
- generators/liquid_cms/templates/public/cms/stylesheets/liquid.css
|
1325
1365
|
- generators/liquid_cms/templates/public/cms/stylesheets/liquidcolors.css
|
1326
1366
|
- generators/liquid_cms/templates/public/cms/stylesheets/sidebar.css
|
1327
1367
|
- generators/liquid_cms/templates/public/cms/stylesheets/simple_form.css
|
@@ -1461,6 +1501,7 @@ files:
|
|
1461
1501
|
- test/rails_app/config/routes.rb
|
1462
1502
|
- test/rails_app/db/migrate/20101018211856_create_liquid_cms_setup.rb
|
1463
1503
|
- test/rails_app/db/migrate/20110329201435_create_liquid_cms_upgrade_rev1.rb
|
1504
|
+
- test/rails_app/db/migrate/20110511161859_create_liquid_cms_upgrade_rev2.rb
|
1464
1505
|
- test/rails_app/db/seeds.rb
|
1465
1506
|
- test/rails_app/public/404.html
|
1466
1507
|
- test/rails_app/public/422.html
|
@@ -1583,6 +1624,7 @@ test_files:
|
|
1583
1624
|
- test/rails_app/config/routes.rb
|
1584
1625
|
- test/rails_app/db/migrate/20101018211856_create_liquid_cms_setup.rb
|
1585
1626
|
- test/rails_app/db/migrate/20110329201435_create_liquid_cms_upgrade_rev1.rb
|
1627
|
+
- test/rails_app/db/migrate/20110511161859_create_liquid_cms_upgrade_rev2.rb
|
1586
1628
|
- test/rails_app/db/seeds.rb
|
1587
1629
|
- test/rails_app/public/404.html
|
1588
1630
|
- test/rails_app/public/422.html
|
@@ -1,55 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
cursor: text;
|
3
|
-
}
|
4
|
-
|
5
|
-
.editbox {
|
6
|
-
margin: .4em;
|
7
|
-
padding: 0;
|
8
|
-
font-family: monospace;
|
9
|
-
font-size: 10pt;
|
10
|
-
color: black;
|
11
|
-
}
|
12
|
-
|
13
|
-
pre.code, .editbox {
|
14
|
-
color: #666;
|
15
|
-
}
|
16
|
-
|
17
|
-
.editbox p {
|
18
|
-
margin: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
span.css-at {
|
22
|
-
color: #708;
|
23
|
-
}
|
24
|
-
|
25
|
-
span.css-unit {
|
26
|
-
color: #281;
|
27
|
-
}
|
28
|
-
|
29
|
-
span.css-value {
|
30
|
-
color: #708;
|
31
|
-
}
|
32
|
-
|
33
|
-
span.css-identifier {
|
34
|
-
color: black;
|
35
|
-
}
|
36
|
-
|
37
|
-
span.css-selector {
|
38
|
-
color: #11B;
|
39
|
-
}
|
40
|
-
|
41
|
-
span.css-important {
|
42
|
-
color: #00F;
|
43
|
-
}
|
44
|
-
|
45
|
-
span.css-colorcode {
|
46
|
-
color: #299;
|
47
|
-
}
|
48
|
-
|
49
|
-
span.css-comment {
|
50
|
-
color: #A70;
|
51
|
-
}
|
52
|
-
|
53
|
-
span.css-string {
|
54
|
-
color: #A22;
|
55
|
-
}
|
@@ -1,158 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
font-family: Arial, sans-serif;
|
3
|
-
line-height: 1.5;
|
4
|
-
max-width: 64.3em;
|
5
|
-
margin: 3em auto;
|
6
|
-
padding: 0 1em;
|
7
|
-
}
|
8
|
-
body.droid {
|
9
|
-
font-family: Droid Sans, Arial, sans-serif;
|
10
|
-
}
|
11
|
-
|
12
|
-
h1 {
|
13
|
-
letter-spacing: -3px;
|
14
|
-
font-size: 3.23em;
|
15
|
-
font-weight: bold;
|
16
|
-
margin: 0;
|
17
|
-
}
|
18
|
-
|
19
|
-
h2 {
|
20
|
-
font-size: 1.23em;
|
21
|
-
font-weight: bold;
|
22
|
-
margin: .5em 0;
|
23
|
-
letter-spacing: -1px;
|
24
|
-
}
|
25
|
-
|
26
|
-
h3 {
|
27
|
-
font-size: 1em;
|
28
|
-
font-weight: bold;
|
29
|
-
margin: .4em 0;
|
30
|
-
}
|
31
|
-
|
32
|
-
pre {
|
33
|
-
font-family: Courier New, monospaced;
|
34
|
-
background-color: #eee;
|
35
|
-
-moz-border-radius: 6px;
|
36
|
-
-webkit-border-radius: 6px;
|
37
|
-
border-radius: 6px;
|
38
|
-
padding: 1em;
|
39
|
-
}
|
40
|
-
|
41
|
-
pre.code {
|
42
|
-
margin: 0 1em;
|
43
|
-
}
|
44
|
-
|
45
|
-
.grey {
|
46
|
-
font-size: 2em;
|
47
|
-
padding: .5em 1em;
|
48
|
-
line-height: 1.2em;
|
49
|
-
margin-top: .5em;
|
50
|
-
position: relative;
|
51
|
-
}
|
52
|
-
|
53
|
-
img.logo {
|
54
|
-
position: absolute;
|
55
|
-
right: -25px;
|
56
|
-
bottom: 4px;
|
57
|
-
}
|
58
|
-
|
59
|
-
a:link, a:visited, .quasilink {
|
60
|
-
color: #df0019;
|
61
|
-
cursor: pointer;
|
62
|
-
text-decoration: none;
|
63
|
-
}
|
64
|
-
|
65
|
-
a:hover, .quasilink:hover {
|
66
|
-
color: #800004;
|
67
|
-
}
|
68
|
-
|
69
|
-
h1 a:link, h1 a:visited, h1 a:hover {
|
70
|
-
color: black;
|
71
|
-
}
|
72
|
-
|
73
|
-
ul {
|
74
|
-
margin: 0;
|
75
|
-
padding-left: 1.2em;
|
76
|
-
}
|
77
|
-
|
78
|
-
a.download {
|
79
|
-
color: white;
|
80
|
-
background-color: #df0019;
|
81
|
-
width: 100%;
|
82
|
-
display: block;
|
83
|
-
text-align: center;
|
84
|
-
font-size: 1.23em;
|
85
|
-
font-weight: bold;
|
86
|
-
text-decoration: none;
|
87
|
-
-moz-border-radius: 6px;
|
88
|
-
-webkit-border-radius: 6px;
|
89
|
-
border-radius: 6px;
|
90
|
-
padding: .5em 0;
|
91
|
-
margin-bottom: 1em;
|
92
|
-
}
|
93
|
-
|
94
|
-
a.download:hover {
|
95
|
-
background-color: #bb0010;
|
96
|
-
}
|
97
|
-
|
98
|
-
.rel {
|
99
|
-
margin-bottom: 0;
|
100
|
-
}
|
101
|
-
|
102
|
-
.rel-note {
|
103
|
-
color: #777;
|
104
|
-
font-size: .9em;
|
105
|
-
margin-top: .1em;
|
106
|
-
}
|
107
|
-
|
108
|
-
.logo-braces {
|
109
|
-
color: #df0019;
|
110
|
-
position: relative;
|
111
|
-
top: -4px;
|
112
|
-
}
|
113
|
-
|
114
|
-
.blk {
|
115
|
-
float: left;
|
116
|
-
}
|
117
|
-
|
118
|
-
.left {
|
119
|
-
width: 37em;
|
120
|
-
padding-right: 6.53em;
|
121
|
-
padding-bottom: 1em;
|
122
|
-
}
|
123
|
-
|
124
|
-
.left1 {
|
125
|
-
width: 15.24em;
|
126
|
-
padding-right: 6.45em;
|
127
|
-
}
|
128
|
-
|
129
|
-
.left2 {
|
130
|
-
width: 15.24em;
|
131
|
-
}
|
132
|
-
|
133
|
-
.right {
|
134
|
-
width: 20.68em;
|
135
|
-
}
|
136
|
-
|
137
|
-
.leftbig {
|
138
|
-
width: 42.44em;
|
139
|
-
padding-right: 6.53em;
|
140
|
-
}
|
141
|
-
|
142
|
-
.rightsmall {
|
143
|
-
width: 15.24em;
|
144
|
-
}
|
145
|
-
|
146
|
-
.clear:after {
|
147
|
-
visibility: hidden;
|
148
|
-
display: block;
|
149
|
-
font-size: 0;
|
150
|
-
content: " ";
|
151
|
-
clear: both;
|
152
|
-
height: 0;
|
153
|
-
}
|
154
|
-
.clear { display: inline-block; }
|
155
|
-
/* start commented backslash hack \*/
|
156
|
-
* html .clear { height: 1%; }
|
157
|
-
.clear { display: block; }
|
158
|
-
/* close commented backslash hack */
|
@@ -1,15 +0,0 @@
|
|
1
|
-
function waitForStyles() {
|
2
|
-
for (var i = 0; i < document.styleSheets.length; i++)
|
3
|
-
if (/googleapis/.test(document.styleSheets[i].href))
|
4
|
-
return document.body.className += " droid";
|
5
|
-
setTimeout(waitForStyles, 100);
|
6
|
-
}
|
7
|
-
setTimeout(function() {
|
8
|
-
if (/AppleWebKit/.test(navigator.userAgent) && /iP[oa]d|iPhone/.test(navigator.userAgent)) return;
|
9
|
-
var link = document.createElement("LINK");
|
10
|
-
link.type = "text/css";
|
11
|
-
link.rel = "stylesheet";
|
12
|
-
link.href = "http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans:bold";
|
13
|
-
document.documentElement.getElementsByTagName("HEAD")[0].appendChild(link);
|
14
|
-
waitForStyles();
|
15
|
-
}, 20);
|
@@ -1,59 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
cursor: text;
|
3
|
-
}
|
4
|
-
|
5
|
-
.editbox {
|
6
|
-
margin: .4em;
|
7
|
-
padding: 0;
|
8
|
-
font-family: monospace;
|
9
|
-
font-size: 10pt;
|
10
|
-
color: black;
|
11
|
-
}
|
12
|
-
|
13
|
-
pre.code, .editbox {
|
14
|
-
color: #666666;
|
15
|
-
}
|
16
|
-
|
17
|
-
.editbox p {
|
18
|
-
margin: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
span.js-punctuation {
|
22
|
-
color: #666666;
|
23
|
-
}
|
24
|
-
|
25
|
-
span.js-operator {
|
26
|
-
color: #666666;
|
27
|
-
}
|
28
|
-
|
29
|
-
span.js-keyword {
|
30
|
-
color: #770088;
|
31
|
-
}
|
32
|
-
|
33
|
-
span.js-atom {
|
34
|
-
color: #228811;
|
35
|
-
}
|
36
|
-
|
37
|
-
span.js-variable {
|
38
|
-
color: black;
|
39
|
-
}
|
40
|
-
|
41
|
-
span.js-variabledef {
|
42
|
-
color: #0000FF;
|
43
|
-
}
|
44
|
-
|
45
|
-
span.js-localvariable {
|
46
|
-
color: #004499;
|
47
|
-
}
|
48
|
-
|
49
|
-
span.js-property {
|
50
|
-
color: black;
|
51
|
-
}
|
52
|
-
|
53
|
-
span.js-comment {
|
54
|
-
color: #AA7700;
|
55
|
-
}
|
56
|
-
|
57
|
-
span.js-string {
|
58
|
-
color: #AA2222;
|
59
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
cursor: text;
|
3
|
-
}
|
4
|
-
|
5
|
-
.editbox {
|
6
|
-
margin: .4em;
|
7
|
-
padding: 0;
|
8
|
-
font-family: monospace;
|
9
|
-
font-size: 10pt;
|
10
|
-
color: black;
|
11
|
-
}
|
12
|
-
|
13
|
-
.editbox p {
|
14
|
-
margin: 0;
|
15
|
-
}
|
16
|
-
|
17
|
-
span.sp-keyword {
|
18
|
-
color: #708;
|
19
|
-
}
|
20
|
-
|
21
|
-
span.sp-prefixed {
|
22
|
-
color: #5d1;
|
23
|
-
}
|
24
|
-
|
25
|
-
span.sp-var {
|
26
|
-
color: #00c;
|
27
|
-
}
|
28
|
-
|
29
|
-
span.sp-comment {
|
30
|
-
color: #a70;
|
31
|
-
}
|
32
|
-
|
33
|
-
span.sp-literal {
|
34
|
-
color: #a22;
|
35
|
-
}
|
36
|
-
|
37
|
-
span.sp-uri {
|
38
|
-
color: #292;
|
39
|
-
}
|
40
|
-
|
41
|
-
span.sp-operator {
|
42
|
-
color: #088;
|
43
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
cursor: text;
|
3
|
-
}
|
4
|
-
|
5
|
-
.editbox {
|
6
|
-
margin: .4em;
|
7
|
-
padding: 0;
|
8
|
-
font-family: monospace;
|
9
|
-
font-size: 10pt;
|
10
|
-
color: black;
|
11
|
-
}
|
12
|
-
|
13
|
-
.editbox p {
|
14
|
-
margin: 0;
|
15
|
-
}
|
16
|
-
|
17
|
-
span.xml-tagname {
|
18
|
-
color: #A0B;
|
19
|
-
}
|
20
|
-
|
21
|
-
span.xml-attribute {
|
22
|
-
color: #281;
|
23
|
-
}
|
24
|
-
|
25
|
-
span.xml-punctuation {
|
26
|
-
color: black;
|
27
|
-
}
|
28
|
-
|
29
|
-
span.xml-attname {
|
30
|
-
color: #00F;
|
31
|
-
}
|
32
|
-
|
33
|
-
span.xml-comment {
|
34
|
-
color: #A70;
|
35
|
-
}
|
36
|
-
|
37
|
-
span.xml-cdata {
|
38
|
-
color: #48A;
|
39
|
-
}
|
40
|
-
|
41
|
-
span.xml-processing {
|
42
|
-
color: #999;
|
43
|
-
}
|
44
|
-
|
45
|
-
span.xml-entity {
|
46
|
-
color: #A22;
|
47
|
-
}
|
48
|
-
|
49
|
-
span.xml-error {
|
50
|
-
color: #F00 !important;
|
51
|
-
}
|
52
|
-
|
53
|
-
span.xml-text {
|
54
|
-
color: black;
|
55
|
-
}
|