optimacms 0.1.27 → 0.1.28

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: 5cf9fb56d81773ec36037279631514711b2da79b
4
- data.tar.gz: 76eb50c0ec5c657f275f9a0c2d706426395f0312
3
+ metadata.gz: 5ee7e2a04857fa28ad4149d8afad96c0fd8530cf
4
+ data.tar.gz: 87ae1a3f8cc53df939860161547aed5bac5d33f2
5
5
  SHA512:
6
- metadata.gz: 08200fc22c4f94a12645ed206145f7a9dcdeab49816c59513250503c7301f8082a42b7a810902d2d065ee20be19c23388598a1dbb4ce2c84c90bb55ab7385624
7
- data.tar.gz: af35050bec0889d65ca3a9c1cc598b83322164fea82e1f8e943f30bb16e7c1baea7895d4e047b4e284469291e60ab6a6559e8992289761d5b04ffd0135c0bfea
6
+ metadata.gz: 6f0eac7054f320b77b04a0e5fc36c0e3e73368004c06b062ae177f89ff01e70765b9e38a115d29ec4df3bd1de844be2f3f7defb5e1b9b1613256ce85400cceff
7
+ data.tar.gz: e2b3209e1a4222622e586e00153bf346c520a5c4d4f7d4a0f834309dc2b552551801ab474ea9f3dcb9ea303908e996355ce31a41af1045654e5c5317a2a3e761
@@ -9,8 +9,9 @@ module Optimacms
9
9
  end
10
10
 
11
11
  def elfinder
12
- rootpath = File.join(Rails.public_path, 'uploads')
13
- rooturl = '/uploads'
12
+ dirpath = Optimacms.files_dir_path || 'uploads'
13
+ rootpath = File.join(Rails.public_path, dirpath)
14
+ rooturl = '/'+dirpath
14
15
 
15
16
  h, r = ElFinder::Connector.new(
16
17
  :root => rootpath,
@@ -1,3 +1,3 @@
1
1
  module Optimacms
2
- VERSION = "0.1.27"
2
+ VERSION = "0.1.28"
3
3
  end
data/lib/optimacms.rb CHANGED
@@ -2,4 +2,7 @@ require 'devise'
2
2
  require "optimacms/engine"
3
3
 
4
4
  module Optimacms
5
+ mattr_accessor :files_dir_path
6
+
7
+
5
8
  end
@@ -0,0 +1,2 @@
1
+ <p>pp</p>
2
+ <p><img src="/img/cat2.jpg" alt="" width="650" height="446" /></p>
@@ -0,0 +1 @@
1
+ Optimacms.files_dir_path = 'img'
@@ -7687,3 +7687,556 @@ ActionController::RoutingError (Not Found):
7687
7687
  Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.0ms)
7688
7688
  Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.0ms)
7689
7689
  Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (1215.1ms)
