SONAR-10597 Update RULES_METADATA#NOTE_USER_LOGIN to NOTE_USER_UUID
* 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_UUID
* 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_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_UUID
* 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 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 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
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>
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
to prevent accumulating too many rows in the transaction. By default
250*(nb of file/developer measures per analysis) are part of the
transaction. That is too much, for example for size of Oracle rollback
segments.
SONAR-10366 Add pull request object to api/project_branches/list and api/ce/activity
SONAR-10365 Analyze pull requests as 1st class citizen
SONAR-10366 SONAR-10367 Create WS api/projet_pull_requests/list and delete
SONAR-10383 Add Pull Request information when listing CE tasks
SONAR-10365 Add key type in PROJECT_BRANCHES (#3063)
SONAR-10371 Add pullRequest parameter in the Web API (#3076)
* ComponentFinder searches by branch or pull request
* Add pullRequest parameter to WS api/issues/* WS
* Add pullRequest parameter to api/settings/* WS
* Add pullRequest parameter to api/badges/* WS
* Add pullRequest parameter to api/components/* WS
* Add pullRequest parameter to api/sources/* WS
SONAR-10368 Copy issue states from pull request after it's merged
SONAR-10373 Send notifications for events on issues of a pull request
SONAR-10365 Add pull_request_binary column in project_branches (#3073)
SONAR-10433 Store pull request in projects table
SONAR-10371 Add pullRequest field in the Web API
SONAR-10365 Analyze pull requests as 1st class citizen
BRANCH-45 Expose issue resolution for PR decoration
BRANCH-49 Basic support of pull request analysis on pull request branch
BRANCH-47 Fail when user tries to analyze a pull request and the plugin is not available
SONAR-10366 update pull request decorated links to project and issues
SONAR-10365 Use pull request id as key instead of branch name
SONAR-10454 Update embedded Git 1.4 and SVN 1.7
SONAR-10365 rename sonar.pullrequest.id to sonar.pullrequest.key
SONAR-10383 api/navigation/component returns the pull request key