optimacms 0.2.14 → 0.2.15

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
  SHA1:
3
- metadata.gz: 9114c48f0dfd82c25b0880f4776a0e3c4c981d38
4
- data.tar.gz: 82a92a7e9b7aeba9cc3fe132e306f532bf4021ad
3
+ metadata.gz: 6d79819fa5e541fd1080c7128384c2004d0d792b
4
+ data.tar.gz: d87921eb9e0267d77d0a8d61ba3d201233135628
5
5
  SHA512:
6
- metadata.gz: 515bd0a4c299478540e73272822535b3b948a175521925e76d2ba9cdb4481e1aae48f70c1103462d833fb0874906a89f04b7f27d2f6e2ca6d101c0df31e35a5b
7
- data.tar.gz: 38b448846a0c87b39017afc88a7f7108cd0129d8b34224a722bc7e4fab71d5110b92850621afe94d8240d5842e6db6501f6bdb225f2b42742e33d79486160e42
6
+ metadata.gz: 651fc5c6aae7e91ab90942d1afeb75d26ab333d9a8795bb5e4d58238789e5f55c02c5f05006cabbc1d155d11393e32338e0c707858e2da31c6a33508a64d4fb8
7
+ data.tar.gz: ce5cd91f00838724652c157609695e7ca169b01b06d1344b329695736146d1ccde003119b418be65e73a4c0f2146e138e41732a52c3caad4c260747cd3977629
@@ -0,0 +1,6 @@
1
+ class FakeHiddenInput < SimpleForm::Inputs::StringInput
2
+ # This method only create a basic input without reading any value from object
3
+ def input
4
+ template.hidden_field_tag(attribute_name, input_options.delete(:value), input_html_options)
5
+ end
6
+ end
@@ -5,7 +5,7 @@ File: #{@item.path}
5
5
  = horizontal_simple_form_for @item, {:html => { :class => "form-horizontal", :role => "form" }}.merge((@modal==1 ? {remote: true}: {})) do |f|
6
6
  = render 'optimacms/admin/shared/form_errors', :object=>@item
7
7
 
8
- = f.input :continue, as: :fake, input_html: {value: "0"}
8
+ = f.input :continue, as: :fake_hidden, input_html: {value: "0"}, label: false
9
9
 
10
10
  = f.input :parent_id, as: :hidden
11
11
 
@@ -1,3 +1,3 @@
1
1
  module Optimacms
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
3
3
  end
@@ -0,0 +1 @@
1
+ 11
@@ -49843,3 +49843,336 @@ Processing by Optimacms::Admin::TemplatesController#index as HTML
49843
49843
  Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/application.html.haml (271.0ms)
49844
49844
  Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/basic.html.haml (631.0ms)
49845
49845
  Completed 200 OK in 1055ms (Views: 1022.8ms | ActiveRecord: 4.0ms)
