alchemy_cms 4.0.6 → 4.1.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +1 -0
  3. data/.gitignore +1 -0
  4. data/.localeapp/config.rb +8 -0
  5. data/.rubocop.yml +26 -13
  6. data/.travis.yml +12 -14
  7. data/CHANGELOG.md +5 -24
  8. data/Gemfile +10 -7
  9. data/README.md +16 -14
  10. data/Rakefile +1 -1
  11. data/alchemy_cms.gemspec +6 -7
  12. data/app/assets/images/alchemy/alchemy-logo.png +0 -0
  13. data/app/assets/images/alchemy/alchemy-logo.svg +1 -70
  14. data/app/assets/images/alchemy/favicon.ico +0 -0
  15. data/app/assets/images/alchemy/icon.svg +1 -14
  16. data/app/assets/javascripts/alchemy/admin.js +0 -7
  17. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +2 -2
  18. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +1 -1
  19. data/app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee +1 -1
  20. data/app/assets/javascripts/alchemy/alchemy.datepicker.js.coffee +1 -0
  21. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +19 -6
  22. data/app/assets/javascripts/alchemy/alchemy.dirty.js.coffee +2 -7
  23. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +36 -26
  24. data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +6 -15
  25. data/app/assets/javascripts/alchemy/alchemy.file_progress.js.coffee +1 -1
  26. data/app/assets/javascripts/alchemy/alchemy.growler.js.coffee +8 -11
  27. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +4 -1
  28. data/app/assets/javascripts/alchemy/alchemy.image_overlay.coffee +1 -1
  29. data/app/assets/javascripts/alchemy/alchemy.initializer.js.coffee +5 -14
  30. data/app/assets/javascripts/alchemy/alchemy.preview.js.coffee +54 -75
  31. data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +4 -13
  32. data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +1 -0
  33. data/app/assets/javascripts/alchemy/alchemy.tinymce.js.coffee +12 -6
  34. data/app/assets/javascripts/alchemy/alchemy.translations.js.coffee +0 -158
  35. data/app/assets/stylesheets/alchemy/_defaults.scss +0 -2
  36. data/app/assets/stylesheets/alchemy/_extends.scss +13 -18
  37. data/app/assets/stylesheets/alchemy/_mixins.scss +72 -46
  38. data/app/assets/stylesheets/alchemy/_variables.scss +128 -59
  39. data/app/assets/stylesheets/alchemy/admin.scss +7 -1
  40. data/app/assets/stylesheets/alchemy/archive.scss +23 -27
  41. data/app/assets/stylesheets/alchemy/base.scss +5 -355
  42. data/app/assets/stylesheets/alchemy/buttons.scss +23 -60
  43. data/app/assets/stylesheets/alchemy/clipboard.scss +26 -0
  44. data/app/assets/stylesheets/alchemy/dashboard.scss +7 -40
  45. data/app/assets/stylesheets/alchemy/dialogs.scss +23 -36
  46. data/app/assets/stylesheets/alchemy/elements.scss +80 -156
  47. data/app/assets/stylesheets/alchemy/errors.scss +2 -2
  48. data/app/assets/stylesheets/alchemy/flash.scss +19 -10
  49. data/app/assets/stylesheets/alchemy/fonts.scss +13 -0
  50. data/app/assets/stylesheets/alchemy/forms.scss +6 -1
  51. data/app/assets/stylesheets/alchemy/frame.scss +24 -65
  52. data/app/assets/stylesheets/alchemy/hints.scss +2 -2
  53. data/app/assets/stylesheets/alchemy/icons.scss +3 -337
  54. data/app/assets/stylesheets/alchemy/image_library.scss +9 -10
  55. data/app/assets/stylesheets/alchemy/jquery-ui.scss +21 -839
  56. data/app/assets/stylesheets/alchemy/jquery.datetimepicker.scss +32 -57
  57. data/app/assets/stylesheets/alchemy/lists.scss +4 -8
  58. data/app/assets/stylesheets/alchemy/menubar.scss +26 -29
  59. data/app/assets/stylesheets/alchemy/navigation.scss +23 -25
  60. data/app/assets/stylesheets/alchemy/notices.scss +25 -25
  61. data/app/assets/stylesheets/alchemy/pagination.scss +12 -7
  62. data/app/assets/stylesheets/alchemy/preview_window.scss +20 -0
  63. data/app/assets/stylesheets/alchemy/resource_info.scss +1 -1
  64. data/app/assets/stylesheets/alchemy/search.scss +19 -15
  65. data/app/assets/stylesheets/alchemy/selects.scss +63 -32
  66. data/app/assets/stylesheets/alchemy/sitemap.scss +70 -148
  67. data/app/assets/stylesheets/alchemy/tables.scss +16 -59
  68. data/app/assets/stylesheets/alchemy/toolbar.scss +9 -36
  69. data/app/assets/stylesheets/alchemy/trash.scss +8 -0
  70. data/app/assets/stylesheets/alchemy/upload.scss +5 -6
  71. data/app/assets/stylesheets/tinymce/skins/alchemy/content.min.css.scss +1 -0
  72. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +78 -43
  73. data/app/controllers/alchemy/admin/attachments_controller.rb +6 -6
  74. data/app/controllers/alchemy/admin/base_controller.rb +9 -9
  75. data/app/controllers/alchemy/admin/contents_controller.rb +0 -17
  76. data/app/controllers/alchemy/admin/elements_controller.rb +1 -4
  77. data/app/controllers/alchemy/admin/essence_files_controller.rb +1 -3
  78. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +1 -3
  79. data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
  80. data/app/controllers/alchemy/admin/pictures_controller.rb +5 -5
  81. data/app/controllers/alchemy/admin/resources_controller.rb +10 -10
  82. data/app/controllers/alchemy/admin/tags_controller.rb +7 -7
  83. data/app/controllers/alchemy/api/contents_controller.rb +6 -1
  84. data/app/controllers/alchemy/api/elements_controller.rb +5 -1
  85. data/app/controllers/alchemy/api/pages_controller.rb +6 -1
  86. data/app/controllers/alchemy/base_controller.rb +5 -3
  87. data/app/controllers/alchemy/pages_controller.rb +1 -1
  88. data/app/helpers/alchemy/admin/base_helper.rb +14 -15
  89. data/app/helpers/alchemy/admin/contents_helper.rb +1 -2
  90. data/app/helpers/alchemy/admin/elements_helper.rb +7 -6
  91. data/app/helpers/alchemy/admin/tags_helper.rb +3 -4
  92. data/app/helpers/alchemy/base_helper.rb +35 -5
  93. data/app/helpers/alchemy/elements_helper.rb +2 -2
  94. data/app/helpers/alchemy/pages_helper.rb +4 -2
  95. data/app/models/alchemy/attachment.rb +14 -23
  96. data/app/models/alchemy/base_record.rb +13 -0
  97. data/app/models/alchemy/cell.rb +1 -1
  98. data/app/models/alchemy/content.rb +1 -2
  99. data/app/models/alchemy/content/factory.rb +1 -1
  100. data/app/models/alchemy/element.rb +10 -12
  101. data/app/models/alchemy/essence_boolean.rb +1 -1
  102. data/app/models/alchemy/essence_date.rb +2 -2
  103. data/app/models/alchemy/essence_file.rb +1 -1
  104. data/app/models/alchemy/essence_html.rb +1 -1
  105. data/app/models/alchemy/essence_link.rb +1 -1
  106. data/app/models/alchemy/essence_picture.rb +1 -1
  107. data/app/models/alchemy/essence_richtext.rb +1 -1
  108. data/app/models/alchemy/essence_select.rb +1 -1
  109. data/app/models/alchemy/essence_text.rb +1 -1
  110. data/app/models/alchemy/folded_page.rb +1 -1
  111. data/app/models/alchemy/language.rb +21 -5
  112. data/app/models/alchemy/page.rb +17 -5
  113. data/app/models/alchemy/page/page_elements.rb +14 -2
  114. data/app/models/alchemy/page/page_naming.rb +17 -4
  115. data/app/models/alchemy/picture.rb +4 -7
  116. data/app/models/alchemy/site.rb +3 -3
  117. data/app/models/alchemy/tag.rb +3 -3
  118. data/app/models/concerns/alchemy/content_touching.rb +23 -0
  119. data/app/serializers/alchemy/element_serializer.rb +2 -0
  120. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +1 -1
  121. data/app/views/alchemy/admin/attachments/_attachment.html.erb +11 -21
  122. data/app/views/alchemy/admin/attachments/_files_list.html.erb +26 -29
  123. data/app/views/alchemy/admin/attachments/_filter_bar.html.erb +2 -3
  124. data/app/views/alchemy/admin/attachments/_overlay_file_list.html.erb +3 -4
  125. data/app/views/alchemy/admin/attachments/_replace_button.html.erb +2 -3
  126. data/app/views/alchemy/admin/attachments/_tag_list.html.erb +3 -3
  127. data/app/views/alchemy/admin/attachments/destroy.js.erb +1 -1
  128. data/app/views/alchemy/admin/attachments/edit.html.erb +2 -2
  129. data/app/views/alchemy/admin/attachments/index.html.erb +3 -2
  130. data/app/views/alchemy/admin/attachments/show.html.erb +7 -8
  131. data/app/views/alchemy/admin/clipboard/clear.js.erb +1 -1
  132. data/app/views/alchemy/admin/clipboard/index.html.erb +23 -7
  133. data/app/views/alchemy/admin/clipboard/insert.js.erb +1 -1
  134. data/app/views/alchemy/admin/clipboard/remove.js.erb +2 -2
  135. data/app/views/alchemy/admin/contents/create.js.erb +1 -1
  136. data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +9 -6
  137. data/app/views/alchemy/admin/dashboard/_recent_pages.html.erb +6 -4
  138. data/app/views/alchemy/admin/dashboard/_sites.html.erb +4 -2
  139. data/app/views/alchemy/admin/dashboard/_users.html.erb +6 -4
  140. data/app/views/alchemy/admin/dashboard/index.html.erb +3 -3
  141. data/app/views/alchemy/admin/dashboard/info.html.erb +6 -7
  142. data/app/views/alchemy/admin/elements/_add_picture.html.erb +1 -1
  143. data/app/views/alchemy/admin/elements/_element.html.erb +1 -1
  144. data/app/views/alchemy/admin/elements/_element_header.html.erb +14 -14
  145. data/app/views/alchemy/admin/elements/_element_toolbar.html.erb +3 -3
  146. data/app/views/alchemy/admin/elements/_new_element_form.html.erb +2 -3
  147. data/app/views/alchemy/admin/elements/index.html.erb +2 -4
  148. data/app/views/alchemy/admin/elements/new.html.erb +1 -2
  149. data/app/views/alchemy/admin/elements/publish.js.erb +5 -5
  150. data/app/views/alchemy/admin/languages/_language.html.erb +4 -9
  151. data/app/views/alchemy/admin/languages/_table.html.erb +1 -1
  152. data/app/views/alchemy/admin/languages/index.html.erb +1 -1
  153. data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +5 -5
  154. data/app/views/alchemy/admin/layoutpages/index.html.erb +5 -4
  155. data/app/views/alchemy/admin/leave.html.erb +1 -1
  156. data/app/views/alchemy/admin/legacy_page_urls/_legacy_page_url.html.erb +1 -1
  157. data/app/views/alchemy/admin/legacy_page_urls/_new.html.erb +1 -1
  158. data/app/views/alchemy/admin/pages/_form.html.erb +1 -1
  159. data/app/views/alchemy/admin/pages/_locked_page.html.erb +1 -1
  160. data/app/views/alchemy/admin/pages/_page.html.erb +31 -23
  161. data/app/views/alchemy/admin/pages/_page_for_links.html.erb +5 -5
  162. data/app/views/alchemy/admin/pages/_page_infos.html.erb +3 -3
  163. data/app/views/alchemy/admin/pages/_publication_fields.html.erb +1 -1
  164. data/app/views/alchemy/admin/pages/edit.html.erb +22 -21
  165. data/app/views/alchemy/admin/pages/index.html.erb +5 -21
  166. data/app/views/alchemy/admin/pages/info.html.erb +5 -5
  167. data/app/views/alchemy/admin/pages/sort.html.erb +1 -1
  168. data/app/views/alchemy/admin/pages/unlock.js.erb +2 -4
  169. data/app/views/alchemy/admin/partials/_flash.html.erb +1 -1
  170. data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +7 -3
  171. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +2 -2
  172. data/app/views/alchemy/admin/partials/_search_form.html.erb +3 -3
  173. data/app/views/alchemy/admin/pictures/_archive.html.erb +19 -17
  174. data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +1 -1
  175. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +13 -13
  176. data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +2 -3
  177. data/app/views/alchemy/admin/pictures/_form.html.erb +3 -3
  178. data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +2 -3
  179. data/app/views/alchemy/admin/pictures/_picture.html.erb +7 -7
  180. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +3 -3
  181. data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +6 -7
  182. data/app/views/alchemy/admin/pictures/index.html.erb +12 -12
  183. data/app/views/alchemy/admin/pictures/index.js.erb +0 -1
  184. data/app/views/alchemy/admin/pictures/show.html.erb +9 -9
  185. data/app/views/alchemy/admin/resources/_filter_bar.html.erb +2 -3
  186. data/app/views/alchemy/admin/resources/_form.html.erb +10 -2
  187. data/app/views/alchemy/admin/resources/_resource.html.erb +9 -14
  188. data/app/views/alchemy/admin/resources/_table.html.erb +1 -1
  189. data/app/views/alchemy/admin/resources/_tag_list.html.erb +4 -4
  190. data/app/views/alchemy/admin/resources/index.html.erb +2 -3
  191. data/app/views/alchemy/admin/sites/index.html.erb +1 -1
  192. data/app/views/alchemy/admin/tags/_tag.html.erb +7 -11
  193. data/app/views/alchemy/admin/tags/index.html.erb +4 -4
  194. data/app/views/alchemy/admin/trash/index.html.erb +2 -3
  195. data/app/views/alchemy/admin/uploader/_button.html.erb +1 -2
  196. data/app/views/alchemy/base/500.html.erb +1 -1
  197. data/app/views/alchemy/base/permission_denied.js.erb +1 -1
  198. data/app/views/alchemy/base/redirect.js.erb +1 -2
  199. data/app/views/alchemy/elements/_editor_not_found.html.erb +2 -3
  200. data/app/views/alchemy/essences/_essence_date_editor.html.erb +1 -1
  201. data/app/views/alchemy/essences/_essence_file_editor.html.erb +7 -11
  202. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +9 -7
  203. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +1 -1
  204. data/app/views/alchemy/pages/_meta_data.html.erb +1 -1
  205. data/app/views/kaminari/alchemy/_first_page.html.erb +7 -3
  206. data/app/views/kaminari/alchemy/_gap.html.erb +1 -1
  207. data/app/views/kaminari/alchemy/_last_page.html.erb +7 -3
  208. data/app/views/kaminari/alchemy/_next_page.html.erb +4 -2
  209. data/app/views/kaminari/alchemy/_page.html.erb +1 -1
  210. data/app/views/kaminari/alchemy/_prev_page.html.erb +4 -2
  211. data/app/views/layouts/alchemy/admin.html.erb +8 -6
  212. data/bin/rails +2 -2
  213. data/bin/rspec +1 -1
  214. data/config/alchemy/config.yml +0 -2
  215. data/config/alchemy/modules.yml +5 -5
  216. data/config/initializers/simple_form.rb +45 -8
  217. data/config/locales/alchemy.en.yml +66 -179
  218. data/config/routes.rb +1 -1
  219. data/db/migrate/20180226123013_alchemy_four_point_zero.rb +392 -0
  220. data/db/migrate/20180227224537_migrate_tags_to_gutentag.rb +41 -0
  221. data/lib/alchemy/config.rb +0 -2
  222. data/lib/alchemy/engine.rb +5 -9
  223. data/lib/alchemy/essence.rb +6 -6
  224. data/lib/alchemy/filetypes.rb +13 -1
  225. data/lib/alchemy/forms/builder.rb +5 -3
  226. data/lib/alchemy/i18n.rb +8 -6
  227. data/lib/alchemy/modules.rb +1 -1
  228. data/lib/alchemy/name_conversions.rb +0 -2
  229. data/lib/alchemy/page_layout.rb +3 -2
  230. data/lib/alchemy/paths.rb +5 -5
  231. data/lib/alchemy/resource.rb +9 -9
  232. data/lib/alchemy/resources_helper.rb +11 -15
  233. data/lib/alchemy/routing_constraints.rb +2 -2
  234. data/lib/alchemy/shell.rb +0 -1
  235. data/lib/alchemy/taggable.rb +40 -0
  236. data/lib/alchemy/tasks/tidy.rb +1 -9
  237. data/lib/alchemy/test_support/factories/content_factory.rb +10 -0
  238. data/lib/alchemy/test_support/factories/element_factory.rb +5 -0
  239. data/lib/alchemy/test_support/shared_contexts.rb +1 -1
  240. data/lib/alchemy/tinymce.rb +2 -2
  241. data/lib/alchemy/upgrader/four_point_one.rb +42 -0
  242. data/lib/alchemy/upgrader/tasks/harden_acts_as_taggable_on_migrations.rb +27 -0
  243. data/lib/alchemy/version.rb +1 -1
  244. data/lib/alchemy_cms.rb +2 -3
  245. data/lib/rails/generators/alchemy/elements/elements_generator.rb +2 -2
  246. data/lib/rails/generators/alchemy/essence/essence_generator.rb +1 -1
  247. data/lib/rails/generators/alchemy/install/install_generator.rb +4 -8
  248. data/lib/rails/generators/alchemy/module/module_generator.rb +1 -1
  249. data/lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb +2 -2
  250. data/lib/rails/generators/alchemy/site_layouts/site_layouts_generator.rb +2 -2
  251. data/lib/rails/generators/alchemy/views/views_generator.rb +1 -1
  252. data/lib/tasks/alchemy/db.rake +2 -1
  253. data/lib/tasks/alchemy/tidy.rake +0 -6
  254. data/lib/tasks/alchemy/upgrade.rake +11 -144
  255. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  256. data/vendor/assets/fonts/fa-regular-400.svg +363 -0
  257. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  258. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  259. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  260. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  261. data/vendor/assets/fonts/fa-solid-900.svg +1413 -0
  262. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  263. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  264. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  265. data/vendor/assets/javascripts/tinymce/license.txt +6 -6
  266. data/vendor/assets/javascripts/tinymce/tinymce.min.js +2 -15
  267. data/vendor/assets/stylesheets/fontawesome/_animated.scss +20 -0
  268. data/vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss +20 -0
  269. data/vendor/assets/stylesheets/fontawesome/_core.scss +16 -0
  270. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +6 -0
  271. data/vendor/assets/stylesheets/fontawesome/_icons.scss +792 -0
  272. data/vendor/assets/stylesheets/fontawesome/_larger.scss +23 -0
  273. data/vendor/assets/stylesheets/fontawesome/_list.scss +18 -0
  274. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +57 -0
  275. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +23 -0
  276. data/vendor/assets/stylesheets/fontawesome/_screen-reader.scss +5 -0
  277. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +31 -0
  278. data/vendor/assets/stylesheets/fontawesome/_variables.scss +805 -0
  279. data/vendor/assets/stylesheets/fontawesome/fa-regular.scss +22 -0
  280. data/vendor/assets/stylesheets/fontawesome/fa-solid.scss +23 -0
  281. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +16 -0
  282. metadata +78 -112
  283. data/app/assets/fonts/alchemy/icons.eot +0 -0
  284. data/app/assets/fonts/alchemy/icons.svg +0 -33
  285. data/app/assets/fonts/alchemy/icons.ttf +0 -0
  286. data/app/assets/fonts/alchemy/icons.woff +0 -0
  287. data/app/assets/images/alchemy/icons.png +0 -0
  288. data/app/assets/images/alchemy/ui-icons_666666_256x240.png +0 -0
  289. data/app/assets/images/sassy-ie-overlay.png +0 -0
  290. data/app/assets/javascripts/alchemy/alchemy.jquery_loader.js +0 -42
  291. data/app/assets/stylesheets/alchemy/icon-font.scss +0 -75
  292. data/app/assets/stylesheets/alchemy/modules.scss +0 -27
  293. data/app/models/alchemy.rb +0 -7
  294. data/app/views/alchemy/admin/contents/destroy.js.erb +0 -4
  295. data/app/views/alchemy/admin/pictures/flush.js.erb +0 -2
  296. data/config/locales/alchemy.de.yml +0 -932
  297. data/config/locales/alchemy.es.yml +0 -960
  298. data/config/locales/alchemy.fr.yml +0 -938
  299. data/config/locales/alchemy.it.yml +0 -938
  300. data/config/locales/alchemy.nl.yml +0 -918
  301. data/config/locales/alchemy.ru.yml +0 -830
  302. data/config/locales/simple_form.de.yml +0 -26
  303. data/config/locales/simple_form.en.yml +0 -25
  304. data/config/locales/simple_form.es.yml +0 -6
  305. data/config/locales/simple_form.fr.yml +0 -26
  306. data/config/locales/simple_form.it.yml +0 -25
  307. data/config/locales/simple_form.nl.yml +0 -25
  308. data/config/locales/simple_form.ru.yml +0 -25
  309. data/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -378
  310. data/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb +0 -5
  311. data/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb +0 -5
  312. data/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb +0 -5
  313. data/db/migrate/20150608204610_add_parent_element_id_to_alchemy_elements.rb +0 -6
  314. data/db/migrate/20150729151825_add_link_text_to_alchemy_essence_files.rb +0 -5
  315. data/db/migrate/20150906195818_add_locale_to_alchemy_languages.rb +0 -7
  316. data/db/migrate/20160108174834_add_timebased_publishing_columns_to_pages.rb +0 -32
  317. data/db/migrate/20160422195310_add_image_file_format_to_alchemy_pictures.rb +0 -9
  318. data/db/migrate/20160617224938_change_alchemy_pages_locked_to_locked_at.rb +0 -22
  319. data/db/migrate/20160912223112_add_index_to_alchemy_pages_rgt.rb +0 -9
  320. data/db/migrate/20160927205604_add_foreign_key_indices_and_null_constraints.rb +0 -20
  321. data/db/migrate/20160928080104_add_foreign_keys.rb +0 -27
  322. data/lib/alchemy/touching.rb +0 -42
  323. data/lib/alchemy/upgrader/tasks/available_contents_upgrader.rb +0 -161
  324. data/lib/alchemy/upgrader/tasks/install_asset_manifests.rb +0 -15
  325. data/lib/alchemy/upgrader/tasks/install_dragonfly_config.rb +0 -14
  326. data/lib/alchemy/upgrader/tasks/nestable_elements_migration.rb +0 -71
  327. data/lib/alchemy/upgrader/tasks/three_point_two_task.rb +0 -31
  328. data/lib/alchemy/upgrader/three_point_five.rb +0 -32
  329. data/lib/alchemy/upgrader/three_point_four.rb +0 -52
  330. data/lib/alchemy/upgrader/three_point_one.rb +0 -54
  331. data/lib/alchemy/upgrader/three_point_three.rb +0 -50
  332. data/lib/alchemy/upgrader/three_point_two.rb +0 -40
  333. data/lib/alchemy/upgrader/three_point_zero.rb +0 -92
  334. data/vendor/assets/javascripts/jquery_plugins/jquery.floatThead.min.js +0 -3
  335. data/vendor/assets/javascripts/tinymce/langs/de.js +0 -219
  336. data/vendor/assets/javascripts/tinymce/langs/es.js +0 -219
  337. data/vendor/assets/javascripts/tinymce/langs/fr.js +0 -219
  338. data/vendor/assets/javascripts/tinymce/langs/it.js +0 -219
  339. data/vendor/assets/javascripts/tinymce/langs/nl.js +0 -219
  340. data/vendor/assets/javascripts/tinymce/langs/ru.js +0 -219
