]>
source.dussan.org Git - sonarqube.git/log
Simon Brandhof [Sat, 25 Feb 2017 14:07:47 +0000 (15:07 +0100)]
Use project build dir as temporary dir for tests
Simon Brandhof [Sat, 25 Feb 2017 07:41:25 +0000 (08:41 +0100)]
Fix quality flaws
Simon Brandhof [Fri, 24 Feb 2017 15:46:37 +0000 (16:46 +0100)]
Drop usages of MyBatis#openSession()
in favor of DbClient#openSession()
Simon Brandhof [Thu, 23 Feb 2017 22:11:37 +0000 (23:11 +0100)]
MyBatis implements Startable
Simon Brandhof [Thu, 23 Feb 2017 22:08:13 +0000 (23:08 +0100)]
Deprecate MyBatis#closeQuietly(DbSession)
Simon Brandhof [Thu, 23 Feb 2017 22:07:35 +0000 (23:07 +0100)]
Replace usage of MyBatis SqlSession by DbSession
Simon Brandhof [Thu, 23 Feb 2017 21:50:04 +0000 (22:50 +0100)]
Clean-up class MyBatis
Simon Brandhof [Thu, 23 Feb 2017 21:49:29 +0000 (22:49 +0100)]
Replace DbClient#closeSession(DbSession) by try-with-resources
Daniel Schwarz [Sat, 25 Feb 2017 15:06:07 +0000 (16:06 +0100)]
SONAR-8092 do not use thread pools for es indexing anymore (#1709)
SONAR-8092 do not use thread pools for es indexing anymore
Daniel Schwarz [Fri, 24 Feb 2017 15:22:44 +0000 (16:22 +0100)]
SONAR-8837 create log line, as soon as indexing is done
Sébastien Lesaint [Thu, 23 Feb 2017 17:32:30 +0000 (18:32 +0100)]
SONAR-7937 restart reloads sonar.properties
but changes of FileSystem related properties are not supported and will make restart fail
Sébastien Lesaint [Thu, 23 Feb 2017 10:40:30 +0000 (11:40 +0100)]
SONAR-7937 extract JavaCommandFactory from App
and fix missing coverage on this part
Sébastien Lesaint [Thu, 23 Feb 2017 09:20:28 +0000 (10:20 +0100)]
SONAR-7937 Monitor reloads JavaCommand to execute on restart
Sébastien Lesaint [Fri, 24 Feb 2017 12:53:54 +0000 (13:53 +0100)]
SONAR-8435 add info message saying WebServer is operational to web.log
and modify message in Compute Engine to be "is operational" instead of "is up" for consistency
Sébastien Lesaint [Fri, 24 Feb 2017 12:28:23 +0000 (13:28 +0100)]
SONAR-8435 fix WS of Level4 available before going out of SafeMode
Sébastien Lesaint [Tue, 21 Feb 2017 13:51:34 +0000 (14:51 +0100)]
SONAR-8435 log "SonarQube is up" if all processes are operational
which implies:
1/ to distinguish from Monitored#getStatus() = UP and OPERATIONAL
2/ to have an option of Monitor to wait on process's status to be OPERATIONAL
3/ every Monitored implementation must return OPERATIONAL rather than UP if then don't make a distinction between the two
Sébastien Lesaint [Tue, 21 Feb 2017 13:48:21 +0000 (14:48 +0100)]
SONAR-8435 fix safemode on non startup-leader failing at startup
because of unresolved dependency DatabaseMigration and that now safemode can occur even non startup-leader nodes
Sébastien Lesaint [Tue, 21 Feb 2017 11:24:07 +0000 (12:24 +0100)]
SONAR-8435 add abort exit points to AutoStarter when shutdown while running
Sébastien Lesaint [Mon, 20 Feb 2017 15:33:09 +0000 (16:33 +0100)]
SONAR-8435 run level3, 4 and startup in background thread in safemode
Sébastien Lesaint [Mon, 20 Feb 2017 17:41:12 +0000 (18:41 +0100)]
SONAR-7485 suppress logs from Tomcat's ContainerBase and StandardContext
they produce error logs which do not provide any relevant information
Sébastien Lesaint [Mon, 20 Feb 2017 17:39:28 +0000 (18:39 +0100)]
SONAR-7485 don't let exceptions go up to Tomcat
instead, they are logged in PlatformServletContextListener but a dedicated exception is thrown to make Tomcat's startup fail
Sébastien Lesaint [Mon, 20 Feb 2017 17:36:54 +0000 (18:36 +0100)]
SONAR-7485 specifically handle MessageException in PlatformServletContextListener
no printStackTrace is done on MessageException, instead the exception's message is displayed inline
Sébastien Lesaint [Mon, 20 Feb 2017 17:27:42 +0000 (18:27 +0100)]
SONAR-7500 TomcatAccessLog must log at DEBUG level
the information that the web server is started/stopped is already logged by other classes with logger name more relevant to the labels of the logs
Sébastien Lesaint [Mon, 20 Feb 2017 16:55:57 +0000 (17:55 +0100)]
SONAR-7500 remove useless Monitored WARN log when web fails to start
by replacing Monitored#isUp() by Monitored#getStatus()
Sébastien Lesaint [Tue, 21 Feb 2017 10:04:10 +0000 (11:04 +0100)]
fix quality flaw: missing package-info.java
Evgeny Mandrikov [Fri, 24 Feb 2017 17:37:23 +0000 (18:37 +0100)]
Delete .sonarsource.properties
Daniel Schwarz [Fri, 24 Feb 2017 13:55:02 +0000 (14:55 +0100)]
SOANR-8092 make BulkIndexer size an enum for better readability
Daniel Schwarz [Fri, 24 Feb 2017 13:32:10 +0000 (14:32 +0100)]
SONAR-8092 on startup, create es replicas, after all indexing is done
Daniel Schwarz [Fri, 24 Feb 2017 12:27:54 +0000 (13:27 +0100)]
SONAR-8092 only index empty types (not all types of an empty index)
Old behaviour: If one of the types of an Indexer is empty, reindex all of its types. New behaviour: Reindex all empty types.
Daniel Schwarz [Thu, 23 Feb 2017 15:07:28 +0000 (16:07 +0100)]
SONAR-8390 when altering users, only reindex touched users
Daniel Schwarz [Wed, 22 Feb 2017 09:52:46 +0000 (10:52 +0100)]
SONAR-8092 index issues when changed in the db, ignore updatedAt
Daniel Schwarz [Tue, 21 Feb 2017 16:49:27 +0000 (17:49 +0100)]
SONAR-8092 do not rely on updated-timestamp for indexing anymore
Daniel Schwarz [Tue, 21 Feb 2017 15:43:50 +0000 (16:43 +0100)]
SONAR-8092 use the same kind of log message for all startup-indexers
Daniel Schwarz [Tue, 21 Feb 2017 15:15:07 +0000 (16:15 +0100)]
SONAR-8092 only reindex es indices, that contain at least one empty type
Daniel Schwarz [Tue, 21 Feb 2017 12:51:47 +0000 (13:51 +0100)]
SONAR-8092 combine es index name and es type name into IndexTypeId
Daniel Schwarz [Mon, 20 Feb 2017 16:57:27 +0000 (17:57 +0100)]
SONAR-8092 generalise startup of es indexers
Daniel Schwarz [Fri, 24 Feb 2017 15:48:26 +0000 (16:48 +0100)]
set embedded database timeout to 30s for slow build machines
Stas Vilchik [Thu, 23 Feb 2017 21:05:14 +0000 (22:05 +0100)]
fix indentation
Stas Vilchik [Wed, 22 Feb 2017 08:32:55 +0000 (09:32 +0100)]
fix indentation
Janos Gyerik [Thu, 23 Feb 2017 10:49:27 +0000 (11:49 +0100)]
Log as debug when sources are defined but missing in non-leaf
Loïc B [Thu, 23 Feb 2017 09:24:43 +0000 (10:24 +0100)]
SONAR-6724 : support analyzing root pom in multi-modules projects
Janos Gyerik [Tue, 14 Feb 2017 15:45:09 +0000 (16:45 +0100)]
Analyze non-leaf modules
Simon Brandhof [Thu, 23 Feb 2017 08:24:57 +0000 (09:24 +0100)]
Merge remote-tracking branch 'origin/branch-6.3'
Teryk Bellahsene [Wed, 22 Feb 2017 16:38:47 +0000 (17:38 +0100)]
SONAR-8775 Deprecate component uuid in parameters and responses for components and projects WS
Teryk Bellahsene [Wed, 22 Feb 2017 16:20:42 +0000 (17:20 +0100)]
SONAR-8408 WS update_key and bulk_update_key use the same parameters to update a project key
Teryk Bellahsene [Wed, 22 Feb 2017 15:15:28 +0000 (16:15 +0100)]
SONAR-8773 Move WS Reroute WS update_key and bulk_update_key to api/projects
Teryk Bellahsene [Mon, 20 Feb 2017 15:11:46 +0000 (16:11 +0100)]
SONAR-8773 Call api/projects/update_key and bulk_update_key in UI
Teryk Bellahsene [Thu, 16 Feb 2017 16:10:48 +0000 (17:10 +0100)]
SONAR-8773 Move WS update_key and bulk_update_key to api/projects
Teryk Bellahsene [Fri, 17 Feb 2017 16:38:57 +0000 (17:38 +0100)]
Rename RoutesFilter to RedirectFilter
Teryk Bellahsene [Fri, 17 Feb 2017 16:24:44 +0000 (17:24 +0100)]
Improve readability of RoutesFilter
Simon Brandhof [Tue, 21 Feb 2017 20:23:04 +0000 (21:23 +0100)]
SONAR-8402 Purge should delete queued task when deleting a project
Simon Brandhof [Wed, 22 Feb 2017 10:50:56 +0000 (11:50 +0100)]
SONAR-6962 restrict ES issues request to a subset of shards when possible
Simon Brandhof [Wed, 22 Feb 2017 10:50:12 +0000 (11:50 +0100)]
Drop dead code
Simon Brandhof [Wed, 22 Feb 2017 10:49:38 +0000 (11:49 +0100)]
Move PurgeCeActivitiesTest in correct package
Julien Lancelot [Wed, 22 Feb 2017 15:30:25 +0000 (16:30 +0100)]
SONAR-8795 Add description on text query filter
Simon Brandhof [Wed, 22 Feb 2017 15:04:12 +0000 (16:04 +0100)]
Always public artifacts with full build version
Simon Brandhof [Wed, 22 Feb 2017 15:03:28 +0000 (16:03 +0100)]
Set version 6.3-SNAPSHOT
Julien Lancelot [Tue, 21 Feb 2017 09:01:15 +0000 (10:01 +0100)]
SONAR-8795 Search by text query
Julien Lancelot [Tue, 21 Feb 2017 10:38:19 +0000 (11:38 +0100)]
SONAR-8795 Extract text search feature in a dedicated class
Julien Lancelot [Wed, 22 Feb 2017 10:56:37 +0000 (11:56 +0100)]
SONAR-8290 Add unit test
Julien Lancelot [Tue, 21 Feb 2017 15:01:54 +0000 (16:01 +0100)]
SONAR-8790 Add last analysis date on api/components/search_projects WS
Julien Lancelot [Tue, 21 Feb 2017 14:15:54 +0000 (15:15 +0100)]
SONAR-8790 Add last analysis date on api/components/show WS
Simon Brandhof [Wed, 22 Feb 2017 12:57:05 +0000 (13:57 +0100)]
Add OrganizationPermission#all()
Simon Brandhof [Tue, 21 Feb 2017 14:43:32 +0000 (15:43 +0100)]
Deprecate GlobalPermissions
in favor of enum OrganizationPermission
Simon Brandhof [Tue, 21 Feb 2017 14:42:20 +0000 (15:42 +0100)]
Support OrganizationPermission in UserDbTester
Simon Brandhof [Tue, 21 Feb 2017 13:49:42 +0000 (14:49 +0100)]
Move OrganizationPermission to sonar-db-dao
Simon Brandhof [Tue, 21 Feb 2017 11:13:17 +0000 (12:13 +0100)]
Drop unused methods in UserDbTester
Simon Brandhof [Tue, 21 Feb 2017 10:43:39 +0000 (11:43 +0100)]
Drop methods UserSession#xxxOrganizationPermission()
Simon Brandhof [Sun, 19 Feb 2017 14:35:37 +0000 (15:35 +0100)]
Use the methods UserSession accepting OrganizationPermission param
Simon Brandhof [Sun, 19 Feb 2017 14:35:26 +0000 (15:35 +0100)]
Support new enum OrganizationPermission in UserSession
Simon Brandhof [Wed, 22 Feb 2017 12:19:50 +0000 (13:19 +0100)]
Fix deployment of RCs
Technical version of RC must not be replaced by the
build version on 4 fields.
Simon Brandhof [Wed, 22 Feb 2017 11:00:38 +0000 (12:00 +0100)]
Publish version 6.3-RC3
Daniel Schwarz [Wed, 22 Feb 2017 10:58:00 +0000 (11:58 +0100)]
SONAR-8831 increase performance of bulk issue storage
Julien Lancelot [Mon, 20 Feb 2017 16:05:11 +0000 (17:05 +0100)]
SONAR-8803 Sort by quality gate status
Julien Lancelot [Fri, 17 Feb 2017 14:14:10 +0000 (15:14 +0100)]
SONAR-8803 Index quality gate status as integer
In order to be able to sort by quality gate status, an integer is required
Julien Lancelot [Fri, 17 Feb 2017 13:35:56 +0000 (14:35 +0100)]
SONAR-8803 Rename qualityGate to qualityGateStatus in project measures index
Julien Lancelot [Mon, 20 Feb 2017 13:20:08 +0000 (14:20 +0100)]
SONAR-8290 Filter by language in api/components/search_projects
Julien Lancelot [Mon, 20 Feb 2017 12:47:50 +0000 (13:47 +0100)]
SONAR-8290 Filter by language in project measures index
Julien Lancelot [Mon, 20 Feb 2017 12:44:56 +0000 (13:44 +0100)]
SONAR-8290 Improve filter to accept multiple values
Julien Lancelot [Mon, 20 Feb 2017 11:53:59 +0000 (12:53 +0100)]
SONAR-8290 Extract filter parsing in a dedicated class
Julien Lancelot [Fri, 17 Feb 2017 16:33:07 +0000 (17:33 +0100)]
SONAR-8231 Return language distribution facet
Julien Lancelot [Thu, 16 Feb 2017 11:14:17 +0000 (12:14 +0100)]
SONAR-8231 Add language distribution in project measures index
Simon Brandhof [Tue, 21 Feb 2017 13:29:40 +0000 (14:29 +0100)]
SONAR-8704 allow roots to see all projects and measures
even if they don't have the expected permissions
Simon Brandhof [Tue, 21 Feb 2017 13:29:40 +0000 (14:29 +0100)]
SONAR-8704 update indices authorization if browse permission is fully removed
The types "authorization" of ES indices should be updated when all
the groups and users loose the projet permission "browse". Currently
this change was silently ignored and old permissions were still used.
Daniel Schwarz [Tue, 21 Feb 2017 13:06:37 +0000 (14:06 +0100)]
SONAR-8523 make it visible, that there is one es subfield per analyzer
Daniel Schwarz [Tue, 31 Jan 2017 11:43:14 +0000 (12:43 +0100)]
SONAR-8523 refactor the user index to comply to index conventions
Simon Brandhof [Tue, 21 Feb 2017 11:02:54 +0000 (12:02 +0100)]
Fix install of maven 3.3.9 on Travis
Simon Brandhof [Tue, 21 Feb 2017 09:46:06 +0000 (10:46 +0100)]
Remove unused maven-release-plugin
Simon Brandhof [Tue, 21 Feb 2017 09:44:18 +0000 (10:44 +0100)]
Remove unused Maven enforcer about Java 8
Simon Brandhof [Tue, 21 Feb 2017 09:17:15 +0000 (10:17 +0100)]
Upgrade JDK and Maven on Travis
* JDK 1.8.0_121
* Maven 3.3.9
Daniel Schwarz [Tue, 21 Feb 2017 10:09:35 +0000 (11:09 +0100)]
SONAR-8809 always update component index, instead of drop+reindex
ssjenka [Tue, 21 Feb 2017 09:47:04 +0000 (10:47 +0100)]
Automatic merge from branch-6.3
* origin/branch-6.3:
SONAR-8823 Deprecate API org.sonar.api.web.Footer
Teryk Bellahsene [Tue, 21 Feb 2017 09:27:37 +0000 (10:27 +0100)]
SONAR-8823 Deprecate API org.sonar.api.web.Footer
ssjenka [Tue, 21 Feb 2017 09:06:30 +0000 (10:06 +0100)]
Automatic merge from branch-6.3
* origin/branch-6.3:
Add logs when Travis downloads phantomjs and JDK8
Ability to release versions without build number in artifact filenames
Simon Brandhof [Mon, 20 Feb 2017 21:32:35 +0000 (22:32 +0100)]
Add logs when Travis downloads phantomjs and JDK8
Simon Brandhof [Mon, 20 Feb 2017 20:45:22 +0000 (21:45 +0100)]
Ability to release versions without build number in artifact filenames
ssjenka [Tue, 21 Feb 2017 07:01:49 +0000 (08:01 +0100)]
Automatic merge from branch-6.3
* origin/branch-6.3:
SONAR-8658 display "Apply Template" button for org admin
SONAR-8658 add field configuration.canApplyPermissionTemplate to response of api/navigation/component
change wording in organization form
return `isDefault` in /api/navigation/organization
SONAR-8658 fix applying of permission template
fix ui glitch on settings page on safari
Stas Vilchik [Mon, 20 Feb 2017 12:34:40 +0000 (13:34 +0100)]
SONAR-8658 display "Apply Template" button for org admin
Simon Brandhof [Mon, 20 Feb 2017 10:49:48 +0000 (11:49 +0100)]
SONAR-8658 add field configuration.canApplyPermissionTemplate to response of api/navigation/component
Stas Vilchik [Mon, 20 Feb 2017 10:46:59 +0000 (11:46 +0100)]
change wording in organization form