keppler 2.1.11 → 2.1.12

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.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/LICENSE +674 -0
  4. data/installer/core/Gemfile.lock +0 -0
  5. data/installer/core/LICENSE +674 -0
  6. data/installer/core/app/assets/javascripts/admin/main.coffee +1 -1
  7. data/installer/core/app/controllers/admin/settings_controller.rb +4 -0
  8. data/installer/core/app/controllers/application_controller.rb +1 -0
  9. data/installer/core/app/views/admin/layouts/_navigation.html.haml +1 -1
  10. data/installer/core/app/views/admin/layouts/_sidebar.html.haml +1 -1
  11. data/installer/core/app/views/admin/scripts/index.html.haml +1 -1
  12. data/installer/core/app/views/app/layouts/_google_analytics.html.haml +5 -6
  13. data/installer/core/config/circleci/db_config.yml +2 -2
  14. data/installer/core/config/locales/en.yml +3 -0
  15. data/installer/core/config/routes.rb +0 -8
  16. data/installer/core/config/settings.yml +2 -2
  17. data/installer/core/db/seeds.rb +6 -9
  18. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/conf +0 -0
  19. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/conf +0 -0
  20. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/conf +0 -0
  21. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/slick/conf +0 -0
  22. data/installer/core/rockets/keppler_frontend/app/assets/javascripts/keppler_frontend/app/grapes/grapes-editor.js +1174 -0
  23. data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/app/app_controller.rb +1 -1
  24. data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/concerns/services.rb +0 -0
  25. data/installer/core/rockets/keppler_frontend/app/helpers/keppler_frontend/app/frontend_helper.rb +1 -1
  26. data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/concerns/partials/helper_file.rb +4 -4
  27. data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/concerns/partials/html_file.rb +14 -20
  28. data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/concerns/partials/scss_file.rb +1 -1
  29. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/editor/file_format.rb +0 -0
  30. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/editor/resources.rb +0 -0
  31. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/editor/resources_format.rb +0 -0
  32. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/urls/assets.rb +0 -0
  33. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/urls/config.rb +0 -0
  34. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/urls/front.rb +0 -0
  35. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/urls/roots.rb +0 -0
  36. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/utils/code_search.rb +0 -0
  37. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/utils/file_format.rb +0 -0
  38. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/utils/yml_handler.rb +0 -0
  39. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/actions_handler.rb +0 -0
  40. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/css_handler.rb +0 -0
  41. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/html_handler.rb +0 -0
  42. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/install.rb +0 -0
  43. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/js_handler.rb +0 -0
  44. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/remote_js_handler.rb +0 -0
  45. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/routes_handler.rb +0 -0
  46. data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/uninstall.rb +0 -0
  47. data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_editor_assets.html.haml +25 -23
  48. data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_editor_themes.html.haml +25 -23
  49. data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_editor_views.html.haml +23 -21
  50. data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/index.html.haml +11 -10
  51. data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/app/partials/_devise_login.html.erb +34 -34
  52. data/installer/core/rockets/keppler_frontend/app/views/layouts/keppler_frontend/app/layouts/application.html.erb +0 -1
  53. data/installer/core/rockets/keppler_frontend/app/views/layouts/themes/keppler_default/application.html.erb +0 -1
  54. data/installer/core/rockets/keppler_ga_dashboard/app/controllers/keppler_ga_dashboard/admin/dashboard_controller.rb +64 -0
  55. data/installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb +16 -0
  56. data/installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/application_helper.rb +4 -1
  57. data/installer/core/rockets/keppler_ga_dashboard/app/views/keppler_ga_dashboard/{dashboard → admin/dashboard}/analytics.html.haml +0 -0
  58. data/installer/core/rockets/keppler_ga_dashboard/config/routes.rb +1 -1
  59. data/installer/core/spec/controllers/keppler_frontend/admin/views_controller/create_view_spec.rb +0 -0
  60. data/installer/core/spec/controllers/keppler_frontend/admin/views_controller/editor_spec.rb +0 -0
  61. data/installer/core/spec/controllers/keppler_frontend/admin/views_controller/live_editor_save_spec.rb +0 -0
  62. data/installer/core/spec/fixtures/keppler_frontend/editor/test.html +0 -0
  63. data/installer/core/spec/fixtures/keppler_frontend/editor/test.png +0 -0
  64. data/installer/core/spec/fixtures/keppler_frontend/live_editor/test_index_1.html +0 -0
  65. data/installer/core/spec/fixtures/keppler_frontend/live_editor/test_index_2.html +0 -0
  66. data/installer/core/spec/models/keppler_frontend/view/live_editor_spec.rb +1 -0
  67. data/installer/core/spec/models/keppler_frontend/view/model_spec.rb +0 -0
  68. data/installer/core/spec/models/keppler_frontend/view/view_files_handler_spec.rb +0 -0
  69. data/installer/core/spec/models/user_spec.rb +0 -2
  70. data/installer/core/spec/routing/keppler_frontend/views_spec.rb +1 -0
  71. data/installer/core/spec/services/keppler_frontend/editor/file_format_spec.rb +0 -0
  72. data/installer/core/spec/services/keppler_frontend/editor/resources_format_spec.rb +0 -0
  73. data/installer/core/spec/services/keppler_frontend/editor/resources_spec.rb +0 -0
  74. data/installer/core/spec/services/keppler_frontend/urls/assets_spec.rb +0 -0
  75. data/installer/core/spec/services/keppler_frontend/urls/config_spec.rb +0 -0
  76. data/installer/core/spec/services/keppler_frontend/urls/front_spec.rb +0 -0
  77. data/installer/core/spec/services/keppler_frontend/urls/roots_spec.rb +0 -0
  78. data/installer/core/spec/services/keppler_frontend/utils/code_search_spec.rb +0 -0
  79. data/installer/core/spec/services/keppler_frontend/utils/file_format_spec.rb +0 -0
  80. data/installer/core/spec/services/keppler_frontend/utils/yml_handle_spec.rb +2 -0
  81. data/installer/core/spec/services/keppler_frontend/views/actions_handler_spec.rb +0 -0
  82. data/installer/core/spec/services/keppler_frontend/views/css_handler_spec.rb +0 -0
  83. data/installer/core/spec/services/keppler_frontend/views/format_html_spec.rb +0 -0
  84. data/installer/core/spec/services/keppler_frontend/views/format_remote_js_spec.rb +0 -0
  85. data/installer/core/spec/services/keppler_frontend/views/fromat_only_action_spec.rb +0 -0
  86. data/installer/core/spec/services/keppler_frontend/views/html_handler_spec.rb +0 -0
  87. data/installer/core/spec/services/keppler_frontend/views/js_handler_spec.rb +0 -0
  88. data/installer/core/spec/services/keppler_frontend/views/remote_js_handler_spec.rb +0 -0
  89. data/installer/core/spec/services/keppler_frontend/views/routes_handler_spec.rb +0 -0
  90. data/installer/core/vendor/cache/autoprefixer-rails-9.3.1.gem +0 -0
  91. data/installer/core/vendor/cache/bootsnap-1.3.2.gem +0 -0
  92. data/installer/core/vendor/cache/factory_bot-4.11.1.gem +0 -0
  93. data/installer/core/vendor/cache/factory_bot_rails-4.11.1.gem +0 -0
  94. data/installer/core/vendor/cache/faraday-0.15.3.gem +0 -0
  95. data/installer/core/vendor/cache/ffi-1.9.25.gem +0 -0
  96. data/installer/core/vendor/cache/i18n-1.1.1.gem +0 -0
  97. data/installer/core/vendor/cache/image_optimizer-1.8.0.gem +0 -0
  98. data/installer/core/vendor/cache/loofah-2.2.3.gem +0 -0
  99. data/installer/core/vendor/cache/mail-2.7.1.gem +0 -0
  100. data/installer/core/vendor/cache/marcel-0.3.3.gem +0 -0
  101. data/installer/core/vendor/cache/mime-types-3.2.2.gem +0 -0
  102. data/installer/core/vendor/cache/mime-types-data-3.2018.0812.gem +0 -0
  103. data/installer/core/vendor/cache/mini_mime-1.0.1.gem +0 -0
  104. data/installer/core/vendor/cache/money-6.13.1.gem +0 -0
  105. data/installer/core/vendor/cache/nokogiri-1.8.5.gem +0 -0
  106. data/installer/core/vendor/cache/parser-2.5.3.0.gem +0 -0
  107. data/installer/core/vendor/cache/powerpack-0.1.2.gem +0 -0
  108. data/installer/core/vendor/cache/public_suffix-3.0.3.gem +0 -0
  109. data/installer/core/vendor/cache/puma-3.12.0.gem +0 -0
  110. data/installer/core/vendor/cache/rack-test-1.1.0.gem +0 -0
  111. data/installer/core/vendor/cache/rails-assets-animate-css-3.7.0.gem +0 -0
  112. data/installer/core/vendor/cache/retriable-3.1.2.gem +0 -0
  113. data/installer/core/vendor/cache/rspec-expectations-3.8.2.gem +0 -0
  114. data/installer/core/vendor/cache/rspec-rails-3.8.1.gem +0 -0
  115. data/installer/core/vendor/cache/ruby-progressbar-1.10.0.gem +0 -0
  116. data/installer/core/vendor/cache/sass-3.6.0.gem +0 -0
  117. data/installer/core/vendor/cache/scss_lint-0.57.1.gem +0 -0
  118. data/installer/core/vendor/cache/signet-0.11.0.gem +0 -0
  119. data/installer/core/vendor/cache/spreadsheet-1.1.8.gem +0 -0
  120. data/installer/core/vendor/cache/sprockets-3.7.2.gem +0 -0
  121. data/installer/core/vendor/cache/turbolinks-source-5.2.0.gem +0 -0
  122. data/installer/core/vendor/cache/unicode-display_width-1.4.0.gem +0 -0
  123. data/installer/core/vendor/cache/web-console-3.7.0.gem +0 -0
  124. data/lib/keppler/cli.rb +1 -1
  125. data/lib/keppler/version.rb +1 -1
  126. metadata +11 -2993
  127. data/LICENSE.txt +0 -21
  128. data/installer/core/app/controllers/admin/customizes_controller.rb +0 -110
  129. data/installer/core/app/helpers/customizes_helper.rb +0 -5
  130. data/installer/core/app/models/customize.rb +0 -30
  131. data/installer/core/app/policies/customize_policy.rb +0 -11
  132. data/installer/core/app/services/admin/template_service.rb +0 -129
  133. data/installer/core/app/views/admin/customizes/_description.html.haml +0 -13
  134. data/installer/core/app/views/admin/customizes/_form.html.haml +0 -33
  135. data/installer/core/app/views/admin/customizes/_listing.html.haml +0 -15
  136. data/installer/core/app/views/admin/customizes/_switch_default_template.html.haml +0 -11
  137. data/installer/core/app/views/admin/customizes/_switch_template.html.haml +0 -19
  138. data/installer/core/app/views/admin/customizes/index.html.haml +0 -38
  139. data/installer/core/app/views/admin/customizes/new.html.haml +0 -4
  140. data/installer/core/db/migrate/20170603145521_create_customizes.rb +0 -10
  141. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-accordion.html +0 -56
  142. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-alert.html +0 -18
  143. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-button-group.html +0 -15
  144. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-button.html +0 -15
  145. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-checks.html +0 -23
  146. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-collapse.html +0 -23
  147. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-columns-12.html +0 -59
  148. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-columns-2.html +0 -29
  149. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-columns-3.html +0 -32
  150. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-columns-4.html +0 -35
  151. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-columns-6.html +0 -41
  152. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-container.html +0 -15
  153. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-dropdown-btn.html +0 -22
  154. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-form.html +0 -33
  155. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-jumbotron.html +0 -25
  156. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-label.html +0 -13
  157. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-list-group.html +0 -22
  158. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-modal.html +0 -32
  159. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-navbar.html +0 -71
  160. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-pagination.html +0 -31
  161. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-panel-table.html +0 -48
  162. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-panel.html +0 -19
  163. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-progress-bar.html +0 -17
  164. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-radio.html +0 -23
  165. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-table.html +0 -42
  166. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-tabs.html +0 -34
  167. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-textarea.html +0 -13
  168. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-thumbnail.html +0 -23
  169. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/bstp-well.html +0 -13
  170. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/bootstrap/btsp-input.html +0 -13
  171. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-banner-blur-parallax.html +0 -59
  172. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-banner-blur.html +0 -58
  173. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-banner-parallax.html +0 -49
  174. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-banner-static.html +0 -48
  175. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-banner-video.html +0 -54
  176. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-block.html +0 -15
  177. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-h1.html +0 -13
  178. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-h2.html +0 -13
  179. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-h3.html +0 -13
  180. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-h4.html +0 -13
  181. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/keppler/kppl-small.html +0 -13
  182. data/installer/core/rockets/keppler_frontend/app/assets/html/keppler_frontend/app/slick/slick-basic.html +0 -43
  183. data/installer/core/rockets/keppler_ga_dashboard/app/controllers/keppler_ga_dashboard/dashboard_controller.rb +0 -64
  184. data/installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/dashboard_helper.rb +0 -14
  185. data/installer/core/spec/factories/customize.rb +0 -6
  186. data/installer/core/spec/models/customize_spec.rb +0 -23