@@ -1,15 +1,3 @@
1
- $datepicker_current_bg: $light-blue !default;
2
- $datepicker_current_color: $text-color !default;
3
- $datepicker_current_box_shadow: $blue 0 1px 3px 0 inset !default;
4
- $datepicker_hover_bg: $light_yellow !default;
5
- $datepicker_hover_color: $text-color !default;
6
- $datepicker_today_bg: $very-light-blue !default;
7
- $datepicker_today_color: $text-color !default;
8
- $datepicker_header_color: $text-color !default;
9
- $datepicker_day_bg: $light-gray !default;
10
- $datepicker_day_border: 1px solid $medium-gray !default;
11
- $datepicker_day_color: $text-color !default;
12
-
13
1
  .xdsoft_datetimepicker {
14
2
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506);
15
3
  background: #fff;
@@ -17,7 +5,7 @@ $datepicker_day_color: $text-color !default;
17
5
  border-left: 1px solid #ccc;
18
6
  border-right: 1px solid #ccc;
19
7
  border-top: 1px solid #ccc;
20
- border-radius: $default-border-radius;
8
+ @include border-top-radius($default-border-radius);
21
9
  color: $text-color;
22
10
  padding: 8px;
23
11
  padding-left: 0;
@@ -122,69 +110,56 @@ $datepicker_day_color: $text-color !default;
122
110
  }
