Commit Graph

266 Commits

Author SHA1 Message Date
Simon Brandhof
fd8267753b SONAR-2693 the list of missing translations must be copyable and must contain english values 2011-09-16 16:33:05 +02:00
Simon Brandhof
32cb2074b7 Upgrade version to 2.12-SNAPSHOT 2011-09-16 08:55:05 +02:00
Fabrice Bellingard
a92d0f3a98 SONAR-2693 Make it possible to pass the sonar version to the matcher
- In order to remove the magic of getting the version of Sonar via
  the POM
- Documentation also added on the I18nMatchers static methods
2011-09-12 17:43:03 +02:00
Fabrice Bellingard
cf9829861f SONAR-2693 Improve I18n Harmcrest matcher
- #isBundleSynchronized replace by #isBundleUpToDate
- #assertAllBundlesUpToDate static method added to avoid specifying
  files one by one
- if bundles are Core bundles translations, then the original bundles
  are searched on Github using the Sonar version specified by the 
  "sonar.version" property in the POM
2011-09-08 14:23:30 +02:00
Fabrice Bellingard
66dcfc8adc SONAR-2693 A bit of refactoring 2011-09-05 09:47:06 +02:00
Fabrice Bellingard
7df9484047 SONAR-2693 Improve unit tests for I18n Harmcrest matcher 2011-09-02 18:03:38 +02:00
Fabrice Bellingard
f0559fe73c SONAR-2693 Hamcrest matcher to compare a pair of translation bundles
First commit and push to GitHub before activating other tests that
require this code to be pushed.
2011-09-02 17:13:23 +02:00
Evgeny Mandrikov
5ff8c8c74e SONAR-1091 CPD over different projects
* Improve table clone_blocks and so DbCloneIndex.

* Add purge of old clone blocks.
2011-09-02 00:16:21 +04:00
Evgeny Mandrikov
7cf051c0f7 SONAR-1091 Add CPD over different projects
* Add table clone_blocks

* Add DbCloneIndex, which can be activated in sonar-cpd-plugin using
  property "sonar.cpd.cross_project=true"
2011-09-01 00:46:32 +04:00
Simon Brandhof
4d40b9f538 Revert pom versions to 2.11-SNAPSHOT after merging branch 2.10 2011-08-15 15:53:48 +02:00
Simon Brandhof
9b84ef3a74 [maven-release-plugin] prepare for next development iteration 2011-08-09 11:25:45 +02:00
Simon Brandhof
0196b85b64 [maven-release-plugin] prepare release 2.10-RC2 2011-08-09 11:25:44 +02:00
Simon Brandhof
dbe4d28634 Upgrade version to 2.11-SNAPSHOT 2011-08-05 17:55:10 +02:00
Simon Brandhof
2ef985b460 SONAR-2644 Rule name should be optional in XML declaration files 2011-07-26 11:55:44 +02:00
Simon Brandhof
1396327028 SONAR-2610 Replace the table ASYNC_MEASURES_SNAPSHOTS by MANUAL_MEASURES 2011-07-12 17:29:27 +02:00
Simon Brandhof
9be64edfd1 SONAR-2583 Remove the unused table PARAMETERS 2011-07-11 16:05:48 +02:00
Simon Brandhof
12160e3279 Upgrade version to 2.10-SNAPSHOT 2011-07-11 15:35:49 +02:00
simonbrandhof
43af9284ca temporary reverting to 2.9-SNAPSHOT 2011-07-10 12:05:56 +02:00
simonbrandhof
0a779207ed Upgrade to version 2.10-SNAPSHOT 2011-07-10 09:18:17 +02:00
Evgeny Mandrikov
2e69ab5a68 SONAR-2453 Update the way "false-positive" reviews are managed
* The column REVIEWS.FALSE-POSITIVE should be renamed to
  REVIEWS.RESOLUTION, the value of this column should be FALSE-POSITIVE
  for false-positive reviews and FIXED for other RESOLVED reviews.

