]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
12 years agoCleaner code
David Gageot [Wed, 11 Jul 2012 16:11:28 +0000 (18:11 +0200)]
Cleaner code

12 years agoSONAR-2965 FIX enforce validation query on DataSource
David Gageot [Wed, 11 Jul 2012 16:10:04 +0000 (18:10 +0200)]
SONAR-2965 FIX enforce validation query on DataSource

12 years agoSONAR-3645 merge mapper xml files for oracle
David Gageot [Wed, 11 Jul 2012 15:36:06 +0000 (17:36 +0200)]
SONAR-3645 merge mapper xml files for oracle

12 years agoSONAR-3645 remove useless jdbc types in MyBatis mappers
David Gageot [Wed, 11 Jul 2012 15:08:23 +0000 (17:08 +0200)]
SONAR-3645 remove useless jdbc types in MyBatis mappers

12 years agoSONAR-3437 merge Mappers
David Gageot [Wed, 11 Jul 2012 15:04:02 +0000 (17:04 +0200)]
SONAR-3437 merge Mappers

12 years agoSONAR-2965 enforce validation query on DataSource
David Gageot [Wed, 11 Jul 2012 11:48:59 +0000 (13:48 +0200)]
SONAR-2965 enforce validation query on DataSource

12 years agoFix support of sonar.showSqlResults with MyBatis 3.1
Simon Brandhof [Wed, 11 Jul 2012 15:02:59 +0000 (17:02 +0200)]
Fix support of sonar.showSqlResults with MyBatis 3.1

12 years agoCommand env variables are initialized with System.getenv()
Simon Brandhof [Tue, 10 Jul 2012 16:50:56 +0000 (18:50 +0200)]
Command env variables are initialized with System.getenv()

12 years agoUse version 1.0 of Sonar Common Rules
Fabrice Bellingard [Wed, 11 Jul 2012 11:56:36 +0000 (13:56 +0200)]
Use version 1.0 of Sonar Common Rules

12 years agoSONAR-3437 Improve code coverage and fix measure data update
David Gageot [Wed, 11 Jul 2012 09:07:32 +0000 (11:07 +0200)]
SONAR-3437 Improve code coverage and fix measure data update

12 years agoSONAR-3437 Fix Oracle Mapper
David Gageot [Wed, 11 Jul 2012 07:23:38 +0000 (09:23 +0200)]
SONAR-3437 Fix Oracle Mapper

12 years agoSONAR-3437 Simpler code
David Gageot [Wed, 11 Jul 2012 07:04:50 +0000 (09:04 +0200)]
SONAR-3437 Simpler code

12 years agoSONAR-3437 Disable batch insert because it cannot work
David Gageot [Wed, 11 Jul 2012 06:58:12 +0000 (08:58 +0200)]
SONAR-3437 Disable batch insert because it cannot work

12 years agoSONAR-3531 Allow to use two instances of MultilinesDocTokenizer without subclassing
Evgeny Mandrikov [Tue, 10 Jul 2012 18:40:00 +0000 (00:40 +0600)]
SONAR-3531 Allow to use two instances of MultilinesDocTokenizer without subclassing

12 years agoFix ResourceDao test on Oracle
David Gageot [Tue, 10 Jul 2012 15:47:04 +0000 (17:47 +0200)]
Fix ResourceDao test on Oracle

12 years agoImprove javadoc of org.sonar.api.utils.command.Command
Simon Brandhof [Tue, 10 Jul 2012 16:06:12 +0000 (18:06 +0200)]
Improve javadoc of org.sonar.api.utils.command.Command

12 years agoAllow to mock CommandExecutor
Simon Brandhof [Tue, 10 Jul 2012 15:46:50 +0000 (17:46 +0200)]
Allow to mock CommandExecutor

Changing final to non-final does not break binary compatibility. Constructor is kept private.

12 years agoMinor improvements on org.sonar.api.utils.command
Simon Brandhof [Tue, 10 Jul 2012 15:34:00 +0000 (17:34 +0200)]
Minor improvements on org.sonar.api.utils.command

* shorten the method CommandExecutor#execute()
* add javadoc

12 years agoSONAR-3437 Simplify mapping files
David Gageot [Tue, 10 Jul 2012 14:58:35 +0000 (16:58 +0200)]
SONAR-3437 Simplify mapping files

12 years agoSupport null values without jdbctypes in MyBatis
David Gageot [Tue, 10 Jul 2012 14:53:25 +0000 (16:53 +0200)]
Support null values without jdbctypes in MyBatis

