]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
13 years agoImprove the web services 'violations' and 'reviews'
simonbrandhof [Thu, 5 May 2011 15:19:26 +0000 (17:19 +0200)]
Improve the web services 'violations' and 'reviews'

SONAR-2249 always use unix newline (LF) in violation messages
SONAR-2382 always use unix newlines (LF) in review comments (plain output)
SONAR-2382 use upper-case constants for output parameter
SONAR-2382 replace the XML node <user> by <author>

13 years agoExclude samples from analysis
simonbrandhof [Thu, 5 May 2011 15:12:30 +0000 (17:12 +0200)]
Exclude samples from analysis

13 years agoRename the class MarkdownEngine to Markdown
simonbrandhof [Thu, 5 May 2011 13:19:52 +0000 (15:19 +0200)]
Rename the class MarkdownEngine to Markdown

13 years agoMerge remote branch 'upstream/master'
Fabrice Bellingard [Thu, 5 May 2011 13:10:57 +0000 (15:10 +0200)]
Merge remote branch 'upstream/master'

13 years agoSONAR-2381 Fix error in Review WS client
Fabrice Bellingard [Thu, 5 May 2011 13:09:34 +0000 (15:09 +0200)]
SONAR-2381 Fix error in Review WS client

13 years agoReduce technical debt
simonbrandhof [Thu, 5 May 2011 13:08:04 +0000 (15:08 +0200)]
Reduce technical debt

13 years agoDelete unused GWT classes
simonbrandhof [Thu, 5 May 2011 12:23:05 +0000 (14:23 +0200)]
Delete unused GWT classes

13 years agoRemove some dead code
simonbrandhof [Thu, 5 May 2011 11:59:17 +0000 (13:59 +0200)]
Remove some dead code

13 years agoSONAR-2357 Add samples to build + improve samples for rules
simonbrandhof [Thu, 5 May 2011 11:53:52 +0000 (13:53 +0200)]
SONAR-2357 Add samples to build + improve samples for rules

13 years agoEdited samples/README.txt via GitHub
Simon Brandhof [Thu, 5 May 2011 10:28:27 +0000 (03:28 -0700)]
Edited samples/README.txt via GitHub

13 years agoSONAR-2357 Add sample of PMD extensions
simonbrandhof [Thu, 5 May 2011 10:25:41 +0000 (12:25 +0200)]
SONAR-2357 Add sample of PMD extensions

13 years agoFix ruby warning on deprecated i18n label
simonbrandhof [Thu, 5 May 2011 08:59:57 +0000 (10:59 +0200)]
Fix ruby warning on deprecated i18n label

13 years agoSONAR-2357 add a sample for Checkstyle extensions
simonbrandhof [Wed, 4 May 2011 20:57:28 +0000 (22:57 +0200)]
SONAR-2357 add a sample for Checkstyle extensions

13 years agoSONAR-2357 Improve samples of plugins
simonbrandhof [Wed, 4 May 2011 19:59:23 +0000 (21:59 +0200)]
SONAR-2357 Improve samples of plugins

13 years agoReduce duplication by moving part of configuration of maven-assembly-plugin to parent POM
Evgeny Mandrikov [Wed, 4 May 2011 20:14:41 +0000 (00:14 +0400)]
Reduce duplication by moving part of configuration of maven-assembly-plugin to parent POM

13 years agoImprove plugin samples
simonbrandhof [Wed, 4 May 2011 15:52:38 +0000 (17:52 +0200)]
Improve plugin samples

13 years agoRemove the switch button of comparison of Q profiles
simonbrandhof [Wed, 4 May 2011 15:44:49 +0000 (17:44 +0200)]
Remove the switch button of comparison of Q profiles

13 years agoSONAR-2371 Add Javadoc for Tests metric
Evgeny Mandrikov [Wed, 4 May 2011 13:26:22 +0000 (17:26 +0400)]
SONAR-2371 Add Javadoc for Tests metric

13 years agoSONAR-2371 Rework UnitTestDecorator and SurefireSensor
Evgeny Mandrikov [Tue, 3 May 2011 21:47:38 +0000 (01:47 +0400)]
SONAR-2371 Rework UnitTestDecorator and SurefireSensor

* UnitTestDecorator should not save zero value for tests metric

