From 4f1e47bb82b8f12ec68ac573568ed09841fa8c66 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Thu, 10 May 2012 14:43:05 +0800 Subject: [PATCH 01/26] Don't display admin in any premission select. Fix not necessary header for UT data --- app/controllers/admin/new_interface_module_apps_controller.rb | 2 +- .../panel/announcement/back_end/approvals_controller.rb | 1 + .../back_end/bulletin_category_setting_controller.rb | 1 + .../announcement/back_end/approvals/_privilege_user.html.erb | 3 +-- .../bulletin_category_setting/_privilege_user.html.erb | 3 +-- .../lib/tasks/data_for_ut_list_for_posting_anc.rake | 2 +- .../announcement/lib/ut_list_from_nccu_2012feb.csv | 1 - .../panel/news/back_end/news_approvals_controller.rb | 1 + .../news/back_end/news_bulletin_category_setting_controller.rb | 1 + .../news/back_end/news_approvals/_privilege_user.html.erb | 3 +-- .../news_bulletin_category_setting/_privilege_user.html.erb | 3 +-- 11 files changed, 10 insertions(+), 11 deletions(-) diff --git a/app/controllers/admin/new_interface_module_apps_controller.rb b/app/controllers/admin/new_interface_module_apps_controller.rb index 6603334ca..8cf77e5e9 100644 --- a/app/controllers/admin/new_interface_module_apps_controller.rb +++ b/app/controllers/admin/new_interface_module_apps_controller.rb @@ -6,7 +6,7 @@ class Admin::NewInterfaceModuleAppsController < ApplicationController layout "new_admin" def setting - @sys_users = User.all + @sys_users = User.all(conditions: {admin: false}) @module_app = ModuleApp.find(params[:module_app_id]) @options_from_collection_for_select_bulletin_categorys = [@module_app].collect{|ma| [ma.title,ma.id] } # if params.has_key? :category diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb index 9f63a8ab8..e5c92023a 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb @@ -12,6 +12,7 @@ class Panel::Announcement::BackEnd::ApprovalsController < OrbitBackendControlle # end def setting + @sys_users = User.all(conditions: {admin: false}) @bulletin_categorys = BulletinCategory.all @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } if params.has_key? :category diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb index 4be5f6bc8..8903adb2a 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb @@ -12,6 +12,7 @@ class Panel::Announcement::BackEnd::BulletinCategorySettingController < OrbitBac # end def setting + @sys_users = User.all(conditions: {admin: false}) @bulletin_categorys = [] @bulletin_categorys << BulletinCategory.find(params[:bulletin_category_id]) @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb index c36941dea..90f5cb65b 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |sys_user| -%> + <% @sys_users.each do |sys_user| -%>
diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb index c36941dea..90f5cb65b 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |sys_user| -%> + <% @sys_users.each do |sys_user| -%>
diff --git a/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake b/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake index e5bd0be22..9b8b05e57 100644 --- a/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake +++ b/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake @@ -4,9 +4,9 @@ namespace :nccu_data do desc "load nccu data from csv" task :setup_ut_list => :environment do require 'csv' - CSV.foreach("vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv") do |row| new_unit = UnitListForAnc.new(:order => row[0], :ut_code => row[1], :up_ut_code => row[2], :created_at => Time.now,:updated_at => Time.now) + # order,ut_code,up_tu_code,ut_zh_tw,ut_en new_unit.build_title :en => row[4], :zh_tw => row[3] new_unit.save end diff --git a/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv b/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv index 548ad5281..806d0b9a4 100644 --- a/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv +++ b/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv @@ -1,4 +1,3 @@ -order,ut_code,up_tu_code,ut_zh_tw,ut_en 0100,H00,H00,校長室,Office of the President 0110,H01,H01,副校長室一,Office of the Vice President 0110,H03,H03,副校長室二,Office of the Vice President diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb index c6eda9d04..80838ec5e 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb @@ -12,6 +12,7 @@ class Panel::News::BackEnd::NewsApprovalsController < OrbitBackendController end def setting + @sys_users = User.all(conditions: {admin: false}) @news_bulletin_categorys = NewsBulletinCategory.all if params.has_key?(:category_id) first_category = NewsBulletinCategory.find params[:category_id] diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb index 6b92195f1..6ac769732 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb @@ -12,6 +12,7 @@ class Panel::News::BackEnd::NewsBulletinCategorySettingController < OrbitBackend # end def setting + @sys_users = User.all(conditions: {admin: false}) @bulletin_categorys = [] @bulletin_categorys << NewsBulletinCategory.find(params[:news_bulletin_category_id]) @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb index 87d4d78e0..d48bb8507 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |user| -%> + <% @sys_users.each do |user| -%>
diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb index c36941dea..90f5cb65b 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |sys_user| -%> + <% @sys_users.each do |sys_user| -%>
From cb25cf60a9a4b3e5b3d600987780feb5a382f2b6 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Thu, 10 May 2012 15:37:07 +0800 Subject: [PATCH 02/26] AdBanner app_auth --- app/views/layouts/_side_bar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb index dde071c50..0a6c69125 100644 --- a/app/views/layouts/_side_bar.html.erb +++ b/app/views/layouts/_side_bar.html.erb @@ -54,7 +54,7 @@ <%#= content_tag :li, link_to(t('admin.ad.all_banners'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %> <%#= content_tag :li, link_to(t('admin.ad.new_banner'), new_admin_ad_banner_path), :class => active_for_action('ad_banners', 'new') %> <%#= content_tag :li, link_to(t('admin.ad.new_image'), new_ad_image_admin_ad_banners_path), :class => active_for_action('ad_images', 'new') %> - <%= content_tag :li, link_to(t('admin.module.authorization'),edit_admin_module_app_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_sys_call_for_app('module_apps','edit','ad_banners') if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','ad_banners',:module_app_id) if (is_admin? rescue nil) %> <% end -%> <% end %> From 63f904d3b0d8bacdd7d37bd8da2b59b958a3b235 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Thu, 10 May 2012 20:36:19 +0800 Subject: [PATCH 03/26] Fix tinymce js load Change to full_name for page_context index --- app/assets/javascripts/tinymce_orbit.js | 6 +++++- app/views/admin/page_parts/_text.html.erb | 6 +++++- .../back_end/page_contexts/_page_context.html.erb | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/tinymce_orbit.js b/app/assets/javascripts/tinymce_orbit.js index 604929148..71264fde9 100644 --- a/app/assets/javascripts/tinymce_orbit.js +++ b/app/assets/javascripts/tinymce_orbit.js @@ -1,4 +1,4 @@ -$(function() { +function load_tinymce() { $('.tinymce_textarea').tinymce({ theme: 'advanced', plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template", @@ -22,4 +22,8 @@ $(function() { external_image_list_url : "js/image_list.js", media_external_list_url : "js/media_list.js" }); +} + +$(document).ready(function() { + load_tinymce(); }); \ No newline at end of file diff --git a/app/views/admin/page_parts/_text.html.erb b/app/views/admin/page_parts/_text.html.erb index c7386623a..4193cf505 100644 --- a/app/views/admin/page_parts/_text.html.erb +++ b/app/views/admin/page_parts/_text.html.erb @@ -5,4 +5,8 @@ <%= f.text_area locale, :class => 'tinymce_textarea' %>
<% end %> -<% end %> \ No newline at end of file +<% end %> + + diff --git a/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb b/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb index 08db9b2d3..39730de18 100644 --- a/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb +++ b/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb @@ -1,7 +1,7 @@ - <%= page_context.page.i18n_variable[I18n.locale] %> + <%= page_context.page.full_name %>
- +
diff --git a/config/routes.rb b/config/routes.rb index 863d17fd9..63d70d30b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -49,6 +49,7 @@ Orbit::Application.routes.draw do get 'add_attribute_field' end resources :items + match 'update_position' => 'items#update_position' resources :links do member do get 'delete' From 6a443f0976214275564d12e8aa733a72dabbde54 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Fri, 11 May 2012 16:16:09 +0800 Subject: [PATCH 05/26] Add mongoid-tree to Item --- Gemfile | 1 + Gemfile.lock | 3 + app/controllers/pages_controller.rb | 8 +-- app/helpers/admin/item_helper.rb | 21 ++---- app/helpers/application_helper.rb | 2 +- app/models/item.rb | 70 +++++-------------- app/models/page.rb | 4 -- .../admin/items/_site_map_left_bar.html.erb | 3 - lib/parsers/parser_back_end.rb | 2 +- lib/parsers/parser_common.rb | 18 ++--- lib/parsers/parser_front_end.rb | 2 +- lib/tasks/items.rake | 19 +++++ .../page_contexts/_page_context.html.erb | 2 +- 13 files changed, 60 insertions(+), 95 deletions(-) create mode 100644 lib/tasks/items.rake diff --git a/Gemfile b/Gemfile index 24ee0383d..c24754c66 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ gem 'kaminari', :git => 'git://github.com/amatsuda/kaminari.git' gem 'mini_magick' gem 'mongoid' +gem 'mongoid-tree', :require => 'mongoid/tree' gem "mongo_session_store-rails3" gem 'nokogiri' gem 'radius' diff --git a/Gemfile.lock b/Gemfile.lock index e850e52be..0dfca3b65 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -118,6 +118,8 @@ GEM activemodel (~> 3.1) mongo (~> 1.3) tzinfo (~> 0.3.22) + mongoid-tree (0.7.0) + mongoid (~> 2.0) multi_json (1.1.0) nokogiri (1.5.2) nokogiri (1.5.2-x86-mingw32) @@ -277,6 +279,7 @@ DEPENDENCIES mini_magick mongo_session_store-rails3 mongoid + mongoid-tree nokogiri radius rails (>= 3.1.0, < 3.2.0) diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index c4e00aa25..b781f202c 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -15,7 +15,7 @@ class PagesController < ApplicationController def show #begin - @item = Item.first(:conditions => {:full_name => params[:page_name]}) + @item = Item.first(:conditions => {:path => params[:page_name]}) if @item && @item.is_published && (@item.enabled_for.nil? ? true : @item.enabled_for.include?(I18n.locale.to_s)) case @item._type when 'Page' @@ -33,16 +33,16 @@ class PagesController < ApplicationController def index_from_link if params[:page] - redirect_to "/#{@item.full_name}?page=#{params[:page]}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}" + redirect_to "/#{@item.path}?page=#{params[:page]}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}" else - redirect_to "/#{@item.full_name}?category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}" + redirect_to "/#{@item.path}?category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}" end end def show_from_link # debugger # a=1 - redirect_to "/#{@item.full_name}?id=#{params[:id]}&preview=#{params[:preview]}" + redirect_to "/#{@item.path}?id=#{params[:id]}&preview=#{params[:preview]}" end def load_orbit_bar diff --git a/app/helpers/admin/item_helper.rb b/app/helpers/admin/item_helper.rb index dc78db880..aeadfdd06 100644 --- a/app/helpers/admin/item_helper.rb +++ b/app/helpers/admin/item_helper.rb @@ -8,9 +8,9 @@ module Admin::ItemHelper dest = admin_page_path(node) when 'Link' dest = admin_link_path(node) + no_nested = 'no-nest' end - # ret << "
    " unless node.parent.nil? - ret << "
  1. " + ret << "
  2. " ret << "
    " ret << (link_to node.i18n_variable[I18n.locale], dest) ret << "
    " @@ -22,14 +22,13 @@ module Admin::ItemHelper ret << "
    " ret << render_children(node) ret << "
  3. " - # ret << "
