Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:55
    dregad closed #1756
  • 16:55

    dregad on master

    Wiki integration: add support f… (compare)

  • 16:02

    dregad on master

    New events for project users ma… Revert "New events for project … Fix XSS on manage_custom_field_… and 7 more (compare)

  • 16:01

    dependabot[bot] on composer

    (compare)

  • 16:01
    dregad closed #1759
  • 16:00
    dregad synchronize #1757
  • 16:00
    dregad closed #1757
  • 15:59

    dregad on release-2.25.2

    (compare)

  • 15:59

    dregad on master-2.25

    Fix XSS on manage_custom_field_… Bump phpmailer/phpmailer from 6… filter_form_get_input() now thr… and 4 more (compare)

  • 15:36
    dregad edited #1757
  • 07:12
    dregad edited #1759
  • 07:11
    dregad edited #1751
  • 07:11
    dregad edited #1751
  • 07:11
    dregad edited #1751
  • 01:09
    dependabot[bot] labeled #1759
  • 01:09
    dependabot[bot] opened #1759
  • 01:09

    dependabot[bot] on composer

    Bump phpmailer/phpmailer from 6… (compare)

  • Jun 16 09:39
    dirkeinecke opened #1758
  • Jun 15 23:35
    dregad assigned #1757
  • Jun 15 23:33
    dregad opened #1757
Albert ARIBAUD
@aaribaud
Patch provided as a pull request: mantisbt/mantisbt#1734
Albert ARIBAUD
@aaribaud
Issue opened at https://mantisbt.org/bugs/view.php?id=27914 at @dregad:matrix.org request
Dev-Craftsman
@Dev-Craftsman
Hello,
I am using the bugnote_add () function. For the parameter $p bugnote_text I want to insert html content. But the result in Mantis is often bad, because it uses a special Markdown syntax.
Is there a conversion function (HTML to Markdown) in the API for this use case?
Dev-Craftsman
@Dev-Craftsman
The conversion in the other direction (Markdown to HTML) is also interesting for me.
Damien Regad
@dregad
@Dev-Craftsman you are not giving any context to your intended use of bugnote_add(), but you should probably be using IssueNoteAddCommand instead.
That being said, this should not make any difference in terms of how HTML is rendered. bugnote_add() (as well as the Command) just care about storing the bugnote, whatever its content is
So your problem is with the rendering of the note, which is covered by the MantisCoreFormatting plugin; you can disable the MarkDown processing in the plugin's options
And to answer your question, the API does not, and will not as it IMO does not need to, provide functions to convert HTML to or from MarkDown.
Damien Regad
@dregad
Also consider that (with Markdown disabled only, IIRC), just a limited set of HTML tags would be processed (this is configurable) - see $g_html_valid_tags and $g_html_valid_tags_single_line
Dev-Craftsman
@Dev-Craftsman
@dregad Thank you very much for your fast answer. I will try to test the option with adaption of configuration of MantisCoreFormatting and use of IssueNoteAddCommand. 👍
Damien Regad
@dregad

MantisBT 2.24.5 has been released

Security and maintenance release, includes PHP 8.0 compatibility fixes.
https://mantisbt.org/blog/archives/mantisbt/686
Damien Regad
@dregad

MantisBT 2.25.0 has been released

This feature and maintenance release contains over 100 fixes and enhancements; among many other things, it improves PHP 8 compatibility, LDAP authentication and invalid plugins management. It also includes a schema change, so do not forget to upgrade the database as documented in the Admin Guide.

https://mantisbt.org/blog/archives/mantisbt/688

Please note that this will be the last release supporting PHP 5; starting with MantisBT 2.26.0, the minimum PHP version will be 7.0 – read the official announcement for details.

