]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
8 years agoSONAR-8037 Validate settings of type USER_LOGIN 1231/head
Teryk Bellahsene [Fri, 9 Sep 2016 15:20:08 +0000 (17:20 +0200)]
SONAR-8037 Validate settings of type USER_LOGIN

8 years agoSONAR-8046 Validate settings of type METRIC
Teryk Bellahsene [Fri, 9 Sep 2016 15:11:51 +0000 (17:11 +0200)]
SONAR-8046 Validate settings of type METRIC

8 years agoSONAR-8047 Validate settings of type REGULAR_EXPRESSION
Teryk Bellahsene [Fri, 9 Sep 2016 12:14:16 +0000 (14:14 +0200)]
SONAR-8047 Validate settings of type REGULAR_EXPRESSION

8 years agoSONAR-8050 Validate settings of type LONG
Teryk Bellahsene [Fri, 9 Sep 2016 09:28:13 +0000 (11:28 +0200)]
SONAR-8050 Validate settings of type LONG

8 years agoRename setting validation related classes and methods
Teryk Bellahsene [Fri, 9 Sep 2016 08:40:50 +0000 (10:40 +0200)]
Rename setting validation related classes and methods

8 years agoSONAR-5856 cut the description if it is too long
Stas Vilchik [Mon, 12 Sep 2016 10:06:20 +0000 (12:06 +0200)]
SONAR-5856 cut the description if it is too long

8 years agoSONAR-5856 simplify saving of password fields
Stas Vilchik [Mon, 12 Sep 2016 08:18:05 +0000 (10:18 +0200)]
SONAR-5856 simplify saving of password fields

8 years agoSONAR-7981 SONAR-7983 Add permissions needed in WS settings/generate_secret and check...
Teryk Bellahsene [Mon, 12 Sep 2016 09:08:54 +0000 (11:08 +0200)]
SONAR-7981 SONAR-7983 Add permissions needed in WS settings/generate_secret and check_secret_key

8 years agoSONAR-6992 add IT 1232/head
Sébastien Lesaint [Fri, 9 Sep 2016 14:03:22 +0000 (16:03 +0200)]
SONAR-6992 add IT

8 years agoSONAR-6992 make sonar.core.id persistent and always a UUID
Sébastien Lesaint [Fri, 9 Sep 2016 09:06:22 +0000 (11:06 +0200)]
SONAR-6992 make sonar.core.id persistent and always a UUID

8 years agoSONAR-7980 apply feedback
Stas Vilchik [Mon, 12 Sep 2016 07:36:47 +0000 (09:36 +0200)]
SONAR-7980 apply feedback

8 years agoMerge branch 'branch-5.6'
Stas Vilchik [Mon, 12 Sep 2016 07:30:33 +0000 (09:30 +0200)]
Merge branch 'branch-5.6'

