Commit Graph

1111 Commits

Author SHA1 Message Date
Duarte Meneses
bc4d1696a5 SONAR-15237 Improve startup performance of the web process 2021-08-04 20:08:14 +00:00
Bruno Andrade
8eae78c947 Code smell fix: Replacing ImmutableList from List 2021-07-29 20:04:50 +00:00
Belen Pruvost
c5d6ef5f20 SONAR-15148 - Fix Audit paginated query for Oracle 2021-07-29 20:04:50 +00:00
lukasz-jarocki-sonarsource
e8f689cc1b SONAR-15154 add audit logs about projects, portfolios and apps 2021-07-27 20:03:03 +00:00
belen-pruvost-sonarsource
b7dec8c521 SONAR-15144 - Audit Log Clean Up Job 2021-07-27 20:03:03 +00:00
Belen Pruvost
6af6a9cdeb SONAR-15144 - Add Audit Logs Housekeeping Policy Setting 2021-07-27 20:03:03 +00:00
Belen Pruvost
9453e6a5c5 SONAR-15142 - Log Permission, Plugin, Secret Key, License and Settings 2021-07-27 20:03:02 +00:00
Lukasz Jarocki
9519c05d2c SONAR-15143 created api/audit_logs/download endpoint 2021-07-27 20:03:02 +00:00
Belen Pruvost
09d8569209 SONAR-15142 Persisting audits for User operations 2021-07-27 20:03:02 +00:00
Duarte Meneses
1233df6661 SONAR-11411 Detection of inactive projects should take into account branches 2021-07-16 20:03:00 +00:00
Jacek
130b050813 SONAR-10762 Drop usage of 'user_managed' column 2021-07-07 20:03:25 +00:00
Jacek
a5fc8a2122 SONAR-10762 Drop custom metrics and measures data from tables: metrics, 'project_measures', 'live_measures' 2021-07-07 20:03:25 +00:00
Jacek
16033e3f2f SONAR-10762 Drop custom metrics WSs 2021-07-07 20:03:25 +00:00
Zipeng WU
45233feda2 SONAR-10762 Drop manual measures table 2021-07-07 20:03:24 +00:00
Zipeng WU
7994ab1cd1 SONAR-10762 Drop Manual Measure from portfolios 2021-07-07 20:03:24 +00:00
Zipeng WU
24036f4a57 SONAR-10762 Drop Custom Measures WS 2021-07-07 20:03:24 +00:00
Belen Pruvost
2b1e236fa3 SONAR-14605 - Make rule name consistent 2021-06-30 20:03:13 +00:00
Pierre
4bd2d9de2c SONAR-15109 exclude project-specific webhooks from global webhook list 2021-06-29 20:03:18 +00:00
Jacek
97f2c01fdd SONAR-14792 Fix issue on Oracle DB by recreating PK for 'snapshots' table 2021-06-17 20:03:08 +00:00
Jacek
25815e9355 SONAR-14792 Fix issue on Oracle DB by recreating PK for 'issues' table 2021-06-17 20:03:08 +00:00
Jacek
49bdd58117 SONAR-14792 Fix issue on Oracle DB by recreating PK for 'events' table 2021-06-17 20:03:08 +00:00
Jacek
e2ecf6368c SONAR-14792 Fix issue on Oracle DB by recreating PK for 'ce_activity'
When switching from ID to UUID for 'ce_activity' table, it has been forgotten to drop unique index on UUID, though PK has been created. In all DBs it worked well, but for Oracle already existing index has been associated with PK (worked well on upgrade path). When new schema has been introduced, that's not the case, as for Oracle when creating PK, unique index also will be created. That means we tried to create another index on top of PK index, which was causing failures.

