This extension contains functions for embeding bug information from Mantis bug tracker Related Links: Extension Overview, DekiScript Overview, Extension Demos.
Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/draft/2008/01/mantis
This service requires Deki Wiki 1.9.0 or later.
To enable this extension, follow these steps:
Configuration:
Before the Mantis service can be used, it must be configured.
| Config Key | Description |
| mantis-uri | URI to your mantis installation. This URI + /api/soap/mantisconnect.php needs to exist |
| username | A Mantis username that has view access to your projects of interest |
| password | Password for the Mantis account |
Functions:
Embed a link to a Mantis bug report. A summary of the bug is shown when hovering over the link. The link is crossed out when the bug is closed or resolved.
Parameters:
| Name | Type | Description |
| id | int | The bug number to link to |
Samples:
| Output | ||
|
Create a table listing of bugs for a given project
Parameters:
| Name | Type | Description |
| project | string | optional. project name (default: default-project) |
| filter | string | optional. filter name (default: none) |
| count | int | optional. bugs per page (default: 25) |
| page | int | optional. page number (default: first page) |
Samples:
| Output | ||
|
Create a bulleted list of bugs for a given project
Parameters:
| Name | Type | Description |
| project | string | optional. project name (default: default-project) |
| filter | string | optional. filter name (default: none) |
| count | int | optional. bugs per page (default: 25) |
| page | int | optional. page number (default: first page) |
Samples:
| Output | ||
|
Get the number of bugs returned by a filter
Parameters:
| Name | Type | Description |
| project | string | optional. project name (default: default-project) |
| filter | string | optional. filter name (default: non |
Samples:
| Output | ||
| 101 |
| Revision | Date | Author | Message |
|---|---|---|---|
| r8820 | 5/31/2008 4:07:18 PM | steveb | Deki Wiki (trunk): * redist: updated redistributable files * misc: * updated all occurrences of 'MindTouch Deki Wiki' to 'MindTouch Deki' * extended all copyright notices to 2008 |
| r8763 | 5/29/2008 6:06:42 PM | steveb | Deki Wiki (trunk): * misc: removed an extra space from the default copyright notice Tools: * DekiExt.php: added 'protocol' attribute to <uri> element * GoogleAppEngine: added sample application |
| r8192 | 4/21/2008 5:13:40 AM | steveb | DekiWiki (trunk): * updated DekiScript binary * MISC: updated all relevant SIDs to new shorter format (e.g. sid://mindtouch.com/2006/11/dekiwiki) (NOTE: old SIDS are preserved for backwards compatibility) * DekiXmlParser: evaluate attributes which have their value enclosed in double-curly braces |
| r7688 | 3/14/2008 8:37:52 PM | maximm | Deki JiraService MantisService SubversionService TracService * Updated div css classes |
| r7589 | 3/5/2008 8:38:32 PM | maximm | Deki MantisService * workaround for mantis's broken paging via the api |
| r7496 | 2/29/2008 12:44:35 AM | maximm | Deki Extensions Trac, Jira, Mantis, Subversion: * Added links to documentation |
| r7495 | 2/29/2008 12:36:40 AM | maximm | Deki Extensions: Jira, Mantis, Trac Jira: * Fixed jira.count to return a plain integer Trac * Fixed trac.count to return a plain integer Mantis: * Added mantis.count * Added CSS styling and fixed tags * Fixed duplicate bug listing issue (starting at page 1 instead of 0) * Defaulted to top 20 bugs which is same as a batch size |
| r7440 | 2/27/2008 1:26:24 AM | maximm | Deki Extensions: Mantis, Trac, Jira * MantisService: using sorttable.js to sort the output * TracService: Added Trac integration * JiraService: Added Jira integration Fixed Makefile (thx pete!) |
| r7397 | 2/25/2008 8:15:49 PM | maximm | Deki extensions: MantisService and SubversionService MantisService: * Refactored to pass in output xdoc to inner functions to avoid Xdoc.Add calls * BuildBugLink now used for table as well as link now. Displaying reporter and handler as the hover-over title SubversionService: * Initial implementation allows "svn log" like output. * Revisions can optionally be linked to a web gui that display revision info (diffs, etc) * Bug numbers in log messages can be linked to a web based bug tracker. Bug prefixes: bug, fixes, bugfix, #123 |
| r7360 | 2/22/2008 8:19:15 AM | steveb | Deki Wiki (trunk): DekiServices: * MantisService: * added missing code * added missing documentation * simplified variable names * added proper reading of the "default-project" config setting * fixed several bugs, especially in initialization of the service |
| r7359 | 2/22/2008 2:31:20 AM | maximm | Deki Mantis extension * Stripped existing css styles and moved them into standalone css file |
| r7358 | 2/22/2008 1:41:48 AM | maximm | Deki Mantis extension * Workaround for Mantis api bug where php runs out of memory by splitting up requests into batches and performing concurrent requests. * Renamed features to: mantis.table, mantis.list |
| r7289 | 2/14/2008 10:32:35 PM | maximm | Deki Api - Mantis extension * First pass at Mantis bug tracker integration allows linking to and listing bugs on a given project/filter Examples: {{ mantis.buglink("2940") }} {{ mantis.buglist("Deki Wiki", "mine") }} DekiXmlParser: not overwriting the title attribute on links if one is already provided. |