]> source.dussan.org Git - sonarqube.git/commit
SONAR-1974 add a page to manage manual rules
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 7 Dec 2011 17:57:05 +0000 (18:57 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 7 Dec 2011 17:59:51 +0000 (18:59 +0100)
commit3f1c6bb54f96dacd32f86321c7ba89c5dd843d57
tree4f9ea120ffbc2923c2e2d35e779cf743e9203102
parentccf5929571dd5bb226d0c0814e1041f5ebd836ea
SONAR-1974 add a page to manage manual rules

Manual rules allow users to create their own violations directly from UI. These rules can
also be defined 'on the fly' while creating violations.
15 files changed:
plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/java/org/sonar/server/startup/RegisterRules.java
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/reviews_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/manual_rules_controller.rb [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/models/review.rb
sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
sonar-server/src/main/webapp/WEB-INF/app/models/rule_failure.rb
sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/manual_rules/index.html.erb [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/app/views/metrics/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_create_violation_form.html.erb
sonar-server/src/test/java/org/sonar/server/startup/RegisterRulesTest.java
sonar-server/src/test/resources/org/sonar/server/startup/RegisterRulesTest/shouldNotDisableManualRules.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/RegisterRulesTest/shouldNotDisableReviewRules.xml [deleted file]