]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
12 years agoSONAR-3287 Update UI to adapt labels to deletable resource
Fabrice Bellingard [Thu, 29 Mar 2012 17:19:08 +0000 (19:19 +0200)]
SONAR-3287 Update UI to adapt labels to deletable resource

=> Make it possible to delete a View or a Developer (resources and
   snapshots) through the Sonar UI

12 years agoSONAR-3287 Add properties on ResourceType and use them in Ruby
Fabrice Bellingard [Thu, 29 Mar 2012 14:49:40 +0000 (16:49 +0200)]
SONAR-3287 Add properties on ResourceType and use them in Ruby

=> To be able to tell, for instance, that a resource is "deletable"
   and so to display the "Deletion" link accordingly.

12 years agoSONAR-3372 'delete' action should be available even on first comment
Fabrice Bellingard [Thu, 29 Mar 2012 12:23:02 +0000 (14:23 +0200)]
SONAR-3372 'delete' action should be available even on first comment

=> The 'delete' comment action is not available in the review page
   whereas this action should be available on the last comment for
   the author of the comment.

12 years agoSONAR-3114 Fix layout positionning on Chrome
Fabrice Bellingard [Thu, 29 Mar 2012 11:57:38 +0000 (13:57 +0200)]
SONAR-3114 Fix layout positionning on Chrome

12 years agoSONAR-2197 Display Coverage tab only if coverage/it-coverage measures
Fabrice Bellingard [Thu, 29 Mar 2012 09:17:33 +0000 (11:17 +0200)]
SONAR-2197 Display Coverage tab only if coverage/it-coverage measures

12 years agoSONAR-3323 Fix bug when project has measures of removed plugin
Fabrice Bellingard [Thu, 29 Mar 2012 09:14:24 +0000 (11:14 +0200)]
SONAR-3323 Fix bug when project has measures of removed plugin

=> In this case, we get nil elements in the @metrics field, and
   this create a bug in #measures_hash method when calling #name
   on the elements of that array.

12 years agoSONAR-3359 Set default description for existing manual rules
Fabrice Bellingard [Thu, 29 Mar 2012 07:20:37 +0000 (09:20 +0200)]
SONAR-3359 Set default description for existing manual rules

=> Only for existing manual rules created on the fly.

12 years agoSONAR-3359 Default description for manual rules created on the fly
Fabrice Bellingard [Wed, 28 Mar 2012 17:19:36 +0000 (19:19 +0200)]
SONAR-3359 Default description for manual rules created on the fly

=> To encourage people to set a real description and not leave it
   blank.

12 years agoFix violations
Fabrice Bellingard [Wed, 28 Mar 2012 12:13:17 +0000 (14:13 +0200)]
Fix violations

12 years agoFix AuthorMapper
Evgeny Mandrikov [Thu, 29 Mar 2012 06:59:09 +0000 (12:59 +0600)]
Fix AuthorMapper

12 years agoFix some quality flaws
Evgeny Mandrikov [Thu, 29 Mar 2012 04:54:40 +0000 (10:54 +0600)]
Fix some quality flaws

12 years agoAdd activerecord model for AUTHORS
Simon Brandhof [Wed, 28 Mar 2012 12:01:13 +0000 (14:01 +0200)]
Add activerecord model for AUTHORS

12 years agoMerge branch 'current'
Fabrice Bellingard [Wed, 28 Mar 2012 08:43:30 +0000 (10:43 +0200)]
Merge branch 'current'

12 years agoSONAR-3359 Do nor create a rule without a description in the Web UI
Fabrice Bellingard [Wed, 28 Mar 2012 08:40:33 +0000 (10:40 +0200)]
SONAR-3359 Do nor create a rule without a description in the Web UI

12 years agoEnforce that parameters are non null by default in sonar-jacoco-plugin and sonar...
Evgeny Mandrikov [Wed, 28 Mar 2012 05:21:53 +0000 (11:21 +0600)]
Enforce that parameters are non null by default in sonar-jacoco-plugin and sonar-pmd-plugin

12 years agoFix some quality flaws
Evgeny Mandrikov [Wed, 28 Mar 2012 05:02:36 +0000 (11:02 +0600)]
Fix some quality flaws

