locomotive_cms 0.0.2.5 → 0.0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (304) hide show
  1. data/app/controllers/admin/asset_collections_controller.rb +1 -1
  2. data/app/controllers/admin/contents_controller.rb +1 -1
  3. data/app/controllers/admin/current_sites_controller.rb +2 -3
  4. data/app/controllers/admin/custom_fields_controller.rb +11 -5
  5. data/app/controllers/admin/layouts_controller.rb +2 -1
  6. data/app/controllers/admin/sites_controller.rb +0 -11
  7. data/app/controllers/admin/snippets_controller.rb +1 -1
  8. data/app/controllers/application_controller.rb +1 -1
  9. data/app/helpers/admin/custom_fields_helper.rb +14 -2
  10. data/app/helpers/admin/pages_helper.rb +10 -0
  11. data/app/models/asset_collection.rb +1 -1
  12. data/app/models/content_instance.rb +8 -0
  13. data/app/models/content_type.rb +25 -0
  14. data/app/models/page.rb +6 -2
  15. data/app/models/site.rb +3 -1
  16. data/app/views/admin/asset_collections/edit.html.haml +1 -1
  17. data/app/views/admin/assets/_form.html.haml +5 -6
  18. data/app/views/admin/content_types/_form.html.haml +6 -2
  19. data/app/views/admin/content_types/edit.html.haml +2 -2
  20. data/app/views/admin/contents/_form.html.haml +2 -17
  21. data/app/views/admin/contents/_list.html.haml +16 -0
  22. data/app/views/admin/contents/index.html.haml +6 -14
  23. data/app/views/admin/current_sites/_form.html.haml +6 -1
  24. data/app/views/admin/custom_fields/_custom_form.html.haml +18 -0
  25. data/app/views/admin/custom_fields/_edit_field.html.haml +3 -2
  26. data/app/views/admin/custom_fields/_index.html.haml +10 -6
  27. data/app/views/admin/custom_fields/edit_category.html.haml +1 -1
  28. data/app/views/admin/layouts/_form.html.haml +1 -1
  29. data/app/views/admin/pages/_form.html.haml +1 -4
  30. data/app/views/admin/shared/menu/_contents.html.haml +1 -1
  31. data/app/views/admin/sites/_form.html.haml +1 -1
  32. data/config/locales/admin_ui_en.yml +27 -5
  33. data/config/routes.rb +4 -4
  34. data/lib/locomotive.rb +2 -3
  35. data/lib/locomotive/liquid/drops/base.rb +2 -0
  36. data/lib/locomotive/liquid/drops/content.rb +1 -3
  37. data/lib/locomotive/liquid/drops/contents.rb +6 -1
  38. data/lib/locomotive/liquid/drops/page.rb +19 -0
  39. data/lib/locomotive/patches.rb +1 -2
  40. data/lib/locomotive/render.rb +9 -7
  41. data/lib/locomotive/routing/default_constraint.rb +3 -9
  42. data/lib/locomotive/routing/site_dispatcher.rb +8 -14
  43. data/public/javascripts/admin/application.js +13 -2
  44. data/public/javascripts/admin/asset_collections.js +1 -0
  45. data/public/javascripts/admin/assets.js +5 -0
  46. data/public/javascripts/admin/contents.js +7 -15
  47. data/public/javascripts/admin/custom_fields.js +18 -4
  48. data/public/javascripts/admin/custom_fields/category.js +13 -0
  49. data/public/javascripts/admin/plugins/tiny_mce/langs/en.js +170 -0
  50. data/public/javascripts/admin/plugins/tiny_mce/license.txt +504 -0
  51. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/css/advhr.css +5 -0
  52. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
  53. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
  54. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/js/rule.js +43 -0
  55. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
  56. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/rule.htm +57 -0
  57. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/css/advimage.css +13 -0
  58. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
  59. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
  60. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/image.htm +232 -0
  61. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  62. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/js/image.js +443 -0
  63. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
  64. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/css/advlink.css +8 -0
  65. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
  66. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
  67. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/js/advlink.js +528 -0
  68. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
  69. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/link.htm +333 -0
  70. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
  71. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
  72. data/public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
  73. data/public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin_src.js +119 -0
  74. data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
  75. data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin_src.js +422 -0
  76. data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/langs/en.js +4 -0
  77. data/public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
  78. data/public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
  79. data/public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
  80. data/public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin_src.js +147 -0
  81. data/public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
  82. data/public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
  83. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
  84. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
  85. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/emotions.htm +40 -0
  86. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  87. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  88. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  89. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  90. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  91. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  92. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  93. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  94. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  95. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  96. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  97. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  98. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  99. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  100. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  101. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  102. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/js/emotions.js +22 -0
  103. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
  104. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/dialog.htm +22 -0
  105. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin.js +1 -0
  106. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
  107. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/img/example.gif +0 -0
  108. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/js/dialog.js +19 -0
  109. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en.js +3 -0
  110. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
  111. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
  112. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
  113. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin_src.js +153 -0
  114. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/fullpage.htm +571 -0
  115. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/js/fullpage.js +471 -0
  116. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
  117. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
  118. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin_src.js +151 -0
  119. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
  120. data/public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
  121. data/public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
  122. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
  123. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +635 -0
  124. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  125. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  126. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  127. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  128. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  129. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  130. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  131. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
  132. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/template.htm +387 -0
  133. data/public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
  134. data/public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
  135. data/public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin.js +1 -0
  136. data/public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin_src.js +212 -0
  137. data/public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
  138. data/public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +136 -0
  139. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/css/content.css +6 -0
  140. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/css/media.css +16 -0
  141. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin.js +1 -0
  142. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin_src.js +414 -0
  143. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flash.gif +0 -0
  144. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flv_player.swf +0 -0
  145. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/quicktime.gif +0 -0
  146. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/realmedia.gif +0 -0
  147. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/shockwave.gif +0 -0
  148. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/trans.gif +0 -0
  149. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
  150. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/js/embed.js +73 -0
  151. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/js/media.js +630 -0
  152. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
  153. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/media.htm +817 -0
  154. data/public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
  155. data/public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
  156. data/public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
  157. data/public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
  158. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/css/content.css +1 -0
  159. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
  160. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin_src.js +77 -0
  161. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
  162. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  163. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  164. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin_src.js +940 -0
  165. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pastetext.js +36 -0
  166. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pasteword.js +51 -0
  167. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
  168. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/pastetext.htm +27 -0
  169. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/pasteword.htm +21 -0
  170. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin.js +1 -0
  171. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
  172. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/example.html +28 -0
  173. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
  174. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/preview.html +17 -0
  175. data/public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin.js +1 -0
  176. data/public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
  177. data/public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin.js +1 -0
  178. data/public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
  179. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
  180. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
  181. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin_src.js +57 -0
  182. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/js/searchreplace.js +130 -0
  183. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
  184. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/searchreplace.htm +99 -0
  185. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/css/content.css +1 -0
  186. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
  187. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin_src.js +417 -0
  188. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  189. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/css/props.css +13 -0
  190. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin.js +1 -0
  191. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
  192. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/js/props.js +641 -0
  193. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
  194. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/props.htm +723 -0
  195. data/public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
  196. data/public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin_src.js +112 -0
  197. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/cell.htm +178 -0
  198. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/cell.css +17 -0
  199. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/row.css +25 -0
  200. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/table.css +13 -0
  201. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin.js +1 -0
  202. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin_src.js +1125 -0
  203. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/cell.js +286 -0
  204. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/merge_cells.js +27 -0
  205. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/row.js +237 -0
  206. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/table.js +449 -0
  207. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
  208. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/merge_cells.htm +32 -0
  209. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/row.htm +155 -0
  210. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/table.htm +187 -0
  211. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/blank.htm +12 -0
  212. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/css/template.css +23 -0
  213. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin.js +1 -0
  214. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
  215. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/js/template.js +106 -0
  216. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
  217. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/template.htm +31 -0
  218. data/public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
  219. data/public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin_src.js +76 -0
  220. data/public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
  221. data/public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin_src.js +98 -0
  222. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/abbr.htm +141 -0
  223. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/acronym.htm +141 -0
  224. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/attributes.htm +148 -0
  225. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/cite.htm +141 -0
  226. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
  227. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
  228. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/del.htm +161 -0
  229. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  230. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +144 -0
  231. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/ins.htm +161 -0
  232. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
  233. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
  234. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/attributes.js +126 -0
  235. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
  236. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/del.js +63 -0
  237. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
  238. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/ins.js +62 -0
  239. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
  240. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/about.htm +54 -0
  241. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/anchor.htm +26 -0
  242. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/charmap.htm +52 -0
  243. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/color_picker.htm +73 -0
  244. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template.js +1 -0
  245. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template_src.js +1194 -0
  246. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/image.htm +80 -0
  247. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  248. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/icons.gif +0 -0
  249. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/about.js +72 -0
  250. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/anchor.js +37 -0
  251. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/charmap.js +335 -0
  252. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/color_picker.js +253 -0
  253. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/image.js +245 -0
  254. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/link.js +156 -0
  255. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/source_editor.js +62 -0
  256. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en.js +62 -0
  257. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
  258. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/link.htm +58 -0
  259. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/content.css +35 -0
  260. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/dialog.css +117 -0
  261. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/buttons.png +0 -0
  262. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/items.gif +0 -0
  263. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_arrow.gif +0 -0
  264. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_check.gif +0 -0
  265. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/progress.gif +0 -0
  266. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/tabs.gif +0 -0
  267. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/ui.css +213 -0
  268. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/source_editor.htm +25 -0
  269. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template.js +1 -0
  270. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template_src.js +85 -0
  271. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/img/icons.gif +0 -0
  272. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/langs/en.js +11 -0
  273. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/content.css +25 -0
  274. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/ui.css +32 -0
  275. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
  276. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  277. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
  278. data/public/javascripts/admin/plugins/tiny_mce/tiny_mce.js +1 -0
  279. data/public/javascripts/admin/plugins/tiny_mce/tiny_mce_popup.js +5 -0
  280. data/public/javascripts/admin/plugins/tiny_mce/tiny_mce_src.js +13374 -0
  281. data/public/javascripts/admin/plugins/tiny_mce/tinymce.js +1 -0
  282. data/public/javascripts/admin/plugins/tiny_mce/utils/editable_selects.js +70 -0
  283. data/public/javascripts/admin/plugins/tiny_mce/utils/form_utils.js +200 -0
  284. data/public/javascripts/admin/plugins/tiny_mce/utils/mctabs.js +77 -0
  285. data/public/javascripts/admin/plugins/tiny_mce/utils/validate.js +220 -0
  286. data/public/stylesheets/admin/box.css +8 -0
  287. data/public/stylesheets/admin/formtastic_changes.css +15 -0
  288. data/public/stylesheets/admin/plugins/tiny_mce.css +105 -0
  289. data/spec/lib/locomotive/liquid/drops/contents_spec.rb +33 -0
  290. data/spec/lib/locomotive/liquid/drops/page_spec.rb +48 -0
  291. data/spec/lib/locomotive/render_spec.rb +12 -3
  292. data/vendor/plugins/custom_fields/Gemfile +1 -1
  293. data/vendor/plugins/custom_fields/lib/custom_fields.rb +3 -0
  294. data/vendor/plugins/custom_fields/lib/custom_fields/field.rb +9 -15
  295. data/vendor/plugins/custom_fields/lib/custom_fields/types/boolean.rb +29 -0
  296. data/vendor/plugins/custom_fields/lib/custom_fields/types/category.rb +15 -3
  297. data/vendor/plugins/custom_fields/lib/custom_fields/types/default.rb +21 -2
  298. data/vendor/plugins/custom_fields/lib/custom_fields/types/string.rb +13 -0
  299. data/vendor/plugins/custom_fields/lib/custom_fields/types/text.rb +15 -0
  300. data/vendor/plugins/custom_fields/spec/models/project.rb +2 -0
  301. data/vendor/plugins/custom_fields/spec/unit/types/boolean_spec.rb +81 -0
  302. data/vendor/plugins/custom_fields/spec/unit/types/category_spec.rb +15 -0
  303. metadata +251 -4
  304. data/lib/locomotive/devise/sessions_controller.rb +0 -2
