aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
Commit message (Collapse)AuthorAgeFilesLines
* SONAR-10965 Update Organizations#subscription not nullableEric Hartmann2018-07-245-1/+122
|
* Add security hotspot admin for project creators in default templatesJanos Gyerik2018-07-205-1/+180
|
* Fix migration #2209 on MySQL and MsSQLEric Hartmann2018-07-181-5/+13
|
* SONAR-11021 Add a migration for SonarCloudEric Hartmann2018-07-175-0/+434
|
* SONAR-10986 Extend RulesDefinitions API to support security standards (#466)Janos Gyerik2018-07-174-0/+132
|
* Fix incorrect SQL for MySQL and MsSQLEric Hartmann2018-07-121-2/+2
|
* SONAR-10944 Add subscription flag to organizationsJulien Lancelot2018-07-117-0/+461
| | | | | | | | * Create migrations to add and populate ORGANIZATIONS#SUBSCRIPTION * Handle subscription in insert/update/select of OrganizationDto * Upgrade/Downgrade update organization subscription * Return subscription flag in api/organizations/search * Create new organization as FREE
* SONAR-10914 fix DB migration PurgeOrphansForCESébastien Lesaint2018-07-042-95/+122
|
* SONAR-10887 Add the new permission to existing users/groupsJulien HENRY2018-07-0413-1/+655
|
* SONAR-10868 Migration is blue/green compatibleJulien HENRY2018-07-041-1/+2
|
* SONAR-10868 Add issues.from_hotspot for security hotspotsJanos Gyerik2018-07-044-0/+139
|
* SONAR-10813 Add missing @SupportsBlueGreen on migrationJulien Lancelot2018-06-291-0/+2
|
* SONAR-10812 Application with branchesJulien Lancelot2018-06-298-1/+345
|
* Do not deploy the artifacts used only internallySimon Brandhof2018-06-191-16/+1
|
* SONARCLOUD-75 Mark 3 migrations as blue/green compatibleSimon Brandhof2018-06-143-0/+22
|
* SONARCLOUD-75 Support DB migrations compatible with blue/green deploymentSimon Brandhof2018-06-143-9/+117
|
* SONARCLOUD-75 Replace Stream by List in MigrationStepsSimon Brandhof2018-06-149-45/+47
|
* Fix malformed license headersJanos Gyerik2018-06-144-76/+3
|
* SONAR-10691 remove coupling of migrations with ElasticsearchClientSimon Brandhof2018-06-124-57/+16
|
* SONAR-10597 Drop the ES index 'users'Eric Hartmann2018-06-121-0/+2
|
* SONAR-10691 Introduce ES drop in DB migrationEric Hartmann2018-06-124-1/+105
|
* SONAR-10663 Prevent duplicate rule parameters in the database (#341)Janos Gyerik2018-06-118-1/+294
|
* SONAR-10416 Fix incorrect usage of DatabaseEric Hartmann2018-06-111-4/+1
|
* SONAR-10416 Add a migration to purge orphans of CE tablesEric Hartmann2018-06-075-1/+327
|
* SONAR-10430 speed-up DB migrationSimon Brandhof2018-05-281-2/+5
| | | | Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
* SONAR-10430 add FILE_SOURCES.LINE_COUNTSébastien Lesaint2018-05-2811-1/+406
|
* SONAR-19597 Set USERS.UUID length to 255 instead of 40Julien Lancelot2018-05-2815-22/+28
| | | | As USERS.UUID will be fed by login during the migration, this column cannot be smaller than login's length.
* SONAR-10597 Update CE_ACTIVITY#SUBMITTER_LOGIN to SUBMITTER_UUIDJulien Lancelot2018-05-235-1/+133
|
* SONAR-10597 Update CE_QUEUE#SUBMITTER_LOGIN to SUBMITTER_UUIDJulien Lancelot2018-05-235-1/+122
|
* SONAR-10597 Update RULES_METADATA#NOTE_USER_LOGIN to NOTE_USER_UUIDJulien Lancelot2018-05-235-2/+123
| | | | | | | | * SONAR-10597 Update RULES_METADATA#NOTE_USER_LOGIN to NOTE_USER_UUD in DB * SONAR-10597 Update rules ws to use user note uuid * SONAR-10597 Add ITs to check rule note after login update
* SONAR-10597 Update MANUAL_MEASURES#USER_LOGIN to USER_UUIDJulien Lancelot2018-05-235-1/+119
| | | | | | | | | | | | | | | | * SONAR-10597 Update MANUAL_MEASURES#USER_LOGIN to USER_UUD in DB * SONAR-10597 Update api/custom_measures/create to use user uuid * SONAR-10597 Update api/custom_measures/update to use user uuid * SONAR-10597 Remove CustomMeasureDao#selectOrFail * SONAR-10597 Update api/custom_measures/search to use user uuid * SONAR-10597 Clean up no more needed code * SONAR-10597 Add ITs to check manual measure after login update
* SONAR-10597 Update USER_TOKENS#LOGIN to USER_UUIDJulien Lancelot2018-05-235-1/+139
| | | | | | | | | | | | | | | | | | * SONAR-10597 Update USER_TOKENS#LOGIN to USER_UUD in DB * SONAR-10597 Update UserTokenDao to return user uuid * SONAR-10597 Fix api/user_tokens/generate to correctly use user uuid * SONAR-10597 Fix api/user_tokens/revoke to correctly use user uuid * SONAR-10597 Fix authentication by token to correctly use user uuid * SONAR-10597 Fix api/user_tokens/search to correctly use user uuid * SONAR-10597 Fix api/users/search to correctly use user uuid * SONAR-10597 Add ITs to check user tokens after login update
* SONAR-10597 Update QPROFILE_CHANGES#USER_LOGIN to USER_UUIDJulien Lancelot2018-05-235-1/+113
| | | | | | | | | | | | | | | * SONAR-10597 Refactor ChangelogActionTest Improve unit tests to really check JSON response Add some tests on not covered use cases * SONAR-10597 Rename QPROFILE_CHANGES#USER_LOGIN to USER_UUID * SONAR-10597 Fix ChangelogAction to not return user uuid * SONAR-10597 Add ITs to check qProfile changes after login update * SONAR-10597 Set user uuid instead of login when saving qprofile changes
* SONAR-10597 Use user UUID for ISSUES#ASSIGNEEGuillaume Jambet2018-05-233-2/+39
| | | | | | | | | | * SONAR-10597 add getUuid() on user Session * SONAR-10597 renames ISSUES.ASSIGNEE to ASSIGNEE_UUID * SONAR-10597 use assigneeUuid when assigning an Issue from ws * SONAR-10597 use assigneeUuid when assigning an Issue from ce * SONAR-10597 use assigneeUuid in issue search * SONAR-10597 use assigneeUuid in batch issue * SONAR-10597 Ignoring Tests failing in IssueChange
* SONAR-10598 Display warning page when detecting login update during ↵Julien Lancelot2018-05-2312-3/+477
| | | | | | | | | | | authentication * SONAR-10598 Refactor UserIdentityAuthenticator#authenticate to use a ParameterObject * SONAR-10598 Redirect user when login is updated and update personal org * SONAR-10598 Improve update of personal organization key * SONAR-10598 Improve IT stability related to generation of provider ID * SONAR-10598 Add USERS#ORGANIZATION_UUID * SONAR-10598 Replace usage of Organizaions#UserId by Users#OrganizationUuid
* SONAR-10599 Synchronize login during authenticationJulien Lancelot2018-05-2320-1/+944
|
* SONAR-10597 Introduce UUID in table USERSGuillaume Jambet2018-05-238-1/+341
|
* SONAR-10517 Create table project_mappingsJulien HENRY2018-05-165-1/+172
| | | | | | * Migration * Add DAO * Purge on project deletion
* SONAR-10666 Prevent users to migrate from a version < 6.7Simon Brandhof2018-05-151-1/+1
| | | | Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
* Make drop of db table re-entrantSimon Brandhof2018-05-1410-150/+74
| | | | | | | | That allows to speed-up Oracle migrations by removing the call to DatabaseUtils.tableExists(), which is super slow if many tables are accessible to the JDBC user. Signed-off-by: Simon Brandhof <simon.brandhof@sonarsource.com>
* SONAR-10647 Apply feedbackDuarte Meneses2018-05-091-1/+2
|
* SONAR-10647 Compare lines of code taking into account significant codeDuarte Meneses2018-05-095-1/+115
|
* SONAR-10515 ALM App Install table + DAOJulien HENRY2018-04-265-2/+181
| | | | * Add migration to create table alm_app_installs * Add dao for alm_app_installs
* SONAR-10544 Apply feedbackDuarte Meneses2018-04-263-3/+3
|
* SONAR-10544 Process external rulesDuarte Meneses2018-04-261-3/+1
|
* SONAR-10544 remove DESCRIPTION_URL column from RULES tableGuillaume Jambet2018-04-263-9/+1
|
* SONAR-10544 save externally defined Rules if neededGuillaume Jambet2018-04-261-0/+4
|
* SONAR-10544 add IS_EXTERNAL and DESCRIPTION_URL column to RULES tableGuillaume Jambet2018-04-265-3/+138
|
* Fix quality flawsEric Hartmann2018-04-171-1/+0
|
* SONAR-6949 Implements bcrypt hash for passwordEric Hartmann2018-04-173-4/+6
| | | | | | | Extract hash mechanism into a single class LocalAuthentication Implements SHA1 (deprecated) and bcrypt hash Set bcrypt as default Update the hash of a user during authentication if hash method was SHA1