noodall-ui 0.4.11 → 0.5.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (503) hide show
  1. data/.gitignore +2 -1
  2. data/Gemfile +2 -1
  3. data/MIT-LICENSE +20 -0
  4. data/Rakefile +50 -10
  5. data/{public → app/assets}/images/admin/add-small.png +0 -0
  6. data/{public → app/assets}/images/admin/add.png +0 -0
  7. data/{public → app/assets}/images/admin/add_file.gif +0 -0
  8. data/{public → app/assets}/images/admin/advanced.gif +0 -0
  9. data/{public → app/assets}/images/admin/back.png +0 -0
  10. data/{public → app/assets}/images/admin/cancel-small.gif +0 -0
  11. data/{public → app/assets}/images/admin/cancel.gif +0 -0
  12. data/{public → app/assets}/images/admin/change-bg.gif +0 -0
  13. data/{public → app/assets}/images/admin/change.gif +0 -0
  14. data/{public → app/assets}/images/admin/check.png +0 -0
  15. data/{public → app/assets}/images/admin/clear.gif +0 -0
  16. data/{public → app/assets}/images/admin/close.png +0 -0
  17. data/{public → app/assets}/images/admin/create.gif +0 -0
  18. data/{public → app/assets}/images/admin/delete.gif +0 -0
  19. data/{public → app/assets}/images/admin/delete.png +0 -0
  20. data/{public → app/assets}/images/admin/doc-icon.png +0 -0
  21. data/{public → app/assets}/images/admin/document.png +0 -0
  22. data/{public → app/assets}/images/admin/down.png +0 -0
  23. data/{public → app/assets}/images/admin/download.png +0 -0
  24. data/{public → app/assets}/images/admin/draft.gif +0 -0
  25. data/{public → app/assets}/images/admin/edit.gif +0 -0
  26. data/{public → app/assets}/images/admin/edit.png +0 -0
  27. data/{public → app/assets}/images/admin/hidden.png +0 -0
  28. data/{public → app/assets}/images/admin/hide.gif +0 -0
  29. data/{public → app/assets}/images/admin/image.png +0 -0
  30. data/{public → app/assets}/images/admin/image_choices.png +0 -0
  31. data/{public → app/assets}/images/admin/image_small.png +0 -0
  32. data/{public → app/assets}/images/admin/info-white.png +0 -0
  33. data/{public → app/assets}/images/admin/info.png +0 -0
  34. data/{public → app/assets}/images/admin/media.gif +0 -0
  35. data/{public → app/assets}/images/admin/nav-2.gif +0 -0
  36. data/{public → app/assets}/images/admin/nav.gif +0 -0
  37. data/{public → app/assets}/images/admin/next.png +0 -0
  38. data/{public → app/assets}/images/admin/no-type-icon.png +0 -0
  39. data/{public → app/assets}/images/admin/pagination.gif +0 -0
  40. data/{public → app/assets}/images/admin/pdf-icon.png +0 -0
  41. data/{public → app/assets}/images/admin/prev.png +0 -0
  42. data/{public → app/assets}/images/admin/preview.gif +0 -0
  43. data/{public → app/assets}/images/admin/publish.gif +0 -0
  44. data/{public → app/assets}/images/admin/remove.gif +0 -0
  45. data/{public → app/assets}/images/admin/reset.gif +0 -0
  46. data/{public → app/assets}/images/admin/select_image.gif +0 -0
  47. data/{public → app/assets}/images/admin/select_images.gif +0 -0
  48. data/{public → app/assets}/images/admin/set.gif +0 -0
  49. data/{public → app/assets}/images/admin/sort.png +0 -0
  50. data/{public → app/assets}/images/admin/tag.png +0 -0
  51. data/{public → app/assets}/images/admin/templates/article-page.gif +0 -0
  52. data/{public → app/assets}/images/admin/templates/articles-list.gif +0 -0
  53. data/{public → app/assets}/images/admin/templates/course-page.gif +0 -0
  54. data/{public → app/assets}/images/admin/templates/event-page.gif +0 -0
  55. data/{public → app/assets}/images/admin/templates/events-list.gif +0 -0
  56. data/{public → app/assets}/images/admin/templates/home.gif +0 -0
  57. data/{public → app/assets}/images/admin/templates/landing-page.gif +0 -0
  58. data/{public → app/assets}/images/admin/templates/page-a.gif +0 -0
  59. data/{public → app/assets}/images/admin/templates/page-b.gif +0 -0
  60. data/{public → app/assets}/images/admin/templates/school-landing-page.gif +0 -0
  61. data/{public → app/assets}/images/admin/templates/study-landing-page.gif +0 -0
  62. data/{public → app/assets}/images/admin/top-level.png +0 -0
  63. data/{public → app/assets}/images/admin/top-level_small.png +0 -0
  64. data/{public → app/assets}/images/admin/txt-icon.png +0 -0
  65. data/{public → app/assets}/images/admin/uncheck.png +0 -0
  66. data/{public → app/assets}/images/admin/up.png +0 -0
  67. data/{public → app/assets}/images/admin/update.gif +0 -0
  68. data/{public → app/assets}/images/admin/upload.png +0 -0
  69. data/{public → app/assets}/images/admin/versions.gif +0 -0
  70. data/{public → app/assets}/images/admin/video.png +0 -0
  71. data/{public → app/assets}/images/admin/view.png +0 -0
  72. data/{public → app/assets}/images/admin/xls-icon.png +0 -0
  73. data/{public → app/assets}/images/admin/youtube.gif +0 -0
  74. data/{public → app/assets}/javascripts/admin/application.js +10 -4
  75. data/{public → app/assets}/javascripts/admin/asset_edit.js +0 -0
  76. data/{public → app/assets}/javascripts/admin/assets.js +7 -7
  77. data/{public → app/assets}/javascripts/admin/nodes.js +0 -0
  78. data/{public → app/assets}/javascripts/admin/tiny_mce_config.js +7 -7
  79. data/app/assets/javascripts/admin.js +4 -0
  80. data/{public → app/assets}/javascripts/ajaxify.js +0 -0
  81. data/{public → app/assets}/javascripts/rails.js +0 -0
  82. data/{public → app/assets}/stylesheets/admin/forms.css +20 -20
  83. data/{public → app/assets}/stylesheets/admin/handheld.css +0 -0
  84. data/{public → app/assets}/stylesheets/admin/ie.css +0 -0
  85. data/{public → app/assets}/stylesheets/admin/ie6.css +0 -0
  86. data/{public → app/assets}/stylesheets/admin/ie8.css +0 -0
  87. data/{public → app/assets}/stylesheets/admin/layout.css +1 -1
  88. data/{public → app/assets}/stylesheets/admin/print.css +0 -0
  89. data/{public → app/assets}/stylesheets/admin/reset.css +0 -0
  90. data/{public → app/assets}/stylesheets/admin/skin.css +27 -27
  91. data/{public → app/assets}/stylesheets/admin/tinymce.css +0 -0
  92. data/{public → app/assets}/stylesheets/admin/typography.css +0 -0
  93. data/app/assets/stylesheets/admin.css +8 -0
  94. data/{log/.gitignore → app/controllers/.gitkeep} +0 -0
  95. data/app/controllers/noodall/admin/assets_controller.rb +3 -3
  96. data/app/controllers/noodall/admin/nodes_controller.rb +8 -0
  97. data/app/controllers/noodall/nodes_controller.rb +2 -1
  98. data/{public/favicon.ico → app/helpers/.gitkeep} +0 -0
  99. data/app/helpers/noodall/admin/nodes_helper.rb +1 -1
  100. data/{tmp/.gitignore → app/mailers/.gitkeep} +0 -0
  101. data/app/models/.gitkeep +0 -0
  102. data/app/views/.gitkeep +0 -0
  103. data/app/views/layouts/noodall_admin.html.erb +5 -5
  104. data/app/views/noodall/admin/nodes/_branch.html.erb +5 -10
  105. data/app/views/noodall/admin/nodes/tree.html.erb +1 -1
  106. data/app/views/noodall/nodes/{sitemap.xml.rxml → sitemap.xml.builder} +2 -2
  107. data/config/routes.rb +2 -0
  108. data/features/sitemap.feature +1 -1
  109. data/features/step_definitions/asset_steps.rb +1 -1
  110. data/features/step_definitions/cms_node_steps.rb +1 -1
  111. data/features/step_definitions/component_steps.rb +4 -4
  112. data/features/support/env.rb +1 -1
  113. data/features/support/mm_factory_steps.rb +3 -0
  114. data/lib/noodall/engine.rb +6 -2
  115. data/lib/noodall/ui/version.rb +1 -1
  116. data/lib/tasks/noodall-ui_tasks.rake +4 -0
  117. data/noodall-ui.gemspec +1 -1
  118. data/public/javascripts/admin.js +0 -0
  119. data/public/stylesheets/admin.css +2822 -0
  120. data/script/rails +3 -3
  121. data/spec/dummy/Rakefile +7 -0
  122. data/spec/dummy/app/assets/javascripts/application.js +7 -0
  123. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  124. data/{demo → spec/dummy/app}/controllers/application_controller.rb +0 -0
  125. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  126. data/spec/dummy/app/mailers/.gitkeep +0 -0
  127. data/spec/dummy/app/models/.gitkeep +0 -0
  128. data/{demo → spec/dummy/app}/models/gallery.rb +0 -0
  129. data/{demo → spec/dummy/app}/models/page_a.rb +0 -0
  130. data/{demo → spec/dummy/app}/models/page_b.rb +0 -0
  131. data/{demo → spec/dummy/app}/models/page_c.rb +0 -0
  132. data/{demo → spec/dummy/app}/models/promo.rb +0 -0
  133. data/{demo → spec/dummy/app}/models/user.rb +0 -0
  134. data/{demo → spec/dummy/app}/views/admin/components/_gallery.html.erb +0 -0
  135. data/{demo → spec/dummy/app}/views/admin/components/_promo.html.erb +0 -0
  136. data/{demo → spec/dummy/app}/views/admin/nodes/_home.html.erb +0 -0
  137. data/{demo → spec/dummy/app}/views/admin/nodes/_page_a.html.erb +0 -0
  138. data/{demo → spec/dummy/app}/views/admin/nodes/_page_b.html.erb +0 -0
  139. data/{demo → spec/dummy/app}/views/admin/nodes/_page_c.html.erb +0 -0
  140. data/{demo → spec/dummy/app}/views/components/_gallery.html.erb +0 -0
  141. data/{demo → spec/dummy/app}/views/components/_promo.html.erb +0 -0
  142. data/{demo → spec/dummy/app}/views/layouts/application.html.erb +0 -0
  143. data/{demo → spec/dummy/app}/views/nodes/page_a.html.erb +0 -0
  144. data/{demo → spec/dummy/app}/views/nodes/page_a.rss.builder +0 -0
  145. data/{demo → spec/dummy/app}/views/nodes/page_b.html.erb +0 -0
  146. data/{demo → spec/dummy/app}/views/nodes/page_c.html.erb +0 -0
  147. data/spec/dummy/config/application.rb +50 -0
  148. data/spec/dummy/config/boot.rb +10 -0
  149. data/{config → spec/dummy/config}/database.yml +0 -0
  150. data/{config → spec/dummy/config}/environment.rb +1 -1
  151. data/{config → spec/dummy/config}/environments/development.rb +10 -7
  152. data/{config → spec/dummy/config}/environments/production.rb +25 -15
  153. data/{config → spec/dummy/config}/environments/test.rb +9 -31
  154. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  155. data/spec/dummy/config/initializers/inflections.rb +10 -0
  156. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  157. data/{demo → spec/dummy/config}/initializers/mongo_mapper.rb +0 -0
  158. data/{demo → spec/dummy/config}/initializers/noodall.rb +0 -0
  159. data/{demo → spec/dummy/config}/initializers/secret_token.rb +1 -1
  160. data/spec/dummy/config/initializers/session_store.rb +8 -0
  161. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  162. data/{demo → spec/dummy/config}/initializers/zdragonfly.rb +0 -0
  163. data/{config → spec/dummy/config}/locales/en.yml +1 -1
  164. data/spec/dummy/config/routes.rb +3 -0
  165. data/{config.ru → spec/dummy/config.ru} +1 -1
  166. data/{demo → spec/dummy/db}/seeds.rb +0 -0
  167. data/spec/{factories → dummy/factories}/asset.rb +4 -4
  168. data/spec/{factories → dummy/factories}/node.rb +0 -0
  169. data/spec/{factories → dummy/factories}/user.rb +0 -0
  170. data/spec/{files → dummy/files}/beef.png +0 -0
  171. data/spec/{files → dummy/files}/get_video.flv +0 -0
  172. data/spec/{files → dummy/files}/test.pdf +0 -0
  173. data/spec/dummy/lib/assets/.gitkeep +0 -0
  174. data/spec/dummy/log/.gitkeep +0 -0
  175. data/spec/dummy/public/404.html +26 -0
  176. data/spec/dummy/public/422.html +26 -0
  177. data/spec/dummy/public/500.html +26 -0
  178. data/spec/dummy/public/favicon.ico +0 -0
  179. data/spec/dummy/script/rails +6 -0
  180. data/{public → vendor/assets}/images/fancybox/blank.gif +0 -0
  181. data/{public → vendor/assets}/images/fancybox/fancy_close.png +0 -0
  182. data/{public → vendor/assets}/images/fancybox/fancy_loading.png +0 -0
  183. data/{public → vendor/assets}/images/fancybox/fancy_nav_left.png +0 -0
  184. data/{public → vendor/assets}/images/fancybox/fancy_nav_right.png +0 -0
  185. data/{public → vendor/assets}/images/fancybox/fancy_shadow_e.png +0 -0
  186. data/{public → vendor/assets}/images/fancybox/fancy_shadow_n.png +0 -0
  187. data/{public → vendor/assets}/images/fancybox/fancy_shadow_ne.png +0 -0
  188. data/{public → vendor/assets}/images/fancybox/fancy_shadow_nw.png +0 -0
  189. data/{public → vendor/assets}/images/fancybox/fancy_shadow_s.png +0 -0
  190. data/{public → vendor/assets}/images/fancybox/fancy_shadow_se.png +0 -0
  191. data/{public → vendor/assets}/images/fancybox/fancy_shadow_sw.png +0 -0
  192. data/{public → vendor/assets}/images/fancybox/fancy_shadow_w.png +0 -0
  193. data/{public → vendor/assets}/images/fancybox/fancy_title_left.png +0 -0
  194. data/{public → vendor/assets}/images/fancybox/fancy_title_main.png +0 -0
  195. data/{public → vendor/assets}/images/fancybox/fancy_title_over.png +0 -0
  196. data/{public → vendor/assets}/images/fancybox/fancy_title_right.png +0 -0
  197. data/{public → vendor/assets}/images/fancybox/fancybox-x.png +0 -0
  198. data/{public → vendor/assets}/images/fancybox/fancybox-y.png +0 -0
  199. data/{public → vendor/assets}/images/fancybox/fancybox.png +0 -0
  200. data/{public → vendor/assets}/images/plupload/backgrounds.gif +0 -0
  201. data/{public → vendor/assets}/images/plupload/buttons-disabled.png +0 -0
  202. data/{public → vendor/assets}/images/plupload/buttons.png +0 -0
  203. data/{public → vendor/assets}/images/plupload/delete.gif +0 -0
  204. data/{public → vendor/assets}/images/plupload/done.gif +0 -0
  205. data/{public → vendor/assets}/images/plupload/error.gif +0 -0
  206. data/{public → vendor/assets}/images/plupload/throbber.gif +0 -0
  207. data/{public → vendor/assets}/images/plupload/transp50.png +0 -0
  208. data/{public → vendor/assets}/javascripts/carousel.lite.js +0 -0
  209. data/vendor/assets/javascripts/fancybox.js +1156 -0
  210. data/{public → vendor/assets}/javascripts/plupload/gears_init.js +0 -0
  211. data/{public → vendor/assets}/javascripts/plupload/jquery.plupload.queue.min.js +0 -0
  212. data/{public → vendor/assets}/javascripts/plupload/plupload.flash.swf +0 -0
  213. data/{public → vendor/assets}/javascripts/plupload/plupload.full.min.js +0 -0
  214. data/{public → vendor/assets}/javascripts/plupload/plupload.silverlight.xap +0 -0
  215. data/{public → vendor/assets}/javascripts/tiny_mce/jquery.tinymce.js +0 -0
  216. data/{public → vendor/assets}/javascripts/tiny_mce/langs/en.js +0 -0
  217. data/{public → vendor/assets}/javascripts/tiny_mce/license.txt +0 -0
  218. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/addvideo.htm +0 -0
  219. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/editor_plugin.js +0 -0
  220. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/editor_plugin_src.js +0 -0
  221. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/img/youtube.gif +0 -0
  222. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/js/addvideo.js +0 -0
  223. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/langs/en.js +0 -0
  224. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/addvideo/langs/en_dlg.js +0 -0
  225. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/css/advhr.css +0 -0
  226. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +0 -0
  227. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -0
  228. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/js/rule.js +0 -0
  229. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -0
  230. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advhr/rule.htm +0 -0
  231. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/css/advimage.css +0 -0
  232. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +0 -0
  233. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -0
  234. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/image.htm +0 -0
  235. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  236. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/js/image.js +0 -0
  237. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -0
  238. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/css/advlink.css +0 -0
  239. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +0 -0
  240. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -0
  241. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/js/advlink.js +0 -0
  242. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -0
  243. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlink/link.htm +0 -0
  244. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +0 -0
  245. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -0
  246. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autolink/editor_plugin.js +0 -0
  247. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autolink/editor_plugin_src.js +0 -0
  248. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -0
  249. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -0
  250. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +0 -0
  251. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -0
  252. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/autosave/langs/en.js +0 -0
  253. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +0 -0
  254. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -0
  255. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -0
  256. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -0
  257. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +0 -0
  258. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -0
  259. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +0 -0
  260. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -0
  261. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/emotions.htm +0 -0
  262. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  263. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  264. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  265. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  266. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  267. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  268. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  269. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  270. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  271. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  272. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  273. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  274. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  275. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  276. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  277. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  278. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/js/emotions.js +0 -0
  279. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -0
  280. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +0 -0
  281. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +0 -0
  282. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -0
  283. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +0 -0
  284. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +0 -0
  285. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -0
  286. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -0
  287. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -0
  288. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -0
  289. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +0 -0
  290. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -0
  291. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -0
  292. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -0
  293. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  294. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  295. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  296. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  297. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  298. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  299. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  300. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -0
  301. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/template.htm +0 -0
  302. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -0
  303. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -0
  304. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/layer/editor_plugin.js +0 -0
  305. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +0 -0
  306. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -0
  307. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -0
  308. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/lists/editor_plugin.js +0 -0
  309. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/lists/editor_plugin_src.js +0 -0
  310. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/css/content.css +0 -0
  311. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/css/media.css +0 -0
  312. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/editor_plugin.js +0 -0
  313. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +0 -0
  314. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
  315. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
  316. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
  317. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
  318. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
  319. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
  320. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
  321. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/js/embed.js +0 -0
  322. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/js/media.js +0 -0
  323. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +0 -0
  324. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/media.htm +0 -0
  325. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/media/moxieplayer.swf +0 -0
  326. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -0
  327. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -0
  328. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +0 -0
  329. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -0
  330. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/css/content.css +0 -0
  331. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -0
  332. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -0
  333. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
  334. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  335. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/editor_plugin.js +0 -0
  336. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +0 -0
  337. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/js/pastetext.js +0 -0
  338. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/js/pasteword.js +0 -0
  339. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -0
  340. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/pastetext.htm +0 -0
  341. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/paste/pasteword.htm +0 -0
  342. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/editor_plugin.js +0 -0
  343. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +0 -0
  344. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/example.html +0 -0
  345. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +0 -0
  346. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/preview/preview.html +0 -0
  347. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/print/editor_plugin.js +0 -0
  348. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +0 -0
  349. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/save/editor_plugin.js +0 -0
  350. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +0 -0
  351. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -0
  352. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -0
  353. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -0
  354. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -0
  355. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -0
  356. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -0
  357. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/css/content.css +0 -0
  358. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -0
  359. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -0
  360. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  361. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/css/props.css +0 -0
  362. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/editor_plugin.js +0 -0
  363. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +0 -0
  364. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/js/props.js +0 -0
  365. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +0 -0
  366. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/style/props.htm +0 -0
  367. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -0
  368. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -0
  369. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/cell.htm +0 -0
  370. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/css/cell.css +0 -0
  371. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/css/row.css +0 -0
  372. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/css/table.css +0 -0
  373. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/editor_plugin.js +0 -0
  374. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +0 -0
  375. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/cell.js +0 -0
  376. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/merge_cells.js +0 -0
  377. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/row.js +0 -0
  378. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/js/table.js +0 -0
  379. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -0
  380. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/merge_cells.htm +0 -0
  381. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/row.htm +0 -0
  382. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/table/table.htm +0 -0
  383. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/blank.htm +0 -0
  384. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/css/template.css +0 -0
  385. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/editor_plugin.js +0 -0
  386. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +0 -0
  387. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/js/template.js +0 -0
  388. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +0 -0
  389. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/template/template.htm +0 -0
  390. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +0 -0
  391. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -0
  392. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +0 -0
  393. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -0
  394. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -0
  395. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -0
  396. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -0
  397. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -0
  398. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -0
  399. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -0
  400. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +0 -0
  401. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -0
  402. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -0
  403. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -0
  404. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -0
  405. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -0
  406. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -0
  407. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -0
  408. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -0
  409. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -0
  410. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -0
  411. data/{public → vendor/assets}/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -0
  412. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/about.htm +0 -0
  413. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/anchor.htm +0 -0
  414. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/charmap.htm +0 -0
  415. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/color_picker.htm +0 -0
  416. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/editor_template.js +0 -0
  417. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/editor_template_src.js +0 -0
  418. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/image.htm +0 -0
  419. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  420. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
  421. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  422. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  423. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
  424. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
  425. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
  426. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
  427. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
  428. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/video.gif +0 -0
  429. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
  430. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/about.js +0 -0
  431. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/anchor.js +0 -0
  432. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/charmap.js +0 -0
  433. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/color_picker.js +0 -0
  434. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/image.js +0 -0
  435. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/link.js +0 -0
  436. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/source_editor.js +0 -0
  437. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/en.js +0 -0
  438. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -0
  439. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/link.htm +0 -0
  440. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/shortcuts.htm +0 -0
  441. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/content.css +0 -0
  442. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -0
  443. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  444. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  445. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  446. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  447. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  448. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  449. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -0
  450. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +0 -0
  451. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +0 -0
  452. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +0 -0
  453. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +0 -0
  454. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -0
  455. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  456. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  457. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  458. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -0
  459. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -0
  460. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -0
  461. data/{public → vendor/assets}/javascripts/tiny_mce/themes/advanced/source_editor.htm +0 -0
  462. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/editor_template.js +0 -0
  463. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/editor_template_src.js +0 -0
  464. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
  465. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/langs/en.js +0 -0
  466. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/default/content.css +0 -0
  467. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/default/ui.css +0 -0
  468. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +0 -0
  469. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  470. data/{public → vendor/assets}/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -0
  471. data/{public → vendor/assets}/javascripts/tiny_mce/tiny_mce.js +0 -0
  472. data/{public → vendor/assets}/javascripts/tiny_mce/tiny_mce_popup.js +0 -0
  473. data/{public → vendor/assets}/javascripts/tiny_mce/tiny_mce_src.js +0 -0
  474. data/{public → vendor/assets}/javascripts/tiny_mce/utils/editable_selects.js +0 -0
  475. data/{public → vendor/assets}/javascripts/tiny_mce/utils/form_utils.js +0 -0
  476. data/{public → vendor/assets}/javascripts/tiny_mce/utils/mctabs.js +0 -0
  477. data/{public → vendor/assets}/javascripts/tiny_mce/utils/validate.js +0 -0
  478. data/{public → vendor/assets}/stylesheets/ellipsis.xml +0 -0
  479. data/vendor/assets/stylesheets/fancybox.css +359 -0
  480. data/{public → vendor/assets}/stylesheets/plupload.queue.css +0 -0
  481. metadata +475 -465
  482. data/config/application.rb +0 -31
  483. data/config/boot.rb +0 -13
  484. data/demo/initializers/session_store.rb +0 -8
  485. data/demo/routes.rb +0 -3
  486. data/public/404.html +0 -77
  487. data/public/422.html +0 -76
  488. data/public/500.html +0 -77
  489. data/public/features.html +0 -252
  490. data/public/images/404-search.png +0 -0
  491. data/public/javascripts/admin/jquery.jqtransform.js +0 -366
  492. data/public/javascripts/admin/tiny_mce_config.js.orig +0 -147
  493. data/public/javascripts/application.js +0 -32
  494. data/public/javascripts/fancybox.js +0 -1078
  495. data/public/stylesheets/admin/fancybox.css +0 -341
  496. data/public/stylesheets/fancybox.css +0 -313
  497. data/public/stylesheets/forms.css +0 -7
  498. data/public/stylesheets/ie.css +0 -12
  499. data/public/stylesheets/ie8.css +0 -8
  500. data/public/stylesheets/layout.css +0 -31
  501. data/public/stylesheets/reset.css +0 -84
  502. data/public/stylesheets/skin.css +0 -22
  503. data/public/stylesheets/typography.css +0 -162