Paul Davis
@PaulDavisThe1st_twitter
greetings Mantis people. I'm the original/lead developer of Ardour, the open source cross platform digital audio workstation. We've been using mantis for years, and we'd like to see if there is anyone in the mantis community that we could pay to implement single-sign-on (SSO) for mantis. We have money to pay for this work (or view it as a contribution back to the project as a whole)
Damien Regad
@dregad
Hello, @PaulDavisThe1st_twitter can you please be a bit more specific about your needs and what you mean by SSO in this context ? Are you referring to SAML 2.0, or something else ?
A few years back, a community member contributed a SAML authentication plugin based on SimpleSAMLphp but they don't seem to be maintaining that since there never have been no updates since ~2017 and no feedback on pull request review comments.
Damien Regad
@dregad
Nevertheless, that could be a starting point for you.
Damien Regad
@dregad
I just checked the forums, and there's a few discussions on the topic of SSO, but nothing very conclusive. You might want to post there as well, there's probably a bigger audience than here.
Paul Davis
@PaulDavisThe1st_twitter
well ... we have a large community of ardour users who have accounts on ardour.org, created when they paid for Ardour (or for any other reason). User management on ardour.org is handled by (an ancient version of) Drupal. We use discourse for our forum software, and discourse has SSO hooks that allowed us to create a custom module that "calls back" to drupal to do user authentication on the forums. However, if a user wants to get into our mantis setup (tracker.ardour.org) they need a totally separate account in mantis. We'd like to get mantis to "call back" to Drupal in the same that discourse does, so that a single user account covers the main site, discourse and mantis)
Damien Regad
@dregad
Sounds like you need a custom Auth plugin. Shouldn't be too hard, but complexity depends on how to talk to your Drupal instance. How did you do that with your Discourse module ?
Paul Davis
@PaulDavisThe1st_twitter
(sorry for the delays in responding .... doing too many things at once). Discourse provides SSO hooks already, we just had to write a custom module for Drupal to handle the "calls" from Discourse.
As far as we could tell, mantis has no similar hooks. We also have the purely practical problem that because of the history we have many duplicate account names in both systems (drupal and mantis), but that's a separate operational issue, not central to the question of getting mantis to use drupal for user authentication.
but the real point is: we just want to pay someone to do this. although i and others associated with ardour have the skills to do this, we don't want to, and we have a pot of money to give someone to just take care of it.
we could ask around more generally, but thought we'd start with the mantis community itself.
CasN
@CasN
@dregad , Damian, could you point me to some documentation how to go about jquery within Mantisbt. I had a bespoke plugin with an autocomplete text field which I have difficulty to get running again. Probably i missing the obvious :)
nelmech
@nelmech:matrix.org
[m]
Hello Everyone, trying to find some help on how to use SendGridSMTP API product with Mantis.
I've to use this solution in my company and can't make it work.... Can I find some Help here about that?
Already tried to post on the forum as well but it seems that it is not used a lot anymore...
Damien Regad
@dregad
@nelmech:matrix.org I responded on the forums https://mantisbt.org/forums/viewtopic.php?p=71694#p71694
Forums are active, but I personally don't go there that often; your posts were withheld pending moderator approval.
Damien Regad
@dregad
@CasN sorry I missed your message. jQuery is normally loaded on every page as part of MantisBT core, so it should be readily available to plugins without having to do anything special. There is no specific documentation that I am aware of. You can have a look at some of the plugins that I maintain (e.g. Announce, Snippets) to see example usage.
nelmech
@nelmech:matrix.org
[m]

@nelmech:matrix.org I responded on the forums https://mantisbt.org/forums/viewtopic.php?p=71694#p71694

Perfect thank you!
I've saw your answer and tried what you told me to test but still ending up with same error again... Seems to me that the issue is more on the SendGrid Side... 😕

CasN
@CasN
@dregad, Thanks Damian, will do that.
Creakyhat
@Creakyhat
i'm looking for someone to do some customisation work on the latest version. anyone interested? (paid or unpaid)
Damien Regad
@dregad

Please note that mantisbt.org is undergoing maintenance

Server will be back on-line as soon as we're done.
Damien Regad
@dregad
System is back on-line. Please let us know if you experience any issues.
Chris Haumesser
@wryfi_gitlab
hi everyone, i have a legacy mantis-1.1.1 installation running on an ancient CentOS 5 VM (on a secure private network) that i need to figure out what to do with. it's not actively used, but required for occasional retrieval of historical data. i'd like to get this installation running on a modern OS with as little work as possible. what's my upgrade path to 1.3.20?
or alternatively is there an effective way to archive the data in a way that end users can navigate?
could i go from 1.1.1 > 1.2.0 > 1.3.0 > 1.3.20?
Damien Regad
@dregad
@wryfi_gitlab Hi Chris, it's been ages since I've used 1.1 (more than 12 years I think), but in theory the upgrade process should be able to take you straight to your target version of choice
Damien Regad
@dregad
Please note that 1.3.20 is not actively supported anymore, so depending on what you mean by "modern OS", you might run into issues with PHP; 7.x should be (mostly) fine except for some deprecation warnings and notices, but I don't think it will run on 8.0.
Chris Haumesser
@wryfi_gitlab
yeah, i was aiming for ubuntu 18.04, will try with php7 first but there's a PPA with packages for 5.6.
glad to know i might be able to go straight from 1.1.1 to 1.3.20
Damien Regad
@dregad
Just try it, shouldn't take more than 5 minutes- clone your DB, install 1.3.20 and run the upgrade script per documentation
Chris Haumesser
@wryfi_gitlab
seems to be mostly working, though i can't log in. i had to set g_crypto_master_salt which was not set in the previous configuration, and i suspect that is breaking user auth.
do i need to reset all my passwords somehow?
oh, hmm ... there appear to be a mix of plain and encrypted passwords in the database
the administrator one being in plaintext
alexey198827
@alexey198827
Hi there!
Does anybody here?
Mantis with AD so slow...
but I can't found the DB stats ...
Damien Regad
@dregad

MantisBT 2.25.2 has been released

Security and maintenance release, fixes vulnerabilities in Custom Fields management page (CVE-2021-33557) and in the PHPMailer library, as well as a PHP 8 compatibility issue.

https://mantisbt.org/blog/archives/mantisbt/699