12 years agoSONAR-3437 fix mapping for Oracle
David Gageot [Tue, 10 Jul 2012 14:52:56 +0000 (16:52 +0200)]
SONAR-3437 fix mapping for Oracle

12 years agoMake sure MyBatis is not configured to use generated keys in batch inserts
David Gageot [Tue, 10 Jul 2012 14:52:14 +0000 (16:52 +0200)]
Make sure MyBatis is not configured to use generated keys in batch inserts

Fix for Oracle

12 years agoMake sure MyBatis is not configured to use generated keys in batch inserts
David Gageot [Tue, 10 Jul 2012 12:46:06 +0000 (14:46 +0200)]
Make sure MyBatis is not configured to use generated keys in batch inserts

Some databases support using generated keys (mysql), some don't (Postgresql),
some make you think they do (Derby). With this check we make sure that
we catch this kind of error as early as possible

12 years agoFix unit test on Postgresql
Simon Brandhof [Tue, 10 Jul 2012 12:33:49 +0000 (14:33 +0200)]
Fix unit test on Postgresql

12 years agoAdd missing H2 index on PROJECTS.ROOT_ID
Simon Brandhof [Tue, 10 Jul 2012 12:33:10 +0000 (14:33 +0200)]
Add missing H2 index on PROJECTS.ROOT_ID

12 years agoRemove unused constant in roles_controller.rb
Simon Brandhof [Tue, 10 Jul 2012 09:30:48 +0000 (11:30 +0200)]
Remove unused constant in roles_controller.rb

12 years agoH2 add indices
David Gageot [Tue, 10 Jul 2012 10:05:53 +0000 (12:05 +0200)]
H2 add indices

12 years agoSONAR-3437 Fix batch insert on mysql
David Gageot [Tue, 10 Jul 2012 09:54:42 +0000 (11:54 +0200)]
SONAR-3437 Fix batch insert on mysql

12 years agoSONAR-3437 Cleaner code and fix Oracle mapping
David Gageot [Tue, 10 Jul 2012 08:03:38 +0000 (10:03 +0200)]
SONAR-3437 Cleaner code and fix Oracle mapping

12 years agoRemove useless comment
Evgeny Mandrikov [Tue, 10 Jul 2012 09:33:47 +0000 (15:33 +0600)]
Remove useless comment

12 years agoSONAR-3437 Use MyBatis in batch mode
David Gageot [Mon, 9 Jul 2012 14:00:49 +0000 (16:00 +0200)]
SONAR-3437 Use MyBatis in batch mode

12 years agoSONAR-3620 Larger text field
David Gageot [Mon, 9 Jul 2012 14:06:10 +0000 (16:06 +0200)]
SONAR-3620 Larger text field

120 cols instead of 40

12 years agoComplete MyBatis ResourceDao
Simon Brandhof [Mon, 9 Jul 2012 16:02:05 +0000 (18:02 +0200)]
Complete MyBatis ResourceDao

* new method insertOrUpdate()
* new criteria in ResourceQuery

12 years agoAdd methods checkColumns() to dbunit helpers
Simon Brandhof [Mon, 9 Jul 2012 15:48:18 +0000 (17:48 +0200)]
Add methods checkColumns() to dbunit helpers

12 years agoSONAR-3437 Use MyBatis instead of Hibernate to improve batch insert
David Gageot [Mon, 9 Jul 2012 09:36:01 +0000 (11:36 +0200)]
SONAR-3437 Use MyBatis instead of Hibernate to improve batch insert

12 years agoSONAR-3437 Prepare for refactoring to MyBatis
David Gageot [Mon, 9 Jul 2012 08:16:32 +0000 (10:16 +0200)]
SONAR-3437 Prepare for refactoring to MyBatis

12 years agoSONAR-2594 FindBugs plugin should support localized violations
Evgeny Mandrikov [Wed, 19 Oct 2011 11:42:35 +0000 (15:42 +0400)]
SONAR-2594 FindBugs plugin should support localized violations

12 years agoSONAR-3538 Update the SQALE model for Java
Fabrice Bellingard [Mon, 9 Jul 2012 09:38:39 +0000 (11:38 +0200)]
SONAR-3538 Update the SQALE model for Java

12 years agoFix missing back-slash in FB rule description
Fabrice Bellingard [Mon, 9 Jul 2012 09:38:11 +0000 (11:38 +0200)]
Fix missing back-slash in FB rule description

12 years agoSONAR-3531 Allow to use MultilinesDocTokenizer for html comments
Evgeny Mandrikov [Mon, 9 Jul 2012 08:18:35 +0000 (14:18 +0600)]
SONAR-3531 Allow to use MultilinesDocTokenizer for html comments