data/.gitignore CHANGED
@@ -7,7 +7,8 @@ rerun.txt
7
7
  .sass-cache
8
8
  .bundle
9
9
  Gemfile.lock
10
-
10
+ spec/dummy/log/*.log
11
+ spec/dummy/tmp/
11
12
 
12
13
  ## MAC OS
13
14
  .DS_Store
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'http://gems.github.com'
4
4
  gemspec
5
5
 
6
6
  # Required for running as demo rails app
7
- gem 'rails', '~> 3.0.1'
7
+ gem 'rails', '3.1.0'
8
8
  gem 'dragonfly', '~> 0.9.4'
9
9
  gem 'mm-versionable', '0.2.5'
10
10
 
@@ -20,6 +20,7 @@ group :development, :test do
20
20
  gem 'spork'
21
21
  gem 'launchy' # So you can do Then show me the page
22
22
  gem 'jeweler', '~> 1.4.0'
23
+ gem 'factory_girl'
23
24
  gem 'factory_girl_rails'
24
25
  gem "faker", "~> 0.3.1"
25
26
  gem "bson_ext"
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2011 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,17 +1,57 @@
1
- require 'bundler'
2
- Bundler.setup(:default, :development)
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'NoodallUi'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
24
+ load 'rails/tasks/engine.rake'
25
+
26
+
3
27
  Bundler::GemHelper.install_tasks
4
- require "rspec/core/rake_task"
5
- require "noodall-core"
6
28
 
7
- RSpec::Core::RakeTask.new(:spec)
29
+ require 'rake/testtask'
8
30
 
9
- RSpec::Core::RakeTask.new(:rcov) do |spec|
10
- spec.rcov = true
31
+ Rake::TestTask.new(:test) do |t|
32
+ t.libs << 'lib'
33
+ t.libs << 'test'
34
+ t.pattern = 'test/**/*_test.rb'
35
+ t.verbose = false
11
36
  end