12 years agoSONAR-1569 Case sensitive sorting of components on the Dependencies page
Simon Brandhof [Tue, 27 Mar 2012 20:25:04 +0000 (22:25 +0200)]
SONAR-1569 Case sensitive sorting of components on the Dependencies page

12 years agoCase-insensitive sort of names in the page "Components"
Simon Brandhof [Tue, 27 Mar 2012 20:19:50 +0000 (22:19 +0200)]
Case-insensitive sort of names in the page "Components"

12 years agoSONAR-3114 Open resource links on the "dependencies" tab
Fabrice Bellingard [Tue, 27 Mar 2012 17:24:58 +0000 (19:24 +0200)]
SONAR-3114 Open resource links on the "dependencies" tab

12 years agoCSS : vertical alignment of cells in class .table
Simon Brandhof [Tue, 27 Mar 2012 17:19:52 +0000 (19:19 +0200)]
CSS : vertical alignment of cells in class .table

12 years agoAdd activerecord relation between PROJECTS and AUTHORS
Simon Brandhof [Tue, 27 Mar 2012 17:19:27 +0000 (19:19 +0200)]
Add activerecord relation between PROJECTS and AUTHORS

12 years agoSONAR-3114 Set the tab ID to its previous value ('dependencies')
Fabrice Bellingard [Tue, 27 Mar 2012 17:13:47 +0000 (19:13 +0200)]
SONAR-3114 Set the tab ID to its previous value ('dependencies')

12 years agoSONAR-3114 Refactor the "Dependencies" tab (GWT -> Ruby)
Fabrice Bellingard [Tue, 27 Mar 2012 13:40:24 +0000 (15:40 +0200)]
SONAR-3114 Refactor the "Dependencies" tab (GWT -> Ruby)

12 years agoCase-insensitive sort of manual rules in administration console
Simon Brandhof [Tue, 27 Mar 2012 13:01:44 +0000 (15:01 +0200)]
Case-insensitive sort of manual rules in administration console

12 years agoSONAR-3106 Error trying to configure group privileges for a project
Simon Brandhof [Tue, 27 Mar 2012 13:01:13 +0000 (15:01 +0200)]
SONAR-3106 Error trying to configure group privileges for a project

12 years agoAdd ruby methods Api::Utils#insensitive_sort(arr) and Api::Utils#insensitive_sort...
Simon Brandhof [Tue, 27 Mar 2012 12:58:09 +0000 (14:58 +0200)]
Add ruby methods Api::Utils#insensitive_sort(arr) and Api::Utils#insensitive_sort!(arr)

12 years agoSONAR-3323 rename @RequiredMeasures attributes to allOf and anyOf
Simon Brandhof [Tue, 27 Mar 2012 12:54:50 +0000 (14:54 +0200)]
SONAR-3323 rename @RequiredMeasures attributes to allOf and anyOf

12 years agoSONAR-3323 slight improvements of snapshot#metric_keys
Simon Brandhof [Tue, 27 Mar 2012 11:39:25 +0000 (13:39 +0200)]
SONAR-3323 slight improvements of snapshot#metric_keys

12 years agoImprove logging of exception during server-side picocontainer startup
Simon Brandhof [Tue, 27 Mar 2012 11:33:44 +0000 (13:33 +0200)]
Improve logging of exception during server-side picocontainer startup

12 years agoAdd MyBatis stuff for table AUTHORS
Evgeny Mandrikov [Tue, 27 Mar 2012 11:26:17 +0000 (17:26 +0600)]
Add MyBatis stuff for table AUTHORS

12 years agoSONAR-3357 Improve the "Violations" widget
Fabrice Bellingard [Tue, 27 Mar 2012 08:54:49 +0000 (10:54 +0200)]
SONAR-3357 Improve the "Violations" widget

- replace "On new code" label by "Added"
- replace "On old code" label by "Removed"

12 years agoRefactor the table AUTHORS
Simon Brandhof [Tue, 27 Mar 2012 08:40:38 +0000 (10:40 +0200)]
Refactor the table AUTHORS

* add primary key
* rename the column COMMITTER to LOGIN

12 years agoImprove message when database must be upgraded
Simon Brandhof [Mon, 26 Mar 2012 08:57:03 +0000 (10:57 +0200)]
Improve message when database must be upgraded