7690
+
7691
+
7692
+ Started GET "/about888.html" for 127.0.0.1 at 2015-05-19 03:17:44 +0300
7693
+ Processing by Optimacms::PagesController#show as HTML
7694
+ Parameters: {"url"=>"about888.html"}
7695
+  (1.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND 'about888.html' REGEXP parsed_url)
7696
+ Completed 404 Not Found in 10ms (ActiveRecord: 1.0ms)
7697
+
7698
+ ActionController::RoutingError (Not Found):
7699
+ W:/myrails/cms/site/app/controllers/optimacms/application_controller.rb:16:in `not_found'
7700
+ W:/myrails/cms/site/app/controllers/optimacms/pages_controller.rb:60:in `show'
7701
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7702
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
7703
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
7704
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7705
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
7706
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
7707
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
7708
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
7709
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
7710
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
7711
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
7712
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
7713
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
7714
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
7715
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7716
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
7717
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7718
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
7719
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7720
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7721
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7722
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
7723
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
7724
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
7725
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
7726
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
7727
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
7728
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
7729
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
7730
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
7731
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
7732
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
7733
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
7734
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
7735
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
7736
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
7737
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
7738
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
7739
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
7740
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
7741
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
7742
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
7743
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
7744
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
7745
+ rack (1.6.1) lib/rack/etag.rb:24:in `call'
7746
+ rack (1.6.1) lib/rack/conditionalget.rb:25:in `call'
7747
+ rack (1.6.1) lib/rack/head.rb:13:in `call'
7748
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
7749
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
7750
+ rack (1.6.1) lib/rack/session/abstract/id.rb:225:in `context'
7751
+ rack (1.6.1) lib/rack/session/abstract/id.rb:220:in `call'
7752
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
7753
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
7754
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
7755
+ activerecord (4.2.1) lib/active_record/migration.rb:378:in `call'
7756
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
7757
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
7758
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
7759
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
7760
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
7761
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
7762
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
7763
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
7764
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
7765
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
7766
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
7767
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
7768
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
7769
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
7770
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
7771
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
7772
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
7773
+ rack (1.6.1) lib/rack/methodoverride.rb:22:in `call'
7774
+ rack (1.6.1) lib/rack/runtime.rb:18:in `call'
7775
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
7776
+ rack (1.6.1) lib/rack/lock.rb:17:in `call'
7777
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
7778
+ rack (1.6.1) lib/rack/sendfile.rb:113:in `call'
7779
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
7780
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
7781
+ rack (1.6.1) lib/rack/lock.rb:17:in `call'
7782
+ rack (1.6.1) lib/rack/content_length.rb:15:in `call'
7783
+ rack (1.6.1) lib/rack/handler/webrick.rb:89:in `service'
7784
+ D:/Ruby215/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
7785
+ D:/Ruby215/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
7786
+ D:/Ruby215/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
7787
+
7788
+
7789
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (49.0ms)
7790
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (32.0ms)
7791
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (46.0ms)
7792
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.0ms)
7793
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.0ms)
7794
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (1441.1ms)
7795
+
7796
+
7797
+ Started GET "/cmsadmin/pages" for 127.0.0.1 at 2015-05-19 03:17:47 +0300
7798
+ Processing by Optimacms::Admin::PagesController#index as HTML
7799
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7800
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
7801
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (54.0ms)
7802
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (11.0ms)
7803
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (103.0ms)
7804
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
7805
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (11.0ms)
7806
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (138.0ms)
7807
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (147.0ms)
7808
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 AND parent_id= 0 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
7809
+  (1.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 AND parent_id= 0 )
7810
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (399.0ms)
7811
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (7.0ms)
7812
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (16.0ms)
7813
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
7814
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
7815
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
7816
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (13.0ms)
7817
+ Completed 200 OK in 1701ms (Views: 1669.1ms | ActiveRecord: 4.0ms)
7818
+
7819
+
7820
+ Started GET "/" for 127.0.0.1 at 2015-05-20 02:50:10 +0300
7821
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
7822
+ Processing by Optimacms::PagesController#show as HTML
7823
+ Optimacms::Language Load (1.0ms) SELECT `cms_languages`.* FROM `cms_languages`
7824
+  (1.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '')
7825
+ Optimacms::Page Load (0.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (is_folder = 0 AND enabled = 1 AND url = '') ORDER BY url_parts_count DESC, url_vars_count ASC
7826
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 126 LIMIT 1
7827
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 4 LIMIT 1
7828
+ Optimacms::PageTranslation Load (24.0ms) SELECT `cms_pages_translation`.* FROM `cms_pages_translation` WHERE `cms_pages_translation`.`item_id` = 152 AND `cms_pages_translation`.`lang` = '' ORDER BY `cms_pages_translation`.`id` ASC LIMIT 1
7829
+ Rendered home/index.html.haml within layouts/main (52.0ms)
7830
+ Completed 200 OK in 2308ms (Views: 1320.1ms | ActiveRecord: 112.0ms)
7831
+
7832
+
7833
+ Started GET "/cmsadmin/pages" for 127.0.0.1 at 2015-05-20 02:50:14 +0300
7834
+ Processing by Optimacms::Admin::PagesController#index as HTML
7835
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7836
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
7837
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (8458.5ms)
7838
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (25.0ms)
7839
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (8532.5ms)
7840
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (9.0ms)
7841
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (31.0ms)
7842
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (8628.5ms)
7843
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (8650.5ms)
7844
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 AND parent_id= 0 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
7845
+  (0.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 AND parent_id= 0 )
7846
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (9049.5ms)
7847
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (64.0ms)
7848
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (86.0ms)
7849
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (20.0ms)
7850
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (28.0ms)
7851
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (8.0ms)
7852
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (38.0ms)
7853
+ Completed 200 OK in 11125ms (Views: 11012.6ms | ActiveRecord: 20.0ms)
7854
+
7855
+
7856
+ Started GET "/assets/application-eda3a3cb78c126b622bbb2577e2712d0.css?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7857
+
7858
+
7859
+ Started GET "/assets/tpl-c2b2c931e13866c08977ba47487f05d7.css?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7860
+
7861
+
7862
+ Started GET "/assets/jquery-5ba2df6cc8d349ca3589408b6c6a6e24.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7863
+
7864
+
7865
+ Started GET "/assets/jquery_ujs-0c1d9c1df5a197d2f2557ab298f046d7.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7866
+
7867
+
7868
+ Started GET "/assets/bootstrap-a11ff4fe44240856e2eb15b47d7b47a1.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7869
+
7870
+
7871
+ Started GET "/assets/application-a4d60c093ea78cdb95331e55a6889ea5.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7872
+
7873
+
7874
+ Started GET "/assets/optimacms/admin-7b9b6e6b201f9e1d1b7b96fb36a35aa7.css?body=1" for 127.0.0.1 at 2015-05-20 02:50:25 +0300
7875
+
7876
+
7877
+ Started GET "/assets/optimacms/admin_tpl-07408aff24d868a6bcda59a11fbb81cc.css?body=1" for 127.0.0.1 at 2015-05-20 02:50:26 +0300
7878
+
7879
+
7880
+ Started GET "/assets/jquery2-3168a66918b94ea58383761b3ff6ef0e.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:26 +0300
7881
+
7882
+
7883
+ Started GET "/assets/bootstrap3-typeahead.min-d7ff8b12bfad065ae745058f1616a8e3.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:26 +0300
7884
+
7885
+
7886
+ Started GET "/assets/bootstrap3-autocomplete-input.min-5bdeba21cd5f2ff9c9e55068e7f377cf.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:26 +0300
7887
+
7888
+
7889
+ Started GET "/assets/optimacms/admin-864160b18f60eb2a2a721557ce4cf6f8.js?body=1" for 127.0.0.1 at 2015-05-20 02:50:26 +0300
7890
+
7891
+
7892
+ Started GET "/assets/fontawesome-webfont-d930f252f79ad15db0e13fb2d2d678c8.woff?v=4.3.0" for 127.0.0.1 at 2015-05-20 02:50:26 +0300
7893
+
7894
+
7895
+ Started GET "/cmsadmin/templates" for 127.0.0.1 at 2015-05-20 02:50:30 +0300
7896
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
7897
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7898
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 0 LIMIT 1
7899
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (44.0ms)
7900
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (20.0ms)
7901
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (76.0ms)
7902
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
7903
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (7.0ms)
7904
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (102.0ms)
7905
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (108.0ms)
7906
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`ancestry` IS NULL AND (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
7907
+  (0.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` IS NULL AND (1=1 )
7908
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (278.0ms)
7909
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
7910
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (12.0ms)
7911
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
7912
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
7913
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
7914
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (12.0ms)
7915
+ Completed 200 OK in 1229ms (Views: 1191.1ms | ActiveRecord: 3.0ms)
7916
+
7917
+
7918
+ Started GET "/cmsadmin/templates?parent_id=125" for 127.0.0.1 at 2015-05-20 02:50:33 +0300
7919
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
7920
+ Parameters: {"parent_id"=>"125"}
7921
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7922
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 125 LIMIT 1
7923
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 125 LIMIT 1
7924
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (32.0ms)
7925
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (9.0ms)
7926
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (50.0ms)
7927
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
7928
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (6.0ms)
7929
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (69.0ms)
7930
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (74.0ms)
7931
+ 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
7932
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '125' AND (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
7933
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '125' AND (1=1 )
7934
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (129.0ms)
7935
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
7936
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (19.0ms)
7937
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
7938
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
7939
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
7940
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (9.0ms)
7941
+ Completed 200 OK in 935ms (Views: 902.1ms | ActiveRecord: 3.0ms)
7942
+
7943
+
7944
+ Started GET "/cmsadmin/templates/126/edit" for 127.0.0.1 at 2015-05-20 02:50:35 +0300
7945
+ Processing by Optimacms::Admin::TemplatesController#edit as HTML
7946
+ Parameters: {"id"=>"126"}
7947
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7948
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 126 LIMIT 1
7949
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (50.0ms)
7950
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/common/_js_ace.html.haml (5.0ms)
7951
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml (271.0ms)
7952
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/edit.html.haml within optimacms/admin/layouts/main (326.0ms)
7953
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
7954
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (11.0ms)
7955
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
7956
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
7957
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
7958
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (11.0ms)
7959
+ Completed 200 OK in 1235ms (Views: 1206.1ms | ActiveRecord: 1.0ms)
7960
+
7961
+
7962
+ Started GET "/cmsadmin/templates?parent_id=0" for 127.0.0.1 at 2015-05-20 02:50:59 +0300
7963
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
7964
+ Parameters: {"parent_id"=>"0"}
7965
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7966
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 0 LIMIT 1
7967
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (38.0ms)
7968
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (10.0ms)
7969
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (59.0ms)
7970
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.0ms)
7971
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (6.0ms)
7972
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (82.0ms)
7973
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (88.0ms)
7974
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`ancestry` IS NULL AND (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
7975
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` IS NULL AND (1=1 )
7976
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (185.0ms)
7977
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
7978
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (11.0ms)
7979
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
7980
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
7981
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
7982
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (9.0ms)
7983
+ Completed 200 OK in 1029ms (Views: 999.1ms | ActiveRecord: 4.0ms)
7984
+
7985
+
7986
+ Started GET "/cmsadmin/templates?parent_id=70" for 127.0.0.1 at 2015-05-20 02:51:03 +0300
7987
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
7988
+ Parameters: {"parent_id"=>"70"}
7989
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
7990
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
7991
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
7992
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (33.0ms)
7993
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (8.0ms)
7994
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (51.0ms)
7995
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.0ms)
7996
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (5.0ms)
7997
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (71.0ms)
7998
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (76.0ms)
7999
+ Optimacms::Template Load (1.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
8000
+ 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
8001
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '70' AND (1=1 )
8002
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (171.0ms)
8003
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
8004
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (11.0ms)
8005
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
8006
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
8007
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
8008
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (9.0ms)
8009
+ Completed 200 OK in 1014ms (Views: 979.1ms | ActiveRecord: 4.0ms)
8010
+
8011
+
8012
+ Started GET "/cmsadmin/templates/new?parent_id=70" for 127.0.0.1 at 2015-05-20 02:51:06 +0300
8013
+ Processing by Optimacms::Admin::TemplatesController#new as HTML
8014
+ Parameters: {"parent_id"=>"70"}
8015
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
8016
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
8017
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
8018
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (1.0ms)
8019
+ Optimacms::TemplateType Load (1.0ms) SELECT `cms_templatetypes`.* FROM `cms_templatetypes` WHERE `cms_templatetypes`.`id` = 2 LIMIT 1
8020
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/new.html.haml within optimacms/admin/layouts/main (370.0ms)
8021
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
8022
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (12.0ms)
8023
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
8024
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
8025
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
8026
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (12.0ms)
8027
+ Completed 200 OK in 1352ms (Views: 1269.1ms | ActiveRecord: 16.0ms)
8028
+
8029
+
8030
+ Started POST "/cmsadmin/templates" for 127.0.0.1 at 2015-05-20 02:51:15 +0300
8031
+ Processing by Optimacms::Admin::TemplatesController#create as HTML
8032
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZpdF5APQwn14rqgGVtBkmAnJoA7qx6y4HJwMa4Nqbere0LAFGdAw5c4Uh47twocbDhExq94hxeN4W/HyC3755Q==", "modal"=>"0", "template"=>{"type_id"=>"2", "title"=>"html test 1", "basedirpath"=>"temp/", "basename"=>"html1", "tpl_format"=>"html", "is_translated"=>"0"}, "commit"=>"Save"}
8033
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
8034
+  (1.0ms) BEGIN
8035
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`basepath` = 'temp' AND `cms_templates`.`is_folder` = 1 ORDER BY `cms_templates`.`id` ASC LIMIT 1
8036
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
8037
+ CACHE (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
8038
+ CACHE (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
8039
+ Optimacms::Template Exists (1.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/html1' AND `cms_templates`.`is_folder` = 0) LIMIT 1
8040
+ SQL (16.0ms) INSERT INTO `cms_templates` (`type_id`, `title`, `basedirpath`, `basename`, `tpl_format`, `ancestry`, `basepath`, `created_at`, `updated_at`) VALUES (2, 'html test 1', 'temp/', 'html1', 'html', '70', 'temp/html1', '2015-05-19 23:51:15', '2015-05-19 23:51:15')
8041
+  (1.0ms) COMMIT
8042
+ Redirected to http://localhost:3001/cmsadmin/templates/127/edit
8043
+ Completed 302 Found in 207ms (ActiveRecord: 20.0ms)
8044
+
8045
+
8046
+ Started GET "/cmsadmin/templates/127/edit" for 127.0.0.1 at 2015-05-20 02:51:16 +0300
8047
+ Processing by Optimacms::Admin::TemplatesController#edit as HTML
8048
+ Parameters: {"id"=>"127"}
8049
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
8050
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
8051
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_form_errors.html.haml (1.0ms)
8052
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/common/_js_tinymce.html.haml (141.0ms)
8053
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/_form.html.haml (328.0ms)
8054
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/edit.html.haml within optimacms/admin/layouts/main (339.0ms)
8055
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (6.0ms)
8056
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (11.0ms)
8057
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
8058
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (9.0ms)
8059
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
8060
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (11.0ms)
8061
+ Completed 200 OK in 1214ms (Views: 1187.1ms | ActiveRecord: 1.0ms)
8062
+
8063
+
8064
+ Started GET "/assets/optimacms/tinymce-7130faaa5ae1ac7f5d4e2af380d107ff.css" for 127.0.0.1 at 2015-05-20 02:51:24 +0300
8065
+
8066
+
8067
+ Started GET "/assets/tinymce/icon_block2-ec8988e68b9e77de9d2d2f3359391eab.png" for 127.0.0.1 at 2015-05-20 02:51:25 +0300
8068
+
8069
+
8070
+ Started GET "/elfinder_manager" for 127.0.0.1 at 2015-05-20 02:51:29 +0300
8071
+ Processing by Optimacms::ElfinderController#index as HTML
8072
+ Rendered W:/myrails/cms/site/app/views/optimacms/elfinder/index.html.erb (1.0ms)
8073
+ Completed 200 OK in 53ms (Views: 51.0ms | ActiveRecord: 0.0ms)
8074
+
8075
+
8076
+ Started GET "/elfinder?cmd=open&target=&init=1&tree=1&_=1432079493311" for 127.0.0.1 at 2015-05-20 02:51:33 +0300
8077
+ Processing by Optimacms::ElfinderController#elfinder as JSON
8078
+ Parameters: {"cmd"=>"open", "target"=>"", "init"=>"1", "tree"=>"1", "_"=>"1432079493311"}
8079
+ Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
8080
+
8081
+ Errno::ENOENT (No such file or directory @ dir_s_mkdir - W:/myrails/cms/site/test/dummy/public/img/.thumbs):
8082
+ el_finder (1.1.12) lib/el_finder/pathname.rb:176:in `mkdir'
8083
+ el_finder (1.1.12) lib/el_finder/pathname.rb:176:in `mkdir'
8084
+ el_finder (1.1.12) lib/el_finder/pathname.rb:176:in `mkdir'
8085
+ el_finder (1.1.12) lib/el_finder/connector.rb:71:in `run'
8086
+ W:/myrails/cms/site/app/controllers/optimacms/elfinder_controller.rb:28:in `elfinder'
8087
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8088
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
8089
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
8090
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8091
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
8092
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
8093
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
8094
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
8095
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
8096
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
8097
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
8098
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
8099
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
8100
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
8101
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8102
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
8103
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8104
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
8105
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8106
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8107
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8108
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
8109
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
8110
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
8111
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
8112
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
8113
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
8114
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
8115
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
8116
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
8117
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
8118
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
8119
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
8120
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
8121
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
8122
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
8123
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
8124
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
8125
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
8126
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
8127
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
8128
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
8129
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
8130
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
8131
+ rack (1.6.1) lib/rack/etag.rb:24:in `call'
8132
+ rack (1.6.1) lib/rack/conditionalget.rb:25:in `call'
8133
+ rack (1.6.1) lib/rack/head.rb:13:in `call'
8134
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
8135
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
8136
+ rack (1.6.1) lib/rack/session/abstract/id.rb:225:in `context'
8137
+ rack (1.6.1) lib/rack/session/abstract/id.rb:220:in `call'
8138
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
8139
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
8140
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
8141
+ activerecord (4.2.1) lib/active_record/migration.rb:378:in `call'
8142
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
8143
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
8144
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
8145
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
8146
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
8147
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
8148
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
8149
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
8150
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
8151
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
8152
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
8153
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
8154
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
8155
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
8156
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
8157
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
8158
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
8159
+ rack (1.6.1) lib/rack/methodoverride.rb:22:in `call'
8160
+ rack (1.6.1) lib/rack/runtime.rb:18:in `call'
8161
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
8162
+ rack (1.6.1) lib/rack/lock.rb:17:in `call'
8163
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
8164
+ rack (1.6.1) lib/rack/sendfile.rb:113:in `call'
8165
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
8166
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
8167
+ rack (1.6.1) lib/rack/lock.rb:17:in `call'
8168
+ rack (1.6.1) lib/rack/content_length.rb:15:in `call'
8169
+ rack (1.6.1) lib/rack/handler/webrick.rb:89:in `service'
8170
+ D:/Ruby215/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
8171
+ D:/Ruby215/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
8172
+ D:/Ruby215/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
8173
+
8174
+
8175
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms)
8176
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (5.0ms)
8177
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (15.0ms)
8178
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (172.0ms)
8179
+
8180
+
8181
+ Started GET "/elfinder_manager" for 127.0.0.1 at 2015-05-20 02:51:45 +0300
8182
+ Processing by Optimacms::ElfinderController#index as HTML
8183
+ Rendered W:/myrails/cms/site/app/views/optimacms/elfinder/index.html.erb (0.0ms)
8184
+ Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.0ms)
8185
+
8186
+
8187
+ Started GET "/elfinder?cmd=open&target=&init=1&tree=1&_=1432079505883" for 127.0.0.1 at 2015-05-20 02:51:45 +0300
8188
+ Processing by Optimacms::ElfinderController#elfinder as JSON
8189
+ Parameters: {"cmd"=>"open", "target"=>"", "init"=>"1", "tree"=>"1", "_"=>"1432079505883"}
8190
+ Completed 200 OK in 16896ms (Views: 4.0ms | ActiveRecord: 0.0ms)
8191
+
8192
+
8193
+ Started POST "/elfinder" for 127.0.0.1 at 2015-05-20 02:52:16 +0300
8194
+ Processing by Optimacms::ElfinderController#elfinder as HTML
8195
+ Parameters: {"cmd"=>"upload", "current"=>"Lg", "upload"=>[#<ActionDispatch::Http::UploadedFile:0xa0a2218 @tempfile=#<Tempfile:C:/Users/Max/AppData/Local/Temp/RackMultipart20150520-24120-1e1tchh.jpg>, @original_filename="cat2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"upload[]\"; filename=\"cat2.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
8196
+ Completed 200 OK in 4581ms (Views: 5.0ms | ActiveRecord: 0.0ms)
8197
+
8198
+
8199
+ Started GET "/elfinder?cmd=tmb&current=Lg&_=1432079541158" for 127.0.0.1 at 2015-05-20 02:52:21 +0300
8200
+ Processing by Optimacms::ElfinderController#elfinder as JSON
8201
+ Parameters: {"cmd"=>"tmb", "current"=>"Lg", "_"=>"1432079541158"}
8202
+ Completed 200 OK in 1519ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8203
+
8204
+
8205
+ Started PATCH "/cmsadmin/templates/127" for 127.0.0.1 at 2015-05-20 02:52:29 +0300
8206
+ Processing by Optimacms::Admin::TemplatesController#update as HTML
8207
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"t/RNV4rBaFdoC1h/1VDN2vskUdoQlyrPSIRISiV4lFcPs7i2kMGaz96xd/duQi5Z/PzAfyRxQ5QsQ7XTrWwAWA==", "template"=>{"parent_id"=>"70", "title"=>"html test 1", "content"=>"<p>pp</p>\r\n<p><img src=\"/img/cat2.jpg\" alt=\"\" width=\"650\" height=\"446\" /></p>"}, "commit"=>"Save", "id"=>"127"}
8208
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
8209
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 127 LIMIT 1
8210
+  (0.0ms) BEGIN
8211
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
8212
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
8213
+ CACHE (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1 [["id", 70]]
8214
+ Optimacms::Template Exists (1.0ms) SELECT 1 AS one FROM `cms_templates` WHERE (`cms_templates`.`basepath` = BINARY 'temp/html1' AND `cms_templates`.`id` != 127 AND `cms_templates`.`is_folder` = 0) LIMIT 1
8215
+  (0.0ms) COMMIT
8216
+ Redirected to http://localhost:3001/cmsadmin/templates
8217
+ Completed 302 Found in 94ms (ActiveRecord: 3.0ms)
8218
+
8219
+
8220
+ Started GET "/cmsadmin/templates" for 127.0.0.1 at 2015-05-20 02:52:29 +0300
8221
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
8222
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
8223
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
8224
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 70 LIMIT 1
8225
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (47.0ms)
8226
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (10.0ms)
8227
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (67.0ms)
8228
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
8229
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (7.0ms)
8230
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (93.0ms)
8231
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (98.0ms)
8232
+ 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
8233
+ 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
8234
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '70' AND (1=1 )
8235
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (187.0ms)
8236
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
8237
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (14.0ms)
8238
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
8239
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
8240
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
8241
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (12.0ms)
8242
+ Completed 200 OK in 1099ms (Views: 1058.1ms | ActiveRecord: 4.0ms)
Binary file
@@ -1 +1 @@
1
- 4072
1
+ 24120
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -400,6 +400,7 @@ files:
400
400
  - test/dummy/app/views/services/index_top.html
401
401
  - test/dummy/app/views/temp/1.html.erb
402
402
  - test/dummy/app/views/temp/h1.html
403
+ - test/dummy/app/views/temp/html1.html
403
404
  - test/dummy/app/views/temp/t1.html.haml
404
405
  - test/dummy/app/views/temp/t5.html
405
406
  - test/dummy/app/views/temp9/t2.html
@@ -443,6 +444,7 @@ files:
443
444
  - test/dummy/config/initializers/filter_parameter_logging.rb
444
445
  - test/dummy/config/initializers/inflections.rb
445
446
  - test/dummy/config/initializers/mime_types.rb
447
+ - test/dummy/config/initializers/optimacms.rb
446
448
  - test/dummy/config/initializers/session_store.rb
447
449
  - test/dummy/config/initializers/simple_filter.rb
448
450
  - test/dummy/config/initializers/simple_form.rb
@@ -510,6 +512,7 @@ files:
510
512
  - test/dummy/public/elfinder/php/mime.types
511
513
  - test/dummy/public/elfinder/tinymce.html
512
514
  - test/dummy/public/favicon.ico
515
+ - test/dummy/public/img/cat2.jpg
513
516
  - test/dummy/public/js/ace/src-min-noconflict/ace.js
514
517
  - test/dummy/public/js/ace/src-min-noconflict/ext-beautify.js
515
518
  - test/dummy/public/js/ace/src-min-noconflict/ext-chromevox.js
@@ -2553,6 +2556,7 @@ test_files:
2553
2556
  - test/dummy/app/views/services/index_top.html
2554
2557
  - test/dummy/app/views/temp/1.html.erb
2555
2558
  - test/dummy/app/views/temp/h1.html
2559
+ - test/dummy/app/views/temp/html1.html
2556
2560
  - test/dummy/app/views/temp/t1.html.haml
2557
2561
  - test/dummy/app/views/temp/t5.html
2558
2562
  - test/dummy/app/views/temp9/t2.html
@@ -2595,6 +2599,7 @@ test_files:
2595
2599
  - test/dummy/config/initializers/filter_parameter_logging.rb
2596
2600
  - test/dummy/config/initializers/inflections.rb
2597
2601
  - test/dummy/config/initializers/mime_types.rb
2602
+ - test/dummy/config/initializers/optimacms.rb
2598
2603
  - test/dummy/config/initializers/session_store.rb
2599
2604
  - test/dummy/config/initializers/simple_filter.rb
2600
2605
  - test/dummy/config/initializers/simple_form.rb
@@ -2663,6 +2668,7 @@ test_files:
2663
2668
  - test/dummy/public/elfinder/README.md
2664
2669
  - test/dummy/public/elfinder/tinymce.html
2665
2670
  - test/dummy/public/favicon.ico
2671
+ - test/dummy/public/img/cat2.jpg
2666
2672
  - test/dummy/public/js/ace/src/ace.js
2667
2673
  - test/dummy/public/js/ace/src/ext-beautify.js
2668
2674
  - test/dummy/public/js/ace/src/ext-chromevox.js