locomotive_cms 0.0.3.3 → 0.0.4.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (839) hide show
  1. data/Gemfile +47 -33
  2. data/README.textile +11 -5
  3. data/app/controllers/admin/accounts_controller.rb +6 -6
  4. data/app/controllers/admin/api_contents_controller.rb +9 -9
  5. data/app/controllers/admin/asset_collections_controller.rb +9 -9
  6. data/app/controllers/admin/assets_controller.rb +13 -13
  7. data/app/controllers/admin/base_controller.rb +21 -21
  8. data/app/controllers/admin/content_types_controller.rb +7 -3
  9. data/app/controllers/admin/contents_controller.rb +16 -16
  10. data/app/controllers/admin/cross_domain_sessions_controller.rb +34 -0
  11. data/app/controllers/admin/current_sites_controller.rb +9 -9
  12. data/app/controllers/admin/custom_fields_controller.rb +11 -11
  13. data/app/controllers/admin/images_controller.rb +51 -0
  14. data/app/controllers/admin/imports_controller.rb +51 -0
  15. data/app/controllers/admin/memberships_controller.rb +4 -4
  16. data/app/controllers/admin/my_accounts_controller.rb +9 -9
  17. data/app/controllers/admin/pages_controller.rb +23 -12
  18. data/app/controllers/admin/passwords_controller.rb +6 -6
  19. data/app/controllers/admin/rendering_controller.rb +6 -6
  20. data/app/controllers/admin/sessions_controller.rb +8 -8
  21. data/app/controllers/admin/sitemaps_controller.rb +6 -6
  22. data/app/controllers/admin/sites_controller.rb +9 -9
  23. data/app/controllers/admin/snippets_controller.rb +10 -8
  24. data/app/controllers/admin/theme_assets_controller.rb +28 -17
  25. data/app/controllers/application_controller.rb +9 -1
  26. data/app/controllers/home_controller.rb +4 -4
  27. data/app/helpers/admin/accounts_helper.rb +3 -3
  28. data/app/helpers/admin/assets_helper.rb +11 -5
  29. data/app/helpers/admin/base_helper.rb +9 -9
  30. data/app/helpers/admin/custom_fields_helper.rb +11 -11
  31. data/app/helpers/admin/login_helper.rb +7 -7
  32. data/app/helpers/admin/pages_helper.rb +22 -18
  33. data/app/helpers/admin/sites_helper.rb +5 -5
  34. data/app/models/account.rb +33 -16
  35. data/app/models/asset.rb +19 -15
  36. data/app/models/asset_collection.rb +29 -20
  37. data/app/models/content_instance.rb +34 -17
  38. data/app/models/content_type.rb +29 -22
  39. data/app/models/editable_element.rb +21 -0
  40. data/app/models/editable_file.rb +9 -0
  41. data/app/models/editable_long_text.rb +3 -0
  42. data/app/models/editable_short_text.rb +12 -0
  43. data/app/models/extensions/asset/vignette.rb +13 -11
  44. data/app/models/extensions/page/editable_elements.rb +111 -0
  45. data/app/models/extensions/page/parse.rb +107 -0
  46. data/app/models/extensions/page/render.rb +8 -14
  47. data/app/models/extensions/page/templatized.rb +16 -16
  48. data/app/models/extensions/page/tree.rb +33 -24
  49. data/app/models/membership.rb +12 -12
  50. data/app/models/page.rb +41 -39
  51. data/app/models/site.rb +46 -41
  52. data/app/models/snippet.rb +63 -2
  53. data/app/models/theme_asset.rb +103 -59
  54. data/app/uploaders/asset_uploader.rb +19 -18
  55. data/app/uploaders/editable_file_uploader.rb +11 -0
  56. data/app/uploaders/theme_asset_uploader.rb +11 -22
  57. data/app/views/admin/accounts/new.html.haml +4 -4
  58. data/app/views/admin/asset_collections/edit.html.haml +10 -10
  59. data/app/views/admin/asset_collections/index.html.haml +2 -2
  60. data/app/views/admin/asset_collections/new.html.haml +2 -2
  61. data/app/views/admin/assets/edit.html.haml +1 -1
  62. data/app/views/admin/assets/new.html.haml +2 -2
  63. data/app/views/admin/content_types/_form.html.haml +4 -4
  64. data/app/views/admin/content_types/edit.html.haml +3 -3
  65. data/app/views/admin/content_types/new.html.haml +2 -2
  66. data/app/views/admin/contents/_form.html.haml +1 -1
  67. data/app/views/admin/contents/_list.html.haml +3 -3
  68. data/app/views/admin/contents/edit.html.haml +1 -1
  69. data/app/views/admin/contents/index.html.haml +6 -6
  70. data/app/views/admin/contents/new.html.haml +3 -3
  71. data/app/views/admin/cross_domain_sessions/new.html.haml +14 -0
  72. data/app/views/admin/current_sites/_form.html.haml +9 -9
  73. data/app/views/admin/current_sites/edit.html.haml +3 -2
  74. data/app/views/admin/custom_fields/_custom_form.html.haml +4 -4
  75. data/app/views/admin/custom_fields/_edit_field.html.haml +2 -2
  76. data/app/views/admin/custom_fields/_index.html.haml +24 -24
  77. data/app/views/admin/custom_fields/edit_category.html.haml +16 -16
  78. data/app/views/admin/errors/404.html.haml +7 -0
  79. data/app/views/admin/errors/500.html.haml +7 -0
  80. data/app/views/admin/imports/new.html.haml +21 -0
  81. data/app/views/admin/imports/show.html.haml +19 -0
  82. data/app/views/admin/mailer/confirmation_instructions.html.haml +2 -2
  83. data/app/views/admin/mailer/reset_password_instructions.html.haml +4 -4
  84. data/app/views/admin/mailer/unlock_instructions.html.haml +3 -3
  85. data/app/views/admin/memberships/new.html.haml +3 -3
  86. data/app/views/admin/my_accounts/edit.html.haml +11 -10
  87. data/app/views/admin/pages/_editable_elements.html.haml +35 -0
  88. data/app/views/admin/pages/_form.html.haml +21 -26
  89. data/app/views/admin/pages/_page.html.haml +5 -5
  90. data/app/views/admin/pages/edit.html.haml +3 -3
  91. data/app/views/admin/pages/index.html.haml +2 -2
  92. data/app/views/admin/pages/new.html.haml +2 -2
  93. data/app/views/admin/passwords/edit.html.haml +4 -4
  94. data/app/views/admin/passwords/new.html.haml +6 -6
  95. data/app/views/admin/sessions/new.html.haml +2 -2
  96. data/app/views/admin/shared/_footer.html.haml +1 -1
  97. data/app/views/admin/shared/_form_actions.html.haml +2 -2
  98. data/app/views/admin/shared/_head.html.haml +3 -3
  99. data/app/views/admin/shared/_header.html.haml +9 -2
  100. data/app/views/admin/shared/menu/_contents.html.haml +3 -3
  101. data/app/views/admin/shared/menu/_settings.html.haml +1 -2
  102. data/app/views/admin/sitemaps/show.xml.builder +13 -3
  103. data/app/views/admin/sites/_form.html.haml +5 -5
  104. data/app/views/admin/sites/new.html.haml +2 -2
  105. data/app/views/admin/snippets/_form.html.haml +6 -3
  106. data/app/views/admin/snippets/_snippet.html.haml +3 -2
  107. data/app/views/admin/snippets/edit.html.haml +2 -2
  108. data/app/views/admin/snippets/index.html.haml +2 -2
  109. data/app/views/admin/snippets/new.html.haml +3 -3
  110. data/app/views/admin/theme_assets/_asset.html.haml +11 -10
  111. data/app/views/admin/theme_assets/_form.html.haml +19 -21
  112. data/app/views/admin/theme_assets/edit.html.haml +1 -1
  113. data/app/views/admin/theme_assets/images.html.haml +11 -11
  114. data/app/views/admin/theme_assets/index.html.haml +34 -19
  115. data/app/views/admin/theme_assets/new.html.haml +2 -2
  116. data/app/views/home/show.html.haml +2 -2
  117. data/app/views/layouts/admin/application.html.haml +6 -6
  118. data/app/views/layouts/admin/{login.html.haml → box.html.haml} +5 -3
  119. data/app/views/layouts/application.html.haml +1 -1
  120. data/config/application.rb +3 -1
  121. data/config/cucumber.yml +2 -8
  122. data/config/environments/development.rb +4 -3
  123. data/config/environments/production.rb +16 -1
  124. data/config/environments/test.rb +7 -1
  125. data/config/initializers/devise.rb +3 -9
  126. data/config/initializers/formtastic.rb +2 -2
  127. data/config/initializers/haml.rb +1 -0
  128. data/config/initializers/inflections.rb +6 -1
  129. data/config/initializers/locomotive.rb +8 -9
  130. data/config/initializers/rspec_generator.rb +1 -1
  131. data/config/initializers/secret_token.rb +1 -1
  132. data/config/locales/admin_ui_en.yml +93 -56
  133. data/config/locales/admin_ui_fr.yml +82 -68
  134. data/config/locales/default_en.yml +8 -10
  135. data/config/locales/default_fr.yml +32 -37
  136. data/config/locales/flash.en.yml +20 -21
  137. data/config/locales/flash.fr.yml +20 -21
  138. data/config/routes.rb +33 -27
  139. data/lib/generators/locomotive/copy_assets/copy_assets_generator.rb +5 -5
  140. data/lib/generators/locomotive/install/install_generator.rb +3 -3
  141. data/lib/generators/locomotive/install/templates/locomotive.rb +8 -8
  142. data/lib/locomotive/admin_responder.rb +5 -5
  143. data/lib/locomotive/carrierwave/base.rb +3 -3
  144. data/lib/locomotive/carrierwave/patches.rb +17 -13
  145. data/lib/locomotive/carrierwave.rb +5 -1
  146. data/lib/locomotive/configuration.rb +8 -8
  147. data/lib/{core_ext.rb → locomotive/core_ext.rb} +15 -11
  148. data/lib/locomotive/custom_fields.rb +6 -5
  149. data/lib/locomotive/delayed_job.rb +47 -0
  150. data/lib/locomotive/engine.rb +13 -4
  151. data/lib/locomotive/heroku/custom_domain.rb +14 -14
  152. data/lib/locomotive/heroku.rb +18 -16
  153. data/lib/locomotive/httparty/patches.rb +4 -4
  154. data/lib/locomotive/httparty/webservice.rb +4 -4
  155. data/lib/locomotive/httparty.rb +1 -1
  156. data/lib/locomotive/import/asset_collections.rb +53 -0
  157. data/lib/locomotive/import/assets.rb +74 -0
  158. data/lib/locomotive/import/content_types.rb +84 -0
  159. data/lib/locomotive/import/job.rb +73 -0
  160. data/lib/locomotive/import/pages.rb +114 -0
  161. data/lib/locomotive/import/site.rb +17 -0
  162. data/lib/locomotive/import/snippets.rb +23 -0
  163. data/lib/locomotive/import.rb +7 -0
  164. data/lib/locomotive/inherited_resources.rb +5 -4
  165. data/lib/locomotive/liquid/drops/asset.rb +21 -0
  166. data/lib/locomotive/liquid/drops/asset_collections.rb +47 -12
  167. data/lib/locomotive/liquid/drops/base.rb +12 -12
  168. data/lib/locomotive/liquid/drops/content.rb +10 -10
  169. data/lib/locomotive/liquid/drops/contents.rb +15 -20
  170. data/lib/locomotive/liquid/drops/page.rb +9 -11
  171. data/lib/locomotive/liquid/drops/site.rb +15 -0
  172. data/lib/locomotive/liquid/errors.rb +5 -0
  173. data/lib/locomotive/liquid/filters/date.rb +14 -14
  174. data/lib/locomotive/liquid/filters/html.rb +65 -24
  175. data/lib/locomotive/liquid/filters/misc.rb +11 -11
  176. data/lib/locomotive/liquid/filters/text.rb +7 -7
  177. data/lib/locomotive/liquid/tags/blueprint.rb +13 -13
  178. data/lib/locomotive/liquid/tags/consume.rb +23 -13
  179. data/lib/locomotive/liquid/tags/editable/base.rb +60 -0
  180. data/lib/locomotive/liquid/tags/editable/file.rb +23 -0
  181. data/lib/locomotive/liquid/tags/editable/long_text.rb +31 -0
  182. data/lib/locomotive/liquid/tags/editable/short_text.rb +31 -0
  183. data/lib/locomotive/liquid/tags/editable.rb +4 -0
  184. data/lib/locomotive/liquid/tags/extends.rb +42 -0
  185. data/lib/locomotive/liquid/tags/google_analytics.rb +39 -0
  186. data/lib/locomotive/liquid/tags/inherited_block.rb +31 -0
  187. data/lib/locomotive/liquid/tags/inline_editor.rb +52 -0
  188. data/lib/locomotive/liquid/tags/jquery.rb +8 -8
  189. data/lib/locomotive/liquid/tags/nav.rb +17 -17
  190. data/lib/locomotive/liquid/tags/paginate.rb +23 -23
  191. data/lib/locomotive/liquid/tags/snippet.rb +39 -14
  192. data/lib/locomotive/liquid/tags/with_scope.rb +11 -11
  193. data/lib/locomotive/liquid.rb +3 -3
  194. data/lib/locomotive/logger.rb +4 -4
  195. data/lib/locomotive/middlewares/fonts.rb +44 -0
  196. data/lib/locomotive/middlewares.rb +1 -0
  197. data/lib/locomotive/misc_form_builder.rb +47 -0
  198. data/lib/locomotive/mongoid/document.rb +7 -8
  199. data/lib/locomotive/mongoid/model_extensions.rb +1 -1
  200. data/lib/locomotive/mongoid/patches.rb +79 -51
  201. data/lib/locomotive/mongoid.rb +1 -1
  202. data/lib/locomotive/railties/tasks.rake +16 -0
  203. data/lib/locomotive/regexps.rb +4 -8
  204. data/lib/locomotive/render.rb +46 -36
  205. data/lib/locomotive/routing/default_constraint.rb +12 -13
  206. data/lib/locomotive/routing/site_dispatcher.rb +20 -18
  207. data/lib/locomotive/routing.rb +2 -0
  208. data/lib/locomotive/session_store.rb +57 -0
  209. data/lib/locomotive/version.rb +3 -0
  210. data/lib/locomotive.rb +22 -14
  211. data/lib/tasks/cucumber.rake +2 -2
  212. data/lib/tasks/rspec.rake +1 -1
  213. data/public/images/admin/{login → box}/bottom_panel_bg.png +0 -0
  214. data/public/images/admin/{login → box}/buttons/left_bg.png +0 -0
  215. data/public/images/admin/{login → box}/buttons/right_bg.png +0 -0
  216. data/public/images/admin/{login → box}/content_panel_bg.png +0 -0
  217. data/public/images/admin/{login → box}/input_bg.png +0 -0
  218. data/public/images/admin/{login → box}/light_bg.png +0 -0
  219. data/public/images/admin/{login → box}/top_panel_bg.png +0 -0
  220. data/public/images/admin/{login → box}/wrapper_bg.png +0 -0
  221. data/public/images/admin/buttons/dark-gray-bg.png +0 -0
  222. data/public/images/admin/form/spinner.gif +0 -0
  223. data/public/images/admin/inline_editor/action-left.png +0 -0
  224. data/public/images/admin/inline_editor/action-right.png +0 -0
  225. data/public/images/admin/inline_editor/bg.png +0 -0
  226. data/public/images/admin/inline_editor/drawer.png +0 -0
  227. data/public/images/admin/list/icons/states.png +0 -0
  228. data/public/images/admin/plugins/selectmenu/arrow.png +0 -0
  229. data/public/images/admin/plugins/selectmenu/background.png +0 -0
  230. data/public/javascripts/admin/account.js +4 -4
  231. data/public/javascripts/admin/aloha/VERSION.txt +2 -0
  232. data/public/javascripts/admin/aloha/aloha-nodeps.js +153 -0
  233. data/public/javascripts/admin/aloha/aloha.js +246 -0
  234. data/public/javascripts/admin/aloha/css/aloha.css +408 -0
  235. data/{vendor/plugins/custom_fields/MIT-LICENSE → public/javascripts/admin/aloha/deps/MIT-LICENSE.txt} +4 -4
  236. data/public/javascripts/admin/aloha/deps/extjs/resources/charts.swf +0 -0
  237. data/public/javascripts/admin/aloha/deps/extjs/resources/css/ext-all.css +6795 -0
  238. data/public/javascripts/admin/aloha/deps/extjs/resources/css/xtheme-gray.css +1654 -0
  239. data/public/javascripts/admin/aloha/deps/extjs/resources/expressinstall.swf +0 -0
  240. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners-blue.gif +0 -0
  241. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners.gif +0 -0
  242. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l-blue.gif +0 -0
  243. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l.gif +0 -0
  244. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r-blue.gif +0 -0
  245. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r.gif +0 -0
  246. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb-blue.gif +0 -0
  247. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb.gif +0 -0
  248. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/arrow.gif +0 -0
  249. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/btn.gif +0 -0
  250. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-cs.gif +0 -0
  251. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-lr.gif +0 -0
  252. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-tb.gif +0 -0
  253. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b-noline.gif +0 -0
  254. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b.gif +0 -0
  255. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-bo.gif +0 -0
  256. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-noline.gif +0 -0
  257. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-o.gif +0 -0
  258. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow.gif +0 -0
  259. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-add.gif +0 -0
  260. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-no.gif +0 -0
  261. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-yes.gif +0 -0
  262. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/editor/tb-sprite.gif +0 -0
  263. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/checkbox.gif +0 -0
  264. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.gif +0 -0
  265. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.psd +0 -0
  266. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.gif +0 -0
  267. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.psd +0 -0
  268. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/error-tip-corners.gif +0 -0
  269. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/exclamation.gif +0 -0
  270. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/radio.gif +0 -0
  271. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.gif +0 -0
  272. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.psd +0 -0
  273. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/text-bg.gif +0 -0
  274. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.gif +0 -0
  275. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.psd +0 -0
  276. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-tpl.gif +0 -0
  277. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.gif +0 -0
  278. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.psd +0 -0
  279. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/gradient-bg.gif +0 -0
  280. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-left-white.gif +0 -0
  281. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-right-white.gif +0 -0
  282. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-bottom.gif +0 -0
  283. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-top.gif +0 -0
  284. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/columns.gif +0 -0
  285. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/dirty.gif +0 -0
  286. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/done.gif +0 -0
  287. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-no.gif +0 -0
  288. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-yes.gif +0 -0
  289. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/footer-bg.gif +0 -0
  290. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-hd.gif +0 -0
  291. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-split.gif +0 -0
  292. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-hrow.gif +0 -0
  293. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-loading.gif +0 -0
  294. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-split.gif +0 -0
  295. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-vista-hd.gif +0 -0
  296. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hd-btn.gif +0 -0
  297. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow-over.gif +0 -0
  298. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow.gif +0 -0
  299. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
  300. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
  301. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-by.gif +0 -0
  302. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-collapse.gif +0 -0
  303. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand-sprite.gif +0 -0
  304. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand.gif +0 -0
  305. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hd-pop.gif +0 -0
  306. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-asc.gif +0 -0
  307. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-desc.gif +0 -0
  308. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.gif +0 -0
  309. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.png +0 -0
  310. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.gif +0 -0
  311. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.png +0 -0
  312. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/invalid_line.gif +0 -0
  313. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/loading.gif +0 -0
  314. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/mso-hd.gif +0 -0
  315. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/nowait.gif +0 -0
  316. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first-disabled.gif +0 -0
  317. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first.gif +0 -0
  318. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last-disabled.gif +0 -0
  319. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last.gif +0 -0
  320. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next-disabled.gif +0 -0
  321. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next.gif +0 -0
  322. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev-disabled.gif +0 -0
  323. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev.gif +0 -0
  324. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/pick-button.gif +0 -0
  325. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/refresh.gif +0 -0
  326. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-check-sprite.gif +0 -0
  327. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-expand-sprite.gif +0 -0
  328. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-over.gif +0 -0
  329. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-sel.gif +0 -0
  330. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort-hd.gif +0 -0
  331. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_asc.gif +0 -0
  332. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_desc.gif +0 -0
  333. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/wait.gif +0 -0
  334. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/collapse.gif +0 -0
  335. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/expand.gif +0 -0
  336. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/gradient-bg.gif +0 -0
  337. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-bottom.gif +0 -0
  338. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-left.gif +0 -0
  339. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-right.gif +0 -0
  340. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-top.gif +0 -0
  341. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-collapse.gif +0 -0
  342. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-expand.gif +0 -0
  343. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-close.gif +0 -0
  344. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-bg.gif +0 -0
  345. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-light-bg.gif +0 -0
  346. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stick.gif +0 -0
  347. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stuck.gif +0 -0
  348. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close-on.gif +0 -0
  349. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close.gif +0 -0
  350. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/checked.gif +0 -0
  351. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/group-checked.gif +0 -0
  352. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/item-over.gif +0 -0
  353. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu-parent.gif +0 -0
  354. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu.gif +0 -0
  355. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/unchecked.gif +0 -0
  356. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/corners-sprite.gif +0 -0
  357. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/left-right.gif +0 -0
  358. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/light-hd.gif +0 -0
  359. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
  360. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprites.gif +0 -0
  361. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tools-sprites-trans.gif +0 -0
  362. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.gif +0 -0
  363. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.png +0 -0
  364. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-corners-sprite.gif +0 -0
  365. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-left-right.gif +0 -0
  366. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-top-bottom.gif +0 -0
  367. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/progress/progress-bg.gif +0 -0
  368. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/bg.gif +0 -0
  369. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/close.gif +0 -0
  370. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
  371. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-sprite.gif +0 -0
  372. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/s.gif +0 -0
  373. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-c.png +0 -0
  374. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-lr.png +0 -0
  375. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow.png +0 -0
  376. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/blue-loading.gif +0 -0
  377. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/calendar.gif +0 -0
  378. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/glass-bg.gif +0 -0
  379. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/hd-sprite.gif +0 -0
  380. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/large-loading.gif +0 -0
  381. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/left-btn.gif +0 -0
  382. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/loading-balls.gif +0 -0
  383. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/right-btn.gif +0 -0
  384. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/warning.gif +0 -0
  385. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle-dark.gif +0 -0
  386. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle.gif +0 -0
  387. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle-dark.gif +0 -0
  388. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle.gif +0 -0
  389. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle-dark.gif +0 -0
  390. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle.gif +0 -0
  391. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle-dark.gif +0 -0
  392. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle.gif +0 -0
  393. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle-dark.gif +0 -0
  394. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle.gif +0 -0
  395. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/square.gif +0 -0
  396. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle-dark.gif +0 -0
  397. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle.gif +0 -0
  398. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-bg.png +0 -0
  399. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-thumb.png +0 -0
  400. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-bg.png +0 -0
  401. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-thumb.png +0 -0
  402. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-left.gif +0 -0
  403. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-right.gif +0 -0
  404. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroller-bg.gif +0 -0
  405. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
  406. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
  407. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
  408. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
  409. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
  410. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
  411. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-close.gif +0 -0
  412. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.gif +0 -0
  413. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.png +0 -0
  414. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
  415. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tabs-sprite.gif +0 -0
  416. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/bg.gif +0 -0
  417. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
  418. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow.gif +0 -0
  419. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-over-bg.gif +0 -0
  420. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/gray-bg.gif +0 -0
  421. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/more.gif +0 -0
  422. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-bg.gif +0 -0
  423. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
  424. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
  425. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
  426. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/arrows.gif +0 -0
  427. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-add.gif +0 -0
  428. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-between.gif +0 -0
  429. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-no.gif +0 -0
  430. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-over.gif +0 -0
  431. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-under.gif +0 -0
  432. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-yes.gif +0 -0
  433. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
  434. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus.gif +0 -0
  435. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
  436. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus.gif +0 -0
  437. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end.gif +0 -0
  438. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-line.gif +0 -0
  439. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus-nl.gif +0 -0
  440. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus.gif +0 -0
  441. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus-nl.gif +0 -0
  442. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus.gif +0 -0
  443. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow.gif +0 -0
  444. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder-open.gif +0 -0
  445. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder.gif +0 -0
  446. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/leaf.gif +0 -0
  447. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/loading.gif +0 -0
  448. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/s.gif +0 -0
  449. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-error.gif +0 -0
  450. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-info.gif +0 -0
  451. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-question.gif +0 -0
  452. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-warning.gif +0 -0
  453. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.png +0 -0
  454. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.psd +0 -0
  455. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.png +0 -0
  456. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.psd +0 -0
  457. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.png +0 -0
  458. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.psd +0 -0
  459. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.png +0 -0
  460. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.psd +0 -0
  461. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-arrow.gif +0 -0
  462. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-sprite.gif +0 -0
  463. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn.gif +0 -0
  464. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-cs.gif +0 -0
  465. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-lr.gif +0 -0
  466. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-tb.gif +0 -0
  467. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-bo.gif +0 -0
  468. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-o.gif +0 -0
  469. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/clear-trigger.gif +0 -0
  470. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/date-trigger.gif +0 -0
  471. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/search-trigger.gif +0 -0
  472. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger-square.gif +0 -0
  473. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger.gif +0 -0
  474. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/gradient-bg.gif +0 -0
  475. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-bottom.gif +0 -0
  476. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-top.gif +0 -0
  477. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
  478. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
  479. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
  480. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow.gif +0 -0
  481. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow2.gif +0 -0
  482. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
  483. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
  484. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
  485. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-collapse.gif +0 -0
  486. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand-sprite.gif +0 -0
  487. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand.gif +0 -0
  488. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-first.gif +0 -0
  489. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-last.gif +0 -0
  490. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-next.gif +0 -0
  491. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-prev.gif +0 -0
  492. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/refresh.gif +0 -0
  493. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/row-expand-sprite.gif +0 -0
  494. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_asc.gif +0 -0
  495. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_desc.gif +0 -0
  496. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/group-checked.gif +0 -0
  497. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over-disabled.gif +0 -0
  498. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over.gif +0 -0
  499. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/menu-parent.gif +0 -0
  500. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/corners-sprite.gif +0 -0
  501. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/left-right.gif +0 -0
  502. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/light-hd.gif +0 -0
  503. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
  504. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprites.gif +0 -0
  505. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
  506. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.gif +0 -0
  507. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.png +0 -0
  508. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-corners-sprite.gif +0 -0
  509. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-left-right.gif +0 -0
  510. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-top-bottom.gif +0 -0
  511. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/progress/progress-bg.gif +0 -0
  512. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/bg.gif +0 -0
  513. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/close.gif +0 -0
  514. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
  515. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-sprite.gif +0 -0
  516. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/s.gif +0 -0
  517. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/hd-sprite.gif +0 -0
  518. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/left-btn.gif +0 -0
  519. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/right-btn.gif +0 -0
  520. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/e-handle.gif +0 -0
  521. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/ne-handle.gif +0 -0
  522. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/nw-handle.gif +0 -0
  523. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/s-handle.gif +0 -0
  524. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/se-handle.gif +0 -0
  525. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/square.gif +0 -0
  526. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/sw-handle.gif +0 -0
  527. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-thumb.png +0 -0
  528. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-v-thumb.png +0 -0
  529. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-left.gif +0 -0
  530. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-right.gif +0 -0
  531. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroller-bg.gif +0 -0
  532. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
  533. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
  534. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
  535. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
  536. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
  537. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
  538. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-close.gif +0 -0
  539. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
  540. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.png +0 -0
  541. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
  542. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tabs-sprite.gif +0 -0
  543. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/bg.gif +0 -0
  544. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
  545. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow.gif +0 -0
  546. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
  547. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/gray-bg.gif +0 -0
  548. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/more.gif +0 -0
  549. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-bg.gif +0 -0
  550. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
  551. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/arrows.gif +0 -0
  552. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
  553. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus.gif +0 -0
  554. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
  555. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus.gif +0 -0
  556. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-error.gif +0 -0
  557. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-info.gif +0 -0
  558. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-question.gif +0 -0
  559. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-warning.gif +0 -0
  560. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.png +0 -0
  561. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.pspimage +0 -0
  562. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-right.png +0 -0
  563. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/right-corners.png +0 -0
  564. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/top-bottom.png +0 -0
  565. data/public/javascripts/admin/aloha/deps/extjs/resources/resources.jsb +507 -0
  566. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/css/prettyPhoto.css +386 -0
  567. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnNext.png +0 -0
  568. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnPrevious.png +0 -0
  569. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/contentPattern.png +0 -0
  570. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/loader.gif +0 -0
  571. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/sprite.png +0 -0
  572. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnNext.png +0 -0
  573. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnPrevious.png +0 -0
  574. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/contentPattern.png +0 -0
  575. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/loader.gif +0 -0
  576. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/sprite.png +0 -0
  577. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnNext.png +0 -0
  578. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnPrevious.png +0 -0
  579. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternBottom.png +0 -0
  580. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternLeft.png +0 -0
  581. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternRight.png +0 -0
  582. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternTop.png +0 -0
  583. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/loader.gif +0 -0
  584. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/sprite.png +0 -0
  585. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnNext.png +0 -0
  586. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnPrevious.png +0 -0
  587. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/loader.gif +0 -0
  588. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/sprite.png +0 -0
  589. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnNext.png +0 -0
  590. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnPrevious.png +0 -0
  591. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/loader.gif +0 -0
  592. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/sprite.png +0 -0
  593. data/public/javascripts/admin/aloha/i18n/de.dict +5 -0
  594. data/public/javascripts/admin/aloha/i18n/en.dict +5 -0
  595. data/public/javascripts/admin/aloha/i18n/eo.dict +5 -0
  596. data/public/javascripts/admin/aloha/i18n/fi.dict +5 -0
  597. data/public/javascripts/admin/aloha/i18n/fr.dict +5 -0
  598. data/public/javascripts/admin/aloha/i18n/it.dict +5 -0
  599. data/public/javascripts/admin/aloha/i18n/ru.dict +5 -0
  600. data/public/javascripts/admin/aloha/images/base.gif +0 -0
  601. data/public/javascripts/admin/aloha/images/base.png +0 -0
  602. data/public/javascripts/admin/aloha/images/base_multi.png +0 -0
  603. data/public/javascripts/admin/aloha/images/fade_in.png +0 -0
  604. data/public/javascripts/admin/aloha/images/fade_out.png +0 -0
  605. data/public/javascripts/admin/aloha/images/gentics_logo.png +0 -0
  606. data/public/javascripts/admin/aloha/images/grabhandle.png +0 -0
  607. data/public/javascripts/admin/aloha/images/maximize.png +0 -0
  608. data/public/javascripts/admin/aloha/images/multisplit-close.gif +0 -0
  609. data/public/javascripts/admin/aloha/images/multisplit-open.gif +0 -0
  610. data/public/javascripts/admin/aloha/images/multisplit_base.jpg +0 -0
  611. data/public/javascripts/admin/aloha/images/pin.png +0 -0
  612. data/public/javascripts/admin/aloha/images/removeformat.png +0 -0
  613. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/de.dict +2 -0
  614. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/en.dict +2 -0
  615. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/eo.dict +2 -0
  616. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/fi.dict +2 -0
  617. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/fr.dict +2 -0
  618. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/it.dict +2 -0
  619. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/plugin.js +7 -0
  620. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/de.dict +2 -0
  621. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/en.dict +3 -0
  622. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/fi.dict +3 -0
  623. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/fr.dict +3 -0
  624. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/it.dict +3 -0
  625. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/plugin.js +7 -0
  626. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/de.dict +30 -0
  627. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/en.dict +30 -0
  628. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/eo.dict +29 -0
  629. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fi.dict +30 -0
  630. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fr.dict +30 -0
  631. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/it.dict +30 -0
  632. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/ru.dict +30 -0
  633. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/plugin.js +7 -0
  634. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/de.dict +20 -0
  635. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/en.dict +20 -0
  636. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/eo.dict +16 -0
  637. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/fi.dict +20 -0
  638. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/fr.dict +16 -0
  639. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/it.dict +20 -0
  640. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/plugin.js +7 -0
  641. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/css/HighlightEditables.css +14 -0
  642. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js +7 -0
  643. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/Link.css +15 -0
  644. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/jquery.autocomplete.css +48 -0
  645. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/deps/jquery.autocomplete.js +1 -0
  646. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/de.dict +4 -0
  647. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/en.dict +4 -0
  648. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/fr.dict +4 -0
  649. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/ru.dict +4 -0
  650. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/plugin.js +7 -0
  651. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressource.js +7 -0
  652. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressourcedummy.js +7 -0
  653. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressourceregistry.js +7 -0
  654. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/de.dict +2 -0
  655. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/en.dict +2 -0
  656. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/eo.dict +2 -0
  657. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fi.dict +2 -0
  658. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fr.dict +2 -0
  659. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/it.dict +2 -0
  660. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/ru.dict +2 -0
  661. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/plugin.js +7 -0
  662. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/plugin.js +1 -0
  663. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/de.dict +12 -0
  664. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/en.dict +12 -0
  665. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/eo.dict +12 -0
  666. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fi.dict +12 -0
  667. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fr.dict +12 -0
  668. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/it.dict +12 -0
  669. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/ru.dict +12 -0
  670. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/plugin.js +7 -0
  671. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/down.cur +0 -0
  672. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/left.cur +0 -0
  673. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css +194 -0
  674. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Loader/plugin.js +1 -0
  675. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/en.dict +2 -0
  676. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/fi.dict +2 -0
  677. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/fr.dict +2 -0
  678. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/person.css +3 -0
  679. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/plugin.js +1 -0
  680. data/public/javascripts/admin/aloha/plugins/simpletable/plugin.js.deactivated +2330 -0
  681. data/public/javascripts/admin/application.js +112 -98
  682. data/public/javascripts/admin/asset_collections.js +50 -50
  683. data/public/javascripts/admin/assets.js +4 -4
  684. data/public/javascripts/admin/content_types.js +15 -15
  685. data/public/javascripts/admin/contents.js +20 -20
  686. data/public/javascripts/admin/custom_fields.js +154 -154
  687. data/public/javascripts/admin/editable_elements.js +30 -0
  688. data/public/javascripts/admin/import.js +32 -0
  689. data/public/javascripts/admin/inline_editor.js +64 -0
  690. data/public/javascripts/admin/inline_editor_toolbar.js +170 -0
  691. data/public/javascripts/admin/pages.js +86 -79
  692. data/public/javascripts/admin/plugins/imagepicker.js +81 -0
  693. data/public/javascripts/admin/plugins/plupload/src/flash.js +298 -0
  694. data/public/javascripts/admin/plugins/plupload/src/plupload.js +1333 -0
  695. data/public/javascripts/admin/plugins/selectmenu.js +527 -0
  696. data/public/javascripts/admin/plugins/smartupdater.js +155 -0
  697. data/public/javascripts/admin/plugins/tiny_mce/langs/fr.js +154 -0
  698. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/locomotive/window.css +72 -0
  699. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/css/locoimage.css +110 -0
  700. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin.js +1 -0
  701. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin_src.js +46 -0
  702. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/image.htm +62 -0
  703. data/public/javascripts/admin/plugins/tiny_mce/plugins/{advimage → locoimage}/img/sample.gif +0 -0
  704. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/js/image.js +172 -0
  705. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/en_dlg.js +9 -0
  706. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/fr_dlg.js +9 -0
  707. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/source_editor.js +37 -37
  708. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr.js +62 -0
  709. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
  710. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/content.css +36 -5
  711. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/dialog.css +53 -109
  712. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/butt2.png +0 -0
  713. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/button-bg.png +0 -0
  714. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/buttons.png +0 -0
  715. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/down_arrow.gif +0 -0
  716. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/fade-butt.png +0 -0
  717. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/icons.png +0 -0
  718. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/items.gif +0 -0
  719. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu-arrow.png +0 -0
  720. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu-check.png +0 -0
  721. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/progress.gif +0 -0
  722. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/tabs.gif +0 -0
  723. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/toolbarbg.png +0 -0
  724. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/ui.css +997 -213
  725. data/public/javascripts/admin/rails.js +16 -11
  726. data/public/javascripts/admin/site.js +42 -38
  727. data/public/javascripts/admin/snippets.js +21 -15
  728. data/public/javascripts/admin/theme_assets.js +32 -94
  729. data/public/javascripts/admin/utils.js +10 -10
  730. data/public/stylesheets/admin/application.css +142 -154
  731. data/public/stylesheets/admin/assets.css +54 -0
  732. data/public/stylesheets/admin/box.css +114 -59
  733. data/public/stylesheets/admin/buttons.css +36 -38
  734. data/public/stylesheets/admin/editable_elements.css +64 -0
  735. data/public/stylesheets/admin/fancybox_changes.css +101 -0
  736. data/public/stylesheets/admin/formtastic.css +3 -3
  737. data/public/stylesheets/admin/formtastic_changes.css +239 -232
  738. data/public/stylesheets/admin/inline_editor.css +90 -0
  739. data/public/stylesheets/admin/jquery/images/ui-icons_ffffff_256x240.png +0 -0
  740. data/public/stylesheets/admin/layout.css +86 -84
  741. data/public/stylesheets/admin/menu.css +106 -106
  742. data/public/stylesheets/admin/plugins/selectmenu.css +64 -0
  743. metadata +1104 -586
  744. data/app/controllers/admin/layouts_controller.rb +0 -13
  745. data/app/controllers/admin/page_parts_controller.rb +0 -12
  746. data/app/models/extensions/page/parts.rb +0 -54
  747. data/app/models/layout.rb +0 -48
  748. data/app/models/liquid_template.rb +0 -32
  749. data/app/models/page_part.rb +0 -35
  750. data/app/views/admin/layouts/_form.html.haml +0 -10
  751. data/app/views/admin/layouts/_layout.html.haml +0 -7
  752. data/app/views/admin/layouts/edit.html.haml +0 -18
  753. data/app/views/admin/layouts/index.html.haml +0 -15
  754. data/app/views/admin/layouts/new.html.haml +0 -15
  755. data/lib/locomotive/liquid/db_file_system.rb +0 -18
  756. data/lib/locomotive/liquid/drops/javascripts.rb +0 -18
  757. data/lib/locomotive/liquid/drops/stylesheets.rb +0 -19
  758. data/lib/locomotive/liquid/liquify_template.rb +0 -57
  759. data/lib/misc_form_builder.rb +0 -45
  760. data/public/images/admin/nocoffee.gif +0 -0
  761. data/public/javascripts/admin/page_parts.js +0 -88
  762. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/css/advimage.css +0 -13
  763. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin.js +0 -1
  764. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -50
  765. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/image.htm +0 -232
  766. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/js/image.js +0 -443
  767. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -43
  768. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_arrow.gif +0 -0
  769. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_check.gif +0 -0
  770. data/public/stylesheets/admin/login.css +0 -141
  771. data/public/stylesheets/admin/page_parts.css +0 -67
  772. data/spec/factories.rb +0 -77
  773. data/spec/lib/core_ext_spec.rb +0 -37
  774. data/spec/lib/locomotive/heroku_spec.rb +0 -149
  775. data/spec/lib/locomotive/httparty/patches_spec.rb +0 -19
  776. data/spec/lib/locomotive/httparty/webservice_spec.rb +0 -24
  777. data/spec/lib/locomotive/liquid/drops/contents_spec.rb +0 -33
  778. data/spec/lib/locomotive/liquid/drops/page_spec.rb +0 -48
  779. data/spec/lib/locomotive/liquid/filters/html_spec.rb +0 -82
  780. data/spec/lib/locomotive/liquid/filters/misc_spec.rb +0 -36
  781. data/spec/lib/locomotive/liquid/filters/text_spec.rb +0 -11
  782. data/spec/lib/locomotive/liquid/tags/consume_spec.rb +0 -40
  783. data/spec/lib/locomotive/liquid/tags/nav_spec.rb +0 -50
  784. data/spec/lib/locomotive/liquid/tags/paginate_spec.rb +0 -99
  785. data/spec/lib/locomotive/liquid/tags/snippet_spec.rb +0 -20
  786. data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +0 -20
  787. data/spec/lib/locomotive/render_spec.rb +0 -127
  788. data/spec/models/account_spec.rb +0 -65
  789. data/spec/models/asset_collections_spec.rb +0 -177
  790. data/spec/models/content_instance_spec.rb +0 -33
  791. data/spec/models/content_type_spec.rb +0 -49
  792. data/spec/models/layout_spec.rb +0 -64
  793. data/spec/models/liquid_template_spec.rb +0 -19
  794. data/spec/models/membership_spec.rb +0 -56
  795. data/spec/models/page_spec.rb +0 -358
  796. data/spec/models/site_spec.rb +0 -147
  797. data/spec/models/snippet_spec.rb +0 -9
  798. data/spec/models/theme_asset_spec.rb +0 -89
  799. data/spec/spec_helper.rb +0 -18
  800. data/spec/support/be_valid.rb +0 -31
  801. data/spec/support/carrierwave.rb +0 -32
  802. data/spec/support/locomotive.rb +0 -36
  803. data/vendor/plugins/custom_fields/Gemfile +0 -12
  804. data/vendor/plugins/custom_fields/README +0 -13
  805. data/vendor/plugins/custom_fields/Rakefile +0 -29
  806. data/vendor/plugins/custom_fields/init.rb +0 -2
  807. data/vendor/plugins/custom_fields/lib/custom_fields/custom_fields_for.rb +0 -50
  808. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/embeds_many.rb +0 -31
  809. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/has_many_related.rb +0 -33
  810. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/proxy.rb +0 -20
  811. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb +0 -28
  812. data/vendor/plugins/custom_fields/lib/custom_fields/field.rb +0 -82
  813. data/vendor/plugins/custom_fields/lib/custom_fields/proxy_class_enabler.rb +0 -37
  814. data/vendor/plugins/custom_fields/lib/custom_fields/types/boolean.rb +0 -29
  815. data/vendor/plugins/custom_fields/lib/custom_fields/types/category.rb +0 -85
  816. data/vendor/plugins/custom_fields/lib/custom_fields/types/date.rb +0 -35
  817. data/vendor/plugins/custom_fields/lib/custom_fields/types/default.rb +0 -37
  818. data/vendor/plugins/custom_fields/lib/custom_fields/types/file.rb +0 -27
  819. data/vendor/plugins/custom_fields/lib/custom_fields/types/string.rb +0 -13
  820. data/vendor/plugins/custom_fields/lib/custom_fields/types/text.rb +0 -15
  821. data/vendor/plugins/custom_fields/lib/custom_fields.rb +0 -28
  822. data/vendor/plugins/custom_fields/spec/fixtures/doc.txt +0 -1
  823. data/vendor/plugins/custom_fields/spec/integration/custom_fields_for_spec.rb +0 -28
  824. data/vendor/plugins/custom_fields/spec/integration/types/category_spec.rb +0 -26
  825. data/vendor/plugins/custom_fields/spec/integration/types/file_spec.rb +0 -18
  826. data/vendor/plugins/custom_fields/spec/models/person.rb +0 -10
  827. data/vendor/plugins/custom_fields/spec/models/project.rb +0 -18
  828. data/vendor/plugins/custom_fields/spec/models/task.rb +0 -10
  829. data/vendor/plugins/custom_fields/spec/spec_helper.rb +0 -27
  830. data/vendor/plugins/custom_fields/spec/support/carrierwave.rb +0 -31
  831. data/vendor/plugins/custom_fields/spec/support/mongoid.rb +0 -6
  832. data/vendor/plugins/custom_fields/spec/unit/custom_field_spec.rb +0 -42
  833. data/vendor/plugins/custom_fields/spec/unit/custom_fields_for_spec.rb +0 -106
  834. data/vendor/plugins/custom_fields/spec/unit/proxy_class_enabler_spec.rb +0 -25
  835. data/vendor/plugins/custom_fields/spec/unit/types/boolean_spec.rb +0 -81
  836. data/vendor/plugins/custom_fields/spec/unit/types/category_spec.rb +0 -112
  837. data/vendor/plugins/custom_fields/spec/unit/types/date_spec.rb +0 -59
  838. data/vendor/plugins/custom_fields/spec/unit/types/file_spec.rb +0 -23
  839. data/vendor/plugins/custom_fields/uninstall.rb +0 -1
