| Anonymous | Login | Signup for a new account | 2010-07-29 10:22 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0007214 | mantisbt | printing | public | 2006-06-21 04:15 | 2008-04-19 04:10 | |
| Reporter | tandler | |||||
| Assigned To | vboctor | |||||
| Priority | normal | Severity | feature | Reproducibility | always | |
| Status | closed | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | 1.0.3 | |||||
| Target Version | Fixed in Version | 1.2.0a1 | ||||
| Summary | 0007214: Export issues from mantis to a freemind mindmap | |||||
| Description | I've written a script to export the issue list as a freemind mindmap (.mm), see http://freemind.sourceforge.net/ [^] The idea is to be able to easily and quickly browse many issues with one offline data set and use the nice freemind UI. This is e.g. very helpful to get an overview of new issues, and one can take advantage of the nice structuring possibilities of freemind. I would be glad to hear your comments / feedback! | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Relationships |
||||||
|
||||||
Notes |
|
|
tandler (reporter) 2006-06-21 04:19 |
PS: Usage hint: just put this script in the mantis directory and call the URL directly (or link it from the view issues page). PPS: There seems to be a problem if the current filter lists many issues (>100). Then, the file is not generated. Could this be a timeout problem? Could anyone please provide some help for me here? |
|
tandler (reporter) 2006-06-21 04:20 |
PPPS: freemind uses a XML based file format (see also 0004024) |
|
tandler (reporter) 2006-06-21 04:25 |
PPPPS: It would be nice to integrate this with the freemind flash browser http://www.efectokiwano.net/mm/ [^] This would allow to easily browse issues directly in the browser, with rich information and excellent speed. |
|
tandler (reporter) 2006-06-23 08:10 |
The problem that the export fails with many issues (0007214:0013001) comes from a memory limit for the php engine at our mantis installation. It seems that the script needs a lot of memory, I guess for collecting all the information on relationships. If anybody has some hints on how this can be improved, I'd be glad. |
|
tandler (reporter) 2006-06-28 08:00 |
The freemind flash browser can retreive the mindmap directly from the php script, so you can nicely generate a mindmap view of you current issue list (see screenshot). BTW: Using this visualization I quickly noticed that there's really a difference between sub-issues (children) and dependent issues (that are not necessarily sub-issues), see 0004639. Only sub-issues should be displayed as sub-nodes. |
|
tandler (reporter) 2006-07-06 07:54 |
I've added a small update 'mm_export 2006-07-06.zip'. - mindmap now also includes reporter, handler, project, category - mm_export.php has a type_page parameter that should be set to "flash" if used directly from the freemind flash browser - mindmap.html to include the freemind flash browser in mantis to include it in mantis: - unzip the architve to the mantis directory - add to view_all_inc.php after the 'csv_export.php' line some links, e.g.: > echo ' '; > print_bracket_link( 'mm_export.php', 'Freemind Export' ); > echo ' '; > print_bracket_link( 'mindmap.html', 'Mindmap' ); |
|
vboctor (administrator) 2006-08-06 03:38 |
Following are some comments: - You didn't include the swf flash file. Is this something that we can distribute with Mantis? - Always follow the "if" with a space. - All "if" statements must have { } even if they have one statement as their body. - Put an empty line before / after an IF block. - Rename mm_* functions to mindmap_* and move them to core/mindmap_api.php - Rename script to mindmap_export.php. - Shouldn't clicking on mm_export.php export the file rather than displaying it in the browser? |
|
deboutv (reporter) 2006-08-07 04:13 |
There are missing file to display the mindmaps.html file, no? - flashobject.js |
|
tandler (reporter) 2006-08-07 04:46 |
Thanks for your comments! I'll make the suggested code style changes as soon as I have some time. I didn't include the freemind flash browser in the gz I uploaded here. I looked at the website (http://www.efectokiwano.net/mm/ [^]) but I didn't found any hint about the license for the browser. I'll try to figure this out. Regarding the file / function names: There any /many/ different mind map applications, so i decided to use the name of the freemind file extension (.mm), to distinguish it from MinManager '.mmap' etc. So I'd vote for keeping "mm". Ok? The mm_export.mm should export the file directly. That's what it does on my machine here, at least. Doesn't it work for you? |
|
player (reporter) 2006-08-07 05:39 edited on: 2006-08-07 05:40 |
It seems that browser is GNU GPL licenced http://freemind.sourceforge.net/wiki/index.php/Flash_browser [^] |
|
player (reporter) 2006-08-07 06:01 |
also I have a problem with IE (with Opera all works fine). After a promt to download a file (namely mm_export.php not mindmap) is appeared an error about site missing. |
|
vboctor (administrator) 2006-09-15 02:06 |
Would it be possible to re-add the attachments. |
|
deboutv (reporter) 2006-09-15 03:04 edited on: 2006-09-15 03:12 |
I have uploaded the original files that I have downloaded. |
|
cristianovicente (reporter) 2007-01-30 18:57 |
Hi tandler, I have noticed this same problem when trying to export the image to a JPEG file using "big" files (around 93 kB). I have to be honest: I really didn't get what you have been trying to do. Do you have any suggestion for me, to export as a JPEG file? Cristiano. Brazil |
|
cristianovicente (reporter) 2007-01-31 09:04 |
Hi Tandler, could you remove the file that I attached yesterday? Thanks |
|
tandler (reporter) 2007-11-28 03:10 |
Hi cristianovicente, what problem did you have? I didn't get it, sorry. I don't have the permission to remove attached files, maybe some admin can help here? --Peter |
|
tandler (reporter) 2008-01-19 15:44 edited on: 2008-01-19 15:46 |
Hi, it took a while ... but now I uploaded a diff with the changes requested by Victor (0007214:0013200). I also included the freemind flash browser. I'm happy to hear any comments. --Peter PS: V0.2.1 also contains the swf and in addition to the diff also all modified files (view_all_inc.php from mantis 1.1.1) |
|
vboctor (administrator) 2008-01-20 21:44 |
I've tried it on 1.2.x and it required some changes since the categories are now indexed by ids. Other than that it worked well. - Is the xml export related in any way to mindmap or is this a different feature? - xml_get_default_filename() - remove xml_api and add this is a helper_get_default_filename( $p_ext ) function in helper_api.php. This function should take in an extension and comes up with a defaulted file name. - The export script needs to urlencode the filename. See csv_export.php for an example. - Would be nice if we can put all flash viewer related files in one folder, rather than dump them in the root Mantis folder. - Would be very handy if you can provide a 1.1.x and 1.2.x version of your patch (for developers 1.2.x is more important), so up to you. - Use "@@@" as markers for TODOs rather than #### ToDo - Use phpDoc format for function documentation, see http://en.wikipedia.org/wiki/PHPDoc [^] - For the contributed files to be included in Mantis core, they will have to use the standard Mantis header (see 1.2.x branch). |
|
tandler (reporter) 2008-02-16 16:52 |
xml export is not related at all, I just was too lazy to pack two zips, sorry! maybe I split this again. victor, what is the planned deadline for 1.2 contributions ...? |
|
vboctor (administrator) 2008-02-16 19:15 |
Our plan is to get 1.2.0a1 out sometime in March. So ideally we should get the major features in asap. No strict deadlines in place yet. |
|
tandler (reporter) 2008-02-27 12:38 |
Hi Victor, I just uploaded V0.3 of the freemind and xml features which now work with svn (rev. 5021). I think I followed all your recommendations. Anything else? -- Peter |
|
vboctor (administrator) 2008-03-15 02:35 |
Fixed in svn:5118 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5118&view=rev [^] I've gone through your patch and did the following: 1. Excluded the XML export. There is another issue in this bug tracker for exporting XML. This work should be integrated with that effort. 2. Some misc. updates to match standards (although the patch was already in good shape from this perspective). 3. Replaced hard-coded English strings with localized strings. 4. Renamed some files and change the freemind browser viewer page to be an html page. 5. Added documentation to Docbook. More to come later. 6. Added a configuration option to enable / disable this feature. 7. Removed the "Issues" node since it wasn't adding value. |
|
tandler (reporter) 2008-03-17 04:26 |
Thanks for checking in!! I had added the "Issues" node to have a nices layout, but I guess that's a matter of personal preference. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2006-06-21 04:15 | tandler | New Issue | |
| 2006-06-21 04:15 | tandler | File Added: mm_export.php 2006-06-21.gz | |
| 2006-06-21 04:19 | tandler | Note Added: 0013001 | |
| 2006-06-21 04:20 | tandler | Note Added: 0013002 | |
| 2006-06-21 04:25 | tandler | Note Added: 0013003 | |
| 2006-06-23 08:10 | tandler | Note Added: 0013023 | |
| 2006-06-28 07:53 | tandler | File Added: Mantis-Freemind-Flashbrowser screenshot 80%.png | |
| 2006-06-28 08:00 | tandler | Note Added: 0013043 | |
| 2006-06-30 02:55 | mkornatzki | Issue Monitored: mkornatzki | |
| 2006-07-06 07:48 | tandler | File Added: mm_export 2006-07-06.zip | |
| 2006-07-06 07:54 | tandler | Note Added: 0013076 | |
| 2006-07-11 05:57 | bvbhavsar | Issue Monitored: bvbhavsar | |
| 2006-07-31 17:25 | webwesen | Issue Monitored: webwesen | |
| 2006-08-06 03:38 | vboctor | Note Added: 0013200 | |
| 2006-08-07 04:13 | deboutv | Note Added: 0013206 | |
| 2006-08-07 04:16 | deboutv | Issue Monitored: deboutv | |
| 2006-08-07 04:46 | tandler | Note Added: 0013208 | |
| 2006-08-07 05:39 | player | Note Added: 0013210 | |
| 2006-08-07 05:40 | player | Note Edited: 0013210 | |
| 2006-08-07 06:01 | player | Note Added: 0013211 | |
| 2006-09-15 02:06 | vboctor | Note Added: 0013389 | |
| 2006-09-15 03:02 | deboutv | File Added: mm_export 2006-07-06-new.zip | |
| 2006-09-15 03:02 | deboutv | File Added: mm_export.php 2006-06-21-new.gz | |
| 2006-09-15 03:04 | deboutv | Note Added: 0013391 | |
| 2006-09-15 03:12 | deboutv | Note Edited: 0013391 | |
| 2007-01-30 18:54 | cristianovicente | File Added: Completo delimitar problema pesquisa.mm | |
| 2007-01-30 18:57 | cristianovicente | Note Added: 0013985 | |
| 2007-01-31 09:02 | cristianovicente | Issue Monitored: cristianovicente | |
| 2007-01-31 09:04 | cristianovicente | Note Added: 0013987 | |
| 2007-02-01 01:00 | vboctor | File Deleted: Completo delimitar problema pesquisa.mm | |
| 2007-02-01 18:05 | alanshea | Issue Monitored: alanshea | |
| 2007-11-27 10:57 | vboctor | Relationship added | related to 0008610 |
| 2007-11-28 03:10 | tandler | Note Added: 0016315 | |
| 2008-01-19 15:39 | tandler | File Added: freemind+xml-V0.2.zip | |
| 2008-01-19 15:44 | tandler | Note Added: 0016724 | |
| 2008-01-19 15:45 | tandler | File Added: freemind+xml-V0.2.1.zip | |
| 2008-01-19 15:46 | tandler | Note Edited: 0016724 | |
| 2008-01-20 21:44 | vboctor | Note Added: 0016739 | |
| 2008-01-21 04:28 | pluntke | Issue Monitored: pluntke | |
| 2008-02-16 16:52 | tandler | Note Added: 0017072 | |
| 2008-02-16 19:15 | vboctor | Note Added: 0017080 | |
| 2008-02-27 12:34 | tandler | File Added: freemind+xml-V0.3 (mantis-1.2-svn-5021).zip | |
| 2008-02-27 12:38 | tandler | Note Added: 0017209 | |
| 2008-03-15 02:35 | vboctor | Status | new => resolved |
| 2008-03-15 02:35 | vboctor | Fixed in Version | => 1.2.0 |
| 2008-03-15 02:35 | vboctor | Resolution | open => fixed |
| 2008-03-15 02:35 | vboctor | Assigned To | => vboctor |
| 2008-03-15 02:35 | vboctor | Note Added: 0017360 | |
| 2008-03-17 04:26 | tandler | Note Added: 0017384 | |
| 2008-04-19 04:10 | vboctor | Status | resolved => closed |
| MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.4360 seconds. memory usage: 2,096 KB |