./._global_filter_redmine_plugin 000755 000765 000024 00000000305 11766054160 020215 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/ 000755 000765 000024 00000000000 11766054160 017717 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/._.gitignore 000755 000765 000024 00000000305 11243332654 022122 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/.gitignore 000755 000765 000024 00000000006 11243332654 021703 0 ustar 00nathanjo staff 000000 000000 *.svn global_filter_redmine_plugin/._app 000755 000765 000024 00000000305 11243332654 020635 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/app/ 000755 000765 000024 00000000000 11243332654 020474 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/config/ 000755 000765 000024 00000000000 11767620511 021164 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/._init.rb 000755 000765 000024 00000000405 11243332654 021423 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 Ó ATTR ¸ M ¸ - com.apple.quarantine å com.macromates.caret q/0001;4fd855ff;Firefox;|org.mozilla.firefox xœ«æR ‚äüœÒÜ<[k0?'3/« ‹™ global_filter_redmine_plugin/init.rb 000755 000765 000024 00000001276 11243332654 021215 0 ustar 00nathanjo staff 000000 000000 # Global filter redmine plguin require 'redmine' require 'dispatcher' require_dependency 'welcome_index_hook' require RAILS_ROOT+'/app/helpers/issues_helper' Dispatcher.to_prepare do WelcomeHelper.send(:include, IssuesHelper) end RAILS_DEFAULT_LOGGER.info 'Starting Global Filter Plugin for RedMine' #RAILS_DEFAULT_LOGGER.info 'Listeners: '+ Redmine::Hook.listeners.inspect Redmine::Plugin.register :global_filter_plugin do name 'Global filter plugin' author 'Kumudha Rangachari' description 'This is a global filter plugin for Redmine that is used to display issues that satisfy a global filter across projects. Has the ability to filter on the projects displayed.' version '0.0.1' end global_filter_redmine_plugin/._lang 000755 000765 000024 00000000305 11243332654 020776 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/lang/ 000755 000765 000024 00000000000 11243332654 020635 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/._lib 000755 000765 000024 00000000305 11243332654 020623 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/lib/ 000755 000765 000024 00000000000 11243332654 020462 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/._README 000755 000765 000024 00000000405 11243332654 021013 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 Ó ATTR ¸ M ¸ - com.apple.quarantine å com.macromates.caret q/0001;4fd855ff;Firefox;|org.mozilla.firefox xœ«æR ‚äüœÒÜ<[k0?'3/« ‹™ global_filter_redmine_plugin/README 000755 000765 000024 00000003302 11243332654 020575 0 ustar 00nathanjo staff 000000 000000 Global Filter Plugin This plugin is built to display a list of "global" filters on your Redmine homepage, for easy access to issues that satisfy the filters across your projects. Background: Filters: Filters are queries that are used to filter issues pertaining to a project or all issues across projects. These filters can be created using the 'Add Filter' UI in the 'Filters' block above the issue list in the 'View all issues'/ the Issues page of any project. And saved with a name for future use by everyone, in the case of a 'public' filter, or by yourself when otherwise. Global Filters: Global filters are those queries(filters) that you create that are public and/or apply to all projects. When marked public, these filters are made available on other user's global filter list on the Redmine homepage. Functionality: The crux of this plugin lies in the filter list that is displayed in the homepage (http://www.flickr.com/photos/7318709@N08/3790982185). The list consists of links corresponding to global filters available to you. i.e. links you created yourelf that apply to all projects, or ones that were marked public by others that apply to all projects. Clicking on these links take you to a view of the issues that satisfy the filter from all your projects.The issue list is categorized according to projects they belong to (http://www.flickr.com/photos/7318709@N08/3790972041). On the issue list page, the sidebar(RHS) has a 'Filter by Projects' block that can be used to filter the issue list display to only a subset of the projects you belong to. The default is to show all projects. The sidebar also has the 'Custom Queries' block that lists all the global filters listed in the homepage. global_filter_redmine_plugin/lib/._welcome_index_hook.rb 000755 000765 000024 00000000305 11243332654 025067 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/lib/welcome_index_hook.rb 000755 000765 000024 00000000207 11243332654 024653 0 ustar 00nathanjo staff 000000 000000 class WelcomeIndexHook < Redmine::Hook::ViewListener render_on :view_welcome_index_left, :partial => "show_global_filters" end global_filter_redmine_plugin/lang/._en.yml 000755 000765 000024 00000000305 11243332654 022200 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/lang/en.yml 000755 000765 000024 00000000000 11243332654 021753 0 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/lang/._fr.yml 000755 000765 000024 00000000305 11243332654 022205 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/lang/fr.yml 000755 000765 000024 00000000000 11243332654 021760 0 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/config/routes.rb 000644 000765 000024 00000000232 11767620511 023027 0 ustar 00nathanjo staff 000000 000000 ActionController::Routing::Routes.draw do |map| map.connect 'global_filter/:action', :controller => 'global_filter', :action => 'find_filter_issues' end global_filter_redmine_plugin/app/._controllers 000755 000765 000024 00000000305 11243332654 023203 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/app/controllers/ 000755 000765 000024 00000000000 11243332654 023042 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/app/._views 000755 000765 000024 00000000305 11243332654 021772 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/app/views/ 000755 000765 000024 00000000000 11243332654 021631 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/app/views/._global_filter 000755 000765 000024 00000000305 11243332654 024577 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/app/views/global_filter/ 000755 000765 000024 00000000000 11243332654 024436 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/app/views/._welcome 000755 000765 000024 00000000305 11243332654 023425 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 “ Å ATTR Å ˜ - ˜ - com.apple.quarantine q/0001;4fd855ff;Firefox;|org.mozilla.firefox global_filter_redmine_plugin/app/views/welcome/ 000755 000765 000024 00000000000 11243332654 023264 5 ustar 00nathanjo staff 000000 000000 global_filter_redmine_plugin/app/views/welcome/.__show_global_filters.rhtml 000755 000765 000024 00000000405 11243332654 030742 0 ustar 00nathanjo staff 000000 000000 Mac OS X 2 Ó ATTR ¸ M ¸ - com.apple.quarantine å com.macromates.caret q/0001;4fd855ff;Firefox;|org.mozilla.firefox xœ«æR ‚äüœÒÜ<[k0?'3/« ‹™ global_filter_redmine_plugin/app/views/welcome/_show_global_filters.rhtml 000755 000765 000024 00000000717 11243332654 030533 0 ustar 00nathanjo staff 000000 000000 <% if User.current != User.anonymous and not User.current.projects.empty? %> <% if not (@custom_queries = sidebar_queries()).nil? %>
<%= planning_links.join(' | ') %>
<%= call_hook(:view_issues_sidebar_planning_bottom) %> <% end %> <% unless sidebar_queries.empty? -%><%= l(:label_no_data) %>
<% else %> <% prev_proj_id = @issues[0].project_id %> <% p_name = Project.find(prev_proj_id).name %> <% proj_names = [] %> <% proj_names << p_name %><%= link_to i.id, :controller => 'issues', :action => 'show', :id => i %> | <% @query.columns.each do |column| %><%= content_tag 'td', column_content(column, i), :class => column.name %><% end %>