123
111
 
124
112
  .xdsoft_datetimepicker .xdsoft_label i {
125
- opacity: 0.5;
113
+ opacity: 1;
126
114
  display: inline-block;
127
115
  width: 9px;
128
116
  height: 20px;
129
117
  vertical-align: middle;
118
+ font-family: 'Font Awesome 5 Free';
119
+ font-size: $default-font-size;
120
+ font-style: normal;
121
+ font-weight: 900;
122
+ color: $icon-color;
123
+ text-align: center;
124
+ padding-left: $default-padding;
130
125
 
131
126
  &:before {
132
- content: "";
133
- position: absolute;
134
- top: 50%;
135
- right: 0;
136
- transform: translateY(-50%);
137
- width: 0;
138
- height: 0;
139
- border-style: solid;
140
- border-width: 4px 4px 0 4px;
141
- border-color: $text-color transparent transparent;
127
+ content: fa-content($fa-var-caret-down);
142
128
  }
143
129
  }
144
130
 
145
131
  .xdsoft_datetimepicker .xdsoft_prev,
146
132
  .xdsoft_datetimepicker .xdsoft_next {
147
- position: relative;
148
-
149
- &:before {
150
- content: "";
151
- position: absolute;
152
- top: 50%;
153
- left: 50%;
154
- transform: translate(-50%, -50%);
155
- width: 0;
156
- height: 0;
157
- border-style: solid;
158
- }
133
+ font-size: 1.5em;
134
+ font-weight: 900;
159
135
  }
