caboose-cms 0.9.229 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/caboose/admin.js +1 -1
- data/app/assets/javascripts/caboose/admin/application.js +20 -0
- data/app/assets/javascripts/caboose/admin_main.js +13 -3
- data/app/assets/javascripts/caboose/admin_media_index.js +158 -161
- data/app/assets/javascripts/caboose/application.js +7 -8
- data/app/assets/javascripts/caboose/block_content_controller_dragdrop.js +4 -60
- data/app/assets/javascripts/caboose/block_modal_controllers/block_dd_modal_controller.js +2 -3
- data/app/assets/javascripts/caboose/block_modal_controllers/media_modal_controller.js +6 -17
- data/app/assets/javascripts/caboose/model/all.js +1 -5
- data/app/assets/stylesheets/caboose/admin/_config.scss +102 -0
- data/app/assets/stylesheets/caboose/admin/application.css +11 -0
- data/app/assets/stylesheets/caboose/admin/component.css +183 -0
- data/app/assets/stylesheets/caboose/admin/froala.min.css +91 -0
- data/app/assets/stylesheets/caboose/admin/ie.scss +67 -0
- data/app/assets/stylesheets/caboose/admin/integrations/main.scss +6 -0
- data/app/assets/stylesheets/caboose/admin/integrations/shopify.scss +128 -0
- data/app/assets/stylesheets/caboose/admin/jquery-ui-subnav-theme.min.css +5 -0
- data/app/assets/stylesheets/caboose/admin/layout.scss +150 -0
- data/app/assets/stylesheets/caboose/admin/main.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/body.scss +176 -0
- data/app/assets/stylesheets/caboose/admin/modules/buttons.scss +120 -0
- data/app/assets/stylesheets/caboose/admin/modules/countdown.css +21 -0
- data/app/assets/stylesheets/caboose/admin/modules/crumbtrail.scss +80 -0
- data/app/assets/stylesheets/caboose/admin/modules/data_table.scss +92 -0
- data/app/assets/stylesheets/caboose/admin/modules/footer.scss +62 -0
- data/app/assets/stylesheets/caboose/admin/modules/forms.scss +72 -0
- data/app/assets/stylesheets/caboose/admin/modules/functions.scss +31 -0
- data/app/assets/stylesheets/caboose/admin/modules/grid.scss +108 -0
- data/app/assets/stylesheets/caboose/admin/modules/header.scss +77 -0
- data/app/assets/stylesheets/caboose/admin/modules/headings.scss +38 -0
- data/app/assets/stylesheets/caboose/admin/modules/main_nav.scss +73 -0
- data/app/assets/stylesheets/caboose/admin/modules/message_boxes.scss +55 -0
- data/app/assets/stylesheets/caboose/admin/modules/model_binder.scss +189 -0
- data/app/assets/stylesheets/caboose/admin/modules/navigation.scss +261 -0
- data/app/assets/stylesheets/caboose/admin/modules/order_bumps.scss +57 -0
- data/app/assets/stylesheets/caboose/admin/modules/pager.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/product_images.scss +21 -0
- data/app/assets/stylesheets/caboose/admin/modules/products.css +86 -0
- data/app/assets/stylesheets/caboose/admin/modules/search.scss +49 -0
- data/app/assets/stylesheets/caboose/admin/modules/selects.scss +12 -0
- data/app/assets/stylesheets/caboose/admin/modules/subnav_tabs.scss +34 -0
- data/app/assets/stylesheets/caboose/admin/modules/tabs.scss +140 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/block_anchors.scss +48 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/block_overlays.scss +182 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/device_selector.scss +65 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/froala.scss +81 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/group_overlay.scss +115 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/layout.scss +128 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/main.scss +18 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/modal.scss +11 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/preview.scss +25 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/publish.scss +25 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/revisions.scss +58 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/subnav.scss +273 -0
- data/app/assets/stylesheets/caboose/admin/page_edit/top_nav.scss +109 -0
- data/app/assets/stylesheets/caboose/admin/pages/assets_index.css +48 -0
- data/app/assets/stylesheets/caboose/admin/pages/block_edit_image.css.scss +386 -0
- data/app/assets/stylesheets/caboose/admin/pages/media_index.css.scss +300 -0
- data/app/assets/stylesheets/caboose/admin/pages/new_block.css +9 -0
- data/app/assets/stylesheets/caboose/admin/pages/page_edit.scss +960 -0
- data/app/assets/stylesheets/caboose/admin/pages/page_edit_content.scss +103 -0
- data/app/assets/stylesheets/caboose/admin/pages/pages_index.scss +79 -0
- data/app/assets/stylesheets/caboose/admin/pages/post_edit_content.css +46 -0
- data/app/assets/stylesheets/caboose/admin/print.css +3 -0
- data/app/assets/stylesheets/caboose/admin/slack.scss +51 -0
- data/app/assets/stylesheets/caboose/admin_block_edit_image.css.scss +1 -2
- data/app/assets/stylesheets/caboose/admin_edit_page_content_dragdrop.scss +15 -71
- data/app/assets/stylesheets/caboose/admin_main.css.scss +29 -25
- data/app/assets/stylesheets/caboose/admin_media_index.css.scss +5 -26
- data/app/assets/stylesheets/caboose/application.css +5 -11
- data/app/assets/stylesheets/caboose/login.scss +0 -1
- data/app/assets/stylesheets/caboose/modal_main.css +19 -21
- data/app/assets/stylesheets/caboose/model_binder.css +4 -13
- data/app/assets/stylesheets/caboose/page_bar_generator.css +1 -2
- data/app/controllers/caboose/admin_controller.rb +4 -3
- data/app/controllers/caboose/application_controller.rb +19 -16
- data/app/controllers/caboose/assets_controller.rb +65 -0
- data/app/controllers/caboose/block_types_controller.rb +6 -8
- data/app/controllers/caboose/cart_controller.rb +2 -2
- data/app/controllers/caboose/fonts_controller.rb +2 -139
- data/app/controllers/caboose/invoices_controller.rb +4 -5
- data/app/controllers/caboose/login_logs_controller.rb +7 -5
- data/app/controllers/caboose/media_categories_controller.rb +2 -16
- data/app/controllers/caboose/media_controller.rb +11 -14
- data/app/controllers/caboose/pages_controller.rb +42 -104
- data/app/controllers/caboose/posts_controller.rb +7 -53
- data/app/controllers/caboose/products_controller.rb +1 -1
- data/app/controllers/caboose/sites_controller.rb +6 -25
- data/app/controllers/caboose/sns_controller.rb +3 -3
- data/app/controllers/caboose/themes_controller.rb +0 -30
- data/app/controllers/caboose/users_controller.rb +10 -17
- data/app/controllers/caboose/variants_controller.rb +9 -9
- data/app/models/caboose/ab_variant.rb +1 -1
- data/app/models/caboose/asset.rb +23 -0
- data/app/models/caboose/asset_manager.rb +92 -0
- data/app/models/caboose/asset_manifest.rb +91 -0
- data/app/models/caboose/block.rb +24 -100
- data/app/models/caboose/block_cache.rb +105 -0
- data/app/models/caboose/block_cache_file.rb +22 -0
- data/app/models/caboose/block_cache_image.rb +53 -0
- data/app/models/caboose/block_type.rb +3 -4
- data/app/models/caboose/block_type_category.rb +2 -2
- data/app/models/caboose/block_type_parser.rb +1 -1
- data/app/models/caboose/block_type_source.rb +2 -2
- data/app/models/caboose/calendar_event_group.rb +2 -2
- data/app/models/caboose/category.rb +2 -2
- data/app/models/caboose/comment_routes.rb +8 -7
- data/app/models/caboose/core_plugin.rb +3 -4
- data/app/models/caboose/export.rb +1 -1
- data/app/models/caboose/font.rb +2 -7
- data/app/models/caboose/font_variant.rb +0 -12
- data/app/models/caboose/invoice.rb +14 -14
- data/app/models/caboose/line_item.rb +4 -4
- data/app/models/caboose/media.rb +4 -15
- data/app/models/caboose/media_category.rb +7 -5
- data/app/models/caboose/modification.rb +2 -2
- data/app/models/caboose/page.rb +54 -325
- data/app/models/caboose/page_bar_generator.rb +10 -20
- data/app/models/caboose/page_cache.rb +12 -0
- data/app/models/caboose/page_cacher.rb +137 -0
- data/app/models/caboose/post.rb +8 -108
- data/app/models/caboose/product.rb +5 -5
- data/app/models/caboose/product_image.rb +1 -1
- data/app/models/caboose/role.rb +2 -2
- data/app/models/caboose/schema.rb +72 -73
- data/app/models/caboose/site.rb +1 -203
- data/app/models/caboose/theme.rb +5 -70
- data/app/views/caboose/admin/_content.html.erb +44 -0
- data/app/views/caboose/admin/_fonts.html.erb +47 -0
- data/app/views/caboose/admin/_footer.html.erb +1 -0
- data/app/views/caboose/admin/_header.html.erb +12 -0
- data/app/views/caboose/admin/_icons.html.erb +6 -0
- data/app/views/caboose/admin/_mobile_navigation.html.erb +22 -0
- data/app/views/caboose/admin/_post.html.erb +74 -0
- data/app/views/caboose/admin/index.html.erb +33 -36
- data/app/views/caboose/block_types/admin_edit.html.erb +8 -6
- data/app/views/caboose/blocks/_file.html.erb +2 -2
- data/app/views/caboose/blocks/_ga.html.erb +2 -1
- data/app/views/caboose/blocks/_image.html.erb +0 -4
- data/app/views/caboose/blocks/_render_function.html.erb +4 -9
- data/app/views/caboose/fonts/admin_index.html.erb +10 -55
- data/app/views/caboose/invoices_mailer/customer_status_updated.html.erb +14 -5
- data/app/views/caboose/login_logs/admin_index_for_user.html.erb +1 -1
- data/app/views/caboose/media/admin_index.html.erb +24 -14
- data/app/views/caboose/my_account/index.html.erb +0 -1
- data/app/views/caboose/pages/_admin_header.html.erb +0 -5
- data/app/views/caboose/pages/admin_edit_content.html.erb +2 -6
- data/app/views/caboose/pages/admin_edit_general.html.erb +4 -32
- data/app/views/caboose/pages/admin_new_old.html.erb +46 -0
- data/app/views/caboose/pages/test.html.erb +64 -0
- data/app/views/caboose/posts/_admin_header.html.erb +0 -5
- data/app/views/caboose/posts/admin_delete_form.html.erb +1 -1
- data/app/views/caboose/posts/admin_edit_content.html.erb +2 -6
- data/app/views/caboose/products/admin_group_variants.html.erb +1 -1
- data/app/views/caboose/products/admin_sort.html copy.erb +1 -1
- data/app/views/caboose/sites/admin_edit.html.erb +0 -21
- data/app/views/caboose/themes/admin_edit.html.erb +3 -7
- data/app/views/caboose/users/_admin_header.html.erb +0 -4
- data/app/views/caboose/users/admin_edit_roles.html.erb +0 -1
- data/app/views/caboose/variants/admin_group.html.erb +1 -1
- data/app/views/layouts/caboose/admin.html.erb +2 -9
- data/app/views/layouts/caboose/application.html.erb +92 -62
- data/config/routes.rb +1 -4
- data/lib/caboose/version.rb +1 -1
- data/lib/tasks/caboose.rake +14 -3
- metadata +238 -57
- data/app/controllers/caboose/change_logs_controller.rb +0 -13
- data/app/models/caboose/change_log.rb +0 -97
- data/app/views/caboose/blocks/_cached_block.html.erb +0 -28
- data/app/views/caboose/change_logs/admin_index.html.erb +0 -65
- data/app/views/caboose/fonts/admin_family_edit.html.erb +0 -63
- data/app/views/caboose/fonts/admin_family_index.html.erb +0 -42
- data/app/views/caboose/fonts/admin_variant_edit.html.erb +0 -84
- data/app/views/caboose/pages/admin_change_logs.html.erb +0 -56
- data/app/views/caboose/pages/compiled_asset.css.erb +0 -0
- data/app/views/caboose/pages/compiled_asset.js.erb +0 -0
- data/app/views/caboose/posts/admin_change_logs.html.erb +0 -56
- data/app/views/caboose/sites/compiled_asset.css.erb +0 -0
- data/app/views/caboose/sites/compiled_asset.js.erb +0 -0
- data/app/views/caboose/themes/admin_error_log.html.erb +0 -9
- data/app/views/caboose/themes/admin_js.html.erb +0 -131
- data/app/views/caboose/users/admin_change_logs.html.erb +0 -63
- data/app/views/layouts/caboose/css.css.erb +0 -44
- data/app/views/layouts/caboose/footer_css.css.erb +0 -41
- data/app/views/layouts/caboose/footer_js.js.erb +0 -31
- data/app/views/layouts/caboose/js.js.erb +0 -34
@@ -10,14 +10,10 @@ position = header.child('position') if header
|
|
10
10
|
<div class="admin-theme grid-row">
|
11
11
|
<div class="unit1of2 left">
|
12
12
|
<section>
|
13
|
-
<h5>
|
14
|
-
Compile
|
15
|
-
<a href="/admin/theme/errors" style="display:inline-block;font-size:12px;margin-left:15px;text-decoration:none;color:gray;" id="error">Error Log</a>
|
16
|
-
</h5>
|
13
|
+
<h5>Compile</h5>
|
17
14
|
<div class="buttons">
|
18
|
-
<a style="margin-right:
|
19
|
-
<a
|
20
|
-
<a href="/admin/theme/js" class="caboose-btn">Edit Javascript</a>
|
15
|
+
<a style="margin-right:5px;" href="#" id="compile-btn" class="caboose-btn">Compile Theme</a>
|
16
|
+
<a href="/admin/theme/sass" class="caboose-btn">Edit Custom SCSS</a>
|
21
17
|
</div>
|
22
18
|
|
23
19
|
<div style="margin-top:20px;" id='message'></div>
|
@@ -26,10 +26,6 @@ if Caboose::Subscription.where(:site_id => @site.id).exists?
|
|
26
26
|
arr = tabs.to_a.insert(6, ['Subscriptions', "/admin/users/#{@edituser.id}/subscriptions"])
|
27
27
|
tabs = Hash[arr]
|
28
28
|
end
|
29
|
-
if @site.use_change_logs && Caboose::ChangeLog.where(:user_id => @edituser.id).exists? && @logged_in_user.is_allowed('logs','view')
|
30
|
-
arr = tabs.to_a.insert(4, ["Change Logs","/admin/users/#{@edituser.id}/logs"])
|
31
|
-
tabs = Hash[arr]
|
32
|
-
end
|
33
29
|
tabs = Caboose.plugin_hook('admin_user_tabs', tabs, @edituser, @site)
|
34
30
|
%>
|
35
31
|
<% tabs.each do |text, href| %>
|
@@ -6,7 +6,6 @@
|
|
6
6
|
<div id='roles'>
|
7
7
|
<table class='data'>
|
8
8
|
<% Caboose::Role.flat_tree(@site.id).each do |r| %>
|
9
|
-
<% next if !@logged_in_user.is_allowed('all','all') && (r.name == 'Admin' || r.name == 'Everyone Logged Out' || r.name == '-Everyone Logged In') %>
|
10
9
|
<% is_member = Caboose::RoleMembership.where(:role_id => r.id, :user_id => @edituser.id).exists? %>
|
11
10
|
<tr><td><input type='checkbox' name='role<%= r.id %>' <%= is_member ? "checked='true'" : '' %> onclick="toggle_role(<%= @edituser.id %>, <%= r.id %>, $(this).prop('checked'));" /></td><td><%= r.name %></td></tr>
|
12
11
|
<% end %>
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<% end %>
|
110
110
|
|
111
111
|
<% content_for :caboose_js do %>
|
112
|
-
<%= javascript_include_tag '
|
112
|
+
<%= javascript_include_tag 'underscore' %>
|
113
113
|
|
114
114
|
<script>
|
115
115
|
window.count = <%= @variants.count %>;
|
@@ -11,11 +11,7 @@ if request.env['HTTP_CF_VISITOR'] && request.env['HTTP_CF_VISITOR'].include?('ht
|
|
11
11
|
end
|
12
12
|
|
13
13
|
content_for :admin_css do
|
14
|
-
%><%= stylesheet_link_tag "caboose/admin", :media => "all"
|
15
|
-
<%= stylesheet_link_tag "colorbox-rails", :media => "all" %>
|
16
|
-
<%= stylesheet_link_tag "caboose/model_binder", :media => "all" %>
|
17
|
-
<%# stylesheet_link_tag "caboose/page_bar_generator", :media => "all" %>
|
18
|
-
<%
|
14
|
+
%><%= stylesheet_link_tag "caboose/admin", :media => "all" %><%
|
19
15
|
if File.exists?("#{Rails.root}/app/assets/stylesheets/admin.css")
|
20
16
|
%><%= stylesheet_link_tag "admin", :media => "all" %><%
|
21
17
|
end
|
@@ -31,10 +27,7 @@ if protocol == 'https://'
|
|
31
27
|
end
|
32
28
|
|
33
29
|
content_for :admin_js do
|
34
|
-
|
35
|
-
<%= javascript_include_tag "caboose/admin" %>
|
36
|
-
<%= javascript_include_tag "caboose/jquery.detect" %>
|
37
|
-
<%
|
30
|
+
%><%= javascript_include_tag "caboose/admin" %><%
|
38
31
|
%><%= yield :caboose_js %><%
|
39
32
|
end
|
40
33
|
|
@@ -1,57 +1,41 @@
|
|
1
1
|
<% if @page && @page.title != 'Access Denied' %>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<% css_url = @page.css_url %>
|
36
|
-
<% if !css_url.include?('empty.css') && !@post %><link rel='stylesheet' type='text/css' media='all' href="<%= css_url %>" /><!-- page css --><% end %>
|
37
|
-
<% end %>
|
38
|
-
<% if @site.use_caching %>
|
39
|
-
<% footer_css_url = @site.footer_css_url %>
|
40
|
-
<% if !footer_css_url.include?('empty.css') && @page.parent_id != -1 %><link rel='stylesheet' type='text/css' media='all' href="<%= footer_css_url %>" /><!-- footer css --><% end %>
|
41
|
-
<% end %>
|
42
|
-
<% if !@site.custom_css_files.blank? && @page.parent_id != -1 %>
|
43
|
-
<% @site.custom_css_files.split("\n").each do |url| %><link rel="stylesheet" type='text/css' href="<%== url %>" /><% end %>
|
44
|
-
<% end %>
|
45
|
-
<% Caboose::stylesheets.each do |css| %><%= gzip_stylesheet_link_tag(css) %><% end %>
|
46
|
-
<% if @site.date_css_updated %><link rel='stylesheet' type='text/css' href="<%== @site.custom_css_url %>" /><% end %>
|
47
|
-
<% if @page.custom_css_files && @page.custom_css_files.strip.length > 0 %>
|
48
|
-
<% @page.custom_css_files.split("\n").each do |url| %><link rel="stylesheet" type='text/css' href="<%== url %>" /><% end %>
|
49
|
-
<% end %>
|
50
|
-
<% if @page.custom_css && @page.custom_css.strip.length > 0 && (!@site.use_caching || @editing) %><style><%== @page.custom_css %></style><% end %>
|
51
|
-
<%= yield :caboose_css %>
|
52
|
-
<% end %>
|
2
|
+
<% content_for :js do %>
|
3
|
+
<%= gzip_javascript_include_tag "caboose/application" %>
|
4
|
+
<% if @site.theme %>
|
5
|
+
<script type='text/javascript' src="<%= @site.theme.js_url %>"></script>
|
6
|
+
<% else %>
|
7
|
+
<%= gzip_javascript_include_tag @site.name == 'application' ? 'application' : "#{@site.name}/js/application" %>
|
8
|
+
<% end %>
|
9
|
+
<script>window.loggedIn = <%= logged_in?.to_json %></script>
|
10
|
+
<% Caboose::javascripts.each do |js| %><%= javascript_include_tag(js) %><% end %>
|
11
|
+
<% @page.linked_resources_map[:js].each do |r| %><%= gzip_javascript_include_tag r %><% end %>
|
12
|
+
<% if @site.date_js_updated %><script type='text/javascript' src="<%= raw @site.custom_js_url %>"></script><% end %>
|
13
|
+
<% if @page.custom_js_files && @page.custom_js_files.strip.length > 0 %>
|
14
|
+
<% @page.custom_js_files.split("\n").each do |url| %><script type='text/javascript' src="<%= raw url %>"></script><% end %>
|
15
|
+
<% end %>
|
16
|
+
<% if @page.custom_js && @page.custom_js.strip.length > 0 %><script type='text/javascript'><%= raw @page.custom_js %></script><% end %>
|
17
|
+
<%= yield :caboose_js %>
|
18
|
+
<% end %>
|
19
|
+
<% content_for :css do %>
|
20
|
+
<%= gzip_stylesheet_link_tag 'caboose/application' %>
|
21
|
+
<% if @site.theme %>
|
22
|
+
<link rel='stylesheet' type='text/css' media='all' href="<%= @site.theme.asset_url(@site.id) %>" />
|
23
|
+
<% else %>
|
24
|
+
<%= gzip_stylesheet_link_tag @site.name == 'application' ? 'application' : "#{@site.name}/css/application" %>
|
25
|
+
<% end %>
|
26
|
+
<% Caboose::stylesheets.each do |css| %><%= gzip_stylesheet_link_tag(css) %><% end %>
|
27
|
+
<% @page.linked_resources_map[:css].each do |r| %><%= gzip_stylesheet_link_tag r %><% end %>
|
28
|
+
<% if @site.date_css_updated %><link rel='stylesheet' type='text/css' href="<%= raw @site.custom_css_url %>" /><% end %>
|
29
|
+
<% if @page.custom_css_files && @page.custom_css_files.strip.length > 0 %>
|
30
|
+
<% @page.custom_css_files.split("\n").each do |url| %><link rel="stylesheet" type='text/css' href="<%= raw url %>" /><% end %>
|
31
|
+
<% end %>
|
32
|
+
<% if @page.custom_css && @page.custom_css.strip.length > 0 %><style><%= raw @page.custom_css %></style><% end %>
|
33
|
+
<%= yield :caboose_css %>
|
34
|
+
<% end %>
|
53
35
|
<%
|
54
36
|
b = @post ? @post.block : @page.block
|
37
|
+
#Caboose.log(@post)
|
38
|
+
#Caboose.log(@page.block.inspect)
|
55
39
|
if b.nil?
|
56
40
|
bt = @site.default_layout
|
57
41
|
if @post
|
@@ -63,6 +47,7 @@
|
|
63
47
|
end
|
64
48
|
b.create_children
|
65
49
|
end
|
50
|
+
#b.log_helper
|
66
51
|
options = {
|
67
52
|
:request => @request,
|
68
53
|
:post => @post,
|
@@ -81,19 +66,63 @@
|
|
81
66
|
:ga_events => @ga_events
|
82
67
|
}
|
83
68
|
@block_options.each{ |k,v| options[k] = v } if @block_options
|
69
|
+
|
70
|
+
str = nil
|
71
|
+
#if @use_page_cache
|
72
|
+
# pc = Caboose::PageCache.where(:page_id => @page.id).first
|
73
|
+
# if pc # If the page is cached, send it to the user
|
74
|
+
#
|
75
|
+
# require_dependency "#{Caboose.root}/app/models/caboose/block_cache.rb"
|
76
|
+
# require_dependency "#{Caboose.root}/app/models/caboose/block_cache_file.rb"
|
77
|
+
# require_dependency "#{Caboose.root}/app/models/caboose/block_cache_image.rb"
|
78
|
+
#
|
79
|
+
# @block = Marshal.load(pc.block)
|
80
|
+
# @view = options[:view ]
|
81
|
+
# @controller_view_content = options[:controller_view_content ]
|
82
|
+
# @modal = options[:modal ]
|
83
|
+
# @empty_text = options[:empty_text ]
|
84
|
+
# @editing = options[:editing ]
|
85
|
+
# @css = options[:css ]
|
86
|
+
# @js = options[:js ]
|
87
|
+
# @csrf_meta_tags = options[:csrf_meta_tags ]
|
88
|
+
# @csrf_meta_tags2 = options[:csrf_meta_tags2 ]
|
89
|
+
#
|
90
|
+
# str = render(:inline => pc.render_function)
|
91
|
+
# end
|
92
|
+
#end
|
93
|
+
|
94
|
+
# Render the blocks if we don't have it cached
|
84
95
|
str = b.render(b, options) if str.nil?
|
85
|
-
|
96
|
+
|
97
|
+
protocol = request.protocol
|
98
|
+
#protocol = Caboose.plugin_hook('request_protocol', protocol, request)
|
99
|
+
|
100
|
+
# See if we're using cloudflare
|
101
|
+
if request.env['HTTP_CF_VISITOR'] && request.env['HTTP_CF_VISITOR'].include?('https')
|
102
|
+
protocol = 'https://'
|
103
|
+
request.env['REQUEST_URI'] = "https://#{request.env['REQUEST_URI'][7..-1]}" if (request.env['REQUEST_URI'] =~ %r"http://") == 0
|
104
|
+
request.env['SERVER_PORT'] = '443' if request.env['SERVER_PORT'] == '80'
|
105
|
+
request.env['HTTP_REFERER'] = "https://#{request.env['HTTP_REFERER'][7..-1]}" if (request.env['HTTP_REFERER'] =~ %r"http://") == 0
|
106
|
+
request.env['rack.url_scheme'] = 'https'
|
107
|
+
request.env['HTTPS'] = 'on'
|
108
|
+
end
|
86
109
|
|
87
110
|
css = b.partial('ga', options)
|
88
111
|
css << yield(:css)
|
89
|
-
css
|
90
|
-
css.gsub!("<link href
|
91
|
-
|
112
|
+
css.gsub!("<link href=\"//", "<link href=\"#{protocol}")
|
113
|
+
css.gsub!("<link href='//" , "<link href='#{protocol}")
|
114
|
+
if protocol == 'https://'
|
115
|
+
css.gsub!("<link href=\"http://", "<link href=\"https://")
|
116
|
+
css.gsub!("<link href='http://" , "<link href='https://")
|
117
|
+
end
|
92
118
|
|
93
119
|
js = yield(:js)
|
94
|
-
js
|
95
|
-
js.gsub!("<script src
|
96
|
-
|
120
|
+
js.gsub!("<script src=\"//", "<script src=\"#{protocol}")
|
121
|
+
js.gsub!("<script src='//" , "<script src='#{protocol}")
|
122
|
+
if protocol == 'https://'
|
123
|
+
js.gsub!("<script src=\"http://", "<script src=\"https://")
|
124
|
+
js.gsub!("<script src='http://" , "<script src='https://")
|
125
|
+
end
|
97
126
|
if @site.use_retargeting
|
98
127
|
js << b.partial('retargeting', options)
|
99
128
|
end
|
@@ -101,7 +130,8 @@
|
|
101
130
|
str.gsub!('|CABOOSE_CSS|' , css)
|
102
131
|
str.gsub!('|CABOOSE_PROTOCOL|' , protocol)
|
103
132
|
str.gsub!('|CABOOSE_JAVASCRIPT|' , js)
|
104
|
-
str.gsub!('|CABOOSE_CSRF|' , csrf_meta_tags)
|
105
|
-
|
106
|
-
|
107
|
-
|
133
|
+
str.gsub!('|CABOOSE_CSRF|' , csrf_meta_tags)
|
134
|
+
|
135
|
+
%><%= raw str %><%
|
136
|
+
end
|
137
|
+
%>
|
data/config/routes.rb
CHANGED
@@ -4,11 +4,8 @@ Caboose::Engine.routes.draw do
|
|
4
4
|
#if Caboose::use_comment_routes
|
5
5
|
# eval(Caboose::CommentRoutes.controller_routes)
|
6
6
|
#end
|
7
|
-
|
8
|
-
get "/sitemap.xml" => "sites#sitemap", :format => "xml", :as => :sitemap
|
9
|
-
get "/robots.txt" => "sites#robots", :format => "txt", :as => :robots
|
10
7
|
|
11
|
-
|
8
|
+
get '*path' => 'pages#show'
|
12
9
|
root :to => 'pages#show'
|
13
10
|
|
14
11
|
end
|
data/lib/caboose/version.rb
CHANGED
data/lib/tasks/caboose.rake
CHANGED
@@ -67,6 +67,7 @@ namespace :caboose do
|
|
67
67
|
puts Rails.application.assets.file_digest(temp_file)
|
68
68
|
#puts Rails.application.config.assets.digests['benttree/images/icons/loading.gif']
|
69
69
|
|
70
|
+
#resp = Caboose::AssetManifest.save_asset('assets/william/test1.js', 'var x = 32;')
|
70
71
|
#puts resp
|
71
72
|
end
|
72
73
|
|
@@ -327,21 +328,31 @@ namespace :caboose do
|
|
327
328
|
desc "Reprocess media images"
|
328
329
|
task :reprocess_media_images => :environment do
|
329
330
|
Caboose::Media.where("image_file_name is not null").reorder(:id).all.each do |m|
|
330
|
-
m.delay(:queue => '
|
331
|
+
m.delay(:queue => 'caboose_media').reprocess_image
|
331
332
|
end
|
332
333
|
end
|
333
334
|
|
334
335
|
desc "Migrate block images and files to media"
|
335
336
|
task :migrate_block_assets_to_media => :environment do
|
336
337
|
Caboose::Block.where("image_file_name is not null and media_id is null").reorder(:id).all.each do |b|
|
337
|
-
b.delay(:queue => '
|
338
|
+
b.delay(:queue => 'caboose_media').migrate_media
|
338
339
|
end
|
339
340
|
Caboose::Block.where("file_file_name is not null and media_id is null").reorder(:id).all.each do |b|
|
340
|
-
b.delay(:queue => '
|
341
|
+
b.delay(:queue => 'caboose_media').migrate_media
|
341
342
|
end
|
342
343
|
Caboose::BlockType.where(:id => 19).update_all('name' => 'image2')
|
343
344
|
Caboose::Block.where(:block_type_id => 19).update_all('name' => 'image2')
|
344
345
|
end
|
346
|
+
|
347
|
+
desc "Update expired caches and cache pages that aren't cached"
|
348
|
+
task :cache_pages => :environment do
|
349
|
+
# Caboose::PageCacher.delay(:queue => 'caboose_cache').refresh
|
350
|
+
end
|
351
|
+
|
352
|
+
desc "Cache all pages"
|
353
|
+
task :cache_all_pages => :environment do
|
354
|
+
# Caboose::PageCacher.delay(:queue => 'caboose_cache').cache_all
|
355
|
+
end
|
345
356
|
|
346
357
|
desc "Run rspec tests on Caboose"
|
347
358
|
task :test => :environment do
|
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.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -30,42 +30,70 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.2.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 4.2.7
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: protected_attributes
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: underscore-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: jquery-rails
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
44
72
|
requirements:
|
45
|
-
- -
|
73
|
+
- - ">="
|
46
74
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
75
|
+
version: '0'
|
48
76
|
type: :runtime
|
49
77
|
prerelease: false
|
50
78
|
version_requirements: !ruby/object:Gem::Requirement
|
51
79
|
requirements:
|
52
|
-
- -
|
80
|
+
- - ">="
|
53
81
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
82
|
+
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: jquery-ui-rails
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
58
86
|
requirements:
|
59
|
-
- - "
|
87
|
+
- - ">="
|
60
88
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
89
|
+
version: '0'
|
62
90
|
type: :runtime
|
63
91
|
prerelease: false
|
64
92
|
version_requirements: !ruby/object:Gem::Requirement
|
65
93
|
requirements:
|
66
|
-
- - "
|
94
|
+
- - ">="
|
67
95
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
96
|
+
version: '0'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: trollop
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,7 +179,7 @@ dependencies:
|
|
151
179
|
- !ruby/object:Gem::Version
|
152
180
|
version: '0'
|
153
181
|
- !ruby/object:Gem::Dependency
|
154
|
-
name: prawn
|
182
|
+
name: prawn-rails
|
155
183
|
requirement: !ruby/object:Gem::Requirement
|
156
184
|
requirements:
|
157
185
|
- - ">="
|
@@ -165,7 +193,7 @@ dependencies:
|
|
165
193
|
- !ruby/object:Gem::Version
|
166
194
|
version: '0'
|
167
195
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
196
|
+
name: nokogiri
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|
170
198
|
requirements:
|
171
199
|
- - ">="
|
@@ -179,7 +207,7 @@ dependencies:
|
|
179
207
|
- !ruby/object:Gem::Version
|
180
208
|
version: '0'
|
181
209
|
- !ruby/object:Gem::Dependency
|
182
|
-
name: nokogiri
|
210
|
+
name: nokogiri-styles
|
183
211
|
requirement: !ruby/object:Gem::Requirement
|
184
212
|
requirements:
|
185
213
|
- - ">="
|
@@ -193,7 +221,7 @@ dependencies:
|
|
193
221
|
- !ruby/object:Gem::Version
|
194
222
|
version: '0'
|
195
223
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
224
|
+
name: delayed_job_active_record
|
197
225
|
requirement: !ruby/object:Gem::Requirement
|
198
226
|
requirements:
|
199
227
|
- - ">="
|
@@ -207,7 +235,7 @@ dependencies:
|
|
207
235
|
- !ruby/object:Gem::Version
|
208
236
|
version: '0'
|
209
237
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
238
|
+
name: aws-sdk
|
211
239
|
requirement: !ruby/object:Gem::Requirement
|
212
240
|
requirements:
|
213
241
|
- - ">="
|
@@ -221,33 +249,33 @@ dependencies:
|
|
221
249
|
- !ruby/object:Gem::Version
|
222
250
|
version: '0'
|
223
251
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
252
|
+
name: asset_sync
|
225
253
|
requirement: !ruby/object:Gem::Requirement
|
226
254
|
requirements:
|
227
|
-
- - "
|
255
|
+
- - ">="
|
228
256
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
257
|
+
version: '0'
|
230
258
|
type: :runtime
|
231
259
|
prerelease: false
|
232
260
|
version_requirements: !ruby/object:Gem::Requirement
|
233
261
|
requirements:
|
234
|
-
- - "
|
262
|
+
- - ">="
|
235
263
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
264
|
+
version: '0'
|
237
265
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
266
|
+
name: fog-aws
|
239
267
|
requirement: !ruby/object:Gem::Requirement
|
240
268
|
requirements:
|
241
|
-
- - "
|
269
|
+
- - ">="
|
242
270
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
271
|
+
version: '0'
|
244
272
|
type: :runtime
|
245
273
|
prerelease: false
|
246
274
|
version_requirements: !ruby/object:Gem::Requirement
|
247
275
|
requirements:
|
248
|
-
- - "
|
276
|
+
- - ">="
|
249
277
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
278
|
+
version: '0'
|
251
279
|
- !ruby/object:Gem::Dependency
|
252
280
|
name: unf
|
253
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -361,13 +389,13 @@ dependencies:
|
|
361
389
|
- !ruby/object:Gem::Version
|
362
390
|
version: '0'
|
363
391
|
- !ruby/object:Gem::Dependency
|
364
|
-
name:
|
392
|
+
name: activerecord-session_store
|
365
393
|
requirement: !ruby/object:Gem::Requirement
|
366
394
|
requirements:
|
367
395
|
- - ">="
|
368
396
|
- !ruby/object:Gem::Version
|
369
397
|
version: '0'
|
370
|
-
type: :
|
398
|
+
type: :runtime
|
371
399
|
prerelease: false
|
372
400
|
version_requirements: !ruby/object:Gem::Requirement
|
373
401
|
requirements:
|
@@ -375,7 +403,91 @@ dependencies:
|
|
375
403
|
- !ruby/object:Gem::Version
|
376
404
|
version: '0'
|
377
405
|
- !ruby/object:Gem::Dependency
|
378
|
-
name:
|
406
|
+
name: left_join
|
407
|
+
requirement: !ruby/object:Gem::Requirement
|
408
|
+
requirements:
|
409
|
+
- - ">="
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
version: '0'
|
412
|
+
type: :runtime
|
413
|
+
prerelease: false
|
414
|
+
version_requirements: !ruby/object:Gem::Requirement
|
415
|
+
requirements:
|
416
|
+
- - ">="
|
417
|
+
- !ruby/object:Gem::Version
|
418
|
+
version: '0'
|
419
|
+
- !ruby/object:Gem::Dependency
|
420
|
+
name: sass-rails
|
421
|
+
requirement: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
423
|
+
- - ">="
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: '0'
|
426
|
+
type: :runtime
|
427
|
+
prerelease: false
|
428
|
+
version_requirements: !ruby/object:Gem::Requirement
|
429
|
+
requirements:
|
430
|
+
- - ">="
|
431
|
+
- !ruby/object:Gem::Version
|
432
|
+
version: '0'
|
433
|
+
- !ruby/object:Gem::Dependency
|
434
|
+
name: compass-rails
|
435
|
+
requirement: !ruby/object:Gem::Requirement
|
436
|
+
requirements:
|
437
|
+
- - ">="
|
438
|
+
- !ruby/object:Gem::Version
|
439
|
+
version: '0'
|
440
|
+
type: :runtime
|
441
|
+
prerelease: false
|
442
|
+
version_requirements: !ruby/object:Gem::Requirement
|
443
|
+
requirements:
|
444
|
+
- - ">="
|
445
|
+
- !ruby/object:Gem::Version
|
446
|
+
version: '0'
|
447
|
+
- !ruby/object:Gem::Dependency
|
448
|
+
name: uglifier
|
449
|
+
requirement: !ruby/object:Gem::Requirement
|
450
|
+
requirements:
|
451
|
+
- - ">="
|
452
|
+
- !ruby/object:Gem::Version
|
453
|
+
version: '0'
|
454
|
+
type: :runtime
|
455
|
+
prerelease: false
|
456
|
+
version_requirements: !ruby/object:Gem::Requirement
|
457
|
+
requirements:
|
458
|
+
- - ">="
|
459
|
+
- !ruby/object:Gem::Version
|
460
|
+
version: '0'
|
461
|
+
- !ruby/object:Gem::Dependency
|
462
|
+
name: gibbon
|
463
|
+
requirement: !ruby/object:Gem::Requirement
|
464
|
+
requirements:
|
465
|
+
- - ">="
|
466
|
+
- !ruby/object:Gem::Version
|
467
|
+
version: '0'
|
468
|
+
type: :runtime
|
469
|
+
prerelease: false
|
470
|
+
version_requirements: !ruby/object:Gem::Requirement
|
471
|
+
requirements:
|
472
|
+
- - ">="
|
473
|
+
- !ruby/object:Gem::Version
|
474
|
+
version: '0'
|
475
|
+
- !ruby/object:Gem::Dependency
|
476
|
+
name: braintree
|
477
|
+
requirement: !ruby/object:Gem::Requirement
|
478
|
+
requirements:
|
479
|
+
- - ">="
|
480
|
+
- !ruby/object:Gem::Version
|
481
|
+
version: '0'
|
482
|
+
type: :runtime
|
483
|
+
prerelease: false
|
484
|
+
version_requirements: !ruby/object:Gem::Requirement
|
485
|
+
requirements:
|
486
|
+
- - ">="
|
487
|
+
- !ruby/object:Gem::Version
|
488
|
+
version: '0'
|
489
|
+
- !ruby/object:Gem::Dependency
|
490
|
+
name: launchy
|
379
491
|
requirement: !ruby/object:Gem::Requirement
|
380
492
|
requirements:
|
381
493
|
- - ">="
|
@@ -389,7 +501,7 @@ dependencies:
|
|
389
501
|
- !ruby/object:Gem::Version
|
390
502
|
version: '0'
|
391
503
|
- !ruby/object:Gem::Dependency
|
392
|
-
name:
|
504
|
+
name: rspec
|
393
505
|
requirement: !ruby/object:Gem::Requirement
|
394
506
|
requirements:
|
395
507
|
- - ">="
|
@@ -403,7 +515,21 @@ dependencies:
|
|
403
515
|
- !ruby/object:Gem::Version
|
404
516
|
version: '0'
|
405
517
|
- !ruby/object:Gem::Dependency
|
406
|
-
name:
|
518
|
+
name: rspec-rails
|
519
|
+
requirement: !ruby/object:Gem::Requirement
|
520
|
+
requirements:
|
521
|
+
- - "~>"
|
522
|
+
- !ruby/object:Gem::Version
|
523
|
+
version: 3.5.2
|
524
|
+
type: :development
|
525
|
+
prerelease: false
|
526
|
+
version_requirements: !ruby/object:Gem::Requirement
|
527
|
+
requirements:
|
528
|
+
- - "~>"
|
529
|
+
- !ruby/object:Gem::Version
|
530
|
+
version: 3.5.2
|
531
|
+
- !ruby/object:Gem::Dependency
|
532
|
+
name: rspec-wait
|
407
533
|
requirement: !ruby/object:Gem::Requirement
|
408
534
|
requirements:
|
409
535
|
- - ">="
|
@@ -417,7 +543,7 @@ dependencies:
|
|
417
543
|
- !ruby/object:Gem::Version
|
418
544
|
version: '0'
|
419
545
|
- !ruby/object:Gem::Dependency
|
420
|
-
name:
|
546
|
+
name: capybara
|
421
547
|
requirement: !ruby/object:Gem::Requirement
|
422
548
|
requirements:
|
423
549
|
- - ">="
|
@@ -431,7 +557,7 @@ dependencies:
|
|
431
557
|
- !ruby/object:Gem::Version
|
432
558
|
version: '0'
|
433
559
|
- !ruby/object:Gem::Dependency
|
434
|
-
name:
|
560
|
+
name: capybara-webkit
|
435
561
|
requirement: !ruby/object:Gem::Requirement
|
436
562
|
requirements:
|
437
563
|
- - ">="
|
@@ -446,7 +572,7 @@ dependencies:
|
|
446
572
|
version: '0'
|
447
573
|
description: CMS built on rails with love.
|
448
574
|
email:
|
449
|
-
- william@
|
575
|
+
- william@birdbean.co
|
450
576
|
executables:
|
451
577
|
- caboose
|
452
578
|
extensions: []
|
@@ -507,6 +633,7 @@ files:
|
|
507
633
|
- app/assets/images/caboose/password_image.png
|
508
634
|
- app/assets/images/caboose/search.png
|
509
635
|
- app/assets/javascripts/caboose/admin.js
|
636
|
+
- app/assets/javascripts/caboose/admin/application.js
|
510
637
|
- app/assets/javascripts/caboose/admin_block_edit.js
|
511
638
|
- app/assets/javascripts/caboose/admin_block_type_parser_controller.js
|
512
639
|
- app/assets/javascripts/caboose/admin_edit_invoice.js
|
@@ -612,6 +739,62 @@ files:
|
|
612
739
|
- app/assets/javascripts/chartjs/gulpfile.js
|
613
740
|
- app/assets/javascripts/tinymce/plugins/caboose/plugin.js
|
614
741
|
- app/assets/stylesheets/caboose/admin.css
|
742
|
+
- app/assets/stylesheets/caboose/admin/_config.scss
|
743
|
+
- app/assets/stylesheets/caboose/admin/application.css
|
744
|
+
- app/assets/stylesheets/caboose/admin/component.css
|
745
|
+
- app/assets/stylesheets/caboose/admin/froala.min.css
|
746
|
+
- app/assets/stylesheets/caboose/admin/ie.scss
|
747
|
+
- app/assets/stylesheets/caboose/admin/integrations/main.scss
|
748
|
+
- app/assets/stylesheets/caboose/admin/integrations/shopify.scss
|
749
|
+
- app/assets/stylesheets/caboose/admin/jquery-ui-subnav-theme.min.css
|
750
|
+
- app/assets/stylesheets/caboose/admin/layout.scss
|
751
|
+
- app/assets/stylesheets/caboose/admin/main.scss
|
752
|
+
- app/assets/stylesheets/caboose/admin/modules/body.scss
|
753
|
+
- app/assets/stylesheets/caboose/admin/modules/buttons.scss
|
754
|
+
- app/assets/stylesheets/caboose/admin/modules/countdown.css
|
755
|
+
- app/assets/stylesheets/caboose/admin/modules/crumbtrail.scss
|
756
|
+
- app/assets/stylesheets/caboose/admin/modules/data_table.scss
|
757
|
+
- app/assets/stylesheets/caboose/admin/modules/footer.scss
|
758
|
+
- app/assets/stylesheets/caboose/admin/modules/forms.scss
|
759
|
+
- app/assets/stylesheets/caboose/admin/modules/functions.scss
|
760
|
+
- app/assets/stylesheets/caboose/admin/modules/grid.scss
|
761
|
+
- app/assets/stylesheets/caboose/admin/modules/header.scss
|
762
|
+
- app/assets/stylesheets/caboose/admin/modules/headings.scss
|
763
|
+
- app/assets/stylesheets/caboose/admin/modules/main_nav.scss
|
764
|
+
- app/assets/stylesheets/caboose/admin/modules/message_boxes.scss
|
765
|
+
- app/assets/stylesheets/caboose/admin/modules/model_binder.scss
|
766
|
+
- app/assets/stylesheets/caboose/admin/modules/navigation.scss
|
767
|
+
- app/assets/stylesheets/caboose/admin/modules/order_bumps.scss
|
768
|
+
- app/assets/stylesheets/caboose/admin/modules/pager.scss
|
769
|
+
- app/assets/stylesheets/caboose/admin/modules/product_images.scss
|
770
|
+
- app/assets/stylesheets/caboose/admin/modules/products.css
|
771
|
+
- app/assets/stylesheets/caboose/admin/modules/search.scss
|
772
|
+
- app/assets/stylesheets/caboose/admin/modules/selects.scss
|
773
|
+
- app/assets/stylesheets/caboose/admin/modules/subnav_tabs.scss
|
774
|
+
- app/assets/stylesheets/caboose/admin/modules/tabs.scss
|
775
|
+
- app/assets/stylesheets/caboose/admin/page_edit/block_anchors.scss
|
776
|
+
- app/assets/stylesheets/caboose/admin/page_edit/block_overlays.scss
|
777
|
+
- app/assets/stylesheets/caboose/admin/page_edit/device_selector.scss
|
778
|
+
- app/assets/stylesheets/caboose/admin/page_edit/froala.scss
|
779
|
+
- app/assets/stylesheets/caboose/admin/page_edit/group_overlay.scss
|
780
|
+
- app/assets/stylesheets/caboose/admin/page_edit/layout.scss
|
781
|
+
- app/assets/stylesheets/caboose/admin/page_edit/main.scss
|
782
|
+
- app/assets/stylesheets/caboose/admin/page_edit/modal.scss
|
783
|
+
- app/assets/stylesheets/caboose/admin/page_edit/preview.scss
|
784
|
+
- app/assets/stylesheets/caboose/admin/page_edit/publish.scss
|
785
|
+
- app/assets/stylesheets/caboose/admin/page_edit/revisions.scss
|
786
|
+
- app/assets/stylesheets/caboose/admin/page_edit/subnav.scss
|
787
|
+
- app/assets/stylesheets/caboose/admin/page_edit/top_nav.scss
|
788
|
+
- app/assets/stylesheets/caboose/admin/pages/assets_index.css
|
789
|
+
- app/assets/stylesheets/caboose/admin/pages/block_edit_image.css.scss
|
790
|
+
- app/assets/stylesheets/caboose/admin/pages/media_index.css.scss
|
791
|
+
- app/assets/stylesheets/caboose/admin/pages/new_block.css
|
792
|
+
- app/assets/stylesheets/caboose/admin/pages/page_edit.scss
|
793
|
+
- app/assets/stylesheets/caboose/admin/pages/page_edit_content.scss
|
794
|
+
- app/assets/stylesheets/caboose/admin/pages/pages_index.scss
|
795
|
+
- app/assets/stylesheets/caboose/admin/pages/post_edit_content.css
|
796
|
+
- app/assets/stylesheets/caboose/admin/print.css
|
797
|
+
- app/assets/stylesheets/caboose/admin/slack.scss
|
615
798
|
- app/assets/stylesheets/caboose/admin_assets_index.css
|
616
799
|
- app/assets/stylesheets/caboose/admin_block_edit_image.css.scss
|
617
800
|
- app/assets/stylesheets/caboose/admin_crumbtrail.css.scss
|
@@ -671,6 +854,7 @@ files:
|
|
671
854
|
- app/controllers/caboose/ab_variants_controller.rb
|
672
855
|
- app/controllers/caboose/admin_controller.rb
|
673
856
|
- app/controllers/caboose/application_controller.rb
|
857
|
+
- app/controllers/caboose/assets_controller.rb
|
674
858
|
- app/controllers/caboose/billing_addresses_controller.rb
|
675
859
|
- app/controllers/caboose/block_type_categories_controller.rb
|
676
860
|
- app/controllers/caboose/block_type_sources_controller.rb
|
@@ -680,7 +864,6 @@ files:
|
|
680
864
|
- app/controllers/caboose/calendars_controller.rb
|
681
865
|
- app/controllers/caboose/cart_controller.rb
|
682
866
|
- app/controllers/caboose/categories_controller.rb
|
683
|
-
- app/controllers/caboose/change_logs_controller.rb
|
684
867
|
- app/controllers/caboose/checkout_controller.rb
|
685
868
|
- app/controllers/caboose/checkout_controller_bak.rb
|
686
869
|
- app/controllers/caboose/domains_controller.rb
|
@@ -759,9 +942,15 @@ files:
|
|
759
942
|
- app/models/caboose/ab_variant.rb
|
760
943
|
- app/models/caboose/address.rb
|
761
944
|
- app/models/caboose/approval_request.rb
|
945
|
+
- app/models/caboose/asset.rb
|
946
|
+
- app/models/caboose/asset_manager.rb
|
947
|
+
- app/models/caboose/asset_manifest.rb
|
762
948
|
- app/models/caboose/authenticator.rb
|
763
949
|
- app/models/caboose/authnet.rb
|
764
950
|
- app/models/caboose/block.rb
|
951
|
+
- app/models/caboose/block_cache.rb
|
952
|
+
- app/models/caboose/block_cache_file.rb
|
953
|
+
- app/models/caboose/block_cache_image.rb
|
765
954
|
- app/models/caboose/block_type.rb
|
766
955
|
- app/models/caboose/block_type_category.rb
|
767
956
|
- app/models/caboose/block_type_icons.rb
|
@@ -775,7 +964,6 @@ files:
|
|
775
964
|
- app/models/caboose/calendar_event_group.rb
|
776
965
|
- app/models/caboose/category.rb
|
777
966
|
- app/models/caboose/category_membership.rb
|
778
|
-
- app/models/caboose/change_log.rb
|
779
967
|
- app/models/caboose/comment_routes.rb
|
780
968
|
- app/models/caboose/core_plugin.rb
|
781
969
|
- app/models/caboose/crumbtrail.rb
|
@@ -817,6 +1005,8 @@ files:
|
|
817
1005
|
- app/models/caboose/modification_value_input_field.rb
|
818
1006
|
- app/models/caboose/page.rb
|
819
1007
|
- app/models/caboose/page_bar_generator.rb
|
1008
|
+
- app/models/caboose/page_cache.rb
|
1009
|
+
- app/models/caboose/page_cacher.rb
|
820
1010
|
- app/models/caboose/page_custom_field.rb
|
821
1011
|
- app/models/caboose/page_custom_field_value.rb
|
822
1012
|
- app/models/caboose/page_permission.rb
|
@@ -879,6 +1069,13 @@ files:
|
|
879
1069
|
- app/views/caboose/ab_variants/admin_edit.html.erb
|
880
1070
|
- app/views/caboose/ab_variants/admin_index.html.erb
|
881
1071
|
- app/views/caboose/ab_variants/admin_new.html.erb
|
1072
|
+
- app/views/caboose/admin/_content.html.erb
|
1073
|
+
- app/views/caboose/admin/_fonts.html.erb
|
1074
|
+
- app/views/caboose/admin/_footer.html.erb
|
1075
|
+
- app/views/caboose/admin/_header.html.erb
|
1076
|
+
- app/views/caboose/admin/_icons.html.erb
|
1077
|
+
- app/views/caboose/admin/_mobile_navigation.html.erb
|
1078
|
+
- app/views/caboose/admin/_post.html.erb
|
882
1079
|
- app/views/caboose/admin/index.html.erb
|
883
1080
|
- app/views/caboose/application/show.html.erb
|
884
1081
|
- app/views/caboose/application/under_construction.html.erb
|
@@ -903,7 +1100,6 @@ files:
|
|
903
1100
|
- app/views/caboose/block_types/admin_new.html.erb
|
904
1101
|
- app/views/caboose/block_types/admin_parse_form.html.erb
|
905
1102
|
- app/views/caboose/blocks/_block.html.erb
|
906
|
-
- app/views/caboose/blocks/_cached_block.html.erb
|
907
1103
|
- app/views/caboose/blocks/_checkbox.html.erb
|
908
1104
|
- app/views/caboose/blocks/_controller_view_content.html.erb
|
909
1105
|
- app/views/caboose/blocks/_file.html.erb
|
@@ -972,7 +1168,6 @@ files:
|
|
972
1168
|
- app/views/caboose/categories/admin_index.html.erb
|
973
1169
|
- app/views/caboose/categories/admin_new.html.erb
|
974
1170
|
- app/views/caboose/categories/admin_sort_children.html.erb
|
975
|
-
- app/views/caboose/change_logs/admin_index.html.erb
|
976
1171
|
- app/views/caboose/checkout/_address_form.html.erb
|
977
1172
|
- app/views/caboose/checkout/_billing_form.html.erb
|
978
1173
|
- app/views/caboose/checkout/_cart.html.erb
|
@@ -1014,10 +1209,7 @@ files:
|
|
1014
1209
|
- app/views/caboose/extras/error.html.erb
|
1015
1210
|
- app/views/caboose/extras/error404.html.erb
|
1016
1211
|
- app/views/caboose/extras/error_invalid_site.html.erb
|
1017
|
-
- app/views/caboose/fonts/admin_family_edit.html.erb
|
1018
|
-
- app/views/caboose/fonts/admin_family_index.html.erb
|
1019
1212
|
- app/views/caboose/fonts/admin_index.html.erb
|
1020
|
-
- app/views/caboose/fonts/admin_variant_edit.html.erb
|
1021
1213
|
- app/views/caboose/gift_cards/admin_edit.html.erb
|
1022
1214
|
- app/views/caboose/gift_cards/admin_index.html.erb
|
1023
1215
|
- app/views/caboose/inbox/admin_index.html.erb
|
@@ -1071,7 +1263,6 @@ files:
|
|
1071
1263
|
- app/views/caboose/pages/_admin_header.html.erb
|
1072
1264
|
- app/views/caboose/pages/_content.html.erb
|
1073
1265
|
- app/views/caboose/pages/_new_block_header.html.erb
|
1074
|
-
- app/views/caboose/pages/admin_change_logs.html.erb
|
1075
1266
|
- app/views/caboose/pages/admin_delete_form.html.erb
|
1076
1267
|
- app/views/caboose/pages/admin_duplicate_form.html.erb
|
1077
1268
|
- app/views/caboose/pages/admin_edit_child_sort_order.html.erb
|
@@ -1085,11 +1276,11 @@ files:
|
|
1085
1276
|
- app/views/caboose/pages/admin_edit_seo.html.erb
|
1086
1277
|
- app/views/caboose/pages/admin_index.html.erb
|
1087
1278
|
- app/views/caboose/pages/admin_new.html.erb
|
1279
|
+
- app/views/caboose/pages/admin_new_old.html.erb
|
1088
1280
|
- app/views/caboose/pages/admin_sitemap.html.erb
|
1089
|
-
- app/views/caboose/pages/compiled_asset.css.erb
|
1090
|
-
- app/views/caboose/pages/compiled_asset.js.erb
|
1091
1281
|
- app/views/caboose/pages/preview.html.erb
|
1092
1282
|
- app/views/caboose/pages/show.html.erb
|
1283
|
+
- app/views/caboose/pages/test.html.erb
|
1093
1284
|
- app/views/caboose/pages/update_pic.html.erb
|
1094
1285
|
- app/views/caboose/pages/update_resume.html.erb
|
1095
1286
|
- app/views/caboose/permissions/edit.html.erb
|
@@ -1102,7 +1293,6 @@ files:
|
|
1102
1293
|
- app/views/caboose/post_custom_fields/admin_index.html.erb
|
1103
1294
|
- app/views/caboose/posts/_admin_footer.html.erb
|
1104
1295
|
- app/views/caboose/posts/_admin_header.html.erb
|
1105
|
-
- app/views/caboose/posts/admin_change_logs.html.erb
|
1106
1296
|
- app/views/caboose/posts/admin_delete_form.html.erb
|
1107
1297
|
- app/views/caboose/posts/admin_edit_categories.html.erb
|
1108
1298
|
- app/views/caboose/posts/admin_edit_content.html.erb
|
@@ -1163,8 +1353,6 @@ files:
|
|
1163
1353
|
- app/views/caboose/sites/admin_edit_js.html.erb
|
1164
1354
|
- app/views/caboose/sites/admin_index.html.erb
|
1165
1355
|
- app/views/caboose/sites/admin_new.html.erb
|
1166
|
-
- app/views/caboose/sites/compiled_asset.css.erb
|
1167
|
-
- app/views/caboose/sites/compiled_asset.js.erb
|
1168
1356
|
- app/views/caboose/sites/robots.text.erb
|
1169
1357
|
- app/views/caboose/sites/sitemap.xml.erb
|
1170
1358
|
- app/views/caboose/smtp/admin_edit.html.erb
|
@@ -1186,12 +1374,9 @@ files:
|
|
1186
1374
|
- app/views/caboose/theme_files/admin_edit.html.erb
|
1187
1375
|
- app/views/caboose/theme_files/admin_index.html.erb
|
1188
1376
|
- app/views/caboose/themes/admin_edit.html.erb
|
1189
|
-
- app/views/caboose/themes/admin_error_log.html.erb
|
1190
|
-
- app/views/caboose/themes/admin_js.html.erb
|
1191
1377
|
- app/views/caboose/themes/admin_sass.html.erb
|
1192
1378
|
- app/views/caboose/users/_admin_footer.html.erb
|
1193
1379
|
- app/views/caboose/users/_admin_header.html.erb
|
1194
|
-
- app/views/caboose/users/admin_change_logs.html.erb
|
1195
1380
|
- app/views/caboose/users/admin_delete_form.html.erb
|
1196
1381
|
- app/views/caboose/users/admin_edit.html.erb
|
1197
1382
|
- app/views/caboose/users/admin_edit_password.html.erb
|
@@ -1221,12 +1406,8 @@ files:
|
|
1221
1406
|
- app/views/layouts/caboose/admin.html.erb
|
1222
1407
|
- app/views/layouts/caboose/admin_empty.html.erb
|
1223
1408
|
- app/views/layouts/caboose/application.html.erb
|
1224
|
-
- app/views/layouts/caboose/css.css.erb
|
1225
1409
|
- app/views/layouts/caboose/empty.html.erb
|
1226
1410
|
- app/views/layouts/caboose/error404.html.erb
|
1227
|
-
- app/views/layouts/caboose/footer_css.css.erb
|
1228
|
-
- app/views/layouts/caboose/footer_js.js.erb
|
1229
|
-
- app/views/layouts/caboose/js.js.erb
|
1230
1411
|
- app/views/layouts/caboose/modal.html.erb
|
1231
1412
|
- app/views/layouts/caboose/no_layout.html.erb
|
1232
1413
|
- app/views/layouts/caboose/store/_banner.html.erb
|
@@ -1264,7 +1445,7 @@ files:
|
|
1264
1445
|
- spec/factories/caboose_users.rb
|
1265
1446
|
- spec/models/block_spec.rb
|
1266
1447
|
- spec/models/user_spec.rb
|
1267
|
-
homepage: http://github.com/
|
1448
|
+
homepage: http://github.com/williambarry007/caboose-cms
|
1268
1449
|
licenses: []
|
1269
1450
|
metadata: {}
|
1270
1451
|
post_install_message:
|
@@ -1283,7 +1464,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1283
1464
|
version: '0'
|
1284
1465
|
requirements: []
|
1285
1466
|
rubyforge_project:
|
1286
|
-
rubygems_version: 2.
|
1467
|
+
rubygems_version: 2.6.12
|
1287
1468
|
signing_key:
|
1288
1469
|
specification_version: 4
|
1289
1470
|
summary: CMS built on rails.
|