]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
13 years agoSONAR-2165 Cardinality of checkstyle rule Local Variable Name should be updated to...
simonbrandhof [Thu, 3 Feb 2011 17:56:30 +0000 (18:56 +0100)]
SONAR-2165 Cardinality of checkstyle rule Local Variable Name should be updated to multiple

13 years agoSONAR-2166 Cardinality of checkstyle rule Member Name should be updated to multiple...
simonbrandhof [Thu, 3 Feb 2011 16:54:47 +0000 (17:54 +0100)]
SONAR-2166 Cardinality of checkstyle rule Member Name should be updated to multiple + replace the deprecated attribute 'priority' by a node

13 years agoSONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabled
simonbrandhof [Thu, 3 Feb 2011 16:37:34 +0000 (17:37 +0100)]
SONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabled

13 years agoDecrease ZIP size: remove many unused ruby files
simonbrandhof [Thu, 3 Feb 2011 16:36:36 +0000 (17:36 +0100)]
Decrease ZIP size: remove many unused ruby files

13 years agoImprove IT for postgresql
simonbrandhof [Thu, 3 Feb 2011 09:32:51 +0000 (10:32 +0100)]
Improve IT for postgresql

13 years agoSONAR-2106: Improve sonar-batch-bootstrapper
Evgeny Mandrikov [Thu, 3 Feb 2011 02:23:14 +0000 (05:23 +0300)]
SONAR-2106: Improve sonar-batch-bootstrapper

* Add BootstrapClassLoader

* Instead of RuntimeException use BootstrapException

* Improve quality according to Sonar report

13 years agoSONAR-2094 Support backups without the field <enabled>
simonbrandhof [Wed, 2 Feb 2011 13:31:14 +0000 (14:31 +0100)]
SONAR-2094 Support backups without the field <enabled>

13 years agoSONAR-2094 Remove the deprecated ruby model RulesProfile (replaced by Profile) +...
simonbrandhof [Wed, 2 Feb 2011 11:14:18 +0000 (12:14 +0100)]
SONAR-2094 Remove the deprecated ruby model RulesProfile (replaced by Profile) + support the ENABLED column

13 years agoSONAR-2161: Normalize Java version for PMD
Evgeny Mandrikov [Wed, 2 Feb 2011 12:17:10 +0000 (15:17 +0300)]
SONAR-2161: Normalize Java version for PMD

13 years agoSONAR-1302 Upgrade to rails 2.3.5 to fix session expiration
simonbrandhof [Wed, 2 Feb 2011 10:29:19 +0000 (11:29 +0100)]
SONAR-1302 Upgrade to rails 2.3.5 to fix session expiration

13 years agoMerge branch 'SONAR-2094'
simonbrandhof [Wed, 2 Feb 2011 08:16:14 +0000 (09:16 +0100)]
Merge branch 'SONAR-2094'

13 years agoFix org.sonar.api.utils.AnnotationUtils: search for annotations in interfaces too
simonbrandhof [Wed, 2 Feb 2011 07:08:24 +0000 (08:08 +0100)]
Fix org.sonar.api.utils.AnnotationUtils: search for annotations in interfaces too

13 years agoImprove ProjectDefinition
Evgeny Mandrikov [Tue, 1 Feb 2011 22:58:56 +0000 (01:58 +0300)]
Improve ProjectDefinition

* Replace properties "sonar.projectBinaries" and "sonar.projectLibraries"
  by explicit fields in ProjectDefinition

13 years agoSONAR-2137: Fix updating of past violations
Evgeny Mandrikov [Tue, 1 Feb 2011 20:57:10 +0000 (23:57 +0300)]
SONAR-2137: Fix updating of past violations

* Database field rule_failures.failure_level should be updatable

* Change corresponding unit test

13 years agoSONAR-2094 Add the column RULES_PROFILES.ENABLED
simonbrandhof [Tue, 1 Feb 2011 21:08:15 +0000 (22:08 +0100)]
SONAR-2094 Add the column RULES_PROFILES.ENABLED

13 years agoImprove IT in order to better support performance issues
simonbrandhof [Tue, 1 Feb 2011 17:22:28 +0000 (18:22 +0100)]
Improve IT in order to better support performance issues