@@ -1,43 +0,0 @@
1
- tinyMCE.addI18n('en.advimage_dlg',{
2
- tab_general:"General",
3
- tab_appearance:"Appearance",
4
- tab_advanced:"Advanced",
5
- general:"General",
6
- title:"Title",
7
- preview:"Preview",
8
- constrain_proportions:"Constrain proportions",
9
- langdir:"Language direction",
10
- langcode:"Language code",
11
- long_desc:"Long description link",
12
- style:"Style",
13
- classes:"Classes",
14
- ltr:"Left to right",
15
- rtl:"Right to left",
16
- id:"Id",
17
- map:"Image map",
18
- swap_image:"Swap image",
19
- alt_image:"Alternative image",
20
- mouseover:"for mouse over",
21
- mouseout:"for mouse out",
22
- misc:"Miscellaneous",
23
- example_img:"Appearance preview image",
24
- missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.",
25
- dialog_title:"Insert/edit image",
26
- src:"Image URL",
27
- alt:"Image description",
28
- list:"Image list",
29
- border:"Border",
30
- dimensions:"Dimensions",
31
- vspace:"Vertical space",
32
- hspace:"Horizontal space",
33
- align:"Alignment",
34
- align_baseline:"Baseline",
35
- align_top:"Top",
36
- align_middle:"Middle",
37
- align_bottom:"Bottom",
38
- align_texttop:"Text top",
39
- align_textbottom:"Text bottom",
40
- align_left:"Left",
41
- align_right:"Right",
42
- image_list:"Image list"
43
- });
@@ -1,141 +0,0 @@
1
- body { background: #000 url(/images/admin/background/body.png) repeat 0 0; }
2
-
3
- #wrapper {
4
- background: transparent url(/images/admin/login/wrapper_bg.png) repeat-x 0 0;
5
- min-height: 400px;
6
- }
7
-
8
- #light {
9
- background: transparent url(/images/admin/login/light_bg.png) no-repeat center 0;
10
- min-height: 400px;
11
- padding-top: 100px;
12
- }
13
-
14
- #panel {
15
- background: transparent url(/images/admin/login/top_panel_bg.png) no-repeat center 0;
16
- width: 356px;
17
- height: 344px;
18
- padding: 9px 0px 0 0px;
19
- }
20
-
21
- #panel h1 {
22
- height: 41px;
23
- margin: 0px;
24
- padding: 20px 0px 0 0;
25
- font-size: 1.8em;
26
- color: white;
27
- text-align: center;
28
- text-shadow: 1px 1px 1px #000;
29
- }
30
-
31
- #panel .inner {
32
- background: transparent url(/images/admin/login/content_panel_bg.png) repeat-y center 0;
33
- padding: 5px 0px 20px 0px;
34
- }
35
-
36
- #panel fieldset {
37
- border: 0px;
38
- padding: 0px;
39
- margin: 0px;
40
- }
41
-
42
- #panel fieldset ol {
43
- width: 260px;
44
- list-style: none;
45
- padding: 0px;
46
- margin: 0px auto 0 auto;
47
- }
48
-
49
- #panel fieldset ol li {
50
- margin-top: 20px;
51
- }
52
-
53
- #panel fieldset ol li label {
54
- display: block;
55
- font-size: 1.2em;
56
- color: #222;
57
- }
58
-
59
- #panel fieldset ol li input {
60
- background: white url(/images/admin/login/input_bg.png) no-repeat 0 0;
61
- width: 246px;
62
- padding: 7px;
63
- border: 0px;
64
- font-size: 1.2em;
65
- color: #222;
66
- }
67
-
68
- #panel fieldset ol li p.inline-errors {
69
- padding: 3px 5px;
70
- margin: 5px 0px;
71
- background: #FFE5E5;
72
- color: #CE2525;
73
- }
74
-
75
- #panel p.link {
76
- margin: 15px 0 0 49px;
77
- }
78
-
79
- #panel p.link a {
80
- color: #1f82bc;
81
- text-decoration: none;
82
- }
83
-
84
- #panel p.link a:hover {
85
- text-decoration: underline;
86
- }
87
-
88
- #panel div.footer {
89
- background: transparent url(/images/admin/login/bottom_panel_bg.png) no-repeat center 0;
90
- text-align: right;
91
- margin: 0px 0px 0 0px;
92
- padding: 22px 0;
93
- }
94
-
95
- #panel div.footer .button {
96
- display: inline-block;
97
- background: transparent url(/images/admin/login/buttons/left_bg.png) no-repeat 0 0;
98
- margin: 0 38px 0 0;
99
- padding: 0px 0px 0px 2px;
100
- font-size: 1.1em;
101
- color: white;
102
- cursor: pointer;
103
- border: none;
104
- height: 31px;
105
- }
106
-
107
- #panel div.footer .button span {
108
- display: inline-block;
109
- background: transparent url(/images/admin/login/buttons/right_bg.png) no-repeat right top;
110
- position: relative;
111
- top: -1px;
112
- padding: 3px 9px 9px 4px;
113
- line-height: 21px;
114
- }
115
-
116
- @media screen and (-webkit-min-device-pixel-ratio:0) {
117
- #panel div.footer .button { padding-left: 5px; }
118
- #panel div.footer .button span { top: 0px; padding-right: 10px; }
119
- }
120
-
121
- /* ___ Messages ___ */
122
-
123
- div.application-message {
124
- font-size: 1.2em;
125
- font-weight: bold;
126
- padding: 8px;
127
- margin: 10px 20px 0 20px;
128
- text-align: justify;
129
- }
130
-
131
- div#flash-alert {
132
- background: #FFE5E5;
133
- color: #CE2525;
134
- }
135
-
136
- div#flash-notice {
137
- background: #c7ff99;
138
- color: #58852b;
139
- }
140
-
141
-
@@ -1,67 +0,0 @@
1
- #page-parts .wrapper {
2
- background: #ebedf4 url(/images/admin/form/footer.png) no-repeat 0 bottom;
3
- width: 880px;
4
- padding: 20px 20px;
5
- border-top: 1px solid #ccced7;
6
- }
7
-
8
- #page-parts {
9
- background: transparent url(/images/admin/form/header.png) no-repeat 0 0;
10
- }
11
-
12
- #page-parts .control {
13
- height: 30px;
14
- }
15
-
16
- #page-parts .nav {
17
- position: relative;
18
- top: 1px;
19
- z-index: 990;
20
- }
21
-
22
- #page-parts .nav a {
23
- float: left;
24
- display: block;
25
- height: 30px;
26
- padding: 0px 0px 0 11px;
27
- color: #8b8d9a;
28
- text-decoration: none;
29
- font-size: 0.8em;
30
- cursor: pointer;
31
- outline: none;
32
- }
33
-
34
- #page-parts .nav a span {
35
- display: inline-block;
36
- height: 26px;
37
- padding: 4px 11px 0 0px;
38
- }
39
-
40
- #page-parts .nav a:first-child { padding-left: 22px; }
41
- #page-parts .nav a:first-child span { padding-right: 13px; }
42
-
43
- #page-parts .nav a.on {
44
- color: #1e1f26;
45
- font-weight: bold;
46
- background: transparent url(/images/admin/form/header-left-on.png) no-repeat 0 0;
47
- }
48
-
49
- #page-parts .nav a.on span {
50
- background: transparent url(/images/admin/form/header-right-on.png) no-repeat right 0;
51
- }
52
-
53
- #page-parts .nav a:first-child.on {
54
- background: transparent url(/images/admin/form/header-first-on.png) no-repeat 0 0;
55
- }
56
-
57
- #page-parts .wslide-wrap {
58
- border: 1px solid #a6a8b8;
59
- }
60
-
61
- #page-parts code { display: block; background: white; height: 400px; }
62
- #page-parts code textarea {
63
- width: 880px;
64
- height: 400px;
65
- background: transparent url(/images/admin/form/field.png) repeat-x 0 0;
66
- border: 0px;
67
- }
data/spec/factories.rb DELETED
@@ -1,77 +0,0 @@
1
- ## Site ##
2
- Factory.define :site do |s|
3
- s.name 'Acme Website'
4
- s.subdomain 'acme'
5
- s.created_at Time.now
6
- end
7
-
8
- # Accounts ##
9
- Factory.define :account do |a|
10
- a.name 'Bart Simpson'
11
- a.email 'bart@simpson.net'
12
- a.password 'easyone'
13
- a.password_confirmation 'easyone'
14
- a.locale 'en'
15
- end
16
-
17
- ## Memberships ##
18
- Factory.define :membership do |m|
19
- m.association :account, :factory => :account
20
- m.admin true
21
- end
22
-
23
- ## Pages ##
24
- Factory.define :page do |p|
25
- p.association :site, :factory => :site
26
- p.title 'Home page'
27
- p.slug 'index'
28
- end
29
-
30
- ## Liquid templates ##
31
- Factory.define :liquid_template do |t|
32
- t.association :site, :factory => :site
33
- t.name 'Simple one'
34
- t.slug 'simple_one'
35
- t.value %{simple liquid template}
36
- end
37
-
38
- ## Layouts ##
39
- Factory.define :layout do |l|
40
- l.association :site, :factory => :site
41
- l.name '1 main column + sidebar'
42
- l.value %{<html>
43
- <head>
44
- <title>My website</title>
45
- </head>
46
- <body>
47
- <div id="sidebar">\{\{ content_for_left_sidebar \}\}</div>
48
- <div id="main">\{\{ content_for_layout | textile \}\}</div>
49
- </body>
50
- </html>}
51
- end
52
-
53
- ## Snippets ##
54
- Factory.define :snippet do |s|
55
- s.association :site, :factory => :site
56
- s.name 'My website title'
57
- s.slug 'header'
58
- s.value %{<title>Acme</title>}
59
- end
60
-
61
- ## Theme assets ##
62
- Factory.define :theme_asset do |a|
63
- a.association :site
64
- end
65
-
66
- ## Asset collections ##
67
- Factory.define :asset_collection do |s|
68
- s.association :site, :factory => :site
69
- s.name 'Trip to Chicago'
70
- end
71
-
72
- ## Content types ##
73
- Factory.define :content_type do |t|
74
- t.association :site, :factory => :site
75
- t.name 'My project'
76
- end
77
-
@@ -1,37 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe 'Core extensions' do
4
-
5
- describe 'Adding new methods for Hash items' do
6
-
7
- describe 'defining underscore_keys' do
8
-
9
- context 'from simple plain hash' do
10
-
11
- it 'underscores each key' do
12
- { 'foo-bar' => 42, :foo => 42, 'foo' => 42 }.underscore_keys.should == { 'foo_bar' => 42, :foo => 42, 'foo' => 42 }
13
- end
14
-
15
- end
16
-
17
- context 'from nested hashes' do
18
-
19
- it 'underscores each key' do
20
- { 'foo-bar' => { 'bar-foo' => 42, :test => { 'bar-foo' => 42 } } }.underscore_keys.should == { 'foo_bar' => { 'bar_foo' => 42, :test => { 'bar_foo' => 42 } } }
21
- end
22
-
23
- end
24
-
25
- context 'from hash with arrays of hashes' do
26
-
27
- it 'underscores each key' do
28
- { 'foo-bar' => [{ 'bar-foo' => 42 }, 42, { 'bar-foo' => 42 }] }.underscore_keys.should == { 'foo_bar' => [{ 'bar_foo' => 42 }, 42, { 'bar_foo' => 42 }] }
29
- end
30
-
31
- end
32
-
33
- end
34
-
35
- end
36
-
37
- end
@@ -1,149 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe 'Heroku support' do
4
-
5
- before(:each) do
6
- ::Heroku::Client.any_instance.stubs(:post).returns(true)
7
- ::Heroku::Client.any_instance.stubs(:delete).returns(true)
8
- end
9
-
10
- context '#loaded' do
11
-
12
- it 'has method to enable heroku' do
13
- Locomotive.respond_to?(:enable_heroku).should be_true
14
- end
15
-
16
- it 'tells heroku is disabled' do
17
- Locomotive.heroku?.should be_false
18
- end
19
-
20
- it 'does not add instance methods to Site' do
21
- Site.instance_methods.include?(:add_heroku_domains).should be_false
22
- Site.instance_methods.include?(:remove_heroku_domains).should be_false
23
- end
24
-
25
- end
26
-
27
- context '#disabled' do
28
-
29
- before(:each) do
30
- Locomotive.configure do |config|
31
- config.heroku = false
32
- end
33
- end
34
-
35
- it 'has a nil connection' do
36
- Locomotive.heroku_connection.should be_nil
37
- end
38
-
39
- it 'tells heroku is disabled' do
40
- Locomotive.heroku?.should be_false
41
- end
42
-
43
- it 'does not add methods to Site' do
44
- Site.instance_methods.include?(:add_heroku_domains).should be_false
45
- Site.instance_methods.include?(:remove_heroku_domains).should be_false
46
- end
47
-
48
- end
49
-
50
- context '#enabled' do
51
-
52
- it 'tells heroku is disabled' do
53
- configure_locomotive_with_heroku
54
- Locomotive.heroku?.should be_true
55
- end
56
-
57
- it 'raises an exception if no app name is given' do
58
- lambda {
59
- configure_locomotive_with_heroku(:name => nil)
60
- }.should raise_error
61
- end
62
-
63
- context 'dealing with heroku connection' do
64
-
65
- it 'opens a heroku connection with provided credentials' do
66
- configure_locomotive_with_heroku
67
- Locomotive.heroku_connection.user.should == 'john@doe.net'
68
- Locomotive.heroku_connection.password.should == 'easyone'
69
- end
70
-
71
- it 'opens a heroku connection with env credentials' do
72
- ENV['HEROKU_LOGIN'] = 'john@doe.net'; ENV['HEROKU_PASSWORD'] = 'easyone'
73
- Locomotive.configure { |config| config.heroku = true }
74
- Locomotive.heroku_connection.user.should == 'john@doe.net'
75
- Locomotive.heroku_connection.password.should == 'easyone'
76
- end
77
-
78
- end
79
-
80
- context 'enhancing site' do
81
-
82
- before(:each) do
83
- configure_locomotive_with_heroku
84
- (@site = Factory.build(:site)).stubs(:valid?).returns(true)
85
- end
86
-
87
- it 'calls add_heroku_domains after saving a site' do
88
- @site.expects(:add_heroku_domains)
89
- @site.save
90
- end
91
-
92
- it 'calls remove_heroku_domains after saving a site' do
93
- @site.expects(:remove_heroku_domains)
94
- @site.destroy
95
- end
96
-
97
- context 'adding domain' do
98
-
99
- it 'does not add new domain if no delta' do
100
- Locomotive.heroku_connection.expects(:add_domain).never
101
- @site.save
102
- end
103
-
104
- it 'adds a new domain if new one' do
105
- @site.domains = ['www.acme.fr']
106
- Locomotive.heroku_connection.expects(:add_domain).with('locomotive', 'www.acme.fr')
107
- @site.save
108
- Locomotive.heroku_domains.should include('www.acme.fr')
109
- end
110
- end
111
-
112
- context 'removing domain' do
113
-
114
- it 'does not remove domain if no delta' do
115
- Locomotive.heroku_connection.expects(:remove_domain).never
116
- @site.destroy
117
- end
118
-
119
- it 'removes domains if we destroy a site' do
120
- @site.stubs(:domains_without_subdomain).returns(['www.acme.com'])
121
- Locomotive.heroku_connection.expects(:remove_domain).with('locomotive', 'www.acme.com')
122
- @site.destroy
123
- Locomotive.heroku_domains.should_not include('www.acme.com')
124
- end
125
-
126
- it 'removes domain if removed' do
127
- @site.domains = ['www.acme.fr']; @site.save
128
- @site.domains = ['www.acme.com']
129
- Locomotive.heroku_connection.expects(:remove_domain).with('locomotive', 'www.acme.fr')
130
- @site.save
131
- Locomotive.heroku_domains.should_not include('www.acme.fr')
132
- end
133
-
134
- end
135
-
136
- end
137
-
138
- end
139
-
140
- def configure_locomotive_with_heroku(options = {}, domains = nil)
141
- ::Heroku::Client.any_instance.stubs(:list_domains).with('locomotive').returns(domains || [
142
- { :domain => "www.acme.com" }, { :domain => "example.com" }, { :domain => "www.example.com" }
143
- ])
144
- Locomotive.configure do |config|
145
- config.heroku = { :name => 'locomotive', :login => 'john@doe.net', :password => 'easyone' }.merge(options)
146
- end
147
- end
148
-
149
- end
@@ -1,19 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe 'Httparty patches' do
4
-
5
- describe 'Crack patch' do
6
-
7
- context '#parsing json' do
8
-
9
- it 'fixes an issue about json input beginning by a variable declaration' do
10
- lambda {
11
- Crack::JSON.parse('var json = { "foo": 42 };')
12
- }.should_not raise_error
13
- end
14
-
15
- end
16
-
17
- end
18
-
19
- end
@@ -1,24 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Locomotive::Httparty::Webservice do
4
-
5
- context '#consuming' do
6
-
7
- it 'sets the base uri from a simple url' do
8
- Locomotive::Httparty::Webservice.expects(:get).with('/', { :base_uri => 'http://blog.locomotiveapp.org' })
9
- Locomotive::Httparty::Webservice.consume('http://blog.locomotiveapp.org')
10
- end
11
-
12
- it 'sets both the base uri and the path from an url with parameters' do
13
- Locomotive::Httparty::Webservice.expects(:get).with('/api/read/json?num=3', { :base_uri => 'http://blog.locomotiveapp.org' })
14
- Locomotive::Httparty::Webservice.consume('http://blog.locomotiveapp.org/api/read/json?num=3')
15
- end
16
-
17
- it 'sets auth credentials' do
18
- Locomotive::Httparty::Webservice.expects(:get).with('/', { :base_uri => 'http://blog.locomotiveapp.org', :basic_auth => { :username => 'john', :password => 'foo' } })
19
- Locomotive::Httparty::Webservice.consume('http://blog.locomotiveapp.org', { :username => 'john', :password => 'foo' })
20
- end
21
-
22
- end
23
-
24
- end
@@ -1,33 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Locomotive::Liquid::Drops::Contents do
4
-
5
- before(:each) do
6
- @site = Factory.build(:site)
7
- @content_type = Factory.build(:content_type, :site => @site, :slug => 'projects')
8
- end
9
-
10
- it 'retrieves a content type from a slug' do
11
- @site.content_types.expects(:where).with(:slug => 'projects')
12
- render_template '{{ contents.projects }}'
13
- end
14
-
15
- context '#group_by' do
16
-
17
- it 'orders contents' do
18
- @site.content_types.stubs(:where).returns([@content_type])
19
- @content_type.contents.klass.expects(:group_by_category).with(:ordered_contents)
20
- render_template '{% for group in contents.projects.group_by_category %} {{ group.name }} {% endfor %}'
21
- end
22
-
23
- end
24
-
25
- def render_template(template = '', assigns = {})
26
- assigns = {
27
- 'contents' => Locomotive::Liquid::Drops::Contents.new(@site)
28
- }.merge(assigns)
29
-
30
- Liquid::Template.parse(template).render assigns
31
- end
32
-
33
- end
@@ -1,48 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Locomotive::Liquid::Drops::Page do
4
-
5
- before(:each) do
6
- @home = Factory.build(:page)
7
- @home.stubs(:children).returns([
8
- Page.new(:title => 'Child #1'),
9
- Page.new(:title => 'Child #2'),
10
- Page.new(:title => 'Child #3')
11
- ])
12
- @home.children.last.stubs(:children).returns([
13
- Page.new(:title => 'Child #3.1'),
14
- Page.new(:title => 'Child #3.2')
15
- ])
16
- end
17
-
18
- context '#rendering' do
19
-
20
- context '#children' do
21
-
22
- it 'renders title of all children pages' do
23
- content = render_template '{% for child in home.children %}{{ child.title }},{% endfor %}'
24
- content.should == 'Child #1,Child #2,Child #3,'
25
- end
26
-
27
- end
28
-
29
- context '#sub children' do
30
-
31
- it 'renders title of all sub children pages' do
32
- content = render_template '{% for child in home.children.last.children %}{{ child.title }},{% endfor %}'
33
- content.should == 'Child #3.1,Child #3.2,'
34
- end
35
-
36
- end
37
-
38
- end
39
-
40
- def render_template(template = '', assigns = {})
41
- assigns = {
42
- 'home' => @home
43
- }.merge(assigns)
44
-
45
- Liquid::Template.parse(template).render assigns
46
- end
47
-
48
- end