Search found 66 matches

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

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
06 Feb 2018, 13:16
Forum: Help
Topic: Plugin EVENT CORE HEADER CSP issue
Replies: 4
Views: 2777

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
06 Feb 2018, 13:13
Forum: General Plugin Discussion
Topic: Have you already written a plugin?
Replies: 3
Views: 3720

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
06 Feb 2018, 10:54
Forum: Help
Topic: Plugin EVENT CORE HEADER CSP issue
Replies: 4
Views: 2777

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
05 Feb 2018, 19:44
Forum: Help
Topic: Plugin EVENT CORE HEADER CSP issue
Replies: 4
Views: 2777

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
31 Dec 2017, 14:59
Forum: Customizations
Topic: Dark theme for 2.5.1 (or above?)
Replies: 13
Views: 20587

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
27 Dec 2017, 15:52
Forum: French
Topic: Mise en place d'un système de connexion MD5 / LDAP
Replies: 6
Views: 9592

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
27 Dec 2017, 08:33
Forum: Help
Topic: Add columns to the bug table and load with default columns
Replies: 7
Views: 4359

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
26 Dec 2017, 16:49
Forum: French
Topic: Affichage de la colonne "relation"
Replies: 4
Views: 10332

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
19 Dec 2017, 16:23
Forum: French
Topic: Affichage de la colonne "relation"
Replies: 4
Views: 10332

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
18 Dec 2017, 08:40
Forum: Help
Topic: How do I get my salt code: Please tell me exactly
Replies: 4
Views: 4595

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
18 Dec 2017, 08:09
Forum: Help
Topic: Getting spam emails and set mails per hour
Replies: 3
Views: 2192

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
17 Dec 2017, 11:21
Forum: Help
Topic: Problems with the send email --- Urgent
Replies: 7
Views: 5116

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
17 Dec 2017, 11:07
Forum: Customizations
Topic: Mantis Priority - Reporting Issue
Replies: 5
Views: 9452

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
14 Dec 2017, 21:11
Forum: Help
Topic: PHP Fatal error: Call to undefined function html_page_top()
Replies: 6
Views: 7486

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