]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
12 years agoRefactor PurgeDao
Simon Brandhof [Tue, 14 Feb 2012 15:36:35 +0000 (16:36 +0100)]
Refactor PurgeDao

12 years agoSONAR-3208 complete database tables
Simon Brandhof [Tue, 14 Feb 2012 15:36:24 +0000 (16:36 +0100)]
SONAR-3208 complete database tables

* add PROJECTS.PERSON_ID
* create the table AUTHORS

12 years agoSONAR-3014 Improve rendering
Fabrice Bellingard [Tue, 14 Feb 2012 14:24:47 +0000 (15:24 +0100)]
SONAR-3014 Improve rendering

12 years agoImprove the component org.sonar.dbcleaner.api.PurgeTask
Simon Brandhof [Tue, 14 Feb 2012 13:10:07 +0000 (14:10 +0100)]
Improve the component org.sonar.dbcleaner.api.PurgeTask

* add javadoc
* use simple and generic method names

12 years agoSONAR-3223 Update script to clean reviews with deleted resource
Fabrice Bellingard [Tue, 14 Feb 2012 12:55:31 +0000 (13:55 +0100)]
SONAR-3223 Update script to clean reviews with deleted resource

12 years agoFix PurgeDao for SQLServer - second attempt
Simon Brandhof [Tue, 14 Feb 2012 11:51:24 +0000 (12:51 +0100)]
Fix PurgeDao for SQLServer -  second attempt

12 years agoFix PurgeDao for SQLServer - first attempt
Simon Brandhof [Tue, 14 Feb 2012 11:33:28 +0000 (12:33 +0100)]
Fix PurgeDao for SQLServer -  first attempt

12 years agoFix PurgeDao for MySQL - new attempt
Simon Brandhof [Tue, 14 Feb 2012 11:03:39 +0000 (12:03 +0100)]
Fix PurgeDao for MySQL -  new attempt

12 years agoFix PurgeDao for MySQL - new attempt
Simon Brandhof [Tue, 14 Feb 2012 10:51:55 +0000 (11:51 +0100)]
Fix PurgeDao for MySQL -  new attempt

12 years agoSONAR-3258 Add feedback from Freddy
Fabrice Bellingard [Tue, 14 Feb 2012 10:01:58 +0000 (11:01 +0100)]
SONAR-3258 Add feedback from Freddy

12 years agoFix PurgeDao for MySQL
Simon Brandhof [Tue, 14 Feb 2012 09:48:35 +0000 (10:48 +0100)]
Fix PurgeDao for MySQL

12 years agoFix PurgeDaoTest
Simon Brandhof [Tue, 14 Feb 2012 08:57:30 +0000 (09:57 +0100)]
Fix PurgeDaoTest

12 years agoSONAR-3120 Resources associated to a module which has been removed from a multi-modul...
Simon Brandhof [Tue, 14 Feb 2012 06:30:34 +0000 (07:30 +0100)]
SONAR-3120 Resources associated to a module which has been removed from a multi-module project are never purged

12 years agoSONAR-3102 Fix issues on reviews when a user is deleted from the DB
Fabrice Bellingard [Mon, 13 Feb 2012 16:58:39 +0000 (17:58 +0100)]
SONAR-3102 Fix issues on reviews when a user is deleted from the DB

It was not possible to see or update a review which had been created/
assigned/commented by a deleted user.

=> A migration script cleans the DB and the constraint on review
   author is now removed

12 years ago SONAR-3258 Support added for external security systems
Fabrice Bellingard [Mon, 13 Feb 2012 15:44:22 +0000 (16:44 +0100)]
 SONAR-3258 Support added for external security systems

+ prevent deactivated user from logging

12 years agoRename ACTION_PLANS.DEAD_LINE to DEADLINE
Simon Brandhof [Mon, 13 Feb 2012 15:31:49 +0000 (16:31 +0100)]
Rename ACTION_PLANS.DEAD_LINE to DEADLINE

12 years agoSONAR-3263
Simon Brandhof [Mon, 13 Feb 2012 15:28:19 +0000 (16:28 +0100)]
SONAR-3263