* The status of a false-positive reviews should be RESOLVED.
2011-06-23 14:33:05 +04:00
simonbrandhof
e9957c5d40 SONAR-2507 remove the tables PLUGINS and PLUGIN_FILES 2011-06-10 11:31:50 +02:00
Evgeny Mandrikov
94c39df694 SONAR-1922 Improve UI for profile changelog
* 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.
2011-06-01 19:31:28 +04:00
Evgeny Mandrikov
2dbed65268 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.
2011-05-27 02:54:10 +04:00
Fabrice Bellingard
f769fb5f2e 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
2011-05-26 13:49:26 +02:00
Evgeny Mandrikov
3e32f3cd62 SONAR-2425 Add index on CHARACTERISTIC_PROPERTIES.CHARACTERISTIC_ID
Index name limited to 30 characters in Oracle DB.
2011-05-24 19:27:16 +04:00
Evgeny Mandrikov
d1db9357b8 SONAR-2425 Add index on CHARACTERISTIC_PROPERTIES.CHARACTERISTIC_ID 2011-05-24 02:05:25 +04:00
simonbrandhof
ff3117718a Fix merge of release 2.8 2011-05-19 16:14:21 +02:00
simonbrandhof
6642d7a799 Upgrade to version 2.9-SNAPSHOT 2011-05-13 16:58:27 +02:00
simonbrandhof
a44fa2a2fa Temporarily downgrade version to 2.8-SNAPSHOT 2011-05-10 13:06:06 +02:00
simonbrandhof
ab5551a5b0 Upgrade version to 2.9-SNAPSHOT 2011-05-09 23:15:11 +02:00
simonbrandhof
92a1f54c7d Release 2.8-RC2 2011-05-09 20:10:26 +02:00
Evgeny Mandrikov
b62c9d36cb Prepare for next development iteration 2011-05-03 14:28:12 +04:00
Evgeny Mandrikov
30b627b44c Prepare 2.8-RC1 2011-05-03 14:26:25 +04:00
simonbrandhof
7dd514a1d5 Move derby logs generated during unit tests to target/ 2011-04-28 11:59:48 +02:00
Fabrice Bellingard
3c653a2018 SONAR-2347 Add unit test to ReviewsDecorator 2011-04-20 17:15:30 +02:00
simonbrandhof
91b9063c7b SONAR-2366 Upgrade embedded database to Derby 10.7.1.1 + add DatabaseTestCase to sonar-testing-harness 2011-04-18 16:56:47 +02:00
Evgeny Mandrikov
6a8ddc2237 Fix violations 2011-04-05 03:58:39 +04:00
simonbrandhof
4eecf910ac Upgrade master to version 2.8-SNAPSHOT 2011-03-29 17:03:48 +02:00
simonbrandhof
349b260a5e [maven-release-plugin] prepare for next development iteration 2011-03-28 17:50:26 +02:00
simonbrandhof
75bfca1251 [maven-release-plugin] prepare release 2.7-RC3 2011-03-28 17:50:24 +02:00
simonbrandhof
d4ae5228bb Fix coding violations 2011-03-27 23:43:19 +02:00
simonbrandhof
22d26707d7 [maven-release-plugin] prepare for next development iteration 2011-03-22 09:59:51 +01:00
simonbrandhof
22d7301ef4 [maven-release-plugin] prepare release 2.7-RC1 2011-03-22 09:59:50 +01:00
simonbrandhof
ab2346e6bb [maven-release-plugin] prepare for next development iteration 2011-03-18 15:04:18 +01:00
simonbrandhof
bf5b998ad9 [maven-release-plugin] prepare release 2.7-RC2 2011-03-18 15:04:17 +01:00
Evgeny Mandrikov
257f4eaf74 Remove useless configuration of maven-deploy-plugin 2011-03-04 20:06:16 +03:00
simonbrandhof
09349ffce7 [maven-release-plugin] prepare for next development iteration 2011-02-18 10:38:10 +01:00
simonbrandhof
46f1aa681e [maven-release-plugin] prepare release 2.6 2011-02-18 10:38:08 +01:00
simonbrandhof
a14a0644c2 Upgrade copyright headers 2011-02-04 10:42:21 +01:00
simonbrandhof
4daa310730 Add profile to check copyright headers + fix some badly formatted headers 2011-01-31 01:13:14 +01:00
simonbrandhof
b69ae6b7c4 [maven-release-plugin] prepare for next development iteration 2011-01-28 15:02:59 +01:00
simonbrandhof
ec0d6d92ad [maven-release-plugin] prepare release 2.6-M1 2011-01-28 15:02:57 +01:00
simonbrandhof
724f39d4e3 [maven-release-plugin] prepare for next development iteration 2011-01-05 13:36:51 +00:00
simonbrandhof
1f5228db18 [maven-release-plugin] prepare release 2.5-RC1 2011-01-05 13:36:27 +00:00
simonbrandhof
089ec1f5bf revert trunk version to 2.5-SNAPSHOT 2010-12-27 00:18:51 +00:00
simonbrandhof
e1240d0537 [maven-release-plugin] prepare release 2.5 2010-12-24 16:00:51 +00:00
simonbrandhof
39f78c6dc0 [maven-release-plugin] prepare for next development iteration 2010-11-09 16:19:27 +00:00
simonbrandhof
8602aa58e3 [maven-release-plugin] prepare release 2.4-RC1 2010-11-09 16:18:52 +00:00
simonbrandhof
2d3b588b4a [maven-release-plugin] prepare for next development iteration 2010-10-12 10:47:11 +00:00
simonbrandhof
b791b9aac2 [maven-release-plugin] prepare release 2.3 2010-10-12 10:46:47 +00:00
simonbrandhof
7361c326e5 [maven-release-plugin] prepare for next development iteration 2010-10-05 19:00:30 +00:00
simonbrandhof
6c36be2a02 [maven-release-plugin] prepare release 2.3-RC2 2010-10-05 19:00:02 +00:00
simonbrandhof
a512de3bbd upgrade trunk to 2.4-SNAPSHOT 2010-09-30 17:35:41 +00:00
simonbrandhof
49130adac6 [maven-release-plugin] prepare for next development iteration 2010-09-30 16:09:53 +00:00
simonbrandhof
293e51c2af [maven-release-plugin] prepare release 2.3-RC1 2010-09-30 16:09:27 +00:00
simonbrandhof
aeadc1f912 SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console 2010-09-06 14:08:06 +00:00