@@ -1,14 +0,0 @@
1
- module KepplerGaDashboard
2
- module DashboardHelper
3
- def library_analytics
4
- content_tag :script do
5
- "(function(w,d,s,g,js,fs){
6
- g=w.gapi||(w.gapi={});g.analytics={q:[],ready:function(f){this.q.push(f);}};
7
- js=d.createElement(s);fs=d.getElementsByTagName(s)[0];
8
- js.src='https://apis.google.com/js/platform.js';
9
- fs.parentNode.insertBefore(js,fs);js.onload=function(){g.load('analytics');};
10
- }(window,document,'script'));".html_safe
11
- end
12
- end
13
- end
14
- end
@@ -1,6 +0,0 @@
1
- FactoryBot.define do
2
- factory :customize, class: Customize do
3
- file {'/upload/template/theme.zip'}
4
- installed {true}
5
- end
6
- end
@@ -1,23 +0,0 @@
1
- require 'rails_helper'
2
- require 'byebug'
3
-
4
- RSpec.describe Customize, type: :model do
5
-
6
- context 'database' do
7
- context 'columns' do
8
- it { should have_db_column(:file).of_type(:string) }
9
- it { should have_db_column(:installed).of_type(:boolean) }
10
- end
11
- end
12
-
13
- context 'class fuctions' do
14
- it { expect(Customize.search_field).to eq(:file_cont) }
15
- end
16
-
17
- context 'instance fuctions' do
18
- it 'set "Keppler Default" if file is nil' do
19
- theme = create(:customize)
20
- expect(theme.name).to eq('Keppler Default')
21
- end
22
- end
23
- end