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/script/rails CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ #!/usr/bin/env ruby
2
3
  # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
4
 
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'
5
+ ENGINE_PATH = File.expand_path('../..', __FILE__)
6
+ load File.expand_path('../../spec/dummy/script/rails', __FILE__)
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
3
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
+
5
+ require File.expand_path('../config/application', __FILE__)
6
+
7
+ Dummy::Application.load_tasks
@@ -0,0 +1,7 @@
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require_tree .
@@ -0,0 +1,7 @@
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_self
6
+ *= require_tree .
7
+ */
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,50 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require "action_controller/railtie"
4
+ require "action_mailer/railtie"
5
+ require "active_resource/railtie"
6
+ require "sprockets/railtie"
7
+
8
+ Bundler.require
9
+ require "noodall-ui"
10
+
11
+ module Dummy
12
+ class Application < Rails::Application
13
+ # Settings in config/environments/* take precedence over those specified here.
14
+ # Application configuration should go into files in config/initializers
15
+ # -- all .rb files in that directory are automatically loaded.
16
+
17
+ # Custom directories with classes and modules you want to be autoloadable.
18
+ # config.autoload_paths += %W(#{config.root}/extras)
19
+
20
+ # Only load the plugins named here, in the order given (default is alphabetical).
21
+ # :all can be used as a placeholder for all plugins not explicitly named.
22
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
23
+
24
+ # Activate observers that should always be running.
25
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
26
+
27
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
28
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
29
+ # config.time_zone = 'Central Time (US & Canada)'
30
+
31
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
32
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
33
+ # config.i18n.default_locale = :de
34
+
35
+ # Configure the default encoding used in templates for Ruby 1.9.
36
+ config.encoding = "utf-8"
37
+
38
+ # Configure sensitive parameters which will be filtered from the log file.
39
+ config.filter_parameters += [:password]
40
+
41
+ # Enable the asset pipeline
42
+ config.assets.enabled = true
43
+
44
+ # Version of your assets, change this if you want to expire all your assets
45
+ config.assets.version = '1.0'
46
+
47
+ config.middleware.insert 0, 'Dragonfly::Middleware', :noodall_assets
48
+ end
49
+ end
50
+
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
File without changes
@@ -2,4 +2,4 @@
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
4
  # Initialize the rails application
5
- Noodall::Application.initialize!
5
+ Dummy::Application.initialize!
@@ -1,17 +1,16 @@
1
- Noodall::Application.configure do
2
- # Settings specified here will take precedence over those in config/environment.rb
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # In the development environment your application's code is reloaded on
5
5
  # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the webserver when you make code changes.
7
- config.cache_classes = false
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = true
8
8
 
9
9
  # Log error messages when you accidentally call methods on nil.
10
10
  config.whiny_nils = true
11
11
 
12
12
  # Show full error reports and disable caching
13
13
  config.consider_all_requests_local = true
14
- config.action_view.debug_rjs = true
15
14
  config.action_controller.perform_caching = false
16
15
 
17
16
  # Don't care if the mailer can't send
@@ -22,6 +21,10 @@ Noodall::Application.configure do
22
21
 
23
22
  # Only use best-standards-support built into browsers
24
23
  config.action_dispatch.best_standards_support = :builtin
25
-
26
- end
27
24
 
25
+ # Do not compress assets
26
+ config.assets.compress = false
27
+
28
+ # Expands the lines which load the assets
29
+ config.assets.debug = true
30
+ end
@@ -1,7 +1,6 @@
1
- Noodall::Application.configure do
2
- # Settings specified here will take precedence over those in config/environment.rb
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
- # The production environment is meant for finished, "live" apps.
5
4
  # Code is not reloaded between requests
6
5
  config.cache_classes = true
7
6
 
@@ -9,14 +8,27 @@ Noodall::Application.configure do
9
8
  config.consider_all_requests_local = false
10
9
  config.action_controller.perform_caching = true
11
10
 
12
- # Specifies the header that your server uses for sending files
13
- config.action_dispatch.x_sendfile_header = "X-Sendfile"
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
14
16
 
15
- # For nginx:
16
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
17
19
 
18
- # If you have no front-end server that supports something like X-Sendfile,
19
- # just comment this out and Rails will serve the files
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
20
32
 
21
33
  # See everything in the log (default is :info)
22
34
  # config.log_level = :debug
@@ -27,13 +39,12 @@ Noodall::Application.configure do
27
39
  # Use a different cache store in production
28
40
  # config.cache_store = :mem_cache_store
29
41
 