12 years agoSONAR-3618 improve support of the Views plugin
Simon Brandhof [Fri, 6 Jul 2012 16:14:14 +0000 (18:14 +0200)]
SONAR-3618 improve support of the Views plugin

12 years agoImprove coverage of FindbugsConfiguration
Evgeny Mandrikov [Mon, 9 Jul 2012 08:07:06 +0000 (14:07 +0600)]
Improve coverage of FindbugsConfiguration

12 years agoSONAR-3572 Remove useless property 'sonar.findbugs.generateXml'
Evgeny Mandrikov [Mon, 9 Jul 2012 06:26:57 +0000 (12:26 +0600)]
SONAR-3572 Remove useless property 'sonar.findbugs.generateXml'

12 years agoSONAR-3626 Fix test for Windows
Evgeny Mandrikov [Mon, 9 Jul 2012 06:41:21 +0000 (12:41 +0600)]
SONAR-3626 Fix test for Windows

12 years agoFix H2 type of RULE_NOTES.DATA and ACTIVE_RULE_NOTES.DATA
Simon Brandhof [Sun, 8 Jul 2012 21:21:12 +0000 (23:21 +0200)]
Fix H2 type of RULE_NOTES.DATA and ACTIVE_RULE_NOTES.DATA

12 years agoFix some quality flaws
Simon Brandhof [Sun, 8 Jul 2012 20:46:49 +0000 (22:46 +0200)]
Fix some quality flaws

12 years agoFix ITS: Revert "SONAR-3618 improve support of the Views plugin"
David Gageot [Sun, 8 Jul 2012 15:41:10 +0000 (17:41 +0200)]
Fix ITS: Revert "SONAR-3618 improve support of the Views plugin"

This reverts commit 4925839fd7c126f25c6352d6688b8fafd5cd81f0.

12 years agoAdd tests to MyBatis RoleMapper
Simon Brandhof [Fri, 6 Jul 2012 17:12:26 +0000 (19:12 +0200)]
Add tests to MyBatis RoleMapper

12 years agoAdd some tests to org.sonar.api.config.Settings
Simon Brandhof [Fri, 6 Jul 2012 16:55:46 +0000 (18:55 +0200)]
Add some tests to org.sonar.api.config.Settings

12 years agoSONAR-3590 Centralize backtrace logging in the Slf4jLogger class
Fabrice Bellingard [Fri, 6 Jul 2012 16:39:00 +0000 (18:39 +0200)]
SONAR-3590 Centralize backtrace logging in the Slf4jLogger class

12 years agoFix copyright header
Simon Brandhof [Fri, 6 Jul 2012 16:31:48 +0000 (18:31 +0200)]
Fix copyright header

12 years agoSONAR-3618 improve support of the Views plugin
Simon Brandhof [Fri, 6 Jul 2012 16:14:14 +0000 (18:14 +0200)]
SONAR-3618 improve support of the Views plugin

12 years agoSONAR-3618 support old versions of Views plugin
Simon Brandhof [Fri, 6 Jul 2012 15:09:30 +0000 (17:09 +0200)]
SONAR-3618 support old versions of Views plugin

12 years agoSONAR-3590 Log all Rails warnings & errors in "sonar.log" file
Fabrice Bellingard [Fri, 6 Jul 2012 15:27:59 +0000 (17:27 +0200)]
SONAR-3590 Log all Rails warnings & errors in "sonar.log" file

=> Initial issue: when an exception is raised in a ruby widget, the
   error stack trace is not logged in the sonar.log file

12 years agoSONAR-3507 H2 driver should be registered before the connection
David Gageot [Fri, 6 Jul 2012 14:41:41 +0000 (16:41 +0200)]
SONAR-3507 H2 driver should be registered before the connection

This works on java6 but not in java5

12 years agoSONAR-3432 Check rule property values
David Gageot [Fri, 6 Jul 2012 13:55:19 +0000 (15:55 +0200)]
SONAR-3432 Check rule property values

We need to keep the compatibility with old values like s,i,r...

12 years agoSONAR-3432 Support rule property types in annotations
David Gageot [Fri, 6 Jul 2012 13:25:10 +0000 (15:25 +0200)]
SONAR-3432 Support rule property types in annotations

12 years agoUnused import
David Gageot [Fri, 6 Jul 2012 13:23:59 +0000 (15:23 +0200)]
Unused import

12 years agoSONAR-3538 Update Java SQALE model with rules from Sonar Common Rules
Fabrice Bellingard [Fri, 6 Jul 2012 13:23:31 +0000 (15:23 +0200)]
SONAR-3538 Update Java SQALE model with rules from Sonar Common Rules

