SONAR-11321 Bind organization to alm installation when creating organization
* Return AlmAppInstallDto in select methods of AlmAppInstallDao, this is required in order to be able to more easily link an OrganizationDto to a AlmAppInstallDto in next commit
* Create ORGANIZATION_ALM_BINDINGS table
* Bind organization with installation when creating organization
* Delete alm binding when removing organization
* Delete alm binding when uninstalling ALM application
* Return ALM info in api/organizations/search
* Ensure user is admin to return Bitbucket team/user details
SONAR-11302 Decrease ORGANIZATIONS#KEE from 300 to 255
As personal organizations are created from login, it was decided to increase the org key size to a round number (300) higher than the login size (255).
Unfortunately, MySQL doesn't support to use more than 255 characters in a unique index.
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
Delete webhooks and webhook deliveries only once (#667)
- Deletion were done at 3 places when deleting an organization :
-- In the api/organization/delete WS
-- In component cleaner
-- In PurgeDao
- Moreover, the deletion of webhook deliveries in the last 2 classes were not done by project, but by selecting all webhook deliveries of the project and deleting them one by one
SONAR-11021 Add default QProfile when creating organization
even if the registry do not contains the QualityProfile. BuiltInQProfileRepository must not be used because
the plugin may have been uninstalled and when reinstalled this may break the contract.
SONAR-10944 Add subscription flag to organizations
* 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-10598 Display warning page when detecting login update during 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