* SurefireSensor should save zero when no reports and project do not
  contain any modules

13 years agoSONAR-2381, SONAR-2382 Web services return comment in HTML by default
Fabrice Bellingard [Wed, 4 May 2011 14:53:02 +0000 (16:53 +0200)]
SONAR-2381, SONAR-2382 Web services return comment in HTML by default

Available for the Violation and Review WS:
- parameter 'output' on the request
- if set to 'html', comments are returned in HTML
- otherwise comments are returned as raw text
- Java WS client updated consequently

13 years agoSONAR-2301 ClassComplexityCheck NullPointerException
simonbrandhof [Wed, 4 May 2011 14:27:41 +0000 (16:27 +0200)]
SONAR-2301 ClassComplexityCheck NullPointerException

13 years agoSONAR-2409 Remove ability to use deprecated property 'branch'
Evgeny Mandrikov [Wed, 4 May 2011 11:50:46 +0000 (15:50 +0400)]
SONAR-2409 Remove ability to use deprecated property 'branch'

13 years agoSONAR-2249 Display Violation message with new lines in web
simonbrandhof [Wed, 4 May 2011 09:17:02 +0000 (11:17 +0200)]
SONAR-2249 Display Violation message with new lines in web

New method Api::Utils.split_newlines(input) in order to split a string by newlines, whatever the encoding of return carriage.

13 years agoRemove unused ruby code
simonbrandhof [Wed, 4 May 2011 09:16:38 +0000 (11:16 +0200)]
Remove unused ruby code

13 years agoSONAR-2346 Failing with Current container state was: CONSTRUCTED
simonbrandhof [Wed, 4 May 2011 09:15:20 +0000 (11:15 +0200)]
SONAR-2346 Failing with Current container state was: CONSTRUCTED

13 years agoSONAR-1973 Remove the '#' from the review IDs in the UI
Fabrice Bellingard [Wed, 4 May 2011 08:50:20 +0000 (10:50 +0200)]
SONAR-1973 Remove the '#' from the review IDs in the UI

13 years agoPrepare for next development iteration
Evgeny Mandrikov [Tue, 3 May 2011 10:28:12 +0000 (14:28 +0400)]
Prepare for next development iteration

13 years agoPrepare 2.8-RC1
Evgeny Mandrikov [Tue, 3 May 2011 10:26:25 +0000 (14:26 +0400)]
Prepare 2.8-RC1

13 years agoSONAR-2275 Remove Checkstyle "Design For Extension" rule from "Sun checks" profile
Evgeny Mandrikov [Mon, 2 May 2011 13:39:37 +0000 (17:39 +0400)]
SONAR-2275 Remove Checkstyle "Design For Extension" rule from "Sun checks" profile

13 years agoSONAR-2327 Fix problem with Derby for SQL request
Fabrice Bellingard [Mon, 2 May 2011 12:19:24 +0000 (14:19 +0200)]
SONAR-2327 Fix problem with Derby for SQL request

13 years agoSONAR-1973, SONAR-2327 Fix minor UI issues
Fabrice Bellingard [Mon, 2 May 2011 12:00:59 +0000 (14:00 +0200)]
SONAR-1973, SONAR-2327 Fix minor UI issues

13 years agoSONAR-2176 Default value for rule parameter should be updated in database if was...
Evgeny Mandrikov [Fri, 29 Apr 2011 10:25:24 +0000 (14:25 +0400)]
SONAR-2176 Default value for rule parameter should be updated in database if was updated in repository

13 years agoSONAR-2327 Fix a problem on the permalink page
Fabrice Bellingard [Fri, 29 Apr 2011 14:33:51 +0000 (16:33 +0200)]
SONAR-2327 Fix a problem on the permalink page

13 years agoSONAR-2327, SONAR-1973 Improve security checks
Fabrice Bellingard [Fri, 29 Apr 2011 13:54:13 +0000 (15:54 +0200)]
SONAR-2327, SONAR-1973 Improve security checks

13 years agoSONAR-2327, SONAR-2382 Add security checks
Fabrice Bellingard [Fri, 29 Apr 2011 13:36:35 +0000 (15:36 +0200)]
SONAR-2327, SONAR-2382 Add security checks