12
37
 
13
- task :default => :spec
38
+ desc "Compile assets for rails 3.0.x"
39
+ task :compile_assets do
40
+ require 'sprockets'
41
+
42
+ sprockets = Sprockets::Environment.new
43
+
44
+ sprockets.append_path(File.expand_path("../app/assets/javascripts", __FILE__))
45
+ sprockets.append_path(File.expand_path("../app/assets/stylesheets", __FILE__))
46
+ sprockets.append_path(File.expand_path("../vendor/assets/stylesheets", __FILE__))
47
+ sprockets.append_path(File.expand_path("../vendor/assets/javascripts", __FILE__))
48
+
49
+ css = sprockets.find_asset("admin.css")
50
+ css.write_to(File.expand_path("../public/stylesheets/admin.css", __FILE__))
51
+ js = sprockets.find_asset("admin.js")
52
+ js.write_to(File.expand_path("../public/javascripts/admin.js", __FILE__))
53
+
54
+ end
14
55
 
15
- require File.expand_path('../config/application', __FILE__)
16
56
 
17
- Noodall::Application.load_tasks
57
+ task :default => :test
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- // Turn off fnacy box keypresses
1
+ // Turn off fancy box keypresses
2
2
  $.fn.fancybox.defaults.enableEscapeButton = false;
