Search found 67 matches

by dregad
12 Sep 2023, 09:18
Forum: General Discussion
Topic: Notes adding copied text from clipboard
Replies: 1
Views: 6304

Re: Notes adding copied text from clipboard

Most likely the data in the clibpoard contained an image format instead of (or possibly in addition to) text. Consequently, the dropzone treated it as an attachment. I frequently copy/paste text, and never faced this problem. In the interest of reproducing the problem, it would be useful to know fro...
by dregad
24 Jul 2023, 08:29
Forum: General Discussion
Topic: Re-enable the disabled admin account
Replies: 2
Views: 3773

Re: Re-enable the disabled admin account

As mentioned by cas, you need to update the user record in your database using SQL

Code: Select all

UPDATE mantis_user_table SET enabled=1 WHERE username='admin';
by dregad
13 Mar 2023, 17:17
Forum: General Plugin Discussion
Topic: GaugeSupport Plugin install issue
Replies: 3
Views: 1592

Re: GaugeSupport Plugin install issue

Probably best to use this https://github.com/mantisbt-plugins/GaugeSupport and report issues there.
by dregad
15 Feb 2023, 12:09
Forum: Help
Topic: Migrating Mantis issues to gitlab ...missing Notes
Replies: 7
Views: 1380

Re: Migrating Mantis issues to gitlab ...missing Notes

The notes column was added in MantisBT release 1.3.0-rc.2. See https://mantisbt.org/bugs/view.php?id=20383 is there any work around for 1.2.17 to edit some underlying file to add more columns, where GUI is reading these information from? I would suggest you upgrade your Mantis to 1.3, which should b...
by dregad
11 Feb 2023, 17:41
Forum: Help
Topic: Migrating Mantis issues to gitlab ...missing Notes
Replies: 7
Views: 1380

Re: Migrating Mantis issues to gitlab ...missing Notes

The "notes" column is available for selection in the CSV export: screenshot.png However, that may have been added in a later version of MantisBT, I'm not sure. Please note that 1.2.17 is no longer supported, for many years now... Anyway, that will give you all notes put together in a singl...
by dregad
02 Feb 2022, 09:15
Forum: General Plugin Discussion
Topic: Api plugin that can be used by other plugins
Replies: 1
Views: 6047

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: 4057

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: 1586

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: 2193

Re: Using Sendgrid

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

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: 1405

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: 1090

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: 2564

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: 6343

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 ...