Duarte Meneses
6b41a01454
SONAR-13221 Metrics
2020-05-25 20:05:20 +00:00
Jacek
65e12a8ca0
SONAR-13221 change PK to uuid of RULES_PARAMETERS table
...
* change rules_parameter_id of ACTIVE_RULE_PARAMETERS table to rules_parameter_uuid
2020-05-25 20:05:20 +00:00
Duarte Meneses
75d31b4c5d
Fix ITs
2020-05-25 20:05:20 +00:00
Duarte Meneses
85b9f88486
Fix ITs
2020-05-25 20:05:20 +00:00
Duarte Meneses
34d010c997
SONAR-13240 Change PK of ACTIVE_RULES and update FK
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
ffd176a905
SONAR-13221 Fix permission template tables
2020-05-25 20:05:20 +00:00
Duarte Meneses
aa8d678e85
SONAR-13221 Update Dbversion83
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
9b546ae896
SONAR-13221 Issue changes
2020-05-25 20:05:19 +00:00
Duarte Meneses
d94ddd98de
SONAR-13221 File sources
2020-05-25 20:05:19 +00:00
Duarte Meneses
1b0ad62a22
SONAR-13221 User roles
2020-05-25 20:05:19 +00:00
Duarte Meneses
be7d7c94ba
SONAR-13221 Group roles
2020-05-25 20:05:19 +00:00
Michal Duda
3d49d20dee
SONAR-13235 change PK of manual measures
2020-05-25 20:05:19 +00:00
Jacek
af3821b8fc
SONAR-13221 change PK to uuid of PROJECT_QPROFILES table
2020-05-25 20:05:19 +00:00
Pierre
49592e8324
SONAR-13221 replace auto-incremented ID by UUID for user tokens
2020-05-25 20:05:19 +00:00
Jacek
3be8b93009
SONAR-13221 change PK to uuid of PROJECT_MEASURES table
2020-05-25 20:05:19 +00:00
Jacek
6dbee6b742
SONAR-13221 change PK to uuid of ACTIVE_RULE_PARAMETERS table
2020-05-25 20:05:19 +00:00
Jacek
85a8f41b50
Do not recreate UuidFactory for DbTester
2020-05-25 20:05:18 +00:00
Jacek
8b0dda072d
SONAR-13221 change PK to uuid of DUPLICATIONS_INDEX table
2020-05-25 20:05:18 +00:00
Pierre
476ea1acef
SONAR-13221 replace auto-incremented ID by UUID for ce_activity
2020-05-25 20:05:18 +00:00
Pierre
3774fac209
SONAR-13221 change PK of ce_queue
2020-05-25 20:05:18 +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
Pierre
4de7a25dc4
SONAR-13221 replace auto-incremented ID by UUID for notifications
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
Jacek
bd73de8086
SONAR-13188 store qualifier in project measure index
...
- return applications in api/components/search_projects
2020-04-15 20:03:38 +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
Duarte Meneses
88597f3717
SONAR-12691 Refactor measures DAO
2020-03-30 20:03:43 +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
4f5231d181
SONAR-12691 Dont delete past measures of directories and files
2020-03-30 20:03:43 +00:00
Julien HENRY
a5e56c8d40
SONAR-13214 Remove org.sonar.api.config.Settings from the API
2020-03-23 20:03:41 +00:00
Simon Brandhof
7af9ac7424
SONAR-13155 use the official Maven coordinates of Oracle driver
...
'com.oracle.jdbc:ojdbc8' was the coordinates of the artifact manually
deployed to SonarSource repository.
2020-03-21 20:04:03 +00:00
Simon Brandhof
3351fb7e24
SONAR-13155 Drop usage of commons-dbutils
...
except for unit tests
2020-03-21 20:04:01 +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
a91ea17d6e
SONAR-13139 Add 'summaryCommentEnable' property to allow enable/disable of showing summary of analysis in discussion tab for GitHub
2020-03-06 20:04:32 +00:00
Jacek
f2911115af
SONAR-13126 add summary of analysis to GH discussion tab
2020-03-06 20:04:32 +00:00
Duarte Meneses
a957f86e86
SONAR-13099 ALM settings WS for GitLab should support URL and project binding
2020-02-21 20:46:17 +01:00
Pierre Guillot
531e52e6f1
SONAR-13003 display already imported BBS repos
...
Co-authored-by: Julien Lancelot <julien.lancelot@sonarsource.com>
2020-02-20 20:46:18 +01:00
Pierre Guillot
966316908d
SONAR-13002 auto configure PR settings when BBS project is imported
2020-02-20 20:46:17 +01:00
Pierre Guillot
333a03b9c4
cleanup unused sonarcloud code
2020-02-20 20:46:16 +01:00
Pierre Guillot
86ed2e5290
SONAR-13001 apply review feedback
2020-02-20 20:46:16 +01:00
Pierre Guillot
7915d064a2
SONAR-13001 create endpoint alm_integrations/set_pat
2020-02-20 20:46:16 +01:00
Julien Lancelot
eacba88db0
SONAR-13089 Fix permission template issue when lot of groups
...
* Remove PermissionQuery#template
* SONAR-13089 Fix api/templates/template_groups WS
* Add UTs for api/templates/template_users WS
2020-02-18 20:46:12 +01:00
Jacek
8fa7616e5a
SONAR-12961 add facets for new code period: new_security_hotspots_reviewed, new_security_review_rating
2020-02-11 20:46:12 +01:00
Jacek
77f34d207b
SONAR-12961 add facets for: security_hotspots_reviewed, security_review_rating
2020-02-11 20:46:11 +01:00
Julien Lancelot
5401ba28ca
SONAR-12962 Compute Security Review measures on new code
2020-02-11 20:46:11 +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
d42fce99f8
SONAR-12723 api/issues/tags and component_tags ignore Hotspots
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
c890861887
SONAR-12723 remove hotspots from issues API
2020-01-13 20:46:33 +01:00
Sébastien Lesaint
26604f21a7
SONAR-12723 text fixtures enforce split of issue from secu hotspot
2020-01-13 20:46:33 +01:00
Sébastien Lesaint
7d5898c9ad
SONAR-12726 api/hotspots/search supports Applications
2020-01-13 20:46:30 +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
Sébastien Lesaint
8c4a7402f8
SONAR-12717 refactor SecurityStandardHelper into SecurityStandards
...
and cleanup responsibility for parsing serialized tags and security standards into table RULES
2020-01-13 20:46:25 +01:00
Wouter Admiraal
3f6f549627
Format all headers for 2020
2020-01-07 20:46:09 +01:00
Pierre Guillot
f17b1e3e6c
SONAR-12773 add gitlab alm settings
2019-12-16 20:46:13 +01:00
Duarte Meneses
d1fd889554
Fix code quality issues and reduce dependency on Guava
2019-12-10 20:46:09 +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
Michal Duda
d23f59d180
SONAR-12636 add a global setting that defines default list of branches to keep
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
1b7c2ba7e1
SONAR-12626 CE and Web no longer support SLBs
2019-12-09 20:46:14 +01:00
Julien Lancelot
6c12781c2f
SONAR-12666 Fix groups sorting when high number of groups
2019-12-02 20:46:10 +01:00
Sébastien Lesaint
b5725e190b
SONAR-12701 upgrade H2 from 1.3 to 1.4
2019-11-18 20:21:08 +01:00
Julien Lancelot
969407f6a6
SONAR-12512 Fix SQL queries on MsSQL
2019-11-06 10:04:34 +01:00
Julien Lancelot
9cf2e94394
SONAR-12512 SONAR-12514 SONAR-12515 Fix ordering of lists WS
2019-11-06 10:04:32 +01:00
Julien Lancelot
6635d689c3
SONAR-12512 SONAR-12514 SONAR-12515 Increase ALM key from 80 to 200
2019-11-06 10:04:30 +01:00
Julien Lancelot
34b205a13e
SONAR-12515 Allow binding of projects on Bitbucket ALM
2019-11-06 10:04:28 +01:00
Julien Lancelot
bab304dac9
SONAR-12515 Decorate Azure PR using new settings
2019-11-06 10:04:28 +01:00
Julien Lancelot
b02a0a1458
SONAR-12515 Allow binding of projects on Azure ALM
2019-11-06 10:04:27 +01:00
Pierre Guillot
b1d5e0b3bb
SONAR-12512 Decorate PR using configuration from new ALM_SETTINGS tables
2019-11-06 10:04:27 +01:00
Julien Lancelot
ab573e2a25
SONAR-12512 Allow project binding on multiple GitHub instances
2019-11-06 10:04:26 +01:00
Pierre Guillot
87faff43bc
SONAR-12576 Allow configuration of multiple Bitbucket instances
2019-11-06 10:04:25 +01:00
Pierre Guillot
26b2689886
SONAR-12515 Allow configuration of multiple Azure instances
2019-11-06 10:04:25 +01:00
Julien Lancelot
58d04f69bb
SONAR-12512 Allow configuration of multiple GitHub instances
2019-11-06 10:04:19 +01:00
Duarte Meneses
0b3dcbf2c6
SONAR-10408 Web service api/qualityprofiles/copy is too slow
2019-10-21 20:21:09 +02:00
Jacek
caf0309d6e
SONAR-12531 drop usage of UserIdentity#getLogin and UserIdentity#setLogin ( #2139 )
...
* remove login generation strategy
* add migration to remove gh login strategy + code review fixes
* support same login for new user and update login for SQ authority
2019-10-17 20:21:03 +02:00
Jacek
b83cfa7f76
Fix some code smell debt ( #2143 )
2019-10-15 20:21:05 +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
4039016980
SONAR-12510 do not fail in views/define when app branch already exist
2019-10-11 20:21:07 +02:00
Sébastien Lesaint
d17f0721a3
SONAR-12513 last used date is never set on new Quality Profiles
...
all QP start with no last used date in the Database, which is represented by a null value in the column,
the update method ensures no update is done if new date is older than the current one
it does so by comparing the new date with the current value, however, this test always returns false if the current value is null
this way of updating the last used date was introduced to fix SONAR-10462 (Update of last used date on Quality Profile can fail with Deadlock on Postgres)
since then, last used date of new QP (which includes any new install of SQ since 7.8, including the LTS) is never set
2019-10-09 20:21:07 +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
Jacek
831fc476ad
Fix UT for components count
2019-09-24 20:21:18 +02:00
Duarte Meneses
d59c35feef
SONAR-12390 Prevent analysis deletion when it is a baseline
2019-09-24 20:21:17 +02:00
Jacek
e8f1a84869
Fix conflicts after rebase
2019-09-24 20:21:17 +02:00
Jacek
bc586fa19b
SONAR-12412 - support import/export of new code periods for projects ( #2024 )
...
* SONAR-12412 - support import/export of new code periods for projects
2019-09-24 20:21:16 +02:00
Duarte Meneses
d53977760b
Improve code quality and test coverage
2019-09-24 20:21:15 +02:00
Duarte Meneses
89ab883abd
New Code Period table
2019-09-24 20:21:15 +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
Jacek
4a83bd0b28
SONAR-12393 - support remove new code period on branch, project removal ( #2002 )
...
* SONAR-12393 - support remove new code period on branch, project removal
2019-09-24 20:21:14 +02:00
Duarte Meneses
4a7cdbda9c
SONAR-12366 Create WS to read/write New Code Periods
2019-09-24 20:21:13 +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
09f8f0f6ca
SONAR-12364 - SonarQube analysis fixes
2019-09-24 20:21:13 +02:00
Jacek
099e2173f4
SONAR-12364 - IT fixes, add uniq new code period table constraint
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
3ca59798cc
SONAR-12364 - migrate project analysis delete action to new concept
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
d2bba78239
SONAR-12366 Create WS to read/write New Code Periods
2019-09-24 20:21:12 +02:00
Duarte Meneses
09a0e34e0e
Create UUID for new_code_periods
2019-09-24 20:21:12 +02:00
Duarte Meneses
52db58fa07
add Upsert to NewCodePeriodDao
2019-09-24 20:21:12 +02:00
Duarte Meneses
0279e128fd
SONAR-12366 Create WS to read/write New Code Periods
2019-09-24 20:21:11 +02:00
Jacek
b926d57936
SONAR-12365 create new_code_period table ( #1986 )
...
* Create new_code_periods table along with dto and dao
2019-09-24 20:21:11 +02:00
Jacek
0443794329
Fix mssql CE activity query and incorrect usage of AlwaysIncreasingSystem2 ( #2077 )
2019-09-18 20:21:04 +02:00
Jacek
2be53fd8bc
SONAR-5366 - restore custom rules ( #2060 )
...
- restore custom rules
- reduce SQL query executions
- code readability improvements
2019-09-18 09:51:47 +02:00
Sébastien Lesaint
bb7e74da6d
SONAR-12398 make schedule refresh of porfolios work
2019-09-16 20:21:02 +02:00
Jacek
ad082b3d7b
SONAR-12214 - order by created_at instead of technical id ( #2029 )
...
* SONAR-12214 - order by created_at instead of technical id
2019-09-05 20:21:02 +02:00
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
philippe-perrin-sonarsource
8de7715e05
SONAR-8520 Make schema dumper cross-platform
2019-08-14 20:21:11 +02:00
Sébastien Lesaint
a5c7558400
remove DBUnit
2019-08-09 20:21:24 +02:00
Sébastien Lesaint
ba3c8baa18
CreateDb initialize DB without starting full SQ
...
+ db-core & db-migration UTS are executed only on H2
2019-08-09 20:21:24 +02:00
Sébastien Lesaint
b83c58503a
SONAR-8520 remove H2 specific way of creating database in Unit tests
2019-08-09 20:21:24 +02:00
Sébastien Lesaint
e8985121ed
SONAR-8520 init H2 with Java code as with all other DBs
...
schema-h2.ddl file is replaced by autogenerated file schema-sq.ddl (and moved to module sonar-db-dao)
files rows-h2.sql and schema_migrations-h2.ddl are dropped
command "./gradlew :server:sonar-db-dao:dumpSchema" can be used to update schema-sq.ddl
but this is optional as build will always ensure file is up-to-date with java changes and fail the build if it is not (required for CI builds)
2019-08-09 20:21:24 +02:00
Sébastien Lesaint
a787e0d957
SONAR-8520 fix missing not null in schema-h2.ddl for table PROPERTIES
2019-08-09 20:21:24 +02:00
Sébastien Lesaint
26aceee575
SONAR-8520 move H2 scripts to sonar-db-dao
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
Jacek
44a69c7974
SONAR-12259 - remove deprecated request params, response fields from api/projects ( #1881 )
...
* remove deprecated params from api/projects/bulk_delete
* remove deprecated projectsIds param
* update documentation for api/projects/bulk_delete
* remove deprecated params from api/projects/bulk_update_key
* remove deprecated params: key, projectId, id
* update documentation for api/projects/bulk_update_key
* remove deprecated params from api/projects/create
* remove deprecated param: key
* update documentation for api/projects/create
* remove deprecated params from api/projects/delete
* remove deprecated param: projectId, key
* update documentation for api/projects/delete
* remove deprecated apis: api/projects/ghosts | index | provisioned
* remove deprecated params from api/projects/search
* remove deprecated param: projectIds
* remove deprecated response fields: id (uuid)
* remove all usage of deprecated params: page, pageSize (remove associated tests)
* update documentation for api/projects/search
* remove deprecated params from api/projects/search_my_projects
* remove deprecated response fields: id (uuid)
* update documentation for api/projects/search_my_projects
* remove deprecated params from api/projects/update_key
* remove deprecated params: id, projectId, key, newKey
* change "from" param to be mandatory
* remove ProjectListTest.java file as endpoint does not exist anymore
* bump orchestrator version
* remove ComponentDao and ComponentMapper methods associated with deprecated code
* use "project" param when calling api/projects/create
* update ProjectDumpOperations#renameProjectKey to use api/projects/update_key endpoint
* use java api calls instead of URLs
* bump orchestrator version to latest released 3.26.0.2111
2019-07-22 20:21:09 +02:00
Jacek
7d80528377
SONAR-8115 Storing default qgate in table (blue green deploy safety) ( #1925 )
...
* add DDL for project_qgate table
* support saving/update/delete to project quality gate and properties
* add db migration tests
2019-07-19 20:21:15 +02:00
Duarte Meneses
e4c5ada51d
Clean deps
2019-07-17 20:21:13 +02:00
Benoit
7f1afd8ce4
MMF-769 User can close their account ( #1861 )
2019-07-12 20:21:16 +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
Sébastien Lesaint
d959cb81e0
SONAR-12261 fix project QG search on MsSQL
2019-07-10 08:36:54 +02:00
Simon Brandhof
983f593231
SONAR-12246 remove MySQL dialect
2019-07-10 08:36:52 +02:00
Simon Brandhof
5b6b842644
SONAR-12246 Remove SQL requests specific to MySQL
2019-07-10 08:36:52 +02:00
Simon Brandhof
f833180b66
SONAR-12246 Remove dependencies on MySQL driver
2019-07-10 08:36:52 +02:00
mickael-caro-sonarsource
fbcd3b7693
MMF-1737 Analyze Bitbucket repositories with Azure Pipelines ( #1879 )
...
* SC-762- Tutorial for new BbC projects should mention support of Azure Pipelines
* Updated tutorial for bitbucketcloud
* SC-801 - Organization and its eventual app install related entity are now mandatory while targeting a bound project on ALMs.
* SC-801 --TEMP Added INFO logs
* SC-801 - Added back return of alm binding if no project alm is present.
* SC-801 - Fixed added log, failing unit tests before.
* SC-801 - Added extra logs (TEMP)
* SC-801 - Reverted unwanted imports.
* SC-801 - Adaptation of UT following the add of logs TO BE REVERTED ONCE OK
* SC-801 - Changed newly added log levels to debug to see if they are popping in the CE logs.
* SC-801 - Add constant for Bitbucket API Version in its REST client.
* SC-760 - Updated documentation to support Azure Pipelines.
* SC-801 - Reverted all temporary logs
* fixup! SC-760 - remove inside file links to avoid failing of unint tests.
* SC-801 - Fixes after review
* SC-760 - Splited documentation to 3 in total, with azure pipelines and bitbucket pipelines.
* SC-762 - Updated Snapshot
* SC-762 - Updated onboarding tutorial + documentation
* SC-762 - Updated formating of .tsx following yarn validate.
* SC-801 - Added unit tests + removed codesmell
* SC-760 - Updated documentation markdowns for Bitbucket.
* SC-801 - Removed unused import.
* SC-801 - Updated failing unit tests.
* SC-801 - Fix typo
* SC-801 - Resolving issues following analysis by SQ
2019-07-10 08:36:51 +02:00
Janos Gyerik
478a71d5d0
SC-799 Add temporary live migration to delete empty personal orgs
2019-07-05 20:21:13 +02:00
Benoît Gianinetti
c2ee935557
SC-764 Return alm organization type in /api/organizations/search
2019-07-05 20:21:13 +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
Franck Arnulfo
e74f2a8c8b
Replace 3 regex with 1 and precompiled pattern
2019-06-28 08:45:52 +02:00
Julien Lancelot
071dd097a3
SONAR-12221 Add pagination to api/qualitygates/search
2019-06-28 08:45:45 +02:00
Michal Duda
856a11e826
SONAR-11560 fix api/permissions/users sorting
2019-06-14 20:21:10 +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
Sébastien Lesaint
fc2a6271ae
SONAR-11745 do not fail when loading issues of disabled components
2019-06-13 20:21:13 +02:00
Diego Marcilio
0c7a136085
Using already-defined constants instead of duplicating their values
...
Fixes multiple squid:S1192 violations (only for already defined constants)
2019-06-13 20:21:12 +02:00
Sébastien Lesaint
2f48b31961
SONAR-12146 fix resilience of deletion of project/branch/view
2019-06-13 20:21:12 +02:00
Duarte Meneses
36d13bae20
SONAR-12038 Add pendingTime to api/ce/activity_status and ComputeEngineTasks JMX metrics
2019-06-03 20:21:18 +02:00
Sébastien Lesaint
aefa1e5ffb
SONAR-11675 delete scan contexts and CE activities on project purge
2019-05-31 10:17:08 +02:00
Simon Brandhof
07ad2bae03
SONAR-11950 add SnapshotDto#revision
2019-05-22 20:21:16 +02:00
Simon Brandhof
abf908c2a5
SONAR-11950 create DB column snapshots.revision
2019-05-22 20:21:16 +02:00
Benoît Gianinetti
bf7776ff7d
SONARCLOUD-628 Allow UTF-8 characters in project key
2019-05-20 20:21:07 +02:00
Benoit
f167719e46
SONAR-12061 Purge refresh flag on portfolio deletion
2019-05-15 20:21:12 +02:00
Janos Gyerik
37c3989875
SONAR-12061 Recalculate out-of-date portfolios at scheduled hours
2019-05-15 20:21:12 +02:00
Benoît Gianinetti
5e41f4d0ce
SONAR-12061 Create 'INTERNAL_COMPONENT_PROPS' table
2019-05-15 20:21:11 +02:00
Janos Gyerik
925daa3fdb
SONAR-12057 Add general locking mechanism through internal_properties
2019-05-15 20:21:11 +02:00
Michal Duda
3b7745121f
SONAR-11180 add security facet to api/rules/search
2019-05-07 09:54:28 +02:00
Duarte Meneses
f097b50098
SONAR-11904 Create API endpoint to get snippets
2019-05-06 11:01:15 +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
Simon Brandhof
d73b2ba4be
SONAR-12000 add DB column webhooks.secret
2019-04-29 20:21:06 +02:00
Duarte Meneses
9782e55975
SONAR-11585 Purge disabled components
2019-04-27 20:21:01 +02:00
Simon Brandhof
ca672c1a71
SONARCLOUD-582 split loading of profiles in rule activation
2019-04-24 20:21:04 +02:00
Simon Brandhof
b48765ede7
SONARCLOUD-582 refactor context of rule activation
2019-04-24 20:21:04 +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
0d17e454b4
SONAR-11859 Fix issue changelog
2019-04-23 20:21:08 +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
Simon Brandhof
0a302ac9af
SONAR-11753 fix DB incompatibility in EmailSubscriberDto
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
Sébastien Lesaint
8420e1087f
SONAR-11753 dont retrieve all subscribers if only interested in subset
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
7014b0c78f
SONAR-11753 drop dead code in PropertiesMapper
2019-04-23 10:37:54 +02:00
Sébastien Lesaint
ba82b59e0e
SONAR-11753 move built-in qp change notification to email specific algo
2019-04-23 10:37:54 +02:00
Sébastien Lesaint
7c1598502c
SONAR-11753 move license notifications to email specific algo
2019-04-23 10:37:54 +02:00
Sébastien Lesaint
9158bb5d18
SONAR-11753 notification serialisation keeps original type
2019-04-23 10:37:53 +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
91f37bb55b
SONAR-11881 ORA-01795 failure in CeQueueDao
2019-04-03 20:21:06 +02:00
Simon Brandhof
9d95a6b0e9
SONAR-11882 ORA-01795 failure in PermissionTemplateCharacteristicDao
2019-04-03 20:21:06 +02:00
Michal Duda
a4352cc55d
SONAR-11917 Improved copy project measures step in portfolio recalculation
...
Changed implementation of copy project measures step in portfolio recalculation to use scrolling select.
2019-04-03 20:21:06 +02:00
Michal Duda
cf12ec57d0
SONAR-11117 support for long-living branches in project export
2019-04-02 20:21:01 +02:00
Janos Gyerik
4d41ea3781
SONAR-11823 Drop snapshots.project_version
2019-03-19 20:21:27 +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
Julien Lancelot
3ed96a6b90
SONAR-10277 Prevent user to have more than 100 projects as favorite
2019-03-18 20:20:59 +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
e0a4e3ba8a
SONAR-11736 Reaturn overall issue count measures as new measures in SLBs and PRs
2019-03-11 20:21:03 +01:00
Michal Duda
bb6bb844e6
SONAR-11797 fix for exception on project overview page
2019-03-07 20:21:00 +01:00
Julien Lancelot
052e3b0849
Fix UT on Oracle
2019-03-06 11:30:44 +01:00
Julien Lancelot
1d12322df5
Fix UT on MySQL
2019-03-06 11:30:43 +01:00
Julien Lancelot
968bea1a72
Rename ownerId to organizationAlmId and almId to alm in AlmAppInstallDto
2019-03-06 11:30:42 +01:00
Julien Lancelot
47ca01a418
SONARCLOUD-413 Synchronize github user organization membership during authentication
2019-03-06 11:30:42 +01:00
Benoit Gianinetti
769d66fa99
SONARCLOUD-382 Update org member when receiving GH webhook
2019-03-06 11:30:42 +01:00
Julien Lancelot
2847ce4e64
SONARCLOUD-381 Create api/organization/sync_members
...
* Rename organisation to organization in some SonarCloud directories/classes
* Add WS api/organizations/sync_members
* Get list of members from a GitHub organization
* sync_members fails when members sync is disabled
2019-03-06 11:30:41 +01:00
Benoît Gianinetti
14eff68b9c
SONARCLOUD-379 Create POST /api/organizations/set_member_sync
2019-03-06 11:30:40 +01:00
Benoît Gianinetti
ffb6ac23be
SONARCLOUD-379 Add ORG_ALM_BINDING#MEMBERS_SYNC column
2019-03-06 11:30:18 +01:00
Sébastien Lesaint
746ff42c58
stabilize BranchDaoTest on Oracle
2019-02-21 20:21:18 +01:00
Michal Duda
2b8cc73a60
SONARCLOUD-336: Automatically guess the projectKey/organization
2019-02-18 20:20:55 +01:00
Sébastien Lesaint
58c24e60f0
SONAR-11628 add api/project_analyses/unset_baseline
2019-02-11 09:11:49 +01:00
Sébastien Lesaint
1d627934e3
SONAR-11626 baseline analysis can not be deleted by PeriodCleaner
2019-02-11 09:11:48 +01:00
Sébastien Lesaint
05064a84b6
SONAR-11626 clarify what SNAPSHOTS.purge_status is used for
2019-02-11 09:11:48 +01:00
Sébastien Lesaint
dacb12ddde
SONAR-11626 make explicit uuid is mandatory in PurgeSnapshotQuery
2019-02-11 09:11:48 +01:00
Sébastien Lesaint
c0594dbcdf
SONAR-11631 add SnapshotDto.projectVersion
2019-02-11 09:11:47 +01:00
Sébastien Lesaint
d038d4de70
SONAR-11631 move version event data validation to UI code
2019-02-11 09:11:47 +01:00
Sébastien Lesaint
51a28630d3
SONAR-11631 add SNAPSHOTS.PROJECT_VERSION
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
Janos Gyerik
a4974f2881
SONAR-11626 Add BranchDao.updateManualBaseline
2019-02-11 09:11:46 +01:00
Sébastien Lesaint
1a16df00b2
SONAR-11626 Add BranchDao.updateBaseline
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
Julien Lancelot
ec6a2c374e
SONAR-11650 Remove usage of FILE_SOURCES#DATA_TYPE
2019-02-11 09:11:43 +01:00
Julien Lancelot
cc7ee64201
Revert "SONAR-11650 Drop DATA_TYPE from FILE_SOURCES"
...
This reverts commit 54ddc262
2019-02-11 09:11:43 +01:00
Julien Lancelot
2e662eaa81
SONAR-10597 Fix issue on Oracle
2019-02-11 09:11:43 +01:00
Julien Lancelot
86fd5f9655
SONAR-11650 Drop DATA_TYPE from FILE_SOURCES
...
* SONAR-11650 Remove usage of FILE_SOURCES#DATA_TYPE
* SONAR-11650 Drop DATA_TYPE column from FILE_SOURCES table
2019-02-11 09:11:43 +01:00
Julien Lancelot
308d6a85e6
Merge pull request #1178 from SonarSource/feature/jl/add_dates_to_users_and_user_tokens
...
Add dates to users and user tokens
2019-02-11 09:11:41 +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
759926d3cf
SONARCLOUD-332 Use EXTERNAL_LOGIN to authenticate users
2019-01-16 09:43:15 +01:00
Michal Duda
6cc929c852
Fix for migration 2502
2019-01-16 09:43:13 +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
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
Julien HENRY
6067a46899
SONAR-11459 Migrate module and folder issues to the root
2019-01-16 09:43:08 +01:00
Duarte Meneses
07054006cb
SONAR-11464 Fix migration of branches and add IT
2019-01-16 09:43:06 +01:00
Michal Duda
0dc272fe9c
SONAR-11548 Fail CE if SLB/PR targets a branch containing modules
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
e4c0b858c7
SONAR-11488 Stop loading module level settings in scanner
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
Simon Brandhof
0c376153dd
SONARCLOUD-310 add WS api/ce/timeout_tasks
2019-01-09 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
252b3897e7
Fix license headers for 2019
2019-01-02 20:21:01 +01:00
Sébastien Lesaint
0fa031a35a
SONARCLOUD-192 add WS api/ce/queue_stats
2018-12-21 20:21:02 +01:00
Sébastien Lesaint
345367ccbb
SONARCLOUD-192 move all analytics SQL out of core mappers
2018-12-21 20:21:02 +01:00
Sébastien Lesaint
d4baa0caf3
SONARCLOUD-192 core extension can now declare MyBatis mapper and alias
2018-12-21 20:21:02 +01:00
Julien Lancelot
347f6c6744
SONAR-11579 Create WS to store/load user settings
2018-12-20 11:41:52 +01:00
Sébastien Lesaint
b45880c057
SONAR-9919 obfuscate webhook URL in api/webhooks/list response
2018-12-20 11:41:48 +01:00
Eric Hartmann
410a07681d
SONARCLOUD-278 Reduce SQL requests on RegisterQualityProfiles
2018-12-20 11:41:46 +01:00
Simon Brandhof
888b5bc305
SONARCLOUD-220 add WS api/autoscan/github_repository
2018-12-12 20:21:03 +01:00
Simon Brandhof
877852948a
Fix Quality flaws
2018-12-12 20:21:03 +01:00
Simon Brandhof
cf489b9db9
SONARCLOUD-213 clarify "scan" in org vs project permissions
2018-12-12 20:21:02 +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
Sébastien Lesaint
d2dd76f34d
SONAR-11502 do not fail on PR which key is a branch name
2018-11-27 11:19:25 +01:00
Eric Hartmann
cb05f5b367
SONAR-10770 Increase size of containers
2018-11-20 20:21:01 +01:00
Eric Hartmann
748f9eb469
SONAR-10763 Add selectByAnalysisUuids on EventComponentChangeDao
2018-11-20 20:21:00 +01:00
Eric Hartmann
3ce4f8a68b
SONAR-10763 Implement storage for QG Alert
2018-11-20 20:21:00 +01:00