It’s been a long time since I’ve pushed a release of the Mantis connector for Eclipse. I’m happy to say that I’ve gathered some fixes and a new release is now out.
This was mostly prompted by the MantisBT 2.0 release, which needed a small change in the plug-in to work as intended.
The full list of changes is below
- Consider all versions older than 2.0 as valid
- Add support for MantisBT 2.0
- Add support for MantisBT version 2.0
- Current version 3.10.1 cannot be installed with Eclipse Mars (4.5) Build id: 20150621-1200
- Remove references to JBoss Tools from the update site
- Investigate implementing new repository validation API for Mylyn >= 3.11
Another issue worth mentioning is that starting with this release you’ll see this warning dialog before completing the installation
Since I am no longer able to use a code signing certificate the plug-ins are not signed anymore. But that will not impact your experience besides this dialog.
As always, upgrade, have fun, and let me know if any issues appear via the user’s forum or by reporting bugs.
The major reason for this release is compatibility with the newly-released Mylyn 3.10.0 version. Of course, compatibility is retained with older Mylyn versions. Other feature highlights include:
- better usage of available space in the query page
- more resilience in case of incorrect server-side default values
The major focus of this release is compatibility with the just-released Eclipse Juno , and implicitly Mylyn 3.8 .
The query page has been streamlined to have a look which is more consistent with the other Mylyn connectors by using a horizontal layout which scales easier to large numbers of projects or filters.
The people selector fields have been changed from drop-downs to auto-complete fields . This has two major benefits:
- When scrolling the editor using the mouse wheel the focus is no longer stolen by the drop-downs
- With Mylyn 3.7 or newer, real names are displayed when auto-completing
The support for tags and time tracking has been improved . Also the connector is easier to run in non-OSGi environments.
Support for the tags and profile fields
The profile fields – platform, OS and OS Version are now editable. The tags are also available using a custom selection box. Tags are only editable for MantisBT 1.2.9 or newer – not yet released.
HTML preview using WikiText
Rich text fields now use a lightweight WikiText-based renderer rather than the old HtmlText-one, which embedded a browser in the page. The new editor should provide better cross-platform stability and performance.
The rendered is enabled by default for new repositories. To enable it for existing repositories, open the repository properties page and in the ‘Task Editor Settings’ section select the Mantis HTML markup option.
Support for MantisBT 1.2.9
The connector support the upcoming MantisBT 1.2.9 version, which brings some small changes to the SOAP API.
Better support for date fields and time zones
The custom date field values are now correctly translated from the repository value. Also, with MantisBT 1.2.9 the date and time information will be displayed in the user’s local timezone.
This release features multi-project queries, support for deleting task attachments and support for textarea custom fields.
MantisBT allows users to define filters as belonging to ‘All Projects’ . This is very useful for working with large numbers of projects and defining just one filter, e.g. ‘My tasks’ . You can now use these filters in Eclipse, by selecting filters available under the ‘All Projects’ node:
Deleting task attachments
Task attachments may now be deleted from the attachment’s context menu.
Support for textarea custom fields
The development branch of MantisBT supports textarea custom fields. The plugin also supports them for the development branch.
As a direct consequence, users of TaskTop Dev can add a custom textarea field named task_relations to enable the full functionality of editing task associations.
Display attachment authors
Attachment authors are displayed.
Display the category in collapsed attributes section
When the attributes section is collapsed we now display a ‘project/category’ text hint. Previously only the project was displayed.
- More judicious use of the SOAP API, resulting in fewer remote calls and email notifications when updating existing issues;
- Fixes in comment hyperlink detection;
- Fixed duplication of available queries which would sometimes occur in the query page.
For comments, bugs and support requests, our bug tracker and forums await you.
Mark private comments
Building on support from Mylyn 3.6, private comments are now marked as such in the task editor.
We now enable deletion of task from the MantisBT repository, not only from the local task list.
Quicker task creation
When creating a new task, selecting a query or a task in the task list before creation short-circuits the project selection page, as the project is inferred from the current selection. If no selection is available, the project selection page appears as usual.
This can be combined with having the task selected and creating a task for a specific repository to bypass the new task wizard completely.
Support direct linking to bug comments
The MantisBT syntax of linking to comments using the ‘~’ prefix is now supported.
The 3.4.1 release of the connector is primarily a bugfix release concerning the HTML editor.
Open query in browser
Open query in browser is now available for users of MantisBT 1.2.5 or newer. To activate it for an existing query you need to refresh the repository configuration and then reopen the query dialog.
Update site fixes
The update site did not reference the latest available Mylyn version, but we did require it. This prevented users running versions of Mylyn 3.4 or older from installing the connector. Now the installation process is verified to work for old versions as well.
Rich text editor fixes
The rich text editor now blends in more naturally with the other controls:
- The editor is now shown for unsubmitted tasks;
- The editor is highlighted for incoming changes;
- Editors are collapsed if there are no incoming changes.
Some of these changes require a nightly build of Mylyn Docs, which should be available as a released version in the 22nd of June, according to the current Mylyn plan.
This release features an experimental rich text HTML editor, display of real names for comments and minor performance improvements to the task editor.
Rich text editor
The task editor was based on the plain-text contents of the task, which was sub-optimal when the task description contained HTML markup. Now there is an experimental setting in the task repository page which allows you to activate the rich text editor.
Be warned that it still has its kinks, and I’m putting this out for feedback rather than for mass consumption. It is expected that the formatting will not yet completely match the one from Mantis and that some features such as highlighting incoming changes and dirty tracking are broken or require a nightly build of Mylyn.
That being said, this is a preview of the editor:
It is built on the excellent HtmlText component which arrived fresh with Mylyn 3.5.0 and features the exact HTML controls which are allowed by Mantis itself. I encourage you to report any bugs you find or improvements you need on the Mylyn-Mantis issue tracker. I hope that in a couple of releases this component will be stable enough to leave the experimental state.
Real names displayed for comments
Whenever available, the real names are displayed for comment authors.
There was one more action which could freeze the task editor while opening, and it has been fixed. It especially affected repositories in offline mode.
This version rounds up a number of small fixes and enhancements.
Better search dialog integration
Searching for an nonexistent issue now pops up an informative dialog, rather than a scary internal error one.
Attachment page enhancements
The attachment description fields is superfluous, and was removed. Comments are now created if specified.
Sub-task creation enhancements
A manual sync was needed to enable the ‘Create Subtask’ action on existing tasks. This requirement has been removed. Also, new sub-tasks have custom fields added before creation.
Previously it was possible for the connector to require a sync when in offline mode, or when rendering the task editor, which resulted in delays in the user interface. This has now been fixed.
The 3.3.0 release focuses on usability issues, aiming to make connector simpler to use and closer to the brower-based MantisBT experience.
Repository dialog improvements
We now recognized when the task repository returns a HTTP redirect, which usually signals that another location should be specified. The user is properly notified, instead of being presented an error dialog.
As you might notice from the above screenshot, we no longer require you to enter the full path to the repository location. Although we support the old setting, we encourage you to enter just the base path to your MantisBT installation.
Moving towards a more automatic style of configuration also means that this is the last version which will support MantisBT installations older than 1.1 . So for the 3.4.0 release we will not support MantisBT 1.0 anymore.
When validating a repository which have know problems which can lead to data loss the user is warned.
Edit task relations for existing tasks
It is now possible to edit relations for tasks which are submitted to the repository. Previously this was only available for unsubmitted tasks.
Much improved progress reporting
The progress dialogs now reflect the correct state when synchronising queries. Previously it would stall at 0%, and not display progress when queries or tasks changes were processed.
Hide ETA and projection when disabled
The ETA and projection fields can be disabled from the MantisBT configuration. If they are, we will not show them anymore.