Commit Graph

3086 Commits

Author SHA1 Message Date
Teryk Bellahsene
062c27d9de SONAR-7957 New metric « New Lines of Code » 2016-08-13 12:08:39 +02:00
Teryk Bellahsene
d7db41d8ed SONAR-7952 New metric « Duplicated blocks on new code » 2016-08-12 15:56:36 +02:00
Teryk Bellahsene
de2eaf079f SONAR-7951 New metric « Duplicated lines on new code » 2016-08-12 15:56:36 +02:00
Simon Brandhof
8e6415a4c7 SONAR-7654 API to propagate props from scanner to CE 2016-08-06 12:52:33 +02:00
Simon Brandhof
0801387ec8 Fix minor Quality flaw 2016-08-05 17:28:23 +02:00
Simon Brandhof
f0b34e1199 SONAR-7899 configure container of "startup followers" 2016-07-29 10:31:31 +02:00
Simon Brandhof
7ce0fb39f5 SONAR-7899 Refactor server file system
- new interface org.sonar.server.platform.ServerFileSystem
- deprecate org.sonar.api.platform.Server#getDeployDir()
2016-07-29 10:31:31 +02:00
Simon Brandhof
1e6c0e1a47 Minor Quality flaws 2016-07-29 10:31:31 +02:00
ssjenka
c61be4f486 Automatic merge from branch-6.0
* origin/branch-6.0:
  Revert deprecation of SonarQubeVersion
2016-07-28 11:36:07 +02:00
Simon Brandhof
86ea84aacc Revert deprecation of SonarQubeVersion
so that compatibility with 5.6 does not need
to call deprecated code.
2016-07-28 11:23:21 +02:00
Teryk Bellahsene
e8bc18b84b SONAR-7917 Do not register project dashboard 2016-07-28 09:14:54 +02:00
Simon Brandhof
b710ae53fe Fix merge of branch-6.0 2016-07-27 22:57:19 +02:00
Simon Brandhof
85bfbe2868 Improve org.sonar.api.SonarRuntime
* javadoc was not up-to-date

* SensorContext has a single method #runtime() instead
of #getRuntimeApiVersion() and #getRuntimeProduct()

* deprecated SonarQubeVersion does not extend SonarRuntime

* SonarRuntime becomes an interface. Implementation is
org.sonar.api.internal.SonarRuntimeImpl for unit tests.
2016-07-27 18:23:48 +02:00
Simon Brandhof
79a6209eac Add javadoc to org.sonar.api.platform.Server 2016-07-27 14:57:07 +02:00
ssjenka
5e769422d2 Automatic merge from branch-6.0
* origin/branch-6.0:
  fix profile overflow on project overview page
  SONAR-7912 Highlight releasability rating in measure page of a view
  Update Xoo plugin to test Settings default values
  SONAR-7751 Missing @SonarLintSide on some extensions
2016-07-22 08:02:24 +02:00
Sébastien Lesaint
ae9a6a7ff5 fix some quality flaws 2016-07-21 17:03:52 +02:00
Julien HENRY
4598acad63 SONAR-7751 Missing @SonarLintSide on some extensions 2016-07-21 11:55:15 +02:00
Simon Brandhof
b06fb8e9b0 Fix Quality flaw 2016-07-20 14:47:14 +02:00
David Rautureau
8de259eee6 prepare for next development iteration 2016-07-20 11:20:21 +02:00
David Rautureau
3613994b6f [maven-release-plugin] prepare for next development iteration 2016-07-20 10:30:20 +02:00
David Rautureau
41affbb82c [maven-release-plugin] prepare release 6.0-RC1 2016-07-20 10:30:19 +02:00
Evgeny Mandrikov
8a83d02149 Add missing Javadocs in CoreMetrics 2016-07-19 13:35:33 +02:00
Simon Brandhof
82d052e1a5 Fix Quality flaws 2016-07-19 09:05:09 +02:00
Simon Brandhof
89369f354b Fix Quality flaws 2016-07-18 19:14:30 +02:00
Julien HENRY
5fddece10c SONAR-7876 Add SensorContext::isCancelled in the API 2016-07-18 15:23:54 +02:00
Simon Brandhof
7cdbfc9e01 Fix Quality flaws 2016-07-18 13:15:50 +02:00
Duarte Meneses
2603cbdd54 Improve quality 2016-07-14 09:29:44 +02:00
ssjenka
1c30503d5c Automatic merge from branch-5.6
* origin/branch-5.6:
  SONAR-7866 Deprecate Server#isSecured()
  SONAR-7560 Fix WS description