12 years agoSONAR-3354 Display empty table instead of message if no measures
Fabrice Bellingard [Tue, 27 Mar 2012 08:34:42 +0000 (10:34 +0200)]
SONAR-3354 Display empty table instead of message if no measures

12 years agoFix violations
Fabrice Bellingard [Tue, 27 Mar 2012 07:37:20 +0000 (09:37 +0200)]
Fix violations

12 years agoImprove DB readme file.
Fabrice Bellingard [Tue, 27 Mar 2012 07:36:25 +0000 (09:36 +0200)]
Improve DB readme file.

12 years agoSONAR-3295 sonar.jacoco.excludes must exclude classes from coverage report
Evgeny Mandrikov [Mon, 26 Mar 2012 19:27:05 +0000 (01:27 +0600)]
SONAR-3295 sonar.jacoco.excludes must exclude classes from coverage report

12 years agoSONAR-3346 Add property "sonar.pmd.generateXml"
Evgeny Mandrikov [Mon, 26 Mar 2012 18:54:42 +0000 (00:54 +0600)]
SONAR-3346 Add property "sonar.pmd.generateXml"

12 years agoSONAR-3352 Change boolean columns to non-nullable in migration script
Fabrice Bellingard [Mon, 26 Mar 2012 16:56:38 +0000 (18:56 +0200)]
SONAR-3352 Change boolean columns to non-nullable in migration script

12 years agoSONAR-3352 Fix issue linked to nullable boolean columns
Fabrice Bellingard [Mon, 26 Mar 2012 15:47:26 +0000 (17:47 +0200)]
SONAR-3352 Fix issue linked to nullable boolean columns

12 years agoSONAR-3346 Consume violations directly from PMD - no need to parse XML
Evgeny Mandrikov [Mon, 26 Mar 2012 05:48:13 +0000 (11:48 +0600)]
SONAR-3346 Consume violations directly from PMD - no need to parse XML

12 years agoSONAR-3347 Limit time of analysis of single file for bridge between PMD and Sonar CPD
Evgeny Mandrikov [Mon, 26 Mar 2012 06:18:44 +0000 (12:18 +0600)]
SONAR-3347 Limit time of analysis of single file for bridge between PMD and Sonar CPD

12 years agoSONAR-3031 Add logging for exceptions from Checkstyle
Evgeny Mandrikov [Fri, 23 Mar 2012 06:26:26 +0000 (12:26 +0600)]
SONAR-3031 Add logging for exceptions from Checkstyle

12 years agoSONAR-3032 Add parameter suppressLoadErrors to Checkstyle rules RedundantThrows and...
Evgeny Mandrikov [Sun, 25 Mar 2012 18:56:36 +0000 (00:56 +0600)]
SONAR-3032 Add parameter suppressLoadErrors to Checkstyle rules RedundantThrows and JavadocMethod

12 years agoSONAR-3295 sonar.jacoco.excludes must exclude classes from coverage report
Evgeny Mandrikov [Sat, 24 Mar 2012 21:00:37 +0000 (03:00 +0600)]
SONAR-3295 sonar.jacoco.excludes must exclude classes from coverage report

12 years agoSONAR-3354 Display an explicit message if no measure is available
Fabrice Bellingard [Fri, 23 Mar 2012 15:41:26 +0000 (16:41 +0100)]
SONAR-3354 Display an explicit message if no measure is available

12 years agoSONAR-3353 TimeMachine widget not correctly displayed
Fabrice Bellingard [Fri, 23 Mar 2012 15:22:16 +0000 (16:22 +0100)]
SONAR-3353 TimeMachine widget not correctly displayed

This happens if for all the metrics that must be displayed, each one
of them has only 1 snapshot with a non-null value. In this case, the
sparkline can't be displayed, so there's a layout problem in the
<table> element.

12 years agoSONAR-2197 Be able to display Design/Libraries tab for any languages
Fabrice Bellingard [Fri, 23 Mar 2012 11:42:22 +0000 (12:42 +0100)]
SONAR-2197 Be able to display Design/Libraries tab for any languages

Also modified to be displayed only when required measures are
available:
- the Dependencies tab
- the LCOM4 tab

12 years agoFix violations
Fabrice Bellingard [Fri, 23 Mar 2012 06:50:21 +0000 (07:50 +0100)]
Fix violations

