agileMantis icon indicating copy to clipboard operation
agileMantis copied to clipboard

Add support for MantisBT 1.3.x

Open Mondane opened this issue 9 years ago • 5 comments

I just upgraded my MantisBT from 1.2.19 to 1.3.2 and it turns out that agileMantis isn't loaded. Could you add support for the 1.3.x core?

Mondane avatar Oct 25 '16 13:10 Mondane

Managed to get it running by changing this line in plugins/agileMantis/agileMantis.php

                $this->requires = array( "MantisCore" => "1.2.5" );

to

                $this->requires = array( "MantisCore" => "1.3.0" );

Now testing if all functionality works as expected.

Mondane avatar Oct 25 '16 13:10 Mondane

Found out the plugin images weren't showing caused by a new .htaccess in the /plugins folder with these contents:

order allow,deny
deny from all

For now, I've fixed it using this contents:

order deny,allow
deny from all
allow from <your ip> 

Mondane avatar Oct 25 '16 17:10 Mondane

Styling is not fully applied due to this error:

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-3s4EdbIRodzowhevjFvOA9X3QjIFN+dhtZodnlGlhQM='), or a nonce ('nonce-...') is required to enable inline execution.

This is in Google Chrome 54.0.2840.59 (64-bit)

It seems, because of this, styling breaks on several agileMantis pages.

Mondane avatar Oct 25 '16 17:10 Mondane

To disable the security policy, this extension can be installed on Google Chrome: https://chrome.google.com/webstore/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden/related

Mondane avatar Apr 17 '17 13:04 Mondane

I've found similar issue with edit_sprint.php, then I've created edit_sprint.js.

fmancardi avatar Jun 13 '17 20:06 fmancardi