Commit Graph

393 Commits

Author SHA1 Message Date
Zipeng WU
7ce287cb9e SONAR-13941 Move and adapt application CE processor 2020-10-23 20:08:29 +00:00
Julien Lancelot
ffb1cacdaf SONAR-13936 Fix quality flaws after merge to master 2020-10-19 20:09:10 +00:00
Duarte Meneses
7de02f77f4 SONAR-13936 Drop some Organization code related to Users/Groups/Permission 2020-10-16 20:07:40 +00:00
Pierre
13d76f2a2c SONAR-13903 Remove use of organizations in Quality Profiles and Active Rules 2020-10-05 20:07:42 +00:00
Duarte Meneses
9cf5918d47 SONAR-13861 Remove column 'key_type" from the table 'project_branches' 2020-09-30 20:07:46 +00:00
Michal Duda
0ecd861055 SONAR-13862 Add a WS for dismissing analysis warning by the current user 2020-09-29 20:07:42 +00:00
Julien Lancelot
bc413ee3db SONAR-13869 Add a flag in telemetry to know if there's some c/c++ unanalyzed code
* SONAR-13869 Compute number of unanalyzed C and C++ files measures
* SONAR-13869 Send unanalyzed C and C++ flags in Telemetry
2020-09-29 20:07:42 +00:00
Julien Lancelot
dae0f392c7 SONAR-13862 Add dismiss information to 'api/ce/analysis_status' WS 2020-09-29 20:07:41 +00:00
Michal Duda
1c53c91568 SONAR-13867 Raise analysis warning in CE when scanner report has unanalysed C/C++ files 2020-09-29 20:07:41 +00:00
Duarte Meneses
6ba838b1da SONAR-13450 Deprecate 'id' parameter in api/user_groups/update 2020-09-22 20:07:12 +00:00
Duarte Meneses
d189558e9c SONAR-13643 Save plugins with type 2020-09-18 20:07:13 +00:00
Michal Duda
2545e06845 SONAR-13867 revert 2020-09-17 20:07:12 +00:00
Michal Duda
ecadc3d27d SONAR-13867 Raise analysis warning in CE when scanner report has unanalysed C/C++ files 2020-09-17 20:07:12 +00:00
Duarte Meneses
99be108861 SONAR-13785 Complete migration of file sources with a DB migration 2020-08-24 20:06:06 +00:00
Pierre Guillot
df64c184d1 SONAR-13759 use uuid instead of id + use the real schema in test instead of a mocked one.. (#3048) 2020-08-13 20:06:34 +00:00
Duarte Meneses
a340aab5a9 SONAR-13699 Purge profiling is missing 2020-07-31 20:06:11 +00:00
Julien Lancelot
191fde8d2c SONAR-13591 Fix copy of issue tags from rule tags 2020-07-09 20:05:35 +00:00
Jacek
56f5d246da SONAR-13444 Update 'need_issue_sync' column for project_branches when analysis indexed issues 2020-06-26 20:04:58 +00:00
Pierre
e4b519ed12 SONAR-13444 background tasks for issue indexation implementation 2020-06-26 20:04:56 +00:00
Duarte Meneses
3352e9f378 SONAR-13390 SONAR-13391 New Code Reference Branch 2020-06-11 20:04:56 +00:00
Michal Duda
bf05b3c7c2 SONAR-13221 change PK of RULES and update FK 2020-05-25 20:05:22 +00:00
Jacek
88e71c8c97 SONAR-13221 drop id column of USERS table 2020-05-25 20:05:22 +00:00
Jacek
0e6876dcb3 SONAR-13221 change ORGANIZATION_MEMBERS user_id FK to user_uuid 2020-05-25 20:05:21 +00:00
Pierre
ac532a55b9 SONAR-13221 change PK of quality gates from id to uuid, update FKs, update API 2020-05-25 20:05:21 +00:00
Duarte Meneses
6b41a01454 SONAR-13221 Metrics 2020-05-25 20:05:20 +00:00
Duarte Meneses
bde9afd00f SONAR-13221 Feedback from review and fix tests 2020-05-25 20:05:20 +00:00
Duarte Meneses
249c040bad SONAR-13221 Quality gate conditions 2020-05-25 20:05:19 +00:00
Duarte Meneses
d94ddd98de SONAR-13221 File sources 2020-05-25 20:05:19 +00:00
Julien Lancelot
e3109b5fa3 SONAR-13221 Set primary key of 'SNAPSHOTS' table to column 'UUID' and drop 'ID' 2020-05-25 20:05:18 +00:00
Julien Lancelot
efa3b41443 SONAR-13221 Set primary key of 'ISSUES' table to column 'KEE' and drop 'ID'
* SONAR-13221 Set primary key of 'ISSUES' table to column 'KEE' and drop 'ID'
* SONAR-13221 Move events migration in a dedicated package
2020-05-25 20:05:18 +00:00
Julien Lancelot
42c3745035 SONAR-13221 Set primary key of 'EVENTS' table to column 'UUID' and drop 'ID' 2020-05-25 20:05:18 +00:00
Duarte Meneses
f2bf93dff3 SONAR-13262 P/R analysis fails if top directory as same name as project 2020-04-17 20:03:43 +00:00
Duarte Meneses
32c274e7d7 SONAR-13193 Stop using legacy project ID and use project UUID instead 2020-04-14 20:04:05 +00:00
Duarte Meneses
d8081f847f SONAR-13193 Stop using legacy project ID and use project UUID instead 2020-04-14 20:04:04 +00:00
Michal Duda
d662d0c026 SONAR-13272 fix issue with setting some properties through env variables 2020-04-14 20:04:04 +00:00
Duarte Meneses
74384e6705 SONAR-12691 Don't persist project measures that are not historical 2020-03-30 20:03:43 +00:00
Duarte Meneses
7294268682 SONAR-12691 Minor refactoring 2020-03-30 20:03:43 +00:00
Duarte Meneses
4f5231d181 SONAR-12691 Dont delete past measures of directories and files 2020-03-30 20:03:43 +00:00
Duarte Meneses
50d6bfbc65 SONAR-12691 Minor cleanup 2020-03-30 20:03:42 +00:00
Julien HENRY
a5e56c8d40 SONAR-13214 Remove org.sonar.api.config.Settings from the API 2020-03-23 20:03:41 +00:00
Pierre
396a88701b fix java:S2259 possible NPE 2020-03-13 20:04:14 +00:00
Julien Lancelot
ec384a1e69 SONAR-13160 Fix display of Portfolio Admin page when project contains UTF-8 characters 2020-03-12 20:04:29 +00:00
Duarte Meneses
0433161433 SONAR-12928 Persistence of live measures is a performance hotspot on Oracle and SQLServer 2020-03-11 20:04:31 +00:00
Sébastien Lesaint
d961c0a405 SONAR-13093 Optimize cache of issues in Compute Engine 2020-03-11 20:04:31 +00:00
Jacek
f2911115af SONAR-13126 add summary of analysis to GH discussion tab 2020-03-06 20:04:32 +00:00
Julien Lancelot
1f0fdb5b78 SONAR-12960 Do not compute Security Hotspots Reviewed when 0 hotspots 2020-02-21 20:46:15 +01:00
Duarte Meneses
4882ea80f8 SONAR-11639 Some directories are not collapsed in pull requests 2020-02-17 20:46:14 +01:00
Julien Lancelot
3ebf6d2303 SONAR-12960 Make Security Review Rating more intuitive on Portfolios 2020-02-11 20:46:12 +01:00
Julien Lancelot
c51fa2468c SONAR-12962 Compute Security Review measures on Applications 2020-02-11 20:46:12 +01:00
Julien Lancelot
5401ba28ca SONAR-12962 Compute Security Review measures on new code 2020-02-11 20:46:11 +01:00
Julien Lancelot
49c4ddbfef SONAR-12962 Compute new Security Review measures on Projects 2020-02-11 20:46:10 +01:00
Duarte Meneses
5cb5deb5e5 SONAR-12802 SONAR-12927 Fix moved file detection for cobol and when calculating new lines 2020-02-07 20:46:16 +01:00
Duarte Meneses
6ac9d2618e SONAR-12689 change WS to use ProjectDto 2020-01-31 20:46:09 +01:00
Michal Duda
1ad6b11311 SONAR-12689 migrated tags, updated test framework 2020-01-31 20:46:09 +01:00
Duarte Meneses
ace9a50d55 SONAR-12689 Separate storage of projects/apps from their components and branches 2020-01-31 20:46:09 +01:00
Sébastien Lesaint
ac4ed3112b SONAR-12723 default status of Hotspot is TO_REVIEW even when external 2020-01-13 20:46:34 +01:00
Jacek
97fd4b10e7 SONAR-12723 Filter hotspots in api/issues/bulk_change 2020-01-13 20:46:34 +01:00
Jacek
ec1f6fbe74 SONAR-12745 Adjust changes on my issue email notification for Security Hotspots 2020-01-13 20:46:28 +01:00
Jacek
114efaae21 SONAR-12725 drop manual vulnerabilities
* drop manual vulnerabilities
* remove issues `from_hotspot` column usage
2020-01-13 20:46:26 +01:00
Wouter Admiraal
3f6f549627 Format all headers for 2020 2020-01-07 20:46:09 +01:00
Duarte Meneses
4bba4b305c SONAR-12788 New code period is badly set when there's only one version 2019-12-11 20:46:08 +01:00
Duarte Meneses
d1fd889554 Fix code quality issues and reduce dependency on Guava 2019-12-10 20:46:09 +01:00
Duarte Meneses
f86a109458 SONAR-12690 Detection of changed lines between branches without SCM not working with Cobol 2019-12-09 20:46:19 +01:00
Duarte Meneses
ebdae1d5b7 SONAR-12673 Fix issue management 2019-12-09 20:46:17 +01:00
Michal Duda
39f7a38219 SONAR-12636 set excludeFromPurge on branch creation based on global settings 2019-12-09 20:46:15 +01:00
Duarte Meneses
4244d2ea76 SONAR-12679 Use single branch type 2019-12-09 20:46:15 +01:00
Duarte Meneses
a30ba90a56 SONAR-12627 Issues are 'new' if they involve a location on a new line 2019-12-09 20:46:15 +01:00
Duarte Meneses
63c9fb57a0 SONAR-12626 remove references to SLB 2019-12-09 20:46:15 +01:00
Duarte Meneses
0a6525b3f6 SONAR-12668 Drop 'sonar.branch.target' 2019-12-09 20:46:15 +01:00
Duarte Meneses
1b7c2ba7e1 SONAR-12626 CE and Web no longer support SLBs 2019-12-09 20:46:14 +01:00
Sébastien Lesaint
b5725e190b SONAR-12701 upgrade H2 from 1.3 to 1.4 2019-11-18 20:21:08 +01:00
Jacek
1a260e18bb SONAR-12383 Test libraries update
* org.awaitility:awaitility:3.1.6 -> 4.0.1
* org.assertj:assertj-core:3.12.2 -> 3.13.2
* org.jsoup:jsoup:1.11.3 -> 1.12.1
* org.mockito:mockito-core:2.22.0 - > 3.1.0
* org.xmlunit:xmlunit-core:2.5.1 -> 2.6.3
* org.xmlunit:xmlunit-matchers:2.5.1 -> 2.6.3
* org.tmatesoft.svnkit:svnkit:1.9.0 -> 1.10.1
2019-11-12 20:21:06 +01:00
Jacek
9e5e816c69 SONAR-12383 Libraries with security fixes
* io.jsonwebtoken:jjwt-api:0.10.5 -> 0.10.7
* com.auth0:java-jwt:3.3.0 -> 3.8.3
* org.bouncycastle:bcpkix-jdk15on:1.59 ->1.64
2019-11-12 20:21:06 +01:00
Jacek
fc3085b6cb SONAR-12383 Selenide update to 5.2.3 and Guava update to 28.1-jre 2019-11-12 20:21:06 +01:00
Duarte Meneses
3e23d75c7c minor fixes 2019-10-21 20:21:09 +02:00
Sébastien Lesaint
ab6fd46a1f fix missing class constructor (mostly GSon serialized classes) 2019-10-14 20:21:05 +02:00
Sébastien Lesaint
140e84fbdf fix some quality flaws on the new code period 2019-10-09 20:21:06 +02:00
Jacek
1c6c03d9ed Fixing SonarQube analysis issues (#2084) 2019-09-24 20:21:18 +02:00
Duarte Meneses
d53977760b Improve code quality and test coverage 2019-09-24 20:21:15 +02:00
Jacek
dd1fcb2103 SONAR-12406 - remove 'sonar.leak.period' property 2019-09-24 20:21:14 +02:00
Duarte Meneses
d650e5eeb4 Feature/dm/migrate new code period (#2017)
* SONAR-12396 List new code periods for all branches with effective current values

* SONAR-12347 Migrate old definitions of leak period
2019-09-24 20:21:14 +02:00
Duarte Meneses
7eaf366fa7 SONAR-12394 Load analysis new code period based on hierarchy of New Code Period settings 2019-09-24 20:21:13 +02:00
Duarte Meneses
14bd90f47e SONAR-12364 Fix update of values 2019-09-24 20:21:13 +02:00
Jacek
545d742d5d SONAR-12364 - remove manual baseline column from usage 2019-09-24 20:21:12 +02:00
Jacek
ba41dbfdf3 SONAR-12364 - switch from manual baseline to New Code Period concept 2019-09-24 20:21:12 +02:00
Duarte Meneses
53293c67e5 Simplify MeasureRepository interface 2019-09-04 20:21:05 +02:00
Duarte Meneses
a16d96bc36 Use Trove for memory efficient Map 2019-09-04 20:21:05 +02:00
Duarte Meneses
f0f1986388 Create memory efficient implementations of Measures 2019-09-04 20:21:05 +02:00
Duarte Meneses
a50c809ab9 Cache measures for ratings 2019-09-04 20:21:05 +02:00
Duarte Meneses
55a5f78579 Use arrays insted of set for Duplicates 2019-09-04 20:21:04 +02:00
Duarte Meneses
2ffcee0a05 Fix tests 2019-09-04 20:21:04 +02:00
Duarte Meneses
3c809addb8 Simplify keys of measure repository 2019-09-04 20:21:04 +02:00
Duarte Meneses
bc3f8a1cb0 Use CompactMap instead of HashMap for Measures 2019-09-04 20:21:04 +02:00
Duarte Meneses
1d02b47100 Use arrays instead of Map for SCM info 2019-09-04 20:21:04 +02:00
Duarte Meneses
013bb7998a Cache common Doubles in Measures 2019-09-04 20:21:04 +02:00
Duarte Meneses
29c935c7fd Intern strings in Components and Changesets 2019-09-04 20:21:03 +02:00
Sébastien Lesaint
7a1b1d1728 use testFixtures instead of test configuration of ce-task-projectanalysis 2019-09-02 20:21:05 +02:00
Sébastien Lesaint
b9f3ad2e06 use testFixtures instead of test configuration of ce-task 2019-09-02 20:21:05 +02:00
Sébastien Lesaint
4d38fa7629 use testFixtures instead of test configuration of server-common 2019-09-02 20:21:04 +02:00
Sébastien Lesaint
08cfcdeffd drop now useless module sonar-db-testing 2019-09-02 20:21:04 +02:00