12 years agoFix some quality flaws
Simon Brandhof [Fri, 23 Mar 2012 06:40:31 +0000 (07:40 +0100)]
Fix some quality flaws

12 years agoAdd some HTML ids for integration tests
Simon Brandhof [Thu, 22 Mar 2012 23:12:18 +0000 (00:12 +0100)]
Add some HTML ids for integration tests

12 years agoSONAR-3224 update javadoc
Simon Brandhof [Thu, 22 Mar 2012 18:58:40 +0000 (19:58 +0100)]
SONAR-3224 update javadoc

12 years agoFix some quality flaws
Evgeny Mandrikov [Thu, 22 Mar 2012 18:33:41 +0000 (22:33 +0400)]
Fix some quality flaws

12 years agoEnforce that parameters are non null by default in sonar-checkstyle-plugin
Evgeny Mandrikov [Thu, 22 Mar 2012 18:27:10 +0000 (22:27 +0400)]
Enforce that parameters are non null by default in sonar-checkstyle-plugin

12 years agoSONAR-3224 remove the need for server restart
Simon Brandhof [Thu, 22 Mar 2012 18:30:15 +0000 (19:30 +0100)]
SONAR-3224 remove the need for server restart

12 years agoSONAR-3224 API: support Ruby on Rails applications
Simon Brandhof [Thu, 22 Mar 2012 15:49:01 +0000 (16:49 +0100)]
SONAR-3224 API: support Ruby on Rails applications

12 years agoSONAR-3323 Display tab/page/widget only when required measures exist
Fabrice Bellingard [Thu, 22 Mar 2012 13:44:11 +0000 (14:44 +0100)]
SONAR-3323 Display tab/page/widget only when required measures exist

=> new annotation @RequiredMeasure(mandatory={}, oneOf={}) that can
   be applied on any views.
   Tested on pages, tabs and widgets

12 years agoFix backward-compatibility of /api/properties
Simon Brandhof [Thu, 22 Mar 2012 13:14:33 +0000 (14:14 +0100)]
Fix backward-compatibility of /api/properties

Keep status 200 when property not found

12 years agoSONAR-3343 Improve AnnotationRuleParser for better consistency
Fabrice Bellingard [Wed, 21 Mar 2012 13:43:43 +0000 (14:43 +0100)]
SONAR-3343 Improve AnnotationRuleParser for better consistency

When a rule is annotated, its name and its description fields
should be saved as NULL if they are not not provided.

12 years agoSONAR-2977 Stop Sonar if more than 1 default profile for a language
Fabrice Bellingard [Wed, 21 Mar 2012 09:43:28 +0000 (10:43 +0100)]
SONAR-2977 Stop Sonar if more than 1 default profile for a language

12 years agoSONAR-2977 Fix issue when new profile added and set to default
Fabrice Bellingard [Wed, 21 Mar 2012 09:21:08 +0000 (10:21 +0100)]
SONAR-2977 Fix issue when new profile added and set to default

If in a new version, a plugin adds a new profile and sets this one as
the default profile, then the language gets 2 defaults profiles.
=> Fixed.

12 years agoSONAR-2084 missing whitespace
Simon Brandhof [Wed, 21 Mar 2012 12:29:08 +0000 (13:29 +0100)]
SONAR-2084 missing whitespace

12 years agoSONAR-3289 Mark metric 'class_complexity_distribution' as deprecated
Evgeny Mandrikov [Wed, 21 Mar 2012 06:25:43 +0000 (10:25 +0400)]
SONAR-3289 Mark metric 'class_complexity_distribution' as deprecated

12 years agoRemove calendar.css from dev mode
Simon Brandhof [Tue, 20 Mar 2012 23:25:42 +0000 (00:25 +0100)]
Remove calendar.css from dev mode

12 years agoSONAR-3328 Measure drilldown should not display zero variations
Simon Brandhof [Tue, 20 Mar 2012 22:56:29 +0000 (23:56 +0100)]
SONAR-3328 Measure drilldown should not display zero variations

12 years agoSONAR-3229 PMD fails when inspecting Java files suffixed with .jav
Simon Brandhof [Tue, 20 Mar 2012 22:56:08 +0000 (23:56 +0100)]
SONAR-3229 PMD fails when inspecting Java files suffixed with .jav