2016-07-14 08:01:49 +02:00
Julien Lancelot
6d28b0a285 SONAR-7866 Deprecate Server#isSecured() 2016-07-13 19:25:56 +02:00
Julien Lancelot
3f785d1134 Fix quality flaws 2016-07-13 19:21:36 +02:00
Julien HENRY
31f83fbcab Fix some quality flaws 2016-07-13 17:18:06 +02:00
Julien Lancelot
1c1fb04a39 Do not hide exception when fail to close json 2016-07-12 16:00:13 +02:00
Duarte Meneses
6bffda848e Improve quality 2016-07-12 14:27:19 +02:00
Julien HENRY
7bea09f6eb SONAR-7883 Expose InputFile charset in API 2016-07-12 13:03:43 +02:00
Julien HENRY
4fda01fa13 Relax visibility of File constructor to allow hacking in SonarLint 2016-07-11 17:03:20 +02:00
Duarte Meneses
ae5a68d205 SONAR-7876 Add an API for Sensors to report files that can't be analyzed 2016-07-11 10:53:30 +02:00
Sébastien Lesaint
eef20982c7 SONAR-6730 improving javadoc of org.sonar.api.ce.measure.Measure 2016-07-08 11:42:53 +02:00
Julien HENRY
e5818438a2 SONAR-7755 deploy/plugins/index.txt should expose SonarLint compatibility 2016-07-07 10:04:36 +02:00
Julien HENRY
2d20c0f3f2 SONAR-7751, SONAR-7756 SonarLint API 2016-07-07 09:56:20 +02:00
Julien HENRY
a4e0563f75 SONAR-7783 Ensure Sensors don't save same data twice 2016-07-07 09:44:53 +02:00
Duarte Meneses
cc0fc34502 SONAR-6651 Trim SCM logins 2016-07-06 13:34:08 +02:00
Julien HENRY
eb67b4bc9e SONAR-7664 Fail on empty TextRange (except when selecting empty line) 2016-07-06 09:46:14 +02:00
Julien HENRY
3b2bd4767f SONAR-7727 Remove org.sonar.api.resources.InputFile 2016-07-06 09:32:40 +02:00
Julien HENRY
6da2fd6aea Fix some quality flaws 2016-07-06 09:32:40 +02:00
Simon Brandhof
68620e2016 Fix quality flaws 2016-07-05 14:55:25 +02:00
Julien HENRY
103f9ca40f SONAR-7727 Remove deprecated stuff from Resources API 2016-07-05 14:00:16 +02:00
Julien HENRY
b7343f0f17 SONAR-7727 Remove some deprecated properties 2016-07-05 14:00:16 +02:00
Julien HENRY
c7206381a3 SONAR-7727 Remove deprecated metrics + methods on Settings 2016-07-05 14:00:16 +02:00
Julien HENRY
4b54d70424 SONAR-7727 Remove CheckFactory and AnnotationCheckFactory 2016-07-05 14:00:16 +02:00
Julien HENRY
79b89035c9 SONAR-7727 Remove SquidUtils and deprecated methods on old SensorContext 2016-07-05 14:00:16 +02:00
Julien HENRY
5fea53afec SONAR-7727 Remove SonarIndex and ResourceFilter 2016-07-05 14:00:16 +02:00
Julien HENRY
3da9ab4746 SONAR-7727 Remove AbstractSourceImporter 2016-07-05 14:00:16 +02:00
Julien HENRY
0ba54087a1 SONAR-7727 Remove deprecated stuff on ProjectDefinition 2016-07-05 14:00:16 +02:00
Julien HENRY
1dba982961 SONAR-7750 Deprecate ExtensionProvider 2016-07-05 14:00:16 +02:00
Duarte Meneses
2eedbcc8b7 SONAR-7665 Deprecate @BatchSide and introduce @ScannerSide 2016-07-04 14:14:40 +02:00
Julien Lancelot
39c40ef59f SONAR-1891 Add upload plugin WS 2016-07-01 18:00:26 +02:00
Julien HENRY
6f6d435949 SONAR-7850 Improve SensorContextTester to differentiate no symbol from no
references
2016-07-01 09:39:04 +02:00
Simon Brandhof
9b386a08d6 SONAR-7853 Stop support of API org.sonar.api.web.RequiredMeasures 2016-06-30 09:12:12 +02:00
Julien Lancelot
0f42fe401f SONAR-7776 Allow Java WS to stream the output 2016-06-29 08:44:00 +02:00
Julien Lancelot
102faa7f46 SONAR-7732 Authentication is now done in Java 2016-06-29 08:39:32 +02:00
Tom
8534a54e26 set next dev version to 5.6.1-SNAPSHOT 2016-06-27 09:52:08 +02:00
Simon Brandhof
e0a8d96578 Fix some Quality flaws 2016-06-27 09:51:40 +02:00
Simon Brandhof
000e135cd7 Clean-up JRubyFacade 2016-06-20 23:16:20 +02:00
Julien HENRY
9fb2ac0f2b SONAR-7788 Improve PathResolver::relativePath(File, File) when arguments
are not normalized
2016-06-20 11:07:36 +02:00
Simon Brandhof
d30b7dc59a Disable Clirr check
As it's incompatible with Java 8
2016-06-16 09:23:27 +02:00
Simon Brandhof
5e3dfec6ae Fix and add tests, fix quality flaws 2016-06-15 22:15:18 +02:00
Simon Brandhof
39360cc027 Improve org.sonar.api.web.ServletFilter.UrlPattern 2016-06-15 22:03:04 +02:00
Julien Lancelot
f07b43ff19 SONAR-7713 Exclude static resources from token validation filter 2016-06-15 11:30:28 +02:00
ssjenka
475108c6cc Automatic merge from branch-5.6
* origin/branch-5.6:
  SONAR-7752 Documentation of sonar.web.port in sonar.properties is not correct
  Fix 2 links in javadoc of org.sonar.api.batch
2016-06-13 09:45:53 +02:00
Simon Brandhof
b1d4a57183 Fix 2 links in javadoc of org.sonar.api.batch 2016-06-13 09:39:07 +02:00
Julien HENRY
7831e74970 Make Clirr baseline to new LTS (5.6) 2016-06-07 14:09:22 +02:00
Julien Lancelot
fa34e43615 Fix quality flaws 2016-06-06 11:54:08 +02:00
Tom
d9fd1d0b18 Update version to 5.6-SNAPSHOT 2016-06-01 15:14:41 +02:00
Tom
074f3d1169 Release 5.6 2016-06-01 13:59:09 +02:00
ssjenka
18c639410c Automatic merge from branch-5.6
* origin/branch-5.6:
  Deprecate SonarPlugin in favour of Plugin
  SONAR-7681 Use public implementation of List in MyBatis
  SONAR-7681 WS api/ce/activity requires administer permissions when searching with a task id
  SONAR-7669 WS api/issues/search createdBefore cannot be equal to createdAfter
2016-06-01 09:53:21 +02:00
Simon Brandhof
2e74a995d3 Deprecate SonarPlugin in favour of Plugin 2016-06-01 09:36:59 +02:00
Tom
c4beaca801 prepare for next development iteration on release branch 2016-05-27 17:49:28 +02:00
Tom
ce1b331448 release 5.6-RC2 2016-05-27 16:57:51 +02:00
Sébastien Lesaint
9e291cdec3 remove use of Guava's Objects.equal 2016-05-24 16:36:20 +02:00
Sébastien Lesaint
a3837a58d3 remove usage of deprecated methods of Guava Objects 2016-05-24 16:36:20 +02:00
Jenkins CI
6ef4bd924b Automatic merge from branch-5.6
* origin/branch-5.6:
  Adjust perf timings
  Fix perf test
  SONAR-7509 Revert to not check empty ranges to not break Java plugin
  SONAR-7661 add interface Startable
  SONAR-7175 Fix IT
