From cae3daa9c4847c082d2605e11b7b79a857f9665c Mon Sep 17 00:00:00 2001 From: Matthew Fu Date: Tue, 10 Jan 2012 18:29:11 +0800 Subject: [PATCH] Change NewBlog to new_blog --- .../admin/page_parts_controller.rb | 2 +- app/controllers/application_controller.rb | 4 +-- .../obit_frontend_component_controller.rb | 4 +++ app/controllers/obit_frontend_controller.rb | 3 +++ app/controllers/obit_widget_controller.rb | 3 +++ lib/NewBlog.zip | Bin 53263 -> 53327 bytes lib/fraisier/layout.html | 4 +-- lib/tasks/dev.rake | 2 +- .../panel/blog/back_end/posts/edit.html.erb | 8 ------ .../built_in_modules/NewBlog/lib/NewBlog.rb | 5 ---- .../app/views/panel/blog/posts/index.html.erb | 25 ------------------ .../{NewBlog => new_blog}/.gitignore | 0 .../{NewBlog => new_blog}/Gemfile | 0 .../{NewBlog => new_blog}/Gemfile.lock | 0 .../{NewBlog => new_blog}/MIT-LICENSE | 0 .../{NewBlog => new_blog}/README.rdoc | 0 .../{NewBlog => new_blog}/Rakefile | 0 .../app/assets/images/NewBlog/.gitkeep | 0 .../app/assets/javascripts/NewBlog/.gitkeep | 0 .../app/assets/stylesheets/NewBlog/.gitkeep | 0 .../stylesheets/NewBlog/application.css | 0 .../assets/stylesheets/NewBlog/production.css | 0 .../app/controllers/.gitkeep | 0 .../app/controllers/application_controller.rb | 0 .../new_blog}/back_end/posts_controller.rb | 8 +++--- .../new_blog/front_end/comments_controller.rb | 7 +++++ .../new_blog/front_end/posts_controller.rb | 21 +++++++++++++++ .../new_blog}/widget/posts_controller.rb | 2 +- .../app/helpers/.gitkeep | 0 .../app/helpers/application_helper.rb | 0 .../app/helpers/new_blog_helper.rb | 0 .../app/mailers/.gitkeep | 0 .../{NewBlog => new_blog}/app/models/.gitkeep | 0 .../app/models/comment.rb | 0 .../{NewBlog => new_blog}/app/models/post.rb | 0 .../{NewBlog => new_blog}/app/views/.gitkeep | 0 .../app/views/layouts/application.html.erb | 0 .../app/views/layouts/edit_view.html.erb | 0 .../app/views/layouts/production.html.erb | 0 .../new_blog}/back_end/posts/_form.html.erb | 0 .../new_blog/back_end/posts/edit.html.erb | 8 ++++++ .../new_blog}/back_end/posts/index.html.erb | 8 +++--- .../back_end/posts/latest_post.html.erb | 2 +- .../new_blog}/back_end/posts/new.html.erb | 4 +-- .../new_blog}/back_end/posts/show.html.erb | 4 +-- .../front_end/posts/_post_frontend.html.erb | 2 +- .../new_blog}/front_end/posts/index.html.erb | 2 +- .../new_blog}/front_end/posts/show.html.erb | 2 +- .../new_blog}/widget/posts/index.html.erb | 4 +-- .../widget/posts/latest_post.html.erb | 2 +- .../config/initializers/app_config.rb | 18 +++++++++++++ .../config/locales/en.yml | 0 .../config/locales/zh_tw.yml | 0 .../new_blog/config/routes.rb | 25 ++++++++++++++++++ .../built_in_modules/new_blog/lib/NewBlog.rb | 5 ++++ .../lib/new_blog}/engine.rb | 2 +- .../lib/new_blog}/version.rb | 0 .../lib/tasks/NewBlog_tasks.rake | 0 .../new_blog.gemspec} | 0 .../built_in_modules/new_blog/new_blog.json | 12 +++++++++ .../{NewBlog => new_blog}/script/rails | 0 .../test/NewBlog_test.rb | 0 .../{NewBlog => new_blog}/test/dummy/Rakefile | 0 .../app/assets/javascripts/application.js | 0 .../app/assets/stylesheets/application.css | 0 .../app/controllers/application_controller.rb | 0 .../dummy/app/helpers/application_helper.rb | 0 .../test/dummy/app/mailers/.gitkeep | 0 .../test/dummy/app/models/.gitkeep | 0 .../app/views/layouts/application.html.erb | 0 .../test/dummy/config.ru | 0 .../test/dummy/config/application.rb | 0 .../test/dummy/config/boot.rb | 0 .../test/dummy/config/database.yml | 0 .../test/dummy/config/environment.rb | 0 .../dummy/config/environments/development.rb | 0 .../dummy/config/environments/production.rb | 0 .../test/dummy/config/environments/test.rb | 0 .../initializers/backtrace_silencers.rb | 0 .../dummy/config/initializers/inflections.rb | 0 .../dummy/config/initializers/mime_types.rb | 0 .../dummy/config/initializers/secret_token.rb | 0 .../config/initializers/session_store.rb | 0 .../config/initializers/wrap_parameters.rb | 0 .../test/dummy/config/locales/en.yml | 0 .../test/dummy/config/mongoid.yml | 0 .../test/dummy/config/routes.rb | 0 .../test/dummy/lib/assets/.gitkeep | 0 .../test/dummy/log/.gitkeep | 0 .../test/dummy/public/404.html | 0 .../test/dummy/public/422.html | 0 .../test/dummy/public/500.html | 0 .../test/dummy/public/favicon.ico | 0 .../test/dummy/script/rails | 0 .../test/integration/navigation_test.rb | 0 .../{NewBlog => new_blog}/test/test_helper.rb | 0 96 files changed, 133 insertions(+), 65 deletions(-) create mode 100644 app/controllers/obit_frontend_component_controller.rb create mode 100644 app/controllers/obit_frontend_controller.rb create mode 100644 app/controllers/obit_widget_controller.rb delete mode 100644 vendor/built_in_modules/NewBlog/app/views/panel/blog/back_end/posts/edit.html.erb delete mode 100644 vendor/built_in_modules/NewBlog/lib/NewBlog.rb delete mode 100644 vendor/built_in_modules/blog/app/views/panel/blog/posts/index.html.erb rename vendor/built_in_modules/{NewBlog => new_blog}/.gitignore (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/Gemfile (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/Gemfile.lock (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/MIT-LICENSE (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/README.rdoc (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/Rakefile (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/assets/images/NewBlog/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/assets/javascripts/NewBlog/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/assets/stylesheets/NewBlog/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/assets/stylesheets/NewBlog/application.css (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/assets/stylesheets/NewBlog/production.css (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/controllers/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/controllers/application_controller.rb (100%) rename vendor/built_in_modules/{NewBlog/app/controllers/panel/blog => new_blog/app/controllers/panel/new_blog}/back_end/posts_controller.rb (81%) create mode 100644 vendor/built_in_modules/new_blog/app/controllers/panel/new_blog/front_end/comments_controller.rb create mode 100644 vendor/built_in_modules/new_blog/app/controllers/panel/new_blog/front_end/posts_controller.rb rename vendor/built_in_modules/{NewBlog/app/controllers/panel/blog => new_blog/app/controllers/panel/new_blog}/widget/posts_controller.rb (77%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/helpers/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/helpers/application_helper.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/helpers/new_blog_helper.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/mailers/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/models/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/models/comment.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/models/post.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/views/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/views/layouts/application.html.erb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/views/layouts/edit_view.html.erb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/app/views/layouts/production.html.erb (100%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/back_end/posts/_form.html.erb (100%) create mode 100644 vendor/built_in_modules/new_blog/app/views/panel/new_blog/back_end/posts/edit.html.erb rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/back_end/posts/index.html.erb (50%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/back_end/posts/latest_post.html.erb (52%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/back_end/posts/new.html.erb (55%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/back_end/posts/show.html.erb (76%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/front_end/posts/_post_frontend.html.erb (56%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/front_end/posts/index.html.erb (65%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/front_end/posts/show.html.erb (87%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/widget/posts/index.html.erb (64%) rename vendor/built_in_modules/{NewBlog/app/views/panel/blog => new_blog/app/views/panel/new_blog}/widget/posts/latest_post.html.erb (64%) create mode 100644 vendor/built_in_modules/new_blog/config/initializers/app_config.rb rename vendor/built_in_modules/{NewBlog => new_blog}/config/locales/en.yml (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/config/locales/zh_tw.yml (100%) create mode 100644 vendor/built_in_modules/new_blog/config/routes.rb create mode 100644 vendor/built_in_modules/new_blog/lib/NewBlog.rb rename vendor/built_in_modules/{NewBlog/lib/NewBlog => new_blog/lib/new_blog}/engine.rb (64%) rename vendor/built_in_modules/{NewBlog/lib/NewBlog => new_blog/lib/new_blog}/version.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/lib/tasks/NewBlog_tasks.rake (100%) rename vendor/built_in_modules/{NewBlog/NewBlog.gemspec => new_blog/new_blog.gemspec} (100%) create mode 100755 vendor/built_in_modules/new_blog/new_blog.json rename vendor/built_in_modules/{NewBlog => new_blog}/script/rails (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/NewBlog_test.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/Rakefile (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/assets/javascripts/application.js (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/assets/stylesheets/application.css (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/controllers/application_controller.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/helpers/application_helper.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/mailers/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/models/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/app/views/layouts/application.html.erb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config.ru (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/application.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/boot.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/database.yml (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/environment.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/environments/development.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/environments/production.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/environments/test.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/initializers/backtrace_silencers.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/initializers/inflections.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/initializers/mime_types.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/initializers/secret_token.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/initializers/session_store.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/initializers/wrap_parameters.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/locales/en.yml (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/mongoid.yml (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/config/routes.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/lib/assets/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/log/.gitkeep (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/public/404.html (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/public/422.html (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/public/500.html (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/public/favicon.ico (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/dummy/script/rails (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/integration/navigation_test.rb (100%) rename vendor/built_in_modules/{NewBlog => new_blog}/test/test_helper.rb (100%) diff --git a/app/controllers/admin/page_parts_controller.rb b/app/controllers/admin/page_parts_controller.rb index f77a7782..71e39ae1 100644 --- a/app/controllers/admin/page_parts_controller.rb +++ b/app/controllers/admin/page_parts_controller.rb @@ -28,7 +28,7 @@ class Admin::PagePartsController < ApplicationController @partial = 'edit_text' @part_locale = params[:part_locale] || I18n.locale.to_s when 'module' - @plugins=[{:module=>"Blog",:widgets=>[{:name=>"Blog",:path=>"panel/blog/widget_latest_post"},{:name=>"Blog",:path=>"panel/blog/widget_index"}]}] + @plugins=[{:module=>"Blog",:widgets=>[{:name=>"Blog",:path=>"panel/new_blog/widget_latest_post"},{:name=>"Blog",:path=>"panel/new_blog/widget_index"}]}] when 'snippet' end end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7c964ff5..0227c252 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -9,12 +9,12 @@ class ApplicationController < ActionController::Base def front_end_available(module_app_title='') app_controller = ModuleApp.first(conditions: {:title => module_app_title} ) unless app_controller.enable_frontend? - render :text => 'View not available' + render :nothing end end def get_all_app_engines - ary = ["vender/plugins/NewBlog"] + ary = ["vender/plugins/new_blog"] app_engines = ary.collect{|t| Rails::Engine.find t } diff --git a/app/controllers/obit_frontend_component_controller.rb b/app/controllers/obit_frontend_component_controller.rb new file mode 100644 index 00000000..d5bfaac6 --- /dev/null +++ b/app/controllers/obit_frontend_component_controller.rb @@ -0,0 +1,4 @@ +class ObitFrontendComponentController< ApplicationController + before_filter {|c| c.front_end_available(@app_title)} + layout 'production' +end \ No newline at end of file diff --git a/app/controllers/obit_frontend_controller.rb b/app/controllers/obit_frontend_controller.rb new file mode 100644 index 00000000..fb42ac78 --- /dev/null +++ b/app/controllers/obit_frontend_controller.rb @@ -0,0 +1,3 @@ +class ObitFrontendController< ObitFrontendComponentController + +end \ No newline at end of file diff --git a/app/controllers/obit_widget_controller.rb b/app/controllers/obit_widget_controller.rb new file mode 100644 index 00000000..e0a9746d --- /dev/null +++ b/app/controllers/obit_widget_controller.rb @@ -0,0 +1,3 @@ +class ObitWidgetController< ObitFrontendComponentController + +end \ No newline at end of file diff --git a/lib/NewBlog.zip b/lib/NewBlog.zip index f21f2eb22613d1c35e68db8690af47f24e3d43da..3513cabf8668eed283bebaac3103fd657c43901e 100644 GIT binary patch delta 5612 zcmai230PD|5@wnKMrIfehwA~uh@)HrqDat)T*lzRDd5dvP!WTmET}<1Vhp%~0_BAP zLA(_Z8KV*bx#EFxm>AYwvyn}{n7CqA&8M4+Bl#RA_fs zXiG!qYYX+Y@K05dlW&n!A)IX}34yahc~PjPa1KqMPwLec-lv)HzR-p$qj&J{3xQ0F zKg+PQgcC#@n^xe@oQ7w@dBVH+w2zL1un_BBr{lx0R5dy^0-`xq&xJp_PDc(Cls3?# zXQ+n(I8d$N?rsZW6FW$7GlSp>GVt0Xffb@yAqEXCqDc&D)iaR~tI$K=omcowB!^x4 zSwy(YUjfaxfZaEcYHQ@O|Nq;A=^ZCgR}g0wHCV1`@5I z7{k=CEm!s0O4;jwR$L$yRM>q*tW6(ZPOP<5dhrenvy;Onm?Cd_urATDZiTf@4D zV->h>BeKR*ItlUpl;4SP-_(bL!g+AO)C>|l0}1PbX9QuXBwiM*ki+yo!j#O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Fid;9o?)TfZAfPD{Yh0O;|!D~1O6;M|0u#|;2 zeMp9y4-vgjhr`eqC3n6>&j#;q=1m!zRe&|@;ONarv_nHm;n7V#NqkLsjBtY05I!YjH- -
-
+
+
diff --git a/vendor/built_in_modules/NewBlog/app/views/panel/blog/front_end/posts/index.html.erb b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/front_end/posts/index.html.erb similarity index 65% rename from vendor/built_in_modules/NewBlog/app/views/panel/blog/front_end/posts/index.html.erb rename to vendor/built_in_modules/new_blog/app/views/panel/new_blog/front_end/posts/index.html.erb index aaa1d8ce..27f494c0 100644 --- a/vendor/built_in_modules/NewBlog/app/views/panel/blog/front_end/posts/index.html.erb +++ b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/front_end/posts/index.html.erb @@ -1,6 +1,6 @@ <% content_for :secondary do %>
    -
  • <%= link_to t('blog.new_post'), new_panel_blog_back_end_post_path, :class => 'seclink1' %>
  • +
  • <%= link_to t('blog.new_post'), new_panel_new_blog_back_end_post_path, :class => 'seclink1' %>
<% end -%> diff --git a/vendor/built_in_modules/NewBlog/app/views/panel/blog/front_end/posts/show.html.erb b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/front_end/posts/show.html.erb similarity index 87% rename from vendor/built_in_modules/NewBlog/app/views/panel/blog/front_end/posts/show.html.erb rename to vendor/built_in_modules/new_blog/app/views/panel/new_blog/front_end/posts/show.html.erb index 46842f96..50f8ef9e 100644 --- a/vendor/built_in_modules/NewBlog/app/views/panel/blog/front_end/posts/show.html.erb +++ b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/front_end/posts/show.html.erb @@ -18,7 +18,7 @@

<% end %> -<%= form_for Comment.new, :url => panel_blog_front_end_comments_path do |f| %> +<%= form_for Comment.new, :url => panel_new_blog_front_end_comments_path do |f| %>

<%= f.label :name, "Author" %>
diff --git a/vendor/built_in_modules/NewBlog/app/views/panel/blog/widget/posts/index.html.erb b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/widget/posts/index.html.erb similarity index 64% rename from vendor/built_in_modules/NewBlog/app/views/panel/blog/widget/posts/index.html.erb rename to vendor/built_in_modules/new_blog/app/views/panel/new_blog/widget/posts/index.html.erb index 0ea7639f..41c8ccf8 100644 --- a/vendor/built_in_modules/NewBlog/app/views/panel/blog/widget/posts/index.html.erb +++ b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/widget/posts/index.html.erb @@ -1,4 +1,4 @@ -<%=stylesheet_link_tag "NewBlog/application"%> +<%=stylesheet_link_tag "new_blog/application"%>

@@ -8,7 +8,7 @@ <% @posts.each do |post| %> - + <% end %> diff --git a/vendor/built_in_modules/NewBlog/app/views/panel/blog/widget/posts/latest_post.html.erb b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/widget/posts/latest_post.html.erb similarity index 64% rename from vendor/built_in_modules/NewBlog/app/views/panel/blog/widget/posts/latest_post.html.erb rename to vendor/built_in_modules/new_blog/app/views/panel/new_blog/widget/posts/latest_post.html.erb index 2312fc74..b4f62484 100644 --- a/vendor/built_in_modules/NewBlog/app/views/panel/blog/widget/posts/latest_post.html.erb +++ b/vendor/built_in_modules/new_blog/app/views/panel/new_blog/widget/posts/latest_post.html.erb @@ -1,4 +1,4 @@ -<%=stylesheet_link_tag "NewBlog/application"%> +<%=stylesheet_link_tag "new_blog/application"%>

<%= @post.title %>

diff --git a/vendor/built_in_modules/new_blog/config/initializers/app_config.rb b/vendor/built_in_modules/new_blog/config/initializers/app_config.rb new file mode 100644 index 00000000..c098b837 --- /dev/null +++ b/vendor/built_in_modules/new_blog/config/initializers/app_config.rb @@ -0,0 +1,18 @@ +# module NewBlog +# class MyEngine < Rails::Engine +# # Add a load path for this specific Engine +# # config.autoload_paths << File.expand_path("../lib/some/path", __FILE__) +# put "ABC" +# PrototypeR4::Application::Orbit_Apps << "NewBlog" +# +# # initializer "my_engine.add_middleware" do |app| +# # app.middleware.use MyEngine::Middleware +# # end +# end +# +# end +module NewBlog + VERSION = "0.0.1" + MOUDLEAPP_TITLE = "NewBlog" +end +# PrototypeR4::Application::Orbit_Apps << "NewBlog" \ No newline at end of file diff --git a/vendor/built_in_modules/NewBlog/config/locales/en.yml b/vendor/built_in_modules/new_blog/config/locales/en.yml similarity index 100% rename from vendor/built_in_modules/NewBlog/config/locales/en.yml rename to vendor/built_in_modules/new_blog/config/locales/en.yml diff --git a/vendor/built_in_modules/NewBlog/config/locales/zh_tw.yml b/vendor/built_in_modules/new_blog/config/locales/zh_tw.yml similarity index 100% rename from vendor/built_in_modules/NewBlog/config/locales/zh_tw.yml rename to vendor/built_in_modules/new_blog/config/locales/zh_tw.yml diff --git a/vendor/built_in_modules/new_blog/config/routes.rb b/vendor/built_in_modules/new_blog/config/routes.rb new file mode 100644 index 00000000..c5b65a18 --- /dev/null +++ b/vendor/built_in_modules/new_blog/config/routes.rb @@ -0,0 +1,25 @@ +Rails.application.routes.draw do + + namespace :panel do + namespace :new_blog do + namespace :back_end do + root :to => "posts#index" + resources :posts + resources :comments + end + namespace :front_end do + root :to => "posts#index" + match "show/:id" => "posts#show" ,:as => :post + match "comments" => "comments#create",:as => :comments + end + namespace :widget do + root :to => "posts#index" + match "latest_post" => "posts#latest_post" + end + end + end + + # match "appfront/blog/front_end/show/:id" => "posts#frontend_show" ,:as => :appfront_blog_show + + match "/appfront/*path" => redirect("/panel/*path") +end diff --git a/vendor/built_in_modules/new_blog/lib/NewBlog.rb b/vendor/built_in_modules/new_blog/lib/NewBlog.rb new file mode 100644 index 00000000..4b74cf74 --- /dev/null +++ b/vendor/built_in_modules/new_blog/lib/NewBlog.rb @@ -0,0 +1,5 @@ +require "new_blog/engine" + + +module NewBlog +end diff --git a/vendor/built_in_modules/NewBlog/lib/NewBlog/engine.rb b/vendor/built_in_modules/new_blog/lib/new_blog/engine.rb similarity index 64% rename from vendor/built_in_modules/NewBlog/lib/NewBlog/engine.rb rename to vendor/built_in_modules/new_blog/lib/new_blog/engine.rb index e0f0221c..6879f112 100644 --- a/vendor/built_in_modules/NewBlog/lib/NewBlog/engine.rb +++ b/vendor/built_in_modules/new_blog/lib/new_blog/engine.rb @@ -1,5 +1,5 @@ module NewBlog class Engine < Rails::Engine - isolate_namespace NewBlog + isolate_namespace new_blog end end diff --git a/vendor/built_in_modules/NewBlog/lib/NewBlog/version.rb b/vendor/built_in_modules/new_blog/lib/new_blog/version.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/lib/NewBlog/version.rb rename to vendor/built_in_modules/new_blog/lib/new_blog/version.rb diff --git a/vendor/built_in_modules/NewBlog/lib/tasks/NewBlog_tasks.rake b/vendor/built_in_modules/new_blog/lib/tasks/NewBlog_tasks.rake similarity index 100% rename from vendor/built_in_modules/NewBlog/lib/tasks/NewBlog_tasks.rake rename to vendor/built_in_modules/new_blog/lib/tasks/NewBlog_tasks.rake diff --git a/vendor/built_in_modules/NewBlog/NewBlog.gemspec b/vendor/built_in_modules/new_blog/new_blog.gemspec similarity index 100% rename from vendor/built_in_modules/NewBlog/NewBlog.gemspec rename to vendor/built_in_modules/new_blog/new_blog.gemspec diff --git a/vendor/built_in_modules/new_blog/new_blog.json b/vendor/built_in_modules/new_blog/new_blog.json new file mode 100755 index 00000000..ec18ee08 --- /dev/null +++ b/vendor/built_in_modules/new_blog/new_blog.json @@ -0,0 +1,12 @@ +{ + "title": "NewBlog", + "version": "0.1", + "organization": "Rulingcom", + "author": "RD dep", + "intro": "A simple blog……", + "update_info": "Some info", + "create_date": "11-11-2011", + "app_pages": ["/panel/new_blog/front_end/"], + "widgets": ["/panel/new_blog/widget/latest_post","/panel/new_blog/widget/"], + "enable_frontend": false +} diff --git a/vendor/built_in_modules/NewBlog/script/rails b/vendor/built_in_modules/new_blog/script/rails similarity index 100% rename from vendor/built_in_modules/NewBlog/script/rails rename to vendor/built_in_modules/new_blog/script/rails diff --git a/vendor/built_in_modules/NewBlog/test/NewBlog_test.rb b/vendor/built_in_modules/new_blog/test/NewBlog_test.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/NewBlog_test.rb rename to vendor/built_in_modules/new_blog/test/NewBlog_test.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/Rakefile b/vendor/built_in_modules/new_blog/test/dummy/Rakefile similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/Rakefile rename to vendor/built_in_modules/new_blog/test/dummy/Rakefile diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/assets/javascripts/application.js b/vendor/built_in_modules/new_blog/test/dummy/app/assets/javascripts/application.js similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/assets/javascripts/application.js rename to vendor/built_in_modules/new_blog/test/dummy/app/assets/javascripts/application.js diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/assets/stylesheets/application.css b/vendor/built_in_modules/new_blog/test/dummy/app/assets/stylesheets/application.css similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/assets/stylesheets/application.css rename to vendor/built_in_modules/new_blog/test/dummy/app/assets/stylesheets/application.css diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/controllers/application_controller.rb b/vendor/built_in_modules/new_blog/test/dummy/app/controllers/application_controller.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/controllers/application_controller.rb rename to vendor/built_in_modules/new_blog/test/dummy/app/controllers/application_controller.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/helpers/application_helper.rb b/vendor/built_in_modules/new_blog/test/dummy/app/helpers/application_helper.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/helpers/application_helper.rb rename to vendor/built_in_modules/new_blog/test/dummy/app/helpers/application_helper.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/mailers/.gitkeep b/vendor/built_in_modules/new_blog/test/dummy/app/mailers/.gitkeep similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/mailers/.gitkeep rename to vendor/built_in_modules/new_blog/test/dummy/app/mailers/.gitkeep diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/models/.gitkeep b/vendor/built_in_modules/new_blog/test/dummy/app/models/.gitkeep similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/models/.gitkeep rename to vendor/built_in_modules/new_blog/test/dummy/app/models/.gitkeep diff --git a/vendor/built_in_modules/NewBlog/test/dummy/app/views/layouts/application.html.erb b/vendor/built_in_modules/new_blog/test/dummy/app/views/layouts/application.html.erb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/app/views/layouts/application.html.erb rename to vendor/built_in_modules/new_blog/test/dummy/app/views/layouts/application.html.erb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config.ru b/vendor/built_in_modules/new_blog/test/dummy/config.ru similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config.ru rename to vendor/built_in_modules/new_blog/test/dummy/config.ru diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/application.rb b/vendor/built_in_modules/new_blog/test/dummy/config/application.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/application.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/application.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/boot.rb b/vendor/built_in_modules/new_blog/test/dummy/config/boot.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/boot.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/boot.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/database.yml b/vendor/built_in_modules/new_blog/test/dummy/config/database.yml similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/database.yml rename to vendor/built_in_modules/new_blog/test/dummy/config/database.yml diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/environment.rb b/vendor/built_in_modules/new_blog/test/dummy/config/environment.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/environment.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/environment.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/environments/development.rb b/vendor/built_in_modules/new_blog/test/dummy/config/environments/development.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/environments/development.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/environments/development.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/environments/production.rb b/vendor/built_in_modules/new_blog/test/dummy/config/environments/production.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/environments/production.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/environments/production.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/environments/test.rb b/vendor/built_in_modules/new_blog/test/dummy/config/environments/test.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/environments/test.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/environments/test.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb b/vendor/built_in_modules/new_blog/test/dummy/config/initializers/backtrace_silencers.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/initializers/backtrace_silencers.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/initializers/backtrace_silencers.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/initializers/inflections.rb b/vendor/built_in_modules/new_blog/test/dummy/config/initializers/inflections.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/initializers/inflections.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/initializers/inflections.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/initializers/mime_types.rb b/vendor/built_in_modules/new_blog/test/dummy/config/initializers/mime_types.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/initializers/mime_types.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/initializers/mime_types.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/initializers/secret_token.rb b/vendor/built_in_modules/new_blog/test/dummy/config/initializers/secret_token.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/initializers/secret_token.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/initializers/secret_token.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/initializers/session_store.rb b/vendor/built_in_modules/new_blog/test/dummy/config/initializers/session_store.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/initializers/session_store.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/initializers/session_store.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/initializers/wrap_parameters.rb b/vendor/built_in_modules/new_blog/test/dummy/config/initializers/wrap_parameters.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/initializers/wrap_parameters.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/initializers/wrap_parameters.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/locales/en.yml b/vendor/built_in_modules/new_blog/test/dummy/config/locales/en.yml similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/locales/en.yml rename to vendor/built_in_modules/new_blog/test/dummy/config/locales/en.yml diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/mongoid.yml b/vendor/built_in_modules/new_blog/test/dummy/config/mongoid.yml similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/mongoid.yml rename to vendor/built_in_modules/new_blog/test/dummy/config/mongoid.yml diff --git a/vendor/built_in_modules/NewBlog/test/dummy/config/routes.rb b/vendor/built_in_modules/new_blog/test/dummy/config/routes.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/config/routes.rb rename to vendor/built_in_modules/new_blog/test/dummy/config/routes.rb diff --git a/vendor/built_in_modules/NewBlog/test/dummy/lib/assets/.gitkeep b/vendor/built_in_modules/new_blog/test/dummy/lib/assets/.gitkeep similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/lib/assets/.gitkeep rename to vendor/built_in_modules/new_blog/test/dummy/lib/assets/.gitkeep diff --git a/vendor/built_in_modules/NewBlog/test/dummy/log/.gitkeep b/vendor/built_in_modules/new_blog/test/dummy/log/.gitkeep similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/log/.gitkeep rename to vendor/built_in_modules/new_blog/test/dummy/log/.gitkeep diff --git a/vendor/built_in_modules/NewBlog/test/dummy/public/404.html b/vendor/built_in_modules/new_blog/test/dummy/public/404.html similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/public/404.html rename to vendor/built_in_modules/new_blog/test/dummy/public/404.html diff --git a/vendor/built_in_modules/NewBlog/test/dummy/public/422.html b/vendor/built_in_modules/new_blog/test/dummy/public/422.html similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/public/422.html rename to vendor/built_in_modules/new_blog/test/dummy/public/422.html diff --git a/vendor/built_in_modules/NewBlog/test/dummy/public/500.html b/vendor/built_in_modules/new_blog/test/dummy/public/500.html similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/public/500.html rename to vendor/built_in_modules/new_blog/test/dummy/public/500.html diff --git a/vendor/built_in_modules/NewBlog/test/dummy/public/favicon.ico b/vendor/built_in_modules/new_blog/test/dummy/public/favicon.ico similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/public/favicon.ico rename to vendor/built_in_modules/new_blog/test/dummy/public/favicon.ico diff --git a/vendor/built_in_modules/NewBlog/test/dummy/script/rails b/vendor/built_in_modules/new_blog/test/dummy/script/rails similarity index 100% rename from vendor/built_in_modules/NewBlog/test/dummy/script/rails rename to vendor/built_in_modules/new_blog/test/dummy/script/rails diff --git a/vendor/built_in_modules/NewBlog/test/integration/navigation_test.rb b/vendor/built_in_modules/new_blog/test/integration/navigation_test.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/integration/navigation_test.rb rename to vendor/built_in_modules/new_blog/test/integration/navigation_test.rb diff --git a/vendor/built_in_modules/NewBlog/test/test_helper.rb b/vendor/built_in_modules/new_blog/test/test_helper.rb similarity index 100% rename from vendor/built_in_modules/NewBlog/test/test_helper.rb rename to vendor/built_in_modules/new_blog/test/test_helper.rb

<%= link_to post.title,panel_blog_front_end_post_path(post) %><%= link_to post.title,panel_new_blog_front_end_post_path(post) %> <%= post.body.truncate(14) %>