12 years agoImprove rendering of rules configuration
simonbrandhof [Mon, 13 Feb 2012 15:06:34 +0000 (16:06 +0100)]
Improve rendering of rules configuration

12 years agoSONAR-3248 purge REVIEW_COMMENTS and ACTION_PLANS
simonbrandhof [Mon, 13 Feb 2012 15:04:24 +0000 (16:04 +0100)]
SONAR-3248 purge REVIEW_COMMENTS and ACTION_PLANS

This commit includes the new index on REVIEWS.RESOURCE_ID and the renaming of ACTION_PLANS.DEAD_LINE to DEADLINE

12 years agoImprove the stability of EmailNotificationChannelTest by using different SMTP ports
simonbrandhof [Mon, 13 Feb 2012 13:51:57 +0000 (14:51 +0100)]
Improve the stability of EmailNotificationChannelTest by using different SMTP ports

12 years agoConsistent sort of rule parameters during administration of quality profiles
simonbrandhof [Mon, 13 Feb 2012 10:45:47 +0000 (11:45 +0100)]
Consistent sort of rule parameters during administration of quality profiles

12 years agoImprove breadcrumb for drilldown pages
Evgeny Mandrikov [Mon, 13 Feb 2012 13:09:32 +0000 (17:09 +0400)]
Improve breadcrumb for drilldown pages

12 years ago SONAR-3258 Fix typo in Derby SQL file
Fabrice Bellingard [Mon, 13 Feb 2012 10:57:36 +0000 (11:57 +0100)]
 SONAR-3258 Fix typo in Derby SQL file

12 years agoSONAR-3258 No more delete users in the Sonar DB but deactivate them
Fabrice Bellingard [Mon, 13 Feb 2012 10:33:23 +0000 (11:33 +0100)]
SONAR-3258 No more delete users in the Sonar DB but deactivate them

- When creating a user, if the login already exists on a deactivated
  user, adapt the UI to ask if user should be reactivated or not

12 years agoRemove deprecated and unused code
Evgeny Mandrikov [Sun, 12 Feb 2012 16:44:41 +0000 (20:44 +0400)]
Remove deprecated and unused code

12 years agoSONAR-3258 No more delete users in the Sonar DB but deactivate them
Fabrice Bellingard [Fri, 10 Feb 2012 17:43:25 +0000 (18:43 +0100)]
SONAR-3258 No more delete users in the Sonar DB but deactivate them

- When deleting:
  - user is deactivated ('active' set to false)
  - its roles are deleted
  - its properties are deleted
  - its filters & active filters are deleted
  - its dashbaords & active dashboards are deleted
- Login is now not possible for deactivated users

12 years agoSONAR-1492 Apply the "bleu" color on actions links in admin section
Fabrice Bellingard [Fri, 10 Feb 2012 14:06:24 +0000 (15:06 +0100)]
SONAR-1492 Apply the "bleu" color on actions links in admin section

For more consistency.
This "link-action" style is used in places where the text is dense
(like rule descriptions in profile or tables) and where links must
be clearly visible.

12 years agoFix PurgeDaoTest
Simon Brandhof [Fri, 10 Feb 2012 12:36:33 +0000 (13:36 +0100)]
Fix PurgeDaoTest

12 years agoMinor improvement for readability of code
Evgeny Mandrikov [Fri, 10 Feb 2012 11:46:39 +0000 (15:46 +0400)]
Minor improvement for readability of code

12 years agoFix mybatis integration tests for SQLServer
Simon Brandhof [Fri, 10 Feb 2012 09:55:28 +0000 (10:55 +0100)]
Fix mybatis integration tests for SQLServer

dbunit column names are case sensitive on SQLServer

12 years agoFix mybatis integration tests for Oracle/SQLServer
Simon Brandhof [Fri, 10 Feb 2012 09:20:46 +0000 (10:20 +0100)]
Fix mybatis integration tests for Oracle/SQLServer

12 years agoSONAR-3209 Add new batch component - FileLinesContextFactory
Evgeny Mandrikov [Thu, 9 Feb 2012 17:11:53 +0000 (21:11 +0400)]
SONAR-3209 Add new batch component - FileLinesContextFactory