" unless node.parent.nil? end ret.html_safe end def render_children(parent) - children = parent.ordered_children - if !children.entries.blank? + children = parent.children + if !parent.children.entries.blank? ret = '' ret << "
    " children.each do |child| @@ -43,15 +42,3 @@ module Admin::ItemHelper end end - - -#
      -#
    1. Some content
    2. -#
    3. Some content
      -#
        -#
      1. Some sub-item content
      2. -#
      3. Some sub-item content
      4. -#
      -#
    4. -#
    5. Some content
    6. -#
    \ No newline at end of file diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 844fbe140..37c2d0d27 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -114,7 +114,7 @@ module ApplicationHelper def page_title(page) res = "" page_title = page.title ? page.title[I18n.locale] : page.i18n_variable[I18n.locale] - if page.is_home? && @site.title + if page.root? && @site.title res << @site.title[I18n.locale] elsif @site.title && @site.title_always_on res << @site.title[I18n.locale] + ' - ' + page_title diff --git a/app/models/item.rb b/app/models/item.rb index cea088fc0..4d6ca0010 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -2,59 +2,31 @@ class Item include Mongoid::Document include Mongoid::Timestamps + include Mongoid::Tree + include Mongoid::Tree::Ordering - field :name, :index => true - field :full_name, :index => true - field :position, :type => Integer - field :is_published, :type => Boolean, :default => false, :index => true - field :enabled_for, :type => Array, :default => nil - field :menu_enabled_for, :type => Array, :default => nil + field :name + field :path + field :is_published, :type => Boolean, :default => false + field :enabled_for, :type => Array, :default => nil + field :menu_enabled_for, :type => Array, :default => nil validates_format_of :name, :with => /^[0-9a-zA-Z\-_]+$/ validates :name, :exclusion => { :in => LIST[:forbidden_item_names] } validates_uniqueness_of :name, :scope => :parent_id - validates_presence_of :name, :full_name, :position + validates_presence_of :name + + validates_associated :parent, :children + after_rearrange :rebuild_path - belongs_to :parent, :class_name => "Item" has_one :i18n_variable, :as => :language_value, :autosave => true, :dependent => :destroy - has_many :children, :class_name => "Item", :as => 'parent' - - before_validation :setup_default_value def self.find_by_name(item_name) Item.first(:conditions => { :name => item_name, :is_published => true }) end - - # Get an array of ancestors - def ancestors - node, nodes = self, [] - nodes << node = node.parent while !node.parent.blank? rescue nil - nodes.reverse - end - # Get an array of ancestor's id - def ancestor_ids - node, nodes = self, [] - while !node.parent.blank? do - node = node.parent rescue nil - nodes << node.id if node - end - # nodes << node = node.parent while !node.parent.blank? rescue nil - nodes.reverse - end - - # Build the url from the array of ancestors - def url - urls = ancestors.map{ |a| a.name } << self.name - urls.join("/") - end - - def ordered_children - self.children.asc(:position) - end - - def ordered_and_visible_children - objects = ordered_children + def visible_children + objects = self.children a = [] if objects objects.each do |object| @@ -66,20 +38,10 @@ class Item protected - def setup_default_value - # Set the position value within the parent scope - if self.position.blank? - max_page = Item.where(:parent_id => self.parent_id).count - self.position = (max_page)? max_page + 1 : 1 - end - - # Build the full_name from the ancestors array - full_node = self.ancestors.map{ |a| a.name }.push( self.name ) - # Remove root node if not root - full_node.shift if full_node.size >= 2 - self.full_name = full_node.join("/") + def rebuild_path + self.path = (self.ancestors_and_self - [Item.root]).collect{|x| x.name unless x.root?}.join('/') end - + # Enable the validation for parent_id def validates_presence_of_parent_id? true diff --git a/app/models/page.rb b/app/models/page.rb index 5a742e929..0378b6885 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -15,10 +15,6 @@ class Page < Item before_save :create_parts, :set_key # embeds_many :custom_images, :class_name => 'Image', as: :design_image - - def is_home? - self.parent ? false : true - end def title @title ||= I18nVariable.first(:conditions => {:key => 'title', :language_value_id => self.id, :language_value_type => self.class}) rescue nil diff --git a/app/views/admin/items/_site_map_left_bar.html.erb b/app/views/admin/items/_site_map_left_bar.html.erb index 69e7851cf..fb2802996 100644 --- a/app/views/admin/items/_site_map_left_bar.html.erb +++ b/app/views/admin/items/_site_map_left_bar.html.erb @@ -19,9 +19,6 @@ stop: function(event, ui) { $.post("<%= admin_update_position_path %>", { id: ui.item.attr('id'), parent_id: ui.item.parent().closest('li').attr('id'), position: ui.item.index() } ); - // console.log("parent: " + ui.item.parent().closest('li').attr('id')); - // console.log("id: " + ui.item.attr('id')); - // console.log("position: " + ui.item.index()); } }); }); diff --git a/lib/parsers/parser_back_end.rb b/lib/parsers/parser_back_end.rb index 33b195108..e9c08a01e 100644 --- a/lib/parsers/parser_back_end.rb +++ b/lib/parsers/parser_back_end.rb @@ -14,7 +14,7 @@ module ParserBackEnd # }.join(' | ') # end # c.define_tag 'link' do |tag| - # item = Item.first(:conditions => { :full_name => tag.attr['name'] }) + # item = Item.first(:conditions => { :path => tag.attr['name'] }) # ret = '' # ret << "<a href='" # ret << eval("admin_#{item._type.downcase}_path(item.id)") diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb index be6765443..59bd85b3b 100644 --- a/lib/parsers/parser_common.rb +++ b/lib/parsers/parser_common.rb @@ -3,7 +3,7 @@ module ParserCommon def menu_level(page, current_page, current, menu, edit = false) res = '' - if page.ordered_and_visible_children.size > 0 + if page.visible_children.size > 0 res << "<ul class='" res << menu.values["class_#{current}"] rescue nil res << "'>" @@ -12,7 +12,7 @@ module ParserCommon if menu.values['home'] && current == 1 res << menu_li(page, current_page, current, menu, i, edit) end - page.ordered_and_visible_children.each do |child| + page.visible_children.each do |child| res << menu_li(child, current_page, current, menu, i, edit) i += 1 if i end @@ -25,13 +25,13 @@ module ParserCommon res = "<li class='" res << menu.values["li_class_#{current}"] rescue nil res << "_#{i}" if i - res << " active" if (current_page.id.eql?(page.id) || current_page.ancestor_ids.include?(page.id)) + res << " active" if (current_page.id.eql?(page.id) || current_page.descendant_of?(page)) res << "'>" - res << "<a href='/#{edit ? admin_page_path(page.id) : page.full_name}'><span>#{page.i18n_variable[I18n.locale]}</span></a>" - if page.ordered_and_visible_children.size > 0 && current <= menu.levels + res << "<a href='/#{edit ? admin_page_path(page.id) : page.path}'><span>#{page.i18n_variable[I18n.locale]}</span></a>" + if page.visible_children.size > 0 && current <= menu.levels res << "<span class='dot'></span>" res << menu_level(page, current_page, current + 1, menu, edit) - end unless (page.is_home? rescue nil) + end unless (page.root? rescue nil) res << "</li>" end @@ -113,13 +113,13 @@ module ParserCommon body.css('sub_menu').each do |sub_menu| menu_page = Page.find(sub_menu['id']) rescue nil res = '' - if menu_page && menu_page.ordered_and_visible_children.size > 0 + if menu_page && menu_page.visible_children.size > 0 res << "<div class='category_list'>" res << "<h3 class='h3'>#{menu_page.i18n_variable[I18n.locale]}</h3>" res << "<ul class='list'>" - menu_page.ordered_and_visible_children.each do |child| + menu_page.visible_children.each do |child| res << "<li class='#{page.id.eql?(child.id) ? 'active' : nil}'>" - res << "<a href='/#{edit ? admin_page_path(child.id) : child.full_name}'>#{child.i18n_variable[I18n.locale]}</a>" + res << "<a href='/#{edit ? admin_page_path(child.id) : child.path}'>#{child.i18n_variable[I18n.locale]}</a>" res << "</li>" end res << "</ul>" diff --git a/lib/parsers/parser_front_end.rb b/lib/parsers/parser_front_end.rb index a0004f156..6320f8089 100644 --- a/lib/parsers/parser_front_end.rb +++ b/lib/parsers/parser_front_end.rb @@ -11,7 +11,7 @@ module ParserFrontEnd # }.join(' | ') # end # c.define_tag 'link' do |tag| - # item = Item.first(:conditions => { :full_name => tag.attr['name'] }) + # item = Item.first(:conditions => { :path => tag.attr['name'] }) # ret = '' # ret << "<a href='#{tag.attr['name']}'>" # ret << item.i18n_variable[I18n.locale] diff --git a/lib/tasks/items.rake b/lib/tasks/items.rake new file mode 100644 index 000000000..8889567da --- /dev/null +++ b/lib/tasks/items.rake @@ -0,0 +1,19 @@ +# encoding: utf-8 + +namespace :items do + task :tree_changes => :environment do + Item.all.each do |item| + item.position -= 1 + item.parent_ids = ancestors(item) + item.rename(:full_name, :path) + item.save + end + end + + def ancestors(item) + node, nodes = item, [] + nodes << node = node.parent while !node.parent.blank? rescue nil + nodes.reverse + end + +end \ No newline at end of file diff --git a/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb b/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb index 39730de18..81b31b933 100644 --- a/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb +++ b/vendor/built_in_modules/page_content/app/views/panel/page_content/back_end/page_contexts/_page_context.html.erb @@ -1,7 +1,7 @@ <tr id="<%= dom_id page_context %>" class="with_action"> <td> - <%= page_context.page.full_name %> + <%= page_context.page.path %> <div class="quick-edit"> <ul class="nav nav-pills hide"> <li><%= link_to t('page_context.edit'), edit_panel_page_content_back_end_page_context_path(page_context) %></li> From 20a1a6e30f87f08f7453c7faddd8550efd361f18 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 16:44:40 +0800 Subject: [PATCH 06/26] New Interface for App Auth and Object Auth --- .../module_apps_new_interface_controller.rb | 66 +++++++++++++++++ .../object_auths_new_interface_controller.rb | 71 +++++++++++++++++++ app/helpers/application_helper.rb | 20 +++++- .../_modal_list.html.erb | 42 +++++++++++ .../_privilege_user.html.erb | 25 +++++++ .../setting.html.erb | 56 +++++++++++++++ .../module_apps_new_interface/setting.js.erb | 2 + .../update_setting.js.erb | 1 + .../user_list.js.erb | 2 + .../_modal_list.html.erb | 42 +++++++++++ .../_privilege_user.html.erb | 25 +++++++ .../setting.html.erb | 57 +++++++++++++++ .../object_auths_new_interface/setting.js.erb | 2 + .../update_setting.js.erb | 1 + .../user_list.js.erb | 2 + app/views/layouts/_side_bar.html.erb | 16 ++--- config/locales/en.yml | 4 ++ config/locales/zh_tw.yml | 6 +- lib/orbit_core_lib.rb | 4 ++ .../back_end/bulletin_categorys_helper.rb | 2 +- .../app/models/bulletin_category.rb | 4 ++ .../news_bulletin_categorys_helper.rb | 2 +- .../news/app/models/news_bulletin_category.rb | 4 ++ 23 files changed, 442 insertions(+), 14 deletions(-) create mode 100644 app/controllers/admin/module_apps_new_interface_controller.rb create mode 100644 app/controllers/admin/object_auths_new_interface_controller.rb create mode 100644 app/views/admin/module_apps_new_interface/_modal_list.html.erb create mode 100644 app/views/admin/module_apps_new_interface/_privilege_user.html.erb create mode 100644 app/views/admin/module_apps_new_interface/setting.html.erb create mode 100644 app/views/admin/module_apps_new_interface/setting.js.erb create mode 100644 app/views/admin/module_apps_new_interface/update_setting.js.erb create mode 100644 app/views/admin/module_apps_new_interface/user_list.js.erb create mode 100644 app/views/admin/object_auths_new_interface/_modal_list.html.erb create mode 100644 app/views/admin/object_auths_new_interface/_privilege_user.html.erb create mode 100644 app/views/admin/object_auths_new_interface/setting.html.erb create mode 100644 app/views/admin/object_auths_new_interface/setting.js.erb create mode 100644 app/views/admin/object_auths_new_interface/update_setting.js.erb create mode 100644 app/views/admin/object_auths_new_interface/user_list.js.erb diff --git a/app/controllers/admin/module_apps_new_interface_controller.rb b/app/controllers/admin/module_apps_new_interface_controller.rb new file mode 100644 index 000000000..52292588f --- /dev/null +++ b/app/controllers/admin/module_apps_new_interface_controller.rb @@ -0,0 +1,66 @@ +class Admin::ModuleAppsNewInterfaceController < ApplicationController + before_filter :authenticate_user! + before_filter :is_admin? + include AdminHelper + + layout "new_admin" + + def setting + @sys_users = User.all(conditions: {admin: false}) + @module_app = ModuleApp.find(params[:module_app_id]) + @options_from_collection_for_select_bulletin_categorys = [@module_app].collect{|ma| [ma.title,ma.id] } + # if params.has_key? :category + # @bulletin_category = BulletinCategory.find params[:category][:id] + # else + # @bulletin_category = @bulletin_categorys.first + # end + @users_array = @module_app.managing_users rescue [] + + respond_to do |format| + format.html + format.js + end + end + + def update_setting + module_app = update_setting_by_params + if module_app.save! + flash[:notice] = "Update Done" + else + flash[:notice] = "Update Failed" + end + end + + def user_list + @module_app = ModuleApp.find params[:module_app][:id] + end + + protected + def update_setting_by_params + ma = ModuleApp.find params[:module_app][:id] + user_sat = User.find params[:users].keys + users_to_new = user_sat - ma.managing_users + users_to_remove = ma.managing_users - user_sat + + users_to_new.each do |new_user| + ma.assign_manager(new_user,current_user) + end + + users_to_remove.each do |remove_user| + ma.remove_manager(remove_user) + end + ma + end + + def get_categorys(id = nil) + @bulletin_categorys = [] + if(is_manager? || is_admin?) + @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) + elsif is_sub_manager? + @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') + end + end + + + +end \ No newline at end of file diff --git a/app/controllers/admin/object_auths_new_interface_controller.rb b/app/controllers/admin/object_auths_new_interface_controller.rb new file mode 100644 index 000000000..427ec7222 --- /dev/null +++ b/app/controllers/admin/object_auths_new_interface_controller.rb @@ -0,0 +1,71 @@ +class Admin::ObjectAuthsNewInterfaceController < ApplicationController + include OrbitCoreLib::PermissionUnility + layout "new_admin" + before_filter :force_order + + layout "new_admin" + + + def setting + @sys_users = User.all(conditions: {admin: false}) + @ob_auth = ObjectAuth.find params[:object_auth_id] + @options_from_collection_for_select_ob_auth = [@ob_auth].collect{|oa| [oa.auth_obj.pp_object,oa.id] } + @users_array = @ob_auth.privilege_users rescue [] + + respond_to do |format| + format.html + format.js + end + end + + def update_setting + ob_auth = update_setting_by_params + if ob_auth.save! + flash[:notice] = t("admin.object_auth.update_done") + else + flash[:notice] = t("admin.object_auth.update_failed") + end + end + + def user_list + @ob_auth = ObjectAuth.find params[:ob_auth][:id] + end + + protected + def update_setting_by_params + oa = ObjectAuth.find params[:ob_auth][:id] + user_sat = User.find params[:users].keys + users_to_new = user_sat - oa.auth_users + users_to_remove = oa.auth_users - user_sat + + users_to_new.each do |new_user| + oa.add_user_to_privilege_list(new_user) + end + + users_to_remove.each do |remove_user| + oa.remove_user_from_privilege_list(remove_user) + end + oa + end + + # def get_categorys(id = nil) + # @bulletin_categorys = [] + # if(is_manager? || is_admin?) + # @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) + # elsif is_sub_manager? + # @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') + # end + # end + + def force_order + authenticate_user! + check_if_user_can_do_object_auth + end + + def check_if_user_can_do_object_auth + unless check_permission(:manager) + render :nothing => true, :status => 403 + end + end + +end \ No newline at end of file diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 844fbe140..cd7a15ddc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -68,9 +68,23 @@ module ApplicationHelper end end - def active_sys_call_for_app(controller_name,action_name,app_title,field = :id) - unless active_for_action(controller_name,action_name).nil? - app = ModuleApp.find params[field] + def active_for_ob_auths_object(object_class,field = :object_auth_id) + unless active_for_action("object_auths_new_interface","setting").nil? + ob_auth = ObjectAuth.find params[field] + ob_auth.obj_authable_type == object_class.to_s ? 'active' : nil + end + end + + def active_for_ob_auth(ob_auth_title,field = :object_auth_id) + unless active_for_action("module_apps_new_interface","setting").nil? + oa_auth = ObjectAuth.find params[field] + oa_auth.title == ob_auth_title ? 'active' : nil + end + end + + def active_for_app_auth(app_title ='', opt={:controller_name => 'module_apps_new_interface',:action_name=>'setting',:field => :module_app_id}) + unless active_for_action(opt[:controller_name],opt[:action_name]).nil? + app = ModuleApp.find params[opt[:field]] app.title == app_title ? 'active' : nil else nil diff --git a/app/views/admin/module_apps_new_interface/_modal_list.html.erb b/app/views/admin/module_apps_new_interface/_modal_list.html.erb new file mode 100644 index 000000000..b5b0ebcd0 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/_modal_list.html.erb @@ -0,0 +1,42 @@ +<% if module_app -%> + +<div class="modal hide fade in" id="module_app-<%=module_app.id%>"> + <div class="modal-header"> + <a class="close" data-dismiss="modal">×</a> + <h3><%= t("admin.user_role.auth.manager") %></h3> + </div> + <div class="modal-body"> + <div class="clear"> + <% module_app.managing_users.each do |user| %> + <div class="checkbox clear checked"> + <div class='member-avatar'> + <% if user.avatar? %> + <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> + </div> + <% end -%> + <divl> + </div> + <div class="modal-footer"> + <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> + </div> + <div> + <script type="text/javascript" src="/static/kernel.js"></script> + <script type="text/javascript"> + $(document).ready(function() { + + $("#module_app-<%=module_app.id%>").on("show", function () { + }); + $(".modal").on("hidden", function () { + $("#show_preview").remove(); + }); + }); + </script> + </div> +</div> + +<% end -%> \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/_privilege_user.html.erb b/app/views/admin/module_apps_new_interface/_privilege_user.html.erb new file mode 100644 index 000000000..90f5cb65b --- /dev/null +++ b/app/views/admin/module_apps_new_interface/_privilege_user.html.erb @@ -0,0 +1,25 @@ +<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> + <% @sys_users.each do |sys_user| -%> + + <div class="checkblock"> + + <% sys_user.sub_roles.each do |sr| %> + <div class="for_unit" style="display:none;"> <%= sr.key %></div> + <% end %> + <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> + <div class="check-icon"> + </div> + <div class='member-avatar'> + <% if sys_user.avatar? %> + <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> + <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> + <%end -%> + </div> + + <% end -%> +<% end -%> \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/setting.html.erb b/app/views/admin/module_apps_new_interface/setting.html.erb new file mode 100644 index 000000000..7d1179f0d --- /dev/null +++ b/app/views/admin/module_apps_new_interface/setting.html.erb @@ -0,0 +1,56 @@ +<% content_for :page_specific_css do %> + <%= stylesheet_link_tag "inc/permission-checkbox" %> +<% end %> +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "inc/permission-checkbox" %> + <%= javascript_include_tag "inc/search" %> + <%= javascript_include_tag "inc/modal-preview" %> +<% end %> +<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> +<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> +<div class="subnav clear"> + <ul class="nav nav-pills filter pull-left"> + <li class="accordion-group"> + <div class="form-search" style="margin: 5px 10px;"> + <%= label_tag :module, t("module") %> + <%= select "module_app",'id',@options_from_collection_for_select_bulletin_categorys %> + <%= search_field_tag 'user_filter' %> + </div> + + </li> + </ul> + <%= link_to t("admin.user_role.auth.manager"), admin_module_app_manager_auth_show_path , :class=>'preview_trigger btn btn-success pull-right'%> + +</div> +<%#= label_tag :role, t("admin.roles") %> +<div class="clear"> +<%= content_tag :div do -%> + <% form_tag admin_module_app_manager_auth_proc_path do %> + <%= render :partial => "privilege_user", :locals => {:users => @users_array} %> + <div class="form-actions form-fixed pagination-right"> + <%= submit_tag "Update", :class => 'btn btn-primary' %> + </div> + <% end -%> +<% end -%> +</div> + +<script type="text/javascript" charset="utf-8"> +var availableTags = []; +$(document).ready(function() { + + $(".prevent_enter_submit_form").bind("keypress", function(e) { + if (e.keyCode == 13) { + return false; + } + }); + + $('#category_id').change(function() { + $.ajax({ + type: 'GET', + dataType: "script", + url:$(this).parents("from").attr("href"), + data:$(this).parents("form").serialize() + }); + }); +}); +</script> \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/setting.js.erb b/app/views/admin/module_apps_new_interface/setting.js.erb new file mode 100644 index 000000000..0ca148da1 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/setting.js.erb @@ -0,0 +1,2 @@ +$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); +permissionCheckbox(); \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/update_setting.js.erb b/app/views/admin/module_apps_new_interface/update_setting.js.erb new file mode 100644 index 000000000..7486000a2 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/update_setting.js.erb @@ -0,0 +1 @@ +alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/user_list.js.erb b/app/views/admin/module_apps_new_interface/user_list.js.erb new file mode 100644 index 000000000..7caf1e395 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/user_list.js.erb @@ -0,0 +1,2 @@ +$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:module_app => @module_app})) %>"); +var start_modal_with_id = "module_app-<%=@module_app.id%>" \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/_modal_list.html.erb b/app/views/admin/object_auths_new_interface/_modal_list.html.erb new file mode 100644 index 000000000..04f46511f --- /dev/null +++ b/app/views/admin/object_auths_new_interface/_modal_list.html.erb @@ -0,0 +1,42 @@ +<% if ob_auth -%> + +<div class="modal hide fade in" id="ob_auth-<%=ob_auth.id%>"> + <div class="modal-header"> + <a class="close" data-dismiss="modal">×</a> + <h3><%= t("admin.object_auth.list_title_of_users",:auth_title => ob_auth.title) %></h3> + </div> + <div class="modal-body"> + <div class="clear"> + <% ob_auth.auth_users.each do |user| %> + <div class="checkbox clear checked"> + <div class='member-avatar'> + <% if user.avatar? %> + <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> + </div> + <% end -%> + <divl> + </div> + <div class="modal-footer"> + <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> + </div> + <div> + <script type="text/javascript" src="/static/kernel.js"></script> + <script type="text/javascript"> + $(document).ready(function() { + + $("#ob_auth-<%=ob_auth.id%>").on("show", function () { + }); + $(".modal").on("hidden", function () { + $("#show_preview").remove(); + }); + }); + </script> + </div> +</div> + +<% end -%> \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/_privilege_user.html.erb b/app/views/admin/object_auths_new_interface/_privilege_user.html.erb new file mode 100644 index 000000000..90f5cb65b --- /dev/null +++ b/app/views/admin/object_auths_new_interface/_privilege_user.html.erb @@ -0,0 +1,25 @@ +<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> + <% @sys_users.each do |sys_user| -%> + + <div class="checkblock"> + + <% sys_user.sub_roles.each do |sr| %> + <div class="for_unit" style="display:none;"> <%= sr.key %></div> + <% end %> + <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> + <div class="check-icon"> + </div> + <div class='member-avatar'> + <% if sys_user.avatar? %> + <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> + <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> + <%end -%> + </div> + + <% end -%> +<% end -%> \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/setting.html.erb b/app/views/admin/object_auths_new_interface/setting.html.erb new file mode 100644 index 000000000..ae5096ba4 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/setting.html.erb @@ -0,0 +1,57 @@ +<% content_for :page_specific_css do %> + <%= stylesheet_link_tag "inc/permission-checkbox" %> +<% end %> +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "inc/permission-checkbox" %> + <%= javascript_include_tag "inc/search" %> + <%= javascript_include_tag "inc/modal-preview" %> +<% end %> +<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> +<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> +<div class="subnav clear"> + <ul class="nav nav-pills filter pull-left"> + <li class="accordion-group"> + <div class="form-search" style="margin: 5px 10px;"> + <%= label_tag :object, @ob_auth.auth_obj.class %> + <%= label_tag :module,"::" %> + <%= select "ob_auth",'id',@options_from_collection_for_select_ob_auth %> + <%= search_field_tag 'user_filter' %> + </div> + + </li> + </ul> + <%= link_to t("admin.object_auth.list_title_of_users",:auth_title => @ob_auth.title), admin_object_auth_ob_auth_show_path , :class=>'preview_trigger btn btn-success pull-right'%> + +</div> +<%#= label_tag :role, t("admin.roles") %> +<div class="clear"> +<%= content_tag :div do -%> + <% form_tag admin_object_auth_ob_auth_path do %> + <%#= render :partial => "privilege_user", :locals => {:users => @users_array} %> + <div class="form-actions form-fixed pagination-right"> + <%= submit_tag "Update", :class => 'btn btn-primary' %> + </div> + <% end -%> +<% end -%> +</div> + +<script type="text/javascript" charset="utf-8"> +var availableTags = []; +$(document).ready(function() { + + $(".prevent_enter_submit_form").bind("keypress", function(e) { + if (e.keyCode == 13) { + return false; + } + }); + + $('#category_id').change(function() { + $.ajax({ + type: 'GET', + dataType: "script", + url:$(this).parents("from").attr("href"), + data:$(this).parents("form").serialize() + }); + }); +}); +</script> \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/setting.js.erb b/app/views/admin/object_auths_new_interface/setting.js.erb new file mode 100644 index 000000000..0ca148da1 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/setting.js.erb @@ -0,0 +1,2 @@ +$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); +permissionCheckbox(); \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/update_setting.js.erb b/app/views/admin/object_auths_new_interface/update_setting.js.erb new file mode 100644 index 000000000..7486000a2 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/update_setting.js.erb @@ -0,0 +1 @@ +alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/user_list.js.erb b/app/views/admin/object_auths_new_interface/user_list.js.erb new file mode 100644 index 000000000..ebb088cc0 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/user_list.js.erb @@ -0,0 +1,2 @@ +$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:ob_auth => @ob_auth})) %>"); +var start_modal_with_id = "ob_auth-<%=@ob_auth.id%>" \ No newline at end of file diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb index 0a6c69125..7a9bcf4ee 100644 --- a/app/views/layouts/_side_bar.html.erb +++ b/app/views/layouts/_side_bar.html.erb @@ -5,29 +5,29 @@ <%= javascript_include_tag "/static/kernel.js" %> <% end %> -<%= content_tag :li, :class => (active_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals') || active_sys_call_for_app('new_interface_module_apps','setting','Announcement',:module_app_id) ) do -%> +<%= content_tag :li, :class => (active_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals') || active_for_app_auth('Announcement') || active_for_ob_auths_object("BulletinCategory") ) do -%> <%= link_to content_tag(:i, nil, :class => 'icons-announcement') + t('admin.announcement'), panel_announcement_back_end_bulletins_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals')) do -%> <%= content_tag :li, link_to(t('announcement.all_articles'), panel_announcement_back_end_bulletins_path), :class => active_for_action('bulletins', 'index') %> <%= content_tag :li, link_to(t('announcement.add_new'), new_panel_announcement_back_end_bulletin_path), :class => active_for_action('bulletins', 'new') %> - <%= content_tag :li, link_to(t('announcement.categories'), panel_announcement_back_end_bulletin_categorys_path), :class => active_for_action('bulletin_categorys', 'index') %> + <%= content_tag :li, link_to(t('announcement.categories'), panel_announcement_back_end_bulletin_categorys_path), :class =>( active_for_action('bulletin_categorys', 'index') || active_for_ob_auths_object("BulletinCategory") ) %> <%= content_tag :li, link_to(t('announcement.tags'), panel_announcement_back_end_tags_path), :class => active_for_action('/panel/announcement/back_end/tags', 'index') %> <%= content_tag :li, link_to(t('announcement.bulletin.approval_setting'), panel_announcement_back_end_approval_setting_path), :class => active_for_action('approvals', 'setting') if (is_manager? rescue nil) %> - <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "Announcement"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','Announcement',:module_app_id) if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "Announcement"}))), :class => active_for_app_auth('Announcement') if (is_admin? rescue nil) %> <% end -%> <% end -%> -<%= content_tag :li, :class =>( active_for_controllers('news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals')|| active_sys_call_for_app('new_interface_module_apps','setting','news',:module_app_id)) do -%> +<%= content_tag :li, :class =>( active_for_controllers('news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals')|| active_for_app_auth('news') || active_for_ob_auths_object("NewsBulletinCategory")) do -%> <%= link_to content_tag(:i, nil, :class => 'icons-announcement') + t('admin.news'), panel_news_back_end_news_bulletins_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals')) do -%> <%= content_tag :li, link_to(t('announcement.all_articles'), panel_news_back_end_news_bulletins_path), :class => active_for_action('news_bulletins', 'index') %> <%= content_tag :li, link_to(t('announcement.add_new'), new_panel_news_back_end_news_bulletin_path), :class => active_for_action('news_bulletins', 'new') %> - <%= content_tag :li, link_to(t('announcement.categories'), panel_news_back_end_news_bulletin_categorys_path), :class => active_for_action('news_bulletin_categorys', 'index') %> + <%= content_tag :li, link_to(t('announcement.categories'), panel_news_back_end_news_bulletin_categorys_path), :class => active_for_action('news_bulletin_categorys', 'index') || active_for_ob_auths_object("NewsBulletinCategory") %> <%= content_tag :li, link_to(t('announcement.tags'), panel_news_back_end_tags_path), :class => active_for_action('/panel/news/back_end/tags', 'index') %> <%= content_tag :li, link_to(t('announcement.bulletin.approval_setting'), panel_news_back_end_news_approval_setting_path), :class => active_for_action('news_approvals', 'setting') if (is_manager? rescue nil) %> - <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {key: "news"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','news',:module_app_id) if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {key: "news"}))), :class => active_for_app_auth('news') if (is_admin? rescue nil) %> <% end -%> <% end -%> @@ -47,14 +47,14 @@ <%= link_to content_tag(:i, nil, :class => 'icons-window-block') + t('admin.design'), admin_designs_path %> <% end -%> -<%= content_tag :li, :class => active_for_controllers('ad_banners', 'ad_images') || active_sys_call_for_app('module_apps','edit','ad_banners') do -%> +<%= content_tag :li, :class => active_for_controllers('ad_banners', 'ad_images') || active_for_app_auth('ad_banners') do -%> <%= link_to content_tag(:i, nil, :class => 'icons-link') + t('admin.ad_banner'), admin_ad_banners_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('ad_banners', 'ad_images') ) do -%> <%#= content_tag :li, link_to(t('admin.ad.all_banners'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %> <%#= content_tag :li, link_to(t('admin.ad.new_banner'), new_admin_ad_banner_path), :class => active_for_action('ad_banners', 'new') %> <%#= content_tag :li, link_to(t('admin.ad.new_image'), new_ad_image_admin_ad_banners_path), :class => active_for_action('ad_images', 'new') %> - <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','ad_banners',:module_app_id) if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_for_app_auth('ad_banners') if (is_admin? rescue nil) %> <% end -%> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 07bfe189e..f5407124d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -197,6 +197,10 @@ en: new_role: New user role news: News non_multilingual: Non multilingual + object_auth: + list_title_of_users: %{auth_title} Auth List + update_done: Update done,reulst showing in list + update_failed: Update failed options: Options orig_upload_file: Original filename page: Page diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index ae1b92f34..29721630c 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -191,7 +191,11 @@ zh_tw: new_info: 新增用戶資料 new_role: 新增用戶身份 news: 新聞 - non_multilingual: 非多種語言 + non_multilingual: + object_auth: + list_title_of_users: 授權清單-%{auth_title} + update_done: 更新完成,結果顯示於清單 + update_failed: 更新失敗 options: 選項 orig_upload_file: 原上傳檔名 page: 頁面管理 diff --git a/lib/orbit_core_lib.rb b/lib/orbit_core_lib.rb index b92f4eca5..281654a76 100644 --- a/lib/orbit_core_lib.rb +++ b/lib/orbit_core_lib.rb @@ -19,6 +19,10 @@ module OrbitCoreLib end + def pp_object + "Object Auth method 'pp_object' need to be defined for class #{self.class}" + end + def get_object_auth_by_title(title) self.object_auths.where({title: title }).first end diff --git a/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb b/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb index 1fccbbe14..926049854 100644 --- a/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb +++ b/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb @@ -10,7 +10,7 @@ include ActionView::Helpers::UrlHelper oa = bulletin_category.get_object_auth_by_title(type) end # link_to t('announcement.bulletin.cate_auth'), edit_admin_object_auth_path(oa) - link_to t('announcement.bulletin.cate_auth'),panel_announcement_back_end_bulletin_category_setting_path(bulletin_category) + link_to t('announcement.bulletin.cate_auth'),admin_object_auth_ob_auth_path(oa) end end \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/models/bulletin_category.rb b/vendor/built_in_modules/announcement/app/models/bulletin_category.rb index 7daaf6db0..955d5f18d 100644 --- a/vendor/built_in_modules/announcement/app/models/bulletin_category.rb +++ b/vendor/built_in_modules/announcement/app/models/bulletin_category.rb @@ -18,6 +18,10 @@ class BulletinCategory has_many :bulletins + def pp_object + i18n_variable[I18n.locale] + end + def self.from_id(id) BulletinCategory.find(id) rescue nil end diff --git a/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb b/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb index 74905640b..4b8965551 100644 --- a/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb +++ b/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb @@ -10,7 +10,7 @@ include ActionView::Helpers::UrlHelper oa = news_bulletin_category.get_object_auth_by_title(type) end # link_to t('announcement.bulletin.cate_auth'), edit_admin_object_auth_path(oa) -link_to t('announcement.bulletin.cate_auth'),panel_news_back_end_news_bulletin_category_setting_path(news_bulletin_category) + link_to t('announcement.bulletin.cate_auth'),admin_object_auth_ob_auth_path(oa) end diff --git a/vendor/built_in_modules/news/app/models/news_bulletin_category.rb b/vendor/built_in_modules/news/app/models/news_bulletin_category.rb index 45576589f..b3dd7bc46 100644 --- a/vendor/built_in_modules/news/app/models/news_bulletin_category.rb +++ b/vendor/built_in_modules/news/app/models/news_bulletin_category.rb @@ -18,6 +18,10 @@ class NewsBulletinCategory has_many :news_bulletins + def pp_object + i18n_variable[I18n.locale] + end + def self.from_id(id) NewsBulletinCategory.find(id) rescue nil end From 0a34f0277eec1b7ced7dbd7d9da3dd58b33d64e8 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 16:46:36 +0800 Subject: [PATCH 07/26] Remove unless files and change routes. --- .../new_interface_module_apps_controller.rb | 66 ------------------- .../_modal_list.html.erb | 42 ------------ .../_privilege_user.html.erb | 25 ------- .../setting.html.erb | 56 ---------------- .../new_interface_module_apps/setting.js.erb | 2 - .../update_setting.js.erb | 1 - .../user_list.js.erb | 2 - config/routes.rb | 11 +++- .../bulletin_category_setting_controller.rb | 64 ------------------ .../_modal_list.html.erb | 44 ------------- .../_privilege_user.html.erb | 25 ------- .../setting.html.erb | 56 ---------------- .../bulletin_category_setting/setting.js.erb | 2 - .../update_setting.js.erb | 1 - .../user_list.js.erb | 2 - .../announcement/config/routes.rb | 6 +- ...ws_bulletin_category_setting_controller.rb | 64 ------------------ .../_modal_list.html.erb | 44 ------------- .../_privilege_user.html.erb | 25 ------- .../setting.html.erb | 56 ---------------- .../setting.js.erb | 2 - .../update_setting.js.erb | 1 - .../user_list.js.erb | 2 - vendor/built_in_modules/news/config/routes.rb | 6 +- 24 files changed, 10 insertions(+), 595 deletions(-) delete mode 100644 app/controllers/admin/new_interface_module_apps_controller.rb delete mode 100644 app/views/admin/new_interface_module_apps/_modal_list.html.erb delete mode 100644 app/views/admin/new_interface_module_apps/_privilege_user.html.erb delete mode 100644 app/views/admin/new_interface_module_apps/setting.html.erb delete mode 100644 app/views/admin/new_interface_module_apps/setting.js.erb delete mode 100644 app/views/admin/new_interface_module_apps/update_setting.js.erb delete mode 100644 app/views/admin/new_interface_module_apps/user_list.js.erb delete mode 100644 vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_modal_list.html.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.html.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb delete mode 100644 vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_modal_list.html.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.html.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb diff --git a/app/controllers/admin/new_interface_module_apps_controller.rb b/app/controllers/admin/new_interface_module_apps_controller.rb deleted file mode 100644 index 8cf77e5e9..000000000 --- a/app/controllers/admin/new_interface_module_apps_controller.rb +++ /dev/null @@ -1,66 +0,0 @@ -class Admin::NewInterfaceModuleAppsController < ApplicationController - before_filter :authenticate_user! - before_filter :is_admin? - include AdminHelper - - layout "new_admin" - - def setting - @sys_users = User.all(conditions: {admin: false}) - @module_app = ModuleApp.find(params[:module_app_id]) - @options_from_collection_for_select_bulletin_categorys = [@module_app].collect{|ma| [ma.title,ma.id] } - # if params.has_key? :category - # @bulletin_category = BulletinCategory.find params[:category][:id] - # else - # @bulletin_category = @bulletin_categorys.first - # end - @users_array = @module_app.managing_users rescue [] - - respond_to do |format| - format.html - format.js - end - end - - def update_setting - module_app = update_setting_by_params - if module_app.save! - flash[:notice] = "Update Done" - else - flash[:notice] = "Update Failed" - end - end - - def user_list - @module_app = ModuleApp.find params[:module_app][:id] - end - - protected - def update_setting_by_params - ma = ModuleApp.find params[:module_app][:id] - user_sat = User.find params[:users].keys - users_to_new = user_sat - ma.managing_users - users_to_remove = ma.managing_users - user_sat - - users_to_new.each do |new_user| - ma.assign_manager(new_user,current_user) - end - - users_to_remove.each do |remove_user| - ma.remove_manager(remove_user) - end - ma - end - - def get_categorys(id = nil) - @bulletin_categorys = [] - if(is_manager? || is_admin?) - @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) - elsif is_sub_manager? - @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') - end - end - - - -end \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/_modal_list.html.erb b/app/views/admin/new_interface_module_apps/_modal_list.html.erb deleted file mode 100644 index b5b0ebcd0..000000000 --- a/app/views/admin/new_interface_module_apps/_modal_list.html.erb +++ /dev/null @@ -1,42 +0,0 @@ -<% if module_app -%> - -<div class="modal hide fade in" id="module_app-<%=module_app.id%>"> - <div class="modal-header"> - <a class="close" data-dismiss="modal">×</a> - <h3><%= t("admin.user_role.auth.manager") %></h3> - </div> - <div class="modal-body"> - <div class="clear"> - <% module_app.managing_users.each do |user| %> - <div class="checkbox clear checked"> - <div class='member-avatar'> - <% if user.avatar? %> - <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> - </div> - <% end -%> - <divl> - </div> - <div class="modal-footer"> - <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> - </div> - <div> - <script type="text/javascript" src="/static/kernel.js"></script> - <script type="text/javascript"> - $(document).ready(function() { - - $("#module_app-<%=module_app.id%>").on("show", function () { - }); - $(".modal").on("hidden", function () { - $("#show_preview").remove(); - }); - }); - </script> - </div> -</div> - -<% end -%> \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/_privilege_user.html.erb b/app/views/admin/new_interface_module_apps/_privilege_user.html.erb deleted file mode 100644 index 90f5cb65b..000000000 --- a/app/views/admin/new_interface_module_apps/_privilege_user.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> - <% @sys_users.each do |sys_user| -%> - - <div class="checkblock"> - - <% sys_user.sub_roles.each do |sr| %> - <div class="for_unit" style="display:none;"> <%= sr.key %></div> - <% end %> - <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> - <div class="check-icon"> - </div> - <div class='member-avatar'> - <% if sys_user.avatar? %> - <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> - <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> - <%end -%> - </div> - - <% end -%> -<% end -%> \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/setting.html.erb b/app/views/admin/new_interface_module_apps/setting.html.erb deleted file mode 100644 index 7d1179f0d..000000000 --- a/app/views/admin/new_interface_module_apps/setting.html.erb +++ /dev/null @@ -1,56 +0,0 @@ -<% content_for :page_specific_css do %> - <%= stylesheet_link_tag "inc/permission-checkbox" %> -<% end %> -<% content_for :page_specific_javascript do %> - <%= javascript_include_tag "inc/permission-checkbox" %> - <%= javascript_include_tag "inc/search" %> - <%= javascript_include_tag "inc/modal-preview" %> -<% end %> -<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> -<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> -<div class="subnav clear"> - <ul class="nav nav-pills filter pull-left"> - <li class="accordion-group"> - <div class="form-search" style="margin: 5px 10px;"> - <%= label_tag :module, t("module") %> - <%= select "module_app",'id',@options_from_collection_for_select_bulletin_categorys %> - <%= search_field_tag 'user_filter' %> - </div> - - </li> - </ul> - <%= link_to t("admin.user_role.auth.manager"), admin_module_app_manager_auth_show_path , :class=>'preview_trigger btn btn-success pull-right'%> - -</div> -<%#= label_tag :role, t("admin.roles") %> -<div class="clear"> -<%= content_tag :div do -%> - <% form_tag admin_module_app_manager_auth_proc_path do %> - <%= render :partial => "privilege_user", :locals => {:users => @users_array} %> - <div class="form-actions form-fixed pagination-right"> - <%= submit_tag "Update", :class => 'btn btn-primary' %> - </div> - <% end -%> -<% end -%> -</div> - -<script type="text/javascript" charset="utf-8"> -var availableTags = []; -$(document).ready(function() { - - $(".prevent_enter_submit_form").bind("keypress", function(e) { - if (e.keyCode == 13) { - return false; - } - }); - - $('#category_id').change(function() { - $.ajax({ - type: 'GET', - dataType: "script", - url:$(this).parents("from").attr("href"), - data:$(this).parents("form").serialize() - }); - }); -}); -</script> \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/setting.js.erb b/app/views/admin/new_interface_module_apps/setting.js.erb deleted file mode 100644 index 0ca148da1..000000000 --- a/app/views/admin/new_interface_module_apps/setting.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); -permissionCheckbox(); \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/update_setting.js.erb b/app/views/admin/new_interface_module_apps/update_setting.js.erb deleted file mode 100644 index 7486000a2..000000000 --- a/app/views/admin/new_interface_module_apps/update_setting.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/user_list.js.erb b/app/views/admin/new_interface_module_apps/user_list.js.erb deleted file mode 100644 index 7caf1e395..000000000 --- a/app/views/admin/new_interface_module_apps/user_list.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:module_app => @module_app})) %>"); -var start_modal_with_id = "module_app-<%=@module_app.id%>" \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 863d17fd9..065bba1d1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -16,6 +16,11 @@ Orbit::Application.routes.draw do resources :assets resources :app_auths resources :object_auths do + match 'new_interface/:ob_type/:title/new' => "object_auths_new_interface#new" ,:as => :init_ob_auth,:via => :get + match 'new_interface' => "object_auths_new_interface#setting" ,:as => :ob_auth,:via => :get + match 'new_interface' => "object_auths_new_interface#update_setting" ,:as => :ob_auth,:via => :post + match 'new_interface' => "object_auths_new_interface#user_list" ,:as => :ob_auth_show,:via => :put + collection do match 'new/:type/:obj_id',:action => 'new',:via => "get",:as => :init end @@ -61,9 +66,9 @@ Orbit::Application.routes.draw do end end resources :module_apps do - match 'manager_auth_proc' => "new_interface_module_apps#setting" ,:as => :manager_auth_proc,:via => :get - match 'manager_auth_proc' => "new_interface_module_apps#update_setting" ,:as => :manager_auth_proc,:via => :post - match 'manager_auth_proc' => "new_interface_module_apps#user_list" ,:as => :manager_auth_show,:via => :put + match 'manager_auth_proc' => "module_apps_new_interface#setting" ,:as => :manager_auth_proc,:via => :get + match 'manager_auth_proc' => "module_apps_new_interface#update_setting" ,:as => :manager_auth_proc,:via => :post + match 'manager_auth_proc' => "module_apps_new_interface#user_list" ,:as => :manager_auth_show,:via => :put resources :app_auths do member do match 'remove/:type/:target_id' ,:action=> 'remove',:via => "delete",:as =>:remove diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb deleted file mode 100644 index 8903adb2a..000000000 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb +++ /dev/null @@ -1,64 +0,0 @@ -class Panel::Announcement::BackEnd::BulletinCategorySettingController < OrbitBackendController - before_filter :authenticate_user! - before_filter :for_app_manager - include AdminHelper - # layout 'admin' - def preview_and_approve - @bulletin = Bulletin.find params[:bulletin_id] - end - - # def approve - # - # end - - def setting - @sys_users = User.all(conditions: {admin: false}) - @bulletin_categorys = [] - @bulletin_categorys << BulletinCategory.find(params[:bulletin_category_id]) - @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } - if params.has_key? :category - @bulletin_category = BulletinCategory.find params[:category][:id] - else - @bulletin_category = @bulletin_categorys.first - end - preload_object_auth = @bulletin_category.object_auths.where(title: 'submit').empty?? (@bulletin_category.object_auths.create! :title=> 'submit') : @bulletin_category.object_auths.where(title: 'submit') - @users_array = preload_object_auth.first.privilege_users rescue [] - respond_to do |format| - format.html - format.js - end - end - - def update_setting - object_auth = update_setting_by_params - if object_auth.save! - flash[:notice] = "Update Done" - else - flash[:notice] = "Update Failed" - end - end - - def user_list - @bulletin_category = BulletinCategory.find params[:category][:id] - end - - protected - def update_setting_by_params - category = BulletinCategory.find params[:category][:id] - privilege_users = params[:users].collect{|key,value| User.find key } rescue [] - object_auth_ary = category.object_auths.where(title: 'submit') || (category.object_auths.create :title=> 'submit') - object_auth = object_auth_ary.first - object_auth.privilege_users = privilege_users - object_auth - end - - def get_categorys(id = nil) - @bulletin_categorys = [] - if(is_manager? || is_admin?) - @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) - elsif is_sub_manager? - @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') - end - end - -end diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_modal_list.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_modal_list.html.erb deleted file mode 100644 index a73fdab27..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_modal_list.html.erb +++ /dev/null @@ -1,44 +0,0 @@ -<% if bulletin_category -%> - -<div class="modal hide fade in" id="bulletin_category-<%=bulletin_category.id%>"> - <div class="modal-header"> - <a class="close" data-dismiss="modal">×</a> - <h3><%= t("announcement.bulletin.approval_user_list") %></h3> - </div> - <div class="modal-body"> - <div class="clear"> - <% bulletin_category.get_object_auth_by_title('submit').auth_users.each do |user| %> - <div class="checkbox clear checked"> - <div class='member-avatar'> - <% if user.avatar? %> - <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> - </div> - <% end -%> - <divl> - </div> - <div class="modal-footer"> - <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> - </div> - <div> - <script type="text/javascript" src="/static/kernel.js"></script> - <script type="text/javascript"> - $(document).ready(function() { - - $("#bulletin_category-<%=bulletin_category.id%>").on("show", function () { - }); - $(".modal").on("hidden", function () { - $("#show_preview").remove(); - }); - }); - </script> - </div> -</div> - - - -<% end -%> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb deleted file mode 100644 index 90f5cb65b..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> - <% @sys_users.each do |sys_user| -%> - - <div class="checkblock"> - - <% sys_user.sub_roles.each do |sr| %> - <div class="for_unit" style="display:none;"> <%= sr.key %></div> - <% end %> - <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> - <div class="check-icon"> - </div> - <div class='member-avatar'> - <% if sys_user.avatar? %> - <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> - <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> - <%end -%> - </div> - - <% end -%> -<% end -%> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.html.erb deleted file mode 100644 index d20bfc278..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.html.erb +++ /dev/null @@ -1,56 +0,0 @@ -<% content_for :page_specific_css do %> - <%= stylesheet_link_tag "inc/permission-checkbox" %> -<% end %> -<% content_for :page_specific_javascript do %> - <%= javascript_include_tag "inc/permission-checkbox" %> - <%= javascript_include_tag "inc/search" %> - <%= javascript_include_tag "inc/modal-preview" %> -<% end %> -<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> -<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> -<div class="subnav clear"> - <ul class="nav nav-pills filter pull-left"> - <li class="accordion-group"> - <div class="form-search" style="margin: 5px 10px;"> - <%= label_tag :category, t("announcement.bulletin.category") %> - <%= select "category",'id',@options_from_collection_for_select_bulletin_categorys %> - <%= search_field_tag 'user_filter' %> - </div> - - </li> - </ul> - <%= link_to t("announcement.bulletin.approval_user_list"), panel_announcement_back_end_bulletin_category_user_list_path , :class=>'preview_trigger btn btn-success pull-right'%> - -</div> -<%#= label_tag :role, t("admin.roles") %> -<div class="clear"> -<%= content_tag :div do -%> - <% form_tag panel_announcement_back_end_approval_setting_path do %> - <%= render :partial => "privilege_user", :locals => {:users => @users_array} %> - <div class="form-actions form-fixed pagination-right"> - <%= submit_tag "Update", :class => 'btn btn-primary' %> - </div> - <% end -%> -<% end -%> -</div> - -<script type="text/javascript" charset="utf-8"> -var availableTags = []; -$(document).ready(function() { - - $(".prevent_enter_submit_form").bind("keypress", function(e) { - if (e.keyCode == 13) { - return false; - } - }); - - $('#category_id').change(function() { - $.ajax({ - type: 'GET', - dataType: "script", - url:$(this).parents("from").attr("href"), - data:$(this).parents("form").serialize() - }); - }); -}); -</script> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb deleted file mode 100644 index 0ca148da1..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); -permissionCheckbox(); \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb deleted file mode 100644 index 7486000a2..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb deleted file mode 100644 index 4c8bf25d3..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:bulletin_category => @bulletin_category})) %>"); -var start_modal_with_id = "bulletin_category-<%=@bulletin_category.id%>" \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/config/routes.rb b/vendor/built_in_modules/announcement/config/routes.rb index c6a406b00..a9f1c4968 100644 --- a/vendor/built_in_modules/announcement/config/routes.rb +++ b/vendor/built_in_modules/announcement/config/routes.rb @@ -21,11 +21,7 @@ Rails.application.routes.draw do match "file_quick_edit/:bulletin_id" => "bulletins#file_quick_edit" ,:as => :file_quick_edit end - resources :bulletin_categorys do - match 'submit_setting' => "bulletin_category_setting#setting" ,:as => :setting,:via => :get - match 'submit_setting' => "bulletin_category_setting#update_setting" ,:as => :setting,:via => :post - match 'submit_setting' => "bulletin_category_setting#user_list" ,:as => :user_list,:via => :put - end + resources :bulletin_categorys resources :bulletin_links, :controller => 'bulletin_links' do match "link_quick_edit/:bulletin_link_id" => "bulletin_links#link_quick_edit" ,:as => :link_quick_edit diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb deleted file mode 100644 index 6ac769732..000000000 --- a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb +++ /dev/null @@ -1,64 +0,0 @@ -class Panel::News::BackEnd::NewsBulletinCategorySettingController < OrbitBackendController - before_filter :authenticate_user! - before_filter :for_app_manager - include AdminHelper - # layout 'admin' - # def preview_and_approve - # @bulletin = Bulletin.find params[:bulletin_id] - # end - - # def approve - # - # end - - def setting - @sys_users = User.all(conditions: {admin: false}) - @bulletin_categorys = [] - @bulletin_categorys << NewsBulletinCategory.find(params[:news_bulletin_category_id]) - @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } - if params.has_key? :category - @bulletin_category = NewsBulletinCategory.find params[:category][:id] - else - @bulletin_category = @bulletin_categorys.first - end - preload_object_auth = @bulletin_category.object_auths.where(title: 'submit').empty?? (@bulletin_category.object_auths.create! :title=> 'submit') : @bulletin_category.object_auths.where(title: 'submit') - @users_array = preload_object_auth.first.privilege_users rescue [] - respond_to do |format| - format.html - format.js - end - end - - def update_setting - object_auth = update_setting_by_params - if object_auth.save! - flash[:notice] = "Update Done" - else - flash[:notice] = "Update Failed" - end - end - - def user_list - @bulletin_category = NewsBulletinCategory.find params[:category][:id] - end - - protected - def update_setting_by_params - category = NewsBulletinCategory.find params[:category][:id] - privilege_users = params[:users].collect{|key,value| User.find key } rescue [] - object_auth_ary = category.object_auths.where(title: 'submit') || (category.object_auths.create :title=> 'submit') - object_auth = object_auth_ary.first - object_auth.privilege_users = privilege_users - object_auth - end - - def get_categorys(id = nil) - @bulletin_categorys = [] - if(is_manager? || is_admin?) - @bulletin_categorys = (id ? NewsBulletinCategory.find(id).to_a : NewsBulletinCategory.excludes('disabled' => true)) - elsif is_sub_manager? - @bulletin_categorys = NewsBulletinCategory.authed_for_user(current_user,'submit_new') - end - end - -end diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_modal_list.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_modal_list.html.erb deleted file mode 100644 index a73fdab27..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_modal_list.html.erb +++ /dev/null @@ -1,44 +0,0 @@ -<% if bulletin_category -%> - -<div class="modal hide fade in" id="bulletin_category-<%=bulletin_category.id%>"> - <div class="modal-header"> - <a class="close" data-dismiss="modal">×</a> - <h3><%= t("announcement.bulletin.approval_user_list") %></h3> - </div> - <div class="modal-body"> - <div class="clear"> - <% bulletin_category.get_object_auth_by_title('submit').auth_users.each do |user| %> - <div class="checkbox clear checked"> - <div class='member-avatar'> - <% if user.avatar? %> - <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> - </div> - <% end -%> - <divl> - </div> - <div class="modal-footer"> - <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> - </div> - <div> - <script type="text/javascript" src="/static/kernel.js"></script> - <script type="text/javascript"> - $(document).ready(function() { - - $("#bulletin_category-<%=bulletin_category.id%>").on("show", function () { - }); - $(".modal").on("hidden", function () { - $("#show_preview").remove(); - }); - }); - </script> - </div> -</div> - - - -<% end -%> \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb deleted file mode 100644 index 90f5cb65b..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> - <% @sys_users.each do |sys_user| -%> - - <div class="checkblock"> - - <% sys_user.sub_roles.each do |sr| %> - <div class="for_unit" style="display:none;"> <%= sr.key %></div> - <% end %> - <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> - <div class="check-icon"> - </div> - <div class='member-avatar'> - <% if sys_user.avatar? %> - <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> - <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> - <%end -%> - </div> - - <% end -%> -<% end -%> \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.html.erb deleted file mode 100644 index 618f78250..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.html.erb +++ /dev/null @@ -1,56 +0,0 @@ -<% content_for :page_specific_css do %> - <%= stylesheet_link_tag "inc/permission-checkbox" %> -<% end %> -<% content_for :page_specific_javascript do %> - <%= javascript_include_tag "inc/permission-checkbox" %> - <%= javascript_include_tag "inc/search" %> - <%= javascript_include_tag "inc/modal-preview" %> -<% end %> -<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> -<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> -<div class="subnav clear"> - <ul class="nav nav-pills filter pull-left"> - <li class="accordion-group"> - <div class="form-search" style="margin: 5px 10px;"> - <%= label_tag :category, t("announcement.bulletin.category") %> - <%= select "category",'id',@options_from_collection_for_select_bulletin_categorys %> - <%= search_field_tag 'user_filter' %> - </div> - - </li> - </ul> - <%= link_to t("announcement.bulletin.approval_user_list"), panel_news_back_end_news_bulletin_category_user_list_path , :class=>'preview_trigger btn btn-success pull-right'%> - -</div> -<%#= label_tag :role, t("admin.roles") %> -<div class="clear"> -<%= content_tag :div do -%> - <% form_tag panel_news_back_end_news_bulletin_category_setting_path do %> - <%= render :partial => "privilege_user", :locals => {:users => @users_array} %> - <div class="form-actions form-fixed pagination-right"> - <%= submit_tag "Update", :class => 'btn btn-primary' %> - </div> - <% end -%> -<% end -%> -</div> - -<script type="text/javascript" charset="utf-8"> -var availableTags = []; -$(document).ready(function() { - - $(".prevent_enter_submit_form").bind("keypress", function(e) { - if (e.keyCode == 13) { - return false; - } - }); - - $('#category_id').change(function() { - $.ajax({ - type: 'GET', - dataType: "script", - url:$(this).parents("from").attr("href"), - data:$(this).parents("form").serialize() - }); - }); -}); -</script> \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb deleted file mode 100644 index 0ca148da1..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); -permissionCheckbox(); \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb deleted file mode 100644 index 7486000a2..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb deleted file mode 100644 index 4c8bf25d3..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:bulletin_category => @bulletin_category})) %>"); -var start_modal_with_id = "bulletin_category-<%=@bulletin_category.id%>" \ No newline at end of file diff --git a/vendor/built_in_modules/news/config/routes.rb b/vendor/built_in_modules/news/config/routes.rb index ccefcf38b..b7882d2db 100644 --- a/vendor/built_in_modules/news/config/routes.rb +++ b/vendor/built_in_modules/news/config/routes.rb @@ -20,11 +20,7 @@ Rails.application.routes.draw do match "file_quick_edit/:news_bulletin_id" => "news_bulletins#file_quick_edit" ,:as => :file_quick_edit end - resources :news_bulletin_categorys do - match 'submit_setting' => "news_bulletin_category_setting#setting" ,:as => :setting,:via => :get - match 'submit_setting' => "news_bulletin_category_setting#update_setting" ,:as => :setting,:via => :post - match 'submit_setting' => "news_bulletin_category_setting#user_list" ,:as => :user_list,:via => :put - end + resources :news_bulletin_categorys resources :news_bulletin_links, :controller => 'news_bulletin_links' do match "link_quick_edit/:news_bulletin_link_id" => "news_bulletin_links#link_quick_edit" ,:as => :link_quick_edit From 82d1d3fed8e5a38c34f1dbfa5e39e455b19a3a7e Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 16:56:32 +0800 Subject: [PATCH 08/26] Restart job --- app/jobs/restart_server.rb | 8 ++++++++ config/resque_schedule.yml | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 app/jobs/restart_server.rb diff --git a/app/jobs/restart_server.rb b/app/jobs/restart_server.rb new file mode 100644 index 000000000..53167fea1 --- /dev/null +++ b/app/jobs/restart_server.rb @@ -0,0 +1,8 @@ +class RestartServer + @queue = :high + + def self.perform() + CronMail.time_check("Going to restarting Orbit").deliver + %x[touch #{Rails.root}/tmp/restart] + end +end diff --git a/config/resque_schedule.yml b/config/resque_schedule.yml index 6929152e6..601941013 100644 --- a/config/resque_schedule.yml +++ b/config/resque_schedule.yml @@ -10,6 +10,12 @@ nccu_daily_ldap_sync: args: description: Sync NCCU middle site with Orbit for LDAP data +nccu_daily_restart: + cron: * * */3 * * * + class: RestartServer + args: + description: Restart NCCU site + nccu_claender_sync: cron: * * [0,12] * * * class: NccuCalendar From e696516aae2264bf16134b1d89a9a97ebde57f08 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 17:07:21 +0800 Subject: [PATCH 09/26] Fix for manager and admin can see all post in announcement. Haven't applied to news --- .../announcement/back_end/bulletins_controller.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb index 7d89183e5..325f60f74 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb @@ -43,10 +43,12 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController @bulletin_file = BulletinFile.new @file_url = panel_announcement_back_end_bulletins_path - @bulletins.delete_if{ |bulletin| - bulletin.is_pending == true && (!bulletin.bulletin_category.authed_users('fact_check').include?(current_user) || bulletin.create_user_id!=current_user.id) - } - + if(!is_admin? || !is_manager?) + @bulletins.delete_if{ |bulletin| + bulletin.is_pending == true && (!bulletin.bulletin_category.authed_users('fact_check').include?(current_user) || bulletin.create_user_id!=current_user.id) + } + end + respond_to do |format| format.html # index.html.erb format.js { } From 076f5ad6efe72954963c9a058364b974db90407f Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris@rulingcom.com> Date: Fri, 11 May 2012 17:54:33 +0800 Subject: [PATCH 10/26] Ray's changes for drag and drop in structure's side_bar --- app/assets/images/icons_pack.png | Bin 37286 -> 37328 bytes app/assets/images/icons_pack_white.png | Bin 34694 -> 34841 bytes app/assets/stylesheets/sidebar.css.erb | 26 +++++++- app/assets/stylesheets/style.css.erb | 58 +++++++++++++++++- app/helpers/admin/item_helper.rb | 1 + .../admin/items/_site_map_left_bar.html.erb | 4 +- 6 files changed, 83 insertions(+), 6 deletions(-) diff --git a/app/assets/images/icons_pack.png b/app/assets/images/icons_pack.png index 39669303215a19d63d205aca5f8afa1866498da0..16ac98720ad504af0c9a837c5ab0779fe6fdbbbe 100644 GIT binary patch delta 33241 zcmY(qcTiK^8!a4)6j32`q#7xL6h(RmgP=4OB29vHktUrG;DCSxkP<<9QBlCqyOf9` z9VyZ~N((&#LWGdy=KXzl=Fay|PG)ju@10$qXRY<DU0g&vQbb$*^*lhl3)Qs<ncX3^ zr#SWTG{xoT1bf|%(ygT7yCEHgeePMU{M<Ei{wvxc5Qwt8srtP51CooyvC6LqdD~#; zfoy=!`d5%@<gIh78^R(6+@3njsxRN_ybS03+k9(6kpPF+mTlGc;b_h;h{_=_Tazhf z`KP}5n0{oZsxmve0t1lKe!7~$+8gus;!zj$ov%ZjV5CVs0S1WQJ4_+{!&M&xs4R(K zapZr8m^kvK#$saWR(i!d!sH`pf&WCSe-kTcgcs(;3H@*t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_LEWV{ zx?Hk=WTgLH86Ow0d$j_RI#_lMV#A=`bsX(WE$e|{V;Tz3T;7h*xRbXd6rM%olY5*+ zECDGUj{`Brm{Q)E61MBnn26liV=Z!7d7z$+F@I^ecPHM_DyOE6Eo&d;?U;_=JAP+k z%guXZ%r8`9xC9X)?Z+1Rb@X#BAdhbR%QR~c&ifbXek|LoG3HMh!t`kWec%Ws=qw-s z0N^ad2Z;axMUzl}Rg>>*6Mt|?0#a2g{Yq7T(D(gg@qSM`*wjq+yAa!c)iYcbMHm18 z0CHngRlj+|7-I!YulG+7P}&%{2AjF;cS^v>_PfM6rhNc7Urubk0054LDQo}$008JM zAYYyTPkDW=ycYUyjI@2F2m=5BKyHdpf0mxY1^_r$n8F5tQZR)L0Dk}g0R04H>0Q{; zJPrHW^PXcz@a)0{0002!LGfMKrC}E~0Gx6AMIrz|5tzaT0001h-U9N~`TvyH$Bv+j z9waX8!Ug~U0O$p~umJ$h6sE8NpcG7D0{{R3KtBOFfL++7NAT>z1^@s6=mF2dW*0U9 zobLdbL;!#yFog{O0672vy#?f}^ZzNYkL9()`>#E}8^eC;@5V^mSBfwI0089X{~rLB Wz#(%JMSM&E0000<MNUMnLSTY@sz-eQ diff --git a/app/assets/stylesheets/sidebar.css.erb b/app/assets/stylesheets/sidebar.css.erb index be15746ed..15922cc04 100644 --- a/app/assets/stylesheets/sidebar.css.erb +++ b/app/assets/stylesheets/sidebar.css.erb @@ -7,7 +7,7 @@ position: relative; } .nav-list ol { - margin-left: 10px; + margin-left: 20px; } .nav-list ol li { padding: 5px 0; @@ -148,4 +148,28 @@ } #main-sidebar .quick-edit a:hover { background-color: #DDDDDD; +} +ol.nav>li>.icons-moves { + display: none; +} +.sortable i { + position: absolute; + left: -20px; + top: 6px; + margin-right: 0; + opacity: 0.3; + filter: alpha(opacity=30); +} +.sortable i:hover { + cursor:move; + opacity: 0.7; + filter: alpha(opacity=70); +} +.placeholder { + background-color: rgba(0,136,204,.6); + border-radius: 3px; +} +.ui-nestedSortable-error { + background: rgba(255,206,206,.6); + color: #8a1f11; } \ No newline at end of file diff --git a/app/assets/stylesheets/style.css.erb b/app/assets/stylesheets/style.css.erb index 9bba5765c..c4b2e93c0 100644 --- a/app/assets/stylesheets/style.css.erb +++ b/app/assets/stylesheets/style.css.erb @@ -685,6 +685,7 @@ #banner [id^="slideshow-"] { z-index: 2 !important; } + [class^="icons-"] { display: inline-block; width: 16px; @@ -1243,12 +1244,63 @@ .icons-plus { background-position: -288px -576px; } +/*20*/ .icons-power { background-position: -0px -608px; } -/*20*/ -.icons- { - background-position: -0px -608px; +.icons-output { + background-position: -32px -608px; +} +.icons-col-resize { + background-position: -64px -608px; +} +.icons-move { + background-position: -96px -608px; +} +.icons-size-out { + background-position: -128px -608px; +} +.icons-size-in { + background-position: -160px -608px; +} +.icons-slash { + background-position: -192px -608px; +} +.icons-level { + background-position: -224px -608px; +} +.icons-share { + background-position: -256px -608px; +} +.icons-share2 { + background-position: -288px -608px; +} +.icons-re { + background-position: -320px -608px; +} +.icons-insert { + background-position: -352px -608px; +} +.icons-insert2 { + background-position: -384px -608px; +} +.icons-download { + background-position: -416px -608px; +} +.icons-tag-rignt { + background-position: -448px -608px; +} +.icons-tag-top { + background-position: -480px -608px; +} +.icons-tag-bottom { + background-position: -512px -608px; +} +.icons-tag-left { + background-position: -544px -608px; +} +.icons-moves { + background-position: -576px -608px; } /*21*/ .icons- { diff --git a/app/helpers/admin/item_helper.rb b/app/helpers/admin/item_helper.rb index dc78db880..7b38314eb 100644 --- a/app/helpers/admin/item_helper.rb +++ b/app/helpers/admin/item_helper.rb @@ -11,6 +11,7 @@ module Admin::ItemHelper end # ret << "<ol>" unless node.parent.nil? ret << "<li id='#{node.id}'>" + ret << "<i class='icons-moves'></i>" ret << "<div class='with_action'>" ret << (link_to node.i18n_variable[I18n.locale], dest) ret << "<div class='quick-edit hide'>" diff --git a/app/views/admin/items/_site_map_left_bar.html.erb b/app/views/admin/items/_site_map_left_bar.html.erb index 69e7851cf..380b467e9 100644 --- a/app/views/admin/items/_site_map_left_bar.html.erb +++ b/app/views/admin/items/_site_map_left_bar.html.erb @@ -6,11 +6,11 @@ $('ol.sortable').nestedSortable({ disableNesting: 'no-nest', forcePlaceholderSize: true, - handle: 'div', + handle: 'i', helper: 'clone', items: 'li', maxLevels: 3, - opacity: .6, + opacity: .5, placeholder: 'placeholder', revert: 250, tabSize: 25, From 17b486f9e94e81e0b9513a721c2b2734ac66d0fb Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Fri, 11 May 2012 17:56:26 +0800 Subject: [PATCH 11/26] Fix bugs for shift_to and change items.rake for the missing position in db --- app/controllers/admin/items_controller.rb | 2 ++ app/models/item.rb | 17 +++++++++++++++++ lib/tasks/items.rake | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/items_controller.rb b/app/controllers/admin/items_controller.rb index eea82f9cd..1ea406405 100644 --- a/app/controllers/admin/items_controller.rb +++ b/app/controllers/admin/items_controller.rb @@ -17,6 +17,8 @@ class Admin::ItemsController < ApplicationController end def update_position + item = Item.find(params[:id]) + item.shift_to(params[:parent_id], params[:position]) render :nothing => true end diff --git a/app/models/item.rb b/app/models/item.rb index 4d6ca0010..cdf0f2fb1 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -35,6 +35,19 @@ class Item end a end + + def shift_to(new_parent, position) + unless self.parent_id.to_s.eql?(new_parent) && self.position.eql?(position.to_i) + new_parent = Item.find(new_parent) + current_position_sibling = find_by_parent_and_position(new_parent, position.to_i) + if current_position_sibling + current_position_sibling.at_bottom? ? move_below(current_position_sibling) : move_above(current_position_sibling) + elsif self.parent != new_parent + self.parent = new_parent + save! + end + end + end protected @@ -42,6 +55,10 @@ class Item self.path = (self.ancestors_and_self - [Item.root]).collect{|x| x.name unless x.root?}.join('/') end + def find_by_parent_and_position(parent, position) + parent.children.detect{|child| child.position == position} + end + # Enable the validation for parent_id def validates_presence_of_parent_id? true diff --git a/lib/tasks/items.rake b/lib/tasks/items.rake index 8889567da..7d94332ed 100644 --- a/lib/tasks/items.rake +++ b/lib/tasks/items.rake @@ -3,7 +3,7 @@ namespace :items do task :tree_changes => :environment do Item.all.each do |item| - item.position -= 1 + item.position -= item.position > 5 ? 2 : 1 item.parent_ids = ancestors(item) item.rename(:full_name, :path) item.save From 803253ebcf8d2f89c00da0c241affbd199fbd679 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sat, 12 May 2012 22:12:17 +0800 Subject: [PATCH 12/26] Put nestedSortable in page_edit.js.erb --- .../{page_edit.js => page_edit.js.erb} | 21 ++++++++++++++++ .../admin/items/_site_map_left_bar.html.erb | 24 ------------------- 2 files changed, 21 insertions(+), 24 deletions(-) rename app/assets/javascripts/{page_edit.js => page_edit.js.erb} (63%) diff --git a/app/assets/javascripts/page_edit.js b/app/assets/javascripts/page_edit.js.erb similarity index 63% rename from app/assets/javascripts/page_edit.js rename to app/assets/javascripts/page_edit.js.erb index a889f5b23..7c0f6923f 100644 --- a/app/assets/javascripts/page_edit.js +++ b/app/assets/javascripts/page_edit.js.erb @@ -32,3 +32,24 @@ $('.part_kind').live('click', function() { $('.part_kind_partial').hide(); $('#part_' + $(this).attr('value')).show(); }); + +$(document).ready(function(){ + $('ol.sortable').nestedSortable({ + disableNesting: 'no-nest', + forcePlaceholderSize: true, + handle: 'i', + helper: 'clone', + items: 'li', + maxLevels: 3, + opacity: .5, + placeholder: 'placeholder', + revert: 250, + tabSize: 25, + tolerance: 'pointer', + toleranceElement: '> div', + + stop: function(event, ui) { + $.post("<%= Rails.application.routes.url_helpers.admin_update_position_path %>", { id: ui.item.attr('id'), parent_id: ui.item.parent().closest('li').attr('id'), position: ui.item.index() } ); + } + }); +}); \ No newline at end of file diff --git a/app/views/admin/items/_site_map_left_bar.html.erb b/app/views/admin/items/_site_map_left_bar.html.erb index b33023b4a..8d32365f2 100644 --- a/app/views/admin/items/_site_map_left_bar.html.erb +++ b/app/views/admin/items/_site_map_left_bar.html.erb @@ -1,25 +1 @@ <%= render_node_and_children(Item.first(:conditions => {:parent_id => nil})) %> - - -<script> - $(document).ready(function(){ - $('ol.sortable').nestedSortable({ - disableNesting: 'no-nest', - forcePlaceholderSize: true, - handle: 'i', - helper: 'clone', - items: 'li', - maxLevels: 3, - opacity: .5, - placeholder: 'placeholder', - revert: 250, - tabSize: 25, - tolerance: 'pointer', - toleranceElement: '> div', - - stop: function(event, ui) { - $.post("<%= admin_update_position_path %>", { id: ui.item.attr('id'), parent_id: ui.item.parent().closest('li').attr('id'), position: ui.item.index() } ); - } - }); - }); -</script> \ No newline at end of file From 82fa85def8838382c1ba8d89818c06835c6291cd Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sun, 13 May 2012 19:32:05 +0800 Subject: [PATCH 13/26] Clean the parsers code --- app/controllers/application_controller.rb | 4 +- app/controllers/pages_controller.rb | 20 ++++---- app/helpers/application_helper.rb | 6 +-- lib/parsers/parser_back_end.rb | 58 ++--------------------- lib/parsers/parser_common.rb | 53 +++++++++++++++++++-- lib/parsers/parser_front_end.rb | 57 ++-------------------- 6 files changed, 70 insertions(+), 128 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 494b497ea..4d8d6d487 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -95,9 +95,9 @@ class ApplicationController < ActionController::Base end # Render the page - def render_page(param={}) + def render_page if @item - render :text => process_page(@item, param[:id], param), :layout => 'page_layout' + render :text => parse_page_noko(@item), :layout => 'page_layout' else render :text => '404 Not Found' end diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index b781f202c..c4a571dd1 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -19,7 +19,7 @@ class PagesController < ApplicationController if @item && @item.is_published && (@item.enabled_for.nil? ? true : @item.enabled_for.include?(I18n.locale.to_s)) case @item._type when 'Page' - render_page(params) + render_page when 'Link' redirect_to "http://#{@item[:url]}" end @@ -32,17 +32,19 @@ class PagesController < ApplicationController end def index_from_link - if params[:page] - redirect_to "/#{@item.path}?page=#{params[:page]}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}" - else - redirect_to "/#{@item.path}?category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}" - end + url = "/#{@item.path}" + options = '' + options << "?page=#{params[:page]}" unless params[:page].blank? + options << "#{options.blank? ? '?' : '&'}category_id=#{params[:category_id]}" unless params[:category_id].blank? + options << "#{options.blank? ? '?' : '&'}tag_id=#{params[:tag_id]}" unless params[:tag_id].blank? + redirect_to url + options end def show_from_link - # debugger - # a=1 - redirect_to "/#{@item.path}?id=#{params[:id]}&preview=#{params[:preview]}" + url = "/#{@item.path}?id=#{params[:id]}" + options = '' + options << "&preview=#{params[:preview]}" unless params[:preview].blank? + redirect_to url + options end def load_orbit_bar diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 37c2d0d27..32800d80e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -89,11 +89,7 @@ module ApplicationHelper def active_for_action(controller_name, action_name) ((controller.controller_name.eql?(controller_name) || request.fullpath.eql?(controller_name)) && controller.action_name.eql?(action_name)) ? 'active' : nil end - - def process_page(page, id, params) - parse_page_noko(page, id, params) - end - + def page_metas(page) tmp_meta = {} metas = '' diff --git a/lib/parsers/parser_back_end.rb b/lib/parsers/parser_back_end.rb index e9c08a01e..aed8f36bd 100644 --- a/lib/parsers/parser_back_end.rb +++ b/lib/parsers/parser_back_end.rb @@ -23,67 +23,19 @@ module ParserBackEnd # ret << "</a>" # end - def parse_page_edit_noko(page, id = nil) + def parse_page_edit_noko(page) body = Nokogiri::HTML(page.design.layout.body) parse_menu(body, page, true) - public_r_tags = parse_content_edits(body, page, id) + public_r_tags = parse_contents(body, page, true) parse_images(body, page) - parse_footer(body, page, true) - parse_sub_menu(body, page, true) - + parse_footer(body, page) + parse_sub_menu(body, page) public_r_tags.each do |tag| - send("parse_#{tag}s", body, page, id, true) + send("parse_#{tag}s", body, page, true) end - body.to_html end - # page_contents - def parse_content_edits(body, page, id) - public_r_tags = [] - body.css('.page_content').each do |content| - ret = '' - if (content["main"] == "true" && !page.module_app.nil?) - ret << "<div id='appfrontend' class='dymanic_load' path='/panel/#{page.module_app.key}/front_end/#{page.app_frontend_url}?inner=true&page_id=#{page.id}" - ret << "&category_id=#{page.category}" if page[:category] - ret << "&tag_id=#{page.tag}" if page[:tag] - ret << "'></div>" - else - part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil - ret << "<div id='#{content['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>" if part - ret << "<div class='edit_link' style='display:none'>" - ret << " <a href='#{edit_admin_page_part_path(part.id)}' class='nav'>#{t(:edit)}</a>" if part - ret << '</div>' - case part.kind - when 'text' - ret << part.i18n_variable[I18n.locale] rescue '' - when 'module_widget' - if !part[:category].blank? - ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?category_id=#{part[:category]}}'></div>" - elsif !part[:tag].blank? - ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true&tag_id=#{part[:tag]}'></div>" - else - ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}'></div>" - end - when 'public_r_tag' - ret << "<r:#{part.public_r_tag} id='#{part.public_r_tag_object_id}'/>" - public_r_tags << part.public_r_tag - else - '' - end if part - end - scope = "<#{content.name}" - content.attributes.each_pair do |key, value| - scope << " #{key}='#{value}'" - end - scope << ">#{ret}</#{content.name}>" - fragment = Nokogiri::HTML::DocumentFragment.new(body, scope) - content.swap(fragment) - end - public_r_tags.uniq - end - - def self.included(base) base.send :helper_method, :parse_page_edit_noko if base.respond_to? :helper_method end diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb index 59bd85b3b..180914b3c 100644 --- a/lib/parsers/parser_common.rb +++ b/lib/parsers/parser_common.rb @@ -36,7 +36,7 @@ module ParserCommon end # ad_banners - def parse_ad_banners(body = nil, page = nil, id = nil, edit=nil) + def parse_ad_banners(body = nil, page = nil, edit=nil) body.css('ad_banner').each do |banner| res = '' ad_banner = AdBanner.find(banner["id"]) rescue nil @@ -82,7 +82,7 @@ module ParserCommon end # page_images - def parse_images(body, page, id = nil, edit=nil) + def parse_images(body, page, edit=nil) body.css('.page_image').each do |page_image| # image = page.custom_images.detect{|image| image.name.eql?(tag.attr['name']) } # image = page.design.custom_images.detect{|image| image.name.eql?(tag.attr['name']) } unless image @@ -109,7 +109,7 @@ module ParserCommon end # sub_menus - def parse_sub_menus(body = nil, page = nil, id = nil, edit=nil) + def parse_sub_menus(body = nil, page = nil, edit=nil) body.css('sub_menu').each do |sub_menu| menu_page = Page.find(sub_menu['id']) rescue nil res = '' @@ -132,7 +132,7 @@ module ParserCommon end # page_footer - def parse_footer(body, page, edit=nil) + def parse_footer(body, page) page_footer = body.css('.page_footer').first if page_footer res = "<div id='#{page_footer['id']}', class='#{page_footer['class']}'>" @@ -146,7 +146,7 @@ module ParserCommon end # page_sub_menu - def parse_sub_menu(body, page, edit=nil) + def parse_sub_menu(body, page) page_sub_menu = body.css('.page_sub_menu').first if page_sub_menu res = "<div id='#{page_sub_menu['id']}', class='#{page_sub_menu['class']}'>" @@ -159,4 +159,47 @@ module ParserCommon end end + # page_contents + def parse_contents(body, page, edit=nil) + public_r_tags = [] + body.css('.page_content').each do |content| + ret = '' + if (content["main"] == "true" && !page.module_app.nil?) + ret << "<div id='appfrontend' class='dymanic_load' path='/panel/#{page.module_app.key}/front_end/#{page.app_frontend_url}" + ret << "/#{params[:id]}" if params[:id] && !params[:id].eql?(page.id.to_s) + ret << "?inner=true&page_id=#{page.id}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}&preview=#{params[:preview]}&page=#{params[:page]}" + ret << "'></div>" + else + part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil + if edit + ret << "<div id='#{content['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>" if part + ret << "<div class='edit_link' style='display:none'>" + ret << " <a href='#{edit_admin_page_part_path(part.id)}' class='nav'>#{t(:edit)}</a>" if part + end + case part.kind + when 'text' + ret << part.i18n_variable[I18n.locale] rescue '' + when 'module_widget' + url = "/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true" + options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : params[:category_id]}&tag_id=#{!part[:tag].blank? ? part[:tag] : params[:tag_id]}&page=#{params[:page]}" + ret << "<div class='dymanic_load' path='#{url + options}'></div>" + when 'public_r_tag' + ret << "<r:#{part.public_r_tag} id='#{part.public_r_tag_object_id}'/>" + public_r_tags << part.public_r_tag + else + '' + end if part + ret << '</div>' if edit + end + scope = "<#{content.name}" + content.attributes.each_pair do |key, value| + scope << " #{key}='#{value}'" + end + scope << ">#{ret}</#{content.name}>" + fragment = Nokogiri::HTML::DocumentFragment.new(body, scope) + content.swap(fragment) + end + public_r_tags.uniq + end + end diff --git a/lib/parsers/parser_front_end.rb b/lib/parsers/parser_front_end.rb index 6320f8089..3d39bd5f8 100644 --- a/lib/parsers/parser_front_end.rb +++ b/lib/parsers/parser_front_end.rb @@ -21,69 +21,18 @@ module ParserFrontEnd require 'nokogiri' - def parse_page_noko(page, id = nil,params) + def parse_page_noko(page) body = Nokogiri::HTML(page.design.layout.body) parse_menu(body, page) - public_r_tags = parse_contents(body, page, id,params[:preview]) + public_r_tags = parse_contents(body, page) parse_images(body, page) parse_footer(body, page) parse_sub_menu(body, page) - public_r_tags.each do |tag| - send("parse_#{tag}s", body, page,id) + send("parse_#{tag}s", body, page) end body.to_html end - - # page_contents - def parse_contents(body, page, id,preview = false) - public_r_tags = [] - body.css('.page_content').each do |content| - ret = '' - if (content["main"] == "true" && !page.module_app.nil?) - ret << "<div id='appfrontend' class='dymanic_load' path='/panel/#{page.module_app.key}/front_end/#{page.app_frontend_url}" - ret << "/#{id}" if id - ret << "?inner=true&page_id=#{page.id}" - # ret << "&category_id=#{page.category}" if page[:category] - ret << "&category_id=#{params[:category_id]}" if !params[:category_id].blank? - ret << "&tag_id=#{params[:tag_id]}" if !params[:tag_id].blank? - ret << "&preview=true" if preview.eql?('true') - ret << "'></div>" - else - part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil - case part.kind - when 'text' - ret << part.i18n_variable[I18n.locale] rescue '' - when 'module_widget' - # if part[:category] - # ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true&category_id=#{part[:category]}'></div>" - # else - # ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true'></div>" - # end - if !part[:category].blank? - ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true&category_id=#{part[:category]}'></div>" - elsif !part[:tag].blank? - ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true&tag_id=#{part[:tag]}'></div>" - else - ret << "<div class='dymanic_load' path='/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true'></div>" - end - when 'public_r_tag' - ret << "<r:#{part.public_r_tag} id='#{part.public_r_tag_object_id}'/>" - public_r_tags << part.public_r_tag - else - '' - end if part - end - scope = "<#{content.name}" - content.attributes.each_pair do |key, value| - scope << " #{key}='#{value}'" - end - scope << ">#{ret}</#{content.name}>" - fragment = Nokogiri::HTML::DocumentFragment.new(body, scope) - content.swap(fragment) - end - public_r_tags.uniq - end end From ef2d416c705b94953d137eacf44d556ec2a1fde2 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris@rulingcom.com> Date: Sun, 13 May 2012 19:36:04 +0800 Subject: [PATCH 14/26] Ray's changes for page_edit --- app/assets/images/editicon.png | Bin 0 -> 2935 bytes app/assets/stylesheets/sidebar.css.erb | 1 + app/assets/stylesheets/style.css.erb | 28 +++++- app/views/admin/pages/_edit.html.erb | 17 ++-- app/views/admin/pages/_form.html.erb | 128 ++++++++++++++++--------- lib/parsers/parser_back_end.rb | 2 +- 6 files changed, 121 insertions(+), 55 deletions(-) create mode 100644 app/assets/images/editicon.png diff --git a/app/assets/images/editicon.png b/app/assets/images/editicon.png new file mode 100644 index 0000000000000000000000000000000000000000..cef3e600041b8e110bc9050067807b87953ad38d GIT binary patch literal 2935 zcmai03p7;g9v?K`(JjVX(<qNLPczI6GUg#8GBGioO2*8_#5~LlGtt8%QYw$Ub7FK9 z=@9aY&ZAuA)OB=8Wa^YxsT(SF3O9GAQ|?)Joz~rJ?frfGTfg7$|K4jKV{F^9Qr}V^ z1Olz3`%;5cD^7juYO9`4CeMjfi-nZNk_HPSr82e{0C{tT5df6VXGZ}+0Gqo%t_Sb{ zfwZQ0OqP@t;7{ZT`3SZegOKypY!Jx9OD<w_VgM;L0*K-XJYh2(Kf<6qt|u%M7k~;7 zQGjTkZ=x6oPTa=iB*t(ET$tBpsE3@W65s<;HdM}!6-bD3PuM42qH3=`M#7+<Akr95 z*dI=@0vJ$=Pz*qE2o#)yaz#U3u?RF4MZgj^K`|&a3W>%bQEqTFiimR~qR`OK7ffYM z%#9=lQGGt!QoVV?qNP$15s8$^WC)oHLMV<xq6q{75`{rxFmM$DF4-@TvgL4r#O{j% z6_9YmJdu<q6hPIA><D4J)Dx!i^p6nuqGefu<a3%-2}8=+A|x7tQit>j$mJ~KMDgO- zPsX_%BoGVm0fAJa!lIY4sw@QrEW`g&md{^COQb=-e`EVgw1l}|1R#R|i7;NwQ58AT zPVJV6ND%{UsZh)m3S+-yoDnUQ3MJ7(5tI^)L!hAnYz|MLKKT;^pt7ZaCrp)p3><}n zqg|LN6cK|ZqVUcrJQ0QZ0~#RY@*?;D4-~^hyQ-mB7iZOG8LBEimn~)gUoe+Lj1-Fb zY*ht#>V8Fv1W})?1q2Z30*RC@-~e>0CrlL_g2&?$2^1{e2T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q%#Lq^A~V4Sxg|dY znVg>*D!9M92)5+$VR{O4BD21#7~b_%CufTRXiyJo-haucb%h7+M(vDtP2U1!-BT@* zt$l~#hb!jygb?jLhjy<EDZJU}<dhAcExneP`SkI_?f&mwN0lJM>&`Z{sM8JyF*5(R z@3RkGUaw(RUmBQ*{#J)pTzbX&_4v=%b40J{YtF*ry$IQe%g_CKxJB!_S(nU%pR;JK z5ADq+z-~M5R~*rIb~m5|mOVLn$CT~6<H%+o`r|iSH!L}I>1C7=cE1X5i%r^8;{M=7 zq3xNi<61lSWliI|Wrl~tG=|!b-#nG^YAJVMYy9XFP+@V{E9D}LVi1>-IvP|wX!jm- zKBPmc^UCwiyP$^1>6xqZJt1WyQS1JG+9V1B6HZf8p7|}h946bhx2;G&q}hkQd$4KO d{Bti2ZBWF<rHwBlOkwI@VLELawT>K~`XBEIp0WS{ literal 0 HcmV?d00001 diff --git a/app/assets/stylesheets/sidebar.css.erb b/app/assets/stylesheets/sidebar.css.erb index 15922cc04..1e4b40102 100644 --- a/app/assets/stylesheets/sidebar.css.erb +++ b/app/assets/stylesheets/sidebar.css.erb @@ -11,6 +11,7 @@ } .nav-list ol li { padding: 5px 0; + list-style: none; } .nav-list ol li a { font-size: 13px; diff --git a/app/assets/stylesheets/style.css.erb b/app/assets/stylesheets/style.css.erb index c4b2e93c0..ba1c30667 100644 --- a/app/assets/stylesheets/style.css.erb +++ b/app/assets/stylesheets/style.css.erb @@ -110,10 +110,8 @@ padding:6px; } #orbit-bar .nav > li.search { - background-image: none; overflow: hidden; width: 28px; - margin-bottom: 0; position: relative; } #orbit-bar .nav > li > a.orbit-bar-home { @@ -686,6 +684,32 @@ z-index: 2 !important; } +#back_main .editable { + position: relative; +} +#back_main .editable:after { + content: ''; + clear: both; + display: block; + visibility: hidden; + height: 0; +} + +#back_main .edit_link a { + position: absolute; + z-index: 10; + width: 100%; + height: 100%; + top: 0; + left: 0; + text-indent: -9999px; + background: url(<%= asset_path 'editicon.png' %>) no-repeat center center rgba(255,255,255,.8); + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 1); +} + + [class^="icons-"] { display: inline-block; width: 16px; diff --git a/app/views/admin/pages/_edit.html.erb b/app/views/admin/pages/_edit.html.erb index 61ff80461..b2da28d00 100644 --- a/app/views/admin/pages/_edit.html.erb +++ b/app/views/admin/pages/_edit.html.erb @@ -1,10 +1,11 @@ <%= flash_messages %> - -<h1><%= t('admin.editing_page') %></h1> - -<%= form_for @item, :url => admin_page_path(@item) do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> - <p> - <%= f.submit t('update') %> <%= link_back %> - </p> +<div id="poststuff"> + <h1><%= t('admin.editing_page') %></h1> + <%= form_for @item, :url => admin_page_path(@item), :html => { :class => 'form-horizontal edit_page' } do |f| %> + <%= render :partial => "form", :locals => { :f => f } %> + <div class="form-actions"> + <%= f.submit t('update'), :class => 'btn btn-primary' %> + <%= link_to t('cancel'), get_go_back, :class=>"btn" %> + </div> +</div> <% end %> \ No newline at end of file diff --git a/app/views/admin/pages/_form.html.erb b/app/views/admin/pages/_form.html.erb index 7aae7c008..94632b57e 100644 --- a/app/views/admin/pages/_form.html.erb +++ b/app/views/admin/pages/_form.html.erb @@ -1,52 +1,92 @@ <%= f.error_messages %> <%= f.hidden_field :parent, :value => (@item.parent.id rescue nil) %> -<p> -<%= f.label :name, t('admin.name') %> -<%= f.text_field :name, :class => 'text' %> -</p> +<div class="control-group"> + <%= f.label :name, t('admin.name'), :class => 'control-label' %> + <div class="controls"> + <%= f.text_field :name, :class => 'text input-xlarge' %> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> <%= f.fields_for :i18n_variable, (@item.new_record? ? @item.build_i18n_variable : @item.i18n_variable) do |f| %> - <% @site_valid_locales.each do |locale| %> - <p> - <%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}" %> - <%= f.text_field locale %> - </p> - <% end %> + <% @site_valid_locales.each do |locale| %> + <div class="control-group"> + <%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}", :class => 'control-label' %> + <div class="controls"> + <%= f.text_field locale, :class => 'text input-xlarge' %> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> + </div> + <% end %> <% end %> -<p> - <%= t('admin.design_name') %> - <%= f.collection_select :design, @designs, :id, :title, {:selected => @design.id}, {:rel => admin_pages_path} %> -</p> -<p> - <%= t('admin.theme') %> - <%= f.select :theme_id, @design.themes.collect { |t| [t.name.capitalize, t.id] }, :include_blank => true %> -</p> -<p> - <%= t('admin.module_app') %> - <%= render :partial => "app_selector", :locals => { :f => f } %> - <span id="app_page_url"><%= select('page','app_frontend_url', @app_frontend_urls, :selected => @item.app_frontend_url ) rescue ''%> </span> - <span id="app_page_category"><%= select('page','category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @item[:category], :include_blank => true ) rescue ''%> </span> -</p> -<p> - <%= f.label :is_published, "#{t('admin.is_published')} ?" %> - <%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No -</p> -<p> - <%= f.label :menu_enabled_for, "#{t('admin.menu_enabled_for')}:" %> - <% @site_valid_locales.each do |valid_locale| %> - <%= check_box_tag 'page[menu_enabled_for][]', valid_locale, (@item.menu_enabled_for.nil? ? true : @item.menu_enabled_for.include?(valid_locale)) %> - <%= I18nVariable.from_locale(valid_locale) %> - <% end %> - <%= hidden_field_tag 'page[menu_enabled_for][]', '' %> -</p> -<p> - <%= f.label :enabled_for, "#{t('admin.enabled_for')}:" %> - <% @site_valid_locales.each do |valid_locale| %> - <%= check_box_tag 'page[enabled_for][]', valid_locale, (@item.enabled_for.nil? ? true : @item.enabled_for.include?(valid_locale)) %> - <%= I18nVariable.from_locale(valid_locale) %> - <% end %> - <%= hidden_field_tag 'page[enabled_for][]', '' %> -</p> +<div class="control-group"> + <%= f.label :name, t('admin.design_name'), :class => 'control-label' %> + <div class="controls"> + <%= f.collection_select :design, @designs, :id, :title, {:selected => @design.id}, {:rel => admin_pages_path} %> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> +<div class="control-group"> + <%= f.label :name, t('admin.theme'), :class => 'control-label' %> + <div class="controls"> + <%= f.select :theme_id, @design.themes.collect { |t| [t.name.capitalize, t.id] }, :include_blank => true %> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> +<div class="control-group"> + <%= f.label :name, t('admin.module_app'), :class => 'control-label' %> + <div class="controls"> + <%= render :partial => "app_selector", :locals => { :f => f } %> + <span id="app_page_url"> + <%= select('page','app_frontend_url', @app_frontend_urls, :selected => @item.app_frontend_url ) rescue ''%> + </span> + <span id="app_page_category"> + <%= select('page','category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @item[:category], :include_blank => true ) rescue ''%> + </span> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> +<div class="control-group"> + <%= f.label :is_published, "#{t('admin.is_published')} ?", :class => 'control-label' %> + <div class="controls"> + <label class="radio"> + <%= f.radio_button :is_published, true %> + Yes + </label> + <label class="radio"> + <%= f.radio_button :is_published, false %> + No + </label> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> +<div class="control-group"> + <%= f.label :menu_enabled_for, "#{t('admin.menu_enabled_for')}:", :class => 'control-label' %> + <div class="controls"> + <% @site_valid_locales.each do |valid_locale| %> + <label class="checkbox"> + <%= check_box_tag 'page[menu_enabled_for][]', valid_locale, (@item.menu_enabled_for.nil? ? true : @item.menu_enabled_for.include?(valid_locale)) %> + <%= I18nVariable.from_locale(valid_locale) %> + </label> + <% end %> + <%= hidden_field_tag 'page[menu_enabled_for][]', '' %> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> + +<div class="control-group"> + <%= f.label :enabled_for, "#{t('admin.enabled_for')}:", :class => 'control-label' %> + <div class="controls"> + <% @site_valid_locales.each do |valid_locale| %> + <label class="checkbox"> + <%= check_box_tag 'page[enabled_for][]', valid_locale, (@item.enabled_for.nil? ? true : @item.enabled_for.include?(valid_locale)) %> + <%= I18nVariable.from_locale(valid_locale) %> + </label> + <% end %> + <%= hidden_field_tag 'page[enabled_for][]', '' %> + <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> + </div> +</div> diff --git a/lib/parsers/parser_back_end.rb b/lib/parsers/parser_back_end.rb index e9c08a01e..03141df2e 100644 --- a/lib/parsers/parser_back_end.rb +++ b/lib/parsers/parser_back_end.rb @@ -50,7 +50,7 @@ module ParserBackEnd ret << "'></div>" else part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil - ret << "<div id='#{content['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>" if part + ret << "<div id='#{content['name']}' part_id='#{part.id}' class='editable'>" if part ret << "<div class='edit_link' style='display:none'>" ret << " <a href='#{edit_admin_page_part_path(part.id)}' class='nav'>#{t(:edit)}</a>" if part ret << '</div>' From 4685952bd687609ccaaa5b9610b52ecd9cca2df2 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sun, 13 May 2012 20:13:26 +0800 Subject: [PATCH 15/26] Changes in page_edit --- app/assets/images/editicon.png | Bin 0 -> 2935 bytes app/assets/stylesheets/sidebar.css.erb | 1 + app/assets/stylesheets/style.css.erb | 28 +++++- app/views/admin/pages/_edit.html.erb | 19 ++-- app/views/admin/pages/_form.html.erb | 128 ++++++++++++++++--------- app/views/admin/pages/_new.html.erb | 22 ++--- lib/parsers/parser_common.rb | 2 +- 7 files changed, 132 insertions(+), 68 deletions(-) create mode 100644 app/assets/images/editicon.png diff --git a/app/assets/images/editicon.png b/app/assets/images/editicon.png new file mode 100644 index 0000000000000000000000000000000000000000..cef3e600041b8e110bc9050067807b87953ad38d GIT binary patch literal 2935 zcmai03p7;g9v?K`(JjVX(<qNLPczI6GUg#8GBGioO2*8_#5~LlGtt8%QYw$Ub7FK9 z=@9aY&ZAuA)OB=8Wa^YxsT(SF3O9GAQ|?)Joz~rJ?frfGTfg7$|K4jKV{F^9Qr}V^ z1Olz3`%;5cD^7juYO9`4CeMjfi-nZNk_HPSr82e{0C{tT5df6VXGZ}+0Gqo%t_Sb{ zfwZQ0OqP@t;7{ZT`3SZegOKypY!Jx9OD<w_VgM;L0*K-XJYh2(Kf<6qt|u%M7k~;7 zQGjTkZ=x6oPTa=iB*t(ET$tBpsE3@W65s<;HdM}!6-bD3PuM42qH3=`M#7+<Akr95 z*dI=@0vJ$=Pz*qE2o#)yaz#U3u?RF4MZgj^K`|&a3W>%bQEqTFiimR~qR`OK7ffYM z%#9=lQGGt!QoVV?qNP$15s8$^WC)oHLMV<xq6q{75`{rxFmM$DF4-@TvgL4r#O{j% z6_9YmJdu<q6hPIA><D4J)Dx!i^p6nuqGefu<a3%-2}8=+A|x7tQit>j$mJ~KMDgO- zPsX_%BoGVm0fAJa!lIY4sw@QrEW`g&md{^COQb=-e`EVgw1l}|1R#R|i7;NwQ58AT zPVJV6ND%{UsZh)m3S+-yoDnUQ3MJ7(5tI^)L!hAnYz|MLKKT;^pt7ZaCrp)p3><}n zqg|LN6cK|ZqVUcrJQ0QZ0~#RY@*?;D4-~^hyQ-mB7iZOG8LBEimn~)gUoe+Lj1-Fb zY*ht#>V8Fv1W})?1q2Z30*RC@-~e>0CrlL_g2&?$2^1{e2Tk=Mpzs(pnuhjv!{I0x z0@erbL&f=^v0u1UAtzp4hc8_2GM9$>Dp%dn>Piu*fS8v6aDBu=KJ-&Hh`g`+Lj9`V zXD;`vzEEjj<swziAl3c(r+)o%q#6SCc6s_#FU#`_2vkEWR!t|q?g!NeLT5dl>dllt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(RUmBQ*{#J)pTzbX&_4v=%b40J{YtF*ry$IQe%g_CKxJB!_S(nU%pR;JK z5ADq+z-~M5R~*rIb~m5|mOVLn$CT~6<H%+o`r|iSH!L}I>1C7=cE1X5i%r^8;{M=7 zq3xNi<61lSWliI|Wrl~tG=|!b-#nG^YAJVMYy9XFP+@V{E9D}LVi1>-IvP|wX!jm- zKBPmc^UCwiyP$^1>6xqZJt1WyQS1JG+9V1B6HZf8p7|}h946bhx2;G&q}hkQd$4KO d{Bti2ZBWF<rHwBlOkwI@VLELawT>K~`XBEIp0WS{ literal 0 HcmV?d00001 diff --git a/app/assets/stylesheets/sidebar.css.erb b/app/assets/stylesheets/sidebar.css.erb index 15922cc04..1e4b40102 100644 --- a/app/assets/stylesheets/sidebar.css.erb +++ b/app/assets/stylesheets/sidebar.css.erb @@ -11,6 +11,7 @@ } .nav-list ol li { padding: 5px 0; + list-style: none; } .nav-list ol li a { font-size: 13px; diff --git a/app/assets/stylesheets/style.css.erb b/app/assets/stylesheets/style.css.erb index c4b2e93c0..ba1c30667 100644 --- a/app/assets/stylesheets/style.css.erb +++ b/app/assets/stylesheets/style.css.erb @@ -110,10 +110,8 @@ padding:6px; } #orbit-bar .nav > li.search { - background-image: none; overflow: hidden; width: 28px; - margin-bottom: 0; position: relative; } #orbit-bar .nav > li > a.orbit-bar-home { @@ -686,6 +684,32 @@ z-index: 2 !important; } +#back_main .editable { + position: relative; +} +#back_main .editable:after { + content: ''; + clear: both; + display: block; + visibility: hidden; + height: 0; +} + +#back_main .edit_link a { + position: absolute; + z-index: 10; + width: 100%; + height: 100%; + top: 0; + left: 0; + text-indent: -9999px; + background: url(<%= asset_path 'editicon.png' %>) no-repeat center center rgba(255,255,255,.8); + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 1); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 1); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 1); +} + + [class^="icons-"] { display: inline-block; width: 16px; diff --git a/app/views/admin/pages/_edit.html.erb b/app/views/admin/pages/_edit.html.erb index 61ff80461..d81a533d3 100644 --- a/app/views/admin/pages/_edit.html.erb +++ b/app/views/admin/pages/_edit.html.erb @@ -1,10 +1,11 @@ <%= flash_messages %> - -<h1><%= t('admin.editing_page') %></h1> - -<%= form_for @item, :url => admin_page_path(@item) do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> - <p> - <%= f.submit t('update') %> <%= link_back %> - </p> -<% end %> \ No newline at end of file +<div id="poststuff"> + <h1><%= t('admin.editing_page') %></h1> + <%= form_for @item, :url => admin_page_path(@item), :html => { :class => 'form-horizontal edit_page' } do |f| %> + <%= render :partial => "form", :locals => { :f => f } %> + <div class="form-actions"> + <%= f.submit t('update'), :class => 'btn btn-primary' %> + <%= link_to t('cancel'), get_go_back, :class=>"btn" %> + </div> + <% end %> +</div> \ No newline at end of file diff --git a/app/views/admin/pages/_form.html.erb b/app/views/admin/pages/_form.html.erb index 7aae7c008..36e6e0080 100644 --- a/app/views/admin/pages/_form.html.erb +++ b/app/views/admin/pages/_form.html.erb @@ -1,52 +1,92 @@ <%= f.error_messages %> <%= f.hidden_field :parent, :value => (@item.parent.id rescue nil) %> -<p> -<%= f.label :name, t('admin.name') %> -<%= f.text_field :name, :class => 'text' %> -</p> +<div class="control-group"> + <%= f.label :name, t('admin.name'), :class => 'control-label' %> + <div class="controls"> + <%= f.text_field :name, :class => 'text input-xlarge' %> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> <%= f.fields_for :i18n_variable, (@item.new_record? ? @item.build_i18n_variable : @item.i18n_variable) do |f| %> - <% @site_valid_locales.each do |locale| %> - <p> - <%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}" %> - <%= f.text_field locale %> - </p> - <% end %> + <% @site_valid_locales.each do |locale| %> + <div class="control-group"> + <%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}", :class => 'control-label' %> + <div class="controls"> + <%= f.text_field locale, :class => 'text input-xlarge' %> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> + </div> + <% end %> <% end %> -<p> - <%= t('admin.design_name') %> - <%= f.collection_select :design, @designs, :id, :title, {:selected => @design.id}, {:rel => admin_pages_path} %> -</p> -<p> - <%= t('admin.theme') %> - <%= f.select :theme_id, @design.themes.collect { |t| [t.name.capitalize, t.id] }, :include_blank => true %> -</p> -<p> - <%= t('admin.module_app') %> - <%= render :partial => "app_selector", :locals => { :f => f } %> - <span id="app_page_url"><%= select('page','app_frontend_url', @app_frontend_urls, :selected => @item.app_frontend_url ) rescue ''%> </span> - <span id="app_page_category"><%= select('page','category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @item[:category], :include_blank => true ) rescue ''%> </span> -</p> -<p> - <%= f.label :is_published, "#{t('admin.is_published')} ?" %> - <%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No -</p> -<p> - <%= f.label :menu_enabled_for, "#{t('admin.menu_enabled_for')}:" %> - <% @site_valid_locales.each do |valid_locale| %> - <%= check_box_tag 'page[menu_enabled_for][]', valid_locale, (@item.menu_enabled_for.nil? ? true : @item.menu_enabled_for.include?(valid_locale)) %> - <%= I18nVariable.from_locale(valid_locale) %> - <% end %> - <%= hidden_field_tag 'page[menu_enabled_for][]', '' %> -</p> -<p> - <%= f.label :enabled_for, "#{t('admin.enabled_for')}:" %> - <% @site_valid_locales.each do |valid_locale| %> - <%= check_box_tag 'page[enabled_for][]', valid_locale, (@item.enabled_for.nil? ? true : @item.enabled_for.include?(valid_locale)) %> - <%= I18nVariable.from_locale(valid_locale) %> - <% end %> - <%= hidden_field_tag 'page[enabled_for][]', '' %> -</p> +<div class="control-group"> + <%= f.label :name, t('admin.design_name'), :class => 'control-label' %> + <div class="controls"> + <%= f.collection_select :design, @designs, :id, :title, {:selected => @design.id}, {:rel => admin_pages_path} %> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> +<div class="control-group"> + <%= f.label :name, t('admin.theme'), :class => 'control-label' %> + <div class="controls"> + <%= f.select :theme_id, @design.themes.collect { |t| [t.name.capitalize, t.id] }, :include_blank => true %> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> +<div class="control-group"> + <%= f.label :name, t('admin.module_app'), :class => 'control-label' %> + <div class="controls"> + <%= render :partial => "app_selector", :locals => { :f => f } %> + <span id="app_page_url"> + <%= select('page','app_frontend_url', @app_frontend_urls, :selected => @item.app_frontend_url ) rescue ''%> + </span> + <span id="app_page_category"> + <%= select('page','category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @item[:category], :include_blank => true ) rescue ''%> + </span> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> +<div class="control-group"> + <%= f.label :is_published, "#{t('admin.is_published')} ?", :class => 'control-label' %> + <div class="controls"> + <label class="radio"> + <%= f.radio_button :is_published, true %> + Yes + </label> + <label class="radio"> + <%= f.radio_button :is_published, false %> + No + </label> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> +<div class="control-group"> + <%= f.label :menu_enabled_for, "#{t('admin.menu_enabled_for')}:", :class => 'control-label' %> + <div class="controls"> + <% @site_valid_locales.each do |valid_locale| %> + <label class="checkbox"> + <%= check_box_tag 'page[menu_enabled_for][]', valid_locale, (@item.menu_enabled_for.nil? ? true : @item.menu_enabled_for.include?(valid_locale)) %> + <%= I18nVariable.from_locale(valid_locale) %> + </label> + <% end %> + <%= hidden_field_tag 'page[menu_enabled_for][]', '' %> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> + +<div class="control-group"> + <%= f.label :enabled_for, "#{t('admin.enabled_for')}:", :class => 'control-label' %> + <div class="controls"> + <% @site_valid_locales.each do |valid_locale| %> + <label class="checkbox"> + <%= check_box_tag 'page[enabled_for][]', valid_locale, (@item.enabled_for.nil? ? true : @item.enabled_for.include?(valid_locale)) %> + <%= I18nVariable.from_locale(valid_locale) %> + </label> + <% end %> + <%= hidden_field_tag 'page[enabled_for][]', '' %> + <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> + </div> +</div> diff --git a/app/views/admin/pages/_new.html.erb b/app/views/admin/pages/_new.html.erb index a2991bece..d3190e0e2 100644 --- a/app/views/admin/pages/_new.html.erb +++ b/app/views/admin/pages/_new.html.erb @@ -1,13 +1,11 @@ -<h1><%= t('admin.new_page') %></h1> - <%= flash_messages %> - -<%= form_for @item, :url => admin_pages_path, :html => { :class => 'form' } do |f| %> - - <%= render :partial => "form", :locals => { :f => f } %> - - <p> - <%= f.submit t('create') %> <%= link_back %> - </p> - -<% end %> \ No newline at end of file +<div id="poststuff"> + <h1><%= t('admin.new_page') %></h1> + <%= form_for @item, :url => admin_page_path, :html => { :class => 'form-horizontal edit_page' } do |f| %> + <%= render :partial => "form", :locals => { :f => f } %> + <div class="form-actions"> + <%= f.submit t('update'), :class => 'btn btn-primary' %> + <%= link_to t('cancel'), get_go_back, :class=>"btn" %> + </div> + <% end %> +</div> \ No newline at end of file diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb index 180914b3c..f9dd868a3 100644 --- a/lib/parsers/parser_common.rb +++ b/lib/parsers/parser_common.rb @@ -175,6 +175,7 @@ module ParserCommon ret << "<div id='#{content['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>" if part ret << "<div class='edit_link' style='display:none'>" ret << " <a href='#{edit_admin_page_part_path(part.id)}' class='nav'>#{t(:edit)}</a>" if part + ret << '</div>' end case part.kind when 'text' @@ -189,7 +190,6 @@ module ParserCommon else '' end if part - ret << '</div>' if edit end scope = "<#{content.name}" content.attributes.each_pair do |key, value| From 281cfa6518651438809001dfae3e15d51bbca13a Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sun, 13 May 2012 21:55:39 +0800 Subject: [PATCH 16/26] Changes for widgets --- .../assets/javascripts/module.js.erb | 1 - .../orbit_frontend_component_controller.rb | 2 +- app/views/admin/page_parts/_text.html.erb | 4 ++- app/views/layouts/module_widget.html.erb | 4 ++- .../app/assets/javascripts/module_widget.js | 9 ----- .../widget/bulletins_controller.rb | 1 - .../widget/bulletins/_index.html.erb | 29 +++++++++++++++ .../bulletins_and_web_links.html.erb | 6 +++- .../widget/bulletins/index.html.erb | 32 ++--------------- .../widget/bulletins/index.js.erb | 1 + .../news/widget/news_bulletins_controller.rb | 7 ++-- .../widget/news_bulletins/_index.html.erb | 33 +++++++++++++++++ .../news/widget/news_bulletins/index.html.erb | 36 ++----------------- .../news/widget/news_bulletins/index.js.erb | 1 + .../news_bulletins_and_web_links.html.erb | 6 +++- vendor/built_in_modules/news/news.json | 2 +- .../assets/javascripts/web_resource/.gitkeep | 0 .../front_end/web_links_controller.rb | 2 +- .../front_end/web_links/index.html.erb | 2 +- .../front_end/web_links/index.js.erb | 1 + .../web_resource/config/routes.rb | 1 - .../web_resource/web_resource.json | 2 +- 22 files changed, 95 insertions(+), 87 deletions(-) rename vendor/built_in_modules/news/app/assets/javascripts/module_widget.js => app/assets/javascripts/module.js.erb (95%) delete mode 100644 vendor/built_in_modules/announcement/app/assets/javascripts/module_widget.js create mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb create mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.js.erb create mode 100644 vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb create mode 100644 vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.js.erb delete mode 100644 vendor/built_in_modules/web_resource/app/assets/javascripts/web_resource/.gitkeep create mode 100644 vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb diff --git a/vendor/built_in_modules/news/app/assets/javascripts/module_widget.js b/app/assets/javascripts/module.js.erb similarity index 95% rename from vendor/built_in_modules/news/app/assets/javascripts/module_widget.js rename to app/assets/javascripts/module.js.erb index aea46d72a..fc19b8e61 100644 --- a/vendor/built_in_modules/news/app/assets/javascripts/module_widget.js +++ b/app/assets/javascripts/module.js.erb @@ -6,4 +6,3 @@ // //= require jquery //= require jquery_ujs -//= require news_link \ No newline at end of file diff --git a/app/controllers/orbit_frontend_component_controller.rb b/app/controllers/orbit_frontend_component_controller.rb index 185dbce67..09621e5f4 100644 --- a/app/controllers/orbit_frontend_component_controller.rb +++ b/app/controllers/orbit_frontend_component_controller.rb @@ -1,7 +1,7 @@ class OrbitFrontendComponentController< ApplicationController before_filter :setup_vars before_filter {|c| c.front_end_available(@app_title)} - layout :false + layout "module_widget" def setup_vars @app_title = request.fullpath.split('/')[2] diff --git a/app/views/admin/page_parts/_text.html.erb b/app/views/admin/page_parts/_text.html.erb index 4193cf505..529773e31 100644 --- a/app/views/admin/page_parts/_text.html.erb +++ b/app/views/admin/page_parts/_text.html.erb @@ -8,5 +8,7 @@ <% end %> <script> - load_tinymce(); + $(document).ready(function() { + load_tinymce(); + }); </script> diff --git a/app/views/layouts/module_widget.html.erb b/app/views/layouts/module_widget.html.erb index 44a2be85c..793f73709 100644 --- a/app/views/layouts/module_widget.html.erb +++ b/app/views/layouts/module_widget.html.erb @@ -5,7 +5,9 @@ <%= javascript_include_tag "html5" %> <![endif]--> <%#= stylesheet_link_tag "module_widget" %> - <%= javascript_include_tag "module_widget" %> + <%= javascript_include_tag "module" %> + <%#= javascript_include_tag "#{@app_title}/module_widget" %> + <%= yield :page_specific_javascript %> <%= csrf_meta_tag %> </head> <body> diff --git a/vendor/built_in_modules/announcement/app/assets/javascripts/module_widget.js b/vendor/built_in_modules/announcement/app/assets/javascripts/module_widget.js deleted file mode 100644 index 9c429aacd..000000000 --- a/vendor/built_in_modules/announcement/app/assets/javascripts/module_widget.js +++ /dev/null @@ -1,9 +0,0 @@ -// This is a manifest file that'll be compiled into including all the files listed below. -// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically -// be included in the compiled file accessible from http://example.com/assets/application.js -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// the compiled file. -// -//= require jquery -//= require jquery_ujs -//= require announcement_link \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb index 57295cc71..ad3eec72d 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb @@ -31,7 +31,6 @@ class Panel::Announcement::Widget::BulletinsController < OrbitWidgetController @selected_tag = AnnouncementTag.find(params[:id]) rescue @tags[0] @bulletins = @selected_tag.get_visible_bulletins.can_display.page(params[:page]).per(5) rescue nil @web_links = WebResourceTag.first(:conditions => {:en => @selected_tag[:en]}).get_visible_links.page(params[:page]).per(5) rescue nil - render :layout => 'module_widget' end def reload_bulletins diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb new file mode 100644 index 000000000..4213ed294 --- /dev/null +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb @@ -0,0 +1,29 @@ +<% if @current_category %> + <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> +<% elsif @tag %> + <h1 class="h1"><%= @tag[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> +<% else %> + <h1 class="h1"><%= t('announcement.list_announcement') %></h1> +<% end %> + + +<table class="table table-bordered"> + <tr> + <th><%= t('announcement.bulletin.category') %></th> + <th><%= t('announcement.bulletin.title') %></th> + <th><%= t('announcement.bulletin.postdate') %></th> + </tr> + +<% @bulletins.each do |post| %> + <tr> + <td><%= post.bulletin_category.i18n_variable[I18n.locale] %></td> + <td><%= link_to post.title[I18n.locale], panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %> + </td> + <td><%= post.postdate %></td> + </tr> + +<% end %> + +</table> + +<%= paginate @bulletins, :params => {:inner => 'true'}, :remote => true %> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/bulletins_and_web_links.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/bulletins_and_web_links.html.erb index 3e6281207..50ae0674d 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/bulletins_and_web_links.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/bulletins_and_web_links.html.erb @@ -16,4 +16,8 @@ <ul id='bulletins_web_links_web_links' class="links_list"> <%= render 'web_links' if @web_links %> </ul> -</div> \ No newline at end of file +</div> + +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "news_link" %> +<% end %> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb index c885488f2..dacb9eaf9 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb @@ -1,29 +1,3 @@ -<% if @current_category %> - <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> -<% elsif @tag %> - <h1 class="h1"><%= @tag[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> -<% else %> - <h1 class="h1"><%= t('announcement.list_announcement') %></h1> -<% end %> - - -<table class="table table-bordered"> - <tr> - <th><%= t('announcement.bulletin.category') %></th> - <th><%= t('announcement.bulletin.title') %></th> - <th><%= t('announcement.bulletin.postdate') %></th> - </tr> - -<% @bulletins.each do |post| %> - <tr> - <td><%= post.bulletin_category.i18n_variable[I18n.locale] %></td> - <td><%= link_to post.title[I18n.locale], panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %> - </td> - <td><%= post.postdate %></td> - </tr> - -<% end %> - -</table> - -<%= paginate @bulletins, :params => {:inner => 'false'} %> \ No newline at end of file +<div id="bulletin_widget"> + <%= render 'index' %> +</div> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.js.erb new file mode 100644 index 000000000..e1be79eb2 --- /dev/null +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.js.erb @@ -0,0 +1 @@ +$('#bulletin_widget').html("<%= j render 'index' %>") \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb index a6d20ca73..27e83c005 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb @@ -11,14 +11,14 @@ class Panel::News::Widget::NewsBulletinsController < OrbitWidgetController def index date_now = Time.now if !params[:category_id].blank? - @news_bulletins = NewsBulletin.can_display.where(:news_bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @news_bulletins = NewsBulletin.can_display.where(:news_bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(5) @current_category = NewsBulletinCategory.from_id(params[:category_id]) rescue nil elsif !params[:tag_id].blank? @tag = NewsTag.find(params[:tag_id]) rescue nil @tag = NewsTag.where(key: params[:tag_id])[0] unless @tag - @news_bulletins = @tag.news_bulletins.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) rescue nil + @news_bulletins = @tag.news_bulletins.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(5) rescue nil else - @news_bulletins = NewsBulletin.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @news_bulletins = NewsBulletin.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(5) end end @@ -28,7 +28,6 @@ class Panel::News::Widget::NewsBulletinsController < OrbitWidgetController @selected_tag = NewsTag.find(params[:id]) rescue @tags[0] @news_bulletins = @selected_tag.get_visible_news_bulletins.can_display.page(params[:page]).per(5) rescue nil @web_links = WebResourceTag.first(:conditions => {:en => @selected_tag[:en]}).get_visible_links.page(params[:page]).per(5) rescue nil - render :layout => 'module_widget' end def reload_news_bulletins diff --git a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb new file mode 100644 index 000000000..fd3d477a9 --- /dev/null +++ b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb @@ -0,0 +1,33 @@ +<% # encoding: utf-8 %> + +<%= flash_messages %> + +<% if @current_category %> + <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> +<% elsif @tag %> + <h1 class="h1"><%= @tag[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> +<% else %> + <h1 class="h1"><%= t('news.list_news') %></h1> +<% end %> + +<table class="table table-bordered"> + <tbody> + <tr> + <th class="span2"><%= t('news.news_bulletin.image') %></th> + <th><%= t('news.news_bulletin.title') %></th> + <th class="span2 pagination-right"><%= t('news.news_bulletin.postdate') %></th> + </tr> + <% @news_bulletins.each do |post| %> + <tr> + <td><%= image_tag post.image %></td> + <td> + <%= link_to post.title[I18n.locale], panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %> + <%= post.subtitle[I18n.locale].html_safe %> + </td> + <td><%= post.postdate %></td> + </tr> + <% end %> + </tbody> +</table> + +<%= paginate @news_bulletins, :params => {:inner => 'true'}, :remote => true %> diff --git a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.html.erb b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.html.erb index bb2ff639e..1b59c3f91 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.html.erb @@ -1,33 +1,3 @@ -<% # encoding: utf-8 %> - -<%= flash_messages %> - -<% if @current_category %> - <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> -<% elsif @tag %> - <h1 class="h1"><%= @tag[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> -<% else %> - <h1 class="h1"><%= t('news.list_news') %></h1> -<% end %> - -<table class="table table-bordered"> - <tbody> - <tr> - <th class="span2"><%= t('news.news_bulletin.image') %></th> - <th><%= t('news.news_bulletin.title') %></th> - <th class="span2 pagination-right"><%= t('news.news_bulletin.postdate') %></th> - </tr> - <% @news_bulletins.each do |post| %> - <tr> - <td><%= image_tag post.image %></td> - <td> - <%= link_to post.title[I18n.locale], panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %> - <%= post.subtitle[I18n.locale].html_safe %> - </td> - <td><%= post.postdate %></td> - </tr> - <% end %> - </tbody> -</table> - -<%= paginate @news_bulletins, :params => {:inner => 'false'} %> +<div id='news_bulletin_widget'> + <%= render 'index' %> +</div> \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.js.erb b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.js.erb new file mode 100644 index 000000000..d4862b877 --- /dev/null +++ b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/index.js.erb @@ -0,0 +1 @@ +$('#news_bulletin_widget').html("<%= j render 'index' %>") \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/news_bulletins_and_web_links.html.erb b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/news_bulletins_and_web_links.html.erb index 9e8ae742b..b71f26f98 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/news_bulletins_and_web_links.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/news_bulletins_and_web_links.html.erb @@ -16,4 +16,8 @@ <ul id='news_bulletins_web_links_web_links' class="links_list"> <%= render 'web_links' if @web_links %> </ul> -</div> \ No newline at end of file +</div> + +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "announcement_link" %> +<% end %> \ No newline at end of file diff --git a/vendor/built_in_modules/news/news.json b/vendor/built_in_modules/news/news.json index 74b2bfcc5..e1b5c95ed 100644 --- a/vendor/built_in_modules/news/news.json +++ b/vendor/built_in_modules/news/news.json @@ -7,6 +7,6 @@ "update_info": "Some info", "create_date": "11-11-2011", "app_pages": ["news_bulletins"], - "widgets": ["news_bulletins", "news_bulletins_and_web_links", "home_banner"], + "widgets": ["news_bulletins", "home_banner"], "enable_frontend": true } diff --git a/vendor/built_in_modules/web_resource/app/assets/javascripts/web_resource/.gitkeep b/vendor/built_in_modules/web_resource/app/assets/javascripts/web_resource/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb index 828049791..e605c7686 100644 --- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb +++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb @@ -12,7 +12,7 @@ class Panel::WebResource::FrontEnd::WebLinksController < OrbitWidgetController date_now = Time.now - @web_links = WebLink.where( :is_hidden => false ).desc(:is_top, :name).page( params[:page]).per(20) + @web_links = WebLink.where( :is_hidden => false ).desc(:is_top, :name).page(params[:page]).per(10) get_categorys end diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb index 2c30da53c..2c32f8008 100644 --- a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb +++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.html.erb @@ -2,7 +2,7 @@ <%= flash_messages %> -<%= paginate @web_links %> +<%= paginate @web_links, :params => {:inner => false}%> <h1><%= t('web_link.list_web_resource') %></h1> diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb new file mode 100644 index 000000000..c5efda634 --- /dev/null +++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/front_end/web_links/index.js.erb @@ -0,0 +1 @@ +alert('bob'); \ No newline at end of file diff --git a/vendor/built_in_modules/web_resource/config/routes.rb b/vendor/built_in_modules/web_resource/config/routes.rb index fed85983f..02c81a827 100644 --- a/vendor/built_in_modules/web_resource/config/routes.rb +++ b/vendor/built_in_modules/web_resource/config/routes.rb @@ -13,7 +13,6 @@ Rails.application.routes.draw do resources :tags end namespace :front_end do - root :to => "web_links#index" resources :web_links end namespace :widget do diff --git a/vendor/built_in_modules/web_resource/web_resource.json b/vendor/built_in_modules/web_resource/web_resource.json index c27bf7314..f87f06a29 100644 --- a/vendor/built_in_modules/web_resource/web_resource.json +++ b/vendor/built_in_modules/web_resource/web_resource.json @@ -7,6 +7,6 @@ "update_info": "Some info", "create_date": "11-11-2011", "app_pages": ["web_links"], - "widgets": ["web_links", "home_list"], + "widgets": ["home_list"], "enable_frontend": true } From 4ae829994936941ac80cca3edc02f19c77de7ae5 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sun, 13 May 2012 22:35:00 +0800 Subject: [PATCH 17/26] Add custom title to widgets Fix pagination conflict with main_content and widgets --- app/controllers/pages_controller.rb | 2 +- app/models/page_part.rb | 20 ++++++++++++++++++- .../admin/page_parts/_module_widget.html.erb | 11 ++++++++++ lib/parsers/parser_common.rb | 5 +++-- .../front_end/bulletins_controller.rb | 6 +++--- .../widget/bulletins_controller.rb | 2 +- .../front_end/bulletins/index.html.erb | 2 +- .../widget/bulletins/_index.html.erb | 8 ++------ .../front_end/news_bulletins_controller.rb | 6 +++--- .../news/widget/news_bulletins_controller.rb | 1 + .../front_end/news_bulletins/index.html.erb | 2 +- .../widget/news_bulletins/_index.html.erb | 10 ++-------- .../widget/web_links_controller.rb | 1 + .../widget/web_links/home_list.html.erb | 4 +++- 14 files changed, 52 insertions(+), 28 deletions(-) diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index c4a571dd1..452994501 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -34,7 +34,7 @@ class PagesController < ApplicationController def index_from_link url = "/#{@item.path}" options = '' - options << "?page=#{params[:page]}" unless params[:page].blank? + options << "?page_main=#{params[:page_main]}" unless params[:page_main].blank? options << "#{options.blank? ? '?' : '&'}category_id=#{params[:category_id]}" unless params[:category_id].blank? options << "#{options.blank? ? '?' : '&'}tag_id=#{params[:tag_id]}" unless params[:tag_id].blank? redirect_to url + options diff --git a/app/models/page_part.rb b/app/models/page_part.rb index 8bb1bc72a..52eafdf31 100644 --- a/app/models/page_part.rb +++ b/app/models/page_part.rb @@ -11,9 +11,27 @@ class PagePart field :public_r_tag_option, :default => nil field :widget_path - has_one :i18n_variable, :as => :language_value, :autosave => true, :dependent => :destroy + has_one :i18n_variable, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy + has_one :title, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy belongs_to :page belongs_to :module_app + before_save :set_key + + def i18n_variable + @i18n_variable ||= I18nVariable.first(:conditions => {:key => 'i18n_variable', :language_value_id => self.id, :language_value_type => self.class}) rescue nil + end + + def title + @title ||= I18nVariable.first(:conditions => {:key => 'title', :language_value_id => self.id, :language_value_type => self.class}) rescue nil + end + + protected + + def set_key + title.key = 'title' if title && (title.key.blank? rescue true) + i18n_variable.key = 'i18n_variable' if i18n_variable && (i18n_variable.key.blank? rescue true) + end + end \ No newline at end of file diff --git a/app/views/admin/page_parts/_module_widget.html.erb b/app/views/admin/page_parts/_module_widget.html.erb index 3f81a5ae0..1a1dd63cc 100644 --- a/app/views/admin/page_parts/_module_widget.html.erb +++ b/app/views/admin/page_parts/_module_widget.html.erb @@ -1,3 +1,14 @@ +<div> + <%= f.fields_for :title, @part.title do |f| %> + <% @site_valid_locales.each do |locale| %> + <p> + <%= f.label :locale, "#{t('admin.title')} #{I18nVariable.from_locale(locale)}" %> + <%= f.text_field locale %> + </p> + <% end %> +<% end %> +</div> + <span id='module_app_list'> <%= f.select :module_app, options_from_collection_for_select(@module_apps, :id, :title, :selected => @module_app.id), {}, {:rel => admin_page_parts_path} %> </span> diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb index f9dd868a3..b9c566420 100644 --- a/lib/parsers/parser_common.rb +++ b/lib/parsers/parser_common.rb @@ -167,10 +167,11 @@ module ParserCommon if (content["main"] == "true" && !page.module_app.nil?) ret << "<div id='appfrontend' class='dymanic_load' path='/panel/#{page.module_app.key}/front_end/#{page.app_frontend_url}" ret << "/#{params[:id]}" if params[:id] && !params[:id].eql?(page.id.to_s) - ret << "?inner=true&page_id=#{page.id}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}&preview=#{params[:preview]}&page=#{params[:page]}" + ret << "?inner=true&page_id=#{page.id}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}&preview=#{params[:preview]}&page_main=#{params[:page_main]}" ret << "'></div>" else part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil + part_title = part.title[I18n.locale] rescue nil if edit ret << "<div id='#{content['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>" if part ret << "<div class='edit_link' style='display:none'>" @@ -182,7 +183,7 @@ module ParserCommon ret << part.i18n_variable[I18n.locale] rescue '' when 'module_widget' url = "/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true" - options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : params[:category_id]}&tag_id=#{!part[:tag].blank? ? part[:tag] : params[:tag_id]}&page=#{params[:page]}" + options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : params[:category_id]}&tag_id=#{!part[:tag].blank? ? part[:tag] : params[:tag_id]}&page=#{params[:page]}&part_title=part_title" ret << "<div class='dymanic_load' path='#{url + options}'></div>" when 'public_r_tag' ret << "<r:#{part.public_r_tag} id='#{part.public_r_tag_object_id}'/>" diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/front_end/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/front_end/bulletins_controller.rb index 725ffac9d..56cbb312f 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/front_end/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/front_end/bulletins_controller.rb @@ -12,14 +12,14 @@ class Panel::Announcement::FrontEnd::BulletinsController < OrbitWidgetController date_now = Time.now if !params[:category_id].blank? - @bulletins = Bulletin.can_display.where(:bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @bulletins = Bulletin.can_display.where(:bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page_main]).per(10) @current_category = BulletinCategory.from_id(params[:category_id]) rescue nil elsif !params[:tag_id].blank? @tag = AnnouncementTag.find(params[:tag_id]) rescue nil @tag = AnnouncementTag.where(key: params[:tag_id])[0] unless @tag - @bulletins = @tag.bulletins.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @bulletins = @tag.bulletins.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page_main]).per(10) else - @bulletins = Bulletin.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @bulletins = Bulletin.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page_main]).per(10) end end diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb index ad3eec72d..2a7c6b1fb 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb @@ -9,7 +9,7 @@ class Panel::Announcement::Widget::BulletinsController < OrbitWidgetController # GET /bulletins.xml def index - + @title = params[:page_title] date_now = Time.now if !params[:category_id].blank? @bulletins = Bulletin.can_display.where(:bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb index 086794b9a..f09d8b70d 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb @@ -29,5 +29,5 @@ </table> -<%= paginate @bulletins, :params => {:inner => 'false'} %> +<%= paginate @bulletins, :param_name => :page_main, :params => {:inner => 'false'} %> diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb index 4213ed294..c0fe606ff 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/_index.html.erb @@ -1,9 +1,5 @@ -<% if @current_category %> - <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> -<% elsif @tag %> - <h1 class="h1"><%= @tag[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> -<% else %> - <h1 class="h1"><%= t('announcement.list_announcement') %></h1> +<% if @title %> + <h1 class="h1"><%= @title %></h1> <% end %> diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/front_end/news_bulletins_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/front_end/news_bulletins_controller.rb index 263d1cf24..57ff9e0a0 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/front_end/news_bulletins_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/front_end/news_bulletins_controller.rb @@ -11,13 +11,13 @@ class Panel::News::FrontEnd::NewsBulletinsController < OrbitWidgetController def index date_now = Time.now if !params[:category_id].blank? - @news_bulletins = NewsBulletin.can_display.where(:news_bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @news_bulletins = NewsBulletin.can_display.where(:news_bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page_main]).per(10) elsif !params[:tag_id].blank? tmp = NewsTag.find(params[:tag_id]) rescue nil tmp = NewsTag.where(key: params[:tag_id])[0] unless tmp - @news_bulletins = tmp.news_bulletins.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) rescue nil + @news_bulletins = tmp.news_bulletins.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page_main]).per(10) rescue nil else - @news_bulletins = NewsBulletin.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) + @news_bulletins = NewsBulletin.can_display.any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page_main]).per(10) end get_categorys diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb index 27e83c005..263d83020 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb @@ -9,6 +9,7 @@ class Panel::News::Widget::NewsBulletinsController < OrbitWidgetController # GET /news_bulletins.xml def index + @title = params[:page_title] date_now = Time.now if !params[:category_id].blank? @news_bulletins = NewsBulletin.can_display.where(:news_bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(5) diff --git a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb index 9fc3f1291..ade5e6a7d 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb @@ -28,5 +28,5 @@ </tbody> </table> -<%= paginate @news_bulletins, :params => {:inner => 'false'} %> +<%= paginate @news_bulletins, :param_name => :page_main, :params => {:inner => 'false'} %> diff --git a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb index fd3d477a9..d345f0375 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/widget/news_bulletins/_index.html.erb @@ -1,13 +1,7 @@ <% # encoding: utf-8 %> -<%= flash_messages %> - -<% if @current_category %> - <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> -<% elsif @tag %> - <h1 class="h1"><%= @tag[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> -<% else %> - <h1 class="h1"><%= t('news.list_news') %></h1> +<% if @title %> + <h1 class="h1"><%= @title %></h1> <% end %> <table class="table table-bordered"> diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb index ec57451c4..441933d48 100644 --- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb +++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb @@ -25,6 +25,7 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController def home_list + @title = params[:page_title] # deadline diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb index 5be530411..1f9fd3049 100644 --- a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb +++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/home_list.html.erb @@ -1,5 +1,7 @@ <div class="quicklinks"> - <h3 class="link_title"><%= t("announcement.related_links") %></h3> + <% if @title %> + <h3 class="link_title"><%= @title %></h3> + <% end %> <div id='web_links_links'> <%= render 'web_links' %> From 62e9a772f65ea9aadc6af1cad80c4691155f841a Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sun, 13 May 2012 23:09:48 +0800 Subject: [PATCH 18/26] Fix titles for widgets Add translations --- app/views/admin/page_parts/_edit.html.erb | 2 +- config/locales/en.yml | 4 ++++ config/locales/zh_tw.yml | 4 ++++ lib/parsers/parser_common.rb | 2 +- .../panel/announcement/widget/bulletins_controller.rb | 2 +- .../panel/announcement/front_end/bulletins/index.html.erb | 4 ++-- vendor/built_in_modules/announcement/config/locales/en.yml | 2 +- vendor/built_in_modules/announcement/config/locales/zh_tw.yml | 2 +- .../panel/news/widget/news_bulletins_controller.rb | 2 +- .../views/panel/news/front_end/news_bulletins/index.html.erb | 4 ++-- vendor/built_in_modules/news/config/locales/en.yml | 2 +- vendor/built_in_modules/news/config/locales/zh_tw.yml | 4 ++-- .../panel/web_resource/widget/web_links_controller.rb | 2 +- 13 files changed, 22 insertions(+), 14 deletions(-) diff --git a/app/views/admin/page_parts/_edit.html.erb b/app/views/admin/page_parts/_edit.html.erb index ec99c5556..eaee4d8f1 100644 --- a/app/views/admin/page_parts/_edit.html.erb +++ b/app/views/admin/page_parts/_edit.html.erb @@ -2,7 +2,7 @@ <% LIST[:page_part_kinds].each do |kind| %> <%= f.radio_button :kind, kind, :class => 'part_kind' %> - <%= t(kind) %> + <%= t(kind, :scope => 'admin.page_part_kinds') %> <% end %> <% LIST[:page_part_kinds].each do |kind| %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 07bfe189e..0d0707cc5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -200,6 +200,10 @@ en: options: Options orig_upload_file: Original filename page: Page + page_part_kinds: + text: Text Area + public_r_tag: System Widget + module_widget: Plug-in Module Widget position: Position published?: Published? purchase: Purchase diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index ae1b92f34..b4d644c7b 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -195,6 +195,10 @@ zh_tw: options: 選項 orig_upload_file: 原上傳檔名 page: 頁面管理 + page_part_kinds: + text: 文字區塊 + public_r_tag: 系統模塊 + module_widget: 外掛模塊 position: 位置 published?: 發布? purchase: 購買 diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb index b9c566420..4afa586cb 100644 --- a/lib/parsers/parser_common.rb +++ b/lib/parsers/parser_common.rb @@ -183,7 +183,7 @@ module ParserCommon ret << part.i18n_variable[I18n.locale] rescue '' when 'module_widget' url = "/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true" - options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : params[:category_id]}&tag_id=#{!part[:tag].blank? ? part[:tag] : params[:tag_id]}&page=#{params[:page]}&part_title=part_title" + options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : params[:category_id]}&tag_id=#{!part[:tag].blank? ? part[:tag] : params[:tag_id]}&page=#{params[:page]}&part_title=#{Rack::Utils.escape(part_title).gsub("+", "%20") rescue nil}" ret << "<div class='dymanic_load' path='#{url + options}'></div>" when 'public_r_tag' ret << "<r:#{part.public_r_tag} id='#{part.public_r_tag_object_id}'/>" diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb index 2a7c6b1fb..316a715b4 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/widget/bulletins_controller.rb @@ -9,7 +9,7 @@ class Panel::Announcement::Widget::BulletinsController < OrbitWidgetController # GET /bulletins.xml def index - @title = params[:page_title] + @title = params[:part_title] date_now = Time.now if !params[:category_id].blank? @bulletins = Bulletin.can_display.where(:bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(10) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb index f09d8b70d..16ac7d8bc 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb @@ -3,9 +3,9 @@ <%= flash_messages %> <% if @current_category %> - <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('announcement.bulletin.list_lower') %></h1> + <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] %></h1> <% else %> - <h1 class="h1"><%= t('announcement.list_announcement') %></h1> + <h1 class="h1"><%= t('announcement.announcement') %></h1> <% end %> diff --git a/vendor/built_in_modules/announcement/config/locales/en.yml b/vendor/built_in_modules/announcement/config/locales/en.yml index 5a1d2f13e..4d4d426d6 100644 --- a/vendor/built_in_modules/announcement/config/locales/en.yml +++ b/vendor/built_in_modules/announcement/config/locales/en.yml @@ -58,6 +58,7 @@ en: announcement: all_articles: List add_new: Add + announcement: Announcement categories: Categories error: no_avilb_cate_for_posting: You need a category to submit your post,please contact admin @@ -66,7 +67,6 @@ en: more: more+ bulletins: Bulletins related_links: Related Links - list_announcement: List Announcement bulletin: submit_user_list: Submit User category: Category diff --git a/vendor/built_in_modules/announcement/config/locales/zh_tw.yml b/vendor/built_in_modules/announcement/config/locales/zh_tw.yml index 5e559b6a3..4fb22bb9e 100644 --- a/vendor/built_in_modules/announcement/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/announcement/config/locales/zh_tw.yml @@ -37,6 +37,7 @@ zh_tw: announcement: add_new: 新增 all_articles: 列表 + announcement: 公告 error: no_avilb_cate_for_posting: 您目前沒有分類可以刊登公告,請聯絡系統管理員為您開通分類 tags: 標籤 @@ -47,7 +48,6 @@ zh_tw: more: 更多+ bulletins: 公告訊息 related_links: 相關連結 - list_announcement: 公告列表 bulletin: category: 分類 submit_user_list: 張貼人 diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb index 263d83020..dad3c7811 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/widget/news_bulletins_controller.rb @@ -9,7 +9,7 @@ class Panel::News::Widget::NewsBulletinsController < OrbitWidgetController # GET /news_bulletins.xml def index - @title = params[:page_title] + @title = params[:part_title] date_now = Time.now if !params[:category_id].blank? @news_bulletins = NewsBulletin.can_display.where(:news_bulletin_category_id => params[:category_id]).any_of( {deadline: nil,:postdate.lte => date_now} , {:deadline.gte => date_now,:postdate.lte => date_now} ).desc( :is_top, :postdate).page( params[:page]).per(5) diff --git a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb index ade5e6a7d..4c2292a61 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.html.erb @@ -3,9 +3,9 @@ <%= flash_messages %> <% if @current_category %> - <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] + t('news.news_bulletin.list_lower') %></h1> + <h1 class="h1"><%= @current_category.i18n_variable[I18n.locale] %></h1> <% else %> - <h1 class="h1"><%= t('news.list_news') %></h1> + <h1 class="h1"><%= t('news.news') %></h1> <% end %> <table class="table table-bordered"> diff --git a/vendor/built_in_modules/news/config/locales/en.yml b/vendor/built_in_modules/news/config/locales/en.yml index 557a643bc..37f06ea43 100644 --- a/vendor/built_in_modules/news/config/locales/en.yml +++ b/vendor/built_in_modules/news/config/locales/en.yml @@ -63,7 +63,7 @@ en: more: more+ news_bulletins: NewsBulletins related_links: Related Links - list_news: List News + news: News news_bulletin: category: Category list_lower: " list" diff --git a/vendor/built_in_modules/news/config/locales/zh_tw.yml b/vendor/built_in_modules/news/config/locales/zh_tw.yml index afbca2b0f..290df5e60 100644 --- a/vendor/built_in_modules/news/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/news/config/locales/zh_tw.yml @@ -43,9 +43,9 @@ zh_tw: sure?: 確定嗎? campus_news: 校園新聞 more: 更多+ - news_bulletins: 公告訊息 + news_bulletins: 新聞訊息 related_links: 相關連結 - list_news: 公告列表 + news: 新聞 news_bulletin: category: 分類 list_lower: 列表 diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb index 441933d48..504e82e1a 100644 --- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb +++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb @@ -25,7 +25,7 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController def home_list - @title = params[:page_title] + @title = params[:part_title] # deadline From e40c76bf5f3208e1f6c559d97aff1e7bc26a0e46 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Sun, 13 May 2012 23:48:34 +0800 Subject: [PATCH 19/26] Fix new page form Redirect to home when not authorized Get only module_apps with app_pages for new and edit page Change web_resource.json --- app/controllers/admin/pages_controller.rb | 4 ++-- app/controllers/orbit_backend_controller.rb | 2 +- app/views/admin/pages/_new.html.erb | 2 +- vendor/built_in_modules/web_resource/web_resource.json | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/controllers/admin/pages_controller.rb b/app/controllers/admin/pages_controller.rb index 657543191..71153a147 100644 --- a/app/controllers/admin/pages_controller.rb +++ b/app/controllers/admin/pages_controller.rb @@ -20,14 +20,14 @@ class Admin::PagesController < ApplicationController def new @item = Page.new @item.parent = Item.find(params[:parent_id]) rescue nil - @apps = ModuleApp.all + @apps = ModuleApp.excludes(app_pages: nil).entries @designs = Design.all.entries @design = Design.first end def edit @item = Page.find(params[:id]) - @apps = ModuleApp.all + @apps = ModuleApp.excludes(app_pages: nil).entries @designs = Design.all.entries @design = @item.design ? @item.design : @designs.first @app_frontend_urls = @item.module_app.app_pages if @item.module_app diff --git a/app/controllers/orbit_backend_controller.rb b/app/controllers/orbit_backend_controller.rb index a03a1f6c0..bdddfb43d 100644 --- a/app/controllers/orbit_backend_controller.rb +++ b/app/controllers/orbit_backend_controller.rb @@ -23,7 +23,7 @@ class OrbitBackendController< ApplicationController def check_user_can_use unless check_permission #redirect_to polymorphic_path(['panel',@app_title,'back_end','public']) - render :text => '403 Forbidden' + redirect_to root_url end end diff --git a/app/views/admin/pages/_new.html.erb b/app/views/admin/pages/_new.html.erb index d3190e0e2..ecbda3de0 100644 --- a/app/views/admin/pages/_new.html.erb +++ b/app/views/admin/pages/_new.html.erb @@ -1,7 +1,7 @@ <%= flash_messages %> <div id="poststuff"> <h1><%= t('admin.new_page') %></h1> - <%= form_for @item, :url => admin_page_path, :html => { :class => 'form-horizontal edit_page' } do |f| %> + <%= form_for @item, :url => admin_pages_path, :html => { :class => 'form-horizontal edit_page' } do |f| %> <%= render :partial => "form", :locals => { :f => f } %> <div class="form-actions"> <%= f.submit t('update'), :class => 'btn btn-primary' %> diff --git a/vendor/built_in_modules/web_resource/web_resource.json b/vendor/built_in_modules/web_resource/web_resource.json index f87f06a29..a854d31bb 100644 --- a/vendor/built_in_modules/web_resource/web_resource.json +++ b/vendor/built_in_modules/web_resource/web_resource.json @@ -6,7 +6,6 @@ "intro": "A simple blog……", "update_info": "Some info", "create_date": "11-11-2011", - "app_pages": ["web_links"], "widgets": ["home_list"], "enable_frontend": true } From cf8d20dc84a192eb70afaae4fd988e5d2e7c7003 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou <chris.vilayphiou@gmail.com> Date: Mon, 14 May 2012 00:33:52 +0800 Subject: [PATCH 20/26] Add category and tag to pages --- app/controllers/admin/module_apps_controller.rb | 12 +++++++++++- app/controllers/admin/pages_controller.rb | 3 +++ app/models/page.rb | 2 ++ .../admin/module_apps/reload_frontend_pages.js.erb | 3 ++- app/views/admin/pages/_form.html.erb | 3 +++ lib/parsers/parser_common.rb | 6 ++++-- 6 files changed, 25 insertions(+), 4 deletions(-) diff --git a/app/controllers/admin/module_apps_controller.rb b/app/controllers/admin/module_apps_controller.rb index c6a8d2b20..1393bf324 100644 --- a/app/controllers/admin/module_apps_controller.rb +++ b/app/controllers/admin/module_apps_controller.rb @@ -11,7 +11,17 @@ class Admin::ModuleAppsController < ApplicationController def reload_frontend_pages @module_app = ModuleApp.find(params[:id]) - @categories = @module_app.key.eql?('announcement') ? BulletinCategory.all : nil + case @module_app.key + when 'announcement' + @categories = BulletinCategory.all + @tags = AnnouncementTag.all + when 'news' + @categories = NewsBulletinCategory.all + @tags = NewsTag.all + when 'web_resource' + @categories = WebLinkCategory.all + @tags = WebResourceTag.all + end respond_to do |format| format.js {} end diff --git a/app/controllers/admin/pages_controller.rb b/app/controllers/admin/pages_controller.rb index 71153a147..44bda4aa4 100644 --- a/app/controllers/admin/pages_controller.rb +++ b/app/controllers/admin/pages_controller.rb @@ -35,10 +35,13 @@ class Admin::PagesController < ApplicationController case @item.module_app.key when 'announcement' @categories = BulletinCategory.all + @tags = AnnouncementTag.all when 'news' @categories = NewsBulletinCategory.all + @tags = NewsTag.all when 'web_resource' @categories = WebLinkCategory.all + @tags = WebResourceTag.all end else @categories = nil diff --git a/app/models/page.rb b/app/models/page.rb index 0378b6885..4bcb49a6b 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -3,6 +3,8 @@ class Page < Item field :content field :app_frontend_url field :theme_id, :type => BSON::ObjectId, :default => nil + field :category + field :tag belongs_to :design belongs_to :module_app diff --git a/app/views/admin/module_apps/reload_frontend_pages.js.erb b/app/views/admin/module_apps/reload_frontend_pages.js.erb index 3feb17cf1..2fc90b8eb 100644 --- a/app/views/admin/module_apps/reload_frontend_pages.js.erb +++ b/app/views/admin/module_apps/reload_frontend_pages.js.erb @@ -1,2 +1,3 @@ $('#app_page_url').html("<%= escape_javascript(select 'page', 'app_frontend_url', @module_app.app_pages) %>"); -$('#app_page_category').html("<%= escape_javascript(select 'page', 'category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}) if @categories %>"); \ No newline at end of file +$('#app_page_category').html("<%= j (select 'page', 'category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, {:include_blank => true}) if @categories %>"); +$('#app_page_tag').html("<%= j (select 'page', 'tag', @tags.collect{|tag| [tag[I18n.locale], tag.id]}, {:include_blank => true}) if @tags %>"); \ No newline at end of file diff --git a/app/views/admin/pages/_form.html.erb b/app/views/admin/pages/_form.html.erb index 36e6e0080..eff3e4df1 100644 --- a/app/views/admin/pages/_form.html.erb +++ b/app/views/admin/pages/_form.html.erb @@ -45,6 +45,9 @@ <span id="app_page_category"> <%= select('page','category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, :selected => @item[:category], :include_blank => true ) rescue ''%> </span> + <span id="app_page_tag"> + <%= select('page','tag', @tags.collect{|tag| [tag[I18n.locale], tag.id]}, :selected => @item[:tag], :include_blank => true ) rescue ''%> + </span> <!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> --> </div> </div> diff --git a/lib/parsers/parser_common.rb b/lib/parsers/parser_common.rb index 4afa586cb..d727e68ce 100644 --- a/lib/parsers/parser_common.rb +++ b/lib/parsers/parser_common.rb @@ -164,10 +164,12 @@ module ParserCommon public_r_tags = [] body.css('.page_content').each do |content| ret = '' + category = params[:category_id].blank? ? page[:category] : params[:category_id] + tag = params[:tag_id].blank? ? page[:tag] : params[:tag_id] if (content["main"] == "true" && !page.module_app.nil?) ret << "<div id='appfrontend' class='dymanic_load' path='/panel/#{page.module_app.key}/front_end/#{page.app_frontend_url}" ret << "/#{params[:id]}" if params[:id] && !params[:id].eql?(page.id.to_s) - ret << "?inner=true&page_id=#{page.id}&category_id=#{params[:category_id]}&tag_id=#{params[:tag_id]}&preview=#{params[:preview]}&page_main=#{params[:page_main]}" + ret << "?inner=true&page_id=#{page.id}&category_id=#{category}&tag_id=#{tag}&preview=#{params[:preview]}&page_main=#{params[:page_main]}" ret << "'></div>" else part = page.page_parts.detect{ |p| p.name.to_s == content['name'].to_s } rescue nil @@ -183,7 +185,7 @@ module ParserCommon ret << part.i18n_variable[I18n.locale] rescue '' when 'module_widget' url = "/panel/#{part.module_app.key}/widget/#{part.widget_path}?inner=true" - options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : params[:category_id]}&tag_id=#{!part[:tag].blank? ? part[:tag] : params[:tag_id]}&page=#{params[:page]}&part_title=#{Rack::Utils.escape(part_title).gsub("+", "%20") rescue nil}" + options = "&category_id=#{!part[:category].blank? ? part[:category].blank? : category}&tag_id=#{!part[:tag].blank? ? part[:tag] : tag}&page=#{params[:page]}&part_title=#{Rack::Utils.escape(part_title).gsub("+", "%20") rescue nil}" ret << "<div class='dymanic_load' path='#{url + options}'></div>" when 'public_r_tag' ret << "<r:#{part.public_r_tag} id='#{part.public_r_tag_object_id}'/>" From 8b42c595b3d6c301ec594bf3fcdcae6cd1ea29d6 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Thu, 10 May 2012 14:43:05 +0800 Subject: [PATCH 21/26] Don't display admin in any premission select. Fix not necessary header for UT data --- app/controllers/admin/new_interface_module_apps_controller.rb | 2 +- .../panel/announcement/back_end/approvals_controller.rb | 1 + .../back_end/bulletin_category_setting_controller.rb | 1 + .../announcement/back_end/approvals/_privilege_user.html.erb | 3 +-- .../bulletin_category_setting/_privilege_user.html.erb | 3 +-- .../lib/tasks/data_for_ut_list_for_posting_anc.rake | 2 +- .../announcement/lib/ut_list_from_nccu_2012feb.csv | 1 - .../panel/news/back_end/news_approvals_controller.rb | 1 + .../news/back_end/news_bulletin_category_setting_controller.rb | 1 + .../news/back_end/news_approvals/_privilege_user.html.erb | 3 +-- .../news_bulletin_category_setting/_privilege_user.html.erb | 3 +-- 11 files changed, 10 insertions(+), 11 deletions(-) diff --git a/app/controllers/admin/new_interface_module_apps_controller.rb b/app/controllers/admin/new_interface_module_apps_controller.rb index 6603334ca..8cf77e5e9 100644 --- a/app/controllers/admin/new_interface_module_apps_controller.rb +++ b/app/controllers/admin/new_interface_module_apps_controller.rb @@ -6,7 +6,7 @@ class Admin::NewInterfaceModuleAppsController < ApplicationController layout "new_admin" def setting - @sys_users = User.all + @sys_users = User.all(conditions: {admin: false}) @module_app = ModuleApp.find(params[:module_app_id]) @options_from_collection_for_select_bulletin_categorys = [@module_app].collect{|ma| [ma.title,ma.id] } # if params.has_key? :category diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb index 9f63a8ab8..e5c92023a 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/approvals_controller.rb @@ -12,6 +12,7 @@ class Panel::Announcement::BackEnd::ApprovalsController < OrbitBackendControlle # end def setting + @sys_users = User.all(conditions: {admin: false}) @bulletin_categorys = BulletinCategory.all @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } if params.has_key? :category diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb index 4be5f6bc8..8903adb2a 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb @@ -12,6 +12,7 @@ class Panel::Announcement::BackEnd::BulletinCategorySettingController < OrbitBac # end def setting + @sys_users = User.all(conditions: {admin: false}) @bulletin_categorys = [] @bulletin_categorys << BulletinCategory.find(params[:bulletin_category_id]) @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb index c36941dea..90f5cb65b 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/approvals/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |sys_user| -%> + <% @sys_users.each do |sys_user| -%> <div class="checkblock"> diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb index c36941dea..90f5cb65b 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |sys_user| -%> + <% @sys_users.each do |sys_user| -%> <div class="checkblock"> diff --git a/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake b/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake index e5bd0be22..9b8b05e57 100644 --- a/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake +++ b/vendor/built_in_modules/announcement/lib/tasks/data_for_ut_list_for_posting_anc.rake @@ -4,9 +4,9 @@ namespace :nccu_data do desc "load nccu data from csv" task :setup_ut_list => :environment do require 'csv' - CSV.foreach("vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv") do |row| new_unit = UnitListForAnc.new(:order => row[0], :ut_code => row[1], :up_ut_code => row[2], :created_at => Time.now,:updated_at => Time.now) + # order,ut_code,up_tu_code,ut_zh_tw,ut_en new_unit.build_title :en => row[4], :zh_tw => row[3] new_unit.save end diff --git a/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv b/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv index 548ad5281..806d0b9a4 100644 --- a/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv +++ b/vendor/built_in_modules/announcement/lib/ut_list_from_nccu_2012feb.csv @@ -1,4 +1,3 @@ -order,ut_code,up_tu_code,ut_zh_tw,ut_en 0100,H00,H00,校長室,Office of the President 0110,H01,H01,副校長室一,Office of the Vice President 0110,H03,H03,副校長室二,Office of the Vice President diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb index c6eda9d04..80838ec5e 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb @@ -12,6 +12,7 @@ class Panel::News::BackEnd::NewsApprovalsController < OrbitBackendController end def setting + @sys_users = User.all(conditions: {admin: false}) @news_bulletin_categorys = NewsBulletinCategory.all if params.has_key?(:category_id) first_category = NewsBulletinCategory.find params[:category_id] diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb index 6b92195f1..6ac769732 100644 --- a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb +++ b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb @@ -12,6 +12,7 @@ class Panel::News::BackEnd::NewsBulletinCategorySettingController < OrbitBackend # end def setting + @sys_users = User.all(conditions: {admin: false}) @bulletin_categorys = [] @bulletin_categorys << NewsBulletinCategory.find(params[:news_bulletin_category_id]) @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb index 87d4d78e0..d48bb8507 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |user| -%> + <% @sys_users.each do |user| -%> <div class="checkblock"> diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb index c36941dea..90f5cb65b 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb @@ -1,6 +1,5 @@ <%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> -<% sys_users = User.all -%> - <% sys_users.each do |sys_user| -%> + <% @sys_users.each do |sys_user| -%> <div class="checkblock"> From a184f96ce79e67630e9ad01a993732c4540a62db Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Thu, 10 May 2012 15:37:07 +0800 Subject: [PATCH 22/26] AdBanner app_auth --- app/views/layouts/_side_bar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb index 72baca6bd..e808427af 100644 --- a/app/views/layouts/_side_bar.html.erb +++ b/app/views/layouts/_side_bar.html.erb @@ -54,7 +54,7 @@ <%#= content_tag :li, link_to(t('admin.ad.all_banners'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %> <%#= content_tag :li, link_to(t('admin.ad.new_banner'), new_admin_ad_banner_path), :class => active_for_action('ad_banners', 'new') %> <%#= content_tag :li, link_to(t('admin.ad.new_image'), new_ad_image_admin_ad_banners_path), :class => active_for_action('ad_images', 'new') %> - <%= content_tag :li, link_to(t('admin.module.authorization'),edit_admin_module_app_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_sys_call_for_app('module_apps','edit','ad_banners') if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','ad_banners',:module_app_id) if (is_admin? rescue nil) %> <% end -%> <% end %> From 0119ab1a74901a1ae58c6e601e8a6569ee60a68a Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 16:44:40 +0800 Subject: [PATCH 23/26] New Interface for App Auth and Object Auth --- .../module_apps_new_interface_controller.rb | 66 +++++++++++++++++ .../object_auths_new_interface_controller.rb | 71 +++++++++++++++++++ app/helpers/application_helper.rb | 20 +++++- .../_modal_list.html.erb | 42 +++++++++++ .../_privilege_user.html.erb | 25 +++++++ .../setting.html.erb | 56 +++++++++++++++ .../module_apps_new_interface/setting.js.erb | 2 + .../update_setting.js.erb | 1 + .../user_list.js.erb | 2 + .../_modal_list.html.erb | 42 +++++++++++ .../_privilege_user.html.erb | 25 +++++++ .../setting.html.erb | 57 +++++++++++++++ .../object_auths_new_interface/setting.js.erb | 2 + .../update_setting.js.erb | 1 + .../user_list.js.erb | 2 + app/views/layouts/_side_bar.html.erb | 16 ++--- config/locales/en.yml | 4 ++ config/locales/zh_tw.yml | 6 +- lib/orbit_core_lib.rb | 4 ++ .../back_end/bulletin_categorys_helper.rb | 2 +- .../app/models/bulletin_category.rb | 4 ++ .../news_bulletin_categorys_helper.rb | 2 +- .../news/app/models/news_bulletin_category.rb | 4 ++ 23 files changed, 442 insertions(+), 14 deletions(-) create mode 100644 app/controllers/admin/module_apps_new_interface_controller.rb create mode 100644 app/controllers/admin/object_auths_new_interface_controller.rb create mode 100644 app/views/admin/module_apps_new_interface/_modal_list.html.erb create mode 100644 app/views/admin/module_apps_new_interface/_privilege_user.html.erb create mode 100644 app/views/admin/module_apps_new_interface/setting.html.erb create mode 100644 app/views/admin/module_apps_new_interface/setting.js.erb create mode 100644 app/views/admin/module_apps_new_interface/update_setting.js.erb create mode 100644 app/views/admin/module_apps_new_interface/user_list.js.erb create mode 100644 app/views/admin/object_auths_new_interface/_modal_list.html.erb create mode 100644 app/views/admin/object_auths_new_interface/_privilege_user.html.erb create mode 100644 app/views/admin/object_auths_new_interface/setting.html.erb create mode 100644 app/views/admin/object_auths_new_interface/setting.js.erb create mode 100644 app/views/admin/object_auths_new_interface/update_setting.js.erb create mode 100644 app/views/admin/object_auths_new_interface/user_list.js.erb diff --git a/app/controllers/admin/module_apps_new_interface_controller.rb b/app/controllers/admin/module_apps_new_interface_controller.rb new file mode 100644 index 000000000..52292588f --- /dev/null +++ b/app/controllers/admin/module_apps_new_interface_controller.rb @@ -0,0 +1,66 @@ +class Admin::ModuleAppsNewInterfaceController < ApplicationController + before_filter :authenticate_user! + before_filter :is_admin? + include AdminHelper + + layout "new_admin" + + def setting + @sys_users = User.all(conditions: {admin: false}) + @module_app = ModuleApp.find(params[:module_app_id]) + @options_from_collection_for_select_bulletin_categorys = [@module_app].collect{|ma| [ma.title,ma.id] } + # if params.has_key? :category + # @bulletin_category = BulletinCategory.find params[:category][:id] + # else + # @bulletin_category = @bulletin_categorys.first + # end + @users_array = @module_app.managing_users rescue [] + + respond_to do |format| + format.html + format.js + end + end + + def update_setting + module_app = update_setting_by_params + if module_app.save! + flash[:notice] = "Update Done" + else + flash[:notice] = "Update Failed" + end + end + + def user_list + @module_app = ModuleApp.find params[:module_app][:id] + end + + protected + def update_setting_by_params + ma = ModuleApp.find params[:module_app][:id] + user_sat = User.find params[:users].keys + users_to_new = user_sat - ma.managing_users + users_to_remove = ma.managing_users - user_sat + + users_to_new.each do |new_user| + ma.assign_manager(new_user,current_user) + end + + users_to_remove.each do |remove_user| + ma.remove_manager(remove_user) + end + ma + end + + def get_categorys(id = nil) + @bulletin_categorys = [] + if(is_manager? || is_admin?) + @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) + elsif is_sub_manager? + @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') + end + end + + + +end \ No newline at end of file diff --git a/app/controllers/admin/object_auths_new_interface_controller.rb b/app/controllers/admin/object_auths_new_interface_controller.rb new file mode 100644 index 000000000..427ec7222 --- /dev/null +++ b/app/controllers/admin/object_auths_new_interface_controller.rb @@ -0,0 +1,71 @@ +class Admin::ObjectAuthsNewInterfaceController < ApplicationController + include OrbitCoreLib::PermissionUnility + layout "new_admin" + before_filter :force_order + + layout "new_admin" + + + def setting + @sys_users = User.all(conditions: {admin: false}) + @ob_auth = ObjectAuth.find params[:object_auth_id] + @options_from_collection_for_select_ob_auth = [@ob_auth].collect{|oa| [oa.auth_obj.pp_object,oa.id] } + @users_array = @ob_auth.privilege_users rescue [] + + respond_to do |format| + format.html + format.js + end + end + + def update_setting + ob_auth = update_setting_by_params + if ob_auth.save! + flash[:notice] = t("admin.object_auth.update_done") + else + flash[:notice] = t("admin.object_auth.update_failed") + end + end + + def user_list + @ob_auth = ObjectAuth.find params[:ob_auth][:id] + end + + protected + def update_setting_by_params + oa = ObjectAuth.find params[:ob_auth][:id] + user_sat = User.find params[:users].keys + users_to_new = user_sat - oa.auth_users + users_to_remove = oa.auth_users - user_sat + + users_to_new.each do |new_user| + oa.add_user_to_privilege_list(new_user) + end + + users_to_remove.each do |remove_user| + oa.remove_user_from_privilege_list(remove_user) + end + oa + end + + # def get_categorys(id = nil) + # @bulletin_categorys = [] + # if(is_manager? || is_admin?) + # @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) + # elsif is_sub_manager? + # @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') + # end + # end + + def force_order + authenticate_user! + check_if_user_can_do_object_auth + end + + def check_if_user_can_do_object_auth + unless check_permission(:manager) + render :nothing => true, :status => 403 + end + end + +end \ No newline at end of file diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 32800d80e..d04d8c59f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -68,9 +68,23 @@ module ApplicationHelper end end - def active_sys_call_for_app(controller_name,action_name,app_title,field = :id) - unless active_for_action(controller_name,action_name).nil? - app = ModuleApp.find params[field] + def active_for_ob_auths_object(object_class,field = :object_auth_id) + unless active_for_action("object_auths_new_interface","setting").nil? + ob_auth = ObjectAuth.find params[field] + ob_auth.obj_authable_type == object_class.to_s ? 'active' : nil + end + end + + def active_for_ob_auth(ob_auth_title,field = :object_auth_id) + unless active_for_action("module_apps_new_interface","setting").nil? + oa_auth = ObjectAuth.find params[field] + oa_auth.title == ob_auth_title ? 'active' : nil + end + end + + def active_for_app_auth(app_title ='', opt={:controller_name => 'module_apps_new_interface',:action_name=>'setting',:field => :module_app_id}) + unless active_for_action(opt[:controller_name],opt[:action_name]).nil? + app = ModuleApp.find params[opt[:field]] app.title == app_title ? 'active' : nil else nil diff --git a/app/views/admin/module_apps_new_interface/_modal_list.html.erb b/app/views/admin/module_apps_new_interface/_modal_list.html.erb new file mode 100644 index 000000000..b5b0ebcd0 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/_modal_list.html.erb @@ -0,0 +1,42 @@ +<% if module_app -%> + +<div class="modal hide fade in" id="module_app-<%=module_app.id%>"> + <div class="modal-header"> + <a class="close" data-dismiss="modal">×</a> + <h3><%= t("admin.user_role.auth.manager") %></h3> + </div> + <div class="modal-body"> + <div class="clear"> + <% module_app.managing_users.each do |user| %> + <div class="checkbox clear checked"> + <div class='member-avatar'> + <% if user.avatar? %> + <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> + </div> + <% end -%> + <divl> + </div> + <div class="modal-footer"> + <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> + </div> + <div> + <script type="text/javascript" src="/static/kernel.js"></script> + <script type="text/javascript"> + $(document).ready(function() { + + $("#module_app-<%=module_app.id%>").on("show", function () { + }); + $(".modal").on("hidden", function () { + $("#show_preview").remove(); + }); + }); + </script> + </div> +</div> + +<% end -%> \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/_privilege_user.html.erb b/app/views/admin/module_apps_new_interface/_privilege_user.html.erb new file mode 100644 index 000000000..90f5cb65b --- /dev/null +++ b/app/views/admin/module_apps_new_interface/_privilege_user.html.erb @@ -0,0 +1,25 @@ +<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> + <% @sys_users.each do |sys_user| -%> + + <div class="checkblock"> + + <% sys_user.sub_roles.each do |sr| %> + <div class="for_unit" style="display:none;"> <%= sr.key %></div> + <% end %> + <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> + <div class="check-icon"> + </div> + <div class='member-avatar'> + <% if sys_user.avatar? %> + <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> + <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> + <%end -%> + </div> + + <% end -%> +<% end -%> \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/setting.html.erb b/app/views/admin/module_apps_new_interface/setting.html.erb new file mode 100644 index 000000000..7d1179f0d --- /dev/null +++ b/app/views/admin/module_apps_new_interface/setting.html.erb @@ -0,0 +1,56 @@ +<% content_for :page_specific_css do %> + <%= stylesheet_link_tag "inc/permission-checkbox" %> +<% end %> +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "inc/permission-checkbox" %> + <%= javascript_include_tag "inc/search" %> + <%= javascript_include_tag "inc/modal-preview" %> +<% end %> +<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> +<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> +<div class="subnav clear"> + <ul class="nav nav-pills filter pull-left"> + <li class="accordion-group"> + <div class="form-search" style="margin: 5px 10px;"> + <%= label_tag :module, t("module") %> + <%= select "module_app",'id',@options_from_collection_for_select_bulletin_categorys %> + <%= search_field_tag 'user_filter' %> + </div> + + </li> + </ul> + <%= link_to t("admin.user_role.auth.manager"), admin_module_app_manager_auth_show_path , :class=>'preview_trigger btn btn-success pull-right'%> + +</div> +<%#= label_tag :role, t("admin.roles") %> +<div class="clear"> +<%= content_tag :div do -%> + <% form_tag admin_module_app_manager_auth_proc_path do %> + <%= render :partial => "privilege_user", :locals => {:users => @users_array} %> + <div class="form-actions form-fixed pagination-right"> + <%= submit_tag "Update", :class => 'btn btn-primary' %> + </div> + <% end -%> +<% end -%> +</div> + +<script type="text/javascript" charset="utf-8"> +var availableTags = []; +$(document).ready(function() { + + $(".prevent_enter_submit_form").bind("keypress", function(e) { + if (e.keyCode == 13) { + return false; + } + }); + + $('#category_id').change(function() { + $.ajax({ + type: 'GET', + dataType: "script", + url:$(this).parents("from").attr("href"), + data:$(this).parents("form").serialize() + }); + }); +}); +</script> \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/setting.js.erb b/app/views/admin/module_apps_new_interface/setting.js.erb new file mode 100644 index 000000000..0ca148da1 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/setting.js.erb @@ -0,0 +1,2 @@ +$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); +permissionCheckbox(); \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/update_setting.js.erb b/app/views/admin/module_apps_new_interface/update_setting.js.erb new file mode 100644 index 000000000..7486000a2 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/update_setting.js.erb @@ -0,0 +1 @@ +alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/app/views/admin/module_apps_new_interface/user_list.js.erb b/app/views/admin/module_apps_new_interface/user_list.js.erb new file mode 100644 index 000000000..7caf1e395 --- /dev/null +++ b/app/views/admin/module_apps_new_interface/user_list.js.erb @@ -0,0 +1,2 @@ +$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:module_app => @module_app})) %>"); +var start_modal_with_id = "module_app-<%=@module_app.id%>" \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/_modal_list.html.erb b/app/views/admin/object_auths_new_interface/_modal_list.html.erb new file mode 100644 index 000000000..04f46511f --- /dev/null +++ b/app/views/admin/object_auths_new_interface/_modal_list.html.erb @@ -0,0 +1,42 @@ +<% if ob_auth -%> + +<div class="modal hide fade in" id="ob_auth-<%=ob_auth.id%>"> + <div class="modal-header"> + <a class="close" data-dismiss="modal">×</a> + <h3><%= t("admin.object_auth.list_title_of_users",:auth_title => ob_auth.title) %></h3> + </div> + <div class="modal-body"> + <div class="clear"> + <% ob_auth.auth_users.each do |user| %> + <div class="checkbox clear checked"> + <div class='member-avatar'> + <% if user.avatar? %> + <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> + </div> + <% end -%> + <divl> + </div> + <div class="modal-footer"> + <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> + </div> + <div> + <script type="text/javascript" src="/static/kernel.js"></script> + <script type="text/javascript"> + $(document).ready(function() { + + $("#ob_auth-<%=ob_auth.id%>").on("show", function () { + }); + $(".modal").on("hidden", function () { + $("#show_preview").remove(); + }); + }); + </script> + </div> +</div> + +<% end -%> \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/_privilege_user.html.erb b/app/views/admin/object_auths_new_interface/_privilege_user.html.erb new file mode 100644 index 000000000..90f5cb65b --- /dev/null +++ b/app/views/admin/object_auths_new_interface/_privilege_user.html.erb @@ -0,0 +1,25 @@ +<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> + <% @sys_users.each do |sys_user| -%> + + <div class="checkblock"> + + <% sys_user.sub_roles.each do |sr| %> + <div class="for_unit" style="display:none;"> <%= sr.key %></div> + <% end %> + <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> + <div class="check-icon"> + </div> + <div class='member-avatar'> + <% if sys_user.avatar? %> + <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> + <% else %> + <%= image_tag "person.png",:class => "member-img" %> + <% end %> + </div> + <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> + <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> + <%end -%> + </div> + + <% end -%> +<% end -%> \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/setting.html.erb b/app/views/admin/object_auths_new_interface/setting.html.erb new file mode 100644 index 000000000..ae5096ba4 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/setting.html.erb @@ -0,0 +1,57 @@ +<% content_for :page_specific_css do %> + <%= stylesheet_link_tag "inc/permission-checkbox" %> +<% end %> +<% content_for :page_specific_javascript do %> + <%= javascript_include_tag "inc/permission-checkbox" %> + <%= javascript_include_tag "inc/search" %> + <%= javascript_include_tag "inc/modal-preview" %> +<% end %> +<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> +<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> +<div class="subnav clear"> + <ul class="nav nav-pills filter pull-left"> + <li class="accordion-group"> + <div class="form-search" style="margin: 5px 10px;"> + <%= label_tag :object, @ob_auth.auth_obj.class %> + <%= label_tag :module,"::" %> + <%= select "ob_auth",'id',@options_from_collection_for_select_ob_auth %> + <%= search_field_tag 'user_filter' %> + </div> + + </li> + </ul> + <%= link_to t("admin.object_auth.list_title_of_users",:auth_title => @ob_auth.title), admin_object_auth_ob_auth_show_path , :class=>'preview_trigger btn btn-success pull-right'%> + +</div> +<%#= label_tag :role, t("admin.roles") %> +<div class="clear"> +<%= content_tag :div do -%> + <% form_tag admin_object_auth_ob_auth_path do %> + <%#= render :partial => "privilege_user", :locals => {:users => @users_array} %> + <div class="form-actions form-fixed pagination-right"> + <%= submit_tag "Update", :class => 'btn btn-primary' %> + </div> + <% end -%> +<% end -%> +</div> + +<script type="text/javascript" charset="utf-8"> +var availableTags = []; +$(document).ready(function() { + + $(".prevent_enter_submit_form").bind("keypress", function(e) { + if (e.keyCode == 13) { + return false; + } + }); + + $('#category_id').change(function() { + $.ajax({ + type: 'GET', + dataType: "script", + url:$(this).parents("from").attr("href"), + data:$(this).parents("form").serialize() + }); + }); +}); +</script> \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/setting.js.erb b/app/views/admin/object_auths_new_interface/setting.js.erb new file mode 100644 index 000000000..0ca148da1 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/setting.js.erb @@ -0,0 +1,2 @@ +$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); +permissionCheckbox(); \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/update_setting.js.erb b/app/views/admin/object_auths_new_interface/update_setting.js.erb new file mode 100644 index 000000000..7486000a2 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/update_setting.js.erb @@ -0,0 +1 @@ +alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/app/views/admin/object_auths_new_interface/user_list.js.erb b/app/views/admin/object_auths_new_interface/user_list.js.erb new file mode 100644 index 000000000..ebb088cc0 --- /dev/null +++ b/app/views/admin/object_auths_new_interface/user_list.js.erb @@ -0,0 +1,2 @@ +$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:ob_auth => @ob_auth})) %>"); +var start_modal_with_id = "ob_auth-<%=@ob_auth.id%>" \ No newline at end of file diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb index e808427af..7a9bcf4ee 100644 --- a/app/views/layouts/_side_bar.html.erb +++ b/app/views/layouts/_side_bar.html.erb @@ -5,29 +5,29 @@ <%= javascript_include_tag "/static/kernel.js" %> <% end %> -<%= content_tag :li, :class => (active_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals') || active_sys_call_for_app('new_interface_module_apps','setting','Announcement',:module_app_id) ) do -%> +<%= content_tag :li, :class => (active_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals') || active_for_app_auth('Announcement') || active_for_ob_auths_object("BulletinCategory") ) do -%> <%= link_to content_tag(:i, nil, :class => 'icons-announcement') + t('admin.announcement'), panel_announcement_back_end_bulletins_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals')) do -%> <%= content_tag :li, link_to(t('announcement.all_articles'), panel_announcement_back_end_bulletins_path), :class => active_for_action('bulletins', 'index') %> <%= content_tag :li, link_to(t('announcement.add_new'), new_panel_announcement_back_end_bulletin_path), :class => active_for_action('bulletins', 'new') %> - <%= content_tag :li, link_to(t('announcement.categories'), panel_announcement_back_end_bulletin_categorys_path), :class => (active_for_action('bulletin_categorys', 'index') || active_for_action('bulletin_category_setting', 'setting')) %> + <%= content_tag :li, link_to(t('announcement.categories'), panel_announcement_back_end_bulletin_categorys_path), :class =>( active_for_action('bulletin_categorys', 'index') || active_for_ob_auths_object("BulletinCategory") ) %> <%= content_tag :li, link_to(t('announcement.tags'), panel_announcement_back_end_tags_path), :class => active_for_action('/panel/announcement/back_end/tags', 'index') %> <%= content_tag :li, link_to(t('announcement.bulletin.approval_setting'), panel_announcement_back_end_approval_setting_path), :class => active_for_action('approvals', 'setting') if (is_manager? rescue nil) %> - <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "Announcement"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','Announcement',:module_app_id) if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "Announcement"}))), :class => active_for_app_auth('Announcement') if (is_admin? rescue nil) %> <% end -%> <% end -%> -<%= content_tag :li, :class =>( active_for_controllers('news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals')|| active_sys_call_for_app('new_interface_module_apps','setting','news',:module_app_id)) do -%> +<%= content_tag :li, :class =>( active_for_controllers('news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals')|| active_for_app_auth('news') || active_for_ob_auths_object("NewsBulletinCategory")) do -%> <%= link_to content_tag(:i, nil, :class => 'icons-announcement') + t('admin.news'), panel_news_back_end_news_bulletins_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals')) do -%> <%= content_tag :li, link_to(t('announcement.all_articles'), panel_news_back_end_news_bulletins_path), :class => active_for_action('news_bulletins', 'index') %> <%= content_tag :li, link_to(t('announcement.add_new'), new_panel_news_back_end_news_bulletin_path), :class => active_for_action('news_bulletins', 'new') %> - <%= content_tag :li, link_to(t('announcement.categories'), panel_news_back_end_news_bulletin_categorys_path), :class => (active_for_action('news_bulletin_categorys', 'index') || active_for_action('news_bulletin_category_setting', 'setting'))%> + <%= content_tag :li, link_to(t('announcement.categories'), panel_news_back_end_news_bulletin_categorys_path), :class => active_for_action('news_bulletin_categorys', 'index') || active_for_ob_auths_object("NewsBulletinCategory") %> <%= content_tag :li, link_to(t('announcement.tags'), panel_news_back_end_tags_path), :class => active_for_action('/panel/news/back_end/tags', 'index') %> <%= content_tag :li, link_to(t('announcement.bulletin.approval_setting'), panel_news_back_end_news_approval_setting_path), :class => active_for_action('news_approvals', 'setting') if (is_manager? rescue nil) %> - <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {key: "news"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','news',:module_app_id) if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {key: "news"}))), :class => active_for_app_auth('news') if (is_admin? rescue nil) %> <% end -%> <% end -%> @@ -47,14 +47,14 @@ <%= link_to content_tag(:i, nil, :class => 'icons-window-block') + t('admin.design'), admin_designs_path %> <% end -%> -<%= content_tag :li, :class => active_for_controllers('ad_banners', 'ad_images') || active_sys_call_for_app('module_apps','edit','ad_banners') do -%> +<%= content_tag :li, :class => active_for_controllers('ad_banners', 'ad_images') || active_for_app_auth('ad_banners') do -%> <%= link_to content_tag(:i, nil, :class => 'icons-link') + t('admin.ad_banner'), admin_ad_banners_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('ad_banners', 'ad_images') ) do -%> <%#= content_tag :li, link_to(t('admin.ad.all_banners'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %> <%#= content_tag :li, link_to(t('admin.ad.new_banner'), new_admin_ad_banner_path), :class => active_for_action('ad_banners', 'new') %> <%#= content_tag :li, link_to(t('admin.ad.new_image'), new_ad_image_admin_ad_banners_path), :class => active_for_action('ad_images', 'new') %> - <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_sys_call_for_app('new_interface_module_apps','setting','ad_banners',:module_app_id) if (is_admin? rescue nil) %> + <%= content_tag :li, link_to(t('admin.module.authorization'),admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: "ad_banners"}))), :class => active_for_app_auth('ad_banners') if (is_admin? rescue nil) %> <% end -%> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 0d0707cc5..374b3b33c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -197,6 +197,10 @@ en: new_role: New user role news: News non_multilingual: Non multilingual + object_auth: + list_title_of_users: %{auth_title} Auth List + update_done: Update done,reulst showing in list + update_failed: Update failed options: Options orig_upload_file: Original filename page: Page diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index b4d644c7b..feb8e83a3 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -191,7 +191,11 @@ zh_tw: new_info: 新增用戶資料 new_role: 新增用戶身份 news: 新聞 - non_multilingual: 非多種語言 + non_multilingual: + object_auth: + list_title_of_users: 授權清單-%{auth_title} + update_done: 更新完成,結果顯示於清單 + update_failed: 更新失敗 options: 選項 orig_upload_file: 原上傳檔名 page: 頁面管理 diff --git a/lib/orbit_core_lib.rb b/lib/orbit_core_lib.rb index b92f4eca5..281654a76 100644 --- a/lib/orbit_core_lib.rb +++ b/lib/orbit_core_lib.rb @@ -19,6 +19,10 @@ module OrbitCoreLib end + def pp_object + "Object Auth method 'pp_object' need to be defined for class #{self.class}" + end + def get_object_auth_by_title(title) self.object_auths.where({title: title }).first end diff --git a/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb b/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb index 1fccbbe14..926049854 100644 --- a/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb +++ b/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletin_categorys_helper.rb @@ -10,7 +10,7 @@ include ActionView::Helpers::UrlHelper oa = bulletin_category.get_object_auth_by_title(type) end # link_to t('announcement.bulletin.cate_auth'), edit_admin_object_auth_path(oa) - link_to t('announcement.bulletin.cate_auth'),panel_announcement_back_end_bulletin_category_setting_path(bulletin_category) + link_to t('announcement.bulletin.cate_auth'),admin_object_auth_ob_auth_path(oa) end end \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/models/bulletin_category.rb b/vendor/built_in_modules/announcement/app/models/bulletin_category.rb index 7daaf6db0..955d5f18d 100644 --- a/vendor/built_in_modules/announcement/app/models/bulletin_category.rb +++ b/vendor/built_in_modules/announcement/app/models/bulletin_category.rb @@ -18,6 +18,10 @@ class BulletinCategory has_many :bulletins + def pp_object + i18n_variable[I18n.locale] + end + def self.from_id(id) BulletinCategory.find(id) rescue nil end diff --git a/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb b/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb index 74905640b..4b8965551 100644 --- a/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb +++ b/vendor/built_in_modules/news/app/helpers/panel/news/back_end/news_bulletin_categorys_helper.rb @@ -10,7 +10,7 @@ include ActionView::Helpers::UrlHelper oa = news_bulletin_category.get_object_auth_by_title(type) end # link_to t('announcement.bulletin.cate_auth'), edit_admin_object_auth_path(oa) -link_to t('announcement.bulletin.cate_auth'),panel_news_back_end_news_bulletin_category_setting_path(news_bulletin_category) + link_to t('announcement.bulletin.cate_auth'),admin_object_auth_ob_auth_path(oa) end diff --git a/vendor/built_in_modules/news/app/models/news_bulletin_category.rb b/vendor/built_in_modules/news/app/models/news_bulletin_category.rb index 45576589f..b3dd7bc46 100644 --- a/vendor/built_in_modules/news/app/models/news_bulletin_category.rb +++ b/vendor/built_in_modules/news/app/models/news_bulletin_category.rb @@ -18,6 +18,10 @@ class NewsBulletinCategory has_many :news_bulletins + def pp_object + i18n_variable[I18n.locale] + end + def self.from_id(id) NewsBulletinCategory.find(id) rescue nil end From 7a6d30ad624c6d519baa3f45bd28c62449e0bf36 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 16:46:36 +0800 Subject: [PATCH 24/26] Remove unless files and change routes. --- .../new_interface_module_apps_controller.rb | 66 ------------------- .../_modal_list.html.erb | 42 ------------ .../_privilege_user.html.erb | 25 ------- .../setting.html.erb | 56 ---------------- .../new_interface_module_apps/setting.js.erb | 2 - .../update_setting.js.erb | 1 - .../user_list.js.erb | 2 - config/routes.rb | 11 +++- .../bulletin_category_setting_controller.rb | 64 ------------------ .../_privilege_user.html.erb | 25 ------- .../bulletin_category_setting/setting.js.erb | 2 - .../update_setting.js.erb | 1 - .../user_list.js.erb | 2 - .../announcement/config/routes.rb | 6 +- ...ws_bulletin_category_setting_controller.rb | 64 ------------------ .../_privilege_user.html.erb | 25 ------- .../setting.js.erb | 2 - .../update_setting.js.erb | 1 - .../user_list.js.erb | 2 - vendor/built_in_modules/news/config/routes.rb | 6 +- 20 files changed, 10 insertions(+), 395 deletions(-) delete mode 100644 app/controllers/admin/new_interface_module_apps_controller.rb delete mode 100644 app/views/admin/new_interface_module_apps/_modal_list.html.erb delete mode 100644 app/views/admin/new_interface_module_apps/_privilege_user.html.erb delete mode 100644 app/views/admin/new_interface_module_apps/setting.html.erb delete mode 100644 app/views/admin/new_interface_module_apps/setting.js.erb delete mode 100644 app/views/admin/new_interface_module_apps/update_setting.js.erb delete mode 100644 app/views/admin/new_interface_module_apps/user_list.js.erb delete mode 100644 vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb delete mode 100644 vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb delete mode 100644 vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb delete mode 100644 vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb diff --git a/app/controllers/admin/new_interface_module_apps_controller.rb b/app/controllers/admin/new_interface_module_apps_controller.rb deleted file mode 100644 index 8cf77e5e9..000000000 --- a/app/controllers/admin/new_interface_module_apps_controller.rb +++ /dev/null @@ -1,66 +0,0 @@ -class Admin::NewInterfaceModuleAppsController < ApplicationController - before_filter :authenticate_user! - before_filter :is_admin? - include AdminHelper - - layout "new_admin" - - def setting - @sys_users = User.all(conditions: {admin: false}) - @module_app = ModuleApp.find(params[:module_app_id]) - @options_from_collection_for_select_bulletin_categorys = [@module_app].collect{|ma| [ma.title,ma.id] } - # if params.has_key? :category - # @bulletin_category = BulletinCategory.find params[:category][:id] - # else - # @bulletin_category = @bulletin_categorys.first - # end - @users_array = @module_app.managing_users rescue [] - - respond_to do |format| - format.html - format.js - end - end - - def update_setting - module_app = update_setting_by_params - if module_app.save! - flash[:notice] = "Update Done" - else - flash[:notice] = "Update Failed" - end - end - - def user_list - @module_app = ModuleApp.find params[:module_app][:id] - end - - protected - def update_setting_by_params - ma = ModuleApp.find params[:module_app][:id] - user_sat = User.find params[:users].keys - users_to_new = user_sat - ma.managing_users - users_to_remove = ma.managing_users - user_sat - - users_to_new.each do |new_user| - ma.assign_manager(new_user,current_user) - end - - users_to_remove.each do |remove_user| - ma.remove_manager(remove_user) - end - ma - end - - def get_categorys(id = nil) - @bulletin_categorys = [] - if(is_manager? || is_admin?) - @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) - elsif is_sub_manager? - @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') - end - end - - - -end \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/_modal_list.html.erb b/app/views/admin/new_interface_module_apps/_modal_list.html.erb deleted file mode 100644 index b5b0ebcd0..000000000 --- a/app/views/admin/new_interface_module_apps/_modal_list.html.erb +++ /dev/null @@ -1,42 +0,0 @@ -<% if module_app -%> - -<div class="modal hide fade in" id="module_app-<%=module_app.id%>"> - <div class="modal-header"> - <a class="close" data-dismiss="modal">×</a> - <h3><%= t("admin.user_role.auth.manager") %></h3> - </div> - <div class="modal-body"> - <div class="clear"> - <% module_app.managing_users.each do |user| %> - <div class="checkbox clear checked"> - <div class='member-avatar'> - <% if user.avatar? %> - <%= image_tag(user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%> - </div> - <% end -%> - <divl> - </div> - <div class="modal-footer"> - <a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a> - </div> - <div> - <script type="text/javascript" src="/static/kernel.js"></script> - <script type="text/javascript"> - $(document).ready(function() { - - $("#module_app-<%=module_app.id%>").on("show", function () { - }); - $(".modal").on("hidden", function () { - $("#show_preview").remove(); - }); - }); - </script> - </div> -</div> - -<% end -%> \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/_privilege_user.html.erb b/app/views/admin/new_interface_module_apps/_privilege_user.html.erb deleted file mode 100644 index 90f5cb65b..000000000 --- a/app/views/admin/new_interface_module_apps/_privilege_user.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> - <% @sys_users.each do |sys_user| -%> - - <div class="checkblock"> - - <% sys_user.sub_roles.each do |sr| %> - <div class="for_unit" style="display:none;"> <%= sr.key %></div> - <% end %> - <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> - <div class="check-icon"> - </div> - <div class='member-avatar'> - <% if sys_user.avatar? %> - <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> - <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> - <%end -%> - </div> - - <% end -%> -<% end -%> \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/setting.html.erb b/app/views/admin/new_interface_module_apps/setting.html.erb deleted file mode 100644 index 7d1179f0d..000000000 --- a/app/views/admin/new_interface_module_apps/setting.html.erb +++ /dev/null @@ -1,56 +0,0 @@ -<% content_for :page_specific_css do %> - <%= stylesheet_link_tag "inc/permission-checkbox" %> -<% end %> -<% content_for :page_specific_javascript do %> - <%= javascript_include_tag "inc/permission-checkbox" %> - <%= javascript_include_tag "inc/search" %> - <%= javascript_include_tag "inc/modal-preview" %> -<% end %> -<%#= label_tag :fact_check_setting, t("announcement.bulletin.fact_check_setting") %> -<%= form_tag('', :remote => true,:class => "prevent_enter_submit_form") %> -<div class="subnav clear"> - <ul class="nav nav-pills filter pull-left"> - <li class="accordion-group"> - <div class="form-search" style="margin: 5px 10px;"> - <%= label_tag :module, t("module") %> - <%= select "module_app",'id',@options_from_collection_for_select_bulletin_categorys %> - <%= search_field_tag 'user_filter' %> - </div> - - </li> - </ul> - <%= link_to t("admin.user_role.auth.manager"), admin_module_app_manager_auth_show_path , :class=>'preview_trigger btn btn-success pull-right'%> - -</div> -<%#= label_tag :role, t("admin.roles") %> -<div class="clear"> -<%= content_tag :div do -%> - <% form_tag admin_module_app_manager_auth_proc_path do %> - <%= render :partial => "privilege_user", :locals => {:users => @users_array} %> - <div class="form-actions form-fixed pagination-right"> - <%= submit_tag "Update", :class => 'btn btn-primary' %> - </div> - <% end -%> -<% end -%> -</div> - -<script type="text/javascript" charset="utf-8"> -var availableTags = []; -$(document).ready(function() { - - $(".prevent_enter_submit_form").bind("keypress", function(e) { - if (e.keyCode == 13) { - return false; - } - }); - - $('#category_id').change(function() { - $.ajax({ - type: 'GET', - dataType: "script", - url:$(this).parents("from").attr("href"), - data:$(this).parents("form").serialize() - }); - }); -}); -</script> \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/setting.js.erb b/app/views/admin/new_interface_module_apps/setting.js.erb deleted file mode 100644 index 0ca148da1..000000000 --- a/app/views/admin/new_interface_module_apps/setting.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); -permissionCheckbox(); \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/update_setting.js.erb b/app/views/admin/new_interface_module_apps/update_setting.js.erb deleted file mode 100644 index 7486000a2..000000000 --- a/app/views/admin/new_interface_module_apps/update_setting.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/app/views/admin/new_interface_module_apps/user_list.js.erb b/app/views/admin/new_interface_module_apps/user_list.js.erb deleted file mode 100644 index 7caf1e395..000000000 --- a/app/views/admin/new_interface_module_apps/user_list.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:module_app => @module_app})) %>"); -var start_modal_with_id = "module_app-<%=@module_app.id%>" \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 63d70d30b..d2294c17c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -16,6 +16,11 @@ Orbit::Application.routes.draw do resources :assets resources :app_auths resources :object_auths do + match 'new_interface/:ob_type/:title/new' => "object_auths_new_interface#new" ,:as => :init_ob_auth,:via => :get + match 'new_interface' => "object_auths_new_interface#setting" ,:as => :ob_auth,:via => :get + match 'new_interface' => "object_auths_new_interface#update_setting" ,:as => :ob_auth,:via => :post + match 'new_interface' => "object_auths_new_interface#user_list" ,:as => :ob_auth_show,:via => :put + collection do match 'new/:type/:obj_id',:action => 'new',:via => "get",:as => :init end @@ -62,9 +67,9 @@ Orbit::Application.routes.draw do end end resources :module_apps do - match 'manager_auth_proc' => "new_interface_module_apps#setting" ,:as => :manager_auth_proc,:via => :get - match 'manager_auth_proc' => "new_interface_module_apps#update_setting" ,:as => :manager_auth_proc,:via => :post - match 'manager_auth_proc' => "new_interface_module_apps#user_list" ,:as => :manager_auth_show,:via => :put + match 'manager_auth_proc' => "module_apps_new_interface#setting" ,:as => :manager_auth_proc,:via => :get + match 'manager_auth_proc' => "module_apps_new_interface#update_setting" ,:as => :manager_auth_proc,:via => :post + match 'manager_auth_proc' => "module_apps_new_interface#user_list" ,:as => :manager_auth_show,:via => :put resources :app_auths do member do match 'remove/:type/:target_id' ,:action=> 'remove',:via => "delete",:as =>:remove diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb deleted file mode 100644 index 8903adb2a..000000000 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_category_setting_controller.rb +++ /dev/null @@ -1,64 +0,0 @@ -class Panel::Announcement::BackEnd::BulletinCategorySettingController < OrbitBackendController - before_filter :authenticate_user! - before_filter :for_app_manager - include AdminHelper - # layout 'admin' - def preview_and_approve - @bulletin = Bulletin.find params[:bulletin_id] - end - - # def approve - # - # end - - def setting - @sys_users = User.all(conditions: {admin: false}) - @bulletin_categorys = [] - @bulletin_categorys << BulletinCategory.find(params[:bulletin_category_id]) - @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } - if params.has_key? :category - @bulletin_category = BulletinCategory.find params[:category][:id] - else - @bulletin_category = @bulletin_categorys.first - end - preload_object_auth = @bulletin_category.object_auths.where(title: 'submit').empty?? (@bulletin_category.object_auths.create! :title=> 'submit') : @bulletin_category.object_auths.where(title: 'submit') - @users_array = preload_object_auth.first.privilege_users rescue [] - respond_to do |format| - format.html - format.js - end - end - - def update_setting - object_auth = update_setting_by_params - if object_auth.save! - flash[:notice] = "Update Done" - else - flash[:notice] = "Update Failed" - end - end - - def user_list - @bulletin_category = BulletinCategory.find params[:category][:id] - end - - protected - def update_setting_by_params - category = BulletinCategory.find params[:category][:id] - privilege_users = params[:users].collect{|key,value| User.find key } rescue [] - object_auth_ary = category.object_auths.where(title: 'submit') || (category.object_auths.create :title=> 'submit') - object_auth = object_auth_ary.first - object_auth.privilege_users = privilege_users - object_auth - end - - def get_categorys(id = nil) - @bulletin_categorys = [] - if(is_manager? || is_admin?) - @bulletin_categorys = (id ? BulletinCategory.find(id).to_a : BulletinCategory.excludes('disabled' => true)) - elsif is_sub_manager? - @bulletin_categorys = BulletinCategory.authed_for_user(current_user,'submit_new') - end - end - -end diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb deleted file mode 100644 index 90f5cb65b..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/_privilege_user.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> - <% @sys_users.each do |sys_user| -%> - - <div class="checkblock"> - - <% sys_user.sub_roles.each do |sr| %> - <div class="for_unit" style="display:none;"> <%= sr.key %></div> - <% end %> - <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> - <div class="check-icon"> - </div> - <div class='member-avatar'> - <% if sys_user.avatar? %> - <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> - <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> - <%end -%> - </div> - - <% end -%> -<% end -%> \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb deleted file mode 100644 index 0ca148da1..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/setting.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); -permissionCheckbox(); \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb deleted file mode 100644 index 7486000a2..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/update_setting.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb deleted file mode 100644 index 4c8bf25d3..000000000 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletin_category_setting/user_list.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:bulletin_category => @bulletin_category})) %>"); -var start_modal_with_id = "bulletin_category-<%=@bulletin_category.id%>" \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/config/routes.rb b/vendor/built_in_modules/announcement/config/routes.rb index c6a406b00..a9f1c4968 100644 --- a/vendor/built_in_modules/announcement/config/routes.rb +++ b/vendor/built_in_modules/announcement/config/routes.rb @@ -21,11 +21,7 @@ Rails.application.routes.draw do match "file_quick_edit/:bulletin_id" => "bulletins#file_quick_edit" ,:as => :file_quick_edit end - resources :bulletin_categorys do - match 'submit_setting' => "bulletin_category_setting#setting" ,:as => :setting,:via => :get - match 'submit_setting' => "bulletin_category_setting#update_setting" ,:as => :setting,:via => :post - match 'submit_setting' => "bulletin_category_setting#user_list" ,:as => :user_list,:via => :put - end + resources :bulletin_categorys resources :bulletin_links, :controller => 'bulletin_links' do match "link_quick_edit/:bulletin_link_id" => "bulletin_links#link_quick_edit" ,:as => :link_quick_edit diff --git a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb b/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb deleted file mode 100644 index 6ac769732..000000000 --- a/vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_category_setting_controller.rb +++ /dev/null @@ -1,64 +0,0 @@ -class Panel::News::BackEnd::NewsBulletinCategorySettingController < OrbitBackendController - before_filter :authenticate_user! - before_filter :for_app_manager - include AdminHelper - # layout 'admin' - # def preview_and_approve - # @bulletin = Bulletin.find params[:bulletin_id] - # end - - # def approve - # - # end - - def setting - @sys_users = User.all(conditions: {admin: false}) - @bulletin_categorys = [] - @bulletin_categorys << NewsBulletinCategory.find(params[:news_bulletin_category_id]) - @options_from_collection_for_select_bulletin_categorys = @bulletin_categorys.collect{|bc| [bc.i18n_variable[I18n.locale],bc.id] } - if params.has_key? :category - @bulletin_category = NewsBulletinCategory.find params[:category][:id] - else - @bulletin_category = @bulletin_categorys.first - end - preload_object_auth = @bulletin_category.object_auths.where(title: 'submit').empty?? (@bulletin_category.object_auths.create! :title=> 'submit') : @bulletin_category.object_auths.where(title: 'submit') - @users_array = preload_object_auth.first.privilege_users rescue [] - respond_to do |format| - format.html - format.js - end - end - - def update_setting - object_auth = update_setting_by_params - if object_auth.save! - flash[:notice] = "Update Done" - else - flash[:notice] = "Update Failed" - end - end - - def user_list - @bulletin_category = NewsBulletinCategory.find params[:category][:id] - end - - protected - def update_setting_by_params - category = NewsBulletinCategory.find params[:category][:id] - privilege_users = params[:users].collect{|key,value| User.find key } rescue [] - object_auth_ary = category.object_auths.where(title: 'submit') || (category.object_auths.create :title=> 'submit') - object_auth = object_auth_ary.first - object_auth.privilege_users = privilege_users - object_auth - end - - def get_categorys(id = nil) - @bulletin_categorys = [] - if(is_manager? || is_admin?) - @bulletin_categorys = (id ? NewsBulletinCategory.find(id).to_a : NewsBulletinCategory.excludes('disabled' => true)) - elsif is_sub_manager? - @bulletin_categorys = NewsBulletinCategory.authed_for_user(current_user,'submit_new') - end - end - -end diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb deleted file mode 100644 index 90f5cb65b..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/_privilege_user.html.erb +++ /dev/null @@ -1,25 +0,0 @@ -<%= content_tag :div ,:id => "users_checkbox_ary",:class => 'clear' do -%> - <% @sys_users.each do |sys_user| -%> - - <div class="checkblock"> - - <% sys_user.sub_roles.each do |sr| %> - <div class="for_unit" style="display:none;"> <%= sr.key %></div> - <% end %> - <%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => "#{sys_user.sub_roles.collect{|sr| sr.i18n_variable[I18n.locale]}.join(',')}"},:class=>"checkbox clear" do %> - <div class="check-icon"> - </div> - <div class='member-avatar'> - <% if sys_user.avatar? %> - <%= image_tag(sys_user.avatar.thumb.url,:class => "member-img") %> - <% else %> - <%= image_tag "person.png",:class => "member-img" %> - <% end %> - </div> - <%= label_tag "lab-user-#{sys_user.id}", (sys_user.name rescue ''),:class=>"member-name",:id=>nil -%> - <%= check_box_tag "[users][#{sys_user.id}]", 'true',users.include?(sys_user),:class => "check" -%> - <%end -%> - </div> - - <% end -%> -<% end -%> \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb deleted file mode 100644 index 0ca148da1..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/setting.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$("#users_checkbox_ary").replaceWith('<%= escape_javascript(render :partial => "privilege_user", :locals => {:users => @users_array})%>'); -permissionCheckbox(); \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb deleted file mode 100644 index 7486000a2..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/update_setting.js.erb +++ /dev/null @@ -1 +0,0 @@ -alert( "<% flash.each do |key, msg| %><%= msg %><% end%>"); \ No newline at end of file diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb deleted file mode 100644 index 4c8bf25d3..000000000 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletin_category_setting/user_list.js.erb +++ /dev/null @@ -1,2 +0,0 @@ -$('#show_preview').html("<%= escape_javascript(render(:partial => 'modal_list',:locals => {:bulletin_category => @bulletin_category})) %>"); -var start_modal_with_id = "bulletin_category-<%=@bulletin_category.id%>" \ No newline at end of file diff --git a/vendor/built_in_modules/news/config/routes.rb b/vendor/built_in_modules/news/config/routes.rb index d718e7d61..5aa7118fd 100644 --- a/vendor/built_in_modules/news/config/routes.rb +++ b/vendor/built_in_modules/news/config/routes.rb @@ -20,11 +20,7 @@ Rails.application.routes.draw do match "file_quick_edit/:news_bulletin_id" => "news_bulletins#file_quick_edit" ,:as => :file_quick_edit end - resources :news_bulletin_categorys do - match 'submit_setting' => "news_bulletin_category_setting#setting" ,:as => :setting,:via => :get - match 'submit_setting' => "news_bulletin_category_setting#update_setting" ,:as => :setting,:via => :post - match 'submit_setting' => "news_bulletin_category_setting#user_list" ,:as => :user_list,:via => :put - end + resources :news_bulletin_categorys resources :news_bulletin_links, :controller => 'news_bulletin_links' do match "link_quick_edit/:news_bulletin_link_id" => "news_bulletin_links#link_quick_edit" ,:as => :link_quick_edit From dfd2d82efbf9341640074663c659f43f8f3c6589 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 16:56:32 +0800 Subject: [PATCH 25/26] Restart job --- app/jobs/restart_server.rb | 8 ++++++++ config/resque_schedule.yml | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 app/jobs/restart_server.rb diff --git a/app/jobs/restart_server.rb b/app/jobs/restart_server.rb new file mode 100644 index 000000000..53167fea1 --- /dev/null +++ b/app/jobs/restart_server.rb @@ -0,0 +1,8 @@ +class RestartServer + @queue = :high + + def self.perform() + CronMail.time_check("Going to restarting Orbit").deliver + %x[touch #{Rails.root}/tmp/restart] + end +end diff --git a/config/resque_schedule.yml b/config/resque_schedule.yml index 6929152e6..601941013 100644 --- a/config/resque_schedule.yml +++ b/config/resque_schedule.yml @@ -10,6 +10,12 @@ nccu_daily_ldap_sync: args: description: Sync NCCU middle site with Orbit for LDAP data +nccu_daily_restart: + cron: * * */3 * * * + class: RestartServer + args: + description: Restart NCCU site + nccu_claender_sync: cron: * * [0,12] * * * class: NccuCalendar From b804ba4d962cf4b38be77bc07db890831f85a210 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" <matthewfu@gmail.com> Date: Fri, 11 May 2012 17:07:21 +0800 Subject: [PATCH 26/26] Fix for manager and admin can see all post in announcement. Haven't applied to news --- .../announcement/back_end/bulletins_controller.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb index 7d89183e5..325f60f74 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb @@ -43,10 +43,12 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController @bulletin_file = BulletinFile.new @file_url = panel_announcement_back_end_bulletins_path - @bulletins.delete_if{ |bulletin| - bulletin.is_pending == true && (!bulletin.bulletin_category.authed_users('fact_check').include?(current_user) || bulletin.create_user_id!=current_user.id) - } - + if(!is_admin? || !is_manager?) + @bulletins.delete_if{ |bulletin| + bulletin.is_pending == true && (!bulletin.bulletin_category.authed_users('fact_check').include?(current_user) || bulletin.create_user_id!=current_user.id) + } + end + respond_to do |format| format.html # index.html.erb format.js { }