Ticket grouping plugin
Added by Andrew Chaika over 15 years ago
I have developed ticket (issues) grouping plugin and tested it on current trunk.
There is a sample screenshot:
Maybe it will be usefull for someone.
Replies (217)
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
Second version, added queries groups
RE: Ticket grouping plugin - Added by Eric Davis over 15 years ago
Great idea. It would be better if you didn't override the core Redmine controllers. If anything in them change, there's a chance the plugin will break.
Eric
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
Eric, as I understand the purpose of rails plugins is to demonstrate some functionality without modications of main project code.
I think that issues grouping and queries grouping in sidebar are good extensions (ideas etc.) for the base functionality of Redmine.
There are already some feature requests for such functionality (#2679), that can be solved.
How we can introduce them in the project main stream (trunk version)?
PS Sorry for my ugly english
RE: Ticket grouping plugin - Added by Eric Davis over 15 years ago
Andrew Chaika wrote:
Eric, as I understand the purpose of rails plugins is to demonstrate some functionality without modications of main project code.
I'm sorry. For that case of showing how the feature can be implemented, you are right. The majority of Redmine plugins are implemented as separate addons to Redmine that are maintained along with Redmine and I thought this was one of them.
How we can introduce them in the project main stream (trunk version)?
Best way would be to add the patches/plugins to an existing issue or to create a new issue using the Patch tracker. Then we can review it and see about applying the code to the core.
Eric
RE: Ticket grouping plugin - Added by Vidal Arpin over 15 years ago
Hi Andrew,
Please find, attached, the french language files for your plugin:
- ca-fr (lang).yml goes to the lang folder (please rename ca-fr.yml)
- fr (lang).yml goes to the lang folder (please rename fr.yml)
- ca-fr (locales).yml goes to the config/locales folder (please rename ca-fr.yml)
- fr (locales).yml goes to the config/locales folder (please rename fr.yml)
Regards!
ca-fr__lang_.yml (73 Bytes) ca-fr__lang_.yml | For the lang folder | ||
fr__lang_.yml (73 Bytes) fr__lang_.yml | For the lang folder | ||
ca-fr__locales_.yml (85 Bytes) ca-fr__locales_.yml | For the config/locales folder | ||
fr__locales_.yml (85 Bytes) fr__locales_.yml | For the config/locales folder |
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
Version 0.0.4:
- Added french language files
- Corrected links in sidebar
RE: Ticket grouping plugin - Added by Markus Knittig over 15 years ago
German translation for the plugins...
RE: Ticket grouping plugin - Added by Yuriy Silvestrov over 15 years ago
Can't install it - froze for a while on db migrate:
rake db:migrate_plugins RAILS_ENV="production"
Migrating engines...
---skipped other plugins---
Migrating redmine_issues_group...
and that's all :(
Redmine 0.8.3 - latest production release
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
Last version of this plugin works with 0.9 (trunk) version of Redmine.
For 0.8.x branch try to use 0.0.2 version, it was developed and tested on Redmine 0.8.2.
I will check db migration and compatibility with 0.8.3 version.
RE: Ticket grouping plugin - Added by note sinotite over 15 years ago
Very nice plugin. I'm also interested to see if it can be installed in 0.8.3.
RE: Ticket grouping plugin - Added by Adam Kubica over 15 years ago
The plugin is very usefull, why isn't part of redmine core app?
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
Version 0.0.5:
- Added Deutch language files
- Added autocompletion for query category field
- Rewritten migrations to be compatible with Redmine 0.8.x (rails 2.1.2)
It's need to manually destroy group_by and category fields from 'query' table and 'redmine_issues_group' row from 'plugin_schema_info' If you do migrations with 0.0.3-0.0.4 versions on Rails 2.1.2 (Redmine 0.8.x.stable) - Rewritten query filters for compatibility with Redmine 0.8.3 (no order save)
Tested on Redmine 0.8.0.devel.2641 and Redmine 0.8.3.stable.2670
RE: Ticket grouping plugin - Added by Sergio Vier over 15 years ago
good plugin!
atached translation for Spanish
RE: Ticket grouping plugin - Added by Chaoqun Zou over 15 years ago
Adam Kubica wrote:
The plugin is very usefull, why isn't part of redmine core app?
Now its a part of redmine core since r2696
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
I have published this plugin at http://github.com/Ubik/redmine_issues_group/tree/origin
In new version I implement Issues List as nested set with some outline view
subissues.png (137 KB) subissues.png |
RE: Ticket grouping plugin - Added by Gregor Bader over 15 years ago
Great plugin!
Is it compatible with r2711?
RE: Ticket grouping plugin - Added by Markus Knittig over 15 years ago
Andrew Chaika wrote:
I have published this plugin at http://github.com/Ubik/redmine_issues_group/tree/origin
I can't check it out:warning: remote HEAD refers to nonexistent ref, unable to checkout.
The default branch on GitHub is master, if your use something differently (like origin) you need to change this in the admin menu...
RE: Ticket grouping plugin - Added by Markus Knittig over 15 years ago
A workaround is to track the remote branch orgin/orign...
RE: Ticket grouping plugin - Added by Markus Knittig over 15 years ago
Also Change parent isn't working for me:
NoMethodError (undefined method `issue_categories' for #<Issue:0xb5668ff4>): /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:260:in `method_missing' /app/models/issue.rb:100:in `move_to' ...
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
Markus Knittig wrote:
Also Change parent isn't working for me:
The problem is within issue model it already has method move_to, that implemented in awesome_nested_set.
I have patched my awesome_nested_set (rename 'move_to' method to 'move_to_sub' or something like this), but it's not good solution. Maybe some kind of 'alias_method' will be better, or patch to awesome_nested_set, I will try to fix it.
awesome_nested_set_patch.diff (1.33 KB) awesome_nested_set_patch.diff | awesome_nested_set patch |
RE: Ticket grouping plugin - Added by Yohann Monnier over 15 years ago
Is the last version of your plugin also merged with the core of redmine ?
RE: Ticket grouping plugin - Added by Mischa The Evil over 15 years ago
Yohann Monnier wrote:
Is the last version of your plugin also merged with the core of redmine ?
Nope, it isn't. See issue #2679 for implementation details.
Regards,
Mischa
RE: Ticket grouping plugin - Added by Alexey Lustin over 15 years ago
in last version of plugin i have exception in ticket list
NoMethodError in Issues#index Showing vendor/plugins/redmine_issues_group/app/views/issues/_list.rhtml where line !#44 raised: undefined method `css_issue_classes' for #<ActionView::Base:0xb6ed18e8>
this was happened in
44: <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= css_issue_classes(issue) %> group-<%= group_num %>">
RE: Ticket grouping plugin - Added by Alexey Lustin over 15 years ago
change parent method does not correctly processed exception when i have tried to set the parent of issue to himself
ActiveRecord::ActiveRecordError in IssuesController#parent_edit Impossible move, target node cannot be inside moved tree.
RE: Ticket grouping plugin - Added by Andrew Chaika over 15 years ago
The first exception is because of changes that have made in r2694: http://www.redmine.org/projects/redmine/repository/revisions/2694/diff/trunk/app/views/issues/_list.rhtml
Its need to change css_issue_classes(issue)
to issue.css_classes
.
The second exception is raised when you try to change parent for list of issues to some subissue of them.
I will correct both errors in next revision.