To fix that issue previous UUID index will be dropped and PK will be recreated, so that we end with clean state.
2021-06-17 20:03:08 +00:00
Jacek
96d6d7532c SONAR-14935 add 'detectedCI' field 2021-06-17 20:03:07 +00:00
Jacek
f2b322485a SONAR-14792 Fix schema-sq.ddl - order of PKs 2021-06-16 20:03:04 +00:00
Jacek
1caaacfcbf SONAR-14871 Extract global and project Gitlab validation to separate classes 2021-06-10 20:03:27 +00:00
Philippe Perrin
5bcb78c09c SONAR-13360 Drop multiple ALM settings when downgrading to DE from EE/DCE 2021-04-29 20:03:31 +00:00
Michal Duda
253cc559df SONAR-14571 add index on WEBHOOK_UUID in WEBHOOK_DELIVERIES 2021-04-22 20:03:34 +00:00
Michal Duda
c36b12d216 SONAR-14693 fix error when setting a new code period reference branch 2021-04-21 20:03:47 +00:00
Pierre
3ebbd70a22 SONAR-14699 add index on components.main_branch_project_uuid 2021-04-16 20:03:44 +00:00
Belen Pruvost
e0a058d7e9 SONAR-14681 improve project_measures metric purge performance 2021-04-13 20:03:51 +00:00
Michal Duda
a4c77c9e98 SONAR-14646 copy issue state on branch merge 2021-04-09 20:03:53 +00:00
Michal Duda
4e76eae61a SONAR-14192 Add optional return field 'deprecatedKeys' to /api/rules/search 2021-03-17 20:08:34 +00:00
Pierre
129ca5f353 SONAR-14519 add ALM info to system info file 2021-03-08 20:07:54 +00:00
Duarte Meneses
3ecff763a9 SONAR-14518 Telemetry - include number of sonarlint users 2021-03-05 20:11:48 +00:00
Duarte Meneses
4558e5786f SONAR-14518 Telemetry - include number of sonarlint users 2021-03-04 20:12:49 +00:00
Michal Duda
bd5b4a869d SONAR-14525 include SCM usage information in telemetry 2021-03-04 20:12:49 +00:00
Duarte Meneses
d59b246675 SONAR-13515 Telemetry - include external authentication providers 2021-03-04 20:12:48 +00:00
Duarte Meneses
ab6491f9a2 SONAR-9043 Drop database column PROJECT_MEASURES.DESCRIPTION 2021-02-10 20:07:17 +00:00
Pierre
832e265c8c SONAR-14274 add monorepo flag for bitbucket project binding 2021-02-02 20:07:48 +00:00
Duarte Meneses
00a4a9c776 SONAR-14393 Add configuration for Bitbucket Cloud settings 2021-01-29 20:07:55 +00:00
Duarte Meneses
bc558d7533 SONAR-14394 Enable project binding for bitbucket cloud 2021-01-27 20:07:39 +00:00
Pierre
6b6952af75 SONAR-14334 update get_binding and set_azure_binding 2021-01-25 20:32:26 +00:00
Duarte Meneses
6789a2ec09 SONAR-14245 Drop organization related tables 2021-01-11 20:20:39 +00:00
Wouter Admiraal
0f33764b53 Update license headers for 2021 [update headers] 2021-01-08 20:14:47 +00:00
Michal Duda
5bfa95f6d5 SONAR-13999 Remove OrganizationDbTester 2020-12-22 20:09:39 +00:00
Michal Duda
255d1fb82f SONAR-13999 Remove organizations from Portfolio WS 2020-12-22 20:09:39 +00:00
Jacek
967d9ad59c SONAR-13999 drop OrganizationAlmBinding class and related 2020-12-22 20:09:38 +00:00
Michal Duda
52845e663c SONAR-13999 remove orgs from application WS 2020-12-22 20:09:38 +00:00
Jacek
e42e2b18cd SONAR-13999 drop organization from CE steps 2020-12-22 20:09:38 +00:00
Jacek
e88bf5b78c SONAR-13999 drop completely usage of association between QualityGate and Organization 2020-12-22 20:09:37 +00:00
Jacek
d32d574c7e SONAR-13999 drop organization from QualityGate WS 2020-12-22 20:09:37 +00:00
Michal Duda
019d8c66ad SONAR-13999 removed OrganizationMemberDao 2020-12-22 20:09:37 +00:00
Michal Duda
a8cd264afd SONAR-13999 remove organizations from user WS 2020-12-22 20:09:36 +00:00
Jacek
2c9a70a4ba SONAR-13999 move project default visibility to global settings 2020-12-22 20:09:36 +00:00
Michal Duda
31544958c5 SONAR-13999 remove orgs from permission WS 2020-12-22 20:09:36 +00:00
Michal Duda
bb0b4b79e4 SONAR-13999 remove orgs from issue WS 2020-12-22 20:09:36 +00:00
Michal Duda
6ca1fa59bc SONAR-13999 remove orgs from hotspots WS 2020-12-22 20:09:35 +00:00
Jacek
9ae766e0e8 SONAR-13999 drop organization from Components WS 2020-12-22 20:09:35 +00:00
Michal Duda
c73de56d4b SONAR-13999 remove orgs webhook WS 2020-12-22 20:09:35 +00:00
Jacek
4ad241a3c3 SONAR-13999 drop organization from CE WS 2020-12-22 20:09:35 +00:00
Michal Duda
aade9364a2 SONAR-13999 remove orgs from favorite WS 2020-12-22 20:09:35 +00:00
Duarte Meneses
2ed2e64706 SONAR-14256 Create events not working for branches 2020-12-14 20:07:14 +00:00
Zipeng WU
ea1876bac5 Close all resources automatically 2020-12-14 20:07:14 +00:00
Pierre
ffcea568c7 fix code smells 2020-12-14 20:07:14 +00:00
Zipeng WU
89f05cf116 InputSteam.read() implementation should not return a signed byte 2020-12-14 20:07:14 +00:00
Zipeng WU
5c55c92b79 Code smell fix: remove unused code 2020-12-11 20:07:52 +00:00
Jacek
720c19e83f Code smells test fixes 2020-12-09 20:07:21 +00:00
Pierre
91c611fe56 fix assertions on incompatible types on overall code 2020-12-09 20:07:20 +00:00
Zipeng WU
f25db2cec5 SONAR-12821 Fail to update an application branch name 2020-12-08 20:07:03 +00:00
Michal Duda
94db5278d1 SONAR-14024 fix not purging some pull requests 2020-12-03 20:06:38 +00:00
Belen Pruvost
bfda84b43d SONAR-12659 Improve Quality Profiles Query Performance 2020-12-02 20:06:58 +00:00
Pierre Guillot
5ca7a4f8b7 SONAR-13793 improve ncloc count performance by using projects instead of components 2020-12-02 20:06:58 +00:00
Julien Lancelot
3c492694e7 SONAR-14176 Send email to admins when default admin credential is detected 2020-12-02 20:06:57 +00:00
Jacek
89d9f0efa0 SONAR-14175 Add 'reset_password' column to 'users' table
- add and populate 'reset_password' column in users table
 - add boolean 'resetPassword' to UserDto
