refinerycms 0.9.8.9 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1206) hide show
  1. data/.gitignore +14 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +32 -42
  4. data/Gemfile.lock +201 -0
  5. data/Rakefile +7 -0
  6. data/app/views/sitemap/index.xml.builder +22 -0
  7. data/authentication/app/controllers/admin/users_controller.rb +90 -0
  8. data/authentication/app/controllers/passwords_controller.rb +43 -0
  9. data/authentication/app/controllers/registrations_controller.rb +67 -0
  10. data/authentication/app/controllers/sessions_controller.rb +23 -0
  11. data/{vendor/refinerycms/authentication → authentication}/app/helpers/sessions_helper.rb +0 -0
  12. data/{vendor/refinerycms/authentication → authentication}/app/helpers/users_helper.rb +0 -0
  13. data/authentication/app/mailers/user_mailer.rb +20 -0
  14. data/{vendor/refinerycms/authentication → authentication}/app/models/role.rb +0 -0
  15. data/{vendor/refinerycms/authentication → authentication}/app/models/roles_users.rb +0 -0
  16. data/authentication/app/models/user.rb +58 -0
  17. data/{vendor/refinerycms/authentication → authentication}/app/models/user_plugin.rb +0 -0
  18. data/authentication/app/views/admin/users/_form.html.erb +92 -0
  19. data/authentication/app/views/admin/users/_user.html.erb +19 -0
  20. data/authentication/app/views/admin/users/_users.html.erb +4 -0
  21. data/{vendor/refinerycms/authentication → authentication}/app/views/admin/users/edit.html.erb +0 -0
  22. data/authentication/app/views/admin/users/index.html.erb +12 -0
  23. data/{vendor/refinerycms/authentication → authentication}/app/views/admin/users/new.html.erb +0 -0
  24. data/authentication/app/views/layouts/login.html.erb +21 -0
  25. data/authentication/app/views/passwords/edit.html.erb +31 -0
  26. data/authentication/app/views/passwords/new.html.erb +18 -0
  27. data/authentication/app/views/registrations/new.html.erb +41 -0
  28. data/authentication/app/views/sessions/new.html.erb +29 -0
  29. data/authentication/app/views/user_mailer/reset_notification.html.erb +12 -0
  30. data/authentication/app/views/user_mailer/reset_notification.text.plain.erb +7 -0
  31. data/authentication/config/locales/cs.yml +75 -0
  32. data/authentication/config/locales/da.yml +72 -0
  33. data/authentication/config/locales/de.yml +72 -0
  34. data/authentication/config/locales/el.yml +72 -0
  35. data/authentication/config/locales/en.yml +72 -0
  36. data/authentication/config/locales/es.yml +100 -0
  37. data/authentication/config/locales/fr.yml +72 -0
  38. data/authentication/config/locales/it.yml +97 -0
  39. data/authentication/config/locales/lolcat.yml +55 -0
  40. data/authentication/config/locales/lt.yml +55 -0
  41. data/authentication/config/locales/lv.yml +72 -0
  42. data/authentication/config/locales/nb.yml +72 -0
  43. data/authentication/config/locales/nl.yml +70 -0
  44. data/authentication/config/locales/pl.yml +100 -0
  45. data/authentication/config/locales/pt-BR.yml +68 -0
  46. data/authentication/config/locales/rs.yml +72 -0
  47. data/authentication/config/locales/ru.yml +97 -0
  48. data/authentication/config/locales/sl.yml +61 -0
  49. data/authentication/config/locales/sv.yml +64 -0
  50. data/authentication/config/locales/zh-CN.yml +72 -0
  51. data/authentication/config/locales/zh-TW.yml +72 -0
  52. data/authentication/config/routes.rb +31 -0
  53. data/authentication/db/migrate/20100913234705_create_refinerycms_authentication_schema.rb +43 -0
  54. data/{db → authentication/db}/migrate/20100929035252_add_missing_indexes_to_roles_users.rb +0 -0
  55. data/authentication/db/migrate/20101206013505_change_to_devise_users_table.rb +27 -0
  56. data/authentication/db/migrate/20110106184757_add_remember_created_at_to_users.rb +9 -0
  57. data/authentication/features/lost_password.feature +49 -0
  58. data/authentication/features/manage_users.feature +61 -0
  59. data/authentication/features/step_definitions/lost_password.rb +8 -0
  60. data/authentication/features/step_definitions/user_steps.rb +36 -0
  61. data/authentication/features/support/factories.rb +18 -0
  62. data/authentication/features/support/paths.rb +24 -0
  63. data/authentication/lib/authenticated_system.rb +29 -0
  64. data/authentication/lib/authentication.rb +30 -0
  65. data/authentication/lib/generators/refinerycms_authentication_generator.rb +8 -0
  66. data/authentication/license.md +21 -0
  67. data/authentication/readme.md +17 -0
  68. data/authentication/refinerycms-authentication.gemspec +20 -0
  69. data/authentication/spec/models/user_spec.rb +159 -0
  70. data/autotest/autotest.rb +17 -0
  71. data/autotest/discover.rb +2 -0
  72. data/base/db/migrate/20100913234706_create_refinerycms_core_schema.rb +23 -0
  73. data/base/db/migrate/20101217113424_add_locale_to_slugs.rb +13 -0
  74. data/base/features/step_definitions/web_steps.rb +219 -0
  75. data/base/features/support/env.rb +84 -0
  76. data/base/features/support/factories.rb +1 -0
  77. data/base/features/support/negative_expectations_helper.rb +57 -0
  78. data/base/features/support/paths.rb +91 -0
  79. data/base/lib/base.rb +32 -0
  80. data/base/lib/generators/refinerycms_base_generator.rb +8 -0
  81. data/base/lib/refinery.rb +32 -0
  82. data/base/lib/refinery/version.rb +16 -0
  83. data/base/license.md +21 -0
  84. data/base/refinerycms-base.gemspec +18 -0
  85. data/bin/refinerycms +183 -80
  86. data/changelog.md +51 -0
  87. data/config.ru +4 -0
  88. data/config/cucumber.yml +15 -0
  89. data/config/database.yml.mysql +1 -5
  90. data/config/database.yml.sqlite3 +4 -4
  91. data/config/environments/development.rb +5 -6
  92. data/config/environments/production.rb +5 -15
  93. data/config/environments/test.rb +4 -6
  94. data/core/app/controllers/admin/base_controller.rb +10 -0
  95. data/core/app/controllers/admin/dialogs_controller.rb +26 -0
  96. data/core/app/controllers/admin/refinery_core_controller.rb +12 -0
  97. data/core/app/controllers/application_controller.rb +6 -0
  98. data/core/app/controllers/refinery/fast_controller.rb +9 -0
  99. data/core/app/controllers/sitemap_controller.rb +14 -0
  100. data/core/app/helpers/application_helper.rb +5 -0
  101. data/core/app/views/admin/_head.html.erb +43 -0
  102. data/core/app/views/admin/_javascripts.html.erb +32 -0
  103. data/core/app/views/admin/_menu.html.erb +17 -0
  104. data/core/app/views/admin/dialogs/show.html.erb +19 -0
  105. data/core/app/views/layouts/admin.html.erb +24 -0
  106. data/core/app/views/layouts/admin_dialog.html.erb +14 -0
  107. data/core/app/views/layouts/application.html.erb +21 -0
  108. data/core/app/views/shared/_content_page.html.erb +63 -0
  109. data/core/app/views/shared/_draft_page_message.html.erb +3 -0
  110. data/core/app/views/shared/_footer.html.erb +4 -0
  111. data/core/app/views/shared/_google_analytics.html.erb +8 -0
  112. data/core/app/views/shared/_head.html.erb +42 -0
  113. data/core/app/views/shared/_header.html.erb +8 -0
  114. data/core/app/views/shared/_html_tag.html.erb +6 -0
  115. data/core/app/views/shared/_ie6check.html.erb +63 -0
  116. data/core/app/views/shared/_javascripts.html.erb +10 -0
  117. data/core/app/views/shared/_menu.html.erb +30 -0
  118. data/{vendor/refinerycms/core → core}/app/views/shared/_menu_branch.html.erb +0 -0
  119. data/core/app/views/shared/_message.html.erb +10 -0
  120. data/core/app/views/shared/_no_script.html.erb +9 -0
  121. data/core/app/views/shared/_site_bar.html.erb +25 -0
  122. data/core/app/views/shared/admin/_continue_editing.html.erb +3 -0
  123. data/{vendor/refinerycms/core → core}/app/views/shared/admin/_error_messages.html.erb +0 -0
  124. data/core/app/views/shared/admin/_form_actions.html.erb +77 -0
  125. data/core/app/views/shared/admin/_image_picker.html.erb +60 -0
  126. data/core/app/views/shared/admin/_make_sortable.html.erb +13 -0
  127. data/core/app/views/shared/admin/_resource_picker.html.erb +66 -0
  128. data/core/app/views/shared/admin/_search.html.erb +6 -0
  129. data/{vendor/refinerycms/core → core}/app/views/shared/admin/_sortable_list.html.erb +0 -0
  130. data/core/app/views/shared/admin/_tabbed_fields.html.erb +42 -0
  131. data/core/app/views/welcome.html.erb +17 -0
  132. data/core/app/views/wymiframe.html.erb +15 -0
  133. data/core/config/locales/cs.yml +77 -0
  134. data/core/config/locales/da.yml +75 -0
  135. data/core/config/locales/de.yml +75 -0
  136. data/core/config/locales/el.yml +75 -0
  137. data/core/config/locales/en.yml +75 -0
  138. data/core/config/locales/es.yml +68 -0
  139. data/core/config/locales/fr.yml +72 -0
  140. data/core/config/locales/it.yml +96 -0
  141. data/core/config/locales/lolcat.yml +68 -0
  142. data/core/config/locales/lt.yml +75 -0
  143. data/core/config/locales/lv.yml +72 -0
  144. data/core/config/locales/nb.yml +75 -0
  145. data/core/config/locales/nl.yml +75 -0
  146. data/core/config/locales/pl.yml +75 -0
  147. data/core/config/locales/pt-BR.yml +72 -0
  148. data/core/config/locales/rs.yml +76 -0
  149. data/core/config/locales/ru.yml +71 -0
  150. data/core/config/locales/sl.yml +72 -0
  151. data/core/config/locales/sv.yml +75 -0
  152. data/core/config/locales/zh-CN.yml +75 -0
  153. data/core/config/locales/zh-TW.yml +75 -0
  154. data/core/config/routes.rb +19 -0
  155. data/core/crud.md +197 -0
  156. data/core/doc/included-jquery-ui-packages.jpg +0 -0
  157. data/core/engines.md +179 -0
  158. data/core/features/search.feature +55 -0
  159. data/core/features/site_bar.feature +24 -0
  160. data/core/features/step_definitions/core_steps.rb +61 -0
  161. data/{vendor/refinerycms/core → core}/features/support/paths.rb +0 -0
  162. data/{vendor/refinerycms/core → core}/features/uploads/beach.jpeg +0 -0
  163. data/{vendor/refinerycms/core → core}/features/uploads/refinery_is_awesome.txt +0 -0
  164. data/core/lib/core.rb +143 -0
  165. data/core/lib/generators/refinerycms_generator.rb +107 -0
  166. data/core/lib/generators/templates/.gitignore +83 -0
  167. data/core/lib/generators/templates/.rspec +2 -0
  168. data/core/lib/generators/templates/app/views/sitemap/index.xml.builder +22 -0
  169. data/core/lib/generators/templates/autotest/autotest.rb +17 -0
  170. data/core/lib/generators/templates/autotest/discover.rb +2 -0
  171. data/core/lib/generators/templates/config/cucumber.yml +15 -0
  172. data/core/lib/generators/templates/config/database.yml.mysql +20 -0
  173. data/core/lib/generators/templates/config/database.yml.postgresql +57 -0
  174. data/core/lib/generators/templates/config/database.yml.sqlite3 +26 -0
  175. data/core/lib/generators/templates/config/i18n-js.yml +6 -0
  176. data/core/lib/generators/templates/config/initializers/devise.rb +142 -0
  177. data/core/lib/generators/templates/config/settings.rb +3 -0
  178. data/core/lib/generators/templates/db/seeds.rb +5 -0
  179. data/core/lib/generators/templates/spec/rcov.opts +2 -0
  180. data/core/lib/generators/templates/spec/spec_helper.rb +76 -0
  181. data/{vendor/refinerycms/core → core}/lib/refinery/activity.rb +0 -0
  182. data/core/lib/refinery/admin/base_controller.rb +111 -0
  183. data/core/lib/refinery/admin_base_controller.rb +5 -0
  184. data/core/lib/refinery/application.rb +76 -0
  185. data/core/lib/refinery/application_controller.rb +116 -0
  186. data/core/lib/refinery/application_helper.rb +19 -0
  187. data/core/lib/refinery/base_presenter.rb +27 -0
  188. data/core/lib/refinery/catch_all_routes.rb +11 -0
  189. data/core/lib/refinery/crud.rb +295 -0
  190. data/core/lib/refinery/helpers/form_helper.rb +66 -0
  191. data/core/lib/refinery/helpers/head_helper.rb +17 -0
  192. data/core/lib/refinery/helpers/html_truncation_helper.rb +25 -0
  193. data/core/lib/refinery/helpers/image_helper.rb +49 -0
  194. data/core/lib/refinery/helpers/menu_helper.rb +68 -0
  195. data/core/lib/refinery/helpers/meta_helper.rb +67 -0
  196. data/core/lib/refinery/helpers/pagination_helper.rb +16 -0
  197. data/core/lib/refinery/helpers/script_helper.rb +36 -0
  198. data/core/lib/refinery/helpers/site_bar_helper.rb +24 -0
  199. data/core/lib/refinery/helpers/tag_helper.rb +21 -0
  200. data/{vendor/refinerycms/core → core}/lib/refinery/helpers/translation_helper.rb +0 -0
  201. data/{vendor/refinerycms/core → core}/lib/refinery/link_renderer.rb +0 -0
  202. data/core/lib/refinery/plugin.rb +134 -0
  203. data/core/lib/refinery/plugins.rb +75 -0
  204. data/core/lib/tasks/cucumber.rake +53 -0
  205. data/{vendor/refinerycms/core → core}/lib/tasks/doc.rake +0 -0
  206. data/core/lib/tasks/refinery.rake +231 -0
  207. data/{vendor/refinerycms/core → core}/lib/tasks/yard.rake +0 -0
  208. data/core/license.md +21 -0
  209. data/{vendor/refinerycms/core → core}/public/404.html +0 -0
  210. data/{vendor/refinerycms/core → core}/public/422.html +0 -0
  211. data/{vendor/refinerycms/core → core}/public/500.html +0 -0
  212. data/{vendor/refinerycms/core → core}/public/favicon.ico +0 -0
  213. data/{vendor/refinerycms/core → core}/public/images/refinery/add.png +0 -0
  214. data/{vendor/refinerycms/core → core}/public/images/refinery/admin_bg.png +0 -0
  215. data/{vendor/refinerycms/core → core}/public/images/refinery/ajax-loader.gif +0 -0
  216. data/{vendor/refinerycms/core → core}/public/images/refinery/branch-end.gif +0 -0
  217. data/{vendor/refinerycms/core → core}/public/images/refinery/branch-start.gif +0 -0
  218. data/{vendor/refinerycms/core → core}/public/images/refinery/branch.gif +0 -0
  219. data/{vendor/refinerycms/core → core}/public/images/refinery/carousel-left.png +0 -0
  220. data/{vendor/refinerycms/core → core}/public/images/refinery/carousel-right.png +0 -0
  221. data/{vendor/refinerycms/core → core}/public/images/refinery/cross.png +0 -0
  222. data/{vendor/refinerycms/core → core}/public/images/refinery/dialogLoadingAnimation.gif +0 -0
  223. data/{vendor/refinerycms/core → core}/public/images/refinery/header_background.png +0 -0
  224. data/{vendor/refinerycms/core → core}/public/images/refinery/hover-gradient.jpg +0 -0
  225. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/accept.png +0 -0
  226. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/add.png +0 -0
  227. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/ajax-loader.gif +0 -0
  228. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/application_edit.png +0 -0
  229. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/application_go.png +0 -0
  230. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/arrow_left.png +0 -0
  231. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/arrow_switch.png +0 -0
  232. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/arrow_up.png +0 -0
  233. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/bin.png +0 -0
  234. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/bin_closed.png +0 -0
  235. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/cancel.png +0 -0
  236. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/cog_add.png +0 -0
  237. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/cog_edit.png +0 -0
  238. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/cross.png +0 -0
  239. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/delete.png +0 -0
  240. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/doc.png +0 -0
  241. data/core/public/images/refinery/icons/down.gif +0 -0
  242. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/edit.png +0 -0
  243. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/email.png +0 -0
  244. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/email_edit.png +0 -0
  245. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/email_go.png +0 -0
  246. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/email_open.png +0 -0
  247. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/eye.png +0 -0
  248. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/folder_page_white.png +0 -0
  249. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/image_add.png +0 -0
  250. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/image_edit.png +0 -0
  251. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/img.png +0 -0
  252. data/core/public/images/refinery/icons/information.png +0 -0
  253. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/layout_add.png +0 -0
  254. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/layout_edit.png +0 -0
  255. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/music.png +0 -0
  256. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/page_add.png +0 -0
  257. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/page_edit.png +0 -0
  258. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/page_white_edit.png +0 -0
  259. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/page_white_gear.png +0 -0
  260. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/page_white_put.png +0 -0
  261. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/pdf.png +0 -0
  262. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/ppt.png +0 -0
  263. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/star.png +0 -0
  264. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/tick.png +0 -0
  265. data/core/public/images/refinery/icons/up.gif +0 -0
  266. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/user_add.png +0 -0
  267. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/user_comment.png +0 -0
  268. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/user_edit.png +0 -0
  269. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/xls.png +0 -0
  270. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/zip.png +0 -0
  271. data/{vendor/refinerycms/core → core}/public/images/refinery/icons/zoom.png +0 -0
  272. data/{vendor/refinerycms/core → core}/public/images/refinery/logo-large.png +0 -0
  273. data/{vendor/refinerycms/core → core}/public/images/refinery/logo-medium.png +0 -0
  274. data/{vendor/refinerycms/core → core}/public/images/refinery/logo-site-bar.png +0 -0
  275. data/{vendor/refinerycms/core → core}/public/images/refinery/logo-small-medium.png +0 -0
  276. data/{vendor/refinerycms/core → core}/public/images/refinery/logo-small.png +0 -0
  277. data/{vendor/refinerycms/core → core}/public/images/refinery/logo-tiny.png +0 -0
  278. data/{vendor/refinerycms/core → core}/public/images/refinery/logo.png +0 -0
  279. data/{vendor/refinerycms/core → core}/public/images/refinery/nav-3-background.gif +0 -0
  280. data/{vendor/refinerycms/core → core}/public/images/refinery/nav_inactive_background.png +0 -0
  281. data/{vendor/refinerycms/core → core}/public/images/refinery/orange_button.png +0 -0
  282. data/{vendor/refinerycms/core → core}/public/images/refinery/page_bg.png +0 -0
  283. data/{vendor/refinerycms/core → core}/public/images/refinery/resolve_digital_footer_logo.png +0 -0
  284. data/{vendor/refinerycms/core → core}/public/images/refinery/text_field_background.png +0 -0
  285. data/core/public/images/refinery/tooltip-nib.gif +0 -0
  286. data/{vendor/refinerycms/core → core}/public/images/refinery/tooltip-nib.png +0 -0
  287. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/arrow_redo.png +0 -0
  288. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/arrow_undo.png +0 -0
  289. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/eye.png +0 -0
  290. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-blockquote.png +0 -0
  291. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-h1.png +0 -0
  292. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-h2.png +0 -0
  293. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-h3.png +0 -0
  294. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-h4.png +0 -0
  295. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-h5.png +0 -0
  296. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-h6.png +0 -0
  297. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-p.png +0 -0
  298. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/iframe/lbl-pre.png +0 -0
  299. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/link_add.png +0 -0
  300. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/link_break.png +0 -0
  301. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/page_code.png +0 -0
  302. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/page_paste.png +0 -0
  303. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/photo_add.png +0 -0
  304. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/right.png +0 -0
  305. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/style.png +0 -0
  306. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/table_add.png +0 -0
  307. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_align_center.png +0 -0
  308. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_align_justify.png +0 -0
  309. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_align_left.png +0 -0
  310. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_align_right.png +0 -0
  311. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_bold.png +0 -0
  312. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_heading_1.png +0 -0
  313. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_heading_2.png +0 -0
  314. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_heading_3.png +0 -0
  315. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_heading_4.png +0 -0
  316. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_heading_5.png +0 -0
  317. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_heading_6.png +0 -0
  318. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_indent.png +0 -0
  319. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_indent_remove.png +0 -0
  320. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_italic.png +0 -0
  321. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_list_bullets.png +0 -0
  322. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_list_numbers.png +0 -0
  323. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_paragraph.png +0 -0
  324. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_strikethrough.png +0 -0
  325. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_subscript.png +0 -0
  326. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_superscript.png +0 -0
  327. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/refinery/text_underline.png +0 -0
  328. data/{vendor/refinerycms/core → core}/public/images/wymeditor/skins/wymeditor_icon.png +0 -0
  329. data/{vendor/refinerycms/core → core}/public/javascripts/admin.js +0 -0
  330. data/{vendor/refinerycms/core → core}/public/javascripts/application.js +0 -0
  331. data/core/public/javascripts/dd_belatedpng.js +13 -0
  332. data/{vendor/refinerycms/core → core}/public/javascripts/i18n-messages.js +0 -0
  333. data/{vendor/refinerycms/core → core}/public/javascripts/jquery-min.js +0 -0
  334. data/core/public/javascripts/jquery-ui-custom-min.js +249 -0
  335. data/core/public/javascripts/jquery.js +6240 -0
  336. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/GPL-LICENSE.txt +0 -0
  337. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/MIT-LICENSE.txt +0 -0
  338. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/jquery.corner.js +0 -0
  339. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/jquery.html5-placeholder-shim.js +0 -0
  340. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/jquery.jcarousel.js +0 -0
  341. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/jquery.textTruncate.js +0 -0
  342. data/{vendor/refinerycms/core → core}/public/javascripts/jquery/jquery.timers.js +0 -0
  343. data/core/public/javascripts/modernizr-min.js +30 -0
  344. data/{vendor/refinerycms/core → core}/public/javascripts/rails.js +0 -0
  345. data/core/public/javascripts/refinery/admin.js +1114 -0
  346. data/core/public/javascripts/refinery/boot_wym.js +285 -0
  347. data/core/public/javascripts/refinery/core.js +18 -0
  348. data/core/public/javascripts/refinery/i18n.js +340 -0
  349. data/{vendor/refinerycms/core → core}/public/javascripts/refinery/nestedsortables.js +0 -0
  350. data/{vendor/refinerycms/core → core}/public/javascripts/refinery/serializelist.js +0 -0
  351. data/core/public/javascripts/refinery/site_bar.js +16 -0
  352. data/core/public/javascripts/refinery/submenu.js +49 -0
  353. data/core/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +5142 -0
  354. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/ca.js +0 -0
  355. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/cs.js +0 -0
  356. data/core/public/javascripts/wymeditor/lang/da.js +48 -0
  357. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/de.js +0 -0
  358. data/core/public/javascripts/wymeditor/lang/en.js +47 -0
  359. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/es.js +0 -0
  360. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/fa.js +0 -0
  361. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/fr.js +0 -0
  362. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/he.js +0 -0
  363. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/hu.js +0 -0
  364. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/it.js +0 -0
  365. data/core/public/javascripts/wymeditor/lang/lv.js +47 -0
  366. data/core/public/javascripts/wymeditor/lang/nb.js +48 -0
  367. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/nl.js +0 -0
  368. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/nn.js +0 -0
  369. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/pl.js +0 -0
  370. data/core/public/javascripts/wymeditor/lang/pt-BR.js +47 -0
  371. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/pt.js +0 -0
  372. data/core/public/javascripts/wymeditor/lang/rs.js +47 -0
  373. data/core/public/javascripts/wymeditor/lang/ru.js +45 -0
  374. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/sl.js +0 -0
  375. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/sv.js +0 -0
  376. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/tr.js +0 -0
  377. data/{vendor/refinerycms/core → core}/public/javascripts/wymeditor/lang/zh_cn.js +0 -0
  378. data/core/public/javascripts/wymeditor/skins/refinery/skin.js +48 -0
  379. data/{vendor/refinerycms/core → core}/public/robots.txt +0 -0
  380. data/core/public/stylesheets/application.css +4 -0
  381. data/core/public/stylesheets/formatting.css +4 -0
  382. data/core/public/stylesheets/home.css +4 -0
  383. data/core/public/stylesheets/refinery/application.css +72 -0
  384. data/core/public/stylesheets/refinery/formatting.css +57 -0
  385. data/{vendor/refinerycms/core → core}/public/stylesheets/refinery/home.css +0 -0
  386. data/core/public/stylesheets/refinery/refinery.css +1572 -0
  387. data/core/public/stylesheets/refinery/site_bar.css +87 -0
  388. data/core/public/stylesheets/refinery/submenu.css +22 -0
  389. data/{vendor/refinerycms/core → core}/public/stylesheets/refinery/theme.css +0 -0
  390. data/{vendor/refinerycms/core → core}/public/stylesheets/refinery/tooltips.css +0 -0
  391. data/core/public/stylesheets/refinery/ui.css +107 -0
  392. data/core/public/stylesheets/theme.css +4 -0
  393. data/core/public/stylesheets/wymeditor/skins/refinery/skin.css +528 -0
  394. data/{vendor/refinerycms/core → core}/public/stylesheets/wymeditor/skins/refinery/wymiframe.css +0 -0
  395. data/{vendor/refinerycms/core → core}/public/wymeditor/GPL-license.txt +0 -0
  396. data/{vendor/refinerycms/core → core}/public/wymeditor/MIT-license.txt +0 -0
  397. data/{vendor/refinerycms/core → core}/public/wymeditor/README +0 -0
  398. data/core/refinerycms-core.gemspec +20 -0
  399. data/core/spec/lib/refinery/plugins_spec.rb +90 -0
  400. data/dashboard/app/controllers/admin/dashboard_controller.rb +38 -0
  401. data/dashboard/app/helpers/admin/dashboard_helper.rb +24 -0
  402. data/dashboard/app/views/admin/dashboard/_additional_dashboard_menu_items.html.erb +1 -0
  403. data/dashboard/app/views/admin/dashboard/_recent_activity.html.erb +14 -0
  404. data/{vendor/refinerycms/dashboard → dashboard}/app/views/admin/dashboard/_recent_inquiries.html.erb +0 -0
  405. data/dashboard/app/views/admin/dashboard/index.html.erb +70 -0
  406. data/{vendor/refinerycms/dashboard → dashboard}/app/views/admin/dashboard/index.rss.builder +0 -0
  407. data/dashboard/config/locales/cs.yml +25 -0
  408. data/dashboard/config/locales/da.yml +25 -0
  409. data/dashboard/config/locales/de.yml +25 -0
  410. data/dashboard/config/locales/el.yml +25 -0
  411. data/dashboard/config/locales/en.yml +25 -0
  412. data/dashboard/config/locales/es.yml +28 -0
  413. data/dashboard/config/locales/fr.yml +25 -0
  414. data/dashboard/config/locales/it.yml +27 -0
  415. data/dashboard/config/locales/lolcat.yml +24 -0
  416. data/dashboard/config/locales/lt.yml +25 -0
  417. data/dashboard/config/locales/lv.yml +27 -0
  418. data/dashboard/config/locales/nb.yml +25 -0
  419. data/dashboard/config/locales/nl.yml +25 -0
  420. data/dashboard/config/locales/pl.yml +29 -0
  421. data/dashboard/config/locales/pt-BR.yml +29 -0
  422. data/dashboard/config/locales/rs.yml +26 -0
  423. data/dashboard/config/locales/ru.yml +29 -0
  424. data/dashboard/config/locales/sl.yml +24 -0
  425. data/dashboard/config/locales/sv.yml +25 -0
  426. data/dashboard/config/locales/zh-CN.yml +25 -0
  427. data/dashboard/config/locales/zh-TW.yml +25 -0
  428. data/dashboard/config/routes.rb +11 -0
  429. data/dashboard/features/dashboard.feature +35 -0
  430. data/{vendor/refinerycms/dashboard → dashboard}/features/support/paths.rb +0 -0
  431. data/dashboard/lib/dashboard.rb +19 -0
  432. data/dashboard/license.md +21 -0
  433. data/dashboard/readme.md +22 -0
  434. data/dashboard/refinerycms-dashboard.gemspec +20 -0
  435. data/images/app/controllers/admin/images_controller.rb +108 -0
  436. data/images/app/helpers/admin/images_helper.rb +27 -0
  437. data/images/app/models/image.rb +72 -0
  438. data/images/app/views/admin/images/_existing_image.html.erb +73 -0
  439. data/images/app/views/admin/images/_form.html.erb +54 -0
  440. data/images/app/views/admin/images/_grid_view.html.erb +19 -0
  441. data/images/app/views/admin/images/_images.html.erb +2 -0
  442. data/images/app/views/admin/images/_list_view.html.erb +10 -0
  443. data/images/app/views/admin/images/_list_view_image.html.erb +17 -0
  444. data/{vendor/refinerycms/images → images}/app/views/admin/images/edit.html.erb +0 -0
  445. data/images/app/views/admin/images/index.html.erb +38 -0
  446. data/images/app/views/admin/images/insert.html.erb +47 -0
  447. data/{vendor/refinerycms/images → images}/app/views/admin/images/new.html.erb +0 -0
  448. data/images/config/locales/cs.yml +41 -0
  449. data/images/config/locales/da.yml +41 -0
  450. data/images/config/locales/de.yml +41 -0
  451. data/images/config/locales/el.yml +41 -0
  452. data/images/config/locales/en.yml +41 -0
  453. data/images/config/locales/es.yml +40 -0
  454. data/images/config/locales/fr.yml +41 -0
  455. data/images/config/locales/it.yml +47 -0
  456. data/images/config/locales/lolcat.yml +41 -0
  457. data/images/config/locales/lt.yml +41 -0
  458. data/images/config/locales/lv.yml +41 -0
  459. data/images/config/locales/nb.yml +42 -0
  460. data/images/config/locales/nl.yml +40 -0
  461. data/images/config/locales/pl.yml +42 -0
  462. data/images/config/locales/pt-BR.yml +42 -0
  463. data/images/config/locales/rs.yml +42 -0
  464. data/images/config/locales/ru.yml +41 -0
  465. data/images/config/locales/sl.yml +40 -0
  466. data/images/config/locales/sv.yml +41 -0
  467. data/images/config/locales/zh-CN.yml +41 -0
  468. data/images/config/locales/zh-TW.yml +41 -0
  469. data/images/config/routes.rb +11 -0
  470. data/images/db/migrate/20100913234707_create_refinerycms_images_schema.rb +23 -0
  471. data/images/features/manage_images.feature +49 -0
  472. data/images/features/step_definitions/image_steps.rb +40 -0
  473. data/{vendor/refinerycms/images → images}/features/support/factories.rb +0 -0
  474. data/{vendor/refinerycms/images → images}/features/support/paths.rb +0 -0
  475. data/{vendor/refinerycms/images → images}/features/uploads/beach.jpeg +0 -0
  476. data/{vendor/refinerycms/images → images}/features/uploads/id-rather-be-here.jpg +0 -0
  477. data/{vendor/refinerycms/images → images}/features/uploads/refinery_is_awesome.txt +0 -0
  478. data/images/lib/generators/refinerycms_images_generator.rb +8 -0
  479. data/images/lib/images.rb +59 -0
  480. data/images/license.md +21 -0
  481. data/images/readme.md +34 -0
  482. data/images/refinerycms-images.gemspec +20 -0
  483. data/images/spec/models/image_spec.rb +87 -0
  484. data/{vendor/refinerycms/images → images}/spec/uploads/beach.jpeg +0 -0
  485. data/lib/refinery.rb +1 -0
  486. data/lib/refinerycms.rb +10 -0
  487. data/license.md +2 -2
  488. data/pages/app/controllers/admin/page_parts_controller.rb +24 -0
  489. data/pages/app/controllers/admin/pages_controller.rb +37 -0
  490. data/pages/app/controllers/admin/pages_dialogs_controller.rb +87 -0
  491. data/pages/app/controllers/pages_controller.rb +32 -0
  492. data/{vendor/refinerycms/pages → pages}/app/helpers/pages_helper.rb +0 -0
  493. data/pages/app/models/page.rb +290 -0
  494. data/pages/app/models/page_part.rb +23 -0
  495. data/{vendor/refinerycms/pages → pages}/app/presenters/page_presenter.rb +0 -0
  496. data/pages/app/views/admin/pages/_form.html.erb +61 -0
  497. data/pages/app/views/admin/pages/_form_advanced_options.html.erb +79 -0
  498. data/{vendor/refinerycms/pages → pages}/app/views/admin/pages/_form_advanced_options_seo.html.erb +0 -0
  499. data/{vendor/refinerycms/pages → pages}/app/views/admin/pages/_form_fields_after_title.html.erb +0 -0
  500. data/{vendor/refinerycms/pages → pages}/app/views/admin/pages/_form_new_page_parts.html.erb +0 -0
  501. data/pages/app/views/admin/pages/_form_page_parts.html.erb +47 -0
  502. data/pages/app/views/admin/pages/_locale_picker.html.erb +11 -0
  503. data/pages/app/views/admin/pages/_page.html.erb +33 -0
  504. data/{vendor/refinerycms/pages → pages}/app/views/admin/pages/_page_part_field.html.erb +0 -0
  505. data/pages/app/views/admin/pages/_sortable_list.html.erb +5 -0
  506. data/{vendor/refinerycms/pages → pages}/app/views/admin/pages/edit.html.erb +0 -0
  507. data/pages/app/views/admin/pages/index.html.erb +40 -0
  508. data/{vendor/refinerycms/pages → pages}/app/views/admin/pages/new.html.erb +0 -0
  509. data/pages/app/views/admin/pages_dialogs/_page_link.html.erb +13 -0
  510. data/pages/app/views/admin/pages_dialogs/link_to.html.erb +141 -0
  511. data/{vendor/refinerycms/pages → pages}/app/views/pages/home.html.erb +0 -0
  512. data/{vendor/refinerycms/pages → pages}/app/views/pages/show.html.erb +0 -0
  513. data/pages/config/locales/cs.yml +84 -0
  514. data/pages/config/locales/da.yml +84 -0
  515. data/pages/config/locales/de.yml +84 -0
  516. data/pages/config/locales/el.yml +84 -0
  517. data/pages/config/locales/en.yml +84 -0
  518. data/pages/config/locales/es.yml +83 -0
  519. data/pages/config/locales/fr.yml +84 -0
  520. data/pages/config/locales/it.yml +98 -0
  521. data/pages/config/locales/lolcat.yml +83 -0
  522. data/pages/config/locales/lt.yml +85 -0
  523. data/pages/config/locales/lv.yml +86 -0
  524. data/pages/config/locales/nb.yml +85 -0
  525. data/pages/config/locales/nl.yml +81 -0
  526. data/pages/config/locales/pl.yml +85 -0
  527. data/pages/config/locales/pt-BR.yml +85 -0
  528. data/pages/config/locales/rs.yml +84 -0
  529. data/pages/config/locales/ru.yml +108 -0
  530. data/pages/config/locales/sl.yml +83 -0
  531. data/pages/config/locales/sv.yml +84 -0
  532. data/pages/config/locales/zh-CN.yml +84 -0
  533. data/pages/config/locales/zh-TW.yml +84 -0
  534. data/pages/config/routes.rb +21 -0
  535. data/pages/db/migrate/20100913234708_create_refinerycms_pages_schema.rb +53 -0
  536. data/pages/db/migrate/20101214040815_translate_page_plugin.rb +29 -0
  537. data/pages/db/migrate/20101216194133_remove_cached_slug_from_pages.rb +9 -0
  538. data/{db → pages/db}/seeds/pages.rb +0 -0
  539. data/pages/features/manage_pages.feature +47 -0
  540. data/pages/features/step_definitions/page_steps.rb +53 -0
  541. data/pages/features/support/paths.rb +26 -0
  542. data/pages/features/visit_pages.feature +47 -0
  543. data/pages/lib/generators/refinerycms_pages_generator.rb +8 -0
  544. data/pages/lib/pages.rb +36 -0
  545. data/pages/lib/pages/marketable_routes.rb +3 -0
  546. data/pages/lib/pages/tabs.rb +30 -0
  547. data/pages/license.md +21 -0
  548. data/pages/readme.md +156 -0
  549. data/pages/refinerycms-pages.gemspec +21 -0
  550. data/pages/spec/models/page_spec.rb +155 -0
  551. data/readme.md +37 -25
  552. data/refinerycms.gemspec +913 -0
  553. data/resources/app/controllers/admin/resources_controller.rb +89 -0
  554. data/resources/app/models/resource.rb +53 -0
  555. data/{vendor/refinerycms/resources → resources}/app/views/admin/resources/_existing_resource.html.erb +0 -0
  556. data/resources/app/views/admin/resources/_form.html.erb +55 -0
  557. data/resources/app/views/admin/resources/_resource.html.erb +17 -0
  558. data/resources/app/views/admin/resources/_resources.html.erb +10 -0
  559. data/{vendor/refinerycms/resources → resources}/app/views/admin/resources/edit.html.erb +0 -0
  560. data/resources/app/views/admin/resources/index.html.erb +31 -0
  561. data/resources/app/views/admin/resources/insert.html.erb +54 -0
  562. data/{vendor/refinerycms/resources → resources}/app/views/admin/resources/new.html.erb +0 -0
  563. data/resources/config/locales/cs.yml +34 -0
  564. data/resources/config/locales/da.yml +34 -0
  565. data/resources/config/locales/de.yml +34 -0
  566. data/resources/config/locales/el.yml +34 -0
  567. data/resources/config/locales/en.yml +34 -0
  568. data/resources/config/locales/es.yml +33 -0
  569. data/resources/config/locales/fr.yml +34 -0
  570. data/resources/config/locales/it.yml +43 -0
  571. data/resources/config/locales/lolcat.yml +34 -0
  572. data/resources/config/locales/lt.yml +34 -0
  573. data/resources/config/locales/lv.yml +34 -0
  574. data/resources/config/locales/nb.yml +34 -0
  575. data/resources/config/locales/nl.yml +33 -0
  576. data/resources/config/locales/pl.yml +35 -0
  577. data/resources/config/locales/pt-BR.yml +34 -0
  578. data/resources/config/locales/rs.yml +35 -0
  579. data/resources/config/locales/ru.yml +34 -0
  580. data/resources/config/locales/sl.yml +33 -0
  581. data/resources/config/locales/sv.yml +34 -0
  582. data/resources/config/locales/zh-CN.yml +34 -0
  583. data/resources/config/locales/zh-TW.yml +34 -0
  584. data/resources/config/routes.rb +11 -0
  585. data/resources/db/migrate/20100913234709_create_refinerycms_resources_schema.rb +21 -0
  586. data/resources/features/manage_files.feature +43 -0
  587. data/resources/features/step_definitions/file_steps.rb +21 -0
  588. data/{vendor/refinerycms/resources → resources}/features/support/paths.rb +0 -0
  589. data/{vendor/refinerycms/resources → resources}/features/uploads/beach.jpeg +0 -0
  590. data/{vendor/refinerycms/resources → resources}/features/uploads/refinery_is_awesome.txt +0 -0
  591. data/resources/lib/generators/refinerycms_resources_generator.rb +8 -0
  592. data/resources/lib/resources.rb +58 -0
  593. data/resources/license.md +21 -0
  594. data/resources/readme.md +9 -0
  595. data/resources/refinerycms-resources.gemspec +20 -0
  596. data/resources/spec/models/resource_spec.rb +91 -0
  597. data/{vendor/refinerycms/resources → resources}/spec/uploads/refinery_is_awesome.txt +0 -0
  598. data/settings/app/controllers/admin/refinery_settings_controller.rb +77 -0
  599. data/settings/app/helpers/refinery_settings_helper.rb +25 -0
  600. data/settings/app/models/refinery_setting.rb +212 -0
  601. data/settings/app/views/admin/refinery_settings/_form.html.erb +62 -0
  602. data/settings/app/views/admin/refinery_settings/_refinery_setting.html.erb +23 -0
  603. data/settings/app/views/admin/refinery_settings/_refinery_settings.html.erb +5 -0
  604. data/{vendor/refinerycms/settings → settings}/app/views/admin/refinery_settings/edit.html.erb +0 -0
  605. data/settings/app/views/admin/refinery_settings/index.html.erb +49 -0
  606. data/{vendor/refinerycms/settings → settings}/app/views/admin/refinery_settings/new.html.erb +0 -0
  607. data/settings/config/locales/cs.yml +45 -0
  608. data/settings/config/locales/da.yml +46 -0
  609. data/settings/config/locales/de.yml +46 -0
  610. data/settings/config/locales/el.yml +46 -0
  611. data/settings/config/locales/en.yml +46 -0
  612. data/settings/config/locales/es.yml +43 -0
  613. data/settings/config/locales/fr.yml +44 -0
  614. data/settings/config/locales/it.yml +36 -0
  615. data/settings/config/locales/lolcat.yml +43 -0
  616. data/settings/config/locales/lt.yml +46 -0
  617. data/settings/config/locales/lv.yml +46 -0
  618. data/settings/config/locales/nb.yml +47 -0
  619. data/settings/config/locales/nl.yml +46 -0
  620. data/settings/config/locales/pl.yml +46 -0
  621. data/settings/config/locales/pt-BR.yml +44 -0
  622. data/settings/config/locales/rs.yml +46 -0
  623. data/settings/config/locales/ru.yml +43 -0
  624. data/settings/config/locales/sl.yml +25 -0
  625. data/settings/config/locales/sv.yml +45 -0
  626. data/settings/config/locales/zh-CN.yml +46 -0
  627. data/settings/config/locales/zh-TW.yml +46 -0
  628. data/settings/config/routes.rb +8 -0
  629. data/settings/db/migrate/20100913234710_create_refinerycms_settings_schema.rb +24 -0
  630. data/{db → settings/db}/migrate/20100926142529_add_value_type_to_refinery_settings.rb +0 -0
  631. data/{vendor/refinerycms/settings → settings}/features/manage_refinery_settings.feature +0 -0
  632. data/settings/features/step_definitions/setting_steps.rb +9 -0
  633. data/{vendor/refinerycms/settings → settings}/features/support/paths.rb +0 -0
  634. data/settings/lib/generators/refinerycms_settings_generator.rb +8 -0
  635. data/settings/lib/settings.rb +16 -0
  636. data/settings/license.md +21 -0
  637. data/settings/readme.md +55 -0
  638. data/settings/refinerycms-settings.gemspec +20 -0
  639. data/{vendor/refinerycms/settings → settings}/spec/models/refinery_setting_spec.rb +0 -0
  640. data/spec/rcov.opts +2 -0
  641. data/spec/spec_helper.rb +76 -0
  642. metadata +872 -826
  643. data/app/controllers/admin/base_controller.rb +0 -8
  644. data/app/controllers/application_controller.rb +0 -9
  645. data/app/helpers/application_helper.rb +0 -7
  646. data/config/initializers/acts_as_indexed_config.rb +0 -5
  647. data/config/initializers/field_with_error_fix.rb +0 -3
  648. data/config/initializers/fix_rack.rb +0 -17
  649. data/config/routes.rb +0 -74
  650. data/db/migrate/20100913234704_create_refinery_schema.rb +0 -152
  651. data/db/schema.rb +0 -159
  652. data/db/seeds.rb +0 -4
  653. data/db/seeds/pages_for_inquiries.rb +0 -40
  654. data/db/seeds/refinery_settings.rb +0 -16
  655. data/todo.md +0 -33
  656. data/vendor/refinerycms/authentication/app/controllers/admin/users_controller.rb +0 -58
  657. data/vendor/refinerycms/authentication/app/controllers/sessions_controller.rb +0 -40
  658. data/vendor/refinerycms/authentication/app/controllers/users_controller.rb +0 -116
  659. data/vendor/refinerycms/authentication/app/mailers/user_mailer.rb +0 -28
  660. data/vendor/refinerycms/authentication/app/models/user.rb +0 -71
  661. data/vendor/refinerycms/authentication/app/models/user_session.rb +0 -9
  662. data/vendor/refinerycms/authentication/app/views/admin/users/_form.html.erb +0 -70
  663. data/vendor/refinerycms/authentication/app/views/admin/users/_user.html.erb +0 -18
  664. data/vendor/refinerycms/authentication/app/views/admin/users/index.html.erb +0 -14
  665. data/vendor/refinerycms/authentication/app/views/layouts/login.html.erb +0 -20
  666. data/vendor/refinerycms/authentication/app/views/sessions/new.html.erb +0 -28
  667. data/vendor/refinerycms/authentication/app/views/user_mailer/reset_notification.html.erb +0 -6
  668. data/vendor/refinerycms/authentication/app/views/users/forgot.html.erb +0 -18
  669. data/vendor/refinerycms/authentication/app/views/users/new.html.erb +0 -41
  670. data/vendor/refinerycms/authentication/app/views/users/reset.html.erb +0 -29
  671. data/vendor/refinerycms/authentication/config/locales/da.yml +0 -83
  672. data/vendor/refinerycms/authentication/config/locales/de.yml +0 -74
  673. data/vendor/refinerycms/authentication/config/locales/en.yml +0 -66
  674. data/vendor/refinerycms/authentication/config/locales/es.yml +0 -66
  675. data/vendor/refinerycms/authentication/config/locales/fr.yml +0 -81
  676. data/vendor/refinerycms/authentication/config/locales/it.yml +0 -80
  677. data/vendor/refinerycms/authentication/config/locales/lv.yml +0 -66
  678. data/vendor/refinerycms/authentication/config/locales/nb.yml +0 -80
  679. data/vendor/refinerycms/authentication/config/locales/nl.yml +0 -66
  680. data/vendor/refinerycms/authentication/config/locales/pt-BR.yml +0 -71
  681. data/vendor/refinerycms/authentication/config/locales/ru.yml +0 -80
  682. data/vendor/refinerycms/authentication/config/locales/sl.yml +0 -90
  683. data/vendor/refinerycms/authentication/config/locales/zh-CN.yml +0 -80
  684. data/vendor/refinerycms/authentication/config/routes.rb +0 -26
  685. data/vendor/refinerycms/authentication/features/lost_password.feature +0 -41
  686. data/vendor/refinerycms/authentication/features/manage_users.feature +0 -57
  687. data/vendor/refinerycms/authentication/features/step_definitions/lost_password.rb +0 -8
  688. data/vendor/refinerycms/authentication/features/step_definitions/user_steps.rb +0 -32
  689. data/vendor/refinerycms/authentication/features/support/factories.rb +0 -18
  690. data/vendor/refinerycms/authentication/features/support/paths.rb +0 -24
  691. data/vendor/refinerycms/authentication/lib/authenticated_system.rb +0 -129
  692. data/vendor/refinerycms/authentication/lib/authenticated_test_helper.rb +0 -10
  693. data/vendor/refinerycms/authentication/lib/authentication.rb +0 -31
  694. data/vendor/refinerycms/authentication/readme.md +0 -17
  695. data/vendor/refinerycms/authentication/spec/models/user_spec.rb +0 -52
  696. data/vendor/refinerycms/authentication/test/unit/user_mailer_test.rb +0 -31
  697. data/vendor/refinerycms/authentication/test/unit/user_test.rb +0 -164
  698. data/vendor/refinerycms/core/app/controllers/admin/dialogs_controller.rb +0 -24
  699. data/vendor/refinerycms/core/app/controllers/admin/refinery_core_controller.rb +0 -16
  700. data/vendor/refinerycms/core/app/controllers/refinery/fast_controller.rb +0 -7
  701. data/vendor/refinerycms/core/app/views/admin/_head.html.erb +0 -53
  702. data/vendor/refinerycms/core/app/views/admin/_menu.html.erb +0 -17
  703. data/vendor/refinerycms/core/app/views/admin/_menu_tab.html.erb +0 -4
  704. data/vendor/refinerycms/core/app/views/admin/dialogs/show.html.erb +0 -19
  705. data/vendor/refinerycms/core/app/views/layouts/admin.html.erb +0 -22
  706. data/vendor/refinerycms/core/app/views/layouts/admin_dialog.html.erb +0 -13
  707. data/vendor/refinerycms/core/app/views/layouts/application.html.erb +0 -22
  708. data/vendor/refinerycms/core/app/views/shared/_content_page.html.erb +0 -41
  709. data/vendor/refinerycms/core/app/views/shared/_draft_page_message.html.erb +0 -3
  710. data/vendor/refinerycms/core/app/views/shared/_footer.html.erb +0 -5
  711. data/vendor/refinerycms/core/app/views/shared/_google_analytics.html.erb +0 -14
  712. data/vendor/refinerycms/core/app/views/shared/_head.html.erb +0 -17
  713. data/vendor/refinerycms/core/app/views/shared/_header.html.erb +0 -8
  714. data/vendor/refinerycms/core/app/views/shared/_html5_for_ie.js.erb +0 -7
  715. data/vendor/refinerycms/core/app/views/shared/_ie6check.html.erb +0 -63
  716. data/vendor/refinerycms/core/app/views/shared/_menu.html.erb +0 -38
  717. data/vendor/refinerycms/core/app/views/shared/_message.html.erb +0 -10
  718. data/vendor/refinerycms/core/app/views/shared/_no_script.html.erb +0 -9
  719. data/vendor/refinerycms/core/app/views/shared/_site_bar.html.erb +0 -33
  720. data/vendor/refinerycms/core/app/views/shared/admin/_continue_editing.html.erb +0 -3
  721. data/vendor/refinerycms/core/app/views/shared/admin/_form_actions.html.erb +0 -74
  722. data/vendor/refinerycms/core/app/views/shared/admin/_image_picker.html.erb +0 -59
  723. data/vendor/refinerycms/core/app/views/shared/admin/_make_sortable.html.erb +0 -13
  724. data/vendor/refinerycms/core/app/views/shared/admin/_resource_picker.html.erb +0 -66
  725. data/vendor/refinerycms/core/app/views/shared/admin/_search.html.erb +0 -5
  726. data/vendor/refinerycms/core/app/views/welcome.html.erb +0 -17
  727. data/vendor/refinerycms/core/app/views/wymiframe.html.erb +0 -17
  728. data/vendor/refinerycms/core/config/locales/da.yml +0 -71
  729. data/vendor/refinerycms/core/config/locales/de.yml +0 -70
  730. data/vendor/refinerycms/core/config/locales/en.yml +0 -70
  731. data/vendor/refinerycms/core/config/locales/es.yml +0 -60
  732. data/vendor/refinerycms/core/config/locales/fr.yml +0 -66
  733. data/vendor/refinerycms/core/config/locales/it.yml +0 -65
  734. data/vendor/refinerycms/core/config/locales/lv.yml +0 -63
  735. data/vendor/refinerycms/core/config/locales/nb.yml +0 -61
  736. data/vendor/refinerycms/core/config/locales/nl.yml +0 -62
  737. data/vendor/refinerycms/core/config/locales/pt-BR.yml +0 -67
  738. data/vendor/refinerycms/core/config/locales/ru.yml +0 -61
  739. data/vendor/refinerycms/core/config/locales/sl.yml +0 -68
  740. data/vendor/refinerycms/core/config/locales/zh-CN.yml +0 -65
  741. data/vendor/refinerycms/core/config/routes.rb +0 -15
  742. data/vendor/refinerycms/core/crud.md +0 -197
  743. data/vendor/refinerycms/core/engines.md +0 -218
  744. data/vendor/refinerycms/core/features/engine_generator.feature +0 -27
  745. data/vendor/refinerycms/core/features/search.feature +0 -59
  746. data/vendor/refinerycms/core/features/site_bar.feature +0 -24
  747. data/vendor/refinerycms/core/features/step_definitions/core_steps.rb +0 -61
  748. data/vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb +0 -19
  749. data/vendor/refinerycms/core/features/step_definitions/generator_steps.rb +0 -11
  750. data/vendor/refinerycms/core/lib/core.rb +0 -152
  751. data/vendor/refinerycms/core/lib/generators/refinery_engine/USAGE +0 -23
  752. data/vendor/refinerycms/core/lib/generators/refinery_engine/refinery_engine_generator.rb +0 -49
  753. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/controllers/admin/plural_name_controller.rb +0 -7
  754. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/controllers/plural_name_controller.rb +0 -30
  755. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/models/singular_name.rb +0 -17
  756. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/_form.html.erb +0 -36
  757. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/_singular_name.html.erb +0 -20
  758. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/_sortable_list.html.erb +0 -4
  759. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/edit.html.erb +0 -1
  760. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/index.html.erb +0 -67
  761. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/admin/plural_name/new.html.erb +0 -1
  762. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/plural_name/index.html.erb +0 -11
  763. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/app/views/plural_name/show.html.erb +0 -31
  764. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/config/locales/en.yml +0 -23
  765. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/config/locales/nb.yml +0 -19
  766. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/config/locales/nl.yml +0 -19
  767. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/config/routes.rb +0 -11
  768. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/db/migrate/create_plural_name.rb +0 -33
  769. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/db/seeds/plural_name.rb +0 -15
  770. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/lib/generators/refinerycms_plural_name_generator.rb +0 -6
  771. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/lib/plural_name.rb +0 -20
  772. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/lib/tasks/plural_name.rake +0 -13
  773. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/readme.md +0 -10
  774. data/vendor/refinerycms/core/lib/generators/refinery_engine/templates/refinerycms-plural_name.gemspec +0 -12
  775. data/vendor/refinerycms/core/lib/refinery/admin_base_controller.rb +0 -95
  776. data/vendor/refinerycms/core/lib/refinery/application_controller.rb +0 -113
  777. data/vendor/refinerycms/core/lib/refinery/application_helper.rb +0 -15
  778. data/vendor/refinerycms/core/lib/refinery/attachment_fu_patch.rb +0 -16
  779. data/vendor/refinerycms/core/lib/refinery/base_presenter.rb +0 -27
  780. data/vendor/refinerycms/core/lib/refinery/catch_all_routes.rb +0 -5
  781. data/vendor/refinerycms/core/lib/refinery/crud.rb +0 -295
  782. data/vendor/refinerycms/core/lib/refinery/helpers/form_helper.rb +0 -63
  783. data/vendor/refinerycms/core/lib/refinery/helpers/html_truncation_helper.rb +0 -26
  784. data/vendor/refinerycms/core/lib/refinery/helpers/image_helper.rb +0 -38
  785. data/vendor/refinerycms/core/lib/refinery/helpers/menu_helper.rb +0 -68
  786. data/vendor/refinerycms/core/lib/refinery/helpers/meta_helper.rb +0 -67
  787. data/vendor/refinerycms/core/lib/refinery/helpers/script_helper.rb +0 -36
  788. data/vendor/refinerycms/core/lib/refinery/helpers/site_bar_helper.rb +0 -26
  789. data/vendor/refinerycms/core/lib/refinery/helpers/tag_helper.rb +0 -19
  790. data/vendor/refinerycms/core/lib/refinery/plugin.rb +0 -134
  791. data/vendor/refinerycms/core/lib/refinery/plugins.rb +0 -66
  792. data/vendor/refinerycms/core/lib/tasks/refinery.rake +0 -134
  793. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ad.png +0 -0
  794. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ae.png +0 -0
  795. data/vendor/refinerycms/core/public/images/refinery/icons/flags/af.png +0 -0
  796. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ag.png +0 -0
  797. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ai.png +0 -0
  798. data/vendor/refinerycms/core/public/images/refinery/icons/flags/al.png +0 -0
  799. data/vendor/refinerycms/core/public/images/refinery/icons/flags/am.png +0 -0
  800. data/vendor/refinerycms/core/public/images/refinery/icons/flags/an.png +0 -0
  801. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ao.png +0 -0
  802. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ar.png +0 -0
  803. data/vendor/refinerycms/core/public/images/refinery/icons/flags/as.png +0 -0
  804. data/vendor/refinerycms/core/public/images/refinery/icons/flags/at.png +0 -0
  805. data/vendor/refinerycms/core/public/images/refinery/icons/flags/au.png +0 -0
  806. data/vendor/refinerycms/core/public/images/refinery/icons/flags/aw.png +0 -0
  807. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ax.png +0 -0
  808. data/vendor/refinerycms/core/public/images/refinery/icons/flags/az.png +0 -0
  809. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ba.png +0 -0
  810. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bb.png +0 -0
  811. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bd.png +0 -0
  812. data/vendor/refinerycms/core/public/images/refinery/icons/flags/be.png +0 -0
  813. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bf.png +0 -0
  814. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bg.png +0 -0
  815. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bh.png +0 -0
  816. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bi.png +0 -0
  817. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bj.png +0 -0
  818. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bm.png +0 -0
  819. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bn.png +0 -0
  820. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bo.png +0 -0
  821. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bs.png +0 -0
  822. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bt.png +0 -0
  823. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bv.png +0 -0
  824. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bw.png +0 -0
  825. data/vendor/refinerycms/core/public/images/refinery/icons/flags/by.png +0 -0
  826. data/vendor/refinerycms/core/public/images/refinery/icons/flags/bz.png +0 -0
  827. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ca.png +0 -0
  828. data/vendor/refinerycms/core/public/images/refinery/icons/flags/catalonia.png +0 -0
  829. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cc.png +0 -0
  830. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cd.png +0 -0
  831. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cf.png +0 -0
  832. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cg.png +0 -0
  833. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ch.png +0 -0
  834. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ci.png +0 -0
  835. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ck.png +0 -0
  836. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cl.png +0 -0
  837. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cm.png +0 -0
  838. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cn.png +0 -0
  839. data/vendor/refinerycms/core/public/images/refinery/icons/flags/co.png +0 -0
  840. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cr.png +0 -0
  841. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cs.png +0 -0
  842. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cu.png +0 -0
  843. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cv.png +0 -0
  844. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cx.png +0 -0
  845. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cy.png +0 -0
  846. data/vendor/refinerycms/core/public/images/refinery/icons/flags/cz.png +0 -0
  847. data/vendor/refinerycms/core/public/images/refinery/icons/flags/da.png +0 -0
  848. data/vendor/refinerycms/core/public/images/refinery/icons/flags/de.png +0 -0
  849. data/vendor/refinerycms/core/public/images/refinery/icons/flags/dj.png +0 -0
  850. data/vendor/refinerycms/core/public/images/refinery/icons/flags/dm.png +0 -0
  851. data/vendor/refinerycms/core/public/images/refinery/icons/flags/do.png +0 -0
  852. data/vendor/refinerycms/core/public/images/refinery/icons/flags/dz.png +0 -0
  853. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ec.png +0 -0
  854. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ee.png +0 -0
  855. data/vendor/refinerycms/core/public/images/refinery/icons/flags/eg.png +0 -0
  856. data/vendor/refinerycms/core/public/images/refinery/icons/flags/eh.png +0 -0
  857. data/vendor/refinerycms/core/public/images/refinery/icons/flags/en.png +0 -0
  858. data/vendor/refinerycms/core/public/images/refinery/icons/flags/england.png +0 -0
  859. data/vendor/refinerycms/core/public/images/refinery/icons/flags/er.png +0 -0
  860. data/vendor/refinerycms/core/public/images/refinery/icons/flags/es.png +0 -0
  861. data/vendor/refinerycms/core/public/images/refinery/icons/flags/et.png +0 -0
  862. data/vendor/refinerycms/core/public/images/refinery/icons/flags/europeanunion.png +0 -0
  863. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fam.png +0 -0
  864. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fi.png +0 -0
  865. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fj.png +0 -0
  866. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fk.png +0 -0
  867. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fm.png +0 -0
  868. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fo.png +0 -0
  869. data/vendor/refinerycms/core/public/images/refinery/icons/flags/fr.png +0 -0
  870. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ga.png +0 -0
  871. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gb.png +0 -0
  872. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gd.png +0 -0
  873. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ge.png +0 -0
  874. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gf.png +0 -0
  875. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gh.png +0 -0
  876. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gi.png +0 -0
  877. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gl.png +0 -0
  878. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gm.png +0 -0
  879. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gn.png +0 -0
  880. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gp.png +0 -0
  881. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gq.png +0 -0
  882. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gr.png +0 -0
  883. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gs.png +0 -0
  884. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gt.png +0 -0
  885. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gu.png +0 -0
  886. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gw.png +0 -0
  887. data/vendor/refinerycms/core/public/images/refinery/icons/flags/gy.png +0 -0
  888. data/vendor/refinerycms/core/public/images/refinery/icons/flags/hk.png +0 -0
  889. data/vendor/refinerycms/core/public/images/refinery/icons/flags/hm.png +0 -0
  890. data/vendor/refinerycms/core/public/images/refinery/icons/flags/hn.png +0 -0
  891. data/vendor/refinerycms/core/public/images/refinery/icons/flags/hr.png +0 -0
  892. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ht.png +0 -0
  893. data/vendor/refinerycms/core/public/images/refinery/icons/flags/hu.png +0 -0
  894. data/vendor/refinerycms/core/public/images/refinery/icons/flags/id.png +0 -0
  895. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ie.png +0 -0
  896. data/vendor/refinerycms/core/public/images/refinery/icons/flags/il.png +0 -0
  897. data/vendor/refinerycms/core/public/images/refinery/icons/flags/in.png +0 -0
  898. data/vendor/refinerycms/core/public/images/refinery/icons/flags/io.png +0 -0
  899. data/vendor/refinerycms/core/public/images/refinery/icons/flags/iq.png +0 -0
  900. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ir.png +0 -0
  901. data/vendor/refinerycms/core/public/images/refinery/icons/flags/is.png +0 -0
  902. data/vendor/refinerycms/core/public/images/refinery/icons/flags/it.png +0 -0
  903. data/vendor/refinerycms/core/public/images/refinery/icons/flags/jm.png +0 -0
  904. data/vendor/refinerycms/core/public/images/refinery/icons/flags/jo.png +0 -0
  905. data/vendor/refinerycms/core/public/images/refinery/icons/flags/jp.png +0 -0
  906. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ke.png +0 -0
  907. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kg.png +0 -0
  908. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kh.png +0 -0
  909. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ki.png +0 -0
  910. data/vendor/refinerycms/core/public/images/refinery/icons/flags/km.png +0 -0
  911. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kn.png +0 -0
  912. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kp.png +0 -0
  913. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kr.png +0 -0
  914. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kw.png +0 -0
  915. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ky.png +0 -0
  916. data/vendor/refinerycms/core/public/images/refinery/icons/flags/kz.png +0 -0
  917. data/vendor/refinerycms/core/public/images/refinery/icons/flags/la.png +0 -0
  918. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lb.png +0 -0
  919. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lc.png +0 -0
  920. data/vendor/refinerycms/core/public/images/refinery/icons/flags/li.png +0 -0
  921. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lk.png +0 -0
  922. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lr.png +0 -0
  923. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ls.png +0 -0
  924. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lt.png +0 -0
  925. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lu.png +0 -0
  926. data/vendor/refinerycms/core/public/images/refinery/icons/flags/lv.png +0 -0
  927. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ly.png +0 -0
  928. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ma.png +0 -0
  929. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mc.png +0 -0
  930. data/vendor/refinerycms/core/public/images/refinery/icons/flags/md.png +0 -0
  931. data/vendor/refinerycms/core/public/images/refinery/icons/flags/me.png +0 -0
  932. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mg.png +0 -0
  933. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mh.png +0 -0
  934. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mk.png +0 -0
  935. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ml.png +0 -0
  936. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mm.png +0 -0
  937. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mn.png +0 -0
  938. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mo.png +0 -0
  939. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mp.png +0 -0
  940. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mq.png +0 -0
  941. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mr.png +0 -0
  942. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ms.png +0 -0
  943. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mt.png +0 -0
  944. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mu.png +0 -0
  945. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mv.png +0 -0
  946. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mw.png +0 -0
  947. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mx.png +0 -0
  948. data/vendor/refinerycms/core/public/images/refinery/icons/flags/my.png +0 -0
  949. data/vendor/refinerycms/core/public/images/refinery/icons/flags/mz.png +0 -0
  950. data/vendor/refinerycms/core/public/images/refinery/icons/flags/na.png +0 -0
  951. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nb.png +0 -0
  952. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nc.png +0 -0
  953. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ne.png +0 -0
  954. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nf.png +0 -0
  955. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ng.png +0 -0
  956. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ni.png +0 -0
  957. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nl.png +0 -0
  958. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nn.png +0 -0
  959. data/vendor/refinerycms/core/public/images/refinery/icons/flags/np.png +0 -0
  960. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nr.png +0 -0
  961. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nu.png +0 -0
  962. data/vendor/refinerycms/core/public/images/refinery/icons/flags/nz.png +0 -0
  963. data/vendor/refinerycms/core/public/images/refinery/icons/flags/om.png +0 -0
  964. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pa.png +0 -0
  965. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pe.png +0 -0
  966. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pf.png +0 -0
  967. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pg.png +0 -0
  968. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ph.png +0 -0
  969. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pk.png +0 -0
  970. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pl.png +0 -0
  971. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pm.png +0 -0
  972. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pn.png +0 -0
  973. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pr.png +0 -0
  974. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ps.png +0 -0
  975. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pt-BR.png +0 -0
  976. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pt.png +0 -0
  977. data/vendor/refinerycms/core/public/images/refinery/icons/flags/pw.png +0 -0
  978. data/vendor/refinerycms/core/public/images/refinery/icons/flags/py.png +0 -0
  979. data/vendor/refinerycms/core/public/images/refinery/icons/flags/qa.png +0 -0
  980. data/vendor/refinerycms/core/public/images/refinery/icons/flags/re.png +0 -0
  981. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ro.png +0 -0
  982. data/vendor/refinerycms/core/public/images/refinery/icons/flags/rs.png +0 -0
  983. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ru.png +0 -0
  984. data/vendor/refinerycms/core/public/images/refinery/icons/flags/rw.png +0 -0
  985. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sa.png +0 -0
  986. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sb.png +0 -0
  987. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sc.png +0 -0
  988. data/vendor/refinerycms/core/public/images/refinery/icons/flags/scotland.png +0 -0
  989. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sd.png +0 -0
  990. data/vendor/refinerycms/core/public/images/refinery/icons/flags/se.png +0 -0
  991. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sg.png +0 -0
  992. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sh.png +0 -0
  993. data/vendor/refinerycms/core/public/images/refinery/icons/flags/si.png +0 -0
  994. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sj.png +0 -0
  995. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sk.png +0 -0
  996. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sl.png +0 -0
  997. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sm.png +0 -0
  998. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sn.png +0 -0
  999. data/vendor/refinerycms/core/public/images/refinery/icons/flags/so.png +0 -0
  1000. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sr.png +0 -0
  1001. data/vendor/refinerycms/core/public/images/refinery/icons/flags/st.png +0 -0
  1002. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sv.png +0 -0
  1003. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sy.png +0 -0
  1004. data/vendor/refinerycms/core/public/images/refinery/icons/flags/sz.png +0 -0
  1005. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tc.png +0 -0
  1006. data/vendor/refinerycms/core/public/images/refinery/icons/flags/td.png +0 -0
  1007. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tf.png +0 -0
  1008. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tg.png +0 -0
  1009. data/vendor/refinerycms/core/public/images/refinery/icons/flags/th.png +0 -0
  1010. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tj.png +0 -0
  1011. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tk.png +0 -0
  1012. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tl.png +0 -0
  1013. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tm.png +0 -0
  1014. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tn.png +0 -0
  1015. data/vendor/refinerycms/core/public/images/refinery/icons/flags/to.png +0 -0
  1016. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tr.png +0 -0
  1017. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tt.png +0 -0
  1018. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tv.png +0 -0
  1019. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tw.png +0 -0
  1020. data/vendor/refinerycms/core/public/images/refinery/icons/flags/tz.png +0 -0
  1021. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ua.png +0 -0
  1022. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ug.png +0 -0
  1023. data/vendor/refinerycms/core/public/images/refinery/icons/flags/um.png +0 -0
  1024. data/vendor/refinerycms/core/public/images/refinery/icons/flags/us.png +0 -0
  1025. data/vendor/refinerycms/core/public/images/refinery/icons/flags/uy.png +0 -0
  1026. data/vendor/refinerycms/core/public/images/refinery/icons/flags/uz.png +0 -0
  1027. data/vendor/refinerycms/core/public/images/refinery/icons/flags/va.png +0 -0
  1028. data/vendor/refinerycms/core/public/images/refinery/icons/flags/vc.png +0 -0
  1029. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ve.png +0 -0
  1030. data/vendor/refinerycms/core/public/images/refinery/icons/flags/vg.png +0 -0
  1031. data/vendor/refinerycms/core/public/images/refinery/icons/flags/vi.png +0 -0
  1032. data/vendor/refinerycms/core/public/images/refinery/icons/flags/vn.png +0 -0
  1033. data/vendor/refinerycms/core/public/images/refinery/icons/flags/vu.png +0 -0
  1034. data/vendor/refinerycms/core/public/images/refinery/icons/flags/wales.png +0 -0
  1035. data/vendor/refinerycms/core/public/images/refinery/icons/flags/wf.png +0 -0
  1036. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ws.png +0 -0
  1037. data/vendor/refinerycms/core/public/images/refinery/icons/flags/ye.png +0 -0
  1038. data/vendor/refinerycms/core/public/images/refinery/icons/flags/yt.png +0 -0
  1039. data/vendor/refinerycms/core/public/images/refinery/icons/flags/za.png +0 -0
  1040. data/vendor/refinerycms/core/public/images/refinery/icons/flags/zh-CN.png +0 -0
  1041. data/vendor/refinerycms/core/public/images/refinery/icons/flags/zm.png +0 -0
  1042. data/vendor/refinerycms/core/public/images/refinery/icons/flags/zw.png +0 -0
  1043. data/vendor/refinerycms/core/public/javascripts/jquery-ui-custom-min.js +0 -244
  1044. data/vendor/refinerycms/core/public/javascripts/jquery.js +0 -6240
  1045. data/vendor/refinerycms/core/public/javascripts/refinery/admin.js +0 -978
  1046. data/vendor/refinerycms/core/public/javascripts/refinery/boot_wym.js +0 -210
  1047. data/vendor/refinerycms/core/public/javascripts/refinery/core.js +0 -15
  1048. data/vendor/refinerycms/core/public/javascripts/refinery/i18n.js +0 -340
  1049. data/vendor/refinerycms/core/public/javascripts/refinery/site_bar.js +0 -15
  1050. data/vendor/refinerycms/core/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +0 -5110
  1051. data/vendor/refinerycms/core/public/javascripts/wymeditor/lang/da.js +0 -47
  1052. data/vendor/refinerycms/core/public/javascripts/wymeditor/lang/en.js +0 -47
  1053. data/vendor/refinerycms/core/public/javascripts/wymeditor/lang/nb.js +0 -45
  1054. data/vendor/refinerycms/core/public/javascripts/wymeditor/lang/pt-br.js +0 -47
  1055. data/vendor/refinerycms/core/public/javascripts/wymeditor/lang/ru.js +0 -45
  1056. data/vendor/refinerycms/core/public/javascripts/wymeditor/skins/refinery/skin.js +0 -40
  1057. data/vendor/refinerycms/core/public/stylesheets/application.css +0 -5
  1058. data/vendor/refinerycms/core/public/stylesheets/formatting.css +0 -5
  1059. data/vendor/refinerycms/core/public/stylesheets/home.css +0 -5
  1060. data/vendor/refinerycms/core/public/stylesheets/ie6.css +0 -0
  1061. data/vendor/refinerycms/core/public/stylesheets/ie7.css +0 -1
  1062. data/vendor/refinerycms/core/public/stylesheets/refinery/application.css +0 -50
  1063. data/vendor/refinerycms/core/public/stylesheets/refinery/formatting.css +0 -57
  1064. data/vendor/refinerycms/core/public/stylesheets/refinery/ie-less-than-8.css +0 -21
  1065. data/vendor/refinerycms/core/public/stylesheets/refinery/ie-less-than-9.css +0 -26
  1066. data/vendor/refinerycms/core/public/stylesheets/refinery/refinery.css +0 -1500
  1067. data/vendor/refinerycms/core/public/stylesheets/refinery/site_bar.css +0 -81
  1068. data/vendor/refinerycms/core/public/stylesheets/refinery/ui.css +0 -101
  1069. data/vendor/refinerycms/core/public/stylesheets/theme.css +0 -1
  1070. data/vendor/refinerycms/core/public/stylesheets/wymeditor/skins/refinery/skin.css +0 -219
  1071. data/vendor/refinerycms/dashboard/app/controllers/admin/dashboard_controller.rb +0 -38
  1072. data/vendor/refinerycms/dashboard/app/helpers/admin/dashboard_helper.rb +0 -20
  1073. data/vendor/refinerycms/dashboard/app/views/admin/dashboard/_recent_activity.html.erb +0 -12
  1074. data/vendor/refinerycms/dashboard/app/views/admin/dashboard/index.html.erb +0 -72
  1075. data/vendor/refinerycms/dashboard/config/locales/da.yml +0 -24
  1076. data/vendor/refinerycms/dashboard/config/locales/de.yml +0 -24
  1077. data/vendor/refinerycms/dashboard/config/locales/en.yml +0 -24
  1078. data/vendor/refinerycms/dashboard/config/locales/es.yml +0 -27
  1079. data/vendor/refinerycms/dashboard/config/locales/fr.yml +0 -24
  1080. data/vendor/refinerycms/dashboard/config/locales/it.yml +0 -24
  1081. data/vendor/refinerycms/dashboard/config/locales/lv.yml +0 -25
  1082. data/vendor/refinerycms/dashboard/config/locales/nb.yml +0 -27
  1083. data/vendor/refinerycms/dashboard/config/locales/nl.yml +0 -23
  1084. data/vendor/refinerycms/dashboard/config/locales/pt-BR.yml +0 -28
  1085. data/vendor/refinerycms/dashboard/config/locales/ru.yml +0 -27
  1086. data/vendor/refinerycms/dashboard/config/locales/sl.yml +0 -23
  1087. data/vendor/refinerycms/dashboard/config/locales/zh-CN.yml +0 -23
  1088. data/vendor/refinerycms/dashboard/config/routes.rb +0 -11
  1089. data/vendor/refinerycms/dashboard/features/dashboard.feature +0 -56
  1090. data/vendor/refinerycms/dashboard/lib/dashboard.rb +0 -19
  1091. data/vendor/refinerycms/dashboard/readme.md +0 -22
  1092. data/vendor/refinerycms/images/app/controllers/admin/images_controller.rb +0 -116
  1093. data/vendor/refinerycms/images/app/helpers/admin/images_helper.rb +0 -27
  1094. data/vendor/refinerycms/images/app/models/image.rb +0 -72
  1095. data/vendor/refinerycms/images/app/views/admin/images/_existing_image.html.erb +0 -73
  1096. data/vendor/refinerycms/images/app/views/admin/images/_form.html.erb +0 -51
  1097. data/vendor/refinerycms/images/app/views/admin/images/_grid_view.html.erb +0 -19
  1098. data/vendor/refinerycms/images/app/views/admin/images/_list_view.html.erb +0 -14
  1099. data/vendor/refinerycms/images/app/views/admin/images/_list_view_image.html.erb +0 -17
  1100. data/vendor/refinerycms/images/app/views/admin/images/index.html.erb +0 -43
  1101. data/vendor/refinerycms/images/app/views/admin/images/insert.html.erb +0 -47
  1102. data/vendor/refinerycms/images/config/locales/da.yml +0 -42
  1103. data/vendor/refinerycms/images/config/locales/de.yml +0 -38
  1104. data/vendor/refinerycms/images/config/locales/en.yml +0 -38
  1105. data/vendor/refinerycms/images/config/locales/es.yml +0 -37
  1106. data/vendor/refinerycms/images/config/locales/fr.yml +0 -42
  1107. data/vendor/refinerycms/images/config/locales/it.yml +0 -40
  1108. data/vendor/refinerycms/images/config/locales/lv.yml +0 -38
  1109. data/vendor/refinerycms/images/config/locales/nb.yml +0 -46
  1110. data/vendor/refinerycms/images/config/locales/nl.yml +0 -37
  1111. data/vendor/refinerycms/images/config/locales/pt-BR.yml +0 -38
  1112. data/vendor/refinerycms/images/config/locales/ru.yml +0 -46
  1113. data/vendor/refinerycms/images/config/locales/sl.yml +0 -37
  1114. data/vendor/refinerycms/images/config/locales/zh-CN.yml +0 -35
  1115. data/vendor/refinerycms/images/config/routes.rb +0 -12
  1116. data/vendor/refinerycms/images/features/manage_images.feature +0 -48
  1117. data/vendor/refinerycms/images/features/step_definitions/image_steps.rb +0 -37
  1118. data/vendor/refinerycms/images/lib/images.rb +0 -60
  1119. data/vendor/refinerycms/images/readme.md +0 -34
  1120. data/vendor/refinerycms/images/spec/models/image_spec.rb +0 -50
  1121. data/vendor/refinerycms/pages/app/controllers/admin/page_parts_controller.rb +0 -22
  1122. data/vendor/refinerycms/pages/app/controllers/admin/pages_controller.rb +0 -33
  1123. data/vendor/refinerycms/pages/app/controllers/admin/pages_dialogs_controller.rb +0 -80
  1124. data/vendor/refinerycms/pages/app/controllers/pages_controller.rb +0 -45
  1125. data/vendor/refinerycms/pages/app/models/page.rb +0 -258
  1126. data/vendor/refinerycms/pages/app/models/page_part.rb +0 -21
  1127. data/vendor/refinerycms/pages/app/sweepers/page_sweeper.rb +0 -18
  1128. data/vendor/refinerycms/pages/app/views/admin/pages/_form.html.erb +0 -56
  1129. data/vendor/refinerycms/pages/app/views/admin/pages/_form_advanced_options.html.erb +0 -62
  1130. data/vendor/refinerycms/pages/app/views/admin/pages/_form_page_parts.html.erb +0 -37
  1131. data/vendor/refinerycms/pages/app/views/admin/pages/_page.html.erb +0 -35
  1132. data/vendor/refinerycms/pages/app/views/admin/pages/_sortable_list.html.erb +0 -4
  1133. data/vendor/refinerycms/pages/app/views/admin/pages/index.html.erb +0 -35
  1134. data/vendor/refinerycms/pages/app/views/admin/pages_dialogs/_page_link.html.erb +0 -5
  1135. data/vendor/refinerycms/pages/app/views/admin/pages_dialogs/link_to.html.erb +0 -134
  1136. data/vendor/refinerycms/pages/config/locales/da.yml +0 -53
  1137. data/vendor/refinerycms/pages/config/locales/de.yml +0 -83
  1138. data/vendor/refinerycms/pages/config/locales/en.yml +0 -83
  1139. data/vendor/refinerycms/pages/config/locales/es.yml +0 -82
  1140. data/vendor/refinerycms/pages/config/locales/fr.yml +0 -53
  1141. data/vendor/refinerycms/pages/config/locales/it.yml +0 -53
  1142. data/vendor/refinerycms/pages/config/locales/lv.yml +0 -85
  1143. data/vendor/refinerycms/pages/config/locales/nb.yml +0 -95
  1144. data/vendor/refinerycms/pages/config/locales/nl.yml +0 -77
  1145. data/vendor/refinerycms/pages/config/locales/pt-BR.yml +0 -83
  1146. data/vendor/refinerycms/pages/config/locales/ru.yml +0 -97
  1147. data/vendor/refinerycms/pages/config/locales/sl.yml +0 -82
  1148. data/vendor/refinerycms/pages/config/locales/zh-CN.yml +0 -75
  1149. data/vendor/refinerycms/pages/config/routes.rb +0 -21
  1150. data/vendor/refinerycms/pages/features/manage_pages.feature +0 -47
  1151. data/vendor/refinerycms/pages/features/step_definitions/page_steps.rb +0 -53
  1152. data/vendor/refinerycms/pages/features/support/paths.rb +0 -26
  1153. data/vendor/refinerycms/pages/features/visit_pages.feature +0 -45
  1154. data/vendor/refinerycms/pages/lib/pages.rb +0 -34
  1155. data/vendor/refinerycms/pages/lib/pages/marketable_routes.rb +0 -3
  1156. data/vendor/refinerycms/pages/readme.md +0 -156
  1157. data/vendor/refinerycms/pages/spec/models/page_spec.rb +0 -143
  1158. data/vendor/refinerycms/refinery.rb +0 -45
  1159. data/vendor/refinerycms/refinerycms.rb +0 -12
  1160. data/vendor/refinerycms/resources/app/controllers/admin/resources_controller.rb +0 -87
  1161. data/vendor/refinerycms/resources/app/models/resource.rb +0 -40
  1162. data/vendor/refinerycms/resources/app/views/admin/resources/_form.html.erb +0 -52
  1163. data/vendor/refinerycms/resources/app/views/admin/resources/_resource.html.erb +0 -17
  1164. data/vendor/refinerycms/resources/app/views/admin/resources/index.html.erb +0 -45
  1165. data/vendor/refinerycms/resources/app/views/admin/resources/insert.html.erb +0 -54
  1166. data/vendor/refinerycms/resources/config/locales/da.yml +0 -32
  1167. data/vendor/refinerycms/resources/config/locales/de.yml +0 -31
  1168. data/vendor/refinerycms/resources/config/locales/en.yml +0 -31
  1169. data/vendor/refinerycms/resources/config/locales/es.yml +0 -30
  1170. data/vendor/refinerycms/resources/config/locales/fr.yml +0 -32
  1171. data/vendor/refinerycms/resources/config/locales/it.yml +0 -32
  1172. data/vendor/refinerycms/resources/config/locales/lv.yml +0 -30
  1173. data/vendor/refinerycms/resources/config/locales/nb.yml +0 -33
  1174. data/vendor/refinerycms/resources/config/locales/nl.yml +0 -30
  1175. data/vendor/refinerycms/resources/config/locales/pt-BR.yml +0 -31
  1176. data/vendor/refinerycms/resources/config/locales/ru.yml +0 -33
  1177. data/vendor/refinerycms/resources/config/locales/sl.yml +0 -30
  1178. data/vendor/refinerycms/resources/config/locales/zh-CN.yml +0 -29
  1179. data/vendor/refinerycms/resources/config/routes.rb +0 -11
  1180. data/vendor/refinerycms/resources/features/manage_files.feature +0 -43
  1181. data/vendor/refinerycms/resources/features/step_definitions/file_steps.rb +0 -21
  1182. data/vendor/refinerycms/resources/lib/resources.rb +0 -58
  1183. data/vendor/refinerycms/resources/readme.md +0 -9
  1184. data/vendor/refinerycms/resources/spec/models/resource_spec.rb +0 -45
  1185. data/vendor/refinerycms/settings/app/controllers/admin/refinery_settings_controller.rb +0 -60
  1186. data/vendor/refinerycms/settings/app/models/refinery_setting.rb +0 -212
  1187. data/vendor/refinerycms/settings/app/views/admin/refinery_settings/_form.html.erb +0 -51
  1188. data/vendor/refinerycms/settings/app/views/admin/refinery_settings/_refinery_setting.html.erb +0 -17
  1189. data/vendor/refinerycms/settings/app/views/admin/refinery_settings/index.html.erb +0 -55
  1190. data/vendor/refinerycms/settings/config/locales/da.yml +0 -49
  1191. data/vendor/refinerycms/settings/config/locales/de.yml +0 -43
  1192. data/vendor/refinerycms/settings/config/locales/en.yml +0 -44
  1193. data/vendor/refinerycms/settings/config/locales/es.yml +0 -42
  1194. data/vendor/refinerycms/settings/config/locales/fr.yml +0 -23
  1195. data/vendor/refinerycms/settings/config/locales/it.yml +0 -23
  1196. data/vendor/refinerycms/settings/config/locales/lv.yml +0 -43
  1197. data/vendor/refinerycms/settings/config/locales/nb.yml +0 -45
  1198. data/vendor/refinerycms/settings/config/locales/nl.yml +0 -42
  1199. data/vendor/refinerycms/settings/config/locales/pt-BR.yml +0 -43
  1200. data/vendor/refinerycms/settings/config/locales/ru.yml +0 -45
  1201. data/vendor/refinerycms/settings/config/locales/sl.yml +0 -24
  1202. data/vendor/refinerycms/settings/config/locales/zh-CN.yml +0 -40
  1203. data/vendor/refinerycms/settings/config/routes.rb +0 -5
  1204. data/vendor/refinerycms/settings/features/step_definitions/setting_steps.rb +0 -9
  1205. data/vendor/refinerycms/settings/lib/settings.rb +0 -16
  1206. data/vendor/refinerycms/settings/readme.md +0 -55
