Search found 66 matches

by rkarmann
Feb 07, 2018 4:31 pm
Forum: General Plugin Discussion
Topic: Have you already written a plugin?
Replies: 3
Views: 1331

Re: Have you already written a plugin?

Well, that sounds clever to me and it's pretty clear like that. I have been waiting a long time for such specific topic.

Let's see where it goes through :D
by rkarmann
Feb 06, 2018 8:16 am
Forum: Help
Topic: Plugin EVENT CORE HEADER CSP issue
Replies: 4
Views: 1078

Re: Plugin EVENT CORE HEADER CSP issue

Ok guys,

Problem solved. It was, as usually, syntax errors...

I resolved all the isues by adding :

Code: Select all

function csp_headers() {

    http_csp_add( 'script-src', 'https://cdnjs.cloudflare.com' );
    http_csp_add( 'script-src', "'unsafe-inline'" );

  }
Thanks for your time
by rkarmann
Feb 06, 2018 8:13 am
Forum: General Plugin Discussion
Topic: Have you already written a plugin?
Replies: 3
Views: 1331

Re: Have you already written a plugin?

Hi Starbuck,

Just to be sure, do you want us to open a new topic for each plugin, or to post informations here as a reply?
by rkarmann
Feb 06, 2018 5:54 am
Forum: Help
Topic: Plugin EVENT CORE HEADER CSP issue
Replies: 4
Views: 1078

Re: Plugin EVENT CORE HEADER CSP issue

@atrol Thanks for the reply, i'll look deep into it :) @Starbuck I was not aware that it was now possible to post plugin topics into the Plugin section, thanks. :D EDIT: I added the 'http_csp_add' function hooked to the EVENT_CORE_HEADERS event : 'EVENT_CORE_HEADERS' => 'csp_headers', function csp_h...
by rkarmann
Feb 05, 2018 2:44 pm
Forum: Help
Topic: Plugin EVENT CORE HEADER CSP issue
Replies: 4
Views: 1078

Plugin EVENT CORE HEADER CSP issue

Hi everyone, I'm writting a wiki-based plugin for Mantis, and my company ask me to integrate a Rich Text Editor (like tinyMCE, Ckeditor, wysisygblablabla...) so users writting articles would be able to format the content. That's fine, I've decided to use CKeditor v4.8, it is light, OpenSource based ...
by rkarmann
Dec 31, 2017 9:59 am
Forum: Customizations
Topic: Dark theme for 2.5.1 (or above?)
Replies: 13
Views: 8608

Re: Dark theme for 2.5.1 (or above?)

Wow, excellent work dude !!! It's really nice this way. I'm wondering if somehow this could be integreated feature that allows user to personnalze UI moreover...

:P
by rkarmann
Dec 27, 2017 10:52 am
Forum: French
Topic: Mise en place d'un système de connexion MD5 / LDAP
Replies: 6
Views: 3666

Re: Mise en place d'un système de connexion MD5 / LDAP

Salut,

Si tu avais pu posté cela il y a une semaine, tu m'aurais fais gagner beaucoup de temps :P

J'ai fini par utiliser une solution maison un peu bancale mais qui marche !

En tout cas ta contribution est solide, je pense qu'elle aidera bon nombre d'entre nous :)

Merci !
by rkarmann
Dec 27, 2017 3:33 am
Forum: Help
Topic: Add columns to the bug table and load with default columns
Replies: 7
Views: 1938

Re: Add columns to the bug table and load with default colum

Hi there,

The BugData class is defined in the bug_api.php in the /core directory.

For the column management I'm affraid that I can't help you. Maybe admins could...

Good luck
by rkarmann
Dec 26, 2017 11:49 am
Forum: French
Topic: Affichage de la colonne "relation"
Replies: 4
Views: 2328

Re: Affichage de la colonne "relation"

Hello,

Effectivement et ce serait peut-être intéressant de transformer cela en feature request auprès de l'équipe de développeur Mantis ! :)
by rkarmann
Dec 19, 2017 11:23 am
Forum: French
Topic: Affichage de la colonne "relation"
Replies: 4
Views: 2328

Re: Affichage de la colonne "relation"

Salut, D'après la documentation, il est possible d'afficher le total de relation auxquels un bug est associé en ajoutant au tableau $g_view_issues_page_columns (dans config_inc.php) la valeur 'sponsorship_total'. Voir la documentation : http://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desk...
by rkarmann
Dec 18, 2017 3:40 am
Forum: Help
Topic: How do I get my salt code: Please tell me exactly
Replies: 4
Views: 1624

Re: How do I get my salt code: Please tell me exactly

Hi, Did you get this message after a fresh install of Mantis ? If so, there should be a config file name config_inc.php in the /config directory. Search for $g_crypto_master_salt. If you're not able to find the config_inc.php file, then you have to create it and the 'salt code' will be given to you ...
by rkarmann
Dec 18, 2017 3:09 am
Forum: Help
Topic: Getting spam emails and set mails per hour
Replies: 3
Views: 981

Re: Getting spam emails and set mails per hour

Hi, To enable SMTP you have to override your config_inc.php (if you're using MantisBT 2.X or higher, in the /config directory). Please check the admin guide for further informations: http://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.config.email Should be something like that ...
by rkarmann
Dec 17, 2017 6:21 am
Forum: Help
Topic: Problems with the send email --- Urgent
Replies: 7
Views: 2169

Re: Problems with the send email --- Urgent

Hi there, So that we can help you, can you provide your logging informations if logging's enabled ? If not, see the conf file : - $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT; - $g_log_destination = 'path_for_the_log/mantisbtlog'; Check http://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-de...
by rkarmann
Dec 17, 2017 6:07 am
Forum: Customizations
Topic: Mantis Priority - Reporting Issue
Replies: 5
Views: 6284

Re: Mantis Priority - Reporting Issue

Hi,

I'm not sure about the existence of such an option. Check : http://www.mantisbt.org/docs/master/en- ... age.config

Maybe you should set the $g_update_bug_threshold to UPDATER / DEVELOPER, depending on your configuration.
by rkarmann
Dec 14, 2017 4:11 pm
Forum: Help
Topic: PHP Fatal error: Call to undefined function html_page_top()
Replies: 6
Views: 2571

Re: PHP Fatal error: Call to undefined function html_page_t

Ok, just so you know, building a plugin in mantis 2.x require some knowledge in event system, even if it's not a necessity. I recommend you the following: In your plugin's class, after the register() function, add the hooks() function, that will hook your customized menu item when event is triggered...