@@ -0,0 +1,15 @@
1
+ module CustomFields
2
+ module Types
3
+ module Text
4
+
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ field :text_formatting, :default => 'html'
9
+
10
+ register_type :text
11
+ end
12
+
13
+ end
14
+ end
15
+ end
@@ -13,4 +13,6 @@ class Project
13
13
  custom_fields_for :people
14
14
  custom_fields_for :tasks
15
15
 
16
+ named_scope :ordered, :order_by => [[:name, :asc]]
17
+
16
18
  end
@@ -0,0 +1,81 @@
1
+ require 'spec_helper'
2
+
3
+ describe CustomFields::Types::Boolean do
4
+
5
+ context 'on field class' do
6
+
7
+ before(:each) do
8
+ @field = CustomFields::Field.new
9
+ end
10
+
11
+ it 'returns true if it is a Boolean' do
12
+ @field.kind = 'boolean'
13
+ @field.boolean?.should be_true
14
+ end
15
+
16
+ it 'returns false if it is not a Boolean' do
17
+ @field.kind = 'string'
18
+ @field.boolean?.should be_false
19
+ end
20
+
21
+ end
22
+
23
+ context 'on target class' do
24
+
25
+ before(:each) do
26
+ @project = build_project_with_boolean
27
+ end
28
+
29
+ context '#setting' do
30
+
31
+ context '#true' do
32
+
33
+ it 'sets value from an integer' do
34
+ @project.active = 1
35
+ @project.active.should == true
36
+ @project.field_1.should == '1'
37
+ end
38
+
39
+ it 'sets value from a string' do
40
+ @project.active = '1'
41
+ @project.active.should == true
42
+ @project.field_1.should == '1'
43
+
44
+ @project.active = 'true'
45
+ @project.active.should == true
46
+ @project.field_1.should == 'true'
47
+ end
48
+
49
+ end
50
+
51
+ context '#false' do
52
+
53
+ it 'sets value from an integer' do
54
+ @project.active = 0
55
+ @project.active.should == false
56
+ @project.field_1.should == '0'
57
+ end
58
+
59
+ it 'sets value from a string' do
60
+ @project.active = '0'
61
+ @project.active.should == false
62
+ @project.field_1.should == '0'
63
+
64
+ @project.active = 'false'
65
+ @project.active.should == false
66
+ @project.field_1.should == 'false'
67
+ end
68
+
69
+ end
70
+
71
+ end
72
+
73
+ end
74
+
75
+ def build_project_with_boolean
76
+ field = CustomFields::Field.new(:label => 'Active', :_name => 'field_1', :kind => 'Boolean')
77
+ field.stubs(:valid?).returns(true)
78
+ Project.to_klass_with_custom_fields(field).new
79
+ end
80
+
81
+ end
@@ -16,6 +16,16 @@ describe CustomFields::Types::Category do
16
16
  @field.respond_to?(:apply_category_type).should be_true
