Commit Graph

266 Commits

Author SHA1 Message Date
Simon Brandhof
6a565e856b Remove some usage of TestUtils 2014-04-23 20:29:35 +02:00
Simon Brandhof
b131f3d7fa Remove the class MoreConditions from sonar-testing-harness 2014-04-23 15:17:48 +02:00
Simon Brandhof
78768f0730 Remove XMLUnit from sonar-testing-harness 2014-04-23 15:17:48 +02:00
Eric Hartmann
569749ac16 Upgrade to 4.4-SNAPSHOT 2014-04-18 08:58:08 +02:00
Simon Brandhof
beaaed4bc3 SONAR-5128 Package a release version of sonar-channel 2014-03-14 22:13:57 +01:00
Simon Brandhof
57ae3026c3 Update copyright headers (replace 2013 by 2014) 2014-03-11 17:53:18 +01:00
Eric Hartmann
4bade4e0f8 Upgrade version to 4.3-SNAPSHOT 2014-02-24 18:26:01 +01:00
Simon Brandhof
b83c444064 Revert "RuleRepositoryTestHelper is back"
This reverts commit 3f42ac85a4.
2014-02-20 23:02:17 +01:00
Simon Brandhof
3f42ac85a4 RuleRepositoryTestHelper is back 2014-02-20 22:55:25 +01:00
Simon Brandhof
eca79dcbc7 Change signature of TestUtils#isSimilarXml() 2014-02-11 13:44:28 +01:00
Julien Lancelot
e0a73badff Fix quality flaws 2014-02-06 10:50:29 +01:00
Simon Brandhof
7f280114fc Fix some quality flaws 2014-02-02 11:47:55 +01:00
Simon Brandhof
862dcc753c SONAR-5010 fix handling of HTTP status 2014-01-27 07:57:23 +01:00
Jean-Baptiste Lievremont
777f130611 SONAR-4326 Provide webservices to add/remove tags on a rule 2014-01-24 17:36:21 +01:00
Simon Brandhof
5c1b16ad0a SONAR-5010 improve WS API
* remove "throws Exception" from signature of RequestHandler
* add Request#action()
* prefer action "list" over "index"
2014-01-24 10:26:00 +01:00
Simon Brandhof
d65773c6bf SONAR-5010 improve testability of web service and fix media type of response 2014-01-24 00:55:25 +01:00
Simon Brandhof
078cff8c82 Sanitize sonar-testing-harness 2014-01-23 22:35:31 +01:00
Simon Brandhof
87ecfc8080 Remove org.sonar.api.database.daos.MeasuresDao, deprecated since v2.3 and move some deprecated classes from sonar-plugin-api to sonar-deprecated 2014-01-18 00:21:22 +01:00
Simon Brandhof
93e365a683 SONAR-4908 move some classes to module sonar-deprecated 2014-01-15 22:54:26 +01:00
Eric Hartmann
826e77fc3e Upgrade to 4.2-SNAPSHOT 2013-12-11 09:43:37 +01:00
Simon Brandhof
57498bb3f0 Remove unused infinitest files 2013-12-03 23:24:45 +01:00
Eric Hartmann
69c72d8e5d Update to 4.1-SNAPSHOT 2013-10-22 18:01:35 +02:00
Julien HENRY
ddd23db4e8 Fix some quality flows 2013-10-17 14:22:42 +02:00
Simon Brandhof
cd96c5a2d6 SONAR-4735 Remove the XML libs that are packaged with Java 6 2013-10-02 08:40:52 +02:00
Simon Brandhof
1005aa3a90 Fix some quality flaws 2013-09-21 14:38:19 +02:00
Eric Hartmann
3850b03999 Upgrade to 4.0-SNAPSHOT 2013-07-30 16:06:16 +02:00
Eric Hartmann
a63fcf86fe [maven-release-plugin] prepare for next development iteration 2013-07-25 11:12:35 +02:00
Eric Hartmann
c2da75e1c0 [maven-release-plugin] prepare release 3.7-RC1 2013-07-25 11:12:35 +02:00
Julien HENRY
b7413a6a37 SONAR-4388 Move from Sonar to SonarQube 2013-07-08 15:07:35 +02:00
Eric Hartmann
eb6c7dca93 Upgrade to 3.7-SNAPSHOT 2013-06-11 16:26:53 +02:00
Simon Brandhof
ce63bd4c29 Update copyright headers 2013-04-22 09:37:17 +02:00
Simon Brandhof
b1436788cf SONAR-4252 rename Sonar to SonarQube in source headers 2013-04-21 11:58:14 +02:00
Eric Hartmann
cc2ef9f19f Update version to 3.6-SNAPSHOT 2013-03-13 20:26:36 +01:00
Eric Hartmann
0d905d21af Release Sonar 3.5 2013-03-13 20:09:32 +01:00
Eric Hartmann
0b38203afe [maven-release-plugin] prepare for next development iteration 2013-03-07 09:42:24 +01:00
Eric Hartmann
342c697bca [maven-release-plugin] prepare release 3.5-RC4 2013-03-07 09:42:24 +01:00
Eric Hartmann
a88e78847d [maven-release-plugin] prepare for next development iteration 2013-03-01 18:28:25 +01:00
Eric Hartmann
235928ed92 [maven-release-plugin] prepare release 3.5-RC2 2013-03-01 18:28:24 +01:00
Eric Hartmann
86bd30f572 [maven-release-plugin] prepare for next development iteration 2013-02-25 18:58:00 +01:00
Eric Hartmann
66e50c1f26 [maven-release-plugin] prepare release 3.5-RC1 2013-02-25 18:58:00 +01:00
GAUDIN
0d27e8e341 [maven-release-plugin] prepare for next development iteration 2012-12-22 00:51:03 +01:00
GAUDIN
9db1dffb31 [maven-release-plugin] prepare release 3.4 2012-12-22 00:51:01 +01:00
GAUDIN
f99baaa2d2 rollbak to 3.4-SNAPSHOT 2012-12-22 00:02:48 +01:00
GAUDIN
87a29f2b8c [maven-release-plugin] prepare for next development iteration 2012-12-21 23:11:07 +01:00
GAUDIN
4ed78d3856 [maven-release-plugin] prepare release 3.4 2012-12-21 23:11:05 +01:00
GAUDIN
72f54a500f [maven-release-plugin] prepare for next development iteration 2012-12-20 12:55:44 +01:00
GAUDIN
9c3dc0937d [maven-release-plugin] prepare release 3.4-RC4 2012-12-20 12:55:41 +01:00
GAUDIN
c616d946b7 [maven-release-plugin] prepare for next development iteration 2012-12-19 22:47:47 +01:00
GAUDIN
d9b33c44fb [maven-release-plugin] prepare release 3.4-RC3 2012-12-19 22:47:45 +01:00
Eric Hartmann
abadc6eed3 [maven-release-plugin] prepare for next development iteration 2012-12-12 14:16:51 +01:00
Eric Hartmann
b2395fa820 [maven-release-plugin] prepare release 3.4-RC1 2012-12-12 14:16:51 +01:00
Simon Brandhof
271802bc3f Fix some quality flaws 2012-10-23 12:03:01 +02:00
Simon Brandhof
8a8788fb4e Fix quality flaws 2012-10-23 11:12:33 +02:00
Eric Hartmann
d3711a44cf Upgrade version to 3.4-SNAPSHOT 2012-10-16 16:05:35 +02:00
Eric Hartmann
9e0b32c798 [maven-release-plugin] prepare for next development iteration 2012-10-16 12:35:57 +02:00
Eric Hartmann
ad84ae95e0 [maven-release-plugin] prepare release 3.3-RC2 2012-10-16 12:35:56 +02:00
Eric Hartmann
76a399d8a1 [maven-release-plugin] prepare for next development iteration 2012-10-11 16:12:13 +02:00
Eric Hartmann
f544b19e1f [maven-release-plugin] prepare release 3.3-RC1 2012-10-11 16:12:12 +02:00
David Gageot
1bd03f2eeb SONAR-3724 Validate rule repositories in unit tests 2012-10-05 10:09:39 +02:00
Simon Brandhof
2f435421c6 Rename method in I18nMatchers 2012-10-03 14:46:56 +02:00
Fabrice Bellingard
c024588873 SONAR-3736 Fix regression (additional keys not displayed if any) 2012-10-03 12:33:22 +02:00
GAUDIN
f7ba55e2e0 Update to 3.3-SNAPSHOT 2012-09-26 12:10:47 +02:00
GAUDIN
ee46f61c2c Update to 3.3-M5 2012-09-26 12:09:33 +02:00
Fabrice Bellingard
1500f11315 SONAR-3736 Add missing files 2012-09-20 08:41:13 +02:00
Fabrice Bellingard
da68ac0b2b SONAR-3736 Use Maven dependencies for I18n Harmcrest matchers
- Do not use URLs anymore, to make it easier to test (no need for an
  internet connection)