13 years agoMove calculation of accessors from squid to sonar
simonbrandhof [Tue, 1 Feb 2011 13:17:45 +0000 (14:17 +0100)]
Move calculation of accessors from squid to sonar

13 years agoAdd property "sonar.projectLibraries"
Evgeny Mandrikov [Tue, 1 Feb 2011 12:54:00 +0000 (15:54 +0300)]
Add property "sonar.projectLibraries"

13 years agoDisable downloading for certain files from BatchResourcesServlet
Evgeny Mandrikov [Tue, 1 Feb 2011 01:33:28 +0000 (04:33 +0300)]
Disable downloading for certain files from BatchResourcesServlet

13 years agoSONAR-2159 The total classes used in complexity distribution is different than the...
simonbrandhof [Tue, 1 Feb 2011 09:57:21 +0000 (10:57 +0100)]
SONAR-2159 The total classes used in complexity distribution is different than the number of classes

13 years agoSONAR-1280: Fix unit test
Evgeny Mandrikov [Tue, 1 Feb 2011 00:03:45 +0000 (03:03 +0300)]
SONAR-1280: Fix unit test

13 years agoAdd missing deprecated annotations
Evgeny Mandrikov [Fri, 28 Jan 2011 00:02:48 +0000 (03:02 +0300)]
Add missing deprecated annotations

13 years agoSONAR-1280: Add experimental Findbugs rules
Evgeny Mandrikov [Sat, 29 Jan 2011 22:45:58 +0000 (01:45 +0300)]
SONAR-1280: Add experimental Findbugs rules

13 years agoChange format of response from BatchResourcesServlet
Evgeny Mandrikov [Mon, 31 Jan 2011 14:35:09 +0000 (17:35 +0300)]
Change format of response from BatchResourcesServlet

13 years agoBack to commons-collection 3.2.1
simonbrandhof [Mon, 31 Jan 2011 13:15:53 +0000 (14:15 +0100)]
Back to commons-collection 3.2.1

13 years agoFix bug in BatchDownloader
Evgeny Mandrikov [Mon, 31 Jan 2011 11:05:55 +0000 (14:05 +0300)]
Fix bug in BatchDownloader

13 years agoUpgrade to jruby-rack 1.0.5
simonbrandhof [Mon, 31 Jan 2011 10:50:52 +0000 (11:50 +0100)]
Upgrade to jruby-rack 1.0.5

13 years agoSONAR-2133 Upgrade to Postgresql JDBC driver 9.0-801.jdbc3
simonbrandhof [Mon, 31 Jan 2011 10:50:22 +0000 (11:50 +0100)]
SONAR-2133 Upgrade to Postgresql JDBC driver 9.0-801.jdbc3

13 years agoChange format of response from BatchResourcesServlet
Evgeny Mandrikov [Mon, 31 Jan 2011 10:02:48 +0000 (13:02 +0300)]
Change format of response from BatchResourcesServlet

