]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
12 years agoSONAR-3543 Display sources folder in error message
Fabrice Bellingard [Wed, 11 Jul 2012 14:57:27 +0000 (16:57 +0200)]
SONAR-3543 Display sources folder in error message

12 years agoSONAR-3590 Show clean message when the widget fails to render.
Fabrice Bellingard [Wed, 11 Jul 2012 14:31:42 +0000 (16:31 +0200)]
SONAR-3590 Show clean message when the widget fails to render.

12 years agoSONAR-2496 Clean the version from snapshots when deleting a version
Fabrice Bellingard [Tue, 10 Jul 2012 10:02:31 +0000 (12:02 +0200)]
SONAR-2496 Clean the version from snapshots when deleting a version

=> when deleting a version event, the 'version' property of a
   snapshot should be set to the version of the following snapshot
   to have a consistent and clean history of 'version' properties.

12 years agoSONAR-2496 Support 'previous-version' value for differential views
Fabrice Bellingard [Tue, 10 Jul 2012 08:46:19 +0000 (10:46 +0200)]
SONAR-2496 Support 'previous-version' value for differential views

12 years agoAdd ResourceDao#getResource(ResourceQuery query)
Simon Brandhof [Thu, 12 Jul 2012 08:06:55 +0000 (10:06 +0200)]
Add ResourceDao#getResource(ResourceQuery query)

12 years agoMerge PurgeMapper and PurgeVendorMapper with new MyBatis mechanism
David Gageot [Thu, 12 Jul 2012 08:05:02 +0000 (10:05 +0200)]
Merge PurgeMapper and PurgeVendorMapper with new MyBatis mechanism

12 years agoFix creation of administrator
Simon Brandhof [Wed, 11 Jul 2012 22:44:58 +0000 (00:44 +0200)]
Fix creation of administrator

12 years agoDeclare parameters as non-null by default in org.sonar.api.platform
Simon Brandhof [Wed, 11 Jul 2012 22:20:37 +0000 (00:20 +0200)]
Declare parameters as non-null by default in org.sonar.api.platform

12 years agoImprove and refactor the ResourcePermissions component
Simon Brandhof [Wed, 11 Jul 2012 22:08:27 +0000 (00:08 +0200)]
Improve and refactor the ResourcePermissions component

12 years agoSONAR-3646 do not fail on non-h2 databases when creating administrator
Simon Brandhof [Wed, 11 Jul 2012 22:07:47 +0000 (00:07 +0200)]
SONAR-3646 do not fail on non-h2 databases when creating administrator

12 years agoSONAR-3646 API : new extension point to be notified on user creation
Simon Brandhof [Wed, 11 Jul 2012 18:29:18 +0000 (20:29 +0200)]
SONAR-3646 API : new extension point to be notified on user creation

12 years agoSONAR-3645 Forgot to merge an Oracle mapper and to remove dead code
David Gageot [Wed, 11 Jul 2012 16:37:50 +0000 (18:37 +0200)]
SONAR-3645 Forgot to merge an Oracle mapper and to remove dead code

12 years agoFix violations
David Gageot [Wed, 11 Jul 2012 16:17:51 +0000 (18:17 +0200)]
Fix violations

12 years agoUnused import
David Gageot [Wed, 11 Jul 2012 16:15:15 +0000 (18:15 +0200)]
Unused import

12 years agoUnused code
David Gageot [Wed, 11 Jul 2012 16:15:11 +0000 (18:15 +0200)]
Unused code

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