2012-09-19 17:45:05 +02:00
Eric Hartmann
ead620a877 Set versions to 3.3-SNAPSHOT and Soanr Java to 1.0-SNAPSHOT 2012-09-18 11:24:48 +02:00
Eric Hartmann
8e29bf8719 Update Sonar version to 3.3-M4 and Sonar Java to 1.0-M3 2012-09-18 10:11:26 +02:00
Eric Hartmann
5f847c13ba Update to 3.3-SNAPSHOT 2012-09-14 11:14:45 +02:00
Eric Hartmann
9bc0f2a2c9 Update to 3.3-M2 2012-09-14 11:14:09 +02:00
Eric Hartmann
11a723c41e Upgrade version to 3.3-SNAPSHOT 2012-07-24 10:58:23 +02:00
Eric Hartmann
90708443b4 Upgrade version to 3.2-SNAPSHOT 2012-07-24 10:47:29 +02:00
Eric Hartmann
5ea621cd46 Upgrade version to 3.3-SNAPSHOT 2012-07-23 13:38:54 +02:00
David Gageot
620edca954 Fix warnings 2012-07-04 16:30:00 +02:00
David Gageot
25e954167d Replacing Derby with H2 2012-07-03 10:57:02 +02:00
Fabrice Bellingard
bf998970a3 SONAR-3581 Tool to validate a l10n bundle based on multiple plugins 2012-06-22 14:04:44 +02:00
Eric Hartmann
b6086d4b67 Upgrade version to 3.2-SNAPSHOT 2012-05-30 16:00:44 +02:00
David Gageot
7c03664400 Create 'My Favourites' Dashboard through extension point.
The dashboard is created but not activated.
2012-05-25 08:59:32 +02:00
David Gageot
fd7f6a27f9 SONAR-3016 More work on extension point for filter template
Recognize more filter criterias
2012-05-22 11:56:58 +02:00
David Gageot
58c44bcceb Enable test that involve classpath scanning 2012-05-07 15:25:29 +02:00
David Gageot
4fa3030add Fix violation introduced in 1a6a18a5c4 2012-04-29 22:19:49 +02:00
David Gageot
12c43f766d Add test helpers and refactor TestUtils a bit. 2012-04-27 14:59:00 +02:00
David Gageot
ddc0b27ea6 Use Fest Assert library 2012-04-27 14:58:59 +02:00
David Gageot
f341ea6efa SONAR-3428 Configure Infinitest 2012-04-25 09:53:33 +02:00
Eric Hartmann
e610f1edb4 Upgrade to 3.1-SNAPSHOT 2012-04-11 10:49:56 +02:00
Eric Hartmann
fc5ebaadb3 Upgrade version to 2.16 2012-04-06 14:27:14 +02:00
Eric Hartmann
51215bf61f Typo : upgrade version to 2.15-SNAPSHOT 2012-02-27 16:48:29 +01:00
Eric Hartmann
b7f440c16b Upgrade version to 3.0-SNAPSHOT 2012-02-27 16:45:45 +01:00
Simon Brandhof
929f50815d Fix some quality flaws 2012-02-22 09:41:33 +01:00
Simon Brandhof
22dfc24e49 Fix some quality flaws, particularly on newly inspected code 2012-02-20 22:30:43 +01:00
Simon Brandhof
726c17ed04 Add unit tests and fix some quality flaws 2012-02-20 22:05:03 +01:00
Simon Brandhof
da0d012b99 Update copyright header for this new year 2012-01-10 18:27:36 +01:00
Eric Hartmann
1235e06022 Upgrade to 2.14-SNAPSHOT 2012-01-03 18:05:27 +01:00
Evgeny Mandrikov
5de4905238 Reformat schema-derby.ddl and remove unused sonar-test.ddl 2011-11-23 17:20:52 +04:00
Simon Brandhof
cab2f0e2a5 Remove HSQLDB from unit tests 2011-11-10 16:22:12 +01:00
Evgeny Mandrikov
30161cdacf Use Derby for unit tests instead of HSQL, remove unused code 2011-11-10 15:25:31 +04:00
Eric Hartmann
b313be3b64 Upgrade version to 2.13-SNAPSHOT 2011-11-09 13:26:39 +01:00
simonbrandhof
d370ff3d3d SONAR-2962 Add an index on dependencies.project_snapshot_id to improve performance 2011-11-02 07:50:52 +01:00
Simon Brandhof
eb25424469 SONAR-2642 add unit tests 2011-10-25 18:03:27 +02:00
Fabrice Bellingard
d31106672f SONAR-2919 Update Events table
Migration script:
- name column => 400
- description column => 4000
- data column removed
- tries to attach snapshots to events that do not have one
2011-10-24 13:06:12 +02:00
Simon Brandhof
3d4da0c8c9 SONAR-2846 API: the i18n Hamcrest matcher should not fail if some keys are not defined in the reference bundle 2011-09-29 18:05:09 +02:00
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