17
17
  end
18
18
 
19
+ it 'returns true if it is a Category' do
20
+ @field.kind = 'category'
21
+ @field.category?.should be_true
22
+ end
23
+
24
+ it 'returns false if it is not a Category' do
25
+ @field.kind = 'string'
26
+ @field.category?.should be_false
27
+ end
28
+
19
29
  end
20
30
 
21
31
  context 'on target class' do
@@ -67,6 +77,11 @@ describe CustomFields::Types::Category do
67
77
  @groups[2][:items].size.should == 2
68
78
  end
69
79
 
80
+ it 'passes method to retrieve items' do
81
+ @project.class.expects(:ordered)
82
+ @project.class.group_by_global_category(:ordered)
83
+ end
84
+
70
85
  end
71
86
 
72
87
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.0.2.5
9
+ - 6
10
+ version: 0.0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Didier Lafforgue
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-14 00:00:00 +02:00
18
+ date: 2010-06-24 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -324,11 +324,13 @@ files:
324
324
  - app/views/admin/content_types/edit.html.haml
325
325
  - app/views/admin/content_types/new.html.haml
326
326
  - app/views/admin/contents/_form.html.haml
327
+ - app/views/admin/contents/_list.html.haml
327
328
  - app/views/admin/contents/edit.html.haml
