Erik Veenhuis | 14 Apr 09:52 2014
Picon

Mantis Api

Hello,

For some time I've looked at ways to query Mantis for Issue information but I haven't found a way except writing queries myself. This is not a problem but I was wondering if there is any way to use the API to give me all the Issues where 'description' contains 'something'.

Maybe I've missed something... If any of you know something, it would be greatly appreciated if you would let me know!

With kind regards,

Erik
- Student
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 13 Apr 01:32 2014

Mantis 2.0 - Testing

As part of testing the new db Layer, I’ve been looking at the possibility of adding some ‘selenium’ tests – is anyone aware of any issues this could cause to be aware of ?

 

Paul

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 12 Apr 12:42 2014

Copy Fields Utility

Does anyone have any objections to removing:

 

https://github.com/mantisbt/mantisbt/blob/master/admin/copy_field.php

 

I previously removed it from the ‘next’ branch on the basis that it only allows a ‘custom field’ to be copied to the built in ‘fixed in version’ field (http://www.mantisbt.org/bugs/view.php?id=4078)

 

Given we are now 10 years on, haven’t added any additional functionality to the file (apart from copyright year, formatting and html changes) since the 2004 date, it strikes me that the only likely purpose of this functionality now is to give someone a button to click to accidently screw up their database J

 

Any objections?

 

Paul

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 12 Apr 11:48 2014

SOAP WSDL

There was 1 error:

 

1) IssueAddTest::testCreateIssueWithHandler

SoapFault: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/api/soap/mantisconnect.php?wsdl' : Extra content at the end of the document

 

 

mantisbt\tests\soap\SoapBase.php:117

 

FAILURES!

Tests: 80, Assertions: 268, Errors: 1.

 

Does this mean the ?wsdl is invalid (as that looked OK to me) or that there was extra output at the end of the test?

 

Do others get this?

 

Paul

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 12 Apr 11:42 2014

SOAP API Licensing

Hi All,

 

I’m after some clarification of the SOAP API and it’s licensing. I’m *assuming* this is just a case of nobody updating the header when it was moved into mantis core. But as it stands, it would appear anyone using the SOAP API within a company and not buying a license would be violating the soap api license:

 

At the moment, we distribute the SOAP api as default with MantisBT which is GPL licensed

 

The header files for the SOAP API contain the following text:

 

# MantisConnect - A webservice interface to Mantis Bug Tracker

#

# This program is distributed under dual licensing.  These include

# GPL and a commercial licenses.  Victor Boctor reserves the right to

# change the license of future releases.

# See docs/ folder for more details

 

The http://localhost/api/soap/mantisconnect.php?wsdl output contains links to http://futureware.biz/mantisconnect

 

This website states:

 

“There are three levels of license:

 

·         Professional - This license allows distributing an application with MantisConnect client libraries as part of it. It also allows installation of MantisConnect web service on a single website.

·         Standard - This license allows the use of MantisConnect client libraries and an installation of the web service on a single website. This license doesn't allow distributing MantisConnect outside the licensed company.

·         Free for Open Source - This license allows free usage of MantisConnect client libraries and web service for Mantis instances that ONLY host open source or freeware applications.

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 12 Apr 11:29 2014

SOAPTests

Does anyone have a list of config entries that need to be set for all soap tests to run and pass?

 

Paul

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
Victor Boctor | 11 Apr 08:52 2014

Redirecting to MantisTouch via a Plugin

Hi all,

I'm thinking of replacing MantisBT to MantisTouch redirection logic with a plugin.  The plugin implementation can be found at [1].

The following code will be removed from master:
- mobile_api.php
- $g_mantistouch_url
- code in core.php that does the redirection.

This will fix the following bugs:
- #15346: Unable to view attachments on mobile when g_mantistouch_url is set#
- Part of the fix for #17144: Need a way for new users to create an account.

The plugin utilizes the EVENT_CORE_READY event and does a redirect when appropriate.

Have a look at the code / approach and let me know your thoughts.  If it makes sense, then I will submit a pull request for the changes to master to apply the changes listed above before we release.

[1] https://github.com/vboctor/MantisTouchRedirect

Thanks,
-Victor
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 9 Apr 23:31 2014

Db Layer 2.0

Hi all,

 

Attached is my start on documenting the new database layer.

 

I’ve refreshed the patch set on the pull request several times this week – hopefully addressing some of the queries Atrol/Victor pointed out.

 

Once I can work out how to pass parameters to phpunit tests in a sensible way, I’ve been trying to add some unit tests to ensure that the behaviour is consistent between the database backend’s – that’s a fun problem in itself ;)

 

MSSQL tends to like ‘going away’ if you want to drop a database at the end of a test, Oracle likes to be oracle, and phpunit needs to be tricked into talking to different backends for the same test. P.S. if someone can point me to something on google that might help me or has some time to give some advice with phpunit and passing parameters into test suites that would be cool.

 