160
136
 
161
137
  .xdsoft_datetimepicker .xdsoft_prev {
162
138
  float: left;
139
+ text-align: left;
163
140
 
164
141
  &:before {
165
- border-width: 7px 7px 7px 0;
166
- border-color: transparent $text-color transparent transparent;
142
+ content: fa-content($fa-var-caret-left);
167
143
  }
168
144
  }
169
145
 
170
146
  .xdsoft_datetimepicker .xdsoft_today_button {
171
147
  float: left;
172
148
  margin: 0 5px;
149
+ font-weight: 400;
173
150
 
174
151
  &:before {
175
- font-family: 'Alchemy Icons';
176
- font-size: 16px;
177
- line-height: 18px;
178
- content: "\e00a";
152
+ content: fa-content($fa-var-calendar-check);
153
+ font-size: 1.25em;
179
154
  }
180
155
  }
181
156
 
182
157
  .xdsoft_datetimepicker .xdsoft_next {
183
158
  float: right;
159
+ text-align: right;
184
160
 
185
161
  &:before {
186
- border-width: 7px 0 7px 7px;
187
- border-color: transparent transparent transparent $text-color;
162
+ content: fa-content($fa-var-caret-right);
188
163
  }
189
164
  }
190
165
 
@@ -197,7 +172,7 @@ $datepicker_day_color: $text-color !default;
197
172
  cursor: pointer;