12 years agoRemove some classes of org.sonar.check that are deprecated since 2.3
Simon Brandhof [Tue, 20 Mar 2012 22:22:22 +0000 (23:22 +0100)]
Remove some classes of org.sonar.check that are deprecated since 2.3

12 years agoSONAR-2900 The AnnotationCheckFactory should accept check objects and not only check...
Simon Brandhof [Tue, 20 Mar 2012 22:19:01 +0000 (23:19 +0100)]
SONAR-2900 The AnnotationCheckFactory should accept check objects and not only check classes

12 years agoSONAR-3344 Display metadata of SonarSource licenses
Simon Brandhof [Tue, 20 Mar 2012 21:46:03 +0000 (22:46 +0100)]
SONAR-3344 Display metadata of SonarSource licenses

12 years agoAPI: add the methods DateUtils#parseDateQuietly(String) and parseDateTimeQuietly...
Simon Brandhof [Tue, 20 Mar 2012 21:40:25 +0000 (22:40 +0100)]
API: add the methods DateUtils#parseDateQuietly(String) and parseDateTimeQuietly(String)

12 years agoSONAR-3289 Mark metric 'class_complexity_distribution' as deprecated
Evgeny Mandrikov [Tue, 20 Mar 2012 17:32:58 +0000 (21:32 +0400)]
SONAR-3289 Mark metric 'class_complexity_distribution' as deprecated

12 years agoSONAR-3006 Remove ChartsControler and related code
Fabrice Bellingard [Tue, 20 Mar 2012 16:52:36 +0000 (17:52 +0100)]
SONAR-3006 Remove ChartsControler and related code

This is useless now the TimeMachine service has been replaced.

12 years agoSONAR-3006 Remove the old TimeMachine page & all related code
Fabrice Bellingard [Tue, 20 Mar 2012 16:28:43 +0000 (17:28 +0100)]
SONAR-3006 Remove the old TimeMachine page & all related code

12 years agoSONAR-2084 open documentation in a new tab
Simon Brandhof [Tue, 20 Mar 2012 16:11:36 +0000 (17:11 +0100)]
SONAR-2084 open documentation in a new tab

12 years agoSONAR-2084 improve usability
Simon Brandhof [Tue, 20 Mar 2012 16:05:46 +0000 (17:05 +0100)]
SONAR-2084 improve usability

12 years agoSONAR-2084 fix some quality flaws
Simon Brandhof [Tue, 20 Mar 2012 15:16:15 +0000 (16:16 +0100)]
SONAR-2084 fix some quality flaws

12 years agoSONAR-2084 fix the key of the property sonar.secretKeyPath
Simon Brandhof [Tue, 20 Mar 2012 14:47:40 +0000 (15:47 +0100)]
SONAR-2084 fix the key of the property sonar.secretKeyPath

12 years agoSONAR-2084 focus on the clear text input when loading the administration console
Simon Brandhof [Tue, 20 Mar 2012 14:21:44 +0000 (15:21 +0100)]
SONAR-2084 focus on the clear text input when loading the administration console

12 years agoSONAR-3283 Do not allow to search reviews by author/assignee ID
Fabrice Bellingard [Tue, 20 Mar 2012 11:23:57 +0000 (12:23 +0100)]
SONAR-3283 Do not allow to search reviews by author/assignee ID

12 years agoSONAR-3278 Fix some rendering issues
Fabrice Bellingard [Tue, 20 Mar 2012 10:25:42 +0000 (11:25 +0100)]
SONAR-3278 Fix some rendering issues

And do not display permalink icon for reviews (as the URL is already
a permalink).

12 years agoSONAR-3289 On java projects compute complexity distribution by file
Evgeny Mandrikov [Tue, 20 Mar 2012 06:40:13 +0000 (10:40 +0400)]
SONAR-3289 On java projects compute complexity distribution by file

And do not compute complexity distribution by class.

12 years agoAdd some Javadocs
Evgeny Mandrikov [Fri, 16 Mar 2012 13:09:32 +0000 (17:09 +0400)]
Add some Javadocs

12 years agoSONAR-3072 Fix wrong refactoring of ViolationTrackingDecorator
Evgeny Mandrikov [Mon, 19 Mar 2012 19:24:19 +0000 (23:24 +0400)]
SONAR-3072 Fix wrong refactoring of ViolationTrackingDecorator