328
329
  - app/views/admin/contents/index.html.haml
329
330
  - app/views/admin/contents/new.html.haml
330
331
  - app/views/admin/current_sites/_form.html.haml
331
332
  - app/views/admin/current_sites/edit.html.haml
333
+ - app/views/admin/custom_fields/_custom_form.html.haml
332
334
  - app/views/admin/custom_fields/_edit_field.html.haml
333
335
  - app/views/admin/custom_fields/_index.html.haml
334
336
  - app/views/admin/custom_fields/edit_category.html.haml
@@ -407,7 +409,6 @@ files:
407
409
  - lib/generators/locomotive/install/templates/locomotive.rb
408
410
  - lib/locomotive.rb
409
411
  - lib/locomotive/configuration.rb
410
- - lib/locomotive/devise/sessions_controller.rb
411
412
  - lib/locomotive/engine.rb
412
413
  - lib/locomotive/heroku.rb
413
414
  - lib/locomotive/heroku/custom_domain.rb
@@ -418,6 +419,7 @@ files:
418
419
  - lib/locomotive/liquid/drops/content.rb
419
420
  - lib/locomotive/liquid/drops/contents.rb
420
421
  - lib/locomotive/liquid/drops/javascripts.rb
422
+ - lib/locomotive/liquid/drops/page.rb
421
423
  - lib/locomotive/liquid/drops/stylesheets.rb
