refinerycms 0.9.9 → 0.9.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (630) hide show
  1. data/.gitignore +1 -1
  2. data/Gemfile +8 -24
  3. data/Gemfile.lock +94 -69
  4. data/Rakefile +1 -1
  5. data/bin/refinerycms +118 -109
  6. data/changelog.md +13 -2
  7. data/config/cucumber.yml +3 -7
  8. data/config/settings.rb +0 -1
  9. data/lib/refinery.rb +14 -1
  10. data/lib/refinerycms.rb +2 -9
  11. data/refinerycms.gemspec +15 -855
  12. data/spec/spec_helper.rb +3 -2
  13. metadata +27 -907
  14. data/authentication/app/controllers/admin/users_controller.rb +0 -90
  15. data/authentication/app/controllers/passwords_controller.rb +0 -43
  16. data/authentication/app/controllers/registrations_controller.rb +0 -67
  17. data/authentication/app/controllers/sessions_controller.rb +0 -23
  18. data/authentication/app/helpers/sessions_helper.rb +0 -2
  19. data/authentication/app/helpers/users_helper.rb +0 -2
  20. data/authentication/app/mailers/user_mailer.rb +0 -20
  21. data/authentication/app/models/role.rb +0 -16
  22. data/authentication/app/models/roles_users.rb +0 -6
  23. data/authentication/app/models/user.rb +0 -58
  24. data/authentication/app/models/user_plugin.rb +0 -5
  25. data/authentication/app/views/admin/users/_form.html.erb +0 -92
  26. data/authentication/app/views/admin/users/_user.html.erb +0 -19
  27. data/authentication/app/views/admin/users/_users.html.erb +0 -4
  28. data/authentication/app/views/admin/users/edit.html.erb +0 -1
  29. data/authentication/app/views/admin/users/index.html.erb +0 -12
  30. data/authentication/app/views/admin/users/new.html.erb +0 -1
  31. data/authentication/app/views/layouts/login.html.erb +0 -21
  32. data/authentication/app/views/passwords/edit.html.erb +0 -31
  33. data/authentication/app/views/passwords/new.html.erb +0 -18
  34. data/authentication/app/views/registrations/new.html.erb +0 -41
  35. data/authentication/app/views/sessions/new.html.erb +0 -29
  36. data/authentication/app/views/user_mailer/reset_notification.html.erb +0 -12
  37. data/authentication/app/views/user_mailer/reset_notification.text.plain.erb +0 -7
  38. data/authentication/config/locales/cs.yml +0 -75
  39. data/authentication/config/locales/da.yml +0 -72
  40. data/authentication/config/locales/de.yml +0 -72
  41. data/authentication/config/locales/el.yml +0 -72
  42. data/authentication/config/locales/en.yml +0 -72
  43. data/authentication/config/locales/es.yml +0 -100
  44. data/authentication/config/locales/fr.yml +0 -72
  45. data/authentication/config/locales/it.yml +0 -97
  46. data/authentication/config/locales/lolcat.yml +0 -55
  47. data/authentication/config/locales/lt.yml +0 -55
  48. data/authentication/config/locales/lv.yml +0 -72
  49. data/authentication/config/locales/nb.yml +0 -72
  50. data/authentication/config/locales/nl.yml +0 -70
  51. data/authentication/config/locales/pl.yml +0 -100
  52. data/authentication/config/locales/pt-BR.yml +0 -68
  53. data/authentication/config/locales/rs.yml +0 -72
  54. data/authentication/config/locales/ru.yml +0 -97
  55. data/authentication/config/locales/sl.yml +0 -61
  56. data/authentication/config/locales/sv.yml +0 -64
  57. data/authentication/config/locales/zh-CN.yml +0 -72
  58. data/authentication/config/locales/zh-TW.yml +0 -72
  59. data/authentication/config/routes.rb +0 -31
  60. data/authentication/db/migrate/20100913234705_create_refinerycms_authentication_schema.rb +0 -43
  61. data/authentication/db/migrate/20100929035252_add_missing_indexes_to_roles_users.rb +0 -11
  62. data/authentication/db/migrate/20101206013505_change_to_devise_users_table.rb +0 -27
  63. data/authentication/db/migrate/20110106184757_add_remember_created_at_to_users.rb +0 -9
  64. data/authentication/features/lost_password.feature +0 -49
  65. data/authentication/features/manage_users.feature +0 -61
  66. data/authentication/features/step_definitions/lost_password.rb +0 -8
  67. data/authentication/features/step_definitions/user_steps.rb +0 -36
  68. data/authentication/features/support/factories.rb +0 -18
  69. data/authentication/features/support/paths.rb +0 -24
  70. data/authentication/lib/authenticated_system.rb +0 -29
  71. data/authentication/lib/authentication.rb +0 -30
  72. data/authentication/lib/generators/refinerycms_authentication_generator.rb +0 -8
  73. data/authentication/license.md +0 -21
  74. data/authentication/readme.md +0 -17
  75. data/authentication/refinerycms-authentication.gemspec +0 -20
  76. data/authentication/spec/models/user_spec.rb +0 -159
  77. data/base/db/migrate/20100913234706_create_refinerycms_core_schema.rb +0 -23
  78. data/base/db/migrate/20101217113424_add_locale_to_slugs.rb +0 -13
  79. data/base/features/step_definitions/web_steps.rb +0 -219
  80. data/base/features/support/env.rb +0 -84
  81. data/base/features/support/factories.rb +0 -1
  82. data/base/features/support/negative_expectations_helper.rb +0 -57
  83. data/base/features/support/paths.rb +0 -91
  84. data/base/lib/base.rb +0 -32
  85. data/base/lib/generators/refinerycms_base_generator.rb +0 -8
  86. data/base/lib/refinery.rb +0 -32
  87. data/base/lib/refinery/version.rb +0 -16
  88. data/base/license.md +0 -21
  89. data/base/refinerycms-base.gemspec +0 -18
  90. data/core/app/controllers/admin/base_controller.rb +0 -10
  91. data/core/app/controllers/admin/dialogs_controller.rb +0 -26
  92. data/core/app/controllers/admin/refinery_core_controller.rb +0 -12
  93. data/core/app/controllers/application_controller.rb +0 -6
  94. data/core/app/controllers/refinery/fast_controller.rb +0 -9
  95. data/core/app/controllers/sitemap_controller.rb +0 -14
  96. data/core/app/helpers/application_helper.rb +0 -5
  97. data/core/app/views/admin/_head.html.erb +0 -43
  98. data/core/app/views/admin/_javascripts.html.erb +0 -32
  99. data/core/app/views/admin/_menu.html.erb +0 -17
  100. data/core/app/views/admin/dialogs/show.html.erb +0 -19
  101. data/core/app/views/layouts/admin.html.erb +0 -24
  102. data/core/app/views/layouts/admin_dialog.html.erb +0 -14
  103. data/core/app/views/layouts/application.html.erb +0 -21
  104. data/core/app/views/shared/_content_page.html.erb +0 -63
  105. data/core/app/views/shared/_draft_page_message.html.erb +0 -3
  106. data/core/app/views/shared/_footer.html.erb +0 -4
  107. data/core/app/views/shared/_google_analytics.html.erb +0 -8
  108. data/core/app/views/shared/_head.html.erb +0 -42
  109. data/core/app/views/shared/_header.html.erb +0 -8
  110. data/core/app/views/shared/_html_tag.html.erb +0 -6
  111. data/core/app/views/shared/_ie6check.html.erb +0 -63
  112. data/core/app/views/shared/_javascripts.html.erb +0 -10
  113. data/core/app/views/shared/_menu.html.erb +0 -30
  114. data/core/app/views/shared/_menu_branch.html.erb +0 -26
  115. data/core/app/views/shared/_message.html.erb +0 -10
  116. data/core/app/views/shared/_no_script.html.erb +0 -9
  117. data/core/app/views/shared/_site_bar.html.erb +0 -25
  118. data/core/app/views/shared/admin/_continue_editing.html.erb +0 -3
  119. data/core/app/views/shared/admin/_error_messages.html.erb +0 -16
  120. data/core/app/views/shared/admin/_form_actions.html.erb +0 -77
  121. data/core/app/views/shared/admin/_image_picker.html.erb +0 -60
  122. data/core/app/views/shared/admin/_make_sortable.html.erb +0 -13
  123. data/core/app/views/shared/admin/_resource_picker.html.erb +0 -66
  124. data/core/app/views/shared/admin/_search.html.erb +0 -6
  125. data/core/app/views/shared/admin/_sortable_list.html.erb +0 -7
  126. data/core/app/views/shared/admin/_tabbed_fields.html.erb +0 -42
  127. data/core/app/views/welcome.html.erb +0 -17
  128. data/core/app/views/wymiframe.html.erb +0 -15
  129. data/core/config/locales/cs.yml +0 -77
  130. data/core/config/locales/da.yml +0 -75
  131. data/core/config/locales/de.yml +0 -75
  132. data/core/config/locales/el.yml +0 -75
  133. data/core/config/locales/en.yml +0 -75
  134. data/core/config/locales/es.yml +0 -68
  135. data/core/config/locales/fr.yml +0 -72
  136. data/core/config/locales/it.yml +0 -96
  137. data/core/config/locales/lolcat.yml +0 -68
  138. data/core/config/locales/lt.yml +0 -75
  139. data/core/config/locales/lv.yml +0 -72
  140. data/core/config/locales/nb.yml +0 -75
  141. data/core/config/locales/nl.yml +0 -75
  142. data/core/config/locales/pl.yml +0 -75
  143. data/core/config/locales/pt-BR.yml +0 -72
  144. data/core/config/locales/rs.yml +0 -76
  145. data/core/config/locales/ru.yml +0 -71
  146. data/core/config/locales/sl.yml +0 -72
  147. data/core/config/locales/sv.yml +0 -75
  148. data/core/config/locales/zh-CN.yml +0 -75
  149. data/core/config/locales/zh-TW.yml +0 -75
  150. data/core/config/routes.rb +0 -19
  151. data/core/crud.md +0 -197
  152. data/core/doc/included-jquery-ui-packages.jpg +0 -0
  153. data/core/engines.md +0 -179
  154. data/core/features/search.feature +0 -55
  155. data/core/features/site_bar.feature +0 -24
  156. data/core/features/step_definitions/core_steps.rb +0 -61
  157. data/core/features/support/paths.rb +0 -14
  158. data/core/features/uploads/beach.jpeg +0 -0
  159. data/core/features/uploads/refinery_is_awesome.txt +0 -1
  160. data/core/lib/core.rb +0 -143
  161. data/core/lib/generators/refinerycms_generator.rb +0 -107
  162. data/core/lib/generators/templates/.gitignore +0 -83
  163. data/core/lib/generators/templates/.rspec +0 -2
  164. data/core/lib/generators/templates/app/views/sitemap/index.xml.builder +0 -22
  165. data/core/lib/generators/templates/autotest/autotest.rb +0 -17
  166. data/core/lib/generators/templates/autotest/discover.rb +0 -2
  167. data/core/lib/generators/templates/config/cucumber.yml +0 -15
  168. data/core/lib/generators/templates/config/database.yml.mysql +0 -20
  169. data/core/lib/generators/templates/config/database.yml.postgresql +0 -57
  170. data/core/lib/generators/templates/config/database.yml.sqlite3 +0 -26
  171. data/core/lib/generators/templates/config/i18n-js.yml +0 -6
  172. data/core/lib/generators/templates/config/initializers/devise.rb +0 -142
  173. data/core/lib/generators/templates/config/settings.rb +0 -3
  174. data/core/lib/generators/templates/db/seeds.rb +0 -5
  175. data/core/lib/generators/templates/spec/rcov.opts +0 -2
  176. data/core/lib/generators/templates/spec/spec_helper.rb +0 -76
  177. data/core/lib/refinery/activity.rb +0 -45
  178. data/core/lib/refinery/admin/base_controller.rb +0 -111
  179. data/core/lib/refinery/admin_base_controller.rb +0 -5
  180. data/core/lib/refinery/application.rb +0 -76
  181. data/core/lib/refinery/application_controller.rb +0 -116
  182. data/core/lib/refinery/application_helper.rb +0 -19
  183. data/core/lib/refinery/base_presenter.rb +0 -27
  184. data/core/lib/refinery/catch_all_routes.rb +0 -11
  185. data/core/lib/refinery/crud.rb +0 -295
  186. data/core/lib/refinery/helpers/form_helper.rb +0 -66
  187. data/core/lib/refinery/helpers/head_helper.rb +0 -17
  188. data/core/lib/refinery/helpers/html_truncation_helper.rb +0 -25
  189. data/core/lib/refinery/helpers/image_helper.rb +0 -49
  190. data/core/lib/refinery/helpers/menu_helper.rb +0 -68
  191. data/core/lib/refinery/helpers/meta_helper.rb +0 -67
  192. data/core/lib/refinery/helpers/pagination_helper.rb +0 -16
  193. data/core/lib/refinery/helpers/script_helper.rb +0 -36
  194. data/core/lib/refinery/helpers/site_bar_helper.rb +0 -24
  195. data/core/lib/refinery/helpers/tag_helper.rb +0 -21
  196. data/core/lib/refinery/helpers/translation_helper.rb +0 -17
  197. data/core/lib/refinery/link_renderer.rb +0 -55
  198. data/core/lib/refinery/plugin.rb +0 -134
  199. data/core/lib/refinery/plugins.rb +0 -75
  200. data/core/lib/tasks/cucumber.rake +0 -53
  201. data/core/lib/tasks/doc.rake +0 -29
  202. data/core/lib/tasks/refinery.rake +0 -231
  203. data/core/lib/tasks/yard.rake +0 -30
  204. data/core/license.md +0 -21
  205. data/core/public/404.html +0 -26
  206. data/core/public/422.html +0 -26
  207. data/core/public/500.html +0 -26
  208. data/core/public/favicon.ico +0 -0
  209. data/core/public/images/refinery/add.png +0 -0
  210. data/core/public/images/refinery/admin_bg.png +0 -0
  211. data/core/public/images/refinery/ajax-loader.gif +0 -0
  212. data/core/public/images/refinery/branch-end.gif +0 -0
  213. data/core/public/images/refinery/branch-start.gif +0 -0
  214. data/core/public/images/refinery/branch.gif +0 -0
  215. data/core/public/images/refinery/carousel-left.png +0 -0
  216. data/core/public/images/refinery/carousel-right.png +0 -0
  217. data/core/public/images/refinery/cross.png +0 -0
  218. data/core/public/images/refinery/dialogLoadingAnimation.gif +0 -0
  219. data/core/public/images/refinery/header_background.png +0 -0
  220. data/core/public/images/refinery/hover-gradient.jpg +0 -0
  221. data/core/public/images/refinery/icons/accept.png +0 -0
  222. data/core/public/images/refinery/icons/add.png +0 -0
  223. data/core/public/images/refinery/icons/ajax-loader.gif +0 -0
  224. data/core/public/images/refinery/icons/application_edit.png +0 -0
  225. data/core/public/images/refinery/icons/application_go.png +0 -0
  226. data/core/public/images/refinery/icons/arrow_left.png +0 -0
  227. data/core/public/images/refinery/icons/arrow_switch.png +0 -0
  228. data/core/public/images/refinery/icons/arrow_up.png +0 -0
  229. data/core/public/images/refinery/icons/bin.png +0 -0
  230. data/core/public/images/refinery/icons/bin_closed.png +0 -0
  231. data/core/public/images/refinery/icons/cancel.png +0 -0
  232. data/core/public/images/refinery/icons/cog_add.png +0 -0
  233. data/core/public/images/refinery/icons/cog_edit.png +0 -0
  234. data/core/public/images/refinery/icons/cross.png +0 -0
  235. data/core/public/images/refinery/icons/delete.png +0 -0
  236. data/core/public/images/refinery/icons/doc.png +0 -0
  237. data/core/public/images/refinery/icons/down.gif +0 -0
  238. data/core/public/images/refinery/icons/edit.png +0 -0
  239. data/core/public/images/refinery/icons/email.png +0 -0
  240. data/core/public/images/refinery/icons/email_edit.png +0 -0
  241. data/core/public/images/refinery/icons/email_go.png +0 -0
  242. data/core/public/images/refinery/icons/email_open.png +0 -0
  243. data/core/public/images/refinery/icons/eye.png +0 -0
  244. data/core/public/images/refinery/icons/folder_page_white.png +0 -0
  245. data/core/public/images/refinery/icons/image_add.png +0 -0
  246. data/core/public/images/refinery/icons/image_edit.png +0 -0
  247. data/core/public/images/refinery/icons/img.png +0 -0
  248. data/core/public/images/refinery/icons/information.png +0 -0
  249. data/core/public/images/refinery/icons/layout_add.png +0 -0
  250. data/core/public/images/refinery/icons/layout_edit.png +0 -0
  251. data/core/public/images/refinery/icons/music.png +0 -0
  252. data/core/public/images/refinery/icons/page_add.png +0 -0
  253. data/core/public/images/refinery/icons/page_edit.png +0 -0
  254. data/core/public/images/refinery/icons/page_white_edit.png +0 -0
  255. data/core/public/images/refinery/icons/page_white_gear.png +0 -0
  256. data/core/public/images/refinery/icons/page_white_put.png +0 -0
  257. data/core/public/images/refinery/icons/pdf.png +0 -0
  258. data/core/public/images/refinery/icons/ppt.png +0 -0
  259. data/core/public/images/refinery/icons/star.png +0 -0
  260. data/core/public/images/refinery/icons/tick.png +0 -0
  261. data/core/public/images/refinery/icons/up.gif +0 -0
  262. data/core/public/images/refinery/icons/user_add.png +0 -0
  263. data/core/public/images/refinery/icons/user_comment.png +0 -0
  264. data/core/public/images/refinery/icons/user_edit.png +0 -0
  265. data/core/public/images/refinery/icons/xls.png +0 -0
  266. data/core/public/images/refinery/icons/zip.png +0 -0
  267. data/core/public/images/refinery/icons/zoom.png +0 -0
  268. data/core/public/images/refinery/logo-large.png +0 -0
  269. data/core/public/images/refinery/logo-medium.png +0 -0
  270. data/core/public/images/refinery/logo-site-bar.png +0 -0
  271. data/core/public/images/refinery/logo-small-medium.png +0 -0
  272. data/core/public/images/refinery/logo-small.png +0 -0
  273. data/core/public/images/refinery/logo-tiny.png +0 -0
  274. data/core/public/images/refinery/logo.png +0 -0
  275. data/core/public/images/refinery/nav-3-background.gif +0 -0
  276. data/core/public/images/refinery/nav_inactive_background.png +0 -0
  277. data/core/public/images/refinery/orange_button.png +0 -0
  278. data/core/public/images/refinery/page_bg.png +0 -0
  279. data/core/public/images/refinery/resolve_digital_footer_logo.png +0 -0
  280. data/core/public/images/refinery/text_field_background.png +0 -0
  281. data/core/public/images/refinery/tooltip-nib.gif +0 -0
  282. data/core/public/images/refinery/tooltip-nib.png +0 -0
  283. data/core/public/images/wymeditor/skins/refinery/arrow_redo.png +0 -0
  284. data/core/public/images/wymeditor/skins/refinery/arrow_undo.png +0 -0
  285. data/core/public/images/wymeditor/skins/refinery/eye.png +0 -0
  286. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-blockquote.png +0 -0
  287. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-h1.png +0 -0
  288. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-h2.png +0 -0
  289. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-h3.png +0 -0
  290. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-h4.png +0 -0
  291. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-h5.png +0 -0
  292. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-h6.png +0 -0
  293. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-p.png +0 -0
  294. data/core/public/images/wymeditor/skins/refinery/iframe/lbl-pre.png +0 -0
  295. data/core/public/images/wymeditor/skins/refinery/link_add.png +0 -0
  296. data/core/public/images/wymeditor/skins/refinery/link_break.png +0 -0
  297. data/core/public/images/wymeditor/skins/refinery/page_code.png +0 -0
  298. data/core/public/images/wymeditor/skins/refinery/page_paste.png +0 -0
  299. data/core/public/images/wymeditor/skins/refinery/photo_add.png +0 -0
  300. data/core/public/images/wymeditor/skins/refinery/right.png +0 -0
  301. data/core/public/images/wymeditor/skins/refinery/style.png +0 -0
  302. data/core/public/images/wymeditor/skins/refinery/table_add.png +0 -0
  303. data/core/public/images/wymeditor/skins/refinery/text_align_center.png +0 -0
  304. data/core/public/images/wymeditor/skins/refinery/text_align_justify.png +0 -0
  305. data/core/public/images/wymeditor/skins/refinery/text_align_left.png +0 -0
  306. data/core/public/images/wymeditor/skins/refinery/text_align_right.png +0 -0
  307. data/core/public/images/wymeditor/skins/refinery/text_bold.png +0 -0
  308. data/core/public/images/wymeditor/skins/refinery/text_heading_1.png +0 -0
  309. data/core/public/images/wymeditor/skins/refinery/text_heading_2.png +0 -0
  310. data/core/public/images/wymeditor/skins/refinery/text_heading_3.png +0 -0
  311. data/core/public/images/wymeditor/skins/refinery/text_heading_4.png +0 -0
  312. data/core/public/images/wymeditor/skins/refinery/text_heading_5.png +0 -0
  313. data/core/public/images/wymeditor/skins/refinery/text_heading_6.png +0 -0
  314. data/core/public/images/wymeditor/skins/refinery/text_indent.png +0 -0
  315. data/core/public/images/wymeditor/skins/refinery/text_indent_remove.png +0 -0
  316. data/core/public/images/wymeditor/skins/refinery/text_italic.png +0 -0
  317. data/core/public/images/wymeditor/skins/refinery/text_list_bullets.png +0 -0
  318. data/core/public/images/wymeditor/skins/refinery/text_list_numbers.png +0 -0
  319. data/core/public/images/wymeditor/skins/refinery/text_paragraph.png +0 -0
  320. data/core/public/images/wymeditor/skins/refinery/text_strikethrough.png +0 -0
  321. data/core/public/images/wymeditor/skins/refinery/text_subscript.png +0 -0
  322. data/core/public/images/wymeditor/skins/refinery/text_superscript.png +0 -0
  323. data/core/public/images/wymeditor/skins/refinery/text_underline.png +0 -0
  324. data/core/public/images/wymeditor/skins/wymeditor_icon.png +0 -0
  325. data/core/public/javascripts/admin.js +0 -7
  326. data/core/public/javascripts/application.js +0 -1
  327. data/core/public/javascripts/dd_belatedpng.js +0 -13
  328. data/core/public/javascripts/i18n-messages.js +0 -2
  329. data/core/public/javascripts/jquery-min.js +0 -154
  330. data/core/public/javascripts/jquery-ui-custom-min.js +0 -249
  331. data/core/public/javascripts/jquery.js +0 -6240
  332. data/core/public/javascripts/jquery/GPL-LICENSE.txt +0 -278
  333. data/core/public/javascripts/jquery/MIT-LICENSE.txt +0 -20
  334. data/core/public/javascripts/jquery/jquery.corner.js +0 -345
  335. data/core/public/javascripts/jquery/jquery.html5-placeholder-shim.js +0 -88
  336. data/core/public/javascripts/jquery/jquery.jcarousel.js +0 -900
  337. data/core/public/javascripts/jquery/jquery.textTruncate.js +0 -174
  338. data/core/public/javascripts/jquery/jquery.timers.js +0 -138
  339. data/core/public/javascripts/modernizr-min.js +0 -30
  340. data/core/public/javascripts/rails.js +0 -152
  341. data/core/public/javascripts/refinery/admin.js +0 -1114
  342. data/core/public/javascripts/refinery/boot_wym.js +0 -285
  343. data/core/public/javascripts/refinery/core.js +0 -18
  344. data/core/public/javascripts/refinery/i18n.js +0 -340
  345. data/core/public/javascripts/refinery/nestedsortables.js +0 -164
  346. data/core/public/javascripts/refinery/serializelist.js +0 -66
  347. data/core/public/javascripts/refinery/site_bar.js +0 -16
  348. data/core/public/javascripts/refinery/submenu.js +0 -49
  349. data/core/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +0 -5142
  350. data/core/public/javascripts/wymeditor/lang/ca.js +0 -45
  351. data/core/public/javascripts/wymeditor/lang/cs.js +0 -45
  352. data/core/public/javascripts/wymeditor/lang/da.js +0 -48
  353. data/core/public/javascripts/wymeditor/lang/de.js +0 -45
  354. data/core/public/javascripts/wymeditor/lang/en.js +0 -47
  355. data/core/public/javascripts/wymeditor/lang/es.js +0 -45
  356. data/core/public/javascripts/wymeditor/lang/fa.js +0 -46
  357. data/core/public/javascripts/wymeditor/lang/fr.js +0 -45
  358. data/core/public/javascripts/wymeditor/lang/he.js +0 -45
  359. data/core/public/javascripts/wymeditor/lang/hu.js +0 -45
  360. data/core/public/javascripts/wymeditor/lang/it.js +0 -45
  361. data/core/public/javascripts/wymeditor/lang/lv.js +0 -47
  362. data/core/public/javascripts/wymeditor/lang/nb.js +0 -48
  363. data/core/public/javascripts/wymeditor/lang/nl.js +0 -47
  364. data/core/public/javascripts/wymeditor/lang/nn.js +0 -45
  365. data/core/public/javascripts/wymeditor/lang/pl.js +0 -45
  366. data/core/public/javascripts/wymeditor/lang/pt-BR.js +0 -47
  367. data/core/public/javascripts/wymeditor/lang/pt.js +0 -45
  368. data/core/public/javascripts/wymeditor/lang/rs.js +0 -47
  369. data/core/public/javascripts/wymeditor/lang/ru.js +0 -45
  370. data/core/public/javascripts/wymeditor/lang/sl.js +0 -47
  371. data/core/public/javascripts/wymeditor/lang/sv.js +0 -45
  372. data/core/public/javascripts/wymeditor/lang/tr.js +0 -45
  373. data/core/public/javascripts/wymeditor/lang/zh_cn.js +0 -47
  374. data/core/public/javascripts/wymeditor/skins/refinery/skin.js +0 -48
  375. data/core/public/robots.txt +0 -3
  376. data/core/public/stylesheets/application.css +0 -4
  377. data/core/public/stylesheets/formatting.css +0 -4
  378. data/core/public/stylesheets/home.css +0 -4
  379. data/core/public/stylesheets/refinery/application.css +0 -72
  380. data/core/public/stylesheets/refinery/formatting.css +0 -57
  381. data/core/public/stylesheets/refinery/home.css +0 -0
  382. data/core/public/stylesheets/refinery/refinery.css +0 -1572
  383. data/core/public/stylesheets/refinery/site_bar.css +0 -87
  384. data/core/public/stylesheets/refinery/submenu.css +0 -22
  385. data/core/public/stylesheets/refinery/theme.css +0 -36
  386. data/core/public/stylesheets/refinery/tooltips.css +0 -34
  387. data/core/public/stylesheets/refinery/ui.css +0 -107
  388. data/core/public/stylesheets/theme.css +0 -4
  389. data/core/public/stylesheets/wymeditor/skins/refinery/skin.css +0 -528
  390. data/core/public/stylesheets/wymeditor/skins/refinery/wymiframe.css +0 -96
  391. data/core/public/wymeditor/GPL-license.txt +0 -278
  392. data/core/public/wymeditor/MIT-license.txt +0 -20
  393. data/core/public/wymeditor/README +0 -35
  394. data/core/refinerycms-core.gemspec +0 -20
  395. data/core/spec/lib/refinery/plugins_spec.rb +0 -90
  396. data/dashboard/app/controllers/admin/dashboard_controller.rb +0 -38
  397. data/dashboard/app/helpers/admin/dashboard_helper.rb +0 -24
  398. data/dashboard/app/views/admin/dashboard/_additional_dashboard_menu_items.html.erb +0 -1
  399. data/dashboard/app/views/admin/dashboard/_recent_activity.html.erb +0 -14
  400. data/dashboard/app/views/admin/dashboard/_recent_inquiries.html.erb +0 -11
  401. data/dashboard/app/views/admin/dashboard/index.html.erb +0 -70
  402. data/dashboard/app/views/admin/dashboard/index.rss.builder +0 -26
  403. data/dashboard/config/locales/cs.yml +0 -25
  404. data/dashboard/config/locales/da.yml +0 -25
  405. data/dashboard/config/locales/de.yml +0 -25
  406. data/dashboard/config/locales/el.yml +0 -25
  407. data/dashboard/config/locales/en.yml +0 -25
  408. data/dashboard/config/locales/es.yml +0 -28
  409. data/dashboard/config/locales/fr.yml +0 -25
  410. data/dashboard/config/locales/it.yml +0 -27
  411. data/dashboard/config/locales/lolcat.yml +0 -24
  412. data/dashboard/config/locales/lt.yml +0 -25
  413. data/dashboard/config/locales/lv.yml +0 -27
  414. data/dashboard/config/locales/nb.yml +0 -25
  415. data/dashboard/config/locales/nl.yml +0 -25
  416. data/dashboard/config/locales/pl.yml +0 -29
  417. data/dashboard/config/locales/pt-BR.yml +0 -29
  418. data/dashboard/config/locales/rs.yml +0 -26
  419. data/dashboard/config/locales/ru.yml +0 -29
  420. data/dashboard/config/locales/sl.yml +0 -24
  421. data/dashboard/config/locales/sv.yml +0 -25
  422. data/dashboard/config/locales/zh-CN.yml +0 -25
  423. data/dashboard/config/locales/zh-TW.yml +0 -25
  424. data/dashboard/config/routes.rb +0 -11
  425. data/dashboard/features/dashboard.feature +0 -35
  426. data/dashboard/features/support/paths.rb +0 -14
  427. data/dashboard/lib/dashboard.rb +0 -19
  428. data/dashboard/license.md +0 -21
  429. data/dashboard/readme.md +0 -22
  430. data/dashboard/refinerycms-dashboard.gemspec +0 -20
  431. data/images/app/controllers/admin/images_controller.rb +0 -108
  432. data/images/app/helpers/admin/images_helper.rb +0 -27
  433. data/images/app/models/image.rb +0 -72
  434. data/images/app/views/admin/images/_existing_image.html.erb +0 -73
  435. data/images/app/views/admin/images/_form.html.erb +0 -54
  436. data/images/app/views/admin/images/_grid_view.html.erb +0 -19
  437. data/images/app/views/admin/images/_images.html.erb +0 -2
  438. data/images/app/views/admin/images/_list_view.html.erb +0 -10
  439. data/images/app/views/admin/images/_list_view_image.html.erb +0 -17
  440. data/images/app/views/admin/images/edit.html.erb +0 -1
  441. data/images/app/views/admin/images/index.html.erb +0 -38
  442. data/images/app/views/admin/images/insert.html.erb +0 -47
  443. data/images/app/views/admin/images/new.html.erb +0 -1
  444. data/images/config/locales/cs.yml +0 -41
  445. data/images/config/locales/da.yml +0 -41
  446. data/images/config/locales/de.yml +0 -41
  447. data/images/config/locales/el.yml +0 -41
  448. data/images/config/locales/en.yml +0 -41
  449. data/images/config/locales/es.yml +0 -40
  450. data/images/config/locales/fr.yml +0 -41
  451. data/images/config/locales/it.yml +0 -47
  452. data/images/config/locales/lolcat.yml +0 -41
  453. data/images/config/locales/lt.yml +0 -41
  454. data/images/config/locales/lv.yml +0 -41
  455. data/images/config/locales/nb.yml +0 -42
  456. data/images/config/locales/nl.yml +0 -40
  457. data/images/config/locales/pl.yml +0 -42
  458. data/images/config/locales/pt-BR.yml +0 -42
  459. data/images/config/locales/rs.yml +0 -42
  460. data/images/config/locales/ru.yml +0 -41
  461. data/images/config/locales/sl.yml +0 -40
  462. data/images/config/locales/sv.yml +0 -41
  463. data/images/config/locales/zh-CN.yml +0 -41
  464. data/images/config/locales/zh-TW.yml +0 -41
  465. data/images/config/routes.rb +0 -11
  466. data/images/db/migrate/20100913234707_create_refinerycms_images_schema.rb +0 -23
  467. data/images/features/manage_images.feature +0 -49
  468. data/images/features/step_definitions/image_steps.rb +0 -40
  469. data/images/features/support/factories.rb +0 -5
  470. data/images/features/support/paths.rb +0 -17
  471. data/images/features/uploads/beach.jpeg +0 -0
  472. data/images/features/uploads/id-rather-be-here.jpg +0 -0
  473. data/images/features/uploads/refinery_is_awesome.txt +0 -1
  474. data/images/lib/generators/refinerycms_images_generator.rb +0 -8
  475. data/images/lib/images.rb +0 -59
  476. data/images/license.md +0 -21
  477. data/images/readme.md +0 -34
  478. data/images/refinerycms-images.gemspec +0 -20
  479. data/images/spec/models/image_spec.rb +0 -87
  480. data/images/spec/uploads/beach.jpeg +0 -0
  481. data/pages/app/controllers/admin/page_parts_controller.rb +0 -24
  482. data/pages/app/controllers/admin/pages_controller.rb +0 -37
  483. data/pages/app/controllers/admin/pages_dialogs_controller.rb +0 -87
  484. data/pages/app/controllers/pages_controller.rb +0 -32
  485. data/pages/app/helpers/pages_helper.rb +0 -2
  486. data/pages/app/models/page.rb +0 -290
  487. data/pages/app/models/page_part.rb +0 -23
  488. data/pages/app/presenters/page_presenter.rb +0 -7
  489. data/pages/app/views/admin/pages/_form.html.erb +0 -61
  490. data/pages/app/views/admin/pages/_form_advanced_options.html.erb +0 -79
  491. data/pages/app/views/admin/pages/_form_advanced_options_seo.html.erb +0 -24
  492. data/pages/app/views/admin/pages/_form_fields_after_title.html.erb +0 -1
  493. data/pages/app/views/admin/pages/_form_new_page_parts.html.erb +0 -14
  494. data/pages/app/views/admin/pages/_form_page_parts.html.erb +0 -47
  495. data/pages/app/views/admin/pages/_locale_picker.html.erb +0 -11
  496. data/pages/app/views/admin/pages/_page.html.erb +0 -33
  497. data/pages/app/views/admin/pages/_page_part_field.html.erb +0 -5
  498. data/pages/app/views/admin/pages/_sortable_list.html.erb +0 -5
  499. data/pages/app/views/admin/pages/edit.html.erb +0 -1
  500. data/pages/app/views/admin/pages/index.html.erb +0 -40
  501. data/pages/app/views/admin/pages/new.html.erb +0 -1
  502. data/pages/app/views/admin/pages_dialogs/_page_link.html.erb +0 -13
  503. data/pages/app/views/admin/pages_dialogs/link_to.html.erb +0 -141
  504. data/pages/app/views/pages/home.html.erb +0 -1
  505. data/pages/app/views/pages/show.html.erb +0 -1
  506. data/pages/config/locales/cs.yml +0 -84
  507. data/pages/config/locales/da.yml +0 -84
  508. data/pages/config/locales/de.yml +0 -84
  509. data/pages/config/locales/el.yml +0 -84
  510. data/pages/config/locales/en.yml +0 -84
  511. data/pages/config/locales/es.yml +0 -83
  512. data/pages/config/locales/fr.yml +0 -84
  513. data/pages/config/locales/it.yml +0 -98
  514. data/pages/config/locales/lolcat.yml +0 -83
  515. data/pages/config/locales/lt.yml +0 -85
  516. data/pages/config/locales/lv.yml +0 -86
  517. data/pages/config/locales/nb.yml +0 -85
  518. data/pages/config/locales/nl.yml +0 -81
  519. data/pages/config/locales/pl.yml +0 -85
  520. data/pages/config/locales/pt-BR.yml +0 -85
  521. data/pages/config/locales/rs.yml +0 -84
  522. data/pages/config/locales/ru.yml +0 -108
  523. data/pages/config/locales/sl.yml +0 -83
  524. data/pages/config/locales/sv.yml +0 -84
  525. data/pages/config/locales/zh-CN.yml +0 -84
  526. data/pages/config/locales/zh-TW.yml +0 -84
  527. data/pages/config/routes.rb +0 -21
  528. data/pages/db/migrate/20100913234708_create_refinerycms_pages_schema.rb +0 -53
  529. data/pages/db/migrate/20101214040815_translate_page_plugin.rb +0 -29
  530. data/pages/db/migrate/20101216194133_remove_cached_slug_from_pages.rb +0 -9
  531. data/pages/db/seeds/pages.rb +0 -43
  532. data/pages/features/manage_pages.feature +0 -47
  533. data/pages/features/step_definitions/page_steps.rb +0 -53
  534. data/pages/features/support/paths.rb +0 -26
  535. data/pages/features/visit_pages.feature +0 -47
  536. data/pages/lib/generators/refinerycms_pages_generator.rb +0 -8
  537. data/pages/lib/pages.rb +0 -36
  538. data/pages/lib/pages/marketable_routes.rb +0 -3
  539. data/pages/lib/pages/tabs.rb +0 -30
  540. data/pages/license.md +0 -21
  541. data/pages/readme.md +0 -156
  542. data/pages/refinerycms-pages.gemspec +0 -21
  543. data/pages/spec/models/page_spec.rb +0 -155
  544. data/resources/app/controllers/admin/resources_controller.rb +0 -89
  545. data/resources/app/models/resource.rb +0 -53
  546. data/resources/app/views/admin/resources/_existing_resource.html.erb +0 -32
  547. data/resources/app/views/admin/resources/_form.html.erb +0 -55
  548. data/resources/app/views/admin/resources/_resource.html.erb +0 -17
  549. data/resources/app/views/admin/resources/_resources.html.erb +0 -10
  550. data/resources/app/views/admin/resources/edit.html.erb +0 -1
  551. data/resources/app/views/admin/resources/index.html.erb +0 -31
  552. data/resources/app/views/admin/resources/insert.html.erb +0 -54
  553. data/resources/app/views/admin/resources/new.html.erb +0 -1
  554. data/resources/config/locales/cs.yml +0 -34
  555. data/resources/config/locales/da.yml +0 -34
  556. data/resources/config/locales/de.yml +0 -34
  557. data/resources/config/locales/el.yml +0 -34
  558. data/resources/config/locales/en.yml +0 -34
  559. data/resources/config/locales/es.yml +0 -33
  560. data/resources/config/locales/fr.yml +0 -34
  561. data/resources/config/locales/it.yml +0 -43
  562. data/resources/config/locales/lolcat.yml +0 -34
  563. data/resources/config/locales/lt.yml +0 -34
  564. data/resources/config/locales/lv.yml +0 -34
  565. data/resources/config/locales/nb.yml +0 -34
  566. data/resources/config/locales/nl.yml +0 -33
  567. data/resources/config/locales/pl.yml +0 -35
  568. data/resources/config/locales/pt-BR.yml +0 -34
  569. data/resources/config/locales/rs.yml +0 -35
  570. data/resources/config/locales/ru.yml +0 -34
  571. data/resources/config/locales/sl.yml +0 -33
  572. data/resources/config/locales/sv.yml +0 -34
  573. data/resources/config/locales/zh-CN.yml +0 -34
  574. data/resources/config/locales/zh-TW.yml +0 -34
  575. data/resources/config/routes.rb +0 -11
  576. data/resources/db/migrate/20100913234709_create_refinerycms_resources_schema.rb +0 -21
  577. data/resources/features/manage_files.feature +0 -43
  578. data/resources/features/step_definitions/file_steps.rb +0 -21
  579. data/resources/features/support/paths.rb +0 -17
  580. data/resources/features/uploads/beach.jpeg +0 -0
  581. data/resources/features/uploads/refinery_is_awesome.txt +0 -1
  582. data/resources/lib/generators/refinerycms_resources_generator.rb +0 -8
  583. data/resources/lib/resources.rb +0 -58
  584. data/resources/license.md +0 -21
  585. data/resources/readme.md +0 -9
  586. data/resources/refinerycms-resources.gemspec +0 -20
  587. data/resources/spec/models/resource_spec.rb +0 -91
  588. data/resources/spec/uploads/refinery_is_awesome.txt +0 -1
  589. data/settings/app/controllers/admin/refinery_settings_controller.rb +0 -77
  590. data/settings/app/helpers/refinery_settings_helper.rb +0 -25
  591. data/settings/app/models/refinery_setting.rb +0 -212
  592. data/settings/app/views/admin/refinery_settings/_form.html.erb +0 -62
  593. data/settings/app/views/admin/refinery_settings/_refinery_setting.html.erb +0 -23
  594. data/settings/app/views/admin/refinery_settings/_refinery_settings.html.erb +0 -5
  595. data/settings/app/views/admin/refinery_settings/edit.html.erb +0 -1
  596. data/settings/app/views/admin/refinery_settings/index.html.erb +0 -49
  597. data/settings/app/views/admin/refinery_settings/new.html.erb +0 -1
  598. data/settings/config/locales/cs.yml +0 -45
  599. data/settings/config/locales/da.yml +0 -46
  600. data/settings/config/locales/de.yml +0 -46
  601. data/settings/config/locales/el.yml +0 -46
  602. data/settings/config/locales/en.yml +0 -46
  603. data/settings/config/locales/es.yml +0 -43
  604. data/settings/config/locales/fr.yml +0 -44
  605. data/settings/config/locales/it.yml +0 -36
  606. data/settings/config/locales/lolcat.yml +0 -43
  607. data/settings/config/locales/lt.yml +0 -46
  608. data/settings/config/locales/lv.yml +0 -46
  609. data/settings/config/locales/nb.yml +0 -47
  610. data/settings/config/locales/nl.yml +0 -46
  611. data/settings/config/locales/pl.yml +0 -46
  612. data/settings/config/locales/pt-BR.yml +0 -44
  613. data/settings/config/locales/rs.yml +0 -46
  614. data/settings/config/locales/ru.yml +0 -43
  615. data/settings/config/locales/sl.yml +0 -25
  616. data/settings/config/locales/sv.yml +0 -45
  617. data/settings/config/locales/zh-CN.yml +0 -46
  618. data/settings/config/locales/zh-TW.yml +0 -46
  619. data/settings/config/routes.rb +0 -8
  620. data/settings/db/migrate/20100913234710_create_refinerycms_settings_schema.rb +0 -24
  621. data/settings/db/migrate/20100926142529_add_value_type_to_refinery_settings.rb +0 -9
  622. data/settings/features/manage_refinery_settings.feature +0 -5
  623. data/settings/features/step_definitions/setting_steps.rb +0 -9
  624. data/settings/features/support/paths.rb +0 -14
  625. data/settings/lib/generators/refinerycms_settings_generator.rb +0 -8
  626. data/settings/lib/settings.rb +0 -16
  627. data/settings/license.md +0 -21
  628. data/settings/readme.md +0 -55
  629. data/settings/refinerycms-settings.gemspec +0 -20
  630. data/settings/spec/models/refinery_setting_spec.rb +0 -101