12 years agoMerge remote-tracking branch 'origin/master'
Simon Brandhof [Mon, 19 Mar 2012 15:17:57 +0000 (16:17 +0100)]
Merge remote-tracking branch 'origin/master'

12 years agoFix POST /api/properties on embedded database
Simon Brandhof [Mon, 19 Mar 2012 15:17:46 +0000 (16:17 +0100)]
Fix POST /api/properties on embedded database

12 years agoSONAR-1700 Some links to the projects end up in new session
Fabrice Bellingard [Mon, 19 Mar 2012 13:13:00 +0000 (14:13 +0100)]
SONAR-1700 Some links to the projects end up in new session

12 years agoSONAR-2977 Setting a profile to default via the API doesn't work
Fabrice Bellingard [Mon, 19 Mar 2012 10:30:55 +0000 (11:30 +0100)]
SONAR-2977 Setting a profile to default via the API doesn't work

12 years agoSONAR-2721 Display number of "projects" in "Size" widget
Evgeny Mandrikov [Mon, 19 Mar 2012 05:45:15 +0000 (09:45 +0400)]
SONAR-2721 Display number of "projects" in "Size" widget

Thus add new metric - 'projects'.

12 years agoReformat code for some core widgets
Evgeny Mandrikov [Mon, 19 Mar 2012 05:36:05 +0000 (09:36 +0400)]
Reformat code for some core widgets

* Replace tabs by spaces
* Align blocks

12 years agoRevert "SONAR-2977 Setting a profile to default via the API doesn't work"
Fabrice Bellingard [Mon, 19 Mar 2012 06:19:49 +0000 (07:19 +0100)]
Revert "SONAR-2977 Setting a profile to default via the API doesn't work"

This reverts commit 43012d7d54f1a0bdff26c4cc4f656ea8e4e1b93d.

12 years agoSONAR-1378 validate type when creating/updating properties with the web service ...
Simon Brandhof [Sun, 18 Mar 2012 19:53:14 +0000 (20:53 +0100)]
SONAR-1378 validate type when creating/updating properties with the web service /api/properties

12 years agoSONAR-2977 Setting a profile to default via the API doesn't work
Fabrice Bellingard [Fri, 16 Mar 2012 18:02:48 +0000 (19:02 +0100)]
SONAR-2977 Setting a profile to default via the API doesn't work

12 years agoSONAR-1378 auto-detect password properties that are suffixed by .password.secured
Simon Brandhof [Fri, 16 Mar 2012 14:00:55 +0000 (15:00 +0100)]
SONAR-1378 auto-detect password properties that are suffixed by .password.secured

12 years agoSONAR-3072 Restore behaviour of tracking of violations when importSources=false
Evgeny Mandrikov [Fri, 16 Mar 2012 13:09:22 +0000 (17:09 +0400)]
SONAR-3072 Restore behaviour of tracking of violations when importSources=false

12 years agoMinor - remove useless ; in enum
Simon Brandhof [Fri, 16 Mar 2012 10:47:23 +0000 (11:47 +0100)]
Minor - remove useless ; in enum

12 years agoSONAR-1378 validate property types + update type of core properties
Simon Brandhof [Fri, 16 Mar 2012 10:46:48 +0000 (11:46 +0100)]
SONAR-1378 validate property types + update type of core properties

12 years agoSONAR-3277 Improve HTML rendering
Fabrice Bellingard [Thu, 15 Mar 2012 18:37:54 +0000 (19:37 +0100)]
SONAR-3277 Improve HTML rendering

12 years agoAdd missing license headers
Evgeny Mandrikov [Thu, 15 Mar 2012 18:29:50 +0000 (22:29 +0400)]
Add missing license headers

12 years agoSONAR-3072 sonar-diff module is useless for the moment, so remove it
Evgeny Mandrikov [Thu, 15 Mar 2012 17:44:29 +0000 (21:44 +0400)]
SONAR-3072 sonar-diff module is useless for the moment, so remove it

Move all code directly into sonar-core-plugin.

12 years agoSONAR-3319 Extract code used for backward compatibility into a method
Fabrice Bellingard [Thu, 15 Mar 2012 11:19:32 +0000 (12:19 +0100)]
SONAR-3319 Extract code used for backward compatibility into a method