422
424
  - lib/locomotive/liquid/filters/date.rb
423
425
  - lib/locomotive/liquid/filters/html.rb
@@ -750,6 +752,7 @@ files:
750
752
  - public/images/admin/rails.png
751
753
  - public/javascripts/admin/application.js
752
754
  - public/javascripts/admin/asset_collections.js
755
+ - public/javascripts/admin/assets.js
753
756
  - public/javascripts/admin/content_types.js
754
757
  - public/javascripts/admin/contents.js
755
758
  - public/javascripts/admin/custom_fields.js
@@ -792,6 +795,243 @@ files:
792
795
  - public/javascripts/admin/plugins/plupload/plupload.silverlight.min.js
793
796
  - public/javascripts/admin/plugins/plupload/plupload.silverlight.xap
794
797
  - public/javascripts/admin/plugins/scrollTo.js
798
+ - public/javascripts/admin/plugins/tiny_mce/langs/en.js
799
+ - public/javascripts/admin/plugins/tiny_mce/license.txt
800
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advhr/css/advhr.css
801
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin.js
802
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin_src.js
803
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advhr/js/rule.js
804
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advhr/langs/en_dlg.js
805
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advhr/rule.htm
806
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/css/advimage.css
807
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin.js
808
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin_src.js
809
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/image.htm
810
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/img/sample.gif
811
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/js/image.js
812
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advimage/langs/en_dlg.js
813
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlink/css/advlink.css
814
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin.js
815
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin_src.js
816
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlink/js/advlink.js
817
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlink/langs/en_dlg.js
818
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlink/link.htm
819
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin.js
820
+ - public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin_src.js
821
+ - public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin.js
822
+ - public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin_src.js
823
+ - public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin.js
824
+ - public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin_src.js
825
+ - public/javascripts/admin/plugins/tiny_mce/plugins/autosave/langs/en.js
826
+ - public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin.js
827
+ - public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin_src.js
828
+ - public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin.js
829
+ - public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin_src.js
830
+ - public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin.js
831
+ - public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin_src.js
832
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin.js
833
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin_src.js
834
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/emotions.htm
835
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cool.gif
836
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cry.gif
837
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
838
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
839
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-frown.gif
840
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-innocent.gif
841
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-kiss.gif
842
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-laughing.gif
843
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
844
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-sealed.gif
845
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-smile.gif
846
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-surprised.gif
847
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
848
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-undecided.gif
849
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-wink.gif
850
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-yell.gif
851
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/js/emotions.js
852
+ - public/javascripts/admin/plugins/tiny_mce/plugins/emotions/langs/en_dlg.js
853
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/dialog.htm
854
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin.js
855
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin_src.js
856
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/img/example.gif
857
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/js/dialog.js
858
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en.js
859
+ - public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en_dlg.js
860
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/css/fullpage.css
861
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin.js
862
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin_src.js
863
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/fullpage.htm
864
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/js/fullpage.js
865
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/langs/en_dlg.js
866
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin.js
867
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin_src.js
868
+ - public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/fullscreen.htm
869
+ - public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin.js
870
+ - public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin_src.js
871
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin.js
872
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
873
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
874
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
875
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
876
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
877
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
878
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
879
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
880
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
881
+ - public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/template.htm
882
+ - public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin.js
883
+ - public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
884
+ - public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin.js
885
+ - public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin_src.js
886
+ - public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin.js
887
+ - public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
888
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/css/content.css
889
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/css/media.css
890
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin.js
891
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin_src.js
892
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flash.gif
893
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flv_player.swf
894
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/quicktime.gif
895
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/realmedia.gif
896
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/shockwave.gif
897
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/trans.gif
898
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/img/windowsmedia.gif
899
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/js/embed.js
900
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/js/media.js
901
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/langs/en_dlg.js
902
+ - public/javascripts/admin/plugins/tiny_mce/plugins/media/media.htm
903
+ - public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin.js
904
+ - public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
905
+ - public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin.js
906
+ - public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin_src.js
907
+ - public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/css/content.css
908
+ - public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin.js
909
+ - public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin_src.js
910
+ - public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/pagebreak.gif
911
+ - public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/trans.gif
912
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin.js
913
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin_src.js
914
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pastetext.js
915
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pasteword.js
916
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/langs/en_dlg.js
917
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/pastetext.htm
918
+ - public/javascripts/admin/plugins/tiny_mce/plugins/paste/pasteword.htm
919
+ - public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin.js
920
+ - public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin_src.js
921
+ - public/javascripts/admin/plugins/tiny_mce/plugins/preview/example.html
922
+ - public/javascripts/admin/plugins/tiny_mce/plugins/preview/jscripts/embed.js
923
+ - public/javascripts/admin/plugins/tiny_mce/plugins/preview/preview.html
924
+ - public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin.js
925
+ - public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin_src.js
926
+ - public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin.js
927
+ - public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin_src.js
928
+ - public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/css/searchreplace.css
929
+ - public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin.js
930
+ - public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin_src.js
931
+ - public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/js/searchreplace.js
932
+ - public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/langs/en_dlg.js
933
+ - public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/searchreplace.htm
934
+ - public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/css/content.css
935
+ - public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin.js
936
+ - public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin_src.js
937
+ - public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/img/wline.gif
938
+ - public/javascripts/admin/plugins/tiny_mce/plugins/style/css/props.css
939
+ - public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin.js
940
+ - public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin_src.js
941
+ - public/javascripts/admin/plugins/tiny_mce/plugins/style/js/props.js
942
+ - public/javascripts/admin/plugins/tiny_mce/plugins/style/langs/en_dlg.js
943
+ - public/javascripts/admin/plugins/tiny_mce/plugins/style/props.htm
944
+ - public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin.js
945
+ - public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin_src.js
946
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/cell.htm
947
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/css/cell.css
948
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/css/row.css
949
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/css/table.css
950
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin.js
951
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin_src.js
952
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/js/cell.js
953
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/js/merge_cells.js
954
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/js/row.js
955
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/js/table.js
956
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/langs/en_dlg.js
957
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/merge_cells.htm
958
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/row.htm
959
+ - public/javascripts/admin/plugins/tiny_mce/plugins/table/table.htm
960
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/blank.htm
961
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/css/template.css
962
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin.js
963
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin_src.js
964
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/js/template.js
965
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/langs/en_dlg.js
966
+ - public/javascripts/admin/plugins/tiny_mce/plugins/template/template.htm
967
+ - public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin.js
968
+ - public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin_src.js
969
+ - public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin.js
970
+ - public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin_src.js
971
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/abbr.htm
972
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/acronym.htm
973
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/attributes.htm
974
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/cite.htm
975
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/attributes.css
976
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/popup.css
977
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/del.htm
978
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
979
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
980
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/ins.htm
981
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/abbr.js
982
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/acronym.js
983
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/attributes.js
984
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/cite.js
985
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/del.js
986
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/element_common.js
987
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/ins.js
988
+ - public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
989
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/about.htm
990
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/anchor.htm
991
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/charmap.htm
992
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/color_picker.htm
993
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template.js
994
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template_src.js
995
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/image.htm
996
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/colorpicker.jpg
997
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/icons.gif
998
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/about.js
999
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/anchor.js
1000
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/charmap.js
1001
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/color_picker.js
1002
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/image.js
1003
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/link.js
1004
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/source_editor.js
1005
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en.js
1006
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en_dlg.js
1007
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/link.htm
1008
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/content.css
1009
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/dialog.css
1010
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/buttons.png
1011
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/items.gif
1012
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_arrow.gif
1013
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_check.gif
1014
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/progress.gif
1015
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/tabs.gif
1016
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/ui.css
1017
+ - public/javascripts/admin/plugins/tiny_mce/themes/advanced/source_editor.htm
1018
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template.js
1019
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template_src.js
1020
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/img/icons.gif
1021
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/langs/en.js
1022
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/content.css
1023
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/ui.css
1024
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/content.css
1025
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
1026
+ - public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/ui.css
1027
+ - public/javascripts/admin/plugins/tiny_mce/tiny_mce.js
1028
+ - public/javascripts/admin/plugins/tiny_mce/tiny_mce_popup.js
1029
+ - public/javascripts/admin/plugins/tiny_mce/tiny_mce_src.js
1030
+ - public/javascripts/admin/plugins/tiny_mce/tinymce.js
1031
+ - public/javascripts/admin/plugins/tiny_mce/utils/editable_selects.js
1032
+ - public/javascripts/admin/plugins/tiny_mce/utils/form_utils.js
1033
+ - public/javascripts/admin/plugins/tiny_mce/utils/mctabs.js
1034
+ - public/javascripts/admin/plugins/tiny_mce/utils/validate.js
795
1035
  - public/javascripts/admin/plugins/toggle.js