3
3
 
4
4
  // We should remove once JQuery UI is updated
@@ -149,10 +149,15 @@ $(document).ready(function() {
149
149
  'onComplete': Component.fancy_open_slot
150
150
  });
151
151
 
152
+ $('a.slot_link').click(function(e){
153
+ e.stopImmediatePropagation();
154
+ return false;
155
+ });
156
+
152
157
  // Preview
153
158
  preview_link = $('<a class="preview" href="#preview-pane" title="Content Preview">Preview</a>');
154
159
 
155
- $("body#nodes.show #node_submit").after(preview_link);
160
+ $("body#nodes.show #publish").after(preview_link);
156
161
 
157
162
  // Using selectors as latest version of webkit does not like binding to objects
158
163
  $('a.preview').fancybox({
@@ -184,7 +189,7 @@ $(document).ready(function() {
184
189
  axis: 'y',
185
190
  handle: 'img'
186
191
  });
187
-
192
+
188
193
  $('#versions-button').fancybox({'autoDimensions':false});
189
194
 
190
195
  // Add emptys div for browsers/preview
@@ -231,6 +236,7 @@ var Component = {
231
236
  Component.last_slot_index = target.attr('id').replace(/[^_]+_slot_(\d+)_type/i, "$1");
232
237
  },
233
238
  fancy_open_slot: function(args) {
239
+ console.log('here');
234
240
  Component.open_slot(args[0]);
235
241
  },
236
242
  open_slot: function(slot_link) {
@@ -420,7 +426,7 @@ function open_component_form(e) {
420
426
  Component.slot_form.find('li.multi-file').last().hide();
421
427
  Component.slot_form.find('textarea.lite-editor').tinymce(lite_tiny_mce_config);
422
428
  });
423
- };
429
+ }
424
430
 