30
- # Disable Rails's static asset server
31
- # In production, Apache or nginx will already do this
32
- config.serve_static_assets = false
33
-
34
- # Enable serving of images, stylesheets, and javascripts from an asset server
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
35
43
  # config.action_controller.asset_host = "http://assets.example.com"
36
44
 
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
37
48
  # Disable delivery errors, bad email addresses will be ignored
38
49
  # config.action_mailer.raise_delivery_errors = false
39
50
 
@@ -47,4 +58,3 @@ Noodall::Application.configure do
47
58
  # Send deprecation notices to registered listeners
48
59
  config.active_support.deprecation = :notify
49
60
  end
50
-
@@ -1,5 +1,5 @@
1
- Noodall::Application.configure do
2
- # Settings specified here will take precedence over those in config/environment.rb
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # The test environment is used exclusively to run your application's
5
5
  # test suite. You never need to work with it otherwise. Remember that
@@ -7,7 +7,11 @@ Noodall::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Log error messages when you accidentally call methods on nil.
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
11
15
  config.whiny_nils = true
12
16
 
13
17
  # Show full error reports and disable caching
@@ -32,33 +36,7 @@ Noodall::Application.configure do
32
36
 
33
37
  # Print deprecation notices to the stderr
34
38
  config.active_support.deprecation = :stderr
35
- end
36
39
 
37
- require 'dragonfly'
38
- require 'stringio'
39
- require 'tempfile'
40
- module Dragonfly
41
- class TempObject
42
- private
43
- def initialize_from_object!(obj)
44
- case obj
45
- when TempObject
46
- @initialized_data = obj.initialized_data
47
- @initialized_tempfile = copy_to_tempfile(obj.initialized_tempfile.path) if obj.initialized_tempfile
48
- @initialized_file = obj.initialized_file
49
- when String
50
- @initialized_data = obj
51
- when Tempfile
52
- @initialized_tempfile = obj
53
- when File
54
- @initialized_file = obj
55
- self.name = File.basename(obj.path)
56
- when ::ActionDispatch::Http::UploadedFile
57
- @initialized_tempfile = obj.tempfile
58
- else
59
- raise ArgumentError, "#{self.class.name} must be initialized with a String, a File, a Tempfile, an ActionDispatch::Http::UploadedFile or another TempObject"
60
- end
61
- self.name = obj.original_filename if obj.respond_to?(:original_filename)
62
- end
63
- end
40
+ # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
41
+ config.assets.allow_debugging = true
64
42
  end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
File without changes
@@ -4,4 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Noodall::Application.config.secret_token = '14df628e45f198e0d451680a23e958bf3ea969fec4885760056457516cbee27f1cae4ec47bfd911027b18c6959517b7f902fe24debc7491aedd5662434ae4052'
7
+ Dummy::Application.config.secret_token = '0e4daece160376cc0d2cccca318deebab5a944a7646a75435effe8fc06ac4c21bd7a688e866add0c065b747c6af407c4682428a9f1e010cf892e96611eb67ae9'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -1,5 +1,5 @@
1
1
  # Sample localization file for English. Add more files in this directory for other locales.
2
- # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
3
 
4
4
  en:
5
5
  hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ require 'noodall/routes'
2
+
3
+ Noodall::Routes.draw(Dummy::Application)
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
3
  require ::File.expand_path('../config/environment', __FILE__)
4
- run Noodall::Application
4
+ run Dummy::Application
File without changes
@@ -2,15 +2,15 @@ Factory.define :asset do |asset|
2
2
  asset.tags { Faker::Lorem.words(4) }
3
3
  asset.title { "Image asset" }
4
4
  asset.description { "The asset description" }
5
- asset.file { File.new("#{Rails.root}/spec/files/beef.png") }
5
+ asset.file { File.new("#{Rails.root}/files/beef.png") }
6
6
  end
7
7
 
8
8
  Factory.define :document_asset, :parent => :asset do |asset|
9
9
  asset.title { "Document asset" }
10
- asset.file { File.new("#{Rails.root}/spec/files/test.pdf") }
10
+ asset.file { File.new("#{Rails.root}/files/test.pdf") }
11
11
  end
12
12
 
13
13
  Factory.define :video_asset, :parent => :asset do |asset|
14
14
  asset.title { "Video asset" }
15
- asset.file { File.new("#{Rails.root}/spec/files/get_video.flv") }
16
- end
15
+ asset.file { File.new("#{Rails.root}/files/get_video.flv") }
16
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
File without changes
File without changes
File without changes