13 years agodeprecate methods parse_datetime and format_datetime of Api::ApiController
simonbrandhof [Fri, 29 Apr 2011 13:18:22 +0000 (15:18 +0200)]
deprecate methods parse_datetime and format_datetime of Api::ApiController

13 years agoSONAR-2382 Improve the web service 'reviews'
simonbrandhof [Fri, 29 Apr 2011 12:06:08 +0000 (14:06 +0200)]
SONAR-2382 Improve the web service 'reviews'

- New class Api::Utils to define some shared methods (around ISO datetime, markdown, ...)

- Move to_json and to_xml methods to RuleFailure and Review models

- Delete the class MarkdownHelper. Method to convert to html is moved to Api::Utils

13 years agoSONAR-2382 Create a new "reviews" web service API
Fabrice Bellingard [Fri, 29 Apr 2011 11:50:38 +0000 (13:50 +0200)]
SONAR-2382 Create a new "reviews" web service API

- Add possibility to use keys or ids for resources/projects
- Add possibility to use logins or ids for authors/assignees
- Remove the "html" parameter on the ReviewQuery (comments will
  always be returned in HTML)

13 years agoFix portential hibernate error
simonbrandhof [Fri, 29 Apr 2011 10:27:54 +0000 (12:27 +0200)]
Fix portential hibernate error

13 years agoSONAR-2327, SONAR-2382 Refactor code
Fabrice Bellingard [Fri, 29 Apr 2011 10:26:47 +0000 (12:26 +0200)]
SONAR-2327, SONAR-2382 Refactor code

Purpose: review service and web service use the same DB request method

13 years agoUse parameter target instead of deprecated tasks for maven-antrun-plugin
Evgeny Mandrikov [Fri, 29 Apr 2011 10:14:39 +0000 (14:14 +0400)]
Use parameter target instead of deprecated tasks for maven-antrun-plugin

13 years agoSlightly improve fix bug of violation tracking when past violation has no checksum.
Freddy Mallet [Fri, 29 Apr 2011 09:14:42 +0000 (11:14 +0200)]
Slightly improve fix bug of violation tracking when past violation has no checksum.

13 years agoFix bug of violation tracking. NPE when past violation has no checksum.
simonbrandhof [Fri, 29 Apr 2011 06:19:00 +0000 (08:19 +0200)]
Fix bug of violation tracking. NPE when past violation has no checksum.

13 years agoSONAR-2261 Exclusion patterns must be trimmed
Evgeny Mandrikov [Thu, 28 Apr 2011 14:46:35 +0000 (18:46 +0400)]
SONAR-2261 Exclusion patterns must be trimmed

Trim them on Java and Ruby side.

13 years agoSONAR-2321 Fix test for Windows
Evgeny Mandrikov [Thu, 28 Apr 2011 17:55:41 +0000 (21:55 +0400)]
SONAR-2321 Fix test for Windows

13 years agoSONAR-2321 Cobertura plugin must not search for XML reports when Cobertura has not...
Evgeny Mandrikov [Thu, 28 Apr 2011 15:01:03 +0000 (19:01 +0400)]
SONAR-2321 Cobertura plugin must not search for XML reports when Cobertura has not been executed

13 years agoSONAR-2382 Create a new "reviews" web service API
Fabrice Bellingard [Thu, 28 Apr 2011 16:47:52 +0000 (18:47 +0200)]
SONAR-2382 Create a new "reviews" web service API

13 years agoSONAR-2327 Improve rendering for violations when source code is missing
Fabrice Bellingard [Thu, 28 Apr 2011 14:38:09 +0000 (16:38 +0200)]
SONAR-2327 Improve rendering for violations when source code is missing

13 years agoImprove display of resource viewers on projects and directories.
simonbrandhof [Thu, 28 Apr 2011 14:09:26 +0000 (16:09 +0200)]
Improve display of resource viewers on projects and directories.

SONAR-2338 Unable to drilldown by dependency metrics from sub-project

SONAR-2201 Display project violations

13 years agoExclude sonar-testing-harness from analysis. It's used for unit tests.
simonbrandhof [Thu, 28 Apr 2011 12:13:46 +0000 (14:13 +0200)]
Exclude sonar-testing-harness from analysis. It's used for unit tests.

