caboose-cms 0.9.219 → 0.9.220

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cf4b66ffc0d778e42e2b2e711eaaaba592678ff1d22e3fe24b70260efb58d9a
4
- data.tar.gz: c5d3d5670bda6895c8c2c592d326f4ffe4309f4801902606890f0ac8b45035c7
3
+ metadata.gz: 14006ac017f65da8efaff3de22b2a6d880d7f6e1404720437c82cc2b0e9ce0ae
4
+ data.tar.gz: 4fc024aa0b21eff996f33134b461e7cd60576ef0c7a821ae6cbb1362236a2948
5
5
  SHA512:
6
- metadata.gz: 6ed6b110653c2c0578397e8f24c5ef4bc47885c2c2f51229c13fa077b2562da6bbf778cc58eb13270ff06fe682c0e0f7e5f9c3e45ce9f5a9924ec363d46833be
7
- data.tar.gz: 3a9f7f7de68ac4674ca85de818f6e8382fcda7f18196c057a471d4fc234b241ce479396747eab5a86ef23ab24fdcac00220e2acdeca8cbdfa4f0fc59f2c96cc0
6
+ metadata.gz: 33714aeeca28099e7144d65c02956906f4fea9498be8c42236cf1e4f3c032120d0d7f9f79d4512d107c9b267a9674931bc528213fbcbd50fae8dc1194cf69d70
7
+ data.tar.gz: 48845b05c7ec89c56722984a369148b6f31b020e34f106bfa60368485207c5cbb65f57a34ac6c11b4d51251e138089484e4ad5fab1fad85bf5fb5c97d37f3a18
@@ -144,7 +144,7 @@ var RichtextModalController = BlockModalController.extend({
144
144
  width: '798px',
145
145
  height: '300px',
146
146
  convert_urls: false,
147
- plugins: 'advlist autolink lists link image charmap print preview hr anchor pagebreak searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking table contextmenu directionality emoticons template paste textcolor caboose',
147
+ plugins: 'advlist autolink lists link image charmap preview hr anchor pagebreak searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking table contextmenu directionality paste textcolor caboose',
148
148
  toolbar1: 'caboose_save caboose_cancel | bold italic forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
149
149
  image_advtab: true,
150
150
  external_plugins: { 'caboose': '//d9hjv462jiw15.cloudfront.net/assets/tinymce/plugins/caboose/plugin.js' },
@@ -742,6 +742,7 @@ module Caboose
742
742
  new_home.uri = nil
743
743
  new_home.redirect_url = nil
744
744
  new_home.hide = false
745
+ new_home.custom_sort_children = old_home.custom_sort_children
745
746
  new_home.save
746
747
  new_layout = Caboose::Block.where(:parent_id => nil, :page_id => new_home.id).first
747
748
  new_footer = new_layout.child('footer') if new_layout
@@ -763,6 +764,7 @@ module Caboose
763
764
  old_home.uri = "old-home-#{old_home.id}"
764
765
  old_home.hide = true
765
766
  old_home.save
767
+ Caboose::Page.where(:parent_id => old_home.id).update_all(parent_id: new_home.id)
766
768
  resp.success = true
767
769
  resp.redirect = "/admin/pages/#{new_home.id}"
768
770
  else
@@ -10,7 +10,7 @@ tinyMCE.init({
10
10
  width: '800px',
11
11
  height: '300px',
12
12
  convert_urls: false,
13
- plugins: 'advlist autolink lists link image charmap print preview hr anchor pagebreak searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking table contextmenu directionality emoticons template paste textcolor caboose',
13
+ plugins: 'advlist autolink lists link image charmap preview hr anchor pagebreak searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking table contextmenu directionality paste textcolor caboose',
14
14
  toolbar1: 'caboose_save caboose_cancel | bold italic forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
15
15
  image_advtab: true,
16
16
  external_plugins: { 'caboose': '#{Caboose::cdn_domain == '/' ? '' : "//#{Caboose::cdn_domain}"}/assets/tinymce/plugins/caboose/plugin.js' },
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.219'
2
+ VERSION = '0.9.220'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.219
4
+ version: 0.9.220
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-12 00:00:00.000000000 Z
11
+ date: 2018-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg