]>
source.dussan.org Git - sonarqube.git/log
simonbrandhof [Fri, 27 May 2011 12:58:26 +0000 (14:58 +0200)]
SONAR-2469 add unit tests
simonbrandhof [Fri, 27 May 2011 11:52:46 +0000 (13:52 +0200)]
SONAR-2469 add unit tests
Evgeny Mandrikov [Fri, 27 May 2011 11:15:41 +0000 (15:15 +0400)]
Improve guide about creation of migration scripts
simonbrandhof [Fri, 27 May 2011 10:25:05 +0000 (12:25 +0200)]
SONAR-2468 new extension point org.sonar.api.bootstrap.ProjectBuilder
Evgeny Mandrikov [Fri, 27 May 2011 00:22:42 +0000 (04:22 +0400)]
SONAR-1922 Improve UI for profile changelog
* Reorder columns
* Use bold instead of italic to express parameter changes
* Show severity icons
* Lowercase action text and simplify code
Fabrice Bellingard [Fri, 27 May 2011 07:23:43 +0000 (09:23 +0200)]
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.
* Fixed handling of null values during migration.
Fabrice Bellingard [Thu, 26 May 2011 16:42:10 +0000 (18:42 +0200)]
SONAR-1688 Search box does not allow mouse clicks to select the item.
Had to comment 1 line in scriptaculous.js file.
Fabrice Bellingard [Thu, 26 May 2011 15:53:53 +0000 (17:53 +0200)]
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
Fabrice Bellingard [Thu, 26 May 2011 12:46:11 +0000 (14:46 +0200)]
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.
Fabrice Bellingard [Thu, 26 May 2011 12:31:00 +0000 (14:31 +0200)]
SONAR-2397 Remove sort on Assignee and Project
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).
Fabrice Bellingard [Thu, 26 May 2011 10:10:38 +0000 (12:10 +0200)]
SONAR-2453 Update the way "FALSE-POSITIVE" reviews are managed
1- Update the DB, migration scripts & co.
2- Update the model, controller & co.
3- Update the WS Client
simonbrandhof [Thu, 26 May 2011 06:33:18 +0000 (08:33 +0200)]
SONAR-2469 fix typo in name of InstantiationStrategy class
simonbrandhof [Wed, 25 May 2011 09:00:03 +0000 (11:00 +0200)]
SONAR-2469 refactor Module
SONAR-2469 instanciation strategy of batch extensions
SONAR-2469 fix initialization of project
Fabrice Bellingard [Wed, 25 May 2011 09:19:07 +0000 (11:19 +0200)]
Merge branch 'modif'
Fabrice Bellingard [Wed, 25 May 2011 09:17:47 +0000 (11:17 +0200)]
SONAR-2473 Fix SQL request to prevent "closing" again a review
Fabrice Bellingard [Wed, 25 May 2011 08:48:06 +0000 (10:48 +0200)]
SONAR-2450 Display the last comment of review in the Reviews page
- Fix alignment of comment with title
- Replaces '\n' by a space
Fabrice Bellingard [Wed, 25 May 2011 08:24:29 +0000 (10:24 +0200)]
SONAR-2443 Improve DB request to potentially fix IT pbm on Oracle
Freddy Mallet [Tue, 24 May 2011 20:18:29 +0000 (22:18 +0200)]
The Markdown class uses the new ChannelDispatch Builder
Evgeny Mandrikov [Tue, 24 May 2011 19:30:20 +0000 (23:30 +0400)]
Add missing Javadocs for Metric.Builder
Fabrice Bellingard [Tue, 24 May 2011 16:03:33 +0000 (18:03 +0200)]
SONAR-2443 Improve the assignee select-box in the resource viewer
For:
- creating a review
- assigning a review
Fabrice Bellingard [Tue, 24 May 2011 13:22:06 +0000 (15:22 +0200)]
SONAR-2443 Improve the user select-box when searching for review
- For field "author" and "assignee"
- Done as a reusable component
Evgeny Mandrikov [Tue, 24 May 2011 15:19:21 +0000 (19:19 +0400)]
SONAR-2425 Add index on CHARACTERISTIC_PROPERTIES.CHARACTERISTIC_ID
Index name limited to 30 characters in Oracle DB.
Freddy Mallet [Tue, 24 May 2011 14:15:25 +0000 (16:15 +0200)]
Provide a builder to the ChannelDispatcher class and depreciate all constructors
Evgeny Mandrikov [Mon, 23 May 2011 20:15:48 +0000 (00:15 +0400)]
SONAR-2425 Add index on CHARACTERISTIC_PROPERTIES.CHARACTERISTIC_ID
Evgeny Mandrikov [Mon, 23 May 2011 19:05:29 +0000 (23:05 +0400)]
SONAR-2464 Metric.Builder must set best and worst values when type percent
Fabrice Bellingard [Mon, 23 May 2011 14:50:07 +0000 (16:50 +0200)]
SONAR-2462 Leave false-positive review open until violation removed
A "False-Positive" review should be closed only when the underlying
violation disappears
Fabrice Bellingard [Mon, 23 May 2011 10:02:13 +0000 (12:02 +0200)]
SONAR-2454 Assignee must become null when flagging as false-positive
Fabrice Bellingard [Mon, 23 May 2011 08:54:04 +0000 (10:54 +0200)]
SONAR-2457 Fix source shown on review even if user is not 'codeviewer'
Fabrice Bellingard [Mon, 23 May 2011 08:04:09 +0000 (10:04 +0200)]
SONAR-2450 Display last comment on each review in the Reviews page
Displays only an excerpt of the comment if the comment is too long.
Evgeny Mandrikov [Sat, 7 May 2011 20:51:06 +0000 (00:51 +0400)]
Use factory Metric.Builder instead of Metric constructor
Fabrice Bellingard [Fri, 20 May 2011 16:29:57 +0000 (18:29 +0200)]
SONAR-2438 Display the last update date of reviews
Improve UI
Fabrice Bellingard [Fri, 20 May 2011 16:14:43 +0000 (18:14 +0200)]
SONAR-2397 Add the ability to sort the reviews in the "Reviews" page
Fabrice Bellingard [Fri, 20 May 2011 10:10:43 +0000 (12:10 +0200)]
SONAR-2450 Display the last comment on each review in the Reviews page
Fabrice Bellingard [Fri, 20 May 2011 09:31:09 +0000 (11:31 +0200)]
SONAR-2438 Display the last update date of reviews
Fabrice Bellingard [Fri, 20 May 2011 08:35:47 +0000 (10:35 +0200)]
SONAR-2419 Remove background color and border for permalinks
On the resource viewer, as it could look ugly if the violation
message was on more than 1 line
Fabrice Bellingard [Fri, 20 May 2011 08:28:23 +0000 (10:28 +0200)]
SONAR-2449 'updated_at' attribute of a review is not always updated
It was not updated when a comment is added, edited or deleted.
Now it is the case.
Evgeny Mandrikov [Thu, 19 May 2011 20:19:10 +0000 (00:19 +0400)]
SONAR-2432 Tune best and worst values for coverage metrics
* Define "0" best value on uncovered_lines, uncovered_conditions,
new_uncovered_lines and new_uncovered_conditions
* Define "100" best value and "0" worst value on line_coverage
simonbrandhof [Thu, 19 May 2011 16:49:02 +0000 (18:49 +0200)]
SONAR-2445 Do not remove BouncyCastle security provider
Fabrice Bellingard [Thu, 19 May 2011 15:02:30 +0000 (17:02 +0200)]
SONAR-2426 Allow to directly assign a violation to users
Fix "Assignee" label alignment (noticed on Chrome).
Fabrice Bellingard [Thu, 19 May 2011 14:47:47 +0000 (16:47 +0200)]
Merge branch 'WS'
Fabrice Bellingard [Wed, 18 May 2011 15:12:54 +0000 (17:12 +0200)]
SONAR-2419 Improve permalink visibility on review
- Permalinks are more visible on the resource viewer
- The review search page returns directly permalinks
simonbrandhof [Thu, 19 May 2011 14:14:21 +0000 (16:14 +0200)]
Fix merge of release 2.8
Fabrice Bellingard [Thu, 19 May 2011 13:39:37 +0000 (15:39 +0200)]
SONAR-2421 Review WS API is limited to "VIOLATION" by default
By default when using the reviews web service API, search is
limited to "VIOLATION" whereas this should not be the case.
Fabrice Bellingard [Thu, 19 May 2011 12:50:49 +0000 (14:50 +0200)]
SONAR-2402 When specifying a review id in the "Reviews" page, all other filter value should be deactivated/reinitialized
Done on Web client side, in Javascript, so that the result is
consistent with what the user sees on the search criteria.
Fabrice Bellingard [Thu, 19 May 2011 08:53:38 +0000 (10:53 +0200)]
SONAR-2426 Allow to directly assign a violation to users
Forgot the option to leave unassigned.
Fabrice Bellingard [Thu, 19 May 2011 07:58:46 +0000 (09:58 +0200)]
SONAR-2426 Allow to directly assign a violation to users
simonbrandhof [Wed, 18 May 2011 20:34:51 +0000 (22:34 +0200)]
Merge branch 'release-2.8'
simonbrandhof [Wed, 18 May 2011 18:30:23 +0000 (20:30 +0200)]
Release 2.8
Fabrice Bellingard [Wed, 18 May 2011 15:12:54 +0000 (17:12 +0200)]
SONAR-2419 Improve permalink visibility on review
- Permalinks are more visible on the resource viewer
- The review search page returns directly permalinks
simonbrandhof [Wed, 18 May 2011 14:14:18 +0000 (16:14 +0200)]
Fix CloseReviewDecorator on SQL Server and Oracle
Fabrice Bellingard [Wed, 18 May 2011 07:53:07 +0000 (09:53 +0200)]
SONAR-2347 CloseReviewsDecorator should execute only if isLastestAnalysis
Forgot to commit the test
Fabrice Bellingard [Wed, 18 May 2011 07:19:20 +0000 (09:19 +0200)]
SONAR-2347 Close review when resource does not exist anymore
Decorator should execute only on root projects
Evgeny Mandrikov [Tue, 17 May 2011 15:30:31 +0000 (19:30 +0400)]
Fix association between Project and ProjectDefinition
Fabrice Bellingard [Tue, 17 May 2011 15:29:25 +0000 (17:29 +0200)]
SONAR-2347 Close review when resource does not exist anymore
Fabrice Bellingard [Tue, 17 May 2011 10:21:06 +0000 (12:21 +0200)]
SONAR-2347 Update the "updated_at" column when closing reviews
Fabrice Bellingard [Tue, 17 May 2011 09:02:32 +0000 (11:02 +0200)]
SONAR-2347 Close a review when its corresponding violation is fixed
Update the DB Cleaner plugin to delete reviews and review comments
related to deleted projects.
simonbrandhof [Tue, 17 May 2011 06:40:32 +0000 (08:40 +0200)]
Sample: remove the quality profile and rule repository extensions
simonbrandhof [Mon, 16 May 2011 21:38:43 +0000 (23:38 +0200)]
Fix security issue
Fabrice Bellingard [Mon, 16 May 2011 13:50:59 +0000 (15:50 +0200)]
SONAR-1973 Fix review not linked to the project but to the module
Reviews should reference the top project that contains the violation
they reference, and not the module. It was not the case, and as a
consequence, the search engine did not work as expected.
simonbrandhof [Fri, 13 May 2011 14:58:27 +0000 (16:58 +0200)]
Upgrade to version 2.9-SNAPSHOT
simonbrandhof [Thu, 12 May 2011 09:32:07 +0000 (11:32 +0200)]
Fix security issue in /reviews/show URL
simonbrandhof [Thu, 12 May 2011 09:20:00 +0000 (11:20 +0200)]
Fix error log in webapp
simonbrandhof [Thu, 12 May 2011 09:09:19 +0000 (11:09 +0200)]
Fix display of source code in review detail
The problem occurs when the review relates to a violation tracked over time.
simonbrandhof [Thu, 12 May 2011 09:09:00 +0000 (11:09 +0200)]
Add comment in conf/sonar.properties for Oracle installation
Evgeny Mandrikov [Wed, 11 May 2011 08:50:38 +0000 (12:50 +0400)]
Fix NPE: register ReviewUnmarshaller
Evgeny Mandrikov [Sat, 7 May 2011 20:16:09 +0000 (00:16 +0400)]
Add Javadocs for CoreMetrics
simonbrandhof [Tue, 10 May 2011 11:06:06 +0000 (13:06 +0200)]
Temporarily downgrade version to 2.8-SNAPSHOT
simonbrandhof [Tue, 10 May 2011 09:32:41 +0000 (11:32 +0200)]
Fix CommandExecutorTest.java test on Windows
simonbrandhof [Tue, 10 May 2011 09:09:38 +0000 (11:09 +0200)]
Upgrade Javadoc maven plugin
simonbrandhof [Tue, 10 May 2011 07:04:27 +0000 (09:04 +0200)]
Improve versions of samples
simonbrandhof [Mon, 9 May 2011 21:15:11 +0000 (23:15 +0200)]
Upgrade version to 2.9-SNAPSHOT
simonbrandhof [Mon, 9 May 2011 18:10:26 +0000 (20:10 +0200)]
Release 2.8-RC2
simonbrandhof [Mon, 9 May 2011 13:08:37 +0000 (15:08 +0200)]
Fix compatibility with Oracle
simonbrandhof [Mon, 9 May 2011 11:39:30 +0000 (13:39 +0200)]
Try to fix CommandExecutorTest on Windows
simonbrandhof [Mon, 9 May 2011 11:05:22 +0000 (13:05 +0200)]
Fix IE7 bug
simonbrandhof [Fri, 6 May 2011 12:41:02 +0000 (14:41 +0200)]
Do not display violations viewer on modules/directories if there are no violations
Fabrice Bellingard [Fri, 6 May 2011 08:16:05 +0000 (10:16 +0200)]
SONAR-1973 Fix bug on submit button
If two reviews or false-positive were edited at the same time, the
submit buttons would not behave correctly as they had the same name.
simonbrandhof [Fri, 6 May 2011 07:03:40 +0000 (09:03 +0200)]
Improve the test CommandExecutorTest#shouldStopWithTimeout for slow boxes
simonbrandhof [Fri, 6 May 2011 06:48:46 +0000 (08:48 +0200)]
Remove the script deploy-docs.sh
simonbrandhof [Fri, 6 May 2011 05:20:12 +0000 (07:20 +0200)]
Fix dev profile
Evgeny Mandrikov [Thu, 5 May 2011 20:53:53 +0000 (00:53 +0400)]
Fix cobertura plugin to remove warning about lineId
simonbrandhof [Thu, 5 May 2011 20:30:48 +0000 (22:30 +0200)]
Replace -Ddev by -Pdev to increase build duration
Evgeny Mandrikov [Thu, 5 May 2011 19:01:54 +0000 (23:01 +0400)]
SONAR-2298 Fix bug, when root project not a first one in Maven reactor
This situation shouldn't lead to partial analysis.
simonbrandhof [Thu, 5 May 2011 19:50:53 +0000 (21:50 +0200)]
Fix 2 issues on drilldown pages
SONAR-2411 Filter out best values for packages and modules in drilldown
SONAR-2413 Empty variations in measure drilldown pages
simonbrandhof [Thu, 5 May 2011 16:30:20 +0000 (18:30 +0200)]
SONAR-2319 Add some HTML ids for integration tests
simonbrandhof [Thu, 5 May 2011 15:47:50 +0000 (17:47 +0200)]
SONAR-2344 Remove the warning 'experimental service'
simonbrandhof [Thu, 5 May 2011 15:19:26 +0000 (17:19 +0200)]
Improve the web services 'violations' and 'reviews'
SONAR-2249 always use unix newline (LF) in violation messages
SONAR-2382 always use unix newlines (LF) in review comments (plain output)
SONAR-2382 use upper-case constants for output parameter
SONAR-2382 replace the XML node <user> by <author>
simonbrandhof [Thu, 5 May 2011 15:12:30 +0000 (17:12 +0200)]
Exclude samples from analysis
simonbrandhof [Thu, 5 May 2011 13:19:52 +0000 (15:19 +0200)]
Rename the class MarkdownEngine to Markdown
Fabrice Bellingard [Thu, 5 May 2011 13:10:57 +0000 (15:10 +0200)]
Merge remote branch 'upstream/master'
Fabrice Bellingard [Thu, 5 May 2011 13:09:34 +0000 (15:09 +0200)]
SONAR-2381 Fix error in Review WS client
simonbrandhof [Thu, 5 May 2011 13:08:04 +0000 (15:08 +0200)]
Reduce technical debt
simonbrandhof [Thu, 5 May 2011 12:23:05 +0000 (14:23 +0200)]
Delete unused GWT classes
simonbrandhof [Thu, 5 May 2011 11:59:17 +0000 (13:59 +0200)]
Remove some dead code
simonbrandhof [Thu, 5 May 2011 11:53:52 +0000 (13:53 +0200)]
SONAR-2357 Add samples to build + improve samples for rules
Simon Brandhof [Thu, 5 May 2011 10:28:27 +0000 (03:28 -0700)]
Edited samples/README.txt via GitHub
simonbrandhof [Thu, 5 May 2011 10:25:41 +0000 (12:25 +0200)]
SONAR-2357 Add sample of PMD extensions
simonbrandhof [Thu, 5 May 2011 08:59:57 +0000 (10:59 +0200)]
Fix ruby warning on deprecated i18n label
simonbrandhof [Wed, 4 May 2011 20:57:28 +0000 (22:57 +0200)]
SONAR-2357 add a sample for Checkstyle extensions