@@ -1,63 +0,0 @@
1
- ActionView::Helpers::FormHelper.module_eval do
2
-
3
- def required_label(object_name, method, text = nil, options = {})
4
- options = {:class => "required"}.merge!(options)
5
-
6
- label(object_name, method, "#{label_humanize_text(object_name, method, text, options)} *", options)
7
- end
8
-
9
-
10
- def label_humanize_text object_name, method, text = nil, options = {}
11
- if text.blank?
12
- text = object_name.classify.constantize.respond_to?(:human_attribute_name) ? object_name.classify.constantize.human_attribute_name(method) : method.to_s
13
- else
14
- text = text.to_s
15
- end
16
- text.humanize
17
- end
18
-
19
- end
20
-
21
- ActionView::Helpers::FormBuilder.module_eval do
22
-
23
- def required_label(method, text = nil, options = {})
24
- @template.required_label(@object_name, method, text, objectify_options(options))
25
- end
26
-
27
- end
28
-
29
- ActionView::Helpers::FormTagHelper.module_eval do
30
-
31
- def required_label_tag(name, text = nil, options = {})
32
- options = {:class => "required"}.merge!(options)
33
- text ||= "#{name.to_s.humanize} *"
34
-
35
- label_tag(name, text, options)
36
- end
37
-
38
- end
39
-
40
-
41
- # I18n labels automatically
42
- module ActionView
43
- module Helpers
44
- class InstanceTag
45
- def to_label_tag(text = nil, options = {})
46
- options = options.stringify_keys
47
- name_and_id = options.dup
48
- add_default_name_and_id(name_and_id)
49
- options.delete("index")
50
- options["for"] ||= name_and_id["id"]
51
- if text.blank?
52
- content = method_name.humanize
53
- if object.class.respond_to?(:human_attribute_name)
54
- content = object.class.human_attribute_name(method_name)
55
- end
56
- else
57
- content = text.to_s
58
- end
59
- label_tag(name_and_id["id"], content, options)
60
- end
61
- end
62
- end
63
- end
@@ -1,26 +0,0 @@
1
- require_dependency 'truncate_html'
2
-
3
- module Refinery
4
- module Helpers
5
- module HtmlTruncationHelper
6
-
7
- # Like the Rails _truncate_ helper but doesn't break HTML tags, entities, and words.
8
- # <script> tags pass through and are not counted in the total.
9
- # the omission specified _does_ count toward the total length count.
10
- # use :link => link_to('more', post_path), or something to that effect
11
- def truncate(text, *args)
12
- return unless text.present?
13
- return super unless ((arguments = args.dup).extract_options![:preserve_html_tags] == true) # don't ruin the current args object
14
-
15
- options = args.extract_options!
16
- max_length = options[:length] || 30
17
- omission = options[:omission] || "..."
18
-
19
- return truncate_html(text,
20
- :length => max_length,
21
- :word_boundary => true,
22
- :omission => omission)
23
- end
24
- end
25
- end
26
- end
@@ -1,38 +0,0 @@
1
- module Refinery
2
- module Helpers
3
- module ImageHelper
4
-
5
- # replace all system images with a thumbnail version of them (handy for all images inside a page part)
6
- # for example, <%= content_fu(@page[:body], '96x96#c') %> converts all /system/images to a 96x96 cropped thumbnail
7
- def content_fu(content, thumbnail)
8
- raise NotImplementedError # todo: implement for new syntax.
9
-
10
- content.scan(/\/system\/images([^\"\ ]*)/).flatten.each do |match|
11
- parts = match.split(".")
12
- extension = parts.pop
13
- content.gsub!(match, "#{parts.join(".")}_#{thumbnail}.#{extension}")
14
- end unless content.blank?
15
-
16
- return content
17
- end
18
-
19
- # image_fu is a helper for inserting an image that has been uploaded into a template.
20
- # Say for example that we had a @model.image (@model having a belongs_to :image relationship)
21
- # and we wanted to display a thumbnail cropped to 200x200 then we can use image_fu like this:
22
- # <%= image_fu @model.image, '200x200' %> or with no thumbnail: <%= image_fu @model.image %>
23
- def image_fu(image, geometry = nil, options={})
24
- if image.present?
25
- # call rails' image tag function with default alt tag.
26
- # if any other options were supplied these are merged in and can replace the defaults.
27
- # if the geomtry is nil, then we know the image height and width already.
28
- image_tag(image.thumbnail(geometry).url, {
29
- :alt => image.respond_to?(:title) ? image.title : image.image_name,
30
- :width => (image.image_width if geometry.nil?),
31
- :height => (image.image_height if geometry.nil?)
32
- }.merge(options))
33
- end
34
- end
35
-
36
- end
37
- end
38
- end
@@ -1,68 +0,0 @@
1
- module Refinery
2
- module Helpers
3
- module MenuHelper
4
-
5
- # Adds conditional caching
6
- def cache_if(condition, name = {}, &block)
7
- if condition
8
- cache(name, &block)
9
- else
10
- yield
11
- end
12
-
13
- # for <%= style helpers vs <% style
14
- nil
15
- end
16
-
17
- # This was extracted from REFINERY_ROOT/vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb
18
- # to remove the complexity of that template by reducing logic in the view.
19
- def css_for_menu_branch(menu_branch, menu_branch_counter, sibling_count = nil, collection = [], selected_item = nil)
20
- css = []
21
- css << "selected" if selected_page_or_descendant_page_selected?(menu_branch, collection, selected_item)
22
- css << "first" if menu_branch_counter == 0
23
- css << "last" if menu_branch_counter == (sibling_count ||= menu_branch.shown_siblings.size)
24
- css
25
- end
26
-
27
- # Determines whether any page underneath the supplied page is the current page according to rails.
28
- # Just calls selected_page? for each descendant of the supplied page.
29
- # if you pass a collection it won't check its own descendants but use the collection supplied.
30
- def descendant_page_selected?(page, collection = [], selected_item = nil)
31
- return false unless page.has_descendants? or (selected_item && !selected_item.in_menu?)
32
-
33
- descendants = if collection.present? and (!selected_item or (selected_item && selected_item.in_menu?))
34
- collection.select{ |item| item.parent_id == page.id }
35
- else
36
- page.descendants
37
- end
38
-
39
- descendants.any? do |descendant|
40
- selected_item ? selected_item == descendant : selected_page?(descendant)
41
- end
42
- end
43
-
44
- def selected_page_or_descendant_page_selected?(page, collection = [], selected_item = nil)
45
- selected = false
46
- selected = selected_item ? selected_item === page : selected_page?(page)
47
- selected = descendant_page_selected?(page, collection, selected_item) unless selected
48
- selected
49
- end
50
-
51
- # Determine whether the supplied page is the currently open page according to Refinery.
52
- # Also checks whether Rails thinks it is selected after that using current_page?
53
- def selected_page?(page)
54
- # ensure we match the path without the locale.
55
- path = request.path
56
- if defined?(::Refinery::I18n) and ::Refinery::I18n.enabled?
57
- path = path.split("/#{::I18n.locale}").last
58
- end
59
-
60
- (path =~ Regexp.new(page.menu_match) if page.menu_match.present?) or
61
- (path == page.link_url) or
62
- (path == page.nested_path) or
63
- current_page?(page)
64
- end
65
-
66
- end
67
- end
68
- end
@@ -1,67 +0,0 @@
1
- module Refinery
2
- module Helpers
3
- module MetaHelper
4
-
5
- # This is used to display the title of the current object (normally a page) in the browser's titlebar.
6
- #
7
- def browser_title(yield_title=nil)
8
- [
9
- yield_title.present? ? yield_title : nil,
10
- @meta.browser_title.present? ? @meta.browser_title : @meta.path,
11
- RefinerySetting.find_or_set(:site_name, "Company Name")
12
- ].compact.join(" - ")
13
- end
14
-
15
- # you can override the object used for the title by supplying options[:object]
16
- # this object must support custom_title_type if you want custom titles.
17
- def page_title(options = {})
18
- object = options.fetch(:object, @meta)
19
- options.delete(:object)
20
- options = RefinerySetting.find_or_set(:page_title, {
21
- :chain_page_title => false,
22
- :ancestors => {
23
- :separator => " | ",
24
- :class => 'ancestors',
25
- :tag => 'span'
26
- },
27
- :page_title => {
28
- :class => nil,
29
- :tag => nil,
30
- :wrap_if_not_chained => false
31
- }
32
- }).merge(options)
33
-
34
- title = []
35
- objects = (options[:chain_page_title] and object.respond_to?(:ancestors)) ? [object.ancestors, object] : [object]
36
-
37
- objects.flatten.compact.each do |obj|
38
- if obj.respond_to?(:custom_title_type)
39
- title << case obj.custom_title_type
40
- when "text"
41
- obj.custom_title
42
- when "image"
43
- image_fu(obj.custom_title_image, nil, {:alt => obj.title}) rescue obj.title
44
- else
45
- obj.title
46
- end
47
- else
48
- title << obj.title
49
- end
50
- end
51
-
52
- final_title = title.pop
53
- if (options[:page_title][:wrap_if_not_chained] and title.empty?) and options[:page_title][:tag].present?
54
- css = options[:page_title][:class].present? ? " class='#{options[:page_title][:class]}'" : nil
55
- final_title = "<#{options[:page_title][:tag]}#{css}>#{final_title}</#{options[:page_title][:tag]}>"
56
- end
57
-
58
- if title.empty?
59
- return final_title.to_s.html_safe
60
- else
61
- return "<#{options[:ancestors][:tag]} class='#{options[:ancestors][:class]}'>#{title.join options[:ancestors][:separator]}#{options[:ancestors][:separator]}</#{options[:ancestors][:tag]}>#{final_title}".html_safe
62
- end
63
- end
64
-
65
- end
66
- end
67
- end
@@ -1,36 +0,0 @@
1
- module Refinery
2
- module Helpers
3
- module ScriptHelper
4
-
5
- # This function helps when including both the jquery and jqueryui libraries.
6
- # If you use this function then whenever we update or relocate the version of jquery or jquery ui in use
7
- # we will update the reference here and your existing application starts to use it.
8
- # Use <%= jquery_include_tags %> to include it in your <head> section.
9
- def jquery_include_tags(options={})
10
- # Merge in options
11
- options = {
12
- :caching => RefinerySetting.find_or_set(:use_resource_caching, Rails.root.writable?),
13
- :google => RefinerySetting.find_or_set(:use_google_ajax_libraries, false),
14
- :jquery_ui => true
15
- }.merge(options)
16
-
17
- # render the tags normally unless
18
- unless options[:google] and !local_request?
19
- if options[:jquery_ui]
20
- javascript_include_tag "jquery#{"-min" if Rails.env.production?}", "jquery-ui-custom-min",
21
- :cache => (options[:caching] ? "cache/jquery" : nil)
22
- else
23
- javascript_include_tag "jquery#{"-min" if Rails.env.production?}"
24
- end
25
- else
26
- "#{javascript_include_tag("http://www.google.com/jsapi").gsub(".js", "")}
27
- <script type='text/javascript'>
28
- google.load('jquery', '1.4');
29
- #{"google.load('jqueryui', '1.8');" if options[:jquery_ui]}
30
- </script>".html_safe
31
- end
32
- end
33
-
34
- end
35
- end
36
- end
@@ -1,26 +0,0 @@
1
- module Refinery
2
- module Helpers
3
- module SiteBarHelper
4
-
5
- # Generates the link to determine where the site bar switch button returns to.
6
- def site_bar_switch_link
7
- link_to_if(admin?, t('.switch_to_your_website'),
8
- (if session.keys.include?(:website_return_to) and session[:website_return_to].present?
9
- session[:website_return_to]
10
- else
11
- root_url(:only_path => true)
12
- end)) do
13
- link_to t('.switch_to_your_website_editor'),
14
- (if session.keys.include?(:refinery_return_to) and session[:refinery_return_to].present?
15
- session[:refinery_return_to]
16
- elsif defined?(@page) and @page.present? and !@page.home?
17
- edit_admin_page_url(@page, :only_path => true)
18
- else
19
- (request.fullpath.to_s == '/') ? admin_root_url(:only_path => true) : "/admin#{request.fullpath}/edit"
20
- end rescue admin_root_url(:only_path => true))
21
- end
22
- end
23
-
24
- end
25
- end
26
- end
@@ -1,19 +0,0 @@
1
- module Refinery
2
- module Helpers
3
- module TagHelper
4
-
5
- # Returns <span class='help' title='Your Input'>(help)</span>
6
- # Remember to wrap your block with <span class='label_with_help'></span> if you're using a label next to the help tag.
7
- def refinery_help_tag(title='')
8
- "<span class='help' title='#{title}'>(#{t('shared.admin.help')})</span>".html_safe
9
- end
10
-
11
- # This is just a quick wrapper to render an image tag that lives inside refinery/icons.
12
- # They are all 16x16 so this is the default but is able to be overriden with supplied options.
13
- def refinery_icon_tag(filename, options = {})
14
- image_tag "refinery/icons/#{filename}", {:width => 16, :height => 16}.merge(options)
15
- end
16
-
17
- end
18
- end
19
- end
@@ -1,134 +0,0 @@
1
- module Refinery
2
- module Engines; end;
3
-
4
- class Plugin
5
-
6
- def self.register(&block)
7
- plugin = self.new
8
-
9
- yield plugin
10
-
11
- if defined?(Page) && (reserved_word = plugin.controller.nil? ? plugin.name : plugin.controller)
12
- # Prevent page slugs from being this plugin's controller name
13
- Page.friendly_id_config.reserved_words << reserved_word
14
- end
15
-
16
- raise "A plugin MUST have a name!: #{plugin.inspect}" if plugin.name.blank?
17
-
18
- # Set the root as Rails::Engine.called_from will always be
19
- # vendor/engines/refinery/lib/refinery
20
- new_called_from = begin
21
- # Remove the line number from backtraces making sure we don't leave anything behind
22
- call_stack = caller.map { |p| p.split(':')[0..-2].join(':') }
23
- File.dirname(call_stack.detect { |p| p !~ %r[railties[\w\-\.]*/lib/rails|rack[\w\-\.]*/lib/rack] })
24
- end
25
-
26
- klass = Class.new(Rails::Engine)
27
- klass.class_eval <<-RUBY
28
- def self.called_from; "#{new_called_from}"; end
29
- RUBY
30
- Object.const_set(plugin.class_name.to_sym, klass)
31
- end
32
-
33
- attr_accessor :name, :class_name, :controller, :directory, :url,
34
- :version, :dashboard, :always_allow_access,
35
- :menu_match, :hide_from_menu,
36
- :pathname, :plugin_activity
37
- attr_reader :description
38
-
39
- # Returns the class name of the plugin
40
- def class_name
41
- @class_name ||= name.camelize
42
- end
43
-
44
- # Returns the internationalized version of the title
45
- def title
46
- ::I18n.translate("plugins.#{name}.title")
47
- end
48
-
49
- # Returns the internationalized version of the description
50
- def description
51
- ::I18n.translate("plugins.#{name}.description")
52
- end
53
-
54
- # Depreciation warning
55
- def title=(title)
56
- warn('title', caller)
57
- end
58
-
59
- # Depreciation warning
60
- def description=(description)
61
- warn('description', caller)
62
- end
63
-
64
- # Retrieve information about how to access the latest activities of this plugin.
65
- def activity
66
- self.plugin_activity ||= []
67
- end
68
-
69
- # Stores information that can be used to retrieve the latest activities of this plugin
70
- def activity=(activities)
71
- [activities].flatten.each { |activity| add_activity(activity) }
72
- end
73
-
74
- # Returns true, if the user doesn't require plugin access
75
- def always_allow_access?
76
- @always_allow_access ||= false
77
- end
78
-
79
- # Special property to indicate that this plugin is the dashboard plugin.
80
- def dashboard?
81
- @dashboard ||= false
82
- end
83
-
84
- # Used to highlight the current tab in the admin interface
85
- def highlighted?(params)
86
- (params[:controller] =~ self.menu_match) or (self.dashboard? and params[:action] == 'error_404')
87
- end
88
-
89
- # Returns a RegExp that matches, if the current page is part of the plugin.
90
- def menu_match
91
- @menu_match ||= /(admin|refinery)\/#{self.name}$/
92
- end
93
-
94
- # Returns a hash that can be used to create a url that points to the administration part of the plugin.
95
- def url
96
- return @url if defined?(@url)
97
-
98
- if self.controller.present?
99
- @url = {:controller => "/admin/#{self.controller}"}
100
- elsif self.directory.present?
101
- @url = {:controller => "/admin/#{self.directory.split('/').pop}"}
102
- else
103
- @url = {:controller => "/admin/#{self.name}"}
104
- end
105
- end
106
-
107
- # Make this protected, so that only Plugin.register can use it.
108
- protected
109
-
110
- def add_activity(options)
111
- (self.plugin_activity ||= []) << Activity::new(options)
112
- end
113
-
114
- def initialize
115
- # save the pathname to where this plugin is using its lib directory which is standard now.
116
- depth = RUBY_VERSION >= "1.9.2" ? 4 : 3
117
- self.pathname = Pathname.new(caller(depth).first.match("(.*)#{File::SEPARATOR}lib")[1])
118
- Refinery::Plugins.registered << self # add me to the collection of registered plugins
119
- end
120
-
121
- private
122
- def warn(what, caller)
123
- warning = ["\n*** DEPRECATION WARNING ***"]
124
- warning << "You cannot use plugin.#{what} anymore."
125
- warning << "#{what.pluralize.titleize} will be internationalized by the I18n api."
126
- warning << ""
127
- warning << "See http://github.com/resolve/refinerycms/blob/master/vendor/refinerycms/core/engines.md#readme"
128
- warning << "Section: 'The Structure of a Plugin'"
129
- warning << ""
130
- warning << "Called from: #{caller.first.inspect}\n\n"
131
- $stdout.puts warning.join("\n")
132
- end
133
- end
134
- end