12 years agoAPI: add ResourceType#setProperty(String,boolean) + remove some deprecated methods
Simon Brandhof [Fri, 6 Jul 2012 12:54:55 +0000 (14:54 +0200)]
API: add ResourceType#setProperty(String,boolean) + remove some deprecated methods

12 years agoAPI: add Settings#getStringLines(String key)
Simon Brandhof [Fri, 6 Jul 2012 12:42:40 +0000 (14:42 +0200)]
API: add Settings#getStringLines(String key)

12 years agoSONAR-3618 Better naming of ResourcePermissioning methods
Simon Brandhof [Fri, 6 Jul 2012 09:13:44 +0000 (11:13 +0200)]
SONAR-3618 Better naming of ResourcePermissioning methods

12 years agoSONAR-3618 Add new HTML ids for integration tests
Simon Brandhof [Fri, 6 Jul 2012 08:40:46 +0000 (10:40 +0200)]
SONAR-3618 Add new HTML ids for integration tests

12 years agoSONAR-3626 CommandExecutor: should be possible to specify environment variables
Evgeny Mandrikov [Fri, 6 Jul 2012 12:55:44 +0000 (18:55 +0600)]
SONAR-3626 CommandExecutor: should be possible to specify environment variables

12 years agoSONAR-3432 Support Regular expressions
David Gageot [Fri, 6 Jul 2012 12:24:23 +0000 (14:24 +0200)]
SONAR-3432 Support Regular expressions

12 years agoSONAR-1608 Add index on projects.root_id for better performances
Fabrice Bellingard [Fri, 6 Jul 2012 12:30:10 +0000 (14:30 +0200)]
SONAR-1608 Add index on projects.root_id for better performances

=> when renaming project keys on large databases.

12 years agoSONAR-3432 Larger string field
David Gageot [Fri, 6 Jul 2012 12:20:47 +0000 (14:20 +0200)]
SONAR-3432 Larger string field

12 years agoSONAR-3432 Dead code
David Gageot [Fri, 6 Jul 2012 12:17:41 +0000 (14:17 +0200)]
SONAR-3432 Dead code

12 years agoSONAR-3432 Simplify Ruby code
David Gageot [Fri, 6 Jul 2012 12:11:32 +0000 (14:11 +0200)]
SONAR-3432 Simplify Ruby code

12 years agoSONAR-3432 Fix and Improve rule param validation
David Gageot [Fri, 6 Jul 2012 12:04:26 +0000 (14:04 +0200)]
SONAR-3432 Fix and Improve rule param validation

12 years agoSONAR-3432 Partially migrate rule param types to new names
David Gageot [Fri, 6 Jul 2012 11:51:26 +0000 (13:51 +0200)]
SONAR-3432 Partially migrate rule param types to new names

12 years agoSONAR-3432 Update documentation
David Gageot [Fri, 6 Jul 2012 11:40:16 +0000 (13:40 +0200)]
SONAR-3432 Update documentation

12 years agoSONAR-3432 Clean-up ruby code
David Gageot [Fri, 6 Jul 2012 11:40:08 +0000 (13:40 +0200)]
SONAR-3432 Clean-up ruby code

12 years agoSONAR-1995 Use TEXT input for xpath expression in XPath Rule
David Gageot [Fri, 6 Jul 2012 11:39:45 +0000 (13:39 +0200)]
SONAR-1995 Use TEXT input for xpath expression in XPath Rule

12 years agoSONAR-3620 Define a new TEXT widget property type
David Gageot [Fri, 6 Jul 2012 11:39:14 +0000 (13:39 +0200)]
SONAR-3620 Define a new TEXT widget property type

12 years agoSONAR-3432 fix and format html
David Gageot [Fri, 6 Jul 2012 10:55:57 +0000 (12:55 +0200)]
SONAR-3432 fix and format html

12 years agoSONAR-3432 show input field for lists
David Gageot [Fri, 6 Jul 2012 10:49:55 +0000 (12:49 +0200)]
SONAR-3432 show input field for lists

12 years agoSONAR-3432 unused code
David Gageot [Fri, 6 Jul 2012 10:49:29 +0000 (12:49 +0200)]
SONAR-3432 unused code

12 years agoSONAR-2614 Add time spent on deletion
Fabrice Bellingard [Fri, 6 Jul 2012 10:38:04 +0000 (12:38 +0200)]
SONAR-2614 Add time spent on deletion

12 years agoSONAR-2614 Sort resources by name
Fabrice Bellingard [Fri, 6 Jul 2012 10:06:01 +0000 (12:06 +0200)]
SONAR-2614 Sort resources by name