796
1036
  - public/javascripts/admin/plugins/wslide.js
797
1037
  - public/javascripts/admin/rails.js
@@ -846,6 +1086,7 @@ files:
846
1086
  - public/stylesheets/admin/plugins/codemirror/sparqlcolors.css
847
1087
  - public/stylesheets/admin/plugins/codemirror/xmlcolors.css
848
1088
  - public/stylesheets/admin/plugins/fancybox.css
1089
+ - public/stylesheets/admin/plugins/tiny_mce.css
849
1090
  - public/stylesheets/admin/plugins/toggle.css
850
1091
  - vendor/plugins/custom_fields/Gemfile
851
1092
  - vendor/plugins/custom_fields/MIT-LICENSE
@@ -860,8 +1101,11 @@ files:
860
1101
  - vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb
861
1102
  - vendor/plugins/custom_fields/lib/custom_fields/field.rb
862
1103
  - vendor/plugins/custom_fields/lib/custom_fields/proxy_class_enabler.rb
1104
+ - vendor/plugins/custom_fields/lib/custom_fields/types/boolean.rb
863
1105
  - vendor/plugins/custom_fields/lib/custom_fields/types/category.rb
864
1106
  - vendor/plugins/custom_fields/lib/custom_fields/types/default.rb
1107
+ - vendor/plugins/custom_fields/lib/custom_fields/types/string.rb
1108
+ - vendor/plugins/custom_fields/lib/custom_fields/types/text.rb
865
1109
  - vendor/plugins/custom_fields/spec/integration/custom_fields_for_spec.rb