* As was discussed with Simon: better to have new beta class
  than new beta method.

* This also provides ability to use this factory from Decorator.

12 years agoSONAR-3014 Improve display of links not starting with 'http(s)'
Fabrice Bellingard [Thu, 9 Feb 2012 17:49:46 +0000 (18:49 +0100)]
SONAR-3014 Improve display of links not starting with 'http(s)'

Initial request:
=> The main project dashboard "Links" column provides a Developer
   Connection link that browsers do not support

12 years agoSONAR-3239 Depreciate the paragraph metrics
Fabrice Bellingard [Thu, 9 Feb 2012 16:36:09 +0000 (17:36 +0100)]
SONAR-3239 Depreciate the paragraph metrics

Namely:
- PARAGRAPHS
- PARAGRAPH_COMPLEXITY
- PARAGRAPH_COMPLEXITY_DISTRIBUTION

12 years agoSONAR-3210 Compute new measure for Java files - comments in file
Evgeny Mandrikov [Thu, 9 Feb 2012 15:37:22 +0000 (19:37 +0400)]
SONAR-3210 Compute new measure for Java files - comments in file

12 years agoIncrease code coverage + fix SQL pitfall
Fabrice Bellingard [Thu, 9 Feb 2012 16:04:26 +0000 (17:04 +0100)]
Increase code coverage + fix SQL pitfall

12 years agoSONAR-3209,SONAR-3210 Provide API to save and retrieve measures by line
Evgeny Mandrikov [Thu, 9 Feb 2012 13:23:05 +0000 (17:23 +0400)]
SONAR-3209,SONAR-3210 Provide API to save and retrieve measures by line

+ Use this API to save LoC in Java files

12 years agoSONAR-3253 Fix possible NPE in org.sonar.api.measures.Measure#setData(String)
Evgeny Mandrikov [Thu, 9 Feb 2012 10:05:08 +0000 (14:05 +0400)]
SONAR-3253 Fix possible NPE in org.sonar.api.measures.Measure#setData(String)

12 years agoSONAR-2124 Fix display bug
Fabrice Bellingard [Thu, 9 Feb 2012 10:02:47 +0000 (11:02 +0100)]
SONAR-2124 Fix display bug

12 years agoAdd the CSS class 'widget-#{widget.key}' to widget blocks
Simon Brandhof [Thu, 9 Feb 2012 09:05:47 +0000 (10:05 +0100)]
Add the CSS class 'widget-#{widget.key}' to widget blocks

12 years agoSONAR-3210 Compute new measure for Java files - LoC in file
Evgeny Mandrikov [Wed, 8 Feb 2012 20:07:24 +0000 (00:07 +0400)]
SONAR-3210 Compute new measure for Java files - LoC in file

12 years agoSONAR-2757 execute purges on all historical data after migration
Simon Brandhof [Wed, 8 Feb 2012 17:51:51 +0000 (18:51 +0100)]
SONAR-2757 execute purges on all historical data after migration

12 years agoSONAR-3246 Provide "zoom in/zoom out" feature in the Filter Treemap component
Simon Brandhof [Wed, 8 Feb 2012 17:39:10 +0000 (18:39 +0100)]
SONAR-3246 Provide "zoom in/zoom out" feature in the Filter Treemap component

* Major refactoring of javascript code for treemap navigation.
* Extract the execution of filters in a dedicated Ruby component : Filters.execute(filter)

12 years agoSONAR-2069 add description to the treemap widget
Simon Brandhof [Wed, 8 Feb 2012 17:35:13 +0000 (18:35 +0100)]
SONAR-2069 add description to the treemap widget

12 years agoSONAR-2061 do not keep historical data on the metric new_blocker_violations
Simon Brandhof [Wed, 8 Feb 2012 17:11:01 +0000 (18:11 +0100)]
SONAR-2061 do not keep historical data on the metric new_blocker_violations

12 years agoReduce number of static fields in CheckstyleSquidBridge
Evgeny Mandrikov [Wed, 8 Feb 2012 15:59:29 +0000 (19:59 +0400)]
Reduce number of static fields in CheckstyleSquidBridge

