I have this working with dotproject version 2.01. Could use some people to test this further. So if you are interested, drop me a note
http://www.nuy.info.
Here is how it works :
How to install this Integration between Dotproject and Mantis ?
Versions tested:
Dotproject 2.01
Mantis 1.0.1
There is support for different databases.
1. Copy the contents of this package into the root of your Dotproject installation.
There are 2 files being overwriiten :
modules/projects/view.php
modules/tasks/view.php
In these files only one Tab is added, nothing else.
2. Copy docs/mantis/index_dp.php into the root of your mantis installation
3. Add the contents of docs/mantis/config.txt to includes/config.php (inside your Dotproject installation)
4. Now adjust those settings to your environment, the settings are described in config.txt
5. Go !!!!!!!!!
How does it work ?
Within DP, you will find a Tab called Mantis when looking at Projects or Tasks.
For each DP project, a Mantis project will be created when the first issue is added.
Depending on your settings (see point 4), this module can create sub-projects for Tasks.
Default behavior is to show all issues under one project.
Projects in Mantis are created with a special name :
1. Prefix as defined in cinfig.php
2. DP-project-id
3. dot
4. DP-task-id
5. Space
6. DP-project-name
if set to project/sub_project:
7. <->
8. DP-task-name
On the tab all issues related to the project/task will be shown with the following information:
1. Issue-id in Mantis
2. Date-Time reported
3. Reporter of issue
4. Status
5. Summary
6. Description
The summary actually is a hyperlink which takes you straight into Mantis to maintain the issue.
There is also a button which allows you to add an issue to the project/task. All you need to fill in is the Summary and the description. Upon saving the issue is stored in Mantis.
The current DP-user is checked by username in Mantis. If this person does not exist, a user record is created in Mantis.
An email for direct access to Mantis with the password will be send to this user (if configured).
The current project/task is checked and if it does not yet exists, it will be created.
For the issue the following items are recorded :
1. Project-id
2. Reporter-id
3. Summary
4. Description
5. Date-submitted
6. Date-last-updated
All other activity is left within Mantis.
ToDo:
1. Verifying other password encryptions than just PLAIN