866
1110
  - vendor/plugins/custom_fields/spec/integration/types/category_spec.rb
867
1111
  - vendor/plugins/custom_fields/spec/models/person.rb
@@ -871,6 +1115,7 @@ files:
871
1115
  - vendor/plugins/custom_fields/spec/unit/custom_field_spec.rb
872
1116
  - vendor/plugins/custom_fields/spec/unit/custom_fields_for_spec.rb
873
1117
  - vendor/plugins/custom_fields/spec/unit/proxy_class_enabler_spec.rb
1118
+ - vendor/plugins/custom_fields/spec/unit/types/boolean_spec.rb
874
1119
  - vendor/plugins/custom_fields/spec/unit/types/category_spec.rb
875
1120
  - vendor/plugins/custom_fields/uninstall.rb
876
1121
  - README.textile
@@ -907,6 +1152,8 @@ summary: Locomotive cms engine
907
1152
  test_files:
908
1153
  - spec/factories.rb
909
1154
  - spec/lib/locomotive/heroku_spec.rb
1155
+ - spec/lib/locomotive/liquid/drops/contents_spec.rb
1156
+ - spec/lib/locomotive/liquid/drops/page_spec.rb
910
1157
  - spec/lib/locomotive/liquid/filters/html_spec.rb
911
1158
  - spec/lib/locomotive/liquid/filters/misc_spec.rb
912
1159
  - spec/lib/locomotive/liquid/tags/paginate_spec.rb