====== dokumicrobugtracker Plugin ====== ---- plugin ---- description: Allows creation of a simple bug tracker author : BenoƮt HERVIER email : khertan@khertan.net type : syntax lastupdate : 2011-10-18 compatible : Lemming, Anteater, Rincewind depends : captcha conflicts : similar : issuetracker tags : bugtracker downloadurl: https://github.com/khertan/dokumicrobugtracker/archive/master.zip bugtracker : https://github.com/khertan/dokumicrobugtracker/issues sourcerepo : https://github.com/khertan/dokumicrobugtracker donationurl: ---- ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Syntax and Usage ===== {{dokumicrobugtracker>project=projectname|status=all|display=bugs}} ^ [project] | the project name of your bugtracker (eg : name of your software) | required | ^ [status] | a filter to display only certain statuses | default is all | ^ [display] | a filter to display only the report form, or only the bugs list, or count the number of different statuses in the project | default is both form and report | ===== Examples ===== Display all bugs for project KhtEditor : {{dokumicrobugtracker>project=KhtEditor|status=all|display=bugs}} Display just the report forms for project KhtEditor : {{dokumicrobugtracker>project=KhtEditor|status=all|display=form}} Display all fixed bugs for project KhtEditor with a report form : {{dokumicrobugtracker>project=KhtEditor|status=Fixed}} Display the number of report groups by status : {{dokumicrobugtracker>project=KhtEditor|display=Count}} ===== Storage ===== Each project has its own data file, which are named based on an md5 of the project name with the bugs extension, and stored in the datas/metas Dokuwiki folder. ===== Still in development ===== This plugin is a first shot, it's still in development and you're all welcome to submit any ideas, or reviews. There is currently a bug in the header sorting when displaying multiple forms in the same page. ==== Changelog ==== ^ Version 2010-08-13 | Initial Release | ^ Version 2010-08-14 | Fix bug creating first bug report | ^ Version 2010-08-16 | Add report to user saying that bug is well saved (#4) | ^ Version 2010-08-17 | Add several feature, email notification, delete (for admin only), dynamic captcha (#3, #5, #6) | ^ Version 2010-08-26 | Fix bug on the dynamic captcha, notifications, clear description area after report | ^ Version 2010-08-27 | Fix bug on insert report due to deletion | ^ Version 2011-01-05 | Implement Ajax edition, add count feature, remove delete button | ^ Version 2011-02-18 | Fix #16, #20 : Add missing / and table class inline. | ^ Version 2011-03-07 | Fix #11, #21 : Fix url callback and edit feature. | ^ Version 2011-04-13 | Fix #27, remove the forced title in the form, fix multiple post occurring when displaying multiple bugs list and report in the same page. | ^ Version 2011-08-24 | Implement #65 (Configurable severity), Implement #62 (Inform user of modification on a report), Implement #64 (No report without information), Use captcha helper plugin for consistent captcha on the wiki, Fix #34. | ^ Version 2011-10-17 | Use jquery, datatables plugin and jEditable to manage table (added a seach feature, and filter the number of bugs to display, and better sorting).There is also a fix for a unexploited yet security issue. | ^ Version 2011-10-18 | Fix link to the stylesheet in action.php, fix the delete feature. | ==== Bug tracker ==== Bug tracker available at: {{http://khertan.net/static/downloads/Unmaintained%20Softwares/Other/dokumicrobugtracker_latest.zip|}} ===== Discussion ===== hi, i was waiting for years to get a bugtracker like this. thanks a lot. IMHO, it would be nice, you remove the alert-dialog after opening a new report. further i recommend an edit-function to modify reported bugs (with dropdowns for status and severity). at the moment you can change details of existent reports accidentally. and i have to reload the page again, after opening a new report, to see the result in my buglist (i'm using 'nocache', but without any success). nice to have: i would be very cool to get a dropdown for assign bugs to registered users with an automatic generated mail to his/her mail-addy. second: i prefer not to split the buglists into different projects by default. it's a nice and maybe useful feature, but i could also need a huge buglist over all projects (perhaps via input-text in the openform?). --- // winky Thu Sep 9 09:34:35 MEST 2010 // hi, it would be nice to have a query that only gets the number of (all, open, closed, etc...) bugs --- // patrik Thu, 07 Oct 2010 09:42:03 // hi, if this plugin does not work, rename the folder of the plugin and delete that "latest" postfix .... works for me :) --- // dragonauta 2011/05/11 03:11 // Hi, it would be very nice to have a bugs summary when you have several projects. maybe //dokumicrobugtracker>projects=all// --- // taggic 2011-07-07 12:15 // Hi, this plugin is a good use case and worth to be enhanced. Therfore I put some issues to the bugtracker of your home. --- // ? // Hi, this plugin make me lose part of my syntax icon. I only had the first nine of them. I had to delete the plugin to make my icons reappear. I'm using Angua. --- // Alexandre Bastien 2012-05-14 16:55 // http://khertan.net/dokumicrobugtracker/bugs 404. --- // gry 2012-07-02 // http://khertan.net/_media/dokumicrobugtracker_latest.zip is the download link, it is 404!! Please fix, thanks. --- // gry 2012-07-02 // ===== Get Severity configurable ===== I wanted to have more and other status information available but it should be configurable via Admin configuration. To get this use case running the following things have to be modified. __**Step 1: Modify default.php**__ \\ add following lines to the default.php file \\ $conf['severity'] = 'Query,Minor,Medium,Major,Critical,Feature Request,'; // or what ever you want to have initially $conf['status'] = 'New,Assigned,External Pending,In Progress,Solved,Canceled,Double'; // preparation for later improvement __**Step 2: Modify metadata.php**__ \\ add following lines to the meta.php file \\ $meta['severity'] = array('string'); $meta['status'] = array('string'); __**Step 3: Create Admin config items**__ \\ - therefore create a languge directory: ...\plugins\dokumicrobugtracker\lang\en - create a settings.php file within this directory with following content __**Step 4: adapt the syntax.php**__ \\ - function _report_render to be modified as follows function _report_render() { global $lang; global $ID; // added by Taggic on 2011-07-08 // load severity values from config file into control $STR_SEVERITY = ""; $severity = explode(',', $this->getConf('severity')) ; foreach ($severity as $_severity) { $STR_SEVERITY = $STR_SEVERITY . '' "; } $user_mail = pageinfo(); //to get mail address of reporter $ret = '

'; $ret .= formSecurityToken(false). ''. ''. '

'. '

'. '

'. '

'. '


'; if ($this->getConf('use_captcha')==1) $ret .= '

captcha

'; $ret .= '

'. '
'; return $ret; }
To be fair: I posted a further development based on your code due to I'm that impatient to get this plugin running and improved. Please let me know if that disturbs somehow your project, plannings or conflicts otherwise and I will delete my [[plugin:issuetracker|Issue Tracker]] from the community. --- // taggic 2011-07-10 // Hi, it s completely not a problem, code is open source, and i'm happy some use it or best improve it, fork it. :) Regards, --- // khertan 2011-07-28 //