aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
Commit message (Collapse)AuthorAgeFilesLines
* Fix violation, add testEvgeny Mandrikov2011-12-162-8/+23
|
* SONAR-1929 refactoring of the extension point DashboardSimon Brandhof2011-12-1511-97/+55
|
* SONAR-3034 API: default value of WidgetProperty is not injected in Ruby widgetsSimon Brandhof2011-12-159-86/+58
| | | | The column WIDGET_PROPERTIES.VALUE_TYPE is removed because it duplicates the Java extensions.
* rename the constant ReviewDto.STATUS_OPENED to STATUS_OPENSimon Brandhof2011-12-141-1/+1
|
* Decrease visibility of some methods of org.sonar.persistence.review.ReviewQuerySimon Brandhof2011-12-142-7/+2
|
* Sonar Persistence API refactoringFabrice Bellingard2011-12-1469-342/+348
| | | | | | | - Class mapped to tables should now be named "MyTableDto" - DTOs, DAOs and Mappers of a same concern should be packed in a single package, allowing to use package visibility amongst them. => org.sonar.persistence has been reorganized following those rules.
* SONAR-1929 Fix problem with MyBatis on OracleFabrice Bellingard2011-12-146-14/+26
|
* SONAR-1929 Modify the new DashboardTemplate APIFabrice Bellingard2011-12-134-13/+8
| | | | | - Replace the annotation-based one with a POJO one - Fix some issues based on Simon's feedback
* SONAR-2973 fix the severity of violations if manually set by end-usersSimon Brandhof2011-12-126-9/+185
|
* SONAR-1929 New extension point: dashboard templateFabrice Bellingard2011-12-1243-32/+1643
| | | | | | | | | | | | - Create API - Make required DB modifications (on MyBatis side) * new 'loaded_template' table * new 'kee' column on 'dashboards' table - Create startup RegisterProvidedTemplates - Create 2 first implementations: * the main Dashboard * a simple Hotspot dashboard (will be done in another ticket) - Update migration scripts (remove creation of main dashboard)
* Fix some violationsSimon Brandhof2011-12-121-2/+3
|
* SONAR-2973 replace RULE_FAILURES_OVERRIDDEN_SEVERITY by ↵Simon Brandhof2011-12-125-42/+73
| | | | REVIEWS.MANUAL_SEVERITY (boolean)
* Fix MyBatis integration tests with MsSQLSimon Brandhof2011-12-092-3/+3
|
* Fix integration tests of MyBatis on MsSQL. Table names must be lower-case.Simon Brandhof2011-12-091-2/+2
|
* Increase size of RULE_FAILURES.COMMITTER to 100Evgeny Mandrikov2011-12-081-1/+1
|
* SONAR-2973 add the column RULE_FAILURES.OVERRIDDEN_SEVERITY (BOOLEAN)Simon Brandhof2011-12-083-2/+4
| | | | The name is not really sexy. If true, then the violation severity has been explicitly changed by user so it must not be reset when analyzing project.
* Add RULE_FAILURES.COMMITTEREvgeny Mandrikov2011-12-083-2/+4
| | | | | Note that this field is experimental and should not be used by plugins, even if it can be accessed via API classes.
* Try to fix DbUnit tests on MSSQLsimonbrandhof2011-12-072-7/+19
|
* Fix iBatis ReviewMapper.xml for MsSQLsimonbrandhof2011-12-071-3/+3
|
* Fix compatibility of DbUnit with Oracle (lack of boolean type)Simon Brandhof2011-12-063-5/+26
|
* Fix creation of Oracle sequences in integration tests of MyBatisSimon Brandhof2011-12-061-2/+4
|
* Try to fix Oracle testsSimon Brandhof2011-12-062-12/+20
|
* SONAR-1974 automatically close reviews that relate to resolved manual violationsSimon Brandhof2011-12-051-1/+11
|
* Remove INFO logs in unit tests and fix Oracle testsSimon Brandhof2011-12-052-5/+2
|
* Fix some violationsSimon Brandhof2011-12-051-43/+43
|
* SONAR-1974 inject manual violations into batchsimonbrandhof2011-12-042-14/+34
|
* SONAR-3052 add dependency on Guava 10simonbrandhof2011-12-041-1/+1
|
* Add log to debug integration tests with OracleSimon Brandhof2011-12-021-2/+4
|
* Add missing header + remove hibernate logs when executing unit testsSimon Brandhof2011-12-022-0/+27
|
* Fix DaoTestCase for OracleSimon Brandhof2011-12-022-28/+65
| | | | We didn't succeed in using java.sql.DatabaseMetaData#getTables() on Oracle.
* Table names are not correctly loaded in DaoTestCaseSimon Brandhof2011-12-021-1/+1
|
* Add logs to DaoTestCase in order to list the TRUNCATE commandsSimon Brandhof2011-12-022-4/+8
| | | | + Unit tests must log with level INFO
* Fix typo in RuleDaoTestSimon Brandhof2011-12-021-1/+1
|
* SONAR-1974 refactor tables RULE_FAILURES and REVIEWSSimon Brandhof2011-12-0216-43/+606
| | | | | | | * Rollback the previous changes on RULE_FAILURES : SNAPSHOT_ID NULLABLE and new column RESOURCE_ID * Add the columns REVIEWS.RULE_ID (nullable) and MANUAL_VIOLATION (boolean) * Add experimental MyBatis mapper for reviews * Add the fields manualViolation (boolean) and permanentId to org.sonar.api.rules.Violation
* Allow criteria with null values in DatabaseSession#getResults(Class, ↵Simon Brandhof2011-12-011-7/+14
| | | | Object... criteria)
* Escape the value of sonar.jdbc.schema on OracleSimon Brandhof2011-12-012-2/+2
|
* SONAR-3045 Guess the property sonar.jdbc.driverClassNameSimon Brandhof2011-11-3011-121/+204
|
* SONAR-1974 Add RULE_FAILURES.RESOURCE_IDSimon Brandhof2011-11-283-2/+4
|
* SONAR-1974 RULE_FAILURES.SNAPSHOT_ID must be nullableSimon Brandhof2011-11-283-2/+3
|
* SONAR-3029 API: allow to have different severities for violations related to ↵Simon Brandhof2011-11-242-1/+2
| | | | the same rule
* SONAR-2945 Synchronize review title&line with corresponding violationFabrice Bellingard2011-11-231-0/+24
| | | | | The message and the line of a violation linked to a review are not updated in the review detail when the violation changes.
* SONAR-3023 Increase the size for column "qualifier" in DBEvgeny Mandrikov2011-11-233-3/+4
| | | | Tables SNAPSHOTS and PROJECTS.
* Reformat schema-derby.ddl and remove unused sonar-test.ddlEvgeny Mandrikov2011-11-231-86/+446
|
* SONAR-2975 fix typo in Oracle ALTER SESSION statementsimonbrandhof2011-11-142-2/+2
|
* SONAR-2975 refactor the activerecord configurationsimonbrandhof2011-11-144-41/+100
|
* SONAR-2975 Rename the property sonar.hibernate.default_schema to ↵Simon Brandhof2011-11-149-45/+105
| | | | | | | sonar.jdbc.schema MyBatis mappers are refactored at the same time. Schema is not explicitely used in SQL requests anymore. Schema is automatically handled by the connection pool (commons dbcp) for Oracle and PostgreSQL.
* Remove HSQLDB from unit testsSimon Brandhof2011-11-106-218/+17
|
* MyBatis: prefix SQL requests with schema, when available.Simon Brandhof2011-11-1020-16/+509
| | | | Add support for integration tests, hosted at SonarSource.
* Minor: replace String#indexOf()<0 by String#contains()Simon Brandhof2011-11-101-1/+1
|
* Use Derby for unit tests instead of HSQL, remove unused codeEvgeny Mandrikov2011-11-103-18/+20
|