12 years agoModify HTML id to ease development of ITs
Fabrice Bellingard [Wed, 8 Feb 2012 15:34:40 +0000 (16:34 +0100)]
Modify HTML id to ease development of ITs

12 years agoFix JavaAstScanner
Evgeny Mandrikov [Wed, 8 Feb 2012 14:49:44 +0000 (18:49 +0400)]
Fix JavaAstScanner

It should close original stream instead of newly created
ByteArrayInputStream

12 years agoSONAR-2747 Improve description
Fabrice Bellingard [Wed, 8 Feb 2012 13:53:56 +0000 (14:53 +0100)]
SONAR-2747 Improve description

12 years agoSONAR-3247 Favourite Web Serivce base URL is incorrect
Fabrice Bellingard [Wed, 8 Feb 2012 13:13:30 +0000 (14:13 +0100)]
SONAR-3247 Favourite Web Serivce base URL is incorrect

12 years agoSONAR-2747 Update Javadoc
Fabrice Bellingard [Wed, 8 Feb 2012 09:48:40 +0000 (10:48 +0100)]
SONAR-2747 Update Javadoc

12 years agoSONAR-2747 Improve email message
Fabrice Bellingard [Wed, 8 Feb 2012 09:41:04 +0000 (10:41 +0100)]
SONAR-2747 Improve email message

12 years agoSONAR-2747 Verification is now done on period1
Fabrice Bellingard [Wed, 8 Feb 2012 09:15:56 +0000 (10:15 +0100)]
SONAR-2747 Verification is now done on period1

And not necessarily 'since last analysis' period.

12 years agoFix violations
Fabrice Bellingard [Wed, 8 Feb 2012 07:40:09 +0000 (08:40 +0100)]
Fix violations

12 years agoSONAR-2747 Fix bug if not enough PastSnapshots
Fabrice Bellingard [Wed, 8 Feb 2012 07:33:55 +0000 (08:33 +0100)]
SONAR-2747 Fix bug if not enough PastSnapshots

12 years agoSONAR-3212 Document format of conf/sonar.properties
Evgeny Mandrikov [Wed, 8 Feb 2012 07:16:31 +0000 (11:16 +0400)]
SONAR-3212 Document format of conf/sonar.properties

12 years agoFix indentation of XML file
Simon Brandhof [Tue, 7 Feb 2012 22:24:34 +0000 (23:24 +0100)]
Fix indentation of XML file

12 years agoSONAR-2756 Purge measures related to quality model requirements
Simon Brandhof [Tue, 7 Feb 2012 22:18:34 +0000 (23:18 +0100)]
SONAR-2756 Purge measures related to quality model requirements

12 years agoSONAR-2069 add missing property to l10n bundle
Simon Brandhof [Tue, 7 Feb 2012 18:21:51 +0000 (19:21 +0100)]
SONAR-2069 add missing property to l10n bundle

12 years agoSONAR-2754 change default value of sonar.dbcleaner.cleanDirectory
Simon Brandhof [Tue, 7 Feb 2012 18:12:13 +0000 (19:12 +0100)]
SONAR-2754 change default value of sonar.dbcleaner.cleanDirectory

12 years agoSONAR-2747 Fix bug with NPE when first analysis
Fabrice Bellingard [Tue, 7 Feb 2012 17:17:11 +0000 (18:17 +0100)]
SONAR-2747 Fix bug with NPE when first analysis

12 years agoFix some quality flaws
Evgeny Mandrikov [Tue, 7 Feb 2012 16:50:01 +0000 (20:50 +0400)]
Fix some quality flaws

12 years agoSONAR-2061 do not keep historical data of metrics prefixed by new_
Simon Brandhof [Tue, 7 Feb 2012 16:48:24 +0000 (17:48 +0100)]
SONAR-2061 do not keep historical data of metrics prefixed by new_

12 years agoSONAR-2124 Handle case when parent rule param has default empty value
Fabrice Bellingard [Tue, 7 Feb 2012 16:24:57 +0000 (17:24 +0100)]
SONAR-2124 Handle case when parent rule param has default empty value

