Issue Badge Plugin
Added by Akiko Takano over 7 years ago
Hi, all.
I created small plugin to show the number of assigned issues with badge on top menu, and I’ve just released v0.0.5.
Since this plugin has test codes with rspec, so that I hope this would be any help for someone who is interested in plugin development and writing test.
Also, any suggestions, bug reports, feedbacks will be highly appreciated.
Replies (8)
RE: Issue Badge Plugin - Added by Dena Arif Widianto over 7 years ago
Hi Aiko
i just installed this plugin. it works for user created manually but not working for user created from LDAP user. what should i check?
RE: Issue Badge Plugin - Added by Dena Arif Widianto over 7 years ago
Hi Akiko
Could you help on this question?
RE: Issue Badge Plugin - Added by Akiko Takano over 7 years ago
Hi, thank you so much for using my tiny plugin and feedback!
If you use master branch, v0.0.5, please change lib/issue_badge/application_hooks.rb’s line 9, as following:
diff --git a/lib/issue_badge/application_hooks.rb b/lib/issue_badge/application_hooks.rb
index b982475..8e32bde 100644
--- a/lib/issue_badge/application_hooks.rb
+++ b/lib/issue_badge/application_hooks.rb
@@ -6,7 +6,7 @@ module IssueBadge
base_url = Redmine::Utils.relative_url_root
badge_url = base_url + '/issue_badge'
o = ''
- if User.current.logged? && User.current.change_password_allowed?
+ if User.current.logged?
global_enabled = Setting.plugin_redmine_issue_badge['activate_for_all_users'] == 'true'
issue_badge = IssueBadgeUserSetting.find_or_create_by_user_id(User.current)
o = stylesheet_link_tag('style', plugin: 'redmine_issue_badge')
Also I’m going to fix this.
Updated: 20170324 / auth_source_id.blank? is wrong. Please correct: if User.current.logged? only.
RE: Issue Badge Plugin - Added by Akiko Takano over 7 years ago
Hi, Dena.
How about after that?
I’ve applied above workaround into master branch. Info you have time, please try this.
Issue Badge Plugin v0.0.6 Released. - Added by Akiko Takano over 7 years ago
Hi, all.
I’ve just updated this plugin to v0.0.6.
Also, any suggestions, bug reports, feedbacks, translations will be highly appreciated.
RE: Issue Badge Plugin v0.0.6 Released. - Added by Dena Arif Widianto over 7 years ago
Akiko Takano wrote:
Hi, all.
I’ve just updated this plugin to v0.0.6.
Also, any suggestions, bug reports, feedbacks, translations will be highly appreciated.
Hi Akiko
i'm sorry for late reply.
i just apply new release and it's working for both account (internal account and LDAP account), This is very GREAT innovation. will inform you if there is any feedback or bug.
Thank you very much
RE: Issue Badge Plugin - Added by Akiko Takano over 7 years ago
Dena, I’m glad to hear that, and thanks for your vote. Happy Redmining!
RE: Issue Badge Plugin - Added by Sofia Kuznetsova about 3 years ago
Akiko Takano wrote:
Hi, all.
I created small plugin to show the number of assigned issues with badge on top menu, and I’ve just released v0.0.5.Since this plugin has test codes with rspec, so that I hope this would be any help for someone who is interested in plugin development and writing test.
Also, any suggestions, bug reports, feedbacks will be highly appreciated.
Привет Akiko!
Как можно видоизменить плагин? Мне нужно чтобы выводило задачи выполнены менее чем на 50%