2020-12-02 20:06:57 +00:00
Duarte Meneses
736bfc4d5a Speed up unit tests by improving indexing in unit tests
* Unit tests no longer use the LargeSizeHandler for indexing. This handler is designed for indexing large amounts of data and is slower for the data sets used in unit tests.
* Insert all data in DB before indexing in unit tests (there is a huge overhead in each call to index)
2020-11-30 20:07:06 +00:00
Duarte Meneses
59adbb849b Fix cache of MyBatis configuration extensions in unit tests
The cache used a map with an ineffective key, that changed in every call. It now depends on the set of extensions being loaded.
2020-11-30 20:07:06 +00:00
Pierre Guillot
8782863ad2 SONAR-14091 handle indexation tasks bound to an orphan branch 2020-11-30 20:07:06 +00:00
Duarte Meneses
37587a03da SONAR-14033 Refactor storage of applications 2020-11-28 20:06:15 +00:00
Pierre Guillot
dfd9164217 clean code smells (unused import) 2020-11-26 20:06:29 +00:00
Jacek
6e18f97ab5 SONAR-14159 enforce user authentication by default 2020-11-26 20:06:29 +00:00
Pierre Guillot
ca8d160e00 remove code smells 2020-11-25 20:06:27 +00:00
belen-pruvost-sonarsource
7417603c00 SONAR-14057 Set sqProjectKey and sqProjectName 2020-11-25 20:06:27 +00:00
Pierre
2f2d8a0aa1 SONAR-14133 update get_binding changelog 2020-11-25 20:06:26 +00:00
Belen Pruvost
a51816d2a6 SONAR-14058 add url to list_definitions endpoint 2020-11-25 20:06:26 +00:00
Mark Rekveld
253db82122 SONAR-13988 - GitHub ALM settings validation 2020-11-04 20:05:48 +00:00
Zipeng WU
7ce287cb9e SONAR-13941 Move and adapt application CE processor 2020-10-23 20:08:29 +00:00
Michal Duda
36546f92b7 SONAR-13936 cleanup 2020-10-16 20:07:41 +00:00
Julien Lancelot
b493fce1f2 SONAR-13936 Rename OrganizationPermission to GlobalPermission 2020-10-16 20:07:41 +00:00
Julien Lancelot
a4ab9ccfce SONAR-13936 Move default permission templates to internal properties 2020-10-16 20:07:41 +00:00
Michal Duda
4d8f0c4bf3 SONAR-13936 Remove use of organizations in Groups 2020-10-16 20:07:40 +00:00
Julien Lancelot
276abb4233 SONAR-13936 Remove use of organizations in Permissions WS and DB
* SONAR-13936 Remove organization parameters from permissions WS

* SONAR-13936 Remove organization_uuid column from user_roles table

* SONAR-13936 Fix developer ITs

* SONAR-13936 Remove organization_uuid column from group_roles table

* SONAR-13936 Remove organization_uuid column from permission_templates table
2020-10-16 20:07:40 +00:00
Julien Lancelot
073c87437f SONAR-13936 Remove organization parameter from Users
* SONAR-13936 Remove organization parameter from api/users/groups
* SONAR-13936 Remove organization_uuid column from users table
2020-10-16 20:07:40 +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
6dc2cc9ff6 SONAR-13862 Do not display dismissed warnings in api/ce/analysis_status 2020-09-29 20:07:42 +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
Duarte Meneses
c6bb025fe8 SONAR-13835 api/qualitygates/search is not returning deterministic results when many projects have same name 2020-09-22 20:07:12 +00:00