SONAR-2520 Add support for RESOLVED and REOPENED statuses for reviews
- Modifications on the Web UI side to allow to resolve reviews
- Modifications on the batch side to reopen reviews that were
specified as resolved but the violation has not been fixed
- Modifications on the WS server side to allow to change the status
of a review to RESOLVED or REOPENED
- Modifications on the WS client to reflect those server side changes
SONAR-2495 Correctly deregister JDBC Driver to prevent memory leaks
DriverDatabaseConnector should register only one instance of
DriverProxy in DriverManager and also should perform deregistration.
But this is not enough to prevent memory leaks, so class loader for
JDBC Driver should perform additional efforts for deregistration.
simonbrandhof [Mon, 6 Jun 2011 22:31:44 +0000 (00:31 +0200)]
Use always the same pattern to display dates and times.
Date must include day of month, abbreviated month name, year. No need for day name or long month name.
Time includes hour and minutes only. No need for seconds nor timezone.
Evgeny Mandrikov [Tue, 31 May 2011 20:01:05 +0000 (00:01 +0400)]
SONAR-1922 Improve UI for profile changelog
* Removed useless version column from Quality Profiles page.
* To improve readability - version of profile displayed in a dedicated
column on Changelog page, otherwise it can be difficult to determine
version associated to a row.
* Allowed to select both versions to compare.
* CSS attribute "word-wrap" was set to "break-word" to decrease width of
table, when parameter value too huge. Tested in Chromimum 12.0.742.68
and in Firefox 3.6.17.
SONAR-2404 Extend the Review web service API to create & update
- Java client WS: create, update and delete queries
- Added the ID of each comment on a review (JSON and XML) to be able
to cleanly delete the last comment of a review
SONAR-2388 clear the "Assigned to" field when appropriate
Clear the "Assigned to" field when the options "With false-positives"
and "Only false-positives" are selected otherwise no result is
returned as false-positive review are automatically unassigned.
Evgeny Mandrikov [Thu, 26 May 2011 22:07:33 +0000 (02:07 +0400)]
SONAR-1922 Add a kind of version control for quality profiles
Apply patch, which was contributed by Julien Henry:
* Following algorithm was implemented: Every profile starts with
version=1 and used=false. As soon as there is an analysis of a
project, the involved profile is set to used=true. Every modification
to a quality profile (activation, deactivation or modification of
rule) is logged in DB in dedicated tables. When a modification is done
on a profile that is used=true, then version number is increased and
profile is set to used=false.
* Introduced new metric to store profile version, which was used during
analysis.
* If profile for project is different than the one used during previous
analysis, then event would be created.
* Introduced new tab 'changelog' for profiles.
Following fixes were applied on original patch:
* Index name limited to 30 characters in Oracle DB, so names were
reduced.
* Field ActiveRuleChange.profileVersion never read locally, because
ruby read it directly from DB, so getter added.
* Direction doesn't make sense for 'profile_version' metric, so was
removed.
* Fixed ProfileEventsSensor: it seems that TimeMachine not guarantee
that the order of measures would be the same as in query, so we should
perform two sequential queries.
SONAR-2388 Make it possible to search for 'false-positive' reviews
- Adds select box on the search page
- Change comment icon color if false-positive
- Add "False positive" label on the permalink page
- Adjust link that opens the resource to directly open the resource
viewer on the false-positives
SONAR-2443 Remove indicator from suggest field to prevent "shaking"
FI: the display of the indicator is handle by the scriptaculous
component, which uses the "display" property instead of the
"visibility" one to hide/show the indicator. This is what causes
the "shaking" of elements placed on the right side of the component
while waiting for the answer from the server.