8 years agoSONAR-8033 Gravatar now works with non-lowercase email addresses. (#1218)
Hendrik M Halkow [Fri, 9 Sep 2016 15:46:50 +0000 (17:46 +0200)]
SONAR-8033 Gravatar now works with non-lowercase email addresses. (#1218)

8 years agoSONAR-8033 Gravatar now works with non-lowercase email addresses. (#1218)
Hendrik M Halkow [Fri, 9 Sep 2016 15:46:50 +0000 (17:46 +0200)]
SONAR-8033 Gravatar now works with non-lowercase email addresses. (#1218)

8 years agofix conflicts between domain on web api page
Stas Vilchik [Fri, 9 Sep 2016 15:38:06 +0000 (17:38 +0200)]
fix conflicts between domain on web api page

8 years agocorrect wording (#1230)
Stas Vilchik [Fri, 9 Sep 2016 15:28:40 +0000 (17:28 +0200)]
correct wording (#1230)

adress -> address
127.0.1 -> 127.0.0.1

8 years agoSONAR-7909 reset sharedMemory at startup 1227/head
Sébastien Lesaint [Thu, 8 Sep 2016 16:04:43 +0000 (18:04 +0200)]
SONAR-7909 reset sharedMemory at startup

8 years agoSONAR-8058 fix DB migration of views definition (wrong key) 1229/head
Sébastien Lesaint [Fri, 9 Sep 2016 13:06:30 +0000 (15:06 +0200)]
SONAR-8058 fix DB migration of views definition (wrong key)

8 years agoSONAR-7980 apply feedback
Stas Vilchik [Fri, 9 Sep 2016 13:31:51 +0000 (15:31 +0200)]
SONAR-7980 apply feedback

8 years agoSONAR-7676 remove PropertyDao#deleteById and add deleteByQuery
Sébastien Lesaint [Fri, 9 Sep 2016 09:43:26 +0000 (11:43 +0200)]
SONAR-7676 remove PropertyDao#deleteById and add deleteByQuery

the later is used by Governance

8 years agoSONAR-8066 Rewrite the "Server ID" page (#1228)
Stas Vilchik [Fri, 9 Sep 2016 11:12:07 +0000 (13:12 +0200)]
SONAR-8066 Rewrite the "Server ID" page (#1228)

8 years agoSONAR-7979 Rewrite the "Encryption" page (#1214)
Stas Vilchik [Fri, 9 Sep 2016 10:17:13 +0000 (12:17 +0200)]
SONAR-7979 Rewrite the "Encryption" page (#1214)

8 years agoAdd ITs for api/properties WS 1222/head
Julien Lancelot [Thu, 8 Sep 2016 12:45:22 +0000 (14:45 +0200)]
Add ITs for api/properties WS

8 years agoSONAR-7970 SONAR-7986 Use new api/settings WS in ITs
Julien Lancelot [Thu, 8 Sep 2016 09:32:11 +0000 (11:32 +0200)]
SONAR-7970 SONAR-7986 Use new api/settings WS in ITs

8 years agoFix quality flaws
Julien Lancelot [Fri, 9 Sep 2016 09:38:58 +0000 (11:38 +0200)]
Fix quality flaws

8 years agoSONAR-8039 Do not return valid hash in example
Julien Lancelot [Fri, 9 Sep 2016 09:38:29 +0000 (11:38 +0200)]
SONAR-8039 Do not return valid hash in example

8 years agoMerge branch 'branch-5.6'
Sébastien Lesaint [Fri, 9 Sep 2016 09:32:25 +0000 (11:32 +0200)]
Merge branch 'branch-5.6'

8 years agoSONAR-7759 Decrease expected timing of perf test
Julien Lancelot [Tue, 28 Jun 2016 07:14:05 +0000 (09:14 +0200)]
SONAR-7759 Decrease expected timing of perf test

 As WS are no more using Rails, some of them are faster

8 years agoReplace usage of verify :post by verify_post_request as it's using session 1211/head
Julien Lancelot [Thu, 8 Sep 2016 16:09:55 +0000 (18:09 +0200)]
Replace usage of verify :post by verify_post_request as it's using session

8 years agoRemove dead rails code
Julien Lancelot [Thu, 8 Sep 2016 15:46:15 +0000 (17:46 +0200)]
Remove dead rails code

8 years agoSONAR-7760 Return to feature should not use HTTP session
Julien Lancelot [Tue, 6 Sep 2016 12:05:28 +0000 (14:05 +0200)]
SONAR-7760 Return to feature should not use HTTP session

8 years agoSONAR-7758 Rails flash feature should not use HTTP session
Julien Lancelot [Thu, 21 Jul 2016 08:01:28 +0000 (10:01 +0200)]
SONAR-7758 Rails flash feature should not use HTTP session

8 years agoSONAR-7714 Remove JSESSIONID generation from Tomcat
Julien Lancelot [Tue, 6 Sep 2016 10:23:50 +0000 (12:23 +0200)]
SONAR-7714 Remove JSESSIONID generation from Tomcat

8 years agoMerge branch 'branch-5.6'
Sébastien Lesaint [Fri, 9 Sep 2016 07:35:50 +0000 (09:35 +0200)]
Merge branch 'branch-5.6'

8 years agofix some quality flaws and lacking coverage 1205/head
Sébastien Lesaint [Thu, 8 Sep 2016 14:59:02 +0000 (16:59 +0200)]
fix some quality flaws and lacking coverage

8 years agoSONAR-7676 remove PropertyDto#id
Sébastien Lesaint [Thu, 8 Sep 2016 13:17:11 +0000 (15:17 +0200)]
SONAR-7676 remove PropertyDto#id

8 years agoSONAR-7676 move property change listener notification afer commit
Sébastien Lesaint [Thu, 8 Sep 2016 09:26:17 +0000 (11:26 +0200)]
SONAR-7676 move property change listener notification afer commit

in PersistentSettings and when possible (ie. not when DbSession is provided by PersistentSettings' caller)

8 years agogit ignore all files in scripts/patches
Sébastien Lesaint [Wed, 7 Sep 2016 13:33:50 +0000 (15:33 +0200)]
git ignore all files in scripts/patches

8 years agoSONAR-7676 support for new PROPERTIES columns in Ruby
Sébastien Lesaint [Mon, 5 Sep 2016 16:25:39 +0000 (18:25 +0200)]
SONAR-7676 support for new PROPERTIES columns in Ruby

8 years agoimprove DbTester SQL utility methods exception stacktrace
Sébastien Lesaint [Mon, 5 Sep 2016 11:41:58 +0000 (13:41 +0200)]
improve DbTester SQL utility methods exception stacktrace

8 years agorewrite PropertiesMapper.findNotificationSubscribers without subselect
Sébastien Lesaint [Fri, 2 Sep 2016 12:34:33 +0000 (14:34 +0200)]
rewrite PropertiesMapper.findNotificationSubscribers without subselect

8 years agoSONAR-7676 PropertiesDao supports IS_EMPTY, TEXT_VALUE and CLOB_VALUE
Sébastien Lesaint [Fri, 2 Sep 2016 12:00:58 +0000 (14:00 +0200)]
SONAR-7676 PropertiesDao supports IS_EMPTY, TEXT_VALUE and CLOB_VALUE

8 years agoadd DbTest#select(DbSession, String)
Sébastien Lesaint [Fri, 2 Sep 2016 11:53:52 +0000 (13:53 +0200)]
add DbTest#select(DbSession, String)

8 years agoSONAR-7676 removing dead code from Properties related classes
Sébastien Lesaint [Thu, 1 Sep 2016 15:54:19 +0000 (17:54 +0200)]
SONAR-7676 removing dead code from Properties related classes

PropertiesDao, PropertiesMapper, Persistentsettings and their tests

8 years agoSONAR-7676 refactor table PROPERTIES to boolean+varchar+clob columns
Sébastien Lesaint [Thu, 1 Sep 2016 15:38:05 +0000 (17:38 +0200)]
SONAR-7676 refactor table PROPERTIES to boolean+varchar+clob columns

8 years agoSONAR-7676 rename_table must drop and create Oracle triggers
Sébastien Lesaint [Wed, 7 Sep 2016 13:34:14 +0000 (15:34 +0200)]
SONAR-7676 rename_table must drop and create Oracle triggers

8 years agoSONAR-7676 some modernization of PropertiesDao and PropertiesDaoTest
Sébastien Lesaint [Thu, 1 Sep 2016 13:06:02 +0000 (15:06 +0200)]
SONAR-7676 some modernization of PropertiesDao and PropertiesDaoTest

8 years agoRevert removal of author.rb
Simon Brandhof [Thu, 8 Sep 2016 16:44:00 +0000 (18:44 +0200)]
Revert removal of author.rb

8 years agoSONAR-7884 update default Update Center URL to HTTPS 1168/head
Sébastien Lesaint [Wed, 24 Aug 2016 08:39:51 +0000 (10:39 +0200)]
SONAR-7884 update default Update Center URL to HTTPS

8 years agoSONAR-8067 do not override default Elasticsearch doc_values
Simon Brandhof [Thu, 8 Sep 2016 15:13:56 +0000 (17:13 +0200)]
SONAR-8067 do not override default Elasticsearch doc_values

Default ES behavior should be applied (doc_values is used
on any possible field in ES 2.x)

8 years agoFix Quality flaws
Simon Brandhof [Thu, 8 Sep 2016 15:09:14 +0000 (17:09 +0200)]
Fix Quality flaws

8 years agoSONAR-8070 Drop of "Comparison" feature 1225/head
Julien Lancelot [Thu, 8 Sep 2016 11:58:18 +0000 (13:58 +0200)]
SONAR-8070 Drop of "Comparison" feature

8 years agoDrop Ruby dead code
Simon Brandhof [Thu, 8 Sep 2016 13:00:14 +0000 (15:00 +0200)]
Drop Ruby dead code

8 years agoFix Quality flaws
Simon Brandhof [Thu, 8 Sep 2016 06:54:57 +0000 (08:54 +0200)]
Fix Quality flaws

8 years agoSONAR-7986 Validation should not fail on hidden definitions 1223/head
Julien Lancelot [Thu, 8 Sep 2016 09:20:59 +0000 (11:20 +0200)]
SONAR-7986 Validation should not fail on hidden definitions

8 years agoReturn content when exception is generated in ws client
Julien Lancelot [Thu, 8 Sep 2016 08:32:45 +0000 (10:32 +0200)]
Return content when exception is generated in ws client

8 years agoSONAR-7980 Add License ITs in Category
Julien Lancelot [Thu, 8 Sep 2016 07:50:27 +0000 (09:50 +0200)]
SONAR-7980 Add License ITs in Category

8 years agoSanitize usage of ItUtils.setServerProperty
Julien Lancelot [Thu, 8 Sep 2016 09:30:58 +0000 (11:30 +0200)]
Sanitize usage of ItUtils.setServerProperty

- Period4 and period5 settings should only be reset at component level
- Replace empty string by null to remove setting when using ItUtils.setServerProperty

8 years agoAdd settings of all type in server-plugin 1174/head
Julien Lancelot [Thu, 1 Sep 2016 14:18:10 +0000 (16:18 +0200)]
Add settings of all type in server-plugin

8 years agoRemove wrong property type in plugin IT
Julien Lancelot [Thu, 25 Aug 2016 11:21:18 +0000 (13:21 +0200)]
Remove wrong property type in plugin IT

8 years agoSONAR-7986 WS settings/reset check scope and qualifier 1221/head
Teryk Bellahsene [Wed, 7 Sep 2016 17:20:00 +0000 (19:20 +0200)]
SONAR-7986 WS settings/reset check scope and qualifier

8 years agoSONAR-7973 Do not return error 500 when email sending is failing 1220/head
Julien Lancelot [Wed, 7 Sep 2016 16:35:18 +0000 (18:35 +0200)]
SONAR-7973 Do not return error 500 when email sending is failing

8 years agoSONAR-8039 Return invalid server id when no server id generated and license not set... 1219/head
Julien Lancelot [Wed, 7 Sep 2016 15:13:06 +0000 (17:13 +0200)]
SONAR-8039 Return invalid server id when no server id generated and license not set to "*"

8 years agoSONAR-7984 WS api/server_id/generate 1217/head
Teryk Bellahsene [Tue, 6 Sep 2016 15:00:25 +0000 (17:00 +0200)]
SONAR-7984 WS api/server_id/generate

8 years agoCleanup unused test files
Julien HENRY [Wed, 7 Sep 2016 14:38:45 +0000 (16:38 +0200)]
Cleanup unused test files

8 years agoFix quality flaws
Julien Lancelot [Wed, 7 Sep 2016 13:06:57 +0000 (15:06 +0200)]
Fix quality flaws

8 years agoFix Quality flaws
Simon Brandhof [Wed, 7 Sep 2016 11:27:26 +0000 (13:27 +0200)]
Fix Quality flaws

8 years agoimprove code quality
Stas Vilchik [Tue, 6 Sep 2016 15:44:55 +0000 (17:44 +0200)]
improve code quality

8 years agoSONAR-7978 Add test email configuration form to the settings page (#1216)
Stas Vilchik [Tue, 6 Sep 2016 15:23:12 +0000 (17:23 +0200)]
SONAR-7978 Add test email configuration form to the settings page (#1216)

8 years agofix displaying of project-level settings page
Stas Vilchik [Tue, 6 Sep 2016 15:19:53 +0000 (17:19 +0200)]
fix displaying of project-level settings page

8 years agoSONAR-7980 Rewrite the "Licenses" page (#1207)
Stas Vilchik [Tue, 6 Sep 2016 14:02:40 +0000 (16:02 +0200)]
SONAR-7980 Rewrite the "Licenses" page (#1207)

8 years agoTemporarily disable upgrade tests
Simon Brandhof [Tue, 6 Sep 2016 13:42:08 +0000 (15:42 +0200)]
Temporarily disable upgrade tests

Bad version of SonarQube is installed at
 runtime.

8 years agoFix Quality flaw
Simon Brandhof [Tue, 6 Sep 2016 13:41:17 +0000 (15:41 +0200)]
Fix Quality flaw

8 years agoImprove javadoc of Settings
Simon Brandhof [Tue, 6 Sep 2016 12:37:15 +0000 (14:37 +0200)]
Improve javadoc of Settings

8 years agoFix DB upgrade form
Simon Brandhof [Tue, 6 Sep 2016 12:28:28 +0000 (14:28 +0200)]
Fix DB upgrade form

8 years agoSONAR-8055 Declare emails configuration with PropertyDefinition 1212/head
Julien Lancelot [Mon, 5 Sep 2016 15:39:58 +0000 (17:39 +0200)]
SONAR-8055 Declare emails configuration with PropertyDefinition

8 years agoSONAR-8055 Remove /api/emails/update_configuration WS
Julien Lancelot [Mon, 5 Sep 2016 15:19:49 +0000 (17:19 +0200)]
SONAR-8055 Remove /api/emails/update_configuration WS

8 years agoSONAR-7675 InternalPropertiesImpl must commit
Sébastien Lesaint [Tue, 6 Sep 2016 08:21:52 +0000 (10:21 +0200)]
SONAR-7675 InternalPropertiesImpl must commit

8 years agoFix merge
Simon Brandhof [Tue, 6 Sep 2016 08:50:11 +0000 (10:50 +0200)]
Fix merge

8 years agoSONAR-7578 do not start notification daemon on CE
Simon Brandhof [Mon, 5 Sep 2016 20:20:34 +0000 (22:20 +0200)]
SONAR-7578 do not start notification daemon on CE

8 years agoSONAR-7678 server-side stateless settings
Simon Brandhof [Wed, 31 Aug 2016 14:05:43 +0000 (16:05 +0200)]
SONAR-7678 server-side stateless settings

* Settings class becomes abstract as multiple implementations
are used. Can't become an interface for binary
backward-compatibility of API

* tests should use MapSettings, an in-memory implementation
of Settings

* web server uses a thread-specific cache of settings when
processing HTTP requests

* web server does not have a cache of settings during startup,
except for the system settings loaded from sonar.properties

* Compute Engine uses a thread-specific cache of settings when
  processing a task. Cache is clear at end of task.

 * some useless methods of PersistentSettings are removed

8 years agoSONAR-7678 do not load l10n messages during ruby initialisation
Simon Brandhof [Thu, 1 Sep 2016 06:03:16 +0000 (08:03 +0200)]
SONAR-7678 do not load l10n messages during ruby initialisation

ActiveRecord models must not load l10n messages, through
Java JRubyI18n component, when ruby code is parsed.

* measure_filter
* profile is read-only as ruby WS do not write profiles anymore

8 years agoSONAR-7678 fix javadoc of GlobalPropertyChangeHandler
Simon Brandhof [Wed, 31 Aug 2016 12:15:51 +0000 (14:15 +0200)]
SONAR-7678 fix javadoc of GlobalPropertyChangeHandler

8 years agoSONAR-7678 DefaultHttpDownloader uses system settings
Simon Brandhof [Wed, 31 Aug 2016 12:13:28 +0000 (14:13 +0200)]
SONAR-7678 DefaultHttpDownloader uses system settings

On server side, no need to instantiate DefaultHttpDownloader
when db is up (level 3). It uses only system settings, so it
can be instantiated in level 1.

8 years agoSONAR-7983 Create WS api/settings/check_secret_key 1213/head
Teryk Bellahsene [Mon, 5 Sep 2016 16:18:48 +0000 (18:18 +0200)]
SONAR-7983 Create WS api/settings/check_secret_key

8 years agoSONAR-7981 Create WS settings/generate_secret_key to generate a secret key
Teryk Bellahsene [Mon, 5 Sep 2016 16:00:48 +0000 (18:00 +0200)]
SONAR-7981 Create WS settings/generate_secret_key to generate a secret key

8 years agoSONAR-7982 WS settings/encrypt fails properly when no secret key available
Teryk Bellahsene [Mon, 5 Sep 2016 15:15:58 +0000 (17:15 +0200)]
SONAR-7982 WS settings/encrypt fails properly when no secret key available

8 years agofix quality flaws
Julien Lancelot [Mon, 5 Sep 2016 13:20:09 +0000 (15:20 +0200)]
fix quality flaws

8 years agohide licenses on settings page 1210/head
Stas Vilchik [Mon, 5 Sep 2016 13:21:16 +0000 (15:21 +0200)]
hide licenses on settings page

8 years agoSONAR-7968 Return license in api/settings/list_definitions
Julien Lancelot [Mon, 5 Sep 2016 09:54:43 +0000 (11:54 +0200)]
SONAR-7968 Return license in api/settings/list_definitions

8 years agoSONAR-7970 WS settings/set fix db session management with SettingsChangeNotifier 1204/head
Teryk Bellahsene [Mon, 5 Sep 2016 12:37:47 +0000 (14:37 +0200)]
SONAR-7970 WS settings/set fix db session management with SettingsChangeNotifier

8 years agoSONAR-7982 Create WS api/settings/encrypt to encrypt a setting value
Teryk Bellahsene [Fri, 2 Sep 2016 14:40:35 +0000 (16:40 +0200)]
SONAR-7982 Create WS api/settings/encrypt to encrypt a setting value

8 years agoSONAR-7985 Create /api/server_id/show WS 1203/head
Julien Lancelot [Fri, 2 Sep 2016 13:01:00 +0000 (15:01 +0200)]
SONAR-7985 Create /api/server_id/show WS

8 years agoSONAR-8039 /api/licenses/list is returning license names 1208/head
Julien Lancelot [Mon, 5 Sep 2016 08:56:00 +0000 (10:56 +0200)]
SONAR-8039 /api/licenses/list is returning license names

8 years agoSONAR-8012 Restore support of client side certificates 1206/head
Julien HENRY [Wed, 31 Aug 2016 21:24:03 +0000 (23:24 +0200)]
SONAR-8012 Restore support of client side certificates

8 years agoSONAR-8058 move views.def from PROPERTIES to INTERNAL_PROPERTIES 1196/head
Sébastien Lesaint [Thu, 1 Sep 2016 10:27:05 +0000 (12:27 +0200)]
SONAR-8058 move views.def from PROPERTIES to INTERNAL_PROPERTIES

8 years agoSONAR-7675 add InternalPropertiesImpl to Web and Ce containers
Sébastien Lesaint [Thu, 1 Sep 2016 15:20:29 +0000 (17:20 +0200)]
SONAR-7675 add InternalPropertiesImpl to Web and Ce containers

8 years agoremove commented out code in ComputeEngineContainerImpl
Sébastien Lesaint [Wed, 31 Aug 2016 09:59:12 +0000 (11:59 +0200)]
remove commented out code in ComputeEngineContainerImpl

8 years agoSONAR-7675 add InternalPropertiesDao
Sébastien Lesaint [Wed, 31 Aug 2016 08:53:42 +0000 (10:53 +0200)]
SONAR-7675 add InternalPropertiesDao

8 years agoproperly handle connections in DbTester utility methods
Sébastien Lesaint [Wed, 31 Aug 2016 08:53:09 +0000 (10:53 +0200)]
properly handle connections in DbTester utility methods