13 years agoDefine new constants in DecoratorBarriers
simonbrandhof [Thu, 28 Apr 2011 10:55:50 +0000 (12:55 +0200)]
Define new constants in DecoratorBarriers

START_VIOLATION_TRACKING and END_OF_VIOLATION_TRACKING are used to benefit from tracking data of Violation :

- Violation#isSwitchedOff()
- Violation#getCreatedAt()

More information in Javadoc.

13 years agoSONAR-2381 The "violations" web service API must return violations decorated with...
Fabrice Bellingard [Thu, 28 Apr 2011 14:09:04 +0000 (16:09 +0200)]
SONAR-2381 The "violations" web service API must return violations decorated with review

13 years agoSONAR-1973, SONAR-2327 Fix issues based on Evgeny's feedback
Fabrice Bellingard [Thu, 28 Apr 2011 13:14:19 +0000 (15:14 +0200)]
SONAR-1973, SONAR-2327 Fix issues based on Evgeny's feedback

13 years agoSONAR-1973, SONAR-2327 Fix issues based on Freddy's feedback
Fabrice Bellingard [Thu, 28 Apr 2011 08:00:21 +0000 (10:00 +0200)]
SONAR-1973, SONAR-2327 Fix issues based on Freddy's feedback

13 years agoSONAR-2382 Create a new "reviews" web service API
Fabrice Bellingard [Thu, 28 Apr 2011 06:50:54 +0000 (08:50 +0200)]
SONAR-2382 Create a new "reviews" web service API

13 years agoSONAR-2381 Improve the violations WS decorated with reviews
Fabrice Bellingard [Wed, 27 Apr 2011 12:25:18 +0000 (14:25 +0200)]
SONAR-2381 Improve the violations WS decorated with reviews

13 years agoFix NPE
Evgeny Mandrikov [Thu, 28 Apr 2011 13:14:29 +0000 (17:14 +0400)]
Fix NPE

13 years agoForce creation of project workDir
Evgeny Mandrikov [Thu, 28 Apr 2011 10:34:51 +0000 (14:34 +0400)]
Force creation of project workDir

13 years agoSet project description to empty string if property was not specified
Evgeny Mandrikov [Thu, 28 Apr 2011 08:57:16 +0000 (12:57 +0400)]
Set project description to empty string if property was not specified

13 years agoMove derby logs generated during unit tests to target/
simonbrandhof [Thu, 28 Apr 2011 09:59:48 +0000 (11:59 +0200)]
Move derby logs generated during unit tests to target/

13 years agoIgnore plugins/sonar-core-plugin/derby.log generated during unit tests
simonbrandhof [Thu, 28 Apr 2011 09:32:29 +0000 (11:32 +0200)]
Ignore plugins/sonar-core-plugin/derby.log generated during unit tests

13 years agoRemove System.out.println
Evgeny Mandrikov [Thu, 28 Apr 2011 09:00:18 +0000 (13:00 +0400)]
Remove System.out.println

13 years agoFix loading of locale in charts
simonbrandhof [Wed, 27 Apr 2011 23:23:16 +0000 (01:23 +0200)]
Fix loading of locale in charts

13 years agoIncrease timeout of CommandExecutorTest for slow boxes
simonbrandhof [Wed, 27 Apr 2011 23:22:45 +0000 (01:22 +0200)]
Increase timeout of CommandExecutorTest for slow boxes

13 years agoSONAR-2202 Calculate variations on quality model measures
simonbrandhof [Wed, 27 Apr 2011 23:22:08 +0000 (01:22 +0200)]
SONAR-2202 Calculate variations on quality model measures

13 years agoSONAR-2384 append target='_blank' when building an hyperlink
Freddy Mallet [Wed, 27 Apr 2011 21:58:01 +0000 (23:58 +0200)]
SONAR-2384 append target='_blank' when building an hyperlink

13 years agoFix scheduling of ViolationDecorator
simonbrandhof [Wed, 27 Apr 2011 21:41:28 +0000 (23:41 +0200)]
Fix scheduling of ViolationDecorator

ViolationPersisterDecorator must be executed before computing measures on violations, so the flag switched_off is correctly loaded from database.