425
431
  function clear_component_form(e) {
426
432
  slot_form = $(e.target).closest('div.component_form');
@@ -1,9 +1,9 @@
1
1
  function setUpAssets() {
2
- document.write('<link rel="stylesheet" href="/stylesheets/plupload.queue.css" type="text/css" media="screen" charset="utf-8">');
3
- document.write('<script type="text/javascript" src="/javascripts/plupload/gears_init.js"></script>');
2
+ document.write('<link rel="stylesheet" href="/assets/plupload.queue.css" type="text/css" media="screen" charset="utf-8">');
3
+ document.write('<script type="text/javascript" src="/assets/plupload/gears_init.js"></script>');
4
4
  document.write('<script type="text/javascript" src="http://bp.yahooapis.com/2.4.21/browserplus-min.js"></script>');
5
- document.write('<script type="text/javascript" src="/javascripts/plupload/plupload.full.min.js"></script>');
6
- document.write('<script type="text/javascript" src="/javascripts/plupload/jquery.plupload.queue.min.js"></script>');
5
+ document.write('<script type="text/javascript" src="/assets/plupload/plupload.full.min.js"></script>');
6
+ document.write('<script type="text/javascript" src="/assets/plupload/jquery.plupload.queue.min.js"></script>');
7
7
 
8
8
  $('#asset-browser ul.choices a, #asset-browser #tags a, #asset-browser .tags a, #asset-browser a.show, #asset-browser .pagination a').live('click', function() {
9
9
  $.get(
@@ -43,10 +43,10 @@ function setUpPlupload() {
43
43
  {title : "Video files", extensions : "flv,f4v"}
44
44
  ],
45
45
  // Flash settings
46
- flash_swf_url : '/javascripts/plupload/plupload.flash.swf',
46
+ flash_swf_url : '/assets/plupload/plupload.flash.swf',
47
47
 
48
48
  // Silverlight settings
49
- silverlight_xap_url : '/javascripts/plupload/plupload.silverlight.xap'
49
+ silverlight_xap_url : '/assets/plupload/plupload.silverlight.xap'
50
50
 
51
51
  });
52
52
  var uploader = $('#uploader').pluploadQueue();
@@ -89,7 +89,7 @@ function setUpPlupload() {
89
89
 
90
90
  $('#uploader_filelist').append(error_item);
91
91
 
92
- error_item.delay(8000).fadeOut(2000, function(){ $(this).remove(); if($('#uploader_filelist li').length == 0) $('#uploader_filelist').append('<li class="plupload_droptext">Drag files here.</li>'); });
92
+ error_item.delay(8000).fadeOut(2000, function(){ $(this).remove(); if($('#uploader_filelist li').length === 0) $('#uploader_filelist').append('<li class="plupload_droptext">Drag files here.</li>'); });
93
93
 
94
94
  up.refresh(); // Reposition Flash/Silverlight
95
95
  });
File without changes
@@ -1,7 +1,7 @@
1
1
  lite_tiny_mce_config = {
2
- script_url : '/javascripts/tiny_mce/tiny_mce.js',
2
+ script_url : '/assets/tiny_mce/tiny_mce.js',
3
3
 
4
- content_css : "/stylesheets/admin/tinymce.css",
4
+ content_css : "/assets/admin/tinymce.css",
5
5
 
6
6
  theme : "advanced",
7
7
  mode : "specific_textareas",
@@ -42,7 +42,7 @@ $.extend(tiny_mce_config, lite_tiny_mce_config, {
42
42
  // Add a custom button
43
43
  ed.addButton('assetbrowser', {
44
44
  title : 'Insert Asset',
45
- image : '/images/admin/image_small.png',
45
+ image : '/assets/admin/image_small.png',
46
46
  href: '#asset-browser',
47
47
  onclick : function() {
48
48
  tinyMCE.activeEditor.focus();
@@ -82,7 +82,7 @@ $.extend(tiny_mce_config, lite_tiny_mce_config, {
82
82
 
83
83
  ed.addButton('nodebrowser', {
84
84
  title : 'Insert an internal link',
85
- image : '/images/admin/top-level_small.png',
85
+ image : '/assets/admin/top-level_small.png',
86
86
  href: '#asset-browser',
87
87
  onclick : function() {
88
88
  tinyMCE.activeEditor.focus();
@@ -99,9 +99,9 @@ $.extend(tiny_mce_config, lite_tiny_mce_config, {
99
99
  'script');
100
100
  }
101
101
  });
102
-
103
-
104
-
102
+
103
+
104
+
105
105
 
106
106
  ed.onPostProcess.add(function(ed, o) {
107
107
  if(o.save){
@@ -0,0 +1,4 @@
1
+ //= require rails
2
+ //= require fancybox
3
+ //= require ajaxify
4
+ //= require admin/application
File without changes
File without changes
@@ -178,7 +178,7 @@ div#form-fields table input {
178
178
  }
179
179
 
180
180
  .form-save, .form-reset, .form-delete {
181
- background:url(/images/admin/set.gif) no-repeat;
181
+ background:url(/assets/admin/set.gif) no-repeat;
182
182
  margin:27px;
183
183
  width:110px;
184
184
  height:26px;
@@ -187,18 +187,18 @@ div#form-fields table input {
187
187
  }
188
188
 
189
189
  .form-reset {
190
- background:url(/images/admin/cancel-small.gif) no-repeat;
190
+ background:url(/assets/admin/cancel-small.gif) no-repeat;
191
191
  float:right;
192
192
  margin:27px 0;
193
193
  }
194
194
 
195
195
  .form-delete {
196
- background:url(/images/admin/clear.gif) no-repeat;
196
+ background:url(/assets/admin/clear.gif) no-repeat;
197
197
  float:right;
198
198
  }
199
199
 
200
200
  .add-multi-asset {
201
- background:url(/images/admin/add_file.gif) no-repeat;
201
+ background:url(/assets/admin/add_file.gif) no-repeat;
202
202
  overflow: hidden;
203
203
  width:110px;
204
204
  height:26px;
@@ -210,7 +210,7 @@ p.add-multi-asset span{
210
210
  }
211
211
 
212
212
  .remove {
213
- background:url(/images/admin/remove.gif) no-repeat;
213
+ background:url(/assets/admin/remove.gif) no-repeat;
214
214
  overflow: hidden;
215
215
  width:110px;
216
216
  height:26px;
@@ -234,7 +234,7 @@ p.remove span{
234
234
  }
235
235
 
236
236
  #content form .fixed-form input.publish {
237
- background:url(/images/admin/publish.gif) no-repeat;
237
+ background:url(/assets/admin/publish.gif) no-repeat;
238
238
  width:160px;
239
239
  height:56px;
240
240
  top:20px;
@@ -244,7 +244,7 @@ p.remove span{
244
244
  }
245
245
 
246
246
  #content form .fixed-form input.create {
247
- background:url(/images/admin/create.gif) no-repeat;
247
+ background:url(/assets/admin/create.gif) no-repeat;
248
248
  width:160px;
249
249
  height:56px;
250
250
  top:20px;
@@ -255,7 +255,7 @@ p.remove span{
255
255
  }
256
256
 
257
257
  #content form .fixed-form input.update {
258
- background:url(/images/admin/update.gif) no-repeat;
258
+ background:url(/assets/admin/update.gif) no-repeat;
259
259
  width:160px;
260
260
  height:56px;
261
261
  top:20px;
@@ -265,7 +265,7 @@ p.remove span{
265
265
  }
266
266
 
267
267
  #content form .fixed-form input.change {
268
- background:url(/images/admin/change-bg.gif) no-repeat;
268
+ background:url(/assets/admin/change-bg.gif) no-repeat;
269
269
  width:160px;
270
270
  height:56px;
271
271
  top:20px;
@@ -275,7 +275,7 @@ p.remove span{
275
275
  }
276
276
 
277
277
  #content form .fixed-form a.preview {
278
- background:url(/images/admin/preview.gif) no-repeat;
278
+ background:url(/assets/admin/preview.gif) no-repeat;
279
279
  width:110px;
280
280
  height:26px;
281
281
  left:190px;
@@ -285,7 +285,7 @@ p.remove span{
285
285
  }
286
286
 
287
287
  #content form .fixed-form a#versions-button {
288
- background:url(/images/admin/versions.gif) no-repeat;
288
+ background:url(/assets/admin/versions.gif) no-repeat;
289
289
  width:110px;
290
290
  height:26px;
291
291
  left:440px;
@@ -296,7 +296,7 @@ p.remove span{
296
296
 
297
297
 
298
298
  #content form .fixed-form input.draft {
299
- background:url(/images/admin/draft.gif) no-repeat;
299
+ background:url(/assets/admin/draft.gif) no-repeat;
300
300
  width:110px;
301
301
  height:26px;
302
302
  left:305px;
@@ -307,7 +307,7 @@ p.remove span{
307
307
  }
308
308
 
309
309
  .fixed-form input#hide {
310
- background:url(/images/admin/hide.gif) no-repeat;
310
+ background:url(/assets/admin/hide.gif) no-repeat;
311
311
  width:160px;
312
312
  height:56px;
313
313
  cursor:pointer;
@@ -318,7 +318,7 @@ p.remove span{
318
318
  }
319
319
 
320
320
  .fixed-form a.cancel, .fixed-form a.delete {
321
- background:url(/images/admin/cancel.gif) no-repeat;
321
+ background:url(/assets/admin/cancel.gif) no-repeat;
322
322
  width:160px;
323
323
  height:56px;
324
324
  cursor:pointer;
@@ -329,7 +329,7 @@ p.remove span{
329
329
  }
330
330
 
331
331
  .fixed-form a.delete {
332
- background:url(/images/admin/delete.gif) no-repeat;
332
+ background:url(/assets/admin/delete.gif) no-repeat;
333
333
  top:20px;
334
334
  right:240px;
335
335
  }
@@ -360,7 +360,7 @@ body.new .fixed-form a.cancel {
360
360
 
361
361
  #content form .fixed-form legend.advanced,
362
362
  #content form .fixed-form a.advanced {
363
- background:url(/images/admin/advanced.gif) no-repeat left top;
363
+ background:url(/assets/admin/advanced.gif) no-repeat left top;
364
364
  cursor:pointer;
365
365
  height:26px !important;
366
366
  left:190px;
@@ -423,12 +423,12 @@ div#flash div {
423
423
  }
424
424
 
425
425
  div#flash div.notice {
426
- background:#82b452 url(/images/admin/check.png) no-repeat 10px 5px;
426
+ background:#82b452 url(/assets/admin/check.png) no-repeat 10px 5px;
427
427
  border:3px solid #548126;
428
428
  }
429
429
 
430
430
  div#flash div.error {
431
- background:#E47373 url(/images/admin/delete.png) no-repeat 10px 5px;
431
+ background:#E47373 url(/assets/admin/delete.png) no-repeat 10px 5px;
432
432
  border:3px solid #9C3B3B;
433
433
  color:#fff;
434
434
  }
@@ -499,7 +499,7 @@ a.jqTransformSelectOpen {
499
499
  right: 0px;
500
500
  width: 32px;
501
501
  height: 27px;
502
- background: url(/images/admin/forms/select-right.gif) no-repeat center top;
502
+ background: url(/assets/admin/forms/select-right.gif) no-repeat center top;
503
503
  }
504
504
 
505
505
  p.template .jqTransformSelectWrapper ul {
@@ -571,4 +571,4 @@ fieldset.template label {
571
571
 
572
572
  .jqTransformHidden {
573
573
  display: none;
574
- }
574
+ }
File without changes
File without changes
File without changes
@@ -311,7 +311,7 @@ form#uploader {
311
311
  .pagination span,
312
312
  .pagination em,
313
313
  .pagination a {
314
- padding:0 5px;
314
+ padding:0 4px;
315
315
  vertical-align: middle;
316
316
  }
317
317
 
File without changes
File without changes