12 years agoSONAR-2069 fix path to treemap widget + minor refactoring
Simon Brandhof [Tue, 7 Feb 2012 16:04:02 +0000 (17:04 +0100)]
SONAR-2069 fix path to treemap widget + minor refactoring

12 years agoSONAR-3245 Minimal version of Maven to build Sonar - 2.2.1
Evgeny Mandrikov [Tue, 7 Feb 2012 16:00:37 +0000 (20:00 +0400)]
SONAR-3245 Minimal version of Maven to build Sonar - 2.2.1

12 years agoSONAR-2747 Update email template for reviews
Fabrice Bellingard [Tue, 7 Feb 2012 15:34:04 +0000 (16:34 +0100)]
SONAR-2747 Update email template for reviews

Remove the unnecessary "--" line at the end of the mail, which makes
GMail hide the footer (as it considers this as a signature).

12 years agoSONAR-2747 Improve email rendering
Fabrice Bellingard [Tue, 7 Feb 2012 15:32:00 +0000 (16:32 +0100)]
SONAR-2747 Improve email rendering

12 years agoSONAR-2069 sanitize ruby code for treemap
Simon Brandhof [Tue, 7 Feb 2012 15:23:49 +0000 (16:23 +0100)]
SONAR-2069 sanitize ruby code for treemap

12 years agoSONAR-3231 Allow to use committer for measures drilldown
Evgeny Mandrikov [Tue, 7 Feb 2012 13:49:10 +0000 (17:49 +0400)]
SONAR-3231 Allow to use committer for measures drilldown

12 years agoSONAR-3088 Add some pages that keep the period info.
Fabrice Bellingard [Tue, 7 Feb 2012 13:48:53 +0000 (14:48 +0100)]
SONAR-3088 Add some pages that keep the period info.

12 years agoSONAR-3104 Improve rendering
Fabrice Bellingard [Tue, 7 Feb 2012 13:10:43 +0000 (14:10 +0100)]
SONAR-3104 Improve rendering

12 years agoSONAR-3091 Fix bug on Derby
Fabrice Bellingard [Tue, 7 Feb 2012 10:44:15 +0000 (11:44 +0100)]
SONAR-3091 Fix bug on Derby

12 years agoFix path to treemap erb template
simonbrandhof [Mon, 6 Feb 2012 23:20:52 +0000 (00:20 +0100)]
Fix path to treemap erb template

12 years agoRemove dead code in metric.rb
simonbrandhof [Mon, 6 Feb 2012 23:20:08 +0000 (00:20 +0100)]
Remove dead code in metric.rb

12 years agoDo not display the message "Logged in"
simonbrandhof [Mon, 6 Feb 2012 22:55:03 +0000 (23:55 +0100)]
Do not display the message "Logged in"

12 years agoSONAR-2132 redirect to original URI when user clicks on the link "Login"
simonbrandhof [Mon, 6 Feb 2012 22:48:35 +0000 (23:48 +0100)]
SONAR-2132 redirect to original URI when user clicks on the link "Login"

12 years agoSONAR-2069 refactor the filters page in order to use the new treemap
Simon Brandhof [Mon, 6 Feb 2012 18:46:58 +0000 (19:46 +0100)]
SONAR-2069 refactor the filters page in order to use the new treemap

12 years agoRevert "SONAR-3051 support POST, PUT and DELETE queries in GWT API."
Simon Brandhof [Mon, 6 Feb 2012 15:48:01 +0000 (16:48 +0100)]
Revert "SONAR-3051 support POST, PUT and DELETE queries in GWT API."

This reverts commit 808360559dc1349d59363fc89b468345e5a26fc9.

12 years agoSONAR-2069 New treemap widget
Simon Brandhof [Mon, 6 Feb 2012 15:46:54 +0000 (16:46 +0100)]
SONAR-2069 New treemap widget

12 years agoSONAR-3223 Err. in review search if result ties to a deleted resource
Fabrice Bellingard [Mon, 6 Feb 2012 17:04:39 +0000 (18:04 +0100)]
SONAR-3223 Err. in review search if result ties to a deleted resource

12 years agoSONAR-3242 Add pointer cursor on image
Fabrice Bellingard [Mon, 6 Feb 2012 15:49:54 +0000 (16:49 +0100)]
SONAR-3242 Add pointer cursor on image