13 years agoFix some ruby warnings (don't put space before argument parentheses)
simonbrandhof [Wed, 27 Apr 2011 21:40:32 +0000 (23:40 +0200)]
Fix some ruby warnings (don't put space before argument parentheses)

13 years agoSONAR-2386 Web service should return lineId for violation only if value exists
Evgeny Mandrikov [Wed, 27 Apr 2011 21:15:01 +0000 (01:15 +0400)]
SONAR-2386 Web service should return lineId for violation only if value exists

13 years agoFix vertical alignment of severity icons
simonbrandhof [Wed, 27 Apr 2011 21:01:21 +0000 (23:01 +0200)]
Fix vertical alignment of severity icons

13 years agoAdd header to comparison of quality profiles
simonbrandhof [Wed, 27 Apr 2011 21:00:43 +0000 (23:00 +0200)]
Add header to comparison of quality profiles

13 years agoEnsure that cost to fix violation cannot be set to negative or NaN value
Evgeny Mandrikov [Wed, 27 Apr 2011 19:59:31 +0000 (23:59 +0400)]
Ensure that cost to fix violation cannot be set to negative or NaN value

13 years agoMerge branch 'master' of github.com:SonarSource/sonar
Freddy Mallet [Wed, 27 Apr 2011 19:41:14 +0000 (21:41 +0200)]
Merge branch 'master' of github.com:SonarSource/sonar

13 years agoSONAR-2299 Show Hibernate SQL only if debug logging level enabled, but not info level
Evgeny Mandrikov [Wed, 27 Apr 2011 19:23:24 +0000 (23:23 +0400)]
SONAR-2299 Show Hibernate SQL only if debug logging level enabled, but not info level

13 years agoSONAR-2384 use backtick instead of simple quote in the HtmlCodeChannel
Freddy Mallet [Wed, 27 Apr 2011 19:40:15 +0000 (21:40 +0200)]
SONAR-2384 use backtick instead of simple quote in the HtmlCodeChannel

13 years agoSONAR-2386 Define contract for lineId in Violation
Evgeny Mandrikov [Wed, 27 Apr 2011 16:29:11 +0000 (20:29 +0400)]
SONAR-2386 Define contract for lineId in Violation

Value can be null or greater than zero, so setter must log warning if
not null and less than 1. It will throw an exception in future releases.

13 years agoSONAR-2266 ProjectFileSystem should return only existing source and test directories
Evgeny Mandrikov [Wed, 27 Apr 2011 11:39:59 +0000 (15:39 +0400)]
SONAR-2266 ProjectFileSystem should return only existing source and test directories

13 years agoFix violations
Evgeny Mandrikov [Wed, 27 Apr 2011 09:11:11 +0000 (13:11 +0400)]
Fix violations

13 years agoSONAR-2369 User list is not correctly sorted in the Groups page
simonbrandhof [Wed, 27 Apr 2011 10:41:44 +0000 (12:41 +0200)]
SONAR-2369 User list is not correctly sorted in the Groups page

13 years agoSONAR-2323 Remove logs specific to Maven
simonbrandhof [Wed, 27 Apr 2011 09:55:16 +0000 (11:55 +0200)]
SONAR-2323 Remove logs specific to Maven

13 years agoWrite valid HTML : a tag is badly closed
simonbrandhof [Wed, 27 Apr 2011 09:48:01 +0000 (11:48 +0200)]
Write valid HTML : a tag is badly closed

13 years agoSONAR-2179 the 'bulk change' option of quality profiles fail when there are too many...
simonbrandhof [Wed, 27 Apr 2011 09:45:01 +0000 (11:45 +0200)]
SONAR-2179 the 'bulk change' option of quality profiles fail when there are too many selected rules

13 years agoSONAR-2327 Provide a new "Reviews" service
Fabrice Bellingard [Wed, 27 Apr 2011 09:06:47 +0000 (11:06 +0200)]
SONAR-2327 Provide a new "Reviews" service

13 years agoSONAR-2327 Provide a new "Reviews" service
Fabrice Bellingard [Wed, 27 Apr 2011 06:59:49 +0000 (08:59 +0200)]
SONAR-2327 Provide a new "Reviews" service

13 years agoSONAR-2382 Highlight selected line in source panel
simonbrandhof [Wed, 27 Apr 2011 07:22:40 +0000 (09:22 +0200)]
SONAR-2382 Highlight selected line in source panel

13 years agoSONAR-2382 Display source in review detail
simonbrandhof [Wed, 27 Apr 2011 06:50:14 +0000 (08:50 +0200)]
SONAR-2382 Display source in review detail

13 years agoSONAR-2298 Rename MavenProjectBuilder to ProjectBuilder
Evgeny Mandrikov [Tue, 26 Apr 2011 19:48:49 +0000 (23:48 +0400)]
SONAR-2298 Rename MavenProjectBuilder to ProjectBuilder

13 years agoSONAR-2327 Provide a new "Reviews" service
Fabrice Bellingard [Tue, 26 Apr 2011 17:09:32 +0000 (19:09 +0200)]
SONAR-2327 Provide a new "Reviews" service

13 years agoSONAR-1973 Rework action link positions
Fabrice Bellingard [Tue, 26 Apr 2011 13:37:57 +0000 (15:37 +0200)]
SONAR-1973 Rework action link positions

13 years agoFix rendering of age (variable {count} not interpreted)
simonbrandhof [Tue, 26 Apr 2011 15:32:27 +0000 (17:32 +0200)]
Fix rendering of age (variable {count} not interpreted)

13 years agoMerge branch 'master' of github.com:SonarSource/sonar
Freddy Mallet [Tue, 26 Apr 2011 14:40:16 +0000 (16:40 +0200)]
Merge branch 'master' of github.com:SonarSource/sonar

13 years agoDo not feed RULE_FAILURES.PERMANENT_ID when rendering violations
simonbrandhof [Tue, 26 Apr 2011 14:22:27 +0000 (16:22 +0200)]
Do not feed RULE_FAILURES.PERMANENT_ID when rendering violations

13 years agoSONAR-2384 Fix a bug on HtmlListChannel which was due to CodeBuffer.length() method...
Freddy Mallet [Tue, 26 Apr 2011 14:21:59 +0000 (16:21 +0200)]
SONAR-2384 Fix a bug on HtmlListChannel which was due to CodeBuffer.length() method and make the HtmlEmphasisChannel handle sentence

13 years agoSONAR-2382 Complete review web service
simonbrandhof [Tue, 26 Apr 2011 13:24:57 +0000 (15:24 +0200)]
SONAR-2382 Complete review web service

13 years agoSONAR-1973 Fix bug in DB request
Fabrice Bellingard [Tue, 26 Apr 2011 12:59:17 +0000 (14:59 +0200)]
SONAR-1973 Fix bug in DB request

13 years agoSONAR-2327 add help on markdown
simonbrandhof [Tue, 26 Apr 2011 10:05:51 +0000 (12:05 +0200)]
SONAR-2327 add help on markdown

13 years agoSONAR-2327 split actions for resource viewer and reviews page
simonbrandhof [Mon, 25 Apr 2011 21:12:50 +0000 (23:12 +0200)]
SONAR-2327 split actions for resource viewer and reviews page

13 years agoSONAR-2298 Add support for multi-modules for non-Maven projects
Evgeny Mandrikov [Fri, 8 Apr 2011 22:19:28 +0000 (02:19 +0400)]
SONAR-2298 Add support for multi-modules for non-Maven projects

* Use ProjectDefinition in ProjectTree instead of MavenProject

* Allow to specify extensions for project's container via
  ProjectDefinition, so MavenProject not passed directly to batch in mojos

* ProjectDefinition should store all information in properties

* Replace DefaultProjectFileSystem by DefaultProjectFileSystem2, which
  works not only for Maven projects

* Add DefaultProjectClasspath, which works not only for Maven projects

* Enable ProjectLinksSensor only for Maven

13 years agoSONAR-2371 UnitTestDecorator should not save anything if tests measure already exists
Evgeny Mandrikov [Sun, 24 Apr 2011 03:07:02 +0000 (07:07 +0400)]
SONAR-2371 UnitTestDecorator should not save anything if tests measure already exists

13 years agoSonar Markdown : Fix typo in the javadoc (Thanks Evgeny)
Freddy Mallet [Sun, 24 Apr 2011 09:00:36 +0000 (11:00 +0200)]
Sonar Markdown : Fix typo in the javadoc (Thanks Evgeny)