@@ -1,84 +0,0 @@
1
- sv:
2
- plugins:
3
- refinery_pages:
4
- title: Sidor
5
- description: Hantera sidor och dess innehåll
6
- admin:
7
- pages_dialogs:
8
- page_link:
9
- link_to_this_page: Länk till den här sidan
10
- link_to:
11
- insert: Lägg in
12
- your_page:
13
- tab_name: Din sida
14
- web_address:
15
- tab_name: Webbplats
16
- location: Plats
17
- new_window: Nytt fönster
18
- new_window_label: Markera den här rutan om du vill att länken öppnar i ett nytt fönster.
19
- not_sure: Inte säker på vad du ska skriva i rutan ovanför?
20
- step1: Hitta sidan på nätet som du vill länka till.
21
- step2: Kopiera adressen från adressfältet i din webbläsare. Klistra sedan in i rutan ovanför.
22
- email_address:
23
- tab_name: E-postadress
24
- subject_line_optional: Valfritt ämne
25
- body_optional: Valfritt innehåll
26
- not_sure: Inte säker på vad du ska skriva i rutan ovanför?
27
- step1_html: Skriv eller kopiera och klistra in (tex. från din adressbok) den e-postadress i '<strong>E-postadress</strong>'-fältet ovanför.
28
- step2_html: Använd '<strong>Ämne</strong>'-rutan ovanför om du vill att meddelandet ska skrivas med en <strong>fördefinerad ämnesrad</strong>.
29
- step3_html: Använd <strong>Innehåll</strong>-rutan ovanför om du vill att meddelandet ska skrivas med ett<strong>fördefinerat innehåll</strong>.
30
- your_resource:
31
- tab_name: Din fil
32
- link_to_this_resource: Länk till den här filen
33
- pages:
34
- delete: Ta bort den här sidan för alltid
35
- edit: Redigera den här sidan
36
- reserved_system_word: Tyvärr är titlen ett reserverat ord i systemet
37
- page:
38
- view_live_html: Visa den här sidan live <br/><em>(öppnas i ett nytt fönster)</em>
39
- hidden: dold
40
- draft: utkast
41
- form_new_page_parts:
42
- title: Titel
43
- form_page_parts:
44
- create_content_section: Lägg till ny innehållssektion
45
- delete_content_section: Ta bort innehållssektion
46
- form_advanced_options:
47
- toggle_advanced_options: Klicka för att få tillgång till meta-taggar och menyval
48
- page_options: Sidalternativ
49
- parent_page: Ovanliggande sida
50
- advanced_options: Avancerade alternativ
51
- custom_title: Annan titel
52
- title_types:
53
- none: Ingen
54
- text: Text
55
- show_in_menu_title: Visa i huvudmeny
56
- show_in_menu_description: Visa den här sidan i huvudmeny
57
- show_in_menu_help: Avmarkera den här rutan om du vill ta bort en sida från huvudmeny. Det här är användbart för de sidor du vill man ska komma till på annat vis än genom huvudmeny. Tex genom länkar.
58
- save_as_draft: Spara som Utkast
59
- skip_to_first_child: Sida som hoppar över topp-nivå
60
- skip_to_first_child_label: Vidarebefodrar besökare till den första undersidan.
61
- skip_to_first_child_help: Det här alternativet vidarebefodrar besökaren till den första undersidan. Detta alternativ kan vara användbart vid gruppering av sidor.
62
- link_url: Vidarebefodra från den här sidan till en annan sida eller webbplats
63
- link_url_help: Om du vill att den här sidan vidarebefodrar till en annan sida när du väljer den i menyn, fyll i en URL. Tex. http://www.google.com/. Annars lämna tom.
64
- parent_page_help: Du kan låta sidor bli undersidor till varandra. Om du vill att den här sidan ska vara en toppnivåsida, lämna tom.
65
- custom_title_help: Om du vill att sidan har en annan huvudrubrik än den som visas i menyn, välj Text, och fyll i här.
66
- form_advanced_options_seo:
67
- seo: Optimering för sökmotorer
68
- seo_override_title: Titel i webbläsaren
69
- seo_override_title_help: Fyll i en titel med 5 till 10 ord som summerar innehållet på den här sidan.
70
- meta_keywords_title: Meta nyckelord
71
- meta_keywords_help: Fyll i 5 till 10 nyckelord som relaterar till den här sidan. Separera dina nyckelord med komma-tecken.
72
- meta_description_title: Meta beskrivning
73
- meta_description_help: Fyll i konkret vad sidan handlar om. Använd en, två eller tre meningar.
74
- index:
75
- create_new_page: Lägg till ny sida
76
- reorder_pages: Ändra ordning på sidor
77
- reorder_pages_done: Spara ny ordning på sidor
78
- no_pages_yet: Det finns inga sidor ännu. Klicka på "Lägg till ny sida" för att skapa din första sida.
79
- activerecord:
80
- models:
81
- page: sida
82
- attributes:
83
- page:
84
- title: Titel
@@ -1,84 +0,0 @@
1
- zh-CN:
2
- plugins:
3
- refinery_pages:
4
- title: 页面
5
- description: 管理页面
6
- admin:
7
- pages_dialogs:
8
- page_link:
9
- link_to_this_page: 此页面链接
10
- link_to:
11
- insert: 插入
12
- your_page:
13
- tab_name: 您的页面
14
- web_address:
15
- tab_name: 网站
16
- location: 位置
17
- new_window: 新视窗
18
- new_window_label: 勾选这个框框来取得在浏览器新视窗开启的链接.
19
- not_sure: 不确定该在上面的框框放入什么?
20
- step1: 在网路上找寻您要链接的页面.
21
- step2: 复制您浏览器网址列的网页位置, 然后复制到上面的框框.
22
- email_address:
23
- tab_name: 电子邮件地址
24
- subject_line_optional: 额外的标题
25
- body_optional: 额外的内容
26
- not_sure: 不确定该在上面的框框放入什么?
27
- step1_html: 输入或复制贴上 (例如从您的通讯录) 用来链接到上面 '<strong>电子邮件地址</strong>' 框框的电子邮件地址.
28
- step2_html: 如果您想要用<strong>预写的标题列</strong>来编辑讯息, 请使用上面的 '<strong>标题列</strong>' 框框.
29
- step3_html: 如果您想要用<strong>预写的讯息</strong>来编辑讯息, 请使用上面的<strong>电子邮件内容</strong>框框.
30
- your_resource:
31
- tab_name: 您的文件
32
- link_to_this_resource: 此文件链接
33
- pages:
34
- delete: 永远地移除这个页面
35
- edit: 编辑页面
36
- reserved_system_word: 抱歉, 这个标题被保留为系统使用
37
- page:
38
- view_live_html: 浏览这个页面 <br/><em>(在新视窗中开启)</em>
39
- hidden: 隐藏
40
- draft: 草稿
41
- form_new_page_parts:
42
- title: 标题
43
- form_page_parts:
44
- create_content_section: 新增内容区
45
- delete_content_section: 删除内容区
46
- form_advanced_options:
47
- toggle_advanced_options: 存取 meta 标签设定与选单选项
48
- page_options: 页面选项
49
- parent_page: 父页面
50
- advanced_options: 进阶选项
51
- custom_title: 自订标题
52
- title_types:
53
- none: 无
54
- text: 文字
55
- show_in_menu_title: 在选单中显示
56
- show_in_menu_description: 在网站选单中显示这个页面
57
- show_in_menu_help: 如果您想要将这个页面移除您的网站选单请不要勾选这个框框. 如果您想要有个可以直接链接的页面但又不想让它出现在选单上, 这是个便利的功能.
58
- save_as_draft: 储存草稿
59
- skip_to_first_child: 略过第一层页面
60
- skip_to_first_child_label: 将访客重新导向到第一个次层页面.
61
- skip_to_first_child_help: 这个选项让这个页面可以链接到第一个页面之下. 当您想要分类页面的时这会很有用.
62
- link_url: 将这个页面重新导向到另外一个网站或是页面
63
- link_url_help: 如果您想要在选单中点选这个页面就跳到另外一个网站或是页面的话, 在这里输入网址, 例如 http://google.com, 不然就空白不填
64
- parent_page_help: 您可以在列表中让一个页面依附在另一个页面之下. 如果您想要让这个页面是第一层的页面, 就不要填这个字段.
65
- custom_title_help: 如果您想要这个页面有个跟选单中不同的名称, 请选择 &apos;文字&apos; , 然后在这里输入.
66
- form_advanced_options_seo:
67
- seo: 搜索引擎最优化
68
- seo_override_title: 浏览器标题
69
- seo_override_title_help: 输入 5 到 10 个字来总结这个页面的内容.
70
- meta_keywords_title: Meta 关键字
71
- meta_keywords_help: 输入 5 到 10 个跟这个页面有关的关键字. 用逗号分开每个关键字.
72
- meta_description_title: Meta 说明
73
- meta_description_help: 简洁地输入两三句话来介绍这个页面.
74
- index:
75
- create_new_page: 新增页面
76
- reorder_pages: 重新编排页面顺序
77
- reorder_pages_done: 完成页面顺序编排
78
- no_pages_yet: 目前没有任何页面. 点选 "新增页面" 来加入您的第一个页面.
79
- activerecord:
80
- models:
81
- page: 页面
82
- attributes:
83
- page:
84
- title: 标题
@@ -1,84 +0,0 @@
1
- zh-TW:
2
- plugins:
3
- refinery_pages:
4
- title: 頁面
5
- description: 管理頁面
6
- admin:
7
- pages_dialogs:
8
- page_link:
9
- link_to_this_page: 此頁面連結
10
- link_to:
11
- insert: 插入
12
- your_page:
13
- tab_name: 您的頁面
14
- web_address:
15
- tab_name: 網站
16
- location: 位置
17
- new_window: 新視窗
18
- new_window_label: 勾選這個框框來取得在瀏覽器新視窗開啟的連結.
19
- not_sure: 不確定該在上面的框框放入什麼?
20
- step1: 在網路上找尋您要連結的頁面.
21
- step2: 複製您瀏覽器網址列的網頁位置, 然後複製到上面的框框.
22
- email_address:
23
- tab_name: 電子郵件地址
24
- subject_line_optional: 額外的標題
25
- body_optional: 額外的內容
26
- not_sure: 不確定該在上面的框框放入什麼?
27
- step1_html: 輸入或複製貼上 (例如從您的通訊錄) 用來連結到上面 '<strong>電子郵件地址</strong>' 框框的電子郵件地址.
28
- step2_html: 如果您想要用<strong>預寫的標題列</strong>來編輯訊息, 請使用上面的 '<strong>標題列</strong>' 框框.
29
- step3_html: 如果您想要用<strong>預寫的訊息</strong>來編輯訊息, 請使用上面的<strong>電子郵件內容</strong>框框.
30
- your_resource:
31
- tab_name: 您的檔案
32
- link_to_this_resource: 此檔案連結
33
- pages:
34
- delete: 永遠地移除這個頁面
35
- edit: 編輯頁面
36
- reserved_system_word: 抱歉, 這個標題被保留為系統使用
37
- page:
38
- view_live_html: 瀏覽這個頁面 <br/><em>(在新視窗中開啟)</em>
39
- hidden: 隱藏
40
- draft: 草稿
41
- form_new_page_parts:
42
- title: 標題
43
- form_page_parts:
44
- create_content_section: 新增內容區
45
- delete_content_section: 刪除內容區
46
- form_advanced_options:
47
- toggle_advanced_options: 存取 meta 標籤設定與選單選項
48
- page_options: 頁面選項
49
- parent_page: 父頁面
50
- advanced_options: 進階選項
51
- custom_title: 自訂標題
52
- title_types:
53
- none: 無
54
- text: 文字
55
- show_in_menu_title: 在選單中顯示
56
- show_in_menu_description: 在網站選單中顯示這個頁面
57
- show_in_menu_help: 如果您想要將這個頁面移除您的網站選單請不要勾選這個框框. 如果您想要有個可以直接連結的頁面但又不想讓它出現在選單上, 這是個便利的功能.
58
- save_as_draft: 儲存草稿
59
- skip_to_first_child: 略過第一層頁面
60
- skip_to_first_child_label: 將訪客重新導向到第一個次層頁面.
61
- skip_to_first_child_help: 這個選項讓這個頁面可以連結到第一個頁面之下. 當您想要分類頁面的時這會很有用.
62
- link_url: 將這個頁面重新導向到另外一個網站或是頁面
63
- link_url_help: 如果您想要在選單中點選這個頁面就跳到另外一個網站或是頁面的話, 在這裡輸入網址, 例如 http://google.com, 不然就空白不填
64
- parent_page_help: 您可以在列表中讓一個頁面依附在另一個頁面之下. 如果您想要讓這個頁面是第一層的頁面, 就不要填這個欄位.
65
- custom_title_help: 如果您想要這個頁面有個跟選單中不同的名稱, 請選擇 &apos;文字&apos; , 然後在這裡輸入.
66
- form_advanced_options_seo:
67
- seo: 搜索引擎最佳化
68
- seo_override_title: 瀏覽器標題
69
- seo_override_title_help: 輸入 5 到 10 個字來總結這個頁面的內容.
70
- meta_keywords_title: Meta 關鍵字
71
- meta_keywords_help: 輸入 5 到 10 個跟這個頁面有關的關鍵字. 用逗號分開每個關鍵字.
72
- meta_description_title: Meta 說明
73
- meta_description_help: 簡潔地輸入兩三句話來介紹這個頁面.
74
- index:
75
- create_new_page: 新增頁面
76
- reorder_pages: 重新編排頁面順序
77
- reorder_pages_done: 完成頁面順序編排
78
- no_pages_yet: 目前沒有任何頁面. 點選 "新增頁面" 來加入您的第一個頁面.
79
- activerecord:
80
- models:
81
- page: 頁面
82
- attributes:
83
- page:
84
- title: 標題
@@ -1,21 +0,0 @@
1
- ::Refinery::Application.routes.draw do
2
- get '/pages/:id', :to => 'pages#show', :as => :page
3
-
4
- scope(:path => 'refinery', :as => 'admin', :module => 'admin') do
5
- resources :pages, :except => :show do
6
- collection do
7
- post :update_positions
8
- end
9
- end
10
-
11
- resources :pages_dialogs, :only => [] do
12
- collection do
13
- get :link_to
14
- get :test_url
15
- get :test_email
16
- end
17
- end
18
-
19
- resources :page_parts, :only => [:new, :create, :destroy]
20
- end
21
- end
@@ -1,53 +0,0 @@
1
- class CreateRefinerycmsPagesSchema < ActiveRecord::Migration
2
- def self.up
3
- create_table ::PagePart.table_name, :force => true do |t|
4
- t.integer "page_id"
5
- t.string "title"
6
- t.text "body"
7
- t.integer "position"
8
- t.datetime "created_at"
9
- t.datetime "updated_at"
10
- end
11
-
12
- add_index ::PagePart.table_name, ["id"], :name => "index_#{::PagePart.table_name}_on_id"
13
- add_index ::PagePart.table_name, ["page_id"], :name => "index_#{::PagePart.table_name}_on_page_id"
14
-
15
- create_table ::Page.table_name, :force => true do |t|
16
- t.string "title"
17
- t.integer "parent_id"
18
- t.integer "position"
19
- t.string "path"
20
- t.datetime "created_at"
21
- t.datetime "updated_at"
22
- t.string "meta_keywords"
23
- t.text "meta_description"
24
- t.boolean "show_in_menu", :default => true
25
- t.string "link_url"
26
- t.string "menu_match"
27
- t.boolean "deletable", :default => true
28
- t.string "custom_title"
29
- t.string "custom_title_type", :default => "none"
30
- t.boolean "draft", :default => false
31
- t.string "browser_title"
32
- t.boolean "skip_to_first_child", :default => false
33
- t.integer "lft"
34
- t.integer "rgt"
35
- t.integer "depth"
36
- t.string "cached_slug"
37
- end
38
-
39
- add_index ::Page.table_name, ["depth"], :name => "index_#{::Page.table_name}_on_depth"
40
- add_index ::Page.table_name, ["id"], :name => "index_#{::Page.table_name}_on_id"
41
- add_index ::Page.table_name, ["lft"], :name => "index_#{::Page.table_name}_on_lft"
42
- add_index ::Page.table_name, ["parent_id"], :name => "index_#{::Page.table_name}_on_parent_id"
43
- add_index ::Page.table_name, ["rgt"], :name => "index_#{::Page.table_name}_on_rgt"
44
- end
45
-
46
- def self.down
47
- [::Page, ::PagePart].reject{|m|
48
- !(defined?(m) and m.respond_to?(:table_name))
49
- }.each do |model|
50
- drop_table model.table_name
51
- end
52
- end
53
- end
@@ -1,29 +0,0 @@
1
- class TranslatePagePlugin < ActiveRecord::Migration
2
- def self.up
3
- PagePart.create_translation_table!({
4
- :body => :text
5
- }, {
6
- :migrate_data => true
7
- })
8
-
9
- Page.create_translation_table!({
10
- :title => :string,
11
- :meta_keywords => :string,
12
- :meta_description => :text,
13
- :browser_title => :string
14
- }, {
15
- :migrate_data => true
16
- })
17
-
18
- if (seed_file = Rails.root.join('db', 'seeds', 'pages.rb')).file?
19
- load seed_file.to_s unless Page.where(:link_url => '/').any?
20
- end
21
-
22
- Slug.update_all(:locale => ::I18n.locale)
23
- end
24
-
25
- def self.down
26
- Page.drop_translation_table! :migrate_data => true
27
- PagePart.drop_translation_table! :migrate_data => true
28
- end
29
- end
@@ -1,9 +0,0 @@
1
- class RemoveCachedSlugFromPages < ActiveRecord::Migration
2
- def self.up
3
- remove_column :pages, :cached_slug
4
- end
5
-
6
- def self.down
7
- add_column :pages, :cached_slug, :string
8
- end
9
- end
@@ -1,43 +0,0 @@
1
- page_position = -1
2
-
3
- home_page = Page.create(:title => "Home",
4
- :deletable => false,
5
- :link_url => "/",
6
- :menu_match => "^/$",
7
- :position => (page_position += 1))
8
- home_page.parts.create({
9
- :title => "Body",
10
- :body => "<p>Welcome to our site. This is just a place holder page while we gather our content.</p>",
11
- :position => 0
12
- })
13
- home_page.parts.create({
14
- :title => "Side Body",
15
- :body => "<p>This is another block of content over here.</p>",
16
- :position => 1
17
- })
18
-
19
- home_page_position = -1
20
- page_not_found_page = home_page.children.create(:title => "Page not found",
21
- :menu_match => "^/404$",
22
- :show_in_menu => false,
23
- :deletable => false,
24
- :position => (home_page_position += 1))
25
- page_not_found_page.parts.create({
26
- :title => "Body",
27
- :body => "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>",
28
- :position => 0
29
- })
30
-
31
- about_us_page = Page.create(:title => "About",
32
- :deletable => true,
33
- :position => (page_position += 1))
34
- about_us_page.parts.create({
35
- :title => "Body",
36
- :body => "<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.\n\nInteger interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>",
37
- :position => 0
38
- })
39
- about_us_page.parts.create({
40
- :title => "Side Body",
41
- :body => "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>",
42
- :position => 1
43
- })
@@ -1,47 +0,0 @@
1
- @refinerycms @pages @pages-manage
2
- Feature: Manage Pages
3
- In order to control the content on my website
4
- As an administrator
5
- I want to create and manage pages
6
-
7
- Background:
8
- Given I am a logged in refinery user
9
- And I have no pages
10
-
11
- Scenario: Pages List
12
- Given I have pages titled Home, About
13
- When I go to the list of pages
14
- Then I should see "Home"
15
- And I should see "About"
16
-
17
- Scenario: Create Valid Page
18
- When I go to the list of pages
19
- And I follow "Add new page"
20
- And I fill in "Title" with "Pickles are Cucumbers Soaked in Evil"
21
- And I press "Save"
22
- Then I should see "'Pickles are Cucumbers Soaked in Evil' was successfully added."
23
- And I should have 1 page
24
-
25
- Scenario: Create Invalid Page (without title)
26
- When I go to the list of pages
27
- And I follow "Add new page"
28
- And I press "Save"
29
- Then I should see "Title can't be blank"
30
- And I should have 0 pages
31
-
32
- Scenario: Create Duplicate Page
33
- Given I only have pages titled Home, About
34
- When I go to the list of pages
35
- And I follow "Add new page"
36
- And I fill in "Title" with "About"
37
- And I press "Save"
38
- Then I should have 3 pages
39
- And I should have a page at /about--2
40
-
41
- Scenario: Delete Page
42
- Given I only have a page titled "test"
43
- When I go to the list of pages
44
- And I follow "Remove this page forever"
45
- Then I should see "'test' was successfully removed."
46
- And I should have 0 pages
47
- And I should have 0 page_parts