+ improve some code

12 years agoSONAR-3241 Metric "Lines to cover" should not be hidden
Evgeny Mandrikov [Mon, 6 Feb 2012 15:35:23 +0000 (19:35 +0400)]
SONAR-3241 Metric "Lines to cover" should not be hidden

In consistence with metric "Uncovered lines".

12 years agoMerge remote branch 'upstream/master'
Fabrice Bellingard [Mon, 6 Feb 2012 15:30:10 +0000 (16:30 +0100)]
Merge remote branch 'upstream/master'

12 years agoSONAR-3242 The review buttons should not hide the violation title
Fabrice Bellingard [Mon, 6 Feb 2012 15:23:35 +0000 (16:23 +0100)]
SONAR-3242 The review buttons should not hide the violation title

12 years agoFix regression
Evgeny Mandrikov [Mon, 6 Feb 2012 12:59:31 +0000 (16:59 +0400)]
Fix regression

12 years agoFix some quality flaws
Simon Brandhof [Mon, 6 Feb 2012 12:44:20 +0000 (13:44 +0100)]
Fix some quality flaws

12 years agoFix some quality flaws
Evgeny Mandrikov [Mon, 6 Feb 2012 08:43:18 +0000 (12:43 +0400)]
Fix some quality flaws

12 years agoFix regression
Evgeny Mandrikov [Mon, 6 Feb 2012 12:59:31 +0000 (16:59 +0400)]
Fix regression

12 years agoFix some quality flaws
Simon Brandhof [Mon, 6 Feb 2012 12:44:20 +0000 (13:44 +0100)]
Fix some quality flaws

12 years agoFix some quality flaws
Evgeny Mandrikov [Mon, 6 Feb 2012 08:43:18 +0000 (12:43 +0400)]
Fix some quality flaws

12 years agoSONAR-1492 Improve rendering for rules in quality profiles
Fabrice Bellingard [Mon, 6 Feb 2012 11:10:03 +0000 (12:10 +0100)]
SONAR-1492 Improve rendering for rules in quality profiles

12 years agoSONAR-3231 Allow to associate measure with committer
Evgeny Mandrikov [Mon, 6 Feb 2012 07:52:07 +0000 (11:52 +0400)]
SONAR-3231 Allow to associate measure with committer

For now we should not show such measures in UI

12 years agoImprove documentation about core metrics
Evgeny Mandrikov [Sun, 5 Feb 2012 00:01:27 +0000 (04:01 +0400)]
Improve documentation about core metrics

12 years agoImprove documentation about core metrics
Evgeny Mandrikov [Sat, 4 Feb 2012 00:08:48 +0000 (04:08 +0400)]
Improve documentation about core metrics

12 years agoCleanup build log for sonar-duplications by redirecting test output to file
Evgeny Mandrikov [Fri, 3 Feb 2012 22:00:55 +0000 (02:00 +0400)]
Cleanup build log for sonar-duplications by redirecting test output to file

12 years agoFix some quality flaws
Evgeny Mandrikov [Fri, 3 Feb 2012 12:14:58 +0000 (16:14 +0400)]
Fix some quality flaws

12 years agoSonar API - Try to improve documentation of notifications
Fabrice Bellingard [Fri, 3 Feb 2012 17:30:22 +0000 (18:30 +0100)]
Sonar API - Try to improve documentation of notifications

12 years agoSONAR-3235 Make the numbers non breakable on the hotspot widgets
Fabrice Bellingard [Fri, 3 Feb 2012 16:44:44 +0000 (17:44 +0100)]
SONAR-3235 Make the numbers non breakable on the hotspot widgets

12 years agoSONAR-2747 Send email when new violations appear on favourite project
Fabrice Bellingard [Fri, 3 Feb 2012 16:09:26 +0000 (17:09 +0100)]
SONAR-2747 Send email when new violations appear on favourite project

The email is sent only if:
  * the user has set the project as a favourite
  * this is a "last analysis" (= no 'sonar.projectDate' specified)
  * 'since last analysis' period was not removed in the admin page
  * there are new violations (obviously...)