mantisbt-plugins / agileMantis

Enables the Scrum Framework to your Mantis-Installation
GNU Lesser General Public License v3.0
15 stars 23 forks source link

Add support for MantisBT 1.3.x #7

Open Mondane opened 7 years ago

Mondane commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

fmancardi commented 7 years ago

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