Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@spmeesseman/extjs-pkg-mantis

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spmeesseman/extjs-pkg-mantis

ExtJS Package Wrapper for Mantis BugTracker

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
1
Created
Source

ExtJs Package Wrapper for MantisBT Rest API

semantic-release app-publisher

Description

This package provides an ExtJS package wrapper for MantisBT integration, including a full tabbed ui.

Install

To install this package, run the following command:

npm install @spmeesseman/extjs-pkg-mantis

Usage

To include the package in an ExtJS application build, be sure to add the package name to the list of required packages in the app.json file:

"requires": [
    "mantis",
    ...
]

For an open tooling build, also add the node_modules path to the workspace.json packages path array:

 "packages": {
    "dir": "...${package.dir}/node_modules/@spmeesseman/extjs-pkg-mantis"
}

Simply include the view component and model files into any class file:

require: [ 
    'Ext.ux.mantis.Tickets',
    'Ext.ux.mantis.model.Ticket' 
]

Add the view to your layout:

items: [
{
    flex: 1,
    xtype: 'tickets'
}]

Configure the ExtJs build for MantisBT integration, see the Configuration section for details.

Configuration

A mantis config must be added to the Ext manifest by editing app.json. For example, a sample mantis config would like something like the following:

"mantis":
{
    "project_id": 1,
    "project_name": "MyProjectName",
    "token": "............................",
    "versionIsPatchX": false,
    "location": "https://my.domain.com/mantisbt/",
    "defaultTicketValues":
    {
        "priority": 30,
        "severity": 50,
        "reproducibility": 70,
        "category": 1,
        "custom_fields": [
        {
            "field": 
            { 
                "name": "User" 
            },
            "value": ""
        },
        {
            "field": 
            { 
                "name": "Department" 
            },
            "value": ""
        }]
    },
    "myTicketFilters": [
    {
        "property": "custom_field_3" ,
        "value": ""
    },
    {
        "property": "custom_field_4",
        "value": ""
    }],
    "locationTicketFilters": [
    {
        "property": "custom_field_4" ,
        "value": ""
    }]
}

Configuration - Parameter Definitions

TODO

Keywords

sencha extjs

FAQs

Package last updated on 10 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts