diff --git a/.gitignore b/.gitignore index d5a0e5f2f..0ac235089 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,8 @@ /config/database.yml /files/* /log/* -/tmp/* -/cache/* +/public/tmp/* +/public/cache/* .gitignore /public/images/avatars/* /Gemfile diff --git a/app/helpers/expire_helper.rb b/app/helpers/expire_helper.rb new file mode 100644 index 000000000..0a9cab69c --- /dev/null +++ b/app/helpers/expire_helper.rb @@ -0,0 +1,16 @@ +module ExpireHelper + #index.html 中 “projects”塊 緩存過期 + def expire_project_cache + ActionController::Base.new.expire_fragment('projects') + end + + #index.html 中 “activities”塊 緩存過期 + def expire_activitie_cache + ActionController::Base.new.expire_fragment('activities') + end + + #welcome/index.html 中 “forums”塊 緩存過期 + def expire_forum_cache + ActionController::Base.new.expire_fragment('forums') + end +end diff --git a/app/models/bid.rb b/app/models/bid.rb index 3f21c451f..f423266b8 100644 --- a/app/models/bid.rb +++ b/app/models/bid.rb @@ -17,6 +17,7 @@ class Bid < ActiveRecord::Base HomeworkProject = 2 attr_accessible :author_id, :budget, :deadline, :name, :description, :homework_type, :password include Redmine::SafeAttributes + include ExpireHelper belongs_to :author, :class_name => 'User', :foreign_key => :author_id belongs_to :course @@ -34,9 +35,9 @@ class Bid < ActiveRecord::Base # has_many :fork_homework, :class_name => 'Bid', :conditions => "#{Bid.table_name}.parent_id = #{id}" - after_create :expire_cache - after_update :expire_cache - before_destroy :expire_cache + after_create :expire_activitie_cache + after_update :expire_activitie_cache + before_destroy :expire_activitie_cache acts_as_attachable @@ -154,7 +155,5 @@ class Bid < ActiveRecord::Base end end - def expire_cache - ActionController::Base.new.expire_fragment('activities') - end + end diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 5f3f2e03d..101647824 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -16,6 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class Changeset < ActiveRecord::Base + include ExpireHelper belongs_to :repository belongs_to :user include UserScoreHelper @@ -64,9 +65,9 @@ class Changeset < ActiveRecord::Base includes(:repository => :project).where(Project.allowed_to_condition(args.shift || User.current, :view_changesets, *args)) } - after_create :scan_for_issues,:refresh_changests,:expire_cache#:be_user_score # user_score - after_update :be_user_score,:expire_cache - before_destroy :expire_cache + after_create :scan_for_issues,:refresh_changests,:expire_activitie_cache#:be_user_score # user_score + after_update :be_user_score,:expire_activitie_cache + before_destroy :expire_activitie_cache after_destroy :down_user_score before_create :before_create_cs @@ -329,9 +330,5 @@ class Changeset < ActiveRecord::Base self.repository.fetch_changesets if Setting.autofetch_changesets? end end - #added by lizanle - #设置活动过期 - def expire_cache - ActionController::Base.new.expire_fragment('activities') - end + end diff --git a/app/models/contest_notification.rb b/app/models/contest_notification.rb index cc23cffe0..0ccd0d5a7 100644 --- a/app/models/contest_notification.rb +++ b/app/models/contest_notification.rb @@ -1,11 +1,10 @@ class ContestNotification < ActiveRecord::Base + include ExpireHelper attr_accessible :content, :title validates :title, length: {maximum: 30} - after_create :expire_cache - after_update :expire_cache - before_destroy :expire_cache + after_create :expire_forum_cache + after_update :expire_forum_cache + before_destroy :expire_forum_cache + - def expire_cache - ActionController::Base.new.expire_fragment('forums') - end end diff --git a/app/models/document.rb b/app/models/document.rb index 29a761827..e607b9292 100644 --- a/app/models/document.rb +++ b/app/models/document.rb @@ -17,15 +17,16 @@ class Document < ActiveRecord::Base include Redmine::SafeAttributes + include ExpireHelper belongs_to :project belongs_to :user belongs_to :category, :class_name => "DocumentCategory", :foreign_key => "category_id" include UserScoreHelper after_save :be_user_score # user_score after_destroy :down_user_score - after_create :expire_cache - after_update :expire_cache - before_destroy :expire_cache + after_create :expire_activitie_cache + after_update :expire_activitie_cache + before_destroy :expire_activitie_cache acts_as_attachable :delete_permission => :delete_documents acts_as_searchable :columns => ['title', "#{table_name}.description"], :include => :project diff --git a/app/models/forum.rb b/app/models/forum.rb index 2157e638d..dc1603288 100644 --- a/app/models/forum.rb +++ b/app/models/forum.rb @@ -1,12 +1,13 @@ class Forum < ActiveRecord::Base include Redmine::SafeAttributes + include ExpireHelper has_many :topics, :class_name => 'Memo', :conditions => "#{Memo.table_name}.parent_id IS NULL", :order => "#{Memo.table_name}.created_at DESC", :dependent => :destroy has_many :memos, :dependent => :destroy, conditions: "parent_id IS NULL" belongs_to :creator, :class_name => "User", :foreign_key => 'creator_id' - after_create :expire_cache - after_update :expire_cache - before_destroy :expire_cache + after_create :expire_forum_cache + after_update :expire_forum_cache + before_destroy :expire_forum_cache safe_attributes 'name', 'description', 'topic_count', @@ -46,7 +47,5 @@ class Forum < ActiveRecord::Base ["id = ?", forum_id]) end - def expire_cache - ActionController::Base.new.expire_fragment('forums') - end + end diff --git a/app/models/issue.rb b/app/models/issue.rb index 17ef7b577..a7b1a5943 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -19,7 +19,7 @@ class Issue < ActiveRecord::Base include Redmine::SafeAttributes include Redmine::Utils::DateCalculation include UserScoreHelper - + include ExpireHelper belongs_to :project belongs_to :tracker belongs_to :status, :class_name => 'IssueStatus', :foreign_key => 'status_id' @@ -80,9 +80,9 @@ class Issue < ActiveRecord::Base after_create :act_as_activity,:be_user_score_new_issue after_update :be_user_score after_destroy :down_user_score - after_create :expire_cache - after_update :expire_cache - before_destroy :expire_cache + after_create :expire_activitie_cache + after_update :expire_activitie_cache + before_destroy :expire_activitie_cache # after_create :be_user_score # end @@ -1555,8 +1555,6 @@ class Issue < ActiveRecord::Base end - def expire_cache - ActionController::Base.new.expire_fragment('activities') - end + end diff --git a/app/models/journals_for_message.rb b/app/models/journals_for_message.rb index 720b0d914..c71fbaf47 100644 --- a/app/models/journals_for_message.rb +++ b/app/models/journals_for_message.rb @@ -4,6 +4,7 @@ class JournalsForMessage < ActiveRecord::Base include Redmine::SafeAttributes include UserScoreHelper + include ExpireHelper safe_attributes "jour_type", # 留言所属类型 "jour_id", # 留言所属类型的id "notes", # 留言内容 @@ -54,9 +55,9 @@ class JournalsForMessage < ActiveRecord::Base has_many :acts, :class_name => 'Activity', :as => :act, :dependent => :destroy validates :notes, presence: true - after_create :act_as_activity ,:expire_cache#huang - after_update :expire_cache - before_destroy :expire_cache + after_create :act_as_activity ,:expire_activitie_cache#huang + after_update :expire_activitie_cache + before_destroy :expire_activitie_cache after_create :reset_counters! after_destroy :reset_counters! after_save :be_user_score @@ -165,7 +166,5 @@ class JournalsForMessage < ActiveRecord::Base end end - def expire_cache - ActionController::Base.new.expire_fragment('activities') - end + end diff --git a/app/models/memo.rb b/app/models/memo.rb index 491f4e4a1..495f97ad3 100644 --- a/app/models/memo.rb +++ b/app/models/memo.rb @@ -1,6 +1,7 @@ class Memo < ActiveRecord::Base include Redmine::SafeAttributes include UserScoreHelper + include ExpireHelper belongs_to :forum belongs_to :author, :class_name => "User", :foreign_key => 'author_id' @@ -168,7 +169,7 @@ class Memo < ActiveRecord::Base update_replay_for_memo(User.current,1) end def expire_cache - ActionController::Base.new.expire_fragment('forums') - ActionController::Base.new.expire_fragment('activities') + expire_forum_cache + expire_activitie_cache end end diff --git a/app/models/message.rb b/app/models/message.rb index 21f34add2..9ce4d583a 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -18,7 +18,7 @@ class Message < ActiveRecord::Base include Redmine::SafeAttributes include UserScoreHelper - + include ExpireHelper belongs_to :board belongs_to :author, :class_name => 'User', :foreign_key => 'author_id' has_many :praise_tread, as: :praise_tread_object, dependent: :destroy @@ -59,9 +59,9 @@ class Message < ActiveRecord::Base validates_length_of :subject, :maximum => 255 validate :cannot_reply_to_locked_topic, :on => :create - after_create :add_author_as_watcher, :reset_counters!,:expire_cache - after_update :update_messages_board,:expire_cache - before_destroy :expire_cache + after_create :add_author_as_watcher, :reset_counters!,:expire_activitie_cache + after_update :update_messages_board,:expire_activitie_cache + before_destroy :expire_activitie_cache after_destroy :reset_counters!,:down_user_score # fq @@ -197,7 +197,5 @@ class Message < ActiveRecord::Base end end - def expire_cache - ActionController::Base.new.expire_fragment('activities') - end + end diff --git a/app/models/news.rb b/app/models/news.rb index 6567c4028..9c37719f3 100644 --- a/app/models/news.rb +++ b/app/models/news.rb @@ -17,6 +17,7 @@ class News < ActiveRecord::Base include Redmine::SafeAttributes + include ExpireHelper belongs_to :project #added by nwb belongs_to :course @@ -47,9 +48,9 @@ class News < ActiveRecord::Base # fq after_create :act_as_activity # end - after_create :expire_cache - after_update :expire_cache - before_destroy :expire_cache + after_create :expire_activitie_cache + after_update :expire_activitie_cache + before_destroy :expire_activitie_cache scope :visible, lambda {|*args| includes(:project).where(Project.allowed_to_condition(args.shift || User.current, :view_news, *args)) @@ -95,7 +96,5 @@ class News < ActiveRecord::Base self.acts << Activity.new(:user_id => self.author_id) end - def expire_cache - ActionController::Base.new.expire_fragment('activities') - end + end diff --git a/app/models/project.rb b/app/models/project.rb index aa24eb96d..c4d07a1ad 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -17,6 +17,7 @@ class Project < ActiveRecord::Base include Redmine::SafeAttributes + include ExpireHelper ProjectType_project = 0 ProjectType_course = 1 @@ -127,9 +128,9 @@ class Project < ActiveRecord::Base #after_save :update_position_under_parent, :if => Proc.new {|project| project.name_changed?} after_save :update_inherited_members, :if => Proc.new {|project| project.inherit_members_changed?} # 创建project之后默认创建一个board,之后的board去掉了board的概念 - after_create :create_board_sync,:expire_cache - after_update :expire_cache - before_destroy :delete_all_members,:expire_cache + after_create :create_board_sync,:expire_project_cache + after_update :expire_project_cache + before_destroy :delete_all_members,:expire_project_cache def remove_references_before_destroy return if self.id.nil? Watcher.delete_all ['watchable_id = ?', id] @@ -1150,8 +1151,6 @@ class Project < ActiveRecord::Base end end - def expire_cache - ActionController::Base.new.expire_fragment('projects') - end + end diff --git a/public/cache/1DB/8A2/http%3A%2F%2Flocalhost%3A3000%2Fthemes%2Fredpenny-master%2Fstylesheets%2Fapplication.css%3F1420357855%3D b/public/cache/1DB/8A2/http%3A%2F%2Flocalhost%3A3000%2Fthemes%2Fredpenny-master%2Fstylesheets%2Fapplication.css%3F1420357855%3D deleted file mode 100644 index 5dc67c6c1..000000000 Binary files a/public/cache/1DB/8A2/http%3A%2F%2Flocalhost%3A3000%2Fthemes%2Fredpenny-master%2Fstylesheets%2Fapplication.css%3F1420357855%3D and /dev/null differ diff --git a/public/cache/20C/451/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Flist-icon.png%3F b/public/cache/20C/451/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Flist-icon.png%3F deleted file mode 100644 index 69b6cab42..000000000 Binary files a/public/cache/20C/451/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Flist-icon.png%3F and /dev/null differ diff --git a/public/cache/2D3/CC1/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Flogo.png%3F1420357778%3D b/public/cache/2D3/CC1/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Flogo.png%3F1420357778%3D deleted file mode 100644 index 28cd6f462..000000000 Binary files a/public/cache/2D3/CC1/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Flogo.png%3F1420357778%3D and /dev/null differ diff --git a/public/cache/51F/CA1/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fnyan.css%3F1420357855%3D b/public/cache/51F/CA1/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fnyan.css%3F1420357855%3D deleted file mode 100644 index f5ad1a599..000000000 Binary files a/public/cache/51F/CA1/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fnyan.css%3F1420357855%3D and /dev/null differ diff --git a/public/cache/559/261/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fapplication.css%3F b/public/cache/559/261/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fapplication.css%3F deleted file mode 100644 index a209270d8..000000000 Binary files a/public/cache/559/261/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fapplication.css%3F and /dev/null differ diff --git a/public/cache/568/F80/views%2Fforums b/public/cache/568/F80/views%2Fforums deleted file mode 100644 index 726743bad..000000000 --- a/public/cache/568/F80/views%2Fforums +++ /dev/null @@ -1,145 +0,0 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1420532950.016201:@value"I"
- - - - - -:ET \ No newline at end of file diff --git a/public/cache/5AA/681/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Favatars%2FUser%2F0%3F1420357778%3D b/public/cache/5AA/681/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Favatars%2FUser%2F0%3F1420357778%3D deleted file mode 100644 index c07b3d1fc..000000000 Binary files a/public/cache/5AA/681/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Favatars%2FUser%2F0%3F1420357778%3D and /dev/null differ diff --git a/public/cache/5D4/CE1/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Ftransparent.png%3F1420357778%3D b/public/cache/5D4/CE1/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Ftransparent.png%3F1420357778%3D deleted file mode 100644 index 700d98506..000000000 Binary files a/public/cache/5D4/CE1/http%3A%2F%2Flocalhost%3A3000%2Fimages%2Ftransparent.png%3F1420357778%3D and /dev/null differ diff --git a/public/cache/5D6/771/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fwelcome.js%3F1420357855%3D b/public/cache/5D6/771/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fwelcome.js%3F1420357855%3D deleted file mode 100644 index 8b17495b2..000000000 Binary files a/public/cache/5D6/771/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fwelcome.js%3F1420357855%3D and /dev/null differ diff --git a/public/cache/636/EF0/views%2Fprojects b/public/cache/636/EF0/views%2Fprojects deleted file mode 100644 index 231045423..000000000 --- a/public/cache/636/EF0/views%2Fprojects +++ /dev/null @@ -1,185 +0,0 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1420531897.9176939:@value"3I"3',{ - 'class' : 'jRatingInfos', - html : getNote(relativeX)+' / '+opts.rateMax+'', - css : { - top: (e.pageY + opts.rateInfosY), - left: (e.pageX + opts.rateInfosX) - } - }).appendTo('body').show(); - }, - mouseover : function(e){ - $(this).css('cursor','pointer'); - }, - mouseout : function(){ - $(this).css('cursor','default'); - if(hasRated) average.width(globalWidth); - else average.width(0); - }, - mousemove : function(e){ - var realOffsetLeft = findRealLeft(this); - var relativeX = e.pageX - realOffsetLeft; - if(opts.step) newWidth = Math.floor(relativeX/starWidth)*starWidth + starWidth; - else newWidth = relativeX; - average.width(newWidth); - if (opts.showRateInfo) - $("p.jRatingInfos") - .css({ - left: (e.pageX + opts.rateInfosX) - }) - .html(getNote(newWidth) +' / '+opts.rateMax+''); - }, - mouseleave : function(){ - $("p.jRatingInfos").remove(); - }, - click : function(e){ - var flag = confirm("确定评分?"); - if(!flag) - { - e.cancel(); - } - - - var element = this; - - /*set vars*/ - hasRated = true; - globalWidth = newWidth; - nbOfRates--; - - if(!opts.canRateAgain || parseInt(nbOfRates) <= 0) $(this).unbind().css('cursor','default').addClass('jDisabled'); - - if (opts.showRateInfo) $("p.jRatingInfos").fadeOut('fast',function(){$(this).remove();}); - e.preventDefault(); - var rate = getNote(newWidth); - average.width(newWidth); - - - $.post(defaults.path, - { - idBox : idBox, - rate : rate, - kls : kls, - dimension : dimension - /** action : 'rating' **/ - }, - function(data) { - if(!data.error) - { - /** Here you can display an alert box, - or use the jNotify Plugin :) http://www.myqjqueryplugins.com/jNotify - exemple : */ - if(opts.onSuccess) opts.onSuccess( element, rate ); - } - else - { - - /** Here you can display an alert box, - or use the jNotify Plugin :) http://www.myqjqueryplugins.com/jNotify - exemple : */ - if(opts.onError) opts.onError( element, rate ); - } - }, - 'json' - ); - } - }); - - function getNote(relativeX) { - var noteBrut = parseFloat((relativeX*100/widthRatingContainer)*opts.rateMax/100); - switch(opts.decimalLength) { - case 1 : - var note = Math.round(noteBrut*10)/10; - break; - case 2 : - var note = Math.round(noteBrut*100)/100; - break; - case 3 : - var note = Math.round(noteBrut*1000)/1000; - break; - default : - var note = Math.round(noteBrut*1)/1; - } - return note; - }; - - function getStarWidth(){ - switch(opts.type) { - case 'small' : - starWidth = 12; // width of the picture small.png - starHeight = 10; // height of the picture small.png - bgPath = opts.smallStarsPath; - break; - default : - starWidth = 23; // width of the picture stars.png - starHeight = 20; // height of the picture stars.png - bgPath = opts.bigStarsPath; - } - }; - - function findRealLeft(obj) { - if( !obj ) return 0; - return obj.offsetLeft + findRealLeft( obj.offsetParent ); - }; - }); - - } -})(jQuery); diff --git a/public/cache/AC2/A80/60567173164aa1f75c0f9517835ebc2fd5eb0ec5 b/public/cache/AC2/A80/60567173164aa1f75c0f9517835ebc2fd5eb0ec5 deleted file mode 100644 index 3b564199a..000000000 Binary files a/public/cache/AC2/A80/60567173164aa1f75c0f9517835ebc2fd5eb0ec5 and /dev/null differ diff --git a/public/cache/AC9/C70/bbefbac7540e09e1955cb47321965813266c7a8e b/public/cache/AC9/C70/bbefbac7540e09e1955cb47321965813266c7a8e deleted file mode 100644 index 866f94664..000000000 --- a/public/cache/AC9/C70/bbefbac7540e09e1955cb47321965813266c7a8e +++ /dev/null @@ -1,69 +0,0 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1420532735.222791:@value"6[".(function () { - window.onload = function(){ - function fixedBar(id, options){ - var ele = document.getElementById(id); - if(!ele) return; - if(/msie (\d+\.\d+)/i.test(navigator.userAgent)){ - var pageHeight=window.innerHeight; - var d=document; - if(typeof pageHeight!="number"){ - if(document.compatMode=="CSS1Compat"){ - pageHeight=document.documentElement.clientHeight; - }else{ - pageHeight=document.body.clientHeight; - } - } - var ieScrollTop=window.pageYOffset || d.documentElement.scrollTop || d.body.scrollTop; - if(options.addclass) ele.className = options.addclass; - ele.style.position= 'absolute'; - - if(options.show){ - ele.style.top = 0 + "px"; - ele.style.display= 'block'; - } - - window.attachEvent('onscroll' , function (){ - - var ieScrollTop=window.pageYOffset || d.documentElement.scrollTop || d.body.scrollTop; - - ele.style.top = 0 + "px"; - if(options.autoHidden){ - if(ieScrollTop==0){ - ele.style.display="none"; - }else{ - ele.style.display="block"; - } - } - }); - }else{ - var ele = document.getElementById(id); - if(typeof pageHeight!="number"){ - if(document.compatMode=="CSS1Compat"){ - pageHeight=document.documentElement.clientHeight; - }else{ - pageHeight=document.body.clientHeight; - } - } - if(options.show) ele.style.display= 'block'; - ele.style.top = 0 +'px'; - window.addEventListener('scroll',function (){ - if(options.autoHidden){ - if(baidu.page.getScrollTop()==0){ - ele.style.display="none"; - }else{ - ele.style.display="block"; - } - } - },false); - } - } - - fixedBar('backTopBtn' , {autoHidden: true, top : 186}); - fixedBar('identifier-pannel' , {autoHidden: false , top : 956 , show : true}); - //修改微信扫码样式布局后添加微信扫码跟随滚动处理 - $(window).scroll(function(){ - var vtop=$(document).scrollTop(); - $("#identifier-pannel").css('top',vtop+"px"); - }) - } -})(); \ No newline at end of file diff --git a/public/cache/AFF/300/57a7c6d86d2ad09012bac99d46b38f9f33a970a8 b/public/cache/AFF/300/57a7c6d86d2ad09012bac99d46b38f9f33a970a8 deleted file mode 100644 index 1e70f7d5d..000000000 --- a/public/cache/AFF/300/57a7c6d86d2ad09012bac99d46b38f9f33a970a8 +++ /dev/null @@ -1,6 +0,0 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1420532735.051782:@value" -["// leanModal v1.1 by Ray Stone - http://finelysliced.com.au -// Dual licensed under the MIT and GPL - -(function($){$.fn.extend({leanModal:function(options){var defaults={top:100,overlay:0.5,closeButton:null};var overlay=$("
");$("body").append(overlay);options=$.extend(defaults,options);return this.each(function(){var o=options;$(this).click(function(e){var modal_id=$(this).attr("href");$("#lean_overlay").click(function(){close_modal(modal_id)});$(o.closeButton).click(function(){close_modal(modal_id)});var modal_height=$(modal_id).outerHeight();var modal_width=$(modal_id).outerWidth(); -$("#lean_overlay").css({"display":"block",opacity:0});$("#lean_overlay").fadeTo(200,o.overlay);$(modal_id).css({"display":"block","position":"fixed","opacity":0,"z-index":100,"left":50+"%","margin-left":-(modal_width/2)+"px","top":o.top+"px"});$(modal_id).fadeTo(200,1);e.preventDefault()})});function close_modal(modal_id){$("#lean_overlay").fadeOut(200);$(modal_id).css({"display":"none"})}}})})(jQuery); diff --git a/public/cache/B2D/650/88eae75bf7b81a196ba38d86bf54e7162ab274c1 b/public/cache/B2D/650/88eae75bf7b81a196ba38d86bf54e7162ab274c1 deleted file mode 100644 index fdbb70040..000000000 Binary files a/public/cache/B2D/650/88eae75bf7b81a196ba38d86bf54e7162ab274c1 and /dev/null differ diff --git a/public/cache/B3B/DA0/e9938e23e7a85ff3d431e045384ccd84dea93ce8 b/public/cache/B3B/DA0/e9938e23e7a85ff3d431e045384ccd84dea93ce8 deleted file mode 100644 index 675388492..000000000 Binary files a/public/cache/B3B/DA0/e9938e23e7a85ff3d431e045384ccd84dea93ce8 and /dev/null differ diff --git a/public/cache/B4F/E50/afc8c0ba867511cd69e8b5d43542aad5a2e716c6 b/public/cache/B4F/E50/afc8c0ba867511cd69e8b5d43542aad5a2e716c6 deleted file mode 100644 index 800a1f0bd..000000000 Binary files a/public/cache/B4F/E50/afc8c0ba867511cd69e8b5d43542aad5a2e716c6 and /dev/null differ diff --git a/public/cache/B54/AB0/213cd47b5ee47b691425e1fcb6dffb207c707d8c b/public/cache/B54/AB0/213cd47b5ee47b691425e1fcb6dffb207c707d8c deleted file mode 100644 index 884419b66..000000000 Binary files a/public/cache/B54/AB0/213cd47b5ee47b691425e1fcb6dffb207c707d8c and /dev/null differ diff --git a/public/cache/B6B/0E0/6d2710e981a7dd596afcc77e54ff43b9d7f75cb2 b/public/cache/B6B/0E0/6d2710e981a7dd596afcc77e54ff43b9d7f75cb2 deleted file mode 100644 index d6cb37900..000000000 Binary files a/public/cache/B6B/0E0/6d2710e981a7dd596afcc77e54ff43b9d7f75cb2 and /dev/null differ diff --git a/public/cache/B76/7F1/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fjquery%2Fjquery-ui-1.9.2.css%3F1420357855%3D b/public/cache/B76/7F1/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fjquery%2Fjquery-ui-1.9.2.css%3F1420357855%3D deleted file mode 100644 index b5d794c29..000000000 Binary files a/public/cache/B76/7F1/http%3A%2F%2Flocalhost%3A3000%2Fstylesheets%2Fjquery%2Fjquery-ui-1.9.2.css%3F1420357855%3D and /dev/null differ diff --git a/public/cache/B7C/511/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fjquery-1.8.3-ui-1.9.2-ujs-2.0.3.js%3F1420357855%3D b/public/cache/B7C/511/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fjquery-1.8.3-ui-1.9.2-ujs-2.0.3.js%3F1420357855%3D deleted file mode 100644 index 313bdc57a..000000000 Binary files a/public/cache/B7C/511/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fjquery-1.8.3-ui-1.9.2-ujs-2.0.3.js%3F1420357855%3D and /dev/null differ diff --git a/public/cache/B7E/7C0/0e09a16c714ce54739affa1a4e945aa699b4baae b/public/cache/B7E/7C0/0e09a16c714ce54739affa1a4e945aa699b4baae deleted file mode 100644 index de9fe3690..000000000 Binary files a/public/cache/B7E/7C0/0e09a16c714ce54739affa1a4e945aa699b4baae and /dev/null differ diff --git a/public/cache/B8A/F50/dd147f7301bf4217fcb61f9e99d343f4f6ffbb1a b/public/cache/B8A/F50/dd147f7301bf4217fcb61f9e99d343f4f6ffbb1a deleted file mode 100644 index 982932afa..000000000 Binary files a/public/cache/B8A/F50/dd147f7301bf4217fcb61f9e99d343f4f6ffbb1a and /dev/null differ diff --git a/public/cache/BB1/DF0/f743173130fefc074fc3faadc21911a5f8ed7eff b/public/cache/BB1/DF0/f743173130fefc074fc3faadc21911a5f8ed7eff deleted file mode 100644 index e522ffa21..000000000 Binary files a/public/cache/BB1/DF0/f743173130fefc074fc3faadc21911a5f8ed7eff and /dev/null differ diff --git a/public/cache/BE0/BD0/0917fc42cb8dfbd8bc5add2088e60feb41c28e0f b/public/cache/BE0/BD0/0917fc42cb8dfbd8bc5add2088e60feb41c28e0f deleted file mode 100644 index 50be99779..000000000 Binary files a/public/cache/BE0/BD0/0917fc42cb8dfbd8bc5add2088e60feb41c28e0f and /dev/null differ diff --git a/public/cache/C12/DE1/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fseems_rateable%2FjRating.js%3F1420357855%3D b/public/cache/C12/DE1/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fseems_rateable%2FjRating.js%3F1420357855%3D deleted file mode 100644 index 98b7931ca..000000000 Binary files a/public/cache/C12/DE1/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fseems_rateable%2FjRating.js%3F1420357855%3D and /dev/null differ diff --git a/public/cache/C83/011/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fseems_rateable%2Frateable.js%3F1420357855%3D b/public/cache/C83/011/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fseems_rateable%2Frateable.js%3F1420357855%3D deleted file mode 100644 index d92ebe496..000000000 Binary files a/public/cache/C83/011/http%3A%2F%2Flocalhost%3A3000%2Fjavascripts%2Fseems_rateable%2Frateable.js%3F1420357855%3D and /dev/null differ diff --git a/test/unit/helpers/expire_helper_test.rb b/test/unit/helpers/expire_helper_test.rb new file mode 100644 index 000000000..318e451cc --- /dev/null +++ b/test/unit/helpers/expire_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class ExpireHelperTest < ActionView::TestCase +end diff --git a/tmp/plugins/README b/tmp/plugins/README deleted file mode 100644 index edef25679..000000000 --- a/tmp/plugins/README +++ /dev/null @@ -1 +0,0 @@ -Put your Redmine plugins here.