|
Any chance to see this in 2.0.x branch ? |
|
|
Works for me. Tried using Safari and Firefox on MacOs.
Marked some lines in changelog, copied the lines, opened a pure text editor, pasted the lines. |
|
|
Works also on Windows using Firefox and Notepad. |
|
dregad
2017-01-04 04:34
developer
~0054917
Last edited: 2018-10-29 07:53
|
I think what @Kyle_Katarn means, is that the copy/paste results is no longer nicely formatted, i.e. compare
mantisbt - Change Log
mantisbt - 1.2.19
Released 2015-01-25
MantisBT 1.2.19 is a security update for the stable 1.2.x branch. All
installations that are currently running any 1.2.x version are strongly
advised to upgrade to this release.
This release resolves 5 security issues and fixes 2 regressions introduced in 1.2.18.
0019493: [security] CVE-2014-9701: XSS vulnerability in permalink_page.php (dregad)
...
0017993: [authentication] User creation with captcha broken by fix for issue 0017811 (dregad)
12 issues
With
mantisbt - Change Log
mantisbt - 1.2.19 (Released 2015-01-24) [ View Issues ]
=======================================
MantisBT 1.2.19 is a security update for the stable 1.2.x branch. All
installations that are currently running any 1.2.x version are strongly
advised to upgrade to this release.
This release resolves 5 security issues and fixes 2 regressions introduced in 1.2.18.
- 0019493: [security] CVE-2014-9701: XSS vulnerability in permalink_page.php (dregad) - closed.
...
- 0017993: [authentication] User creation with captcha broken by fix for issue 0017811 (dregad) - closed.
[12 issues] |
|
|
That's EXACTLY what i meant |
|
|
Atrol, what's your view on this ? |
|
|
I have no strong opinion on this.
The goal of @syncguru was to provide a nice UI when viewing the change log via browser.
There could be
- a check box in change log and roadmap UI to switch between HTML and TEXT mode, or
- a configuration option (global or as a user preference) to switch between HTML and TEXT mode
|
|
|
+1
Options to export to HTML would also be great. Even nicer: group by category and include them as subheadings. |
|
|
+1 on exporting Change Log and Roadmap
+1 on Text, Excel, and HTML export formats. |
|
|
In case this is useful, here is a bounty of $150 for implementing this with the following features:
- Changelog export to simple HTML (no unnecessary markup) including the following contents:
- Heading in H2: Changelog for <project name> <version number>
- An ordered list of issues in a similar format the that currently used on the changelog page, uncluding:
- The mantis issue number, linked to the issue page, followed by the issue title
- Category titles as H3 headings, with separate ordered lists of issues below each
- Nice to have: the link to the PR it was fixed in, e.g. if a VCS reference or link is found
- Note: HTML, HEAD, and BODY tags aren't necessary in my use case, but including them might be useful to others
Example output:
<h2>Changelog for Mantis 2.19.0</h2>
<h3>UI</h3>
<ol>
<li>https://www.mantisbt.org/bugs/view.php?id=21837: Text-based change log</li>
</ol>
<h3>Relationships</h3>
<ol>
<li>https://www.mantisbt.org/bugs/view.php?id=24882: relationship_can_resolve_bug function problem</li>
</ol> |
|
|
I have made a small patch - to copy the changelog as text.
This patch will add a button in the footer of each version on the changelog page to copy the changelog as text.
Feel free to improve or change the output.
At the moment the clipboard javascript is included in other pages as well, I think that has to be changed in the future, but that will result in more complex changes in the changelog_page.php file.
The attached zip file contains the .patch files and the additional javascript files and the patched source code files for easily patch the version 2.20.0. |
|
|
Is it going to be made official and integrated ? Looks promising ! |
|
|
(and a big THANK YOU) |
|
|
@bpfennig Many thanks for your contribution. Would it be possible for you to submit this as a Pull request on Github instead ? That would make it a lot easier for us to review and eventually merge the changes.
At the moment the clipboard javascript is included in other pages as well, I think that has to be changed in the future
Probably a good idea, yes.
About the library:
- If you have not done so already, make sure it can be downloaded from CDN as well as local copy. There are several examples of this in layout_body_javascript()
- The library needs to be referenced in library/README.md
|
|
|
Done
https://github.com/mantisbt/mantisbt/pull/1504 |
|