Search found 76 matches

by dregad
02 Feb 2022, 09:15
Forum: General Plugin Discussion
Topic: Api plugin that can be used by other plugins
Replies: 1
Views: 17492

Re: Api plugin that can be used by other plugins

Did you try to override the currently active plugin, before calling plugin_config_get() ? Check plugin_push_current() / plugin_pop_current(). As an example, the Source Integration plugin framework uses this so VCS-specific child plugins (e.g. SourceGithub ) can access settings defined in the "m...
by dregad
02 Feb 2022, 09:09
Forum: General Plugin Discussion
Topic: Github Integration - Import Lastest Data Error
Replies: 1
Views: 17802

Re: Github Integration - Import Lastest Data Error

I add Plugin ( Source GitHub Integration 2.2.0 ) and create repository. This is outdated - you should be on 2.4.1 https://github.com/mantisbt-plugins/source-integration/releases There's a 2.5.0 pending release but I have not had time to finalize it yet. If problem persists, try to reproduce the err...
by dregad
02 Feb 2022, 09:00
Forum: Help
Topic: Problem with my plugin
Replies: 5
Views: 4081

Re: Problem with my plugin

By setting $g_custom_headers as you did (which as cas said you really should do in config_inc.php ), you are completely disabling content security policy. This is a considerable security risk , particularly if your Mantis is used on the Internet, as it potentially exposes your system to all sorts of...
by dregad
15 Apr 2021, 16:52
Forum: Help
Topic: Using Sendgrid
Replies: 3
Views: 4582

Re: Using Sendgrid

Firewall ?
by dregad
15 Apr 2021, 16:27
Forum: Help
Topic: Using Sendgrid
Replies: 3
Views: 4582

Re: Using Sendgrid

This is what we use here $g_phpMailer_method = PHPMAILER_METHOD_SMTP; $g_smtp_host = 'smtp.sendgrid.net'; $g_smtp_connection_mode = 'tls'; $g_smtp_username = 'apikey'; $g_smtp_password = '<your api key here>'; The only meaningful difference is that we don't set the port number, so MantisBT defaults ...
by dregad
30 Nov 2020, 16:04
Forum: Help
Topic: Can you change $g_crypto_master_salt
Replies: 3
Views: 2058

Re: Can you change $g_crypto_master_salt

$g_crypto_master_salt is used internally to generate strings such as passwords, API keys, confirmation hashes, etc.

You can safely change it.
by dregad
30 Nov 2020, 15:47
Forum: Help
Topic: db_query() prevents to insert string '{'
Replies: 2
Views: 1645

Re: db_query() prevents to insert string '{'

Our database abstraction layer uses the syntax {xxx} as placeholder for internal table names, e.g. select * from {bug} Currently the code just performs a blind replacement of '{' by the table prefix, and ' }' by the suffix. This should be done in a more discerning manner. Unfortunately, there is cur...
by dregad
26 Oct 2020, 16:23
Forum: General Discussion
Topic: Mantis with MySQL
Replies: 2
Views: 3423

Re: Mantis with MySQL

Check your PHP / web server log for errors.
by dregad
26 Oct 2020, 14:01
Forum: Help
Topic: LDAP: cannot update information in database due to encoding
Replies: 3
Views: 7491

Re: LDAP: cannot update information in database due to encoding

Just a thought, the reference to samAccountName in $g_ldap_uid_field configuration parameter indicates that you are using LDAP to access an Active Directory server, but you did not set $g_ldap_protocol_version = 3; which is required for such connections, as documented in the Admin Guide . Microsoft ...
by dregad
26 Oct 2020, 12:54
Forum: Help
Topic: LDAP: cannot update information in database due to encoding
Replies: 3
Views: 7491

Re: LDAP: cannot update information in database due to encoding

Possibly the same issue, with MantisBT 2.24.3 - https://mantisbt.org/bugs/view.php?id=27420

@theseus did you ever find a solution to your problem ?
by dregad
02 Jun 2020, 11:00
Forum: Help
Topic: Mantisbt LDAP startTLS
Replies: 1
Views: 2890

Re: Mantisbt LDAP startTLS

Please have a look at https://mantisbt.org/bugs/view.php?id=15361

We are still waiting for that pull request, so If you're willing to do the legwork and submit one with working code based on the attached patch, I'll gladly review it.
by dregad
27 Mar 2020, 11:04
Forum: French
Topic: Mise à jours 2.5.1 -> 2.23.0
Replies: 1
Views: 18397

Re: Mise à jours 2.5.1 -> 2.23.0

> J'imagine que je ne peux pas passer vers la 2.23.0 d'un seul coup.

Si, bien sûr.

Le processus de mise à jour est décrit dans la documentation (en anglais, désolé).
http://mantisbt.org/docs/master/en-US/A ... ll.upgrade
by dregad
27 Mar 2020, 10:59
Forum: General Discussion
Topic: Related Changesets BOX
Replies: 1
Views: 4870

Re: Related Changesets BOX

Related changesets is still there and working just fine in MantisBT 2.x

See for example https://mantisbt.org/bugs/view.php?id=26811#changesets

As a side note, why 2.1.0 ? You should upgrade to the latest (2.24)