I am logged in as an administrator but I can't seem to find the menu to add new custom XPATH rules.
I'm following the steps from the link below :
http://docs.sonarqube.org/display/SONAR/Extending+Coding+Rules
"Once your new rule is written, you can add it SonarQube:
Login as an Quality profile administrator
Go to Quality Profile
Select one of the quality profiles for the language you wish to add the rule to
Look for the XPath rule template:"
I'm using sonarqube server 4.4.1
This is my Rules Tab:
Where is it located in that version?
The documentation is not up to date. Since SonarQube 4.4, custom rules are managed from the "Rules" space (directly accessible through the top navigation bar).
Related
I'm looking for a way to change deprecated rules in SonarQube. I've got my own Quantity configuration, but Sonar shows that there are 2 deprecated rules, it suggest mi other ones, but I have no idea how to change/fix them. I've looked through internet and google, but there's no asnwer, can anyone help?
The suggested replacement rules should be linked. Click through. Now you're on the detail page of the suggested replacement. At the bottom next to "Quality Profiles", assuming you're logged in with the correct permissions, you'll see an "Activate" button. Use it to turn the replacement on in your profile. Now you can go back to the deprecated rule and remove it from your quality profile.
I need to add custom functionality to default CKEditor features, for example:
Add a new option in "Link Type" picklist in Link overlay in addition to existing "URL" and "E-mail" options. This new option will be used to generate links specific to an organization using an ID.
How can I achieve above goal while keeping the CKEditor code maintainable? i.e I should be able to upgrade CKEditor to newer versions without having to reapply all custom code changes again.
I am using CKEditor version 4.5.10 (dev)
I am working on an existing magento project. Previous development team used custom design. I have enabled multiple shipping address from admin side, and cleared all cache. But am not able to see multiple address option in checkout page.
Since you have custom design, if the previous development team didn't override the default magento theme, you can switch to it from System > Configuration > General > Design
If they have written their changes directly into the default theme, then you can just rename the base/default (from design and skin) into something like custom/default and copy/paste the base/default from a Magento archive matching your version.
This way you can see if shipping to multiple addresses works or not. If it works then it means it was removed from the custom design - you have to check the design/skin files.
If it doesn't work then either you didn't configure something, or the code was overriden you have to check files under app/code/local (code/community or worse case code/core) .
I want to rename default rules in Sonar, like rule File name.
Is this possible?
Thanks
Go to the settings -> Quality Profiles -> Click on the profile that has the rules that you want to deactivate. The rules are in the coding rules tab. Then deselect (deactivate) the rules that you do not want.
You can also use the filter criteria and do bulk deactivation.
This is my first project on website development using Joomla. I am trying to make a dashboard implementation. My problem is that whenever I edit my script in article using source tags, the changes are not reflected on my site immediately. I have even tried restarting my Wamp server, but in vain. Any tips that I should follow?
Thanks.
Depending on your Joomla-Version there are different options to check to suppress stripping or filtering of tags like <script> for the frontend. Here are some hints:
First of all your tags could be filtered out client-sided depending on the editor you selected. If you use the standard TinyMCE e.g. go to Extensions - Plugins - TinyMCE where you will find a list of prohibited Elements which may include script. Be exactly sure what you do though, always check who should be allowed to enter script tags in an article, this is almost always a major security risk if anybody else like you as an administrator has the right to use them. So another option could be to just set the editor for your administrator/author accout to plain text and leave TinyMCE untouched.
Another filtering is done server-sided by joomla itself which can be controlled in "Global Configuration" -> "Text filter". After a standard installation all groups will use Default Black List filtering which includes removing script tags. Here you could define "No Filtering" for the Super User group e.g.
Again, all this depends on your Joomla-Version (my examples are referring to 2.5) and are hints to get around the issue but without knowing your security concept.