49846
+
49847
+
49848
+ Started GET "/admin/templates/162/edit" for 127.0.0.1 at 2016-07-25 22:28:42 +0300
49849
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
49850
+ Processing by Optimacms::Admin::TemplatesController#edit as HTML
49851
+ Parameters: {"id"=>"162"}
49852
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
49853
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
49854
+ Optimacms::Language Load (1.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
49855
+ CACHE (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
49856
+ Optimacms::TemplateTranslation Load (1.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
49857
+  (1.0ms) BEGIN
49858
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
49859
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
49860
+ Optimacms::Template Exists (1.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
49861
+  (0.0ms) COMMIT
49862
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
49863
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (6.0ms)
49864
+ DEPRECATION WARNING: input method now accepts a `wrapper_options` argument. The method definition without the argument is deprecated and will be removed in the next Simple Form version. Change your code from:
49865
+
49866
+ def input
49867
+
49868
+ to
49869
+
49870
+ def input(wrapper_options)
49871
+
49872
+ See https://github.com/plataformatec/simple_form/pull/997 for more information.
49873
+ (called from block in ____myrails_cms_site_app_views_optimacms_admin_templates__form_html_haml___318298503_56821720 at W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml:8)
49874
+ Optimacms::TemplateTranslation Load (1.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
49875
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49876
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49877
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49878
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/common/_js_ace.html.haml (2.0ms)
49879
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_js_editor_panel_blocks.html.haml (10.0ms)
49880
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form_content_translation.html.haml (290.0ms)
49881
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml (3158.2ms)
49882
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/edit.html.haml within optimacms/admin/layouts/main (3218.2ms)
49883
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (18.0ms)
49884
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (48.0ms)
49885
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (4.0ms)
49886
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (6.0ms)
49887
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (2.0ms)
49888
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (48.0ms)
49889
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/application.html.haml (1111.1ms)
49890
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/basic.html.haml (1506.1ms)
49891
+ Completed 200 OK in 5137ms (Views: 4887.6ms | ActiveRecord: 44.0ms)
49892
+
49893
+
49894
+ Started GET "/admin/templates/panel_blocks?path=temp%2F&r=0.40738255277457724" for 127.0.0.1 at 2016-07-25 22:28:48 +0300
49895
+ Processing by Optimacms::Admin::TemplatesController#panel_blocks as */*
49896
+ Parameters: {"path"=>"temp/", "r"=>"0.40738255277457724"}
49897
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
49898
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`is_folder` = 0 AND `cms_templates`.`type_id` IN (4, 3) AND (basepath LIKE 'temp/%' ) ORDER BY title asc LIMIT 100
49899
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/panel_blocks.html.haml (18.0ms)
49900
+ Completed 200 OK in 539ms (Views: 531.5ms | ActiveRecord: 1.0ms)
49901
+
49902
+
49903
+ Started GET "/admin/templates/162/edit" for 127.0.0.1 at 2016-07-25 22:29:09 +0300
49904
+ Processing by Optimacms::Admin::TemplatesController#edit as HTML
49905
+ Parameters: {"id"=>"162"}
49906
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
49907
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
49908
+ Optimacms::Language Load (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
49909
+ CACHE (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
49910
+ Optimacms::TemplateTranslation Load (1.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
49911
+  (0.0ms) BEGIN
49912
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
49913
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
49914
+ Optimacms::Template Exists (0.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
49915
+  (0.0ms) COMMIT
49916
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
49917
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (0.0ms)
49918
+ DEPRECATION WARNING: input method now accepts a `wrapper_options` argument. The method definition without the argument is deprecated and will be removed in the next Simple Form version. Change your code from:
49919
+
49920
+ def input
49921
+
49922
+ to
49923
+
49924
+ def input(wrapper_options)
49925
+
49926
+ See https://github.com/plataformatec/simple_form/pull/997 for more information.
49927
+ (called from block in ____myrails_cms_site_app_views_optimacms_admin_templates__form_html_haml___318298503_77859060 at W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml:8)
49928
+ Optimacms::TemplateTranslation Load (0.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
49929
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49930
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49931
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49932
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/common/_js_ace.html.haml (1.0ms)
49933
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_js_editor_panel_blocks.html.haml (1.0ms)
49934
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form_content_translation.html.haml (223.0ms)
49935
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml (384.0ms)
49936
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/edit.html.haml within optimacms/admin/layouts/main (446.0ms)
49937
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (2.0ms)
49938
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (36.0ms)
49939
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
49940
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (0.0ms)
49941
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
49942
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (58.0ms)
49943
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/application.html.haml (347.0ms)
49944
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/basic.html.haml (787.0ms)
49945
+ Completed 200 OK in 1455ms (Views: 1412.5ms | ActiveRecord: 3.0ms)
49946
+
49947
+
49948
+ Started GET "/assets/optimacms/admin.self-84e36b0189cfc4ac18c624ad198afcefbbd618cce7a3809360431d6d8b6fd71c.css?body=1" for 127.0.0.1 at 2016-07-25 22:29:10 +0300
49949
+
49950
+
49951
+ Started GET "/assets/optimacms/admin_tpl.self-3552518fc3641d7e2cce03ff12090a8288cfdabbeb2263909a89f56757898dfd.css?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49952
+
49953
+
49954
+ Started GET "/assets/optimacms/application.self-fb28094035fc8f155b896e47c199355db7c84fc9d6214ed9800f1022ac2ece52.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49955
+
49956
+
49957
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49958
+
49959
+
49960
+ Started GET "/assets/jquery2.self-a4777c1acac0a74340755725342901a54ed000955bf6f5320491b8b2514c86ec.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49961
+
49962
+
49963
+ Started GET "/assets/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49964
+
49965
+
49966
+ Started GET "/assets/bootstrap3-typeahead.min.self-78fcb50a4b38a41b52a51f8662133e39712218bbacbb337469c3ed64bb88ae9d.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49967
+
49968
+
49969
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self-ce3ca04e5eed6a1c7c2a10589a176cee121808f99dd9b917dd3bf62ce710f211.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49970
+
49971
+
49972
+ Started GET "/assets/optimacms/admin.self-7c370d9536d7d0d6a0f7cd7f9826692acd93e4fb05ba46f7b630b879740343d3.js?body=1" for 127.0.0.1 at 2016-07-25 22:29:11 +0300
49973
+
49974
+
49975
+ Started GET "/admin/templates/panel_blocks?path=temp%2F&r=0.28197263453509125" for 127.0.0.1 at 2016-07-25 22:29:12 +0300
49976
+ Processing by Optimacms::Admin::TemplatesController#panel_blocks as */*
49977
+ Parameters: {"path"=>"temp/", "r"=>"0.28197263453509125"}
49978
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
49979
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`is_folder` = 0 AND `cms_templates`.`type_id` IN (4, 3) AND (basepath LIKE 'temp/%' ) ORDER BY title asc LIMIT 100
49980
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/panel_blocks.html.haml (13.0ms)
49981
+ Completed 200 OK in 655ms (Views: 646.8ms | ActiveRecord: 1.0ms)
49982
+
49983
+
49984
+ Started PATCH "/admin/templates/162" for 127.0.0.1 at 2016-07-25 22:32:00 +0300
49985
+ Processing by Optimacms::Admin::TemplatesController#update as HTML
49986
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"cF3sjB6ZwkhIbYXepqE0v8yyZGttsu/osUZ1zpunI6pHyPLehJJB79K2ckx9NwJWFJfkWx4ThbbfNDozgrfIBA==", "continue"=>"1", "template"=>{"parent_id"=>"70", "title"=>"b1", "is_translated"=>"1", "translations_attributes"=>{"0"=>{"item_id"=>"162", "lang"=>"", "content"=>"", "id"=>"111"}, "1"=>{"item_id"=>"162", "lang"=>"en", "content"=>"", "id"=>"112"}, "2"=>{"item_id"=>"162", "lang"=>"ru", "content"=>"", "id"=>"113"}}}, "panel-blocks-input-path"=>"temp/", "id"=>"162"}
49987
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
49988
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
49989
+ Optimacms::Language Load (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
49990
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
49991
+ Optimacms::TemplateTranslation Load (0.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162 AND `cms_templates_translation`.`id` IN (111, 112, 113)
49992
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
49993
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49994
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
49995
+  (0.0ms) BEGIN
49996
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
49997
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
49998
+ Optimacms::Template Exists (1.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
49999
+  (0.0ms) COMMIT
50000
+ Redirected to http://localhost:3001/admin/templates/162/edit
50001
+ Completed 302 Found in 41ms (ActiveRecord: 1.0ms)
50002
+
50003
+
50004
+ Started GET "/admin/templates/162/edit" for 127.0.0.1 at 2016-07-25 22:32:00 +0300
50005
+ Processing by Optimacms::Admin::TemplatesController#edit as HTML
50006
+ Parameters: {"id"=>"162"}
50007
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50008
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50009
+ Optimacms::Language Load (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
50010
+ CACHE (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
50011
+ Optimacms::TemplateTranslation Load (0.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
50012
+  (1.0ms) BEGIN
50013
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50014
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
50015
+ Optimacms::Template Exists (0.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
50016
+  (0.0ms) COMMIT
50017
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50018
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (1.0ms)
50019
+ DEPRECATION WARNING: input method now accepts a `wrapper_options` argument. The method definition without the argument is deprecated and will be removed in the next Simple Form version. Change your code from:
50020
+
50021
+ def input
50022
+
50023
+ to
50024
+
50025
+ def input(wrapper_options)
50026
+
50027
+ See https://github.com/plataformatec/simple_form/pull/997 for more information.
50028
+ (called from block in ____myrails_cms_site_app_views_optimacms_admin_templates__form_html_haml___318298503_77859060 at W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml:8)
50029
+ Optimacms::TemplateTranslation Load (0.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
50030
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50031
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50032
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50033
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/common/_js_ace.html.haml (1.0ms)
50034
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_js_editor_panel_blocks.html.haml (1.0ms)
50035
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form_content_translation.html.haml (148.0ms)
50036
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml (251.0ms)
50037
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/edit.html.haml within optimacms/admin/layouts/main (291.0ms)
50038
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (2.0ms)
50039
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (22.0ms)
50040
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
50041
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (0.0ms)
50042
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
50043
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (40.0ms)
50044
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/application.html.haml (273.0ms)
50045
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/basic.html.haml (579.0ms)
50046
+ Completed 200 OK in 1024ms (Views: 993.1ms | ActiveRecord: 1.0ms)
50047
+
50048
+
50049
+ Started GET "/admin/templates/panel_blocks?path=temp%2F&r=0.13785685100974698" for 127.0.0.1 at 2016-07-25 22:32:01 +0300
50050
+ Processing by Optimacms::Admin::TemplatesController#panel_blocks as */*
50051
+ Parameters: {"path"=>"temp/", "r"=>"0.13785685100974698"}
50052
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50053
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`is_folder` = 0 AND `cms_templates`.`type_id` IN (4, 3) AND (basepath LIKE 'temp/%' ) ORDER BY title asc LIMIT 100
50054
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/panel_blocks.html.haml (9.0ms)
50055
+ Completed 200 OK in 468ms (Views: 460.2ms | ActiveRecord: 1.0ms)
50056
+
50057
+
50058
+ Started PATCH "/admin/templates/162" for 127.0.0.1 at 2016-07-25 22:32:06 +0300
50059
+ Processing by Optimacms::Admin::TemplatesController#update as HTML
50060
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"z5RKhQmyAXtHy7L9bLv3P0QDhvySgFZR/2hglffr3On4AVTXk7mC3N0QRW+3LcHWnCYGzOEhPA+RGi9o7vs3Rw==", "continue"=>"1", "template"=>{"parent_id"=>"70", "title"=>"b1", "is_translated"=>"1", "translations_attributes"=>{"0"=>{"item_id"=>"162", "lang"=>"", "content"=>"11", "id"=>"111"}, "1"=>{"item_id"=>"162", "lang"=>"en", "content"=>"", "id"=>"112"}, "2"=>{"item_id"=>"162", "lang"=>"ru", "content"=>"", "id"=>"113"}}}, "panel-blocks-input-path"=>"temp/", "id"=>"162"}
50061
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50062
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50063
+ Optimacms::Language Load (1.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
50064
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50065
+ Optimacms::TemplateTranslation Load (1.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162 AND `cms_templates_translation`.`id` IN (111, 112, 113)
50066
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50067
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50068
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50069
+  (0.0ms) BEGIN
50070
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50071
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
50072
+ Optimacms::Template Exists (0.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
50073
+  (0.0ms) COMMIT
50074
+ Redirected to http://localhost:3001/admin/templates/162/edit
50075
+ Completed 302 Found in 47ms (ActiveRecord: 3.0ms)
50076
+
50077
+
50078
+ Started GET "/admin/templates/162/edit" for 127.0.0.1 at 2016-07-25 22:32:06 +0300
50079
+ Processing by Optimacms::Admin::TemplatesController#edit as HTML
50080
+ Parameters: {"id"=>"162"}
50081
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50082
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50083
+ Optimacms::Language Load (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
50084
+ CACHE (1.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
50085
+ Optimacms::TemplateTranslation Load (0.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
50086
+  (0.0ms) BEGIN
50087
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50088
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
50089
+ Optimacms::Template Exists (0.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
50090
+  (0.0ms) COMMIT
50091
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50092
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (0.0ms)
50093
+ DEPRECATION WARNING: input method now accepts a `wrapper_options` argument. The method definition without the argument is deprecated and will be removed in the next Simple Form version. Change your code from:
50094
+
50095
+ def input
50096
+
50097
+ to
50098
+
50099
+ def input(wrapper_options)
50100
+
50101
+ See https://github.com/plataformatec/simple_form/pull/997 for more information.
50102
+ (called from block in ____myrails_cms_site_app_views_optimacms_admin_templates__form_html_haml___318298503_77859060 at W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml:8)
50103
+ Optimacms::TemplateTranslation Load (1.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162
50104
+ CACHE (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50105
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50106
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50107
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/common/_js_ace.html.haml (1.0ms)
50108
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_js_editor_panel_blocks.html.haml (1.0ms)
50109
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form_content_translation.html.haml (167.0ms)
50110
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml (280.0ms)
50111
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/edit.html.haml within optimacms/admin/layouts/main (324.0ms)
50112
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (2.0ms)
50113
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (25.0ms)
50114
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (0.0ms)
50115
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
50116
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
50117
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (43.0ms)
50118
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/application.html.haml (279.0ms)
50119
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/basic.html.haml (619.0ms)
50120
+ Completed 200 OK in 1110ms (Views: 1073.7ms | ActiveRecord: 5.0ms)
50121
+
50122
+
50123
+ Started GET "/admin/templates/panel_blocks?path=temp%2F&r=0.917080678689104" for 127.0.0.1 at 2016-07-25 22:32:08 +0300
50124
+ Processing by Optimacms::Admin::TemplatesController#panel_blocks as */*
50125
+ Parameters: {"path"=>"temp/", "r"=>"0.917080678689104"}
50126
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50127
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`is_folder` = 0 AND `cms_templates`.`type_id` IN (4, 3) AND (basepath LIKE 'temp/%' ) ORDER BY title asc LIMIT 100
50128
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/panel_blocks.html.haml (9.0ms)
50129
+ Completed 200 OK in 463ms (Views: 455.9ms | ActiveRecord: 1.0ms)
50130
+
50131
+
50132
+ Started PATCH "/admin/templates/162" for 127.0.0.1 at 2016-07-25 22:32:11 +0300
50133
+ Processing by Optimacms::Admin::TemplatesController#update as HTML
50134
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jpUEmX5wOYayD4/EjdbVg0urBsE/kimDKO8TwB3rZdK5ABrL5Hu6ISjUeFZWQONqk46G8UwzQ91GnVw9BPuOfA==", "continue"=>"0", "template"=>{"parent_id"=>"70", "title"=>"b1", "is_translated"=>"1", "translations_attributes"=>{"0"=>{"item_id"=>"162", "lang"=>"", "content"=>"11", "id"=>"111"}, "1"=>{"item_id"=>"162", "lang"=>"en", "content"=>"", "id"=>"112"}, "2"=>{"item_id"=>"162", "lang"=>"ru", "content"=>"", "id"=>"113"}}}, "panel-blocks-input-path"=>"temp/", "commit"=>"Save", "id"=>"162"}
50135
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50136
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50137
+ Optimacms::Language Load (0.0ms) SELECT `cms_languages`.* FROM `cms_languages` WHERE (1=1) ORDER BY pos asc
50138
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50139
+ Optimacms::TemplateTranslation Load (0.0ms) SELECT `cms_templates_translation`.* FROM `cms_templates_translation` WHERE `cms_templates_translation`.`item_id` = 162 AND `cms_templates_translation`.`id` IN (111, 112, 113)
50140
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1
50141
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50142
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 162 LIMIT 1 [["id", 162]]
50143
+  (0.0ms) BEGIN
50144
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50145
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
50146
+ Optimacms::Template Exists (0.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/b1' AND `cms_templates`.`id` != 162 AND `cms_templates`.`is_folder` = 0) LIMIT 1
50147
+  (0.0ms) COMMIT
50148
+ Redirected to http://localhost:3001/admin/templates
50149
+ Completed 302 Found in 45ms (ActiveRecord: 3.0ms)
50150
+
50151
+
50152
+ Started GET "/admin/templates" for 127.0.0.1 at 2016-07-25 22:32:11 +0300
50153
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
50154
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 4 ORDER BY `cms_users`.`id` ASC LIMIT 1
50155
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50156
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
50157
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_text.html.haml (14.0ms)
50158
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (34.0ms)
50159
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/fields_simple_form/_hidden.html.haml (7.0ms)
50160
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_field_simple_form.html.haml (31.0ms)
50161
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_fields.html.haml (108.0ms)
50162
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear.html.haml (2.0ms)
50163
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (23.0ms)
50164
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form_inline.html.haml (171.0ms)
50165
+ Rendered D:/Ruby22x64/lib/ruby/gems/2.2.0/gems/simple_search_filter-0.0.31/app/views/simple_search_filter/_form.html.haml (190.0ms)
50166
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE 1=0 ORDER BY (case when cms_templates.ancestry is null then 0 else 1 end), cms_templates.ancestry
50167
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '70' AND (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
50168
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '70' AND (1=1 )
50169
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (308.0ms)
50170
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (1.0ms)
50171
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (25.0ms)
50172
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (0.0ms)
50173
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
50174
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
50175
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (41.0ms)
50176
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/application.html.haml (244.0ms)
50177
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/layouts/basic.html.haml (553.0ms)
50178
+ Completed 200 OK in 1002ms (Views: 989.0ms | ActiveRecord: 3.0ms)
@@ -1 +1 @@
1
- 23908
1
+ 23992
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak
@@ -330,6 +330,7 @@ files:
330
330
  - app/controllers/optimacms/tinymce_assets_controller.rb
331
331
  - app/helpers/optimacms/application_helper.rb
332
332
  - app/helpers/optimacms/forms_helper.rb
333
+ - app/inputs/fake_hidden_input.rb
333
334
  - app/inputs/fake_input.rb
334
335
  - app/inputs/textarea_tinymce_input.rb
335
336
  - app/models/concerns/optimacms/meta_content.rb