2016-05-24 08:18:28 +02:00
Teryk Bellahsene
b52ebbfbae Fix quality flaws 2016-05-23 17:00:49 +02:00
Julien HENRY
f18f19a4e2 SONAR-7509 Revert to not check empty ranges to not break Java plugin 2016-05-23 16:36:00 +02:00
Sébastien Lesaint
09701ed9e9 SONAR-7661 add interface Startable 2016-05-23 16:05:57 +02:00
Tom
22e7e82183 prepare for next development iteration 2016-05-20 17:28:19 +02:00
Tom
eb9621b54f prepare for next development iteration on release branch 2016-05-20 17:20:44 +02:00
Tom
2fa37314b8 Release 5.6-RC1 2016-05-20 10:05:32 +02:00
Simon Brandhof
d0eacea06f Fix quality flaws 2016-05-19 20:01:49 +02:00
Teryk Bellahsene
788fa6c2ee SONAR-7578 Filter issues by leak period and by file, directory or module 2016-05-19 12:50:01 +02:00
Teryk Bellahsene
73c7ffd633 SONAR-7635 Sanitize metric name and description in default l10n bundle and CoreMetrics 2016-05-18 11:48:30 +02:00
Simon Brandhof
4d1d70d1cf Remove deprecated props from DatabaseProperties 2016-05-18 11:04:36 +02:00
Julien HENRY
69065a0dee Improve unit test coverage 2016-05-17 14:38:49 +02:00
Julien HENRY
98ccba9c44 Add unit test for SensorContextTester 2016-05-17 11:01:01 +02:00
Julien HENRY
50bd94942e Fix some quality flaws 2016-05-17 10:00:59 +02:00
Julien HENRY
51d2370967 Improve Javasoc of SensorContextTester 2016-05-17 10:00:59 +02:00
Simon Brandhof
f77e302dde SONAR-7582 make beta Compute Engine API public
no more @beta APIs in 5.6 for compute engine
2016-05-13 15:35:22 +02:00
Sébastien Lesaint
30938a6522 SONAR-7534 add missing @Deprecated on SERVER_BASE_URL_DEFAULT_VALUE 2016-05-13 15:24:41 +02:00
Sébastien Lesaint
219258d20f SONAR-7534 Server#getUrl must return serverBaseUrl when it is set 2016-05-13 15:24:40 +02:00
Julien HENRY
03a0d8af47 SONAR-7464 Optimize NCLOC_DATA and COMMENT_LINES_DATA 2016-05-13 13:46:31 +02:00
Julien HENRY
3b2bc98247 Fix JavaDoc glitch 2016-05-13 13:41:10 +02:00
Sébastien Lesaint
f1994051ac SONAR-7109 remove default value of property sonar.core.serverBaseURL 2016-05-12 15:35:49 +02:00
Sébastien Lesaint
59336a29a7 SONAR-7534 implement Server#getUrl on the server side 2016-05-12 15:35:49 +02:00
Julien HENRY
71b97ad9af SONAR-7512 Backport ability to use line/offset on Symbolizable API 2016-05-12 15:19:59 +02:00
Julien HENRY
f35b614873 SONAR-7509 Backport on old API to ease migration 2016-05-12 15:19:59 +02:00
Julien HENRY
d8845c6f43 SONAR-7636 Deprecate org.sonar.api.measures.Measure + many small API improvements 2016-05-12 15:19:59 +02:00
Julien HENRY
42dc2978d5 SONAR-7612 Apply feedback 2016-05-12 08:49:09 +02:00
Julien HENRY
d04b0fde3f SONAR-7612 Rework Initializer extension point to no more require to use Project 2016-05-12 08:49:09 +02:00
Julien HENRY
f58fdc8b6b SONAR-7612 Improve documentation and SensorContextTester 2016-05-12 08:49:09 +02:00
Julien HENRY
1ea649ef74 SONAR-7612 Deprecate old Resource API (Project, Directory, File) 2016-05-12 08:49:09 +02:00
Julien HENRY
f785c62ff8 SONAR-7612 Move new Sensor API out of @Beta 2016-05-12 08:49:09 +02:00
Julien HENRY
73f40c17f4 SONAR-7625 SONAR-7621 Deprecate coverage per test and test execution details Sensor APIs 2016-05-12 08:49:09 +02:00
Julien Lancelot
4e19fe7ccd SONAR-7555 Add measures on number of won't fix issues 2016-05-11 12:26:46 +02:00
Teryk Bellahsene
cb0937144b SONAR-7591 Make category an optional field in WS api/plugins/installed 2016-05-11 11:05:39 +02:00
Julien HENRY
08aef06a32 SONAR-7512 New symbol reference API 2016-05-10 16:25:05 +02:00
Teryk Bellahsene
861645c849 SONAR-7562 WS api/measures/component_tree sort alert_status and level metrics 2016-05-10 15:06:04 +02:00
Julien HENRY
25d5a0489a SONAR-7509 Highlighting API should work with ranges (line/offset) 2016-05-10 14:54:26 +02:00
Evgeny Mandrikov
49e85fb13b Add missing Javadoc (#925)
Method was added in SQ 5.1 in e9b5effe30
2016-05-09 23:14:09 +02:00
Simon Brandhof
4fc0e09a60 Fix quality flaws 2016-05-09 23:10:31 +02:00
Teryk Bellahsene
2904c7846d SONAR-7380 Sanitize exception handling of WS parameter reads 2016-05-06 11:14:12 +02:00
Julien Lancelot
f2cd33bc2d SONAR-7570 A duration of 0 minute should be converted to "0min" instead of empty 2016-04-28 13:36:33 +02:00
Jenkins CI
91584ca578 Automatic merge from branch-5.5
* origin/branch-5.5:
  SONAR-7553 use api/ce/activity_status to get number of pending and failing tasks
  SONAR-7553 WS api/ce/activity_status display background tasks related metrics for UI
  SONAR-7553 DAO of CE_QUEUE count number of rows by status
  SONAR-7553 DAO of CE_ACTIVITY count number of tasks still failing
  SONAR-7187 WS api/ce/activity stop using count(1) on DB table CE_QUEUE
  SONAR-7553 Create composite DB index CE_ACTIVITY(is_last, status)
  SONAR-7187 do not usage pagination
  SONAR-7187 Remove paging from api/ce/activity
2016-04-21 08:01:09 +02:00
Julien Lancelot
a2e88e9141 SONAR-7187 Remove paging from api/ce/activity
In order to have no more full scan on the ce_activity table, we had to remove paging as it was executing a select count(* from ce_activity)
2016-04-21 01:23:38 +02:00
Stas Vilchik
55bc6f0361 SONAR-7516 Change capitalization of metric names (#907) 2016-04-20 09:05:22 +02:00
Jenkins CI
362dc21e8d Automatic merge from branch-5.5
* origin/branch-5.5:
  SONAR-7550 Update Java plugin to 3.13.1
  apply feedback for measures page (#905)
  change capitalization of new metrics (#906)
  Background tasks logs are available for project admin
  add web context on the measures page
  Add comment on query to keep authorized users for a project and a role
2016-04-20 08:01:02 +02:00
Stas Vilchik
c68097af28 change capitalization of new metrics (#906) 2016-04-19 15:22:21 +02:00
Jenkins CI
d8f7a593f2 Automatic merge from branch-5.5
* origin/branch-5.5:
  Log the type when Compute Engine processes a task
  Add ComponentDao#insertBatch() for batch inserts
  SONAR-7543 Sanitize metric domains (#901)
  SONAR-7402 improve measures home page (#900)
2016-04-18 08:01:38 +02:00
Stas Vilchik
267a66720f SONAR-7543 Sanitize metric domains (#901)
* rename Tests to Coverage
* rename Duplication to Diplications
* move "alert_status" to new releasability domain
2016-04-15 14:38:58 +02:00
Jenkins CI
d0fd6ac322 Automatic merge from branch-5.5
* origin/branch-5.5:
  Fix malformed javadoc in API
  Add UserDao.selectByIds
  SONAR-6948 rename method Request#getLocalConnector() to localConnector()
  SONAR-6948 add javadoc for org.sonar.api.server.ws.LocalConnector
2016-04-15 10:36:24 +02:00
Simon Brandhof
378d6b7916 Fix malformed javadoc in API 2016-04-15 09:49:34 +02:00
Simon Brandhof
9a3d3fc2d0 SONAR-6948 rename method Request#getLocalConnector() to localConnector() 2016-04-15 09:15:20 +02:00
Simon Brandhof
a444f194d4 SONAR-6948 add javadoc for org.sonar.api.server.ws.LocalConnector 2016-04-15 09:13:47 +02:00
Jenkins CI
29323b31ab Automatic merge from branch-5.5
* origin/branch-5.5:
  Disable EventTest#event_widget() because of false-positives
  SONAR-7427 Remove "effort_to_reach_reliability_rating_a" and "effort_to_reach_security_rating_a" measures
  SONAR-7527 Change metric columns order and layout of provided global dashboard
2016-04-14 08:08:03 +02:00
Julien Lancelot
48a89481c7 SONAR-7427 Remove "effort_to_reach_reliability_rating_a" and "effort_to_reach_security_rating_a" measures 2016-04-13 13:46:22 +02:00
Jenkins CI
54bed58ca4 Automatic merge from branch-5.5
* origin/branch-5.5:
  QA: enable deploy on branch-*
  add l10n names for reliability_rating and security_rating
  Add PropertiesDao.deleteById
  SONAR-7533 Hide sonar.login property in analysis.log sent in the scanner report
  SONAR-7238 do not display identity provider details when it is "sonarqube"
  fix bug which prevents to add a quality gate condition for "new_" metric
  SONAR-7402 clicking on project bubble brings to the project page
  Fix javadoc errors
  Exclude protobuf code from SQ analysis
  Fix some Javadoc warnings
  Improve javadoc
  Change return type of Plugin#getSonarQubeVersion()
2016-04-12 08:07:40 +02:00
Julien HENRY
e84422a61a Fix javadoc errors 2016-04-11 12:34:03 +02:00
Simon Brandhof
051d803d9c Fix some Javadoc warnings 2016-04-11 11:18:45 +02:00
Julien HENRY
d6da1afc04 Improve javadoc
Make some annotations visible on annotated type in Javadoc
2016-04-11 11:00:52 +02:00
Simon Brandhof
50e2bb1db1 Change return type of Plugin#getSonarQubeVersion()
and improve Javadoc
2016-04-11 10:57:50 +02:00
Tom
18ecc4bf84 fixed version for 5.5-SNAPSHOT 2016-04-11 10:00:42 +02:00
Tom
624a75a51a [maven-release-plugin] prepare for next development iteration 2016-04-07 15:38:57 +02:00
Tom
4c34f8c245 [maven-release-plugin] prepare release 5.5-RC1 2016-04-07 15:38:57 +02:00
Tom
b15cd7a39f [maven-release-plugin] prepare for next development iteration 2016-04-07 15:23:57 +02:00
Tom
61ec3471f7 [maven-release-plugin] prepare release 5.5 2016-04-07 15:23:57 +02:00
Tom
e335645b87 Upgrade version to 5.6-SNAPSHOT 2016-04-07 15:02:37 +02:00
Simon Brandhof
a2be8c1b0c SONAR-6948 Ability for Java server extensions to call web services 2016-04-07 12:12:32 +02:00
Sébastien Lesaint
3b2d595782 fix quality flaws 2016-04-06 21:08:53 +02:00
Sébastien Lesaint
53b6958382 SONAR-7488 add PostProjectAnalysisTaskTester 2016-04-06 15:42:53 +02:00
Sébastien Lesaint
1f634cd0ee SONAR-7488 add API PostTask 2016-04-06 15:42:53 +02:00
Julien Lancelot
c7662baa5b Fix quality flaws 2016-04-06 10:31:15 +02:00
Simon Brandhof
9e8e346e71 Fix quality flaws 2016-04-06 10:23:06 +02:00
Teryk Bellahsene
a81d697437 SONAR-6717 Drop issue.Action API 2016-03-31 16:55:01 +02:00
Julien Lancelot
d6a835473c Revert "SONAR-7122 Drop the ability to customize the web app context"
This reverts commit 8f7a9ad479.

SONAR-7494 Reintroduce the web app context
2016-03-31 13:09:07 +02:00
Simon Brandhof
491644917a Fix quality flaws 2016-03-31 12:31:20 +02:00
Simon Brandhof
eee6027f61 Fix default mime type of ProfileExporter
"plain/text" is not a valid type. It must be "text/plain"
2016-03-31 12:23:23 +02:00
Julien HENRY
10955ec396 SONAR-7458 Expose SQ Version in SensorContext 2016-03-30 11:42:16 +02:00
Teryk Bellahsene
2cf5d0f82c MMF-165 Remove action plan mentions 2016-03-30 10:34:27 +02:00
Julien Lancelot
9fc9cbd7ed SONAR-7470 Drop ability to manage manual rules from backend 2016-03-29 19:11:55 +02:00
Julien Lancelot
cbc00be035 SONAR-7473 Drop 'reporter' field from backend 2016-03-29 19:10:50 +02:00
Sébastien Lesaint
1c623f97a7 SONAR-7441 add ComputeEngineSide annotation where applicable 2016-03-29 13:06:51 +02:00
Sébastien Lesaint
17f23a671f SONAR-7441 add annotation ComputeEngineSide 2016-03-29 13:06:51 +02:00
Teryk Bellahsene
a14e9357d2 SONAR-7467 Drop/deprecate action plan API 2016-03-25 15:02:45 +01:00
Simon Brandhof
4250bb53f0 Fix quality flaws 2016-03-24 22:38:16 +01:00
Simon Brandhof
f8090239d7 Fix quality flaws 2016-03-24 20:26:11 +01:00
Julien HENRY
0fd2f2204c SONAR-7368 Deprecate quality_profiles measure and add data in scanner report 2016-03-24 09:57:28 +01:00
Julien HENRY
f4354c32eb Update scanner report to protobuf 3 (imply SONAR-7497) 2016-03-23 20:31:30 +01:00
Teryk Bellahsene
4b5bc19bb3 SONAR-6717 Drop support of plugin extension issue action 2016-03-23 11:30:23 +01:00
Julien Lancelot
d9bfbf8d6b Fix quality flaws 2016-03-23 10:39:21 +01:00
Julien Lancelot
7b9499e5c7 Fix quality flaws 2016-03-22 17:54:55 +01:00
Julien Lancelot
0cd6464c0b SONAR-7448 Allow groups synchronization in IdentityProvider API 2016-03-22 14:15:27 +01:00
Julien HENRY
26a0ddd444 SONAR-7389 Support CPD exclusions in new API 2016-03-22 10:42:33 +01:00
Julien HENRY
d8bd692a3f SONAR-7487 Drop support of properties sonar.skippedModules and sonar.includedModules 2016-03-22 10:07:05 +01:00
Sébastien Lesaint
37e32de9c0 SONAR-6732 CE must load Settings from DB for each worker
renamed ServerSettings to WebServerSettings and extract from it a ServerSetting interface to be able to easily provide separte implementations for Web Server and CE)
CE Server implementation is called ComputeEngineSettings which supports loading up to date Settings for a specific worker using delegation and a ThreadLocal
2016-03-21 16:44:05 +01:00
Julien Lancelot
fc48f0fb03 SONAR-7254 Create task to feed user.local 2016-03-21 15:03:28 +01:00
Teryk Bellahsene
d727787c5d SONAR-7375 WS api/rules/search use SearchWsRequest in SearchAction 2016-03-18 18:09:36 +01:00
Simon Brandhof
b5f917337a SONAR-7459 new interface org.sonar.api.Plugin
It allows to check version of SonarQube to filter extensions
2016-03-18 10:13:42 +01:00
Julien HENRY
1447a88043 SONAR-7389 Improve testability 2016-03-17 16:00:37 +01:00
Simon Brandhof
4dab73425f Drop API ViolationQuery as it's deprecated since 3.6 2016-03-17 08:47:59 +01:00
Simon Brandhof
824a1c63f8 SONAR-7458 new component org.sonar.api.SonarQubeVersion 2016-03-16 19:42:59 +01:00
Simon Brandhof
13f9918a47 SONAR-7458 new component org.sonar.api.utils.Version 2016-03-16 19:42:59 +01:00
Simon Brandhof
17402317a7 Add org.sonar.api.utils.System2#getResource(name) 2016-03-16 19:42:59 +01:00
Julien HENRY
1b09113d16 Fix some quality flaws 2016-03-16 17:25:16 +01:00
Julien HENRY
712c66d95a SONAR-7414 Change Sensor API to update Issue#effortToFix to Issue#gap 2016-03-16 14:04:34 +01:00
Julien HENRY
56eec4bfb1 SONAR-7416 Deprecate CPDMapping extension point 2016-03-16 14:04:34 +01:00
Julien Lancelot
ab9805fd7b SONAR-7444 Provide an UnauthorizedException to display functional error 2016-03-16 11:06:14 +01:00
Julien HENRY
9cf13638be SONAR-7389 Add new Sensor API to provide duplication tokens 2016-03-15 15:42:51 +01:00
Duarte Meneses
7b58f2b2b6 SONAR-6719 Wrong casing when indexing individual files lead to issue during scm blame 2016-03-15 14:36:52 +01:00
Simon Brandhof
517952eac9 Drop commons-collections 2016-03-13 18:32:26 +01:00
Simon Brandhof
aff4ee97ac Complete documentation of org.sonar.api.config.Settings
- missing some @CheckForNull
- add javadoc to method getProperties()
2016-03-11 13:50:29 +01:00
Teryk Bellahsene
74688d9af1 SONAR-7343 Change metric SQALE Rating to Maintainability Rating in the UI 2016-03-10 16:24:44 +01:00
Julien Lancelot
b669aac1e3 SONAR-7453 Rename rules remediation function fields in API 2016-03-10 15:20:55 +01:00
Julien Lancelot
79de4ddfda SONAR-7345 Rename Issue debt to effort in API 2016-03-10 10:44:16 +01:00
Julien Lancelot
082d4c7569 SONAR-7427 Add new "effort to reach rating A" characteristic metrics 2016-03-09 11:33:58 +01:00
Julien Lancelot
346cbb0875 SONAR-7426 Add new characteristic rating metrics 2016-03-09 11:33:57 +01:00
Simon Brandhof
e2bf4b5060 SONAR-7364 remove SQALE characteristics from scanner API 2016-03-08 18:04:55 +01:00
Julien Lancelot
524ccdd2cf Fix quality flaws 2016-03-08 13:58:46 +01:00
Julien Lancelot
2f673fadf8 SONAR-7342 Add remediation effort characteristic metrics 2016-03-07 13:52:30 +01:00
Julien Lancelot
42edb969fa SONAR-7337 "sqale_index" and "new_technical_debt" only use "Code Smell" issues 2016-03-07 13:52:30 +01:00
Simon Brandhof
439960f954 Fix quality flaws 2016-03-04 17:48:07 +01:00
Julien Lancelot
2593c337e7 SONAR-7330 When searching active rules by profile, ignore active rule on removed rules 2016-03-04 14:57:45 +01:00
Evgeny Mandrikov
6cc9c291bf Add missing Javadoc
Method was added in SQ 5.3 as part of SONAR-5894.
2016-03-03 11:04:00 +01:00
Julien Lancelot
523a2a4eb9 Fix quality flaws 2016-03-02 15:07:51 +01:00
Simon Brandhof
fedde93aaa SONAR-7021 Merge tests metric domains 2016-03-02 14:49:41 +01:00
Julien Lancelot
a4f8bbcf6f SONAR-7353 Move RuleType to API 2016-03-02 14:19:36 +01:00
Simon Brandhof
13ea3c2d0b SONAR-7267 Do not accept multiple rules with the same key in a repository 2016-03-02 10:40:13 +01:00
Simon Brandhof
902099c8dd Fix quality flaws 2016-03-02 10:33:57 +01:00
Simon Brandhof
08f6ba9457 SONAR-7338 SONAR-7339 SONAR-7340 new metrics to count issues by type 2016-02-29 15:34:50 +01:00
Simon Brandhof
74e26bd277 Fix quality flaws 2016-02-29 10:11:27 +01:00
Simon Brandhof
8dd5740bde SONAR-7333 DB migration to set ISSUES.ISSUE_TYPE 2016-02-26 16:27:24 +01:00
Simon Brandhof
41c79688c9 SONAR-7332 Update RuleDefinition API to handle "Type" field 2016-02-26 16:26:32 +01:00
Simon Brandhof
6e9accbad1 Fix quality flaws 2016-02-22 19:42:42 +01:00
Simon Brandhof
d88d443bbe SONAR-7364 Remove SQALE characteristics from measures and rules 2016-02-22 17:26:24 +01:00
Julien HENRY
accc8fc25d SONAR-5772 New executable_lines_data metric 2016-02-22 10:57:26 +01:00
Teryk Bellahsene
cc00abdb06 SONAR-7191 api/ce/activity max submitted date is inclusive 2016-02-19 11:27:34 +01:00
Julien HENRY
0c2b2d0afe SONAR-7366 Expose InputModule in SensorContext 2016-02-19 10:40:05 +01:00
Julien HENRY
49aae6c054 Remove deprecation notice since replacement API is still @Beta 2016-02-17 15:09:39 +01:00
Jenkins CI
aa82282b15 Automatic merge from branch-5.4
* origin/branch-5.4:
  Refactor a bit ComponentContainer
  stabilize ProjectDrilldownTest
  SONAR-7125 use efficient delete dir code in core, batch and server
  SONAR-7125 use efficient delete dir from NIO in sonar-api
  SONAR-7125 add FileUtils in sonar-core with efficient delete methods
  SONAR-7125 use efficient delete dir method in sonar-process
  SONAR-7125 use nio to clean temp directory at startup
2016-02-15 08:11:57 +01:00
Sébastien Lesaint
9af7d4b6c2 SONAR-7125 use efficient delete dir from NIO in sonar-api 2016-02-12 13:48:36 +01:00
Eric Hartmann
bce6405fcb [maven-release-plugin] prepare for next development iteration 2016-02-09 12:54:51 +01:00
Eric Hartmann
6bb02b28a3 [maven-release-plugin] prepare release 5.4-RC1 2016-02-09 12:54:50 +01:00
Eric Hartmann
11c08e2270 Upgrade version to 5.5-SNAPSHOT 2016-02-09 10:12:57 +01:00
Teryk Bellahsene
27858608f4 SONAR-7112 search box with correct component type order 2016-02-05 11:43:32 +01:00
Simon Brandhof
e4c5970f42 Fix quality gates 2016-02-05 10:15:18 +01:00
Julien Lancelot
ab7a5eb9af SONAR-7242 Update default background color 2016-02-04 14:46:05 +01:00
Julien Lancelot
a153a7058e SONAR-7242 Identity Provider must define a display with icon url abd background color 2016-02-04 10:10:10 +01:00
Simon Brandhof
9c9a8bb5dd SONAR-5582 drop jfreechart 2016-02-02 16:23:42 +01:00
Simon Brandhof
8f7a9ad479 SONAR-7122 Drop the ability to customize the web app context 2016-02-02 16:15:33 +01:00
Simon Brandhof
00b76c8a74 Use INFO level by default in unit tests 2016-02-02 09:27:11 +01:00
Simon Brandhof
21f78c3276 Reduce verbosity of unit test logs
That makes Travis crash (too many logs)
2016-02-01 21:47:53 +01:00
Julien Lancelot
4da794930a SONAR-7249 Identity provider must provide user login 2016-02-01 13:46:16 +01:00
Zeeshan Asghar
7c45001a63 squid:UselessPrenthesesCheck Useless parentheses around expression should be removed to prevent any misunderstanging 2016-01-29 17:09:25 +01:00
Zeeshan Asghar
bf071cefa1 squid:S1213 members of an interface decleration or class should appear in a pre-defined order 2016-01-29 17:01:31 +01:00
Julien Lancelot
1c73879c6b Fix quality flaws 2016-01-29 15:21:56 +01:00
Sébastien Lesaint
c642d3b272 IN claus and group of OR should have constant order and no duplicate 2016-01-29 13:56:54 +01:00
Julien Lancelot
3219b99f2e SONAR-7217 Fail to authenticate user with existing email 2016-01-27 14:49:51 +01:00
Julien Lancelot
6c1bb2ac26 SONAR-7219 Remove sonar.security.updateUserAttributes property 2016-01-27 14:49:13 +01:00
Julien Lancelot
2bcd1b062b SONAR-6226 Create IdentityProvider API 2016-01-25 15:26:49 +01:00
Julien HENRY
a7a4837bcb SONAR-7234 Remove @SupportedEnvironment 2016-01-20 20:12:44 +01:00
Teryk Bellahsene
35f2b685c1 SONAR-7205 WS api/users/search deprecate 'f' field 2016-01-20 16:13:40 +01:00
Simon Brandhof
f5d3461ffd Fix project title in copyright headers 2016-01-13 17:55:44 +01:00
Teryk Bellahsene
0242e1da3f SONAR-7135 WS api/measures/component_tree navigate through components and display measures 2016-01-13 14:13:35 +01:00
Simon Brandhof
0fddc5fa4e Fix quality flaws 2016-01-06 10:52:57 +01:00
Simon Brandhof
6be98b208a Upgrade to parent 26 and new copyright headers 2016-01-05 23:17:36 +01:00
Teryk Bellahsene
6fe8b0cd64 SONAR-7129 WS api/components/tree 2015-12-21 12:27:25 +01:00
Jenkins CI
a4ed263e41 Automatic merge from branch-5.3
* origin/branch-5.3:
  Fix quality flaws in PathUtils
  SONAR-6939 decrease maximum nb of decimal digits to 5
2015-12-14 10:27:28 +01:00
Simon Brandhof
43adad0053 Fix quality flaws in PathUtils 2015-12-14 10:24:59 +01:00
Simon Brandhof
1480dd7727 SONAR-6939 decrease maximum nb of decimal digits to 5
More than 5 breaks the support of big numbers
2015-12-14 09:41:43 +01:00
Eric Hartmann
1342b253ed Upgrade version to 5.4-SNAPSHOT 2015-12-09 13:32:03 +01:00
Teryk Bellahsene
dc20a55e40 SONAR-6820 document page size limitation in WS 2015-12-08 10:23:54 +01:00
Teryk Bellahsene
b70cc26975 Revert "SONAR-6820 WS api/rules/search has a page size limit of 500"
This reverts commit bf7964f6f2.
2015-12-08 10:01:12 +01:00
Teryk Bellahsene
bf7964f6f2 SONAR-6820 WS api/rules/search has a page size limit of 500 2015-12-07 23:22:43 +01:00
Teryk Bellahsene
68b26b6e2f Revert "SONAR-6820 WS api/rules/search has a page size limit of 500"
This reverts commit 5aeeedbda6.
2015-12-07 20:10:25 +01:00
Teryk Bellahsene
5aeeedbda6 SONAR-6820 WS api/rules/search has a page size limit of 500 2015-12-07 18:02:35 +01:00
Simon Brandhof
6cf62f0adc SONAR-6939 ability for plugins to override the decimal scale of float
measures
2015-12-07 17:26:43 +01:00
Sébastien Lesaint
3e4fbed752 SONAR-7031 fix Logger.warn(String, Throwable) not logging exception 2015-12-07 10:44:26 +01:00
Simon Brandhof
9df8ed37f3 Fix quality flaws 2015-12-04 14:26:32 +01:00
Simon Brandhof
61d82e5517 SONAR-7113 API - Support Markdown descriptions in RulesDefinitionXmlLoader 2015-12-04 10:02:43 +01:00
simonbrandhof
faa74b33eb SONAR-7049 check max length of rule/rule param fields 2015-12-04 10:01:59 +01:00
Julien Lancelot
ff867f10ae SONAR-7028 Update default value of sonar.technicalDebt.ratingGrid
Default value is now "0.05,0.1,0.2,0.5", it was "0.1,0.2,0.5,1"
2015-12-03 15:23:47 +01:00
Julien HENRY
a70899910e SONAR-6933 Drop newDuplication() beta API 2015-12-01 16:38:08 +01:00
Teryk Bellahsene
6e8c98eb49 Improve Dateutils code coverage 2015-11-26 14:38:34 +01:00
Simon Brandhof
40b5c0d064 SONAR-6591 Add SQALE metadata to XML rule format 2015-11-25 16:42:46 +01:00
Teryk Bellahsene
7fb14c3d55 SONAR-7039 Generate user tokens 2015-11-23 17:26:29 +01:00
Duarte Meneses
fa7c920342 SONAR-7037 Improve logging on authentication failure 2015-11-20 16:51:47 +01:00
Julien HENRY
1787a07549 SONAR-7057 Delete deprecated org.sonar.api.checks.NoSonarFilter 2015-11-20 13:37:25 +01:00
Duarte Meneses
6c30b79fcd SONAR-6752 Deprecate org.sonar.batch.issue.IssueFilters extension point and add new one 2015-11-18 17:20:42 +01:00
Julien HENRY
01570a4518 SONAR-7023 Restore task API 2015-11-17 18:18:21 +01:00
Stas Vilchik
84db57bbdf SONAR-7025 Move "Public API" metric to the "Documentation" category 2015-11-17 09:53:40 +01:00
Duarte Meneses
d986919813 SONAR-5894 Support symbol references with different length 2015-11-17 09:36:04 +01:00
Duarte Meneses
abcbe0df11 SONAR-6887 Make it clear in SCM API that date and revision are mandatory on line blame 2015-11-16 17:28:57 +01:00
Duarte Meneses
55d74d47d9 SONAR-6183 Validate that coverage measures are correct regarding line number and resource 2015-11-16 15:21:43 +01:00
Duarte Meneses
ff15786ca7 SONAR-5676 Improve validation of highlighting API 2015-11-16 15:12:13 +01:00
Julien HENRY
51269532c3 Fix some quality flaws 2015-11-10 16:23:52 +01:00
Teryk Bellahsene
032e589b40 SONAR-6916 Improve documentation by adding mandatory information on WS 2015-11-09 10:12:58 +01:00
Teryk Bellahsene
970dbe45c0 SONAR-6916 Enforce some mandatory web service metadata 2015-11-09 10:12:58 +01:00
Julien HENRY
d24589f13f SONAR-6989 Feed the file duplication index in the batch report 2015-11-09 08:41:26 +01:00
Julien HENRY
266e3139c3 SONAR-6998 Remove injection of MavenProject in module IoC container 2015-11-05 18:37:51 +01:00
Teryk Bellahsene
94f3dadb92 Revert "SONAR-6916 Enforce some mandatory web service metadata"
This reverts commit 3608f17625.
2015-11-05 16:50:32 +01:00
Teryk Bellahsene
9e5f057ba4 Revert "SONAR-6916 Improve documentation by adding mandatory information on WS"
This reverts commit 70b1e1b153.
2015-11-05 16:50:17 +01:00
Teryk Bellahsene
70b1e1b153 SONAR-6916 Improve documentation by adding mandatory information on WS 2015-11-05 15:45:42 +01:00
Teryk Bellahsene
3608f17625 SONAR-6916 Enforce some mandatory web service metadata 2015-11-05 15:45:41 +01:00
Teryk Bellahsene
bd42c02478 SONAR-6954 Add 'since' tag to WS parameters 2015-11-05 14:30:41 +01:00
Julien HENRY
1d2d50d924 Don't load Decorators in pico 2015-11-05 09:34:48 +01:00
Julien HENRY
e7885c175b SONAR-6658 Remove ProjectClasspath, ProjectFileSystem, sonar.binaries, sonar.libraries 2015-11-05 09:34:47 +01:00
Teryk Bellahsene
859348e3f0 SONAR-6462 Add deprecated flag on WS and WS parameters 2015-11-04 16:31:04 +01:00
Duarte Meneses
7f652d4d5e SONAR-6931 Speed up issues mode by scanning only changed files 2015-11-04 11:07:44 +01:00
Julien Lancelot
776130ebe8 SONAR-6355 Period 1 is now the leak period
Period 1 is renamed 'Leak Period' and set to 'since previous version'
Period 2 is now set to 'since previous analyis'
Period 3 is now set to 'over 30 days'
2015-10-30 11:25:29 +01:00
Simon Brandhof
1f27cc9f4a Merge remote-tracking branch 'origin/branch-5.2' 2015-10-30 09:21:54 +01:00
Simon Brandhof
9d0db7ccf1 Complete javadoc of RulesDefinitionXmlLoader 2015-10-29 22:53:18 +01:00
Thomas Vérin
fb4a61ba22 [maven-release-plugin] prepare for next development iteration 2015-10-27 14:46:02 +01:00
Thomas Vérin
b6dbbdaaf2 [maven-release-plugin] prepare release 5.2-RC4 2015-10-27 14:46:01 +01:00
Stas Vilchik
c37f61652a Merge remote-tracking branch 'origin/branch-5.2' 2015-10-22 10:18:58 +02:00
Julien Lancelot
146b839342 Add the possibility to log a WARN message with an exception 2015-10-21 18:45:43 +02:00
Thomas Vérin
5945ad454b [maven-release-plugin] prepare for next development iteration 2015-10-20 15:47:34 +02:00
Thomas Vérin
ef358b0023 [maven-release-plugin] prepare release 5.2-RC3 2015-10-20 15:47:33 +02:00
Jenkins CI
f0f585d25d Automatic merge from branch-5.2
* origin/branch-5.2:
  fix reset of TreeRootHolderRule + reduce duplication
  reduce polling time of Compute Engine scheduler from 10s to 2
  add name to thread used by NotificationService
  fix duplicated SqlSessionFactory in memory
  minor fix in MutableAnalysisMetadataHolder#setAnalysisDate javadoc
  do not reload profile details when selecting a project, fix tooltips
  improve readability of language selection on the profiles page
  fix capitalization inconsistency of the notification dispatcher names
  fix error in JsonWriter usage description in javadoc of WebService
2015-10-19 08:01:13 +02:00
Sébastien Lesaint
72615bc2f2 fix error in JsonWriter usage description in javadoc of WebService 2015-10-16 13:08:08 +02:00
Jenkins CI
2050de252f Automatic merge from branch-5.2
* origin/branch-5.2:
  SONAR-6880 Fix return_to
  fix the components page of just provisioned project
  Add missing commons-email dependency for plugins using API < 5.2
  SONAR-6277 Fix incorrect offset conversion with old Mac line ends '\r'
2015-10-14 17:29:08 +02:00
Julien HENRY
9b4bff607f SONAR-6277 Fix incorrect offset conversion with old Mac line ends '\r' 2015-10-14 15:46:59 +02:00
Thomas Vérin
5454b43be7 Upgrade version to 5.3-SNAPSHOT 2015-10-13 13:54:26 +02:00
Thomas Vérin
bc488dae24 [maven-release-plugin] prepare for next development iteration 2015-10-13 12:06:23 +02:00