Paul

 

 

 

Attachment (DatabaseDocs1.pdf): application/pdf, 141 KiB
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
Karim Ratib | 9 Apr 20:08 2014
Picon

Listing Mantis/Slack plugin

Hello,

I've published my Slack integration plugin at
https://github.com/infojunkie/MantisBT-Slack and I was wondering if it
could be listed on the community plugins Github page at
https://github.com/mantisbt-plugins.

Thanks!
Karim

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
P Richards | 5 Apr 02:17 2014

Database API Changes - Status Report - 04/04/2014

 

Hello,

 

As promised, I’ve rebased the db patch against latest master. This is available at https://github.com/grangeway/mantisbt/commit/6587bb92eac49c05e92a2447e300eeb230a4132b, and squashed/tidied up the commit messages ready for working on oracle/pgsql/mssql schema’s tomorrow.

 

Paul

 

-----------------

 

So as to ensure people don't ignore this work. I've refreshed the work so far with the following commit:

 

In it's current state, this is not a usable branch, as the merged between 'next' and master is only 95% complete.

 

This branch is also 3 commits behind the current master. I will refresh this branch to include this 3 commits and submit a new pull request tomorrow as i'm out tonight.

 

The purpose of this pull request [https://github.com/mantisbt/mantisbt/pull/154] is to ensure that everyone is kept in the loop and his an opportunity to see the ongoing progress.

 

At the moment this branch generates a mysql schema that is identical as current master.

 

A working oracle/pgsql/mssql schema will be generated in the pull request I will submit over the weekend. (as per previous email). Updated Status report will be sent to the list at that point.

 

Paul

 

 

 

------------------------------------------------------------------------------
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev
P Richards | 4 Apr 22:16 2014

Mantis 2.x Roadmap

As I think victor knows from my private email’s last weekend, I’m really passionate about fixing the Database Layer properly. I’m also really passionate about getting it out to users in a stable and well tested way.

 

We have a habit of not getting releases out, or not testing them properly. Therefore, I’m keen to set a fixed date for a 2.0 release – my proposal for that is 30th April. This is a date that I think is realistically achievable, given what I believe we would need to do before that point.

 

Scope:

 

To avoid feature creep and not getting a release out at this point, I’d like to suggest we stick to 5-10 changes.

 

·         New Db Layer

I’ve got an infinite amount of time to get this merged, and fully tested. It’s not fair on users who are struggling to make Mantis work on non-mysql DB’s not to do this. As already promised, I’ll send a daily update on progress of this feature, so we can focus testing and ensure this is 100% stable and tested.

We need to ensure api changes that plugin authors may need to follow are well documented.

I will be taking some common plugin’s and generating a 2.x version as part of the testing, so this should ensure that end users are not caught out with a non-working plugin.

·         Testing Coverage Improvements

To aid in ensuring that we can state the above db layer is stable and tested

·         Once 1-2 above are done, work with Victor to ensure we have a decent notification API/framework

Whilst there are other things I’d like to add/improve in Mantis, for now, the above 3 things are my primary focus (in pretty much the order listed above)

 

Would be useful to know if anyone else would be able to commit to finishing any other new features before 30th April…?

 

Timeline to achieving above goals:

 

·         Weekend 4th-6th April

o   Ensure schema generation on MSSQL

o   Ensure schema generation on PGSQL

o   Ensure schema generation on mysql

o   Ensure schema generation on Oracle

o   Provide Benchmark figures to mantisbt-dev list of memory/performance improvements of new db layer

o   Identify edge cases from previous bugs that may need testing. Clone previous bugs on mantisbt.org/bugs to keep history but allow us to re-test and confirm they are still fixed.

·         6th-7th April

o   Generate Tarball that some select/keen end users of pgsql/mssql/oracle and help confirm functuality

o   Email Word/PDF document to mantisbt-dev list highlighting steps to install our 4 database engines with PHP so that we all have a chance to test future database layer changes in a Virtual Machine or whatever prior to sending to master. Hopefully this will help ensure we don’t end up with ‘bad schema’ updates in the future – especially given some of us are not familiar with some of our database backends

·         8th-11th April

o   Db Layer testing / work out how to handle any db-unique ‘issues’ without requiring plugin author’s etc to understand full details of our 4 database platforms.

·         12th-13th April

o   Get notification API changes merged in

·         14th April

o   2.0.0a1 ?

·         15th – 20th April

o   Update any remaining Plugins with new db api support

·         21st-30th April

o   Improve Mantis Documentation

·         30th April

o   2.0.0?

 

 

 

 

 

 

 

 

------------------------------------------------------------------------------
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev

Gmane