Commit Graph

393 Commits

Author SHA1 Message Date
Sébastien Lesaint
2b029d9b12 use testFixtures instead of test configuration of db-dao 2019-09-02 20:21:04 +02:00
Sébastien Lesaint
b789401479 use testFixtures instead of test configuration of db-core 2019-09-02 20:21:04 +02:00
Sébastien Lesaint
1e175c1f25 SONAR-12423 fix misleading naming in notification stat classes 2019-08-30 20:21:02 +02:00
Sébastien Lesaint
b4694fd3ae remove need to add H2 dependency when depending on sonar-db-testing 2019-08-14 20:21:15 +02:00
Sébastien Lesaint
c980b1b86b remove all other dependencies onto sonar-server
was causing funky dependency tree for tests (almost loop)
dependency was sometimes added for transitive dependencies
module was super large yet hardly a couple classes were used
2019-08-14 20:21:15 +02:00
Sébastien Lesaint
5334895ce0 remove dependency from sonar-webserver-webapi to sonar-server 2019-08-14 20:21:15 +02:00
Sébastien Lesaint
028b9c7723 move WrapInSingleElementArray to the single module where it's used 2019-08-14 20:21:15 +02:00
Michal Duda
05c8a2e004 SONAR-12197 completely drop "sonar.branch" code 2019-08-12 20:21:13 +02:00
Sébastien Lesaint
a5c7558400 remove DBUnit 2019-08-09 20:21:24 +02:00
Sébastien Lesaint
2ad2359c06 SONAR-9882 column should be named ANALYSIS_PROPERTIES.ANALYSIS_UUID 2019-07-31 20:21:14 +02:00
Jacek
eb9b158713 SONAR-8115 storing project quality gate in table (#1919)
* migrate properties to project_qgate table

* use project_qgates table instead of property

* change usage of project quality gate in CE
2019-07-31 20:21:14 +02:00
Sébastien Lesaint
8d54befbab SONAR-11722 webhook posttask adds log statistics 2019-07-30 20:24:28 +02:00
Sébastien Lesaint
c310acf604 SONAR-11722 add ability for Post tasks to add log statistics 2019-07-30 20:24:27 +02:00
Sébastien Lesaint
ef1f71f3de SONAR-17722 add post tag logs 2019-07-30 20:24:27 +02:00
Duarte Meneses
e4c5ada51d Clean deps 2019-07-17 20:21:13 +02:00
Duarte Meneses
6ce2c8689b Extract implementation from plugin API and create new module sonar-plugin-api-impl 2019-07-12 20:21:15 +02:00
Duarte Meneses
93dc977090 Extract implementation from plugin API and create new module sonar-plugin-api-impl 2019-07-12 20:21:14 +02:00
Michal Duda
97a815175c Merge pull request #1789 from SonarSource/fix/md/SONAR-11845-project-import-should-handle-external-issues
SONAR-11845 project import should handle external issues
2019-06-28 08:45:58 +02:00
Sébastien Lesaint
83b21b6117 SONAR-12081 fail CE processing if branch/pr on Community Edition 2019-06-28 08:45:57 +02:00
Duarte Meneses
9576499703 SONAR-11458 Log analysis warning when cross-project duplication detection is used 2019-06-28 08:45:45 +02:00
Evgeny Mandrikov
aec38c1235 Remove accidentally committed temporary files 2019-06-28 08:45:39 +02:00
Julien Lancelot
a02e8181bf SONAR-12131 Compute Security Review Rating measures on portfolios and applications 2019-06-14 20:21:11 +02:00
Julien Lancelot
f6028da201 SONAR-12131 Compute Security Review Rating measures on projects
* Compute Security Review Rating measures on projects
* Live update Security Review Rating measures
2019-06-14 20:21:10 +02:00
Duarte Meneses
9155f18ee4 SONAR-12188 Density of duplications is calculated with number of lines of test files 2019-06-13 20:21:14 +02:00
Sébastien Lesaint
b64932e6d0 SONAR-11745 deletion of disable component's child tables is resilient 2019-06-13 20:21:13 +02:00
Evgeny Mandrikov
e7788ee7ea Remove useless declarations of resource filters from build 2019-05-29 20:21:14 +02:00
Julien Lancelot
8a6f82e514 SONAR-9898 Deprecate org.sonar.api.i18n.I18n 2019-05-29 20:21:13 +02:00
Duarte Meneses
31b6a958fb SONAR_11996 Fallback to line comparison to detect new lines in Short Lived Branches and Pull Requests 2019-05-24 20:21:09 +02:00
Simon Brandhof
2ea053692e SONAR-11950 do not accept empty string for revision in CE 2019-05-22 20:21:19 +02:00
Michal Duda
2410133d00 SONAR-11950 copy revisions migration 2019-05-22 20:21:17 +02:00
Michal Duda
8f699a85b3 SONAR-11950 add scm revision scanner parameter 2019-05-22 20:21:17 +02:00
Simon Brandhof
ad48aec871 SONAR-11950 add revision to webhooks 2019-05-22 20:21:17 +02:00
Simon Brandhof
edbce3b7a4 Fix Quality flaws 2019-05-22 20:21:16 +02:00
Julien Lancelot
7a547418b7 SONAR-12026 Security Hotspots are created with resolution "To Review" 2019-05-22 20:21:13 +02:00
Benoît Gianinetti
a9cb1fca0c SONAR-11966 Add security hotspot to Github Checks 2019-05-06 11:01:14 +02:00
Duarte Meneses
67bbf94270 Upgrade assertj-core to 3.12.2 and assertj-guava to 3.2.1 for compatibility with Java 11 2019-04-30 20:21:07 +02:00
Julien HENRY
7beb7085f0 Clean old remains of dev cockpit 2019-04-25 20:21:05 +02:00
Julien Lancelot
77c27da687 SONAR-11885 Fix computation of security_hotspots measures
* SONAR-11892 Reorganize ITs
* SONAR-11892 Do not include resolved security hotspots in measure
* SONAR-11892 Update security_hotspots measures in live
2019-04-23 20:21:11 +02:00
Julien Lancelot
d4f5c337dc SONAR-11892 Compute Security Hotspot measures 2019-04-23 20:21:10 +02:00
Julien Lancelot
66bab766d8 SONAR-11925 Includes hotspots by default in the response of api/issues/search 2019-04-23 20:21:10 +02:00
Julien HENRY
10be2d0810 SONAR-11858 Make a UT more reliable 2019-04-23 20:21:08 +02:00
Julien HENRY
0d17e454b4 SONAR-11859 Fix issue changelog 2019-04-23 20:21:08 +02:00
Duarte Meneses
2a87f9a8ef SONAR-11858 Fix quality issues 2019-04-23 20:21:08 +02:00
Julien HENRY
bec219de08 SONAR-11859, SONAR-11879 Track issues with the target branch 2019-04-23 20:21:07 +02:00
Duarte Meneses
81638702d6 SONAR-11856 Store the "true" target branch in the scanner report to display it properly 2019-04-23 20:21:07 +02:00
Julien HENRY
afe312e4cb SONAR-11858 Apply light issue tracking with siblings for all branches 2019-04-23 20:21:07 +02:00
Sébastien Lesaint
58bb4b37da SONAR-11757 single notification for FPs and changes on my issues 2019-04-23 10:37:57 +02:00
Sébastien Lesaint
523573e08f SONAR-11753 EmailNotificationChannel ignore empty recipient requests 2019-04-23 10:37:56 +02:00
Sébastien Lesaint
7fc90932dc SONAR-11929 do not send issue notifications on PRs and short branches 2019-04-23 10:37:56 +02:00
Simon Brandhof
0a0784cbb6 SONAR-11916 replace class EmailTemplate by interface 2019-04-23 10:37:56 +02:00
Simon Brandhof
592c6dbcca SONAR-11916 Drop unused Java API EmailTemplate 2019-04-23 10:37:55 +02:00
Simon Brandhof
09a93fb520 SONAR-11930 notifs on branches/PR are ignored if subscribed on project 2019-04-23 10:37:55 +02:00
Sébastien Lesaint
dfae66e019 SONAR-11753 factor code in email NotificationHandler implementations 2019-04-23 10:37:54 +02:00
Sébastien Lesaint
41c0731011 SONAR-11753 move "failed analysis" notification to email specific algo 2019-04-23 10:37:54 +02:00
Sébastien Lesaint
7aa67c7696 SONAR-11753 move "QP change" notification to email specific algo 2019-04-23 10:37:54 +02:00
Sébastien Lesaint
bab362aa98 SONAR-11753 move issue change notifications to email specific algo 2019-04-23 10:37:53 +02:00
Sébastien Lesaint
50957cdd8a SONAR-11753 NewIssuesNotification must not do SQL requests
for data which is either already retrieved by SendIssueNotificationStep (assignees) or available in the CE task's container
2019-04-23 10:37:53 +02:00
Sébastien Lesaint
5a4caef0bc SONAR-11753 NewIssuesNotificationFactory is not used in Web 2019-04-23 10:37:52 +02:00
Sébastien Lesaint
5317ebf32d SONAR-11753 move "New Issues" notification to email specific algo 2019-04-23 10:37:52 +02:00
Sébastien Lesaint
d39e02878c SONAR-11753 move "My new issues" notification to email specific algo 2019-04-23 10:37:38 +02:00
Simon Brandhof
c4d959d2bc SONAR-10462 Postgres deadlock when updating last used date of Q profile 2019-04-10 20:22:48 +02:00
Simon Brandhof
251688c711 SONAR-11873 Memory leak when Compute Engine persists file duplications 2019-03-29 20:21:42 +01:00
Janos Gyerik
f1c3675ebc SONAR-11631 Replace codePeriodVersion with buildString 2019-03-19 20:21:27 +01:00
Janos Gyerik
f922056110 SONAR-11631 Persist sonar.buildString in database 2019-03-19 20:21:27 +01:00
Sébastien Lesaint
a8f011b7f5 SONAR-11791 use single type ES indices 2019-03-19 20:21:19 +01:00
Duarte Meneses
4329c670ce SONAR-11549 Remove code that load old scanner reports with modules (MMF-365) 2019-03-15 20:20:55 +01:00
Duarte Meneses
08570ac268 SONAR-11664 Remove metric 'directories' 2019-03-15 20:20:55 +01:00
Julien Lancelot
11321c3805 SONAR-10722 Clean code by removing portfolios in NewCoverageMeasuresStep 2019-03-14 20:21:40 +01:00
Simon Brandhof
52596cea90 SONAR-11814 speed-up upsert of live measures on PostgreSQL 2019-03-13 20:21:23 +01:00
Duarte Meneses
4b841d5086 SONAR-11776 Quality Gate failure conditions should be sorted 2019-03-11 20:21:04 +01:00
Duarte Meneses
6d364c3266 SONAR-11776 Quality Gate failure conditions should be sorted 2019-03-11 20:21:04 +01:00
Duarte Meneses
579871c522 Minor fixes 2019-03-11 20:21:03 +01:00
Janos Gyerik
0cc9db4a00 SONAR-11706 Add metrics to PrAnalysisData and PrChangedData 2019-03-11 20:21:03 +01:00
Duarte Meneses
b0eda21c27 SONAR-11707 Create new metrics for issue count and fix ITs 2019-03-11 20:21:02 +01:00
Duarte Meneses
1634f0473b SONAR-11707 Replace hardcoded QG with project's QG for SLB/PRs 2019-03-11 20:21:02 +01:00
Julien HENRY
f6b2a269c4 SONAR-11795 Drop persistit and move coverage measures computation to CE side 2019-03-08 20:20:55 +01:00
Julien Lancelot
ee23b84886 SONAR-11747 Fix portfolio computation when some projects are in warning 2019-03-08 20:20:55 +01:00
Julien HENRY
9e05ef0fb0 SONAR-11794 Remove old deprecated metrics 2019-03-06 11:30:44 +01:00
Duarte Meneses
f02eeba4ef SONAR-11561 Allow more special characters in branch names 2019-03-06 11:30:44 +01:00
Julien HENRY
694f338829 SONAR-11677 Simple issue reporting on PR/SLB with no reference analysis
Only keep issues having at least a location on a changed line
2019-02-18 20:20:55 +01:00
Janos Gyerik
0f580cd4d1 SONAR-11683 Do not resolve version for SLB and PR 2019-02-13 20:20:54 +01:00
Janos Gyerik
cd8bcac346 SONAR-11653 Use the manual baseline in analysis when defined
and populates the period fields of the analysis when baseline is manual
2019-02-11 09:11:49 +01:00
Sébastien Lesaint
171e241f14 SONAR-11631 rename constants to codePeriodVersion in notifications 2019-02-11 09:11:47 +01:00
Sébastien Lesaint
9d3e3846a8 SONAR-11631 read and persist codePeriodVersion from report 2019-02-11 09:11:47 +01:00
Sébastien Lesaint
c0594dbcdf SONAR-11631 add SnapshotDto.projectVersion 2019-02-11 09:11:47 +01:00
Sébastien Lesaint
18297ee25c SONAR-11631 rename snapshot's version to codePeriodVersion 2019-02-11 09:11:47 +01:00
Sébastien Lesaint
47ebff25c3 SONAR-11631 replace Component.version by Metadata.projectVersion
in scanner report
2019-02-11 09:11:46 +01:00
Janos Gyerik
3373e5778a Drop unused method 2019-02-11 09:11:46 +01:00
Duarte Meneses
01f2c2e66d SONAR-11439 Analysis of long branch doesn't trigger purge of dependent short branches and pull requests 2019-02-11 09:11:45 +01:00
Benoît Gianinetti
abb6aa64f9 SONAR-11515 Drop support for old reports 2019-02-11 09:11:42 +01:00
Sébastien Lesaint
59ca17e515 SONAR-11514 drop support for old reports 2019-02-11 09:11:42 +01:00
Jean-Baptiste Lièvremont
c173166cd3 SONARCLOUD-312 Use key instead of UUID to send downgrade feedback (#1140) 2019-01-18 20:21:03 +01:00
Michal Duda
829f3ccf0c replace Protobuf.setNullable with Optional.ofNullable 2019-01-18 20:21:02 +01:00
Julien Lancelot
b5cc291883 SONAR-11632 Remove api/tests WS
- Drop api/tests WS
- Drop persistance of tests and coverage details from compute engine
- Drop tests and coverage details from scanner report
2019-01-17 20:21:00 +01:00
Julien Lancelot
b289aefd1a Fix wrong import of StringUtils 2019-01-16 09:43:13 +01:00
Julien HENRY
e4debe10e4 SONAR-11463 Fix directories metric computation 2019-01-16 09:43:12 +01:00
Stas Vilchik
bd541850bc change year in file headers 2019-01-16 09:43:11 +01:00
Julien HENRY
4db8bd9ecf SONAR-11463 Change FileMoveDetection to use uuids instead of keys 2019-01-16 09:43:10 +01:00
Julien HENRY
0e834f9196 SONAR-11463 Update scope of migrated components 2019-01-16 09:43:10 +01:00
Julien HENRY
c79da6a527 SONAR-11463 Prefers existing DB key to migrated ones 2019-01-16 09:43:09 +01:00
Julien HENRY
b295a987c3 SONAR-11463 Ignore disabled modules to decide if a migration should be done 2019-01-16 09:43:09 +01:00
Julien HENRY
bea20cce61 SONAR-11464 Fix component short name on PR/SLB 2019-01-16 09:43:09 +01:00
Julien HENRY
11c2bb9e88 SONAR-10180 Drop the ability to keep history of directory measures 2019-01-16 09:43:09 +01:00
Julien HENRY
8c64cded89 SONAR-11463 Don't consider disabled components during migration 2019-01-16 09:43:09 +01:00
Duarte Meneses
88f743a262 Improve code quality 2019-01-16 09:43:08 +01:00
Julien HENRY
6067a46899 SONAR-11459 Migrate module and folder issues to the root 2019-01-16 09:43:08 +01:00
Duarte Meneses
83b2d3b2c3 SONAR-11548 Fail CE if SLB/PR targets a branch containing modules 2019-01-16 09:43:07 +01:00
Duarte Meneses
51a1697067 Simplify generation of keys 2019-01-16 09:43:07 +01:00
Duarte Meneses
07054006cb SONAR-11464 Fix migration of branches and add IT 2019-01-16 09:43:06 +01:00
Duarte Meneses
55579a4572 SONAR-11463 Ensure that root is not matched to a module during migration 2019-01-16 09:43:06 +01:00
Julien HENRY
3a9fc2f405 SONAR-11463 Don't migrate root folders and fix component key migration 2019-01-16 09:43:05 +01:00
Duarte Meneses
c785485729 SONAR-11548 Fail CE if SLB/PR targets a branch containing modules 2019-01-16 09:43:05 +01:00
Julien HENRY
e2a4e0beae SONAR-11464 Change folder names to be the relative path to their parent 2019-01-16 09:43:04 +01:00
Duarte Meneses
b7d07953ea SONAR-11464 Don't create directory for root 2019-01-16 09:43:04 +01:00
Duarte Meneses
056023aba0 SONAR-11463 Remove path from scanner report and add module directories 2019-01-16 09:43:02 +01:00
Duarte Meneses
059a10d425 SONAR-11463 Relocate issues from modules/dirs to root project 2019-01-16 09:43:01 +01:00
Duarte Meneses
f8242a14c8 SONAR-11464 Only load files from Scanner Report 2019-01-16 09:43:01 +01:00
Simon Brandhof
6a653cd109 Fix Quality flaw 2019-01-16 09:42:58 +01:00
Duarte Meneses
27249ed2ab SONAR-11103 Missing technical debt when issues on leak period have no debt 2019-01-16 09:42:58 +01:00
Janos Gyerik
ea0f9ffd3b SONAR-11570 Add period back to QG conditions recomputed on UI change 2019-01-16 09:42:57 +01:00
Simon Brandhof
8654f38309 SONAR-11622 Server temp files fail to be deleted on MS Windows 2019-01-10 20:21:03 +01:00
Benoît Gianinetti
0839977d65 SONAR-11573 remove computation of differential measures 2019-01-08 20:21:07 +01:00
Benoît Gianinetti
0c8a948cbd SONAR-11572 Limit list of operators for QG conditions 2019-01-08 20:21:07 +01:00
Benoît Gianinetti
b87a76fa46 SONAR-11571 Drop warning treshold from QG web services 2019-01-08 20:21:07 +01:00
Janos Gyerik
1547d5cc2b SONAR-11570 Drop period from web services 2019-01-08 20:21:06 +01:00
Duarte Meneses
862136c486 SONAR-11492 Second analysis of a long-lived branch is using wrong leak version 2019-01-08 20:21:05 +01:00
Benoit
fba957150b SONAR-11438 Update title status on issue change (#937) 2019-01-08 20:21:04 +01:00
Benoit
ae5d1e787d SONAR-11437 Store the SHA1 read from scanner report (#926) 2019-01-08 20:21:04 +01:00
Benoît Gianinetti
ea906c4f2b SONAR-11421 Add sha1 to ProjectAnalysis 2019-01-08 20:21:04 +01:00
Duarte Meneses
6cb9e95dcb Fix license headers for 2019 2019-01-02 20:21:02 +01:00
Benoit
fc10db309e SONAR-11555 Exclude Security Hotspot from issue count metrics 2018-12-07 20:21:04 +01:00
Benoit
a9c22c1185 SONAR-11531 Set issue message for template rules on CE side 2018-12-05 20:20:59 +01:00
Sébastien Lesaint
a08697f54c SONAR-11467 persist live measures commiting for each component
rather than using a single transaction
2018-12-05 20:20:58 +01:00
Sébastien Lesaint
8be4454cd3 SONAR-11494 prevent loading of closed issue changes to OOM 2018-12-05 20:20:58 +01:00
Sébastien Lesaint
21369995bc SONAR-11455 improve SQL and network perf of PersistIssuesStep 2018-12-05 20:20:58 +01:00
Benoit
4ecd4bdcbc SONAR-11468 truncate name and description of adhoc rules metadata 2018-12-04 20:21:26 +01:00
Benoît Gianinetti
eaac2bf873 SONAR-11515 Backdate issue when QP has changed 2018-12-03 20:20:59 +01:00
Benoît Gianinetti
9d9cac94c1 SONAR-11515 Add RegisterQualityProfileStatusStep 2018-12-03 20:20:59 +01:00
Sébastien Lesaint
e24615d140 SONAR-11514 support reports created before scanner protocol update 2018-12-03 20:20:58 +01:00
Benoit
40c58462ac SONAR-11514 Backdate issue when rule parameter is updated (#971) 2018-12-03 20:20:58 +01:00
Sébastien Lesaint
e96e6304d1 SONAR-11513 backdate issues on new files 2018-12-03 20:20:58 +01:00
Sébastien Lesaint
a11e761461 SONAR-11513 drop Guava Optional from ActiveRulesHolder 2018-12-03 20:20:58 +01:00
Duarte Meneses
19ad13dac6 SONAR-11529 CE fails if the same duplicated text block is found twice 2018-11-30 11:20:46 +01:00
Sébastien Lesaint
13728b3b21 SONAR-11408 validate branch after populating it + improve validation 2018-11-27 11:19:26 +01:00
Eric Hartmann
c405a960a1 SONAR-10770 Store the referenced key of the project in the event
Not the key of the technicalprojectcopy
2018-11-20 20:21:01 +01:00
Eric Hartmann
a67c0b97c2 SONAR-10770 Send the definition changes of an application 2018-11-20 20:21:01 +01:00
Eric Hartmann
1f378c6353 SONAR-10763 Add Event objects to Governance 2018-11-20 20:21:00 +01:00
Eric Hartmann
7d6f6edcb4 SONAR-10770 Add DEFINITION_CHANGE category to Event 2018-11-20 20:21:00 +01:00
Eric Hartmann
984a3beb2a SONAR-10770 Add branch name to ProjectViewAttributes 2018-11-20 20:21:00 +01:00
Eric Hartmann
c760ac4c9d SONAR-11412 Generate Quality Gate events
on applications
2018-11-20 20:20:59 +01:00
Simon Brandhof
f3b6552a36 Fix Quality flaws 2018-11-18 20:20:52 +01:00
Duarte Meneses
59be49ed6f Replace guava optional with java.util.Optional 2018-11-13 20:20:57 +01:00
Duarte Meneses
5cade4c9e1 SONAR-11394 Apply feedback and fix IT 2018-11-07 20:21:04 +01:00
Duarte Meneses
7f59b2e51a SONAR-11394 Calculate estimated overall duplication in SLB 2018-11-07 20:21:03 +01:00
Duarte Meneses
945beaac05 SONAR-11367 skip CPD for unchanged files in SLB 2018-11-07 20:21:02 +01:00
Duarte Meneses
25ecd99833 SONAR-11367 Write duplication for changed files in PR and SLB 2018-11-07 20:21:01 +01:00
Duarte Meneses
1ff8a5c8a8 SONAR-11367 Write duplication for changed files in PR and SLB 2018-11-07 20:21:01 +01:00
Simon Brandhof
45583f8ad0 SONARCLOUD-161 upsert live measures on postgresql 2018-10-30 20:21:25 +01:00
Simon Brandhof
797659584f SONARCLOUD-161 drop usage of markers when updating live measures 2018-10-30 20:21:25 +01:00
Simon Brandhof
bee3ce3d74 Fix bugs, mainly about type casts 2018-10-18 20:20:55 +02:00
Sébastien Lesaint
5b54883982 SONAR-11280 add TreeRootHolder#isEmpty
and fix interface MutableTreeRootHolder
2018-10-11 20:20:54 +02:00
Sébastien Lesaint
c7b6ee7125 stabilize UT in QualityProfileEventsStepTest 2018-10-10 09:23:05 +02:00
Janos Gyerik
9d3bcaf129 SONAR-11241 Persist analysis warnings from scanner report 2018-10-10 09:23:04 +02:00
Sébastien Lesaint
1b417e0305 SONAR-11238 move PersistFileSourcesStep to source package 2018-10-10 09:23:03 +02:00
Sébastien Lesaint
f31eb69eb5 SONAR-11238 record warning when broken symbol data in report 2018-10-10 09:23:03 +02:00
Sébastien Lesaint
2419aab5bd SONAR-11238 debug log instead of warn when highlighting data error 2018-10-10 09:23:02 +02:00
Sébastien Lesaint
516f6e6bd2 SONAR-11238 record warning when broken highlighting data in report 2018-10-10 09:23:02 +02:00
Sébastien Lesaint
2c540713f9 SONAR-11310 add temporary columns to CE tables
- add main_component_uuid temporary columns to CE_QUEUE
- add main_last_key and main_component_uuid columns to CE_ACTIVITY
- back to initial paradigm in Compute Engine: even for branches/PRs, the row in table PROJECTS a task belongs to is created in api/ce/submit
- add main component concept to CeTask
- improved consistency check when processing a report task to account for row in PROJECTS now being the one of the branche/PR
- stronger validation of characteristics passed to api/ce/submit
- add api/system/migrate_data for SonarCloud online data migration
2018-10-04 20:20:56 +02:00
Sébastien Lesaint
e80c0f3d1e remove usage of Guava Optional from ComponentDao 2018-10-04 15:25:24 +02:00
Sébastien Lesaint
a79d83f7ee SONAR-10555 fail analysis if leak period is invalid 2018-10-03 09:28:22 +02:00
Sébastien Lesaint
1e405ab5a8 SONAR-10555 enforce at API level that project version is never null 2018-10-03 09:28:22 +02:00
Sébastien Lesaint
f563025774 SONAR-10555 drop DBUnit from PersistEventsStepTest 2018-10-03 09:28:22 +02:00
Sébastien Lesaint
ba12df28e6 SONAR-10471 change description of LoadPeriodStep 2018-10-03 09:28:21 +02:00
Sébastien Lesaint
b78380285b SONAR-7086 use firstAnalysis flag in LoadPeriodsStep 2018-10-03 09:28:21 +02:00
Sébastien Lesaint
421b38b41c polish design of PeriodHolder 2018-10-03 09:28:21 +02:00
Julien HENRY
04cc159279 SONAR-11209 remove space in ad hoc rule names 2018-09-24 20:20:58 +02:00
Julien HENRY
1cacbb1d2e SONAR-11209 Store ad hoc rules coming from scanner in rules_metadata 2018-09-24 20:20:58 +02:00
Julien HENRY
cfba7fcb65 SONAR-11209 Allow sensors to provide ad hoc rule metadata for external issues 2018-09-24 20:20:58 +02:00
Julien HENRY
fdf0f2f893 SONAR-10541, SONAR-10331 Drop compatibility mode and clean plugin classloader 2018-09-19 10:54:37 +02:00
Janos Gyerik
3e857050df SONAR-11125 Build a pruned component tree without unchanged files for selected visitors 2018-09-19 10:51:42 +02:00
Duarte Meneses
63b270ad49 SONAR-11139 Store changed lines information received in scanner report 2018-09-19 10:51:39 +02:00
Duarte Meneses
411fd8ef50 SONAR-11151 Only cache new lines from the report 2018-09-19 10:51:39 +02:00
Duarte Meneses
11f1dc51c3 Refactor persisting of sources 2018-09-19 10:51:39 +02:00
Duarte Meneses
500ded18cf SONAR-11151 Use changed lines in the Scanner report to calculate metrics concerning new code 2018-09-19 10:51:39 +02:00
Duarte Meneses
f2dbe93832 SONAR-11151 Load changed lines from the report 2018-09-19 10:51:39 +02:00
Julien Lancelot
469af3846a SONAR-11185 Allow portfolio to define projects by tags
* SONAR-11199 Allow selection of no project mode
* Add tags in views definition
* Create api/views/set_tags_mode
* Return tags mode in api/views/show
* Take into account tags during portfolio computation
2018-09-07 20:20:56 +02:00
Eric Hartmann
1d2eb3b5ac SONAR-11097 Order live measures to prevent deadlocks 2018-08-30 10:34:41 +02:00
Sébastien Lesaint
f9d73d6892 SONAR-8368 do not track closed issues on first analysis 2018-08-28 20:21:03 +02:00
Sébastien Lesaint
97965a2a2e SONAR-8368 closed issues max age can be set by property
and effectively disabled with value 0
2018-08-21 20:21:06 +02:00
Sébastien Lesaint
80549d03ac SONAR-8368 reopen only closed issues closed less than 30 days ago 2018-08-21 20:21:06 +02:00
Sébastien Lesaint
82204700a1 SONAR-8368 support reopening closed issues which had no line 2018-08-21 20:21:05 +02:00
Sébastien Lesaint
3065f6824c SONAR-8368 reopen closed issues (restore status)
but those from Hotspots rules and manual vulnerabilities
2018-08-21 20:21:05 +02:00
Sébastien Lesaint
2c6a570b99 SONAR-8368 use Stream instead of Iterable in Tracking class 2018-08-21 20:21:04 +02:00
Simon Brandhof
46aa95c524 SONAR-9904 fix author of issue to not depend on analyzer implementations
The Xoo plugin used in QA tests declares the component on all the
issue locations. That is not the case with SonarJava for instance.
It assumes that the component is the one declared on the issue.
2018-08-17 20:21:31 +02:00
Simon Brandhof
f605330920 SONAR-9904 guess author of issue based on all its locations 2018-08-16 09:45:58 +02:00
Simon Brandhof
405680c485 SONAR-9904 fix Quality flaws in IssueAssignerTest 2018-08-16 09:45:58 +02:00
Simon Brandhof
1dd2b87f1c SONAR-9904 extract traversal of issue changesets in Changeset 2018-08-16 09:45:57 +02:00
Sébastien Lesaint
29b5f4a0eb fix misleading error message in ReportComponent when type is not report 2018-08-10 20:21:32 +02:00
Simon Brandhof
992d1a0b2a SONAR-11077 fix DEBUG log in FileMoveDetectionStep 2018-08-07 20:21:21 +02:00
Simon Brandhof
c1931745e1 SONAR-11077 log nb of SQL inserts in CE PersistCrossProjectDuplicationsStep 2018-08-02 20:21:36 +02:00