]>
source.dussan.org Git - sonarqube.git/log
Evgeny Mandrikov [Tue, 22 May 2012 20:25:19 +0000 (02:25 +0600)]
Fix some quality flaws
Evgeny Mandrikov [Tue, 22 May 2012 19:12:25 +0000 (01:12 +0600)]
SONAR-3182 Remove unused code
Simon Brandhof [Tue, 22 May 2012 18:11:27 +0000 (20:11 +0200)]
SONAR-2706 add unit tests
David Gageot [Tue, 22 May 2012 16:27:11 +0000 (18:27 +0200)]
SONAR-3016 Provide default filters through extension point
David Gageot [Tue, 22 May 2012 17:13:55 +0000 (19:13 +0200)]
FIX we shouldn't be able to unfollow a non-shared dashboard
David Gageot [Tue, 22 May 2012 17:10:34 +0000 (19:10 +0200)]
FIX A newly followed dashboard should always come last in the list
David Gageot [Tue, 22 May 2012 17:06:13 +0000 (19:06 +0200)]
FIX Show only enabled projects
David Gageot [Tue, 22 May 2012 15:44:54 +0000 (17:44 +0200)]
Rename Ruby partial
Fabrice Bellingard [Tue, 22 May 2012 16:28:24 +0000 (18:28 +0200)]
SONAR-2706 Add utility class to offer easier API
Simon Brandhof [Tue, 22 May 2012 15:09:31 +0000 (17:09 +0200)]
SONAR-3445 The path "Search" feature on filters doesn't work any more
Simon Brandhof [Tue, 22 May 2012 14:22:59 +0000 (16:22 +0200)]
SONAR-2706 add support of default values in HasProjectPropertyCondition
David Gageot [Tue, 22 May 2012 15:10:41 +0000 (17:10 +0200)]
SONAR-3016 Remove unused imports
David Gageot [Tue, 22 May 2012 14:09:55 +0000 (16:09 +0200)]
SONAR-3016 Partial documentation of extension point for filter template
Simon Brandhof [Tue, 22 May 2012 13:57:09 +0000 (15:57 +0200)]
SONAR-2706 Delete unused classes in API
David Gageot [Tue, 22 May 2012 12:52:24 +0000 (14:52 +0200)]
SONAR-3016 More work on extension point for filter template
Introduce Criteria and FilterColums
David Gageot [Tue, 22 May 2012 09:56:58 +0000 (11:56 +0200)]
SONAR-3016 More work on extension point for filter template
Recognize more filter criterias
David Gageot [Tue, 22 May 2012 08:51:06 +0000 (10:51 +0200)]
SONAR-3016 More work on extension point for filter template
Added mappers and dots for criteria and fiter_columns
Fabrice Bellingard [Tue, 22 May 2012 07:26:28 +0000 (09:26 +0200)]
SONAR-3218 Update message of "migration running" page
David Gageot [Fri, 18 May 2012 13:10:10 +0000 (15:10 +0200)]
SONAR-3016 Draft of new extension point for filter template
David Gageot [Mon, 21 May 2012 14:58:50 +0000 (16:58 +0200)]
Remove 3 warnings
Simon Brandhof [Mon, 21 May 2012 20:05:51 +0000 (22:05 +0200)]
SONAR-3397 Widget "Custom Measures" is empty
David Gageot [Mon, 21 May 2012 16:42:33 +0000 (18:42 +0200)]
Fix widget title for project widget on global dashboards
Simon Brandhof [Mon, 21 May 2012 15:06:04 +0000 (17:06 +0200)]
SONAR-2706 Verify "context conditions" only once
David Gageot [Mon, 21 May 2012 14:33:18 +0000 (16:33 +0200)]
Fix editing widget that don't have a title.
The javascript was broken is not title was present.
David Gageot [Mon, 21 May 2012 14:21:22 +0000 (16:21 +0200)]
Empty widgets shouldn't be displayed
David Gageot [Mon, 21 May 2012 14:11:02 +0000 (16:11 +0200)]
Display widget title for filter widgets added to project dashboard
David Gageot [Mon, 21 May 2012 14:10:16 +0000 (16:10 +0200)]
Remove duplication in widget code
Simon Brandhof [Mon, 21 May 2012 13:59:35 +0000 (15:59 +0200)]
SONAR-2706 Add the condition HasReviewPropertyCondition
David Gageot [Mon, 21 May 2012 13:33:42 +0000 (15:33 +0200)]
Fix dashboard title
David Gageot [Mon, 21 May 2012 12:58:05 +0000 (14:58 +0200)]
Now there are PROJECT and GLOBAL constants in WidgetScope
Simon Brandhof [Mon, 21 May 2012 13:02:38 +0000 (15:02 +0200)]
SONAR-2706 Add extension point to customize workflow of reviews
Note that this extension point is still not exposed to public API. It's still located in
the package org.sonar.core.reviews.workflow of sonar-core.
Simon Brandhof [Sun, 20 May 2012 17:55:40 +0000 (19:55 +0200)]
Update description in pom
David Gageot [Mon, 21 May 2012 12:44:02 +0000 (14:44 +0200)]
Fix Global Dashboard editing
Fabrice Bellingard [Mon, 21 May 2012 09:24:25 +0000 (11:24 +0200)]
SONAR-3218 Add a new status to the '/api/server' WS
=> 'MIGRATION_RUNNING'
Fabrice Bellingard [Mon, 21 May 2012 06:51:18 +0000 (08:51 +0200)]
SONAR-3145 During migration, access to Sonar is not allowed
Fabrice Bellingard [Sun, 20 May 2012 14:48:03 +0000 (16:48 +0200)]
SONAR-3218 / SONAR-3146 Improve the Sonar migration service
- Offers better mechanism to prevent any parallel executions
- Provides information on the time already spent
- Adapt UI & WS to use this mechanism
Simon Brandhof [Mon, 21 May 2012 09:30:49 +0000 (11:30 +0200)]
SONAR-3495 Initial exception is lost when settings can't be decrypted
Simon Brandhof [Mon, 21 May 2012 09:30:25 +0000 (11:30 +0200)]
SONAR-3494 ultra minor improvement of title in a configuration page...
Simon Brandhof [Mon, 21 May 2012 09:24:41 +0000 (11:24 +0200)]
Explicitly set the default value of the field Dashboard#global
Simon Brandhof [Mon, 21 May 2012 09:24:12 +0000 (11:24 +0200)]
Remove ImageWidget. It was used for validating new dashboards.
Fabrice Bellingard [Mon, 21 May 2012 06:56:50 +0000 (08:56 +0200)]
SONAR-3126 Ignore "sonar.core.id" when exporting properties
Fabrice Bellingard [Mon, 21 May 2012 06:02:33 +0000 (08:02 +0200)]
SONAR-3126 Only "sonar.core.id" should remain unchanged
=> See https://github.com/SonarSource/sonar/commit/
44ff7e7806469b587c1e3f252ad00d696b2b52db
Fabrice Bellingard [Sun, 20 May 2012 13:41:22 +0000 (15:41 +0200)]
SONAR-3074 Improve the logging when duplicate FB plugin is loaded
Fabrice Bellingard [Sun, 20 May 2012 13:33:23 +0000 (15:33 +0200)]
SONAR-3126 Fix side effect of this ticket: PropertiesBackup
=> As now Sonar batch relies on "sonar.core.id" property to check
that the batch connects to the same DB as the configured remote
server, this property should not be cleared when restoring a
backup from the UI.
Actually, every "sonar.core.*" property should not be cleared.
David Gageot [Fri, 18 May 2012 14:49:04 +0000 (16:49 +0200)]
Better links in 'Manage Dashboards' section
David Gageot [Fri, 18 May 2012 11:49:09 +0000 (13:49 +0200)]
Minor GUI tweaks
David Gageot [Fri, 18 May 2012 11:39:33 +0000 (13:39 +0200)]
Fix links in My Dashboards sections
David Gageot [Fri, 18 May 2012 10:15:02 +0000 (12:15 +0200)]
SONAR-3480 Editing a default filter shouldn't change its owner.
David Gageot [Fri, 18 May 2012 10:04:29 +0000 (12:04 +0200)]
SONAR-3482 Prevent removing a filter which is used by a widget
When a dashboard was deleted, its widgets were deleted but not its
widget properties.
David Gageot [Fri, 18 May 2012 09:14:00 +0000 (11:14 +0200)]
SONAR-3483 "My Filters" shouldn't display filters which are owned by another user
Fabrice Bellingard [Fri, 18 May 2012 09:46:45 +0000 (11:46 +0200)]
SONAR-3126 Add check for same server ID when launching a batch
=> Stop the Sonar Analysis when the Sonar batch and the Sonar server
are not using the same DB
Simon Brandhof [Fri, 18 May 2012 08:05:48 +0000 (10:05 +0200)]
SONAR-3422 Filters are long to be displayed with MsSQL
David Gageot [Thu, 17 May 2012 16:50:35 +0000 (18:50 +0200)]
SONAR-3471 Add a link to "My Filters" when editing a Filter widget
David Gageot [Thu, 17 May 2012 16:42:08 +0000 (18:42 +0200)]
SONAR-2073 Fix name of period being displayed on filter widgets
The period used to display the widget was ok but not the label.
Fabrice Bellingard [Fri, 18 May 2012 05:36:34 +0000 (07:36 +0200)]
SONAR-3074 Add comments into the code about FB issue with Security Manager
Simon Brandhof [Thu, 17 May 2012 12:28:45 +0000 (14:28 +0200)]
SONAR-3375 improve IE6 warning
Fabrice Bellingard [Wed, 16 May 2012 15:48:37 +0000 (17:48 +0200)]
SONAR-3074 Disable update check for every FB plugin
David Gageot [Wed, 16 May 2012 13:58:58 +0000 (15:58 +0200)]
SONAR-3482 Prevent removing a filter which is used by a widget
David Gageot [Wed, 16 May 2012 13:52:17 +0000 (15:52 +0200)]
SONAR-2073 Fix filter widget title format
David Gageot [Wed, 16 May 2012 13:43:01 +0000 (15:43 +0200)]
SONAR-3481 and SONAR-3483 Fix filters shown in MyFilters section.
Only filters that one can edit/delete should be displayed.
Default filters attached to null user should be deletable by
administrators.
Fabrice Bellingard [Wed, 16 May 2012 12:58:55 +0000 (14:58 +0200)]
SONAR-3074 Keep SecurityManager in memory because FB plays with it
=> which causes an "access denied" on shutdown of the executor
service
David Gageot [Tue, 15 May 2012 18:36:10 +0000 (20:36 +0200)]
Fix global dashboards
Fabrice Bellingard [Tue, 15 May 2012 14:56:59 +0000 (16:56 +0200)]
SONAR-2706 Should start displaying the 'loading' icon sooner
=> Before initiating the request (I guess the ITs are failing because
of this)
David Gageot [Tue, 15 May 2012 14:46:24 +0000 (16:46 +0200)]
Fix the build by removing unused dependency.
This dependency is not found in Maven Central.
David Gageot [Tue, 15 May 2012 14:14:41 +0000 (16:14 +0200)]
SONAR-2073 Get rid of time period
- remove the "Differential period" dropdown list
- if a differential period is defined on the filter, display this
differential period close to the name of the filter.
Example : Projects ( over 5 days)
Fabrice Bellingard [Tue, 15 May 2012 13:43:03 +0000 (15:43 +0200)]
SONAR-3074 Add new Findbugs 2.0 new rules
Fabrice Bellingard [Tue, 15 May 2012 12:24:41 +0000 (14:24 +0200)]
SONAR-3074 Update code to use Findbugs 2.0
David Gageot [Tue, 15 May 2012 13:04:28 +0000 (15:04 +0200)]
SONAR-2073 Fix the url given when a widget is not configured.
When a Filter widget has not yet been configured, the following message is displayed "Please configure the widget Filter." but link is incorrect as for instance this link is "http://localhost:9000/dashboard/configure/8?did=8" instead of "http://localhost:9000/dashboard/configure?did=8"
David Gageot [Tue, 15 May 2012 12:26:56 +0000 (14:26 +0200)]
Fix filters and dashboards on Oracle and Derby
Two SQL queries used a postgresql specific syntax.
Fabrice Bellingard [Tue, 15 May 2012 09:13:25 +0000 (11:13 +0200)]
SONAR-2706 Fix issue detected by ITs
David Gageot [Mon, 14 May 2012 15:25:10 +0000 (17:25 +0200)]
SONAR-3460 Improve dashboard migration
We should create one dashboard per filter and one active dashboard per active filter.
Simon Brandhof [Mon, 14 May 2012 14:20:22 +0000 (16:20 +0200)]
SONAR-3375 Add a warning message in the footer when the browser is IE6
David Gageot [Mon, 14 May 2012 14:14:43 +0000 (16:14 +0200)]
SONAR-3461 fix actions to order widgets.
Sometimes several clicks are required to really change the order of dashboards.
Fabrice Bellingard [Mon, 14 May 2012 13:59:22 +0000 (15:59 +0200)]
Fix Sonar Core Plugin unit tests
Fabrice Bellingard [Mon, 14 May 2012 13:29:44 +0000 (15:29 +0200)]
Fix Sonar Core unit tests
David Gageot [Mon, 14 May 2012 13:12:08 +0000 (15:12 +0200)]
SONAR-2073 - Fix which filters are visible and group them by category.
In a filter widget you shouldn't access to a filter created by another user but not shared by this user.
Moreover, in the dropdown list to select a filter to be displayed it would be valuable to display to different sections : one for "my own filters" and the other one for the "shared filters".
Fabrice Bellingard [Mon, 14 May 2012 10:52:31 +0000 (12:52 +0200)]
SONAR-2706 Change migration script ID after rebase from master
Fabrice Bellingard [Mon, 14 May 2012 10:25:56 +0000 (12:25 +0200)]
SONAR-2706 Add documentation
Fabrice Bellingard [Mon, 14 May 2012 09:46:08 +0000 (11:46 +0200)]
SONAR-2706 Better display errors when command creation fails
Fabrice Bellingard [Mon, 14 May 2012 08:53:03 +0000 (10:53 +0200)]
SONAR-2541 / SONAR-2706 Extract the JIRA Reviews plugin
- It will be part of the forge
Fabrice Bellingard [Mon, 14 May 2012 07:22:55 +0000 (09:22 +0200)]
SONAR-2706 Add loading icon as the linking action can be long
Fabrice Bellingard [Mon, 14 May 2012 06:43:25 +0000 (08:43 +0200)]
SONAR-2706 Add review commands & actions on review permalink page
Fabrice Bellingard [Mon, 14 May 2012 06:06:21 +0000 (08:06 +0200)]
SONAR-2706 Fix test and some issues
Fabrice Bellingard [Sun, 13 May 2012 20:41:21 +0000 (22:41 +0200)]
SONAR-2706 / SONAR-2541 Refactoring
Fabrice Bellingard [Fri, 11 May 2012 09:32:10 +0000 (11:32 +0200)]
SONAR-2541 Improve code
- Use Preconditions
Fabrice Bellingard [Thu, 10 May 2012 17:15:50 +0000 (19:15 +0200)]
SONAR-2541 Replace "review_data" table by "data" column on "reviews"
- And feed this column when linking a review to JIRA, so that the
menu does not appear any more.
Fabrice Bellingard [Thu, 10 May 2012 15:42:53 +0000 (17:42 +0200)]
SONAR-2541 Add the sonar-reviews-plugin with JiraLinkReviewAction
- Based on SOAP for creating the issue
- For the moment only creates on the FOO project on locahost:8080
with user admin/admin
=> Next step is to get all this from the project or global
properties
Fabrice Bellingard [Wed, 9 May 2012 14:45:38 +0000 (16:45 +0200)]
SONAR-2541 Add extension point LinkReviewAction
- Draft of API
- Add the review_data table
- Link all this with the Ruby side
- Allow to call the action from the Web UI
David Gageot [Mon, 14 May 2012 12:09:25 +0000 (14:09 +0200)]
"My Filters" is now available to every user.
David Gageot [Mon, 14 May 2012 12:01:42 +0000 (14:01 +0200)]
Check that @WidgetScope is given a valid scope.
Because it's a public API, we don't want to use enums. So we have to check for valid values.
David Gageot [Mon, 14 May 2012 11:49:43 +0000 (13:49 +0200)]
SONAR-3457 Projet selection should be first property
When a widget has some properties to be defined the choice of the project to be used is at the bottom of this list whereas this should be the first thing to select.
Simon Brandhof [Mon, 14 May 2012 11:53:34 +0000 (13:53 +0200)]
Fix redirection to login form from urls /plugins/*
David Gageot [Mon, 14 May 2012 10:24:30 +0000 (12:24 +0200)]
Fix warnings
David Gageot [Mon, 14 May 2012 10:22:49 +0000 (12:22 +0200)]
Replace @WidgetGlobal by @WidgetScope.
A widget could be available for both project and global dashboards so we can't rely on a single flag. Using a scope identifier is better.
David Gageot [Mon, 14 May 2012 08:57:30 +0000 (10:57 +0200)]
Fix widget controller for global widgets
For global widgets, we shouldn't force loading a resource.
David Gageot [Sat, 12 May 2012 09:39:59 +0000 (11:39 +0200)]
Fix migration by adding a faux-model for ActiveFilter
ActiveFilter table is not used anymore, so each migration using this
table should user a faux-model instead.
David Gageot [Fri, 11 May 2012 17:02:43 +0000 (19:02 +0200)]
FIX remove redirection from home to dashboard
Simon Brandhof [Fri, 11 May 2012 16:10:44 +0000 (18:10 +0200)]
Add ServletFilter.UrlPattern#getUrl()
David Gageot [Fri, 11 May 2012 15:06:58 +0000 (17:06 +0200)]
FIX filter creation and deletion
David Gageot [Fri, 11 May 2012 14:32:41 +0000 (16:32 +0200)]
FIX dashboards with a favourite filter should not be activated