198
173
  display: block;
199
174
  height: 30px;
200
- opacity: 0.5;
175
+ opacity: 1;
201
176
  outline: medium none;
202
177
  overflow: hidden;
203
178
  padding: 0;
@@ -205,6 +180,9 @@ $datepicker_day_color: $text-color !default;
205
180
  white-space: nowrap;
206
181
  width: 20px;
207
182
  min-width: 0;
183
+ font-family: 'Font Awesome 5 Free';
184
+ font-style: normal;
185
+ color: $icon-color;
208
186
  }
209
187
 
210
188
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
@@ -252,7 +230,7 @@ $datepicker_day_color: $text-color !default;
252
230
  background: #f5f5f5;
253
231
  border-top: 1px solid #ddd;
254
232
  color: #666;
255
- font-size: 12px;
233
+ font-size: $default-font-size;
256
234
  text-align: center;
257
235
  border-collapse: collapse;
258
236
  cursor: pointer;
@@ -267,8 +245,9 @@ $datepicker_day_color: $text-color !default;
267
245
 
268
246
  .xdsoft_datetimepicker .xdsoft_today_button:hover,
269
247
  .xdsoft_datetimepicker .xdsoft_next:hover,
270
- .xdsoft_datetimepicker .xdsoft_prev:hover {
271
- opacity: 1;
248
+ .xdsoft_datetimepicker .xdsoft_prev:hover,
249
+ .xdsoft_datetimepicker .xdsoft_label:hover i {
250
+ opacity: 0.75;
272
251
  }
273
252
 
274
253
  .xdsoft_datetimepicker .xdsoft_label {
@@ -277,7 +256,7 @@ $datepicker_day_color: $text-color !default;
277
256
  z-index: 9999;
278
257
  margin: 0;
279
258
  padding: 5px 3px;
280
- font-size: 14px;
259
+ font-size: $default-font-size;
281
260
  line-height: 20px;
282
261
  font-weight: bold;
283
262
  background-color: #fff;
@@ -287,10 +266,6 @@ $datepicker_day_color: $text-color !default;
287
266
  cursor: pointer;
288
267
  }
289
268
 
290
- .xdsoft_datetimepicker .xdsoft_label:hover i {
291
- opacity: 1;
292
- }
293
-
294
269
  .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select {
295
270
  border: 1px solid #ccc;
296
271
  position: absolute;
@@ -355,7 +330,7 @@ $datepicker_day_color: $text-color !default;
355
330
  background: $datepicker_day_bg;
356
331
  border: $datepicker_day_border;
357
332
  color: $datepicker_day_color;
358
- font-size: 12px;
333
+ font-size: $default-font-size;
359
334
  text-align: right;
360
335
  vertical-align: middle;
361
336
  padding: 0;
@@ -440,7 +415,7 @@ $datepicker_day_color: $text-color !default;
440
415
 
441
416
  .xdsoft_datetimepicker .xdsoft_copyright {
442
417
  color: #ccc !important;
443
- font-size: 10px;
418
+ font-size: $small-font-size;
444
419
  clear: both;
445
420
  float: none;
446
421
  margin-left: 8px;
@@ -484,12 +459,12 @@ $datepicker_day_color: $text-color !default;
484
459
  margin-top: 5px;
485
460
  width: 100%;
486
461
  color: #454551;
487
- font-size: 13px;
462
+ font-size: $default-font-size;
488
463
  }
489
464
 
490
465
  .xdsoft_datetimepicker .blue-gradient-button {
491
466
  font-family: "museo-sans", "Book Antiqua", sans-serif;
492
- font-size: 12px;
467
+ font-size: $default-font-size;
493
468
  font-weight: 300;
494
469
  color: #82878c;
495
470
  height: 28px;
@@ -11,10 +11,6 @@ ul.list {
11
11
  }
12
12
  }
13
13
 
14
- &#sitemap {
15
- padding: 0 0 104px 0;
16
- }
17
-
18
14
  li {
19
15
  list-style-type: none;
20
16
  display: block;
@@ -24,8 +20,8 @@ ul.list {
24
20
  overflow: hidden;
25
21
  background-color: transparent;
26
22
  font-weight: bold;
27
- padding: $default-padding;
28
- margin-bottom: $default-margin;
23
+ padding: $default-padding 2*$default-padding;
24
+ margin-bottom: 2*$default-margin;
29
25
 
30
26
  .list-secondary {
31
27
  color: $text-color;
@@ -33,11 +29,11 @@ ul.list {
33
29
  }
34
30
 
35
31
  &.even {
36
- background-color: #fff;
32
+ background-color: $table-row-even-background-color;
37
33
  }
38
34
 
39
35
  &.odd {
40
- background-color: #eaf3f9;
36
+ background-color: $table-row-odd-background-color;
41
37
  }
42
38
  }
43
39
 
@@ -2,26 +2,21 @@
2
2
  *= require_self
3
3
  */
4
4
 
5
- @import "bourbon";
6
5
  @import "alchemy/variables";
7
6
  @import "alchemy/mixins";
8
- @import "alchemy/extends";
9
7
 
10
8
  #alchemy_menubar {
11
9
  position: fixed;
12
10
  top: 0;
13
- left: -356px;
11
+ left: -358px;
14
12
  width: 400px;
15
13
  z-index: 10000;
16
- background: $light-gray;
17
- @include animate-left;
18
- @include bottom-right-rounded-border;
19
- @include drop-shadow;
14
+ background: $blue;
15
+ transition: left 0.15s ease-in;
16
+ box-shadow: 0 0 0 1px $white;
20
17
  box-sizing: border-box;
21
- border-right: $default-border;
22
- border-bottom: $default-border;
23
- height: 44px;
24
- padding: 4px 40px 4px 8px;
18
+ height: auto;
19
+ padding: 8px 40px 8px 8px;
25
20
  overflow: hidden;
26
21
  font: $default-font-style;
27
22
 
@@ -37,41 +32,43 @@
37
32
 
38
33
  &:after {
39
34
  content: '';
40
- width: 28px;
41
- height: 28px;
35
+ width: 24px;
36
+ height: 24px;
42
37
  position: absolute;
43
- right: 8px;
44
- top: 8px;
38
+ right: 10px;
39
+ top: 50%;
45
40
  background: image-url('alchemy/icon.svg') 0 0 no-repeat;
46
- background-size: 28px 28px;
41
+ background-size: 24px 24px;
42
+ transform: translateY(-50%);
47
43
  }
48
44
 
49
45
  ul {
50
46
  padding: 0;
51
47
  margin: 0;
52
- height: auto;
48
+ height: 100%;
53
49
 
54
50
  li {
55
- width: 32%;
56
- height: 35px;
57
- margin: 0 $default-margin 0 0;
58
- padding: 0;
51
+ width: 33.333%;
52
+ height: 100%;
53
+ margin: 0;
54
+ padding: 0 $default-padding;
59
55
  float: left;
60
56
  list-style-type: none;
61
57
  text-align: center;
62
58
 
63
59
  a, button {
64
- @include button-defaults;
65
- padding-left: $default-padding;
66
- padding-right: $default-padding;
60
+ @include button-defaults(
61
+ $background-color: $blue,
62
+ $hover-color: rgba($white, 0.15),
63
+ $hover-border-color: $white,
64
+ $border: 1px solid $white,
65
+ $padding: 0.5em 0,
66
+ $color: $white
67
+ );
67
68
  width: 100%;
68
- display: block;
69
- line-height: 14px;
70
- font-weight: normal;
71
69
  text-decoration: none !important;
72
70
  text-transform: none;
73
- color: $text-color !important;
74
- font-family: $default-font-face;
71
+ font-family: $default-font-family;
75
72
 
76
73
  &:after { display: none }
77
74
  }
@@ -20,7 +20,6 @@
20
20
  top: 0;
21
21
  left: 0;
22
22
  width: $main-menu-width;
23
- border-right: $default-border;
24
23
  background-color: $main-menu-bg-color;
25
24
  @extend .disable-user-select;
26
25
 
@@ -63,16 +62,19 @@
63
62
  @include truncate($main-menu-entry-max-width);
64
63
  }
65
64
 
66
- a {
67
- text-shadow: $text-shadow-light;
65
+ img, .icon {
66
+ width: 24px;
68
67
  }
69
68
 
70
- img, .module.icon {
69
+ img {
71
70
  border-style: none;
72
71
  height: 24px;
73
- width: 24px;
74
- display: inline-block;
75
- vertical-align: middle;
72
+ vertical-align: -0.6em;
73
+ }
74
+
75
+ .icon {
76
+ vertical-align: -0.15em;
77
+ color: inherit;
76
78
  }
77
79
  }
78
80
 
@@ -82,7 +84,6 @@
82
84
  }
83
85
 
84
86
  .main_navi_entry {
85
- color: $main-menu-text-color;
86
87
  position: relative;
87
88
  display: block;
88
89
  line-height: 46px;
@@ -104,22 +105,24 @@
104
105
  }
105
106
  }
106
107
 
107
- &.active {
108
+ &.active, &:hover {
108
109
  background-color: $main-menu-active-bg-color;
109
- color: $text-color;
110
110
  cursor: default;
111
+
112
+ a, .icon {
113
+ color: $main-menu-active-text-color;
114
+ text-decoration: none;
115
+ text-shadow: none;
116
+ }
111
117
  }
112
118
 
113
119
  a {
114
120
  display: block;
115
121
  padding-left: 3 * $default-padding;
122
+ font-weight: bold;
123
+ color: $main-menu-text-color;
116
124
  transition: color $transition-duration $transition-easing;
117
-
118
- &:hover {
119
- text-decoration: none;
120
- color: #000;
121
- text-shadow: none;
122
- }
125
+ @include antialiased-font-smoothing;
123
126
  }
124
127
  }
125
128
 
@@ -174,15 +177,10 @@ body:not(.collapsed-menu) {
174
177
  background-color: transparent;
175
178
  transition: background-color $transition-duration $transition-easing;
176
179
  @include truncate($main-menu-width, $display: block);
177
-
178
- &:hover {
179
- background-color: rgba(255,255,255,0.2);
180
- }
181
180
  }
182
181
 
183
- &.active a {
184
- font-weight: bold;
185
- color: $main-menu-text-color;
182
+ &.active a, a:hover {
183
+ background-color: darken($dark-orange, 5%);
186
184
  }
187
185
  }
188
186
 
@@ -226,7 +224,7 @@ body:not(.collapsed-menu) {
226
224
  display: inline-block;
227
225
  color: $muted-text-color;
228
226
  margin-right: 2px;
229
- font-size: 10px;
227
+ font-size: $small-font-size;
230
228
  text-transform: uppercase;
231
229
  }
232
230
 
@@ -234,6 +232,6 @@ body:not(.collapsed-menu) {
234
232
  display: inline-block;
235
233
  color: $muted-text-color;
236
234
  margin-right: $default-margin;
237
- font-size: 10px;
235
+ font-size: $small-font-size;
238
236
  }
239
237
  }
@@ -1,29 +1,30 @@
1
- // leave this as div, bcz some table columns also have .message
2
- div.message, p.message {
1
+ // Some table columns also have .message class
2
+ div.message {
3
3
  padding: 8px 8px 8px 32px;
4
4
  line-height: 17px;
5
- border-width: 1px;
6
- border-style: solid;
7
- @extend %rounded-border;
5
+ border-width: $default-border-width;
6
+ border-style: $default-border-style;
7
+ border-radius: $default-border-radius;
8
8
  position: relative;
9
9
  margin-bottom: 8px;
10
10
  text-align: left;
11
11
 
12
12
  h1 {
13
- font-size: 14px;
13
+ font-size: 1.2em;
14
14
  margin: 8px 0;
15
15
  }
16
16
 
17
17
  h1, h2 { margin-top: 0 }
18
18
 
19
- span.icon {
19
+ .icon {
20
20
  position: absolute;
21
21
  left: 8px;
22
- top: 8px;
22
+ top: 10px;
23
+ color: inherit;
23
24
  }
24
25
 
25
26
  &.footnote {
26
- font-size: 10px;
27
+ font-size: $small-font-size;
27
28
  margin: 16px;
28
29
  }
29
30
 
@@ -42,23 +43,22 @@ div.message, p.message {
42
43
  margin-bottom: 4px;
43
44
  }
44
45
  }
45
- }
46
46
 
47
- div.info {
48
- @extend div.message;
49
- color: $text-color;
50
- background-color: #eaf4f9;
51
- border-color: #0b5c84;
52
- }
47
+ &.info {
48
+ background-color: $info_background_color;
49
+ border-color: $info_border_color;
50
+ color: $info_text_color;
51
+ }
53
52
 
54
- div.error {
55
- @extend div.message;
56
- background-color: #f1c9ca;
57
- color: #931f23;
58
- }
53
+ &.error {
54
+ background-color: $error_background_color;
55
+ border-color: $error_border_color;
56
+ color: $error_text_color;
57
+ }
59
58
 
60
- div.warning, div.warn {
61
- @extend div.message;
62
- background-color: #f7efb8;
63
- color: #756f47;
59
+ &.warning, &.warn, &.alert {
60
+ background-color: $warning_background_color;
61
+ border-color: $warning_border_color;
62
+ color: $warning_text_color;
63
+ }
64
64
  }