* 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.
* Version of profile was added to widget.
* Save and show username instead of login.
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
* Create event only when actual change of version or profile was done.
* Use only one form for event description: "ProfileA version X is used
instead of ProfileB version Y".
* Show message instead of empty table, when no changes were done.
* Add a select box to only show changelog between the last version and
another selected version (penultimate by default).
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.
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.
* Fixed handling of null values during migration.
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.
The reason is that the DB request fails on Derby because of the joint
needed to get the assignee name or the project name.
FI: it worked on Postgres (and probably all other "real" DBs).