13 years agoUpgrade Apache Commons libraries (commons-io 2.0.1, commons-collection 3.3, commons...
simonbrandhof [Mon, 31 Jan 2011 09:52:24 +0000 (10:52 +0100)]
Upgrade Apache Commons libraries (commons-io 2.0.1, commons-collection 3.3, commons-lang 2.6)

13 years agoRename the profile check-java-api to sanity-checks
simonbrandhof [Mon, 31 Jan 2011 09:46:08 +0000 (10:46 +0100)]
Rename the profile check-java-api to sanity-checks

13 years agoAdd profile to check copyright headers + fix some badly formatted headers
simonbrandhof [Mon, 31 Jan 2011 00:11:24 +0000 (01:11 +0100)]
Add profile to check copyright headers + fix some badly formatted headers

13 years agoDon't hide stack trace in BatchDownloader
Evgeny Mandrikov [Sun, 30 Jan 2011 23:40:27 +0000 (02:40 +0300)]
Don't hide stack trace in BatchDownloader

13 years agoAdd properties "sonar.projectName" and "sonar.projectDescription"
Evgeny Mandrikov [Sun, 30 Jan 2011 22:55:26 +0000 (01:55 +0300)]
Add properties "sonar.projectName" and "sonar.projectDescription"

13 years agoAdd missing copyright header
simonbrandhof [Sun, 30 Jan 2011 22:12:01 +0000 (23:12 +0100)]
Add missing copyright header

13 years agoSONAR-1800: Fix issue with ClassLoader for Maven 3.x and Java 1.5
Evgeny Mandrikov [Fri, 28 Jan 2011 20:59:48 +0000 (23:59 +0300)]
SONAR-1800: Fix issue with ClassLoader for Maven 3.x and Java 1.5

* Restore context ClassLoader after execution of Maven plugin.

* Add abstract implementation of MavenPluginExecutor to reduce duplications
  in concrete implementations for different Maven versions.

13 years agoAdd workDir to ProjectDefinition
Evgeny Mandrikov [Fri, 28 Jan 2011 16:35:57 +0000 (19:35 +0300)]
Add workDir to ProjectDefinition

13 years ago[maven-release-plugin] prepare for next development iteration
simonbrandhof [Fri, 28 Jan 2011 14:02:59 +0000 (15:02 +0100)]
[maven-release-plugin] prepare for next development iteration

13 years ago[maven-release-plugin] prepare release 2.6-M1
simonbrandhof [Fri, 28 Jan 2011 14:02:57 +0000 (15:02 +0100)]
[maven-release-plugin] prepare release 2.6-M1

13 years agoAdd some unit tests
simonbrandhof [Fri, 28 Jan 2011 13:34:50 +0000 (14:34 +0100)]
Add some unit tests

13 years agoSONAR-2149 Resource filters are ignored in complexity distributions of Java projects
simonbrandhof [Fri, 28 Jan 2011 12:17:57 +0000 (13:17 +0100)]
SONAR-2149 Resource filters are ignored in complexity distributions of Java projects

This issue implies SONAR-2153 : API: A decorator should override formulas

13 years agoDeprecate Resource#isExcluded(), replaced by SensorContext#isExcluded(Resource)....
simonbrandhof [Fri, 28 Jan 2011 09:28:56 +0000 (10:28 +0100)]
Deprecate Resource#isExcluded(), replaced by SensorContext#isExcluded(Resource). It makes inheritance of Resource easier.

13 years agoadd helper methods to Qualifiers + do not accept null parameters
simonbrandhof [Fri, 28 Jan 2011 09:27:37 +0000 (10:27 +0100)]
add helper methods to Qualifiers + do not accept null parameters

13 years agoadd methods Scopes#isHigherThan() and isHigherThanOrEquals()
simonbrandhof [Fri, 28 Jan 2011 09:26:31 +0000 (10:26 +0100)]
add methods Scopes#isHigherThan() and isHigherThanOrEquals()

13 years agoSONAR-2151: Add new property to manage source encoding
Evgeny Mandrikov [Fri, 28 Jan 2011 10:16:11 +0000 (13:16 +0300)]
SONAR-2151: Add new property to manage source encoding

13 years agoSONAR-2148: Fix NPE in JavaUtils
Evgeny Mandrikov [Fri, 28 Jan 2011 10:04:38 +0000 (13:04 +0300)]
SONAR-2148: Fix NPE in JavaUtils

13 years agoSONAR-2148: Add new properties to manage level of Java language
Evgeny Mandrikov [Thu, 27 Jan 2011 18:20:09 +0000 (21:20 +0300)]
SONAR-2148: Add new properties to manage level of Java language

* Use sonar-java-api in sonar-pmd-plugin and sonar-clover-plugin

13 years agoSONAR-2126: Change API to work with file system of a project
Evgeny Mandrikov [Wed, 26 Jan 2011 17:59:13 +0000 (20:59 +0300)]
SONAR-2126: Change API to work with file system of a project

* Use language keys instead of objects.

* ProjectFileSystem now BatchComponent, so DefaultProjectFileSystem
  uses benefits from injections and some old code was removed from
  it to improve immutability.

* Small performance improvement for DefaultInputFile.

13 years agoSONAR-2046: Reuse unmarshallers from sonar-ws-client for sonar-gwt-api
Evgeny Mandrikov [Wed, 26 Jan 2011 16:21:54 +0000 (19:21 +0300)]
SONAR-2046: Reuse unmarshallers from sonar-ws-client for sonar-gwt-api

* WSUtils has two implementations - one for GWT and another for Java,
  so can be used by unmarshallers in both cases. But this not very good,
  because code is not type-safe. In fact it would be better to use
  emulation of types from org.json.simple for GWT, but this solution is
  more straightforward.

13 years agoUpgrade to sonar-dev-maven-plugin 1.2 in order to fix IT (increase cargo timeout)
simonbrandhof [Thu, 27 Jan 2011 13:24:40 +0000 (14:24 +0100)]
Upgrade to sonar-dev-maven-plugin 1.2 in order to fix IT (increase cargo timeout)

13 years agofix stop server in IT
simonbrandhof [Thu, 27 Jan 2011 11:09:19 +0000 (12:09 +0100)]
fix stop server in IT

13 years agoSONAR-2130 Fix backward-compatibility: resources can be automatically indexed when...
simonbrandhof [Wed, 26 Jan 2011 17:26:39 +0000 (18:26 +0100)]
SONAR-2130 Fix backward-compatibility: resources can be automatically indexed when adding data

13 years agoAdd the method ResourceUtils#isPersistable(Resource)
simonbrandhof [Wed, 26 Jan 2011 17:25:23 +0000 (18:25 +0100)]
Add the method ResourceUtils#isPersistable(Resource)

13 years agoAdd javadoc to InputFile + improve JavaFile#toString()
simonbrandhof [Wed, 26 Jan 2011 17:13:36 +0000 (18:13 +0100)]
Add javadoc to InputFile + improve JavaFile#toString()

13 years agoadd missing dir in IT
simonbrandhof [Wed, 26 Jan 2011 13:20:17 +0000 (14:20 +0100)]
add missing dir in IT

13 years agoExecute IT in build directory instead of temp dir
simonbrandhof [Wed, 26 Jan 2011 11:09:31 +0000 (12:09 +0100)]
Execute IT in build directory instead of temp dir

13 years agoSONAR-2138 Displaying differential values in % can be misleading
simonbrandhof [Wed, 26 Jan 2011 10:59:42 +0000 (11:59 +0100)]
SONAR-2138 Displaying differential values in % can be misleading

13 years agoSquid for Java : remove unused code
simonbrandhof [Tue, 25 Jan 2011 18:21:35 +0000 (19:21 +0100)]
Squid for Java : remove unused code

13 years agoFix Squid plugin to correctly build the relation between a Java file and its package
simonbrandhof [Tue, 25 Jan 2011 18:11:13 +0000 (19:11 +0100)]
Fix Squid plugin to correctly build the relation between a Java file and its package

13 years agoImprove backward-compatibility when adding data to a non-indexed resource
simonbrandhof [Tue, 25 Jan 2011 18:10:20 +0000 (19:10 +0100)]
Improve backward-compatibility when adding data to a non-indexed resource

13 years agodeactivate sonar.hardIndexLock in integration tests
simonbrandhof [Tue, 25 Jan 2011 07:57:59 +0000 (08:57 +0100)]
deactivate sonar.hardIndexLock in integration tests

13 years agoFix unit test for Windows
Evgeny Mandrikov [Tue, 25 Jan 2011 14:58:44 +0000 (17:58 +0300)]
Fix unit test for Windows

13 years agoUse default value for property "project.build.directory"
Evgeny Mandrikov [Tue, 25 Jan 2011 13:56:59 +0000 (16:56 +0300)]
Use default value for property "project.build.directory"

13 years agoAdd new property "sonar.projectBinaries"
Evgeny Mandrikov [Tue, 25 Jan 2011 13:20:08 +0000 (16:20 +0300)]
Add new property "sonar.projectBinaries"

13 years agoSONAR-791 add a project with invalid source dir in IT
simonbrandhof [Mon, 24 Jan 2011 22:33:42 +0000 (23:33 +0100)]
SONAR-791 add a project with invalid source dir in IT

13 years agofix unit test of SquidPluginTest
simonbrandhof [Mon, 24 Jan 2011 18:24:18 +0000 (19:24 +0100)]
fix unit test of SquidPluginTest

13 years agoSONAR-791 When the source directory is not exactly the java package root, Sonar shoul...
simonbrandhof [Mon, 24 Jan 2011 18:06:38 +0000 (19:06 +0100)]
SONAR-791 When the source directory is not exactly the java package root, Sonar should stop the analysis

13 years agoSONAR-2130 deprecate the component SquidSearch
simonbrandhof [Mon, 24 Jan 2011 18:04:22 +0000 (19:04 +0100)]
SONAR-2130 deprecate the component SquidSearch

13 years agoSONAR-2116 Cannot build 2.5 war, ant-nodeps-1.7.0.jar library is missing
simonbrandhof [Mon, 24 Jan 2011 18:02:17 +0000 (19:02 +0100)]
SONAR-2116 Cannot build 2.5 war, ant-nodeps-1.7.0.jar library is missing

13 years agoImprove org.sonar.api.resources.Scopes and Qualifiers
simonbrandhof [Mon, 24 Jan 2011 14:36:32 +0000 (15:36 +0100)]
Improve org.sonar.api.resources.Scopes and Qualifiers

13 years agoRemove deprecated constants of org.sonar.api.resources.Resource (deprecated since...
simonbrandhof [Mon, 24 Jan 2011 13:37:45 +0000 (14:37 +0100)]
Remove deprecated constants of org.sonar.api.resources.Resource (deprecated since 1.11)

13 years agoSquid for Java : remove unused code
simonbrandhof [Mon, 24 Jan 2011 13:29:16 +0000 (14:29 +0100)]
Squid for Java : remove unused code

13 years agoUse CoreProperties for in-memory POM construction
Evgeny Mandrikov [Mon, 24 Jan 2011 18:24:59 +0000 (21:24 +0300)]
Use CoreProperties for in-memory POM construction

13 years agoUse Properties in ProjectDefinition instead of Configuration
Evgeny Mandrikov [Mon, 24 Jan 2011 16:25:51 +0000 (19:25 +0300)]
Use Properties in ProjectDefinition instead of Configuration

13 years agoFix bug in construction of in-memory POM
Evgeny Mandrikov [Mon, 24 Jan 2011 08:42:05 +0000 (11:42 +0300)]
Fix bug in construction of in-memory POM

13 years agoAdd maven-shade-plugin to parent pom
Evgeny Mandrikov [Mon, 24 Jan 2011 08:17:41 +0000 (11:17 +0300)]
Add maven-shade-plugin to parent pom

13 years agoRename method in InputFile from getBaseDir() to getFileBaseDir()
Evgeny Mandrikov [Mon, 24 Jan 2011 07:54:31 +0000 (10:54 +0300)]
Rename method in InputFile from getBaseDir() to getFileBaseDir()

13 years agoSONAR-2106: Improve batch bootstrap
Evgeny Mandrikov [Sun, 23 Jan 2011 23:01:46 +0000 (02:01 +0300)]
SONAR-2106: Improve batch bootstrap

13 years agoSONAR-2126: Partially revert previous changes
Evgeny Mandrikov [Sun, 23 Jan 2011 22:42:22 +0000 (01:42 +0300)]
SONAR-2126: Partially revert previous changes

* Maven can modify source directories during Sonar execution
  via see MavenPhaseExecutor.

13 years agoSONAR-2106: New Java library to bootstrap project analysis
Evgeny Mandrikov [Tue, 18 Jan 2011 23:20:45 +0000 (02:20 +0300)]
SONAR-2106: New Java library to bootstrap project analysis

* Add BatchResourcesServlet to allow downloading libraries from server

* Create in memory POM for non-maven environments

* Provide fake MavenPluginExecutor for non-maven environments

* Add new module sonar-batch-maven-compat with shaded maven-project

13 years agoSONAR-1526 comment_line_density is not rounded twice anymore -> fix IT
simonbrandhof [Sun, 23 Jan 2011 19:12:13 +0000 (20:12 +0100)]
SONAR-1526 comment_line_density is not rounded twice anymore -> fix IT

13 years agoremove unused class from squid java plugin
simonbrandhof [Sun, 23 Jan 2011 19:10:47 +0000 (20:10 +0100)]
remove unused class from squid java plugin

13 years agoSONAR-2126: Change api to work with project file system
Evgeny Mandrikov [Sun, 23 Jan 2011 17:58:49 +0000 (20:58 +0300)]
SONAR-2126: Change api to work with project file system

13 years agoSONAR-2126: Change api to work with project file system
Evgeny Mandrikov [Sun, 23 Jan 2011 16:25:12 +0000 (19:25 +0300)]
SONAR-2126: Change api to work with project file system

13 years agoSONAR-2126: Change api to work with project file system
Evgeny Mandrikov [Fri, 21 Jan 2011 12:21:15 +0000 (15:21 +0300)]
SONAR-2126: Change api to work with project file system

* Introduce InputFile (file and reference to base directory),
  which can be retrieved from ProjectFileSystem

* Reduce dependencies on MavenProject - don't use project.getPom()
  in DefaultProjectFileSystem and MavenUtils in ProjectUtils

13 years agorevert IT to WAR mode
simonbrandhof [Sun, 23 Jan 2011 09:44:26 +0000 (10:44 +0100)]
revert IT to WAR mode

13 years agoSONAR-2130 add some unit tests
simonbrandhof [Fri, 21 Jan 2011 17:45:45 +0000 (18:45 +0100)]
SONAR-2130 add some unit tests

13 years agoSONAR-1526 ResourceFilters are not used by Squid
simonbrandhof [Fri, 21 Jan 2011 16:55:47 +0000 (17:55 +0100)]
SONAR-1526 ResourceFilters are not used by Squid

13 years agoSONAR-2130 Publish measures of Java methods on resource tree
simonbrandhof [Fri, 21 Jan 2011 16:55:20 +0000 (17:55 +0100)]
SONAR-2130 Publish measures of Java methods on resource tree

13 years agoimprove exception when saving a measure twice on the same resource
simonbrandhof [Fri, 21 Jan 2011 16:53:43 +0000 (17:53 +0100)]
improve exception when saving a measure twice on the same resource

13 years agoMerge branch 'master' of github.com:SonarSource/sonar
simonbrandhof [Fri, 21 Jan 2011 13:35:01 +0000 (14:35 +0100)]
Merge branch 'master' of github.com:SonarSource/sonar

13 years agoSONAR-2130 Publish measures of Java methods on resource tree
simonbrandhof [Fri, 21 Jan 2011 13:32:47 +0000 (14:32 +0100)]
SONAR-2130 Publish measures of Java methods on resource tree

13 years agoSONAR-2127 API: do not automatically create hierarchy of resource tree
simonbrandhof [Fri, 21 Jan 2011 13:32:24 +0000 (14:32 +0100)]
SONAR-2127 API: do not automatically create hierarchy of resource tree

13 years agoSONAR-2126: Rename ProjectDirectory to FileSystemDirectory
Evgeny Mandrikov [Thu, 20 Jan 2011 14:45:08 +0000 (17:45 +0300)]
SONAR-2126: Rename ProjectDirectory to FileSystemDirectory

13 years agoSONAR-2126: Change API to work with project
Evgeny Mandrikov [Thu, 20 Jan 2011 12:05:21 +0000 (15:05 +0300)]
SONAR-2126: Change API to work with project

* Add natures and exclusions/inclusions to ProjectDirectory

* Deprecate ProjectFileSystem and Project.getFileSystem()

* Instead of interface ProjectDefinition provide class
  only for bootstrap of batch

13 years agoadd the classes org.sonar.api.resources.Qualifiers and Scopes
simonbrandhof [Wed, 19 Jan 2011 22:00:34 +0000 (23:00 +0100)]
add the classes org.sonar.api.resources.Qualifiers and Scopes

13 years agocreate the module sonar-java-api dedicated to Java support
simonbrandhof [Wed, 19 Jan 2011 21:36:38 +0000 (22:36 +0100)]
create the module sonar-java-api dedicated to Java support

13 years agoSONAR-1664: Add access to project settings/properties
Julien HENRY [Tue, 18 Jan 2011 18:44:34 +0000 (02:44 +0800)]
SONAR-1664: Add access to project settings/properties

13 years agoSONAR-2066: Allow PUT requests from Java Web Service Client
Julien HENRY [Tue, 18 Jan 2011 18:41:34 +0000 (02:41 +0800)]
SONAR-2066: Allow PUT requests from Java Web Service Client

13 years agoAdd new structure to define project in a form suitable for bootstrapping Sonar batch
Evgeny Mandrikov [Mon, 17 Jan 2011 06:28:11 +0000 (09:28 +0300)]
Add new structure to define project in a form suitable for bootstrapping Sonar batch