12 years agoSONAR-3432 reuse input field generation code
David Gageot [Fri, 6 Jul 2012 09:55:33 +0000 (11:55 +0200)]
SONAR-3432 reuse input field generation code

12 years agoSONAR-3497 The repository name should be "Common Sonar"
Fabrice Bellingard [Fri, 6 Jul 2012 09:19:37 +0000 (11:19 +0200)]
SONAR-3497 The repository name should be "Common Sonar"

=> It should not depend on the language name

12 years agoNasty Hack to make active record ignore two columns in user system table
David Gageot [Fri, 6 Jul 2012 09:06:34 +0000 (11:06 +0200)]
Nasty Hack to make active record ignore two columns in user system table

We need to find a better solution.

12 years agoFix folder name forgotten during migration to h2
David Gageot [Fri, 6 Jul 2012 09:04:59 +0000 (11:04 +0200)]
Fix folder name forgotten during migration to h2

12 years agoFix violations
David Gageot [Thu, 5 Jul 2012 21:35:22 +0000 (23:35 +0200)]
Fix violations

12 years agoSONAR-3618 add HTML ids for integration tests
Simon Brandhof [Fri, 6 Jul 2012 07:54:19 +0000 (09:54 +0200)]
SONAR-3618 add HTML ids for integration tests

12 years agoAdd MyBatis RoleMapper for Oracle
Simon Brandhof [Fri, 6 Jul 2012 07:27:14 +0000 (09:27 +0200)]
Add MyBatis RoleMapper for Oracle

12 years agoSONAR-3572 FindBugs plugin should log violation only on the primary location of a...
Evgeny Mandrikov [Fri, 6 Jul 2012 05:17:42 +0000 (11:17 +0600)]
SONAR-3572 FindBugs plugin should log violation only on the primary location of a bug instance

12 years agoSONAR-3618 cosmetic improvements of role manamagent pages
Simon Brandhof [Thu, 5 Jul 2012 22:28:20 +0000 (00:28 +0200)]
SONAR-3618 cosmetic improvements of role manamagent pages

12 years agoH2 migration restore previous method to list db tables
David Gageot [Thu, 5 Jul 2012 16:27:37 +0000 (18:27 +0200)]
H2 migration restore previous method to list db tables

12 years agoSONAR-3543 Fail analysis if a project has no files
Fabrice Bellingard [Thu, 5 Jul 2012 16:00:16 +0000 (18:00 +0200)]
SONAR-3543 Fail analysis if a project has no files

=> The Sonar analysis must fail when a project has been analysed
   but the measure 'files' is 0.

12 years agoSONAR-3432 Add feedback on rule property validation
David Gageot [Thu, 5 Jul 2012 15:13:08 +0000 (17:13 +0200)]
SONAR-3432 Add feedback on rule property validation

12 years agoSONAR-3618 Support custom default permissions for non-project resources
Simon Brandhof [Thu, 5 Jul 2012 14:40:16 +0000 (16:40 +0200)]
SONAR-3618 Support custom default permissions for non-project resources

12 years agoSONAR-3618 move default permissions to PROPERTIES
Simon Brandhof [Mon, 2 Jul 2012 09:35:43 +0000 (11:35 +0200)]
SONAR-3618 move default permissions to PROPERTIES

* add MyBatis mappers for GROUPS, GROUP_ROLES, USERS and USER_ROLES.

12 years agoSONAR-3432 Prepare Rules Parameters to use shared code
David Gageot [Thu, 5 Jul 2012 14:43:54 +0000 (16:43 +0200)]
SONAR-3432 Prepare Rules Parameters to use shared code

12 years agoSONAR-3551 Fix issue on Chrome for the last tables
Fabrice Bellingard [Thu, 5 Jul 2012 14:41:59 +0000 (16:41 +0200)]
SONAR-3551 Fix issue on Chrome for the last tables

12 years agoSONAR-3432 Prepare for shared code
David Gageot [Thu, 5 Jul 2012 14:24:02 +0000 (16:24 +0200)]
SONAR-3432 Prepare for shared code

12 years agoSONAR-3432 Add password property type for widgets
David Gageot [Thu, 5 Jul 2012 14:12:53 +0000 (16:12 +0200)]
SONAR-3432 Add password property type for widgets

12 years agoSONAR-3432 Add text property type for widgets
David Gageot [Thu, 5 Jul 2012 14:06:52 +0000 (16:06 +0200)]
SONAR-3432 Add text property type for widgets

12 years agoProperties
David Gageot [Thu, 5 Jul 2012 13:07:24 +0000 (15:07 +0200)]
Properties