Commit Graph

4729 Commits

Author SHA1 Message Date
Olivier Lamy 4649d6b092 align junit version 2015-05-24 22:14:46 +10:00
Eric Barboni 96f390e523 MRM-1892 fix
wrong id for pagination div
2015-05-20 01:12:35 +02:00
Olivier Lamy 30444437d1 align surefire version 2015-05-19 22:41:36 +10:00
Eric Barboni 9312b9db70 MRM-1886 bind javascript to tr instead li (change in html) 2015-05-05 02:44:33 +02:00
Olivier Lamy 4354b7beb2 svn stuff not needed anymore 2015-04-01 11:16:05 +11:00
Olivier Lamy 436b117e7f ensure we test correctly for [MRM-1877] 2015-03-23 15:04:04 +11:00
Olivier Lamy 6317bd9d02 add unit test for [MRM-1877] 2015-03-23 15:00:51 +11:00
Olivier Lamy a6c73dcde2 use more java 1.7 for file io 2015-03-23 14:57:49 +11:00
Olivier Lamy 81411e352d [MRM-1877] Checksum files always recreated 2015-03-23 14:31:58 +11:00
Olivier Lamy f5022a2721 use 1.7 features for files 2015-03-23 14:31:58 +11:00
Olivier Lamy 46ccfb47a6 [maven-release-plugin] prepare for next development iteration 2015-02-24 21:55:57 +11:00
Olivier Lamy e5500cce83 [maven-release-plugin] prepare release archiva-2.2.0 2015-02-24 21:55:45 +11:00
Andrey Sysoev cd245a85f8 Specify using separate caches for different data items (users, keys, namespaces) 2015-02-17 20:11:31 +04:00
Olivier Lamy 9356efc2b1 add unit test for both MRM-935 and MRM-837 2015-02-16 21:59:08 +11:00
Olivier Lamy bcbe7db70c [MRM-1359] remove maven1 ui part 2015-02-13 10:07:16 +11:00
Olivier Lamy aac7bb95c0 cleanup legacy api test 2015-02-13 09:52:49 +11:00
Olivier Lamy d124802588 test not needed anymore 2015-02-13 09:42:40 +11:00
Olivier Lamy d533e27ab2 using maven 1 legacy generate 404 2015-02-13 09:42:20 +11:00
Olivier Lamy 1ba1188d64 [MRM-1359] remove maven1 code 2015-02-12 23:41:27 +11:00
Olivier Lamy 073f69fb90 [MRM-1359] remove maven1 code 2015-02-12 23:31:10 +11:00
Olivier Lamy 5b97adf505 [MRM-1359] remove maven1 code 2015-02-12 23:21:00 +11:00
Olivier Lamy 97a44a5820 [MRM-1359] remove maven1 code 2015-02-12 23:09:28 +11:00
Olivier Lamy 642ceb3f9e [MRM-1359] remove maven1 code 2015-02-12 23:00:22 +11:00
Olivier Lamy edbc2b762e [MRM-1359] remove maven1 code 2015-02-12 22:27:49 +11:00
Olivier Lamy 0b22f0e1f8 inherit from parent pom 2015-02-12 21:58:28 +11:00
Olivier Lamy af6d9ab5c0 cleanup 2015-02-11 22:43:49 +11:00
Olivier Lamy d3f56e231e fix junit 2015-02-11 22:43:25 +11:00
Olivier Lamy 28dae86bea format 2015-02-11 22:34:16 +11:00
Olivier Lamy 4374c550e4 add missing dependency 2015-02-11 22:32:54 +11:00
Olivier Lamy 1feb9a99f6 fix compilation 2015-02-11 21:40:24 +11:00
Olivier Lamy 29faf4ed88 fix exception mapping 2015-02-10 22:10:09 +11:00
Olivier Lamy 8753e05338 fix unit test 2015-02-09 22:46:33 +11:00
Olivier Lamy a115afdbe7 use jaxrs 2.0 2015-02-07 23:02:56 +11:00
Olivier Lamy 1edc02aad9 missing dependency 2015-02-07 22:28:56 +11:00
Olivier Lamy 041a8cc8e0 upgrade to cxf 3.0.3 2015-02-06 23:30:36 +11:00
Olivier Lamy 1040ab6f74 formatting 2015-01-29 16:47:38 +11:00
Olivier Lamy 623a5f4504 fix changing repository with chrome 2015-01-22 22:20:46 +11:00
Olivier Lamy 66a67966e6 fix toString and upgrade httpclient version 2015-01-16 14:57:28 +11:00
Olivier Lamy b141b830d7 formatting 2015-01-14 14:49:36 +11:00
Olivier Lamy 61c83ff3d9 [MRM-1867] Adding a find jar by checksum functionality to the REST api 2015-01-12 17:07:54 +11:00
Carlos Sanchez 775f7efbf3 [MRM-1390] Bump version to 2.2.0 in archiva-webapp-test module 2014-12-01 18:01:00 +01:00
Carlos Sanchez f11f39932a [MRM-1390] Bump version to 2.2.0 2014-12-01 16:56:43 +01:00
Carlos Sanchez db8c78d4d7 [MRM-1390] Cassandra: rename Metadata Facet column 'key' to 'facetKey'
The column 'key' can't be queried in Cassandra
Probably because 'key' is reserved for the element key or a limitation in Hector
2014-12-01 16:48:31 +01:00
Carlos Sanchez 4e5d1183c3 [MRM-1390] Implement search methods for generic metadata and properties in Cassandra store
Some caveats with Cassandra implementation:

We can't search artifacts by any (wildcard) property, so searchArtifacts(text,...) just calls getArtifactsByMetadata
The exact parameter is ignored as we can't do non exact searches in Cassandra
2014-12-01 16:48:31 +01:00
Carlos Sanchez e4da1fa6f5 [MRM-1390] Add REST methods to search JCR store for generic metadata and properties
Added REST methods:

artifactsByProjectVersionMetadata/{key}/{value}
artifactsByMetadata/{key}/{value}
artifactsByProperty/{key}/{value}
searchArtifacts/{text}
searchArtifacts/{key}/{text}

In JCR implementation When searching into any property (key = nil) we can't do exact searchs
2014-12-01 16:48:13 +01:00
Olivier Lamy d9473241c9 format and debug infos 2014-11-27 15:32:24 +11:00
Olivier Lamy c5e2567516 [MRM-1871] copy List before sorting it 2014-11-27 10:57:27 +11:00
Olivier Lamy 0148a725c7 [MRM-1871] ConcurrentModificationException in DefaultRepositoryProxyConnectors
create a copy to avoid ConcurrentModificationException
2014-11-25 09:44:14 +11:00
Carlos Sanchez eeb51f8c35 Commit f4f7c97 changed the name of metadata facet key and value columns
Restore to the previous one
2014-11-24 19:47:57 +01:00
Carlos Sanchez 011f82dc21 Use the same list of ArtifactMetadata column names everywhere 2014-11-24 12:57:22 +01:00
Carlos Sanchez f4f7c971b6 Use an Enum for Cassandra column names instead of duplicated Strings 2014-11-24 12:34:18 +01:00
Carlos Sanchez ac641f48d9 Merge branch 'project-properties' 2014-11-24 09:15:00 +01:00
Olivier Lamy 54b2236700 make it clear it is ConcurrentMap so no need of synchronized block 2014-11-24 11:14:32 +11:00
Carlos Sanchez 1f42a01fb0 Remove duplicated cleanup in tests 2014-11-23 21:15:31 +01:00
Olivier Lamy 480825d72b copy collections to avoid ConcurrentModificationException 2014-11-23 23:02:06 +11:00
Carlos Sanchez b1838d2e3c Add pom properties to ProjectVersionMetadata 2014-11-21 20:25:26 +01:00
Carlos Sanchez 5d29c9ff1d [MRM-1848] download links for files multi-dot extensions incorrect in Browse view 2014-11-20 10:26:37 +01:00
Eric Barboni a1d2414702 MRM-1848 lazy fix for tar.gz 2014-11-19 00:10:53 +01:00
Olivier Lamy aa9bfe5eb3 merge branch from Carlos. Thanks mate!! 2014-11-17 10:43:06 +11:00
Carlos Sanchez 63479200ce Add a AbstractMetadataRepository to remove duplicated code 2014-11-06 13:39:28 +01:00
Olivier Lamy 021bbaf5a1 [MRM-1807] Archiva wrapper fail to start 2014-11-05 21:39:00 +11:00
Olivier Lamy ae9b109306 upgrade cassandra to 2.0.9 2014-11-01 10:11:17 +11:00
Olivier Lamy fc29009d8e 1.7 diamond 2014-11-01 10:09:59 +11:00
Olivier Lamy 7c5f1a0acd jmxPort must be dynamic as well 2014-11-01 10:06:38 +11:00
Olivier Lamy 5b59e0b108 Merge branch 'MRM-813' 2014-10-20 17:08:22 +11:00
Olivier Lamy 69ebec8841 add missing @since, formatting, make fields private 2014-10-20 17:08:01 +11:00
Jonathan Sharp 84c1a1ef0c Metatada typo fixes 2014-10-18 08:49:18 -07:00
Jonathan Sharp 7c9267111a MRM-813 tweak APC interface and ADRF AuditEvents 2014-10-17 15:23:47 -07:00
Eric Barboni aa14083b03 MRM-1863 synchronize link and text link display for repository group ctd 2014-10-16 00:11:34 +02:00
Eric Barboni 5fffc15d6e MRM-1863 synchronize link and text link display for repository group 2014-10-15 21:46:24 +02:00
Olivier Lamy dce9401cd3 start fixing issues reported by modernizer maven plugin 2014-10-15 14:10:04 +11:00
Olivier Lamy df99049a93 avoid returning empty data 2014-10-15 11:45:44 +11:00
Olivier Lamy 56e4a1047e avoid too much noise 2014-10-15 11:11:51 +11:00
Olivier Lamy aae1cd8c5a avoid too much noise 2014-10-15 11:08:06 +11:00
Eric Barboni ea1e055516 sonar fixes 2014-10-14 21:32:51 +02:00
Eric Barboni 70c6cc2ee4 sonar fixes 2014-10-14 21:31:33 +02:00
Eric Barboni 81655230ae sonar fixes 2014-10-14 21:30:11 +02:00
Olivier Lamy a2f7519f28 fix osgi warning 2014-10-14 15:59:00 +11:00
Olivier Lamy 655dd53f58 [MRM-1145] RSS tests do not correctly check responses 2014-10-14 15:59:00 +11:00
Olivier Lamy 31cc47c313 [MRM-1145] RSS tests do not correctly check responses 2014-10-14 15:59:00 +11:00
Olivier Lamy 84d5a61c80 [MRM-1145] RSS tests do not correctly check responses 2014-10-14 15:59:00 +11:00
Eric Barboni 951b9f8ef1 MRM-1811 add alternative pagination for simplegrid 2014-10-14 02:56:36 +02:00
Olivier Lamy 4e331298e4 no need to lookup those beans for each request 2014-10-13 16:35:00 +11:00
Olivier Lamy 70bc09fbb9 make this servlet thread safe!! 2014-10-13 16:19:42 +11:00
Eric Barboni c2f9100dda MRM-1865 remove isPermanent flag 2014-10-10 22:41:59 +02:00
Olivier Lamy 2d205906d1 not needed 2014-10-10 22:51:28 +11:00
Brett Porter f21dcf5ef5 [MRM-1864] use SSL by default for central
This matches the default configuration used in the latest version of Maven.
2014-10-09 19:04:26 +11:00
Jonathan Sharp f3ed08b695 MRM-1810 remove group filter 2014-10-07 18:50:50 -07:00
Jonathan Sharp 448d88877d MRM-1810 removed properties filter, added i18n help content 2014-10-07 17:42:20 -07:00
Eric Barboni 8385e531c9 MRM-1767 changerepository location missing slash 2014-10-06 22:12:43 +02:00
Eric Barboni 70acb56d0c MRM-770 Related. Display classifier (use table because of messy alignment with lot of information) 2014-10-03 02:05:01 +02:00
Eric Barboni cf16df693a fix error text for MRM-1851 2014-10-01 02:28:28 +02:00
Eric Barboni fce6ca600c synchro parent version for it test + bump version 2014-10-01 02:26:40 +02:00
Eric Barboni e4a7f04a35 add a profile for coverage (jacoco-coverage) 2014-09-30 23:06:57 +02:00
Eric Barboni 705fbd95c4 create a testrule to get a temp folder with a predictible name 2014-09-30 23:06:56 +02:00
Jonathan Sharp a2d62a3c0b MRM-1311: Added Loggers to core consumers 2014-09-29 14:46:01 -07:00
forjsharp 19b4ddd0c8 REST: BrowseServiceTest: Mitigate Stale Item Error 2014-09-21 15:30:02 -07:00
Olivier Lamy c3ef4bfbfb [MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported 2014-09-15 14:54:08 +10:00
Olivier Lamy 373183554d spring 4.1.0 2014-09-10 15:09:00 +10:00
Olivier Lamy ede01e523e [maven-release-plugin] prepare for next development iteration 2014-09-01 15:15:00 +10:00
Olivier Lamy aca120c87c [maven-release-plugin] prepare release archiva-2.1.1 2014-09-01 15:14:47 +10:00
Olivier Lamy d4c85abfac [MRM-1854] Last modified date is epoch on directory listing for a group 2014-09-01 14:04:41 +10:00
Olivier Lamy d42a81ac34 format 2014-09-01 13:34:05 +10:00
Olivier Lamy 6ce6511a6c change immediateFlush to true as users looks to be confused :-) 2014-08-04 21:02:12 +10:00
Brett Porter 4ec9c4356f re-order test 2014-08-01 14:20:56 +10:00
Brett Porter 8b1e1ffa71 refactor service tests
Split out scan call to be explicit to make it easier to refactor duplicate
sections, then move repeated configuration to before/after methods.

Make sure scanning has finished before operations that might concurrently try
to modify the metadata. This also means we can now verify the deletion of the
repository is successful
2014-08-01 12:51:12 +10:00
Brett Porter 2b8f78afe2 take advantage of generic type 2014-08-01 12:48:26 +10:00
Brett Porter 1e589ddd62 only close session if open
getJcrSession will open one if needed, which close does not need to do. This
also caused some timing issues in the REST tests as it concurrently operated
on the same session
2014-07-31 20:22:27 +10:00
Brett Porter cd731be98b unused import 2014-07-31 15:12:29 +10:00
Brett Porter fafb8d284f split out audit facet and listener to match others
by placing these in the metadata model / API they can be used more broadly,
while the storage-dependant implementation can be in a plugin. This means the
plugins can be removed from the admin implementation, which can then be used
(as required) in the CLI
2014-07-31 15:10:37 +10:00
Brett Porter be20d16cfd more autowiring 2014-07-30 18:06:15 +10:00
Brett Porter b0550f3fcf ensure works from clean repository 2014-07-30 17:27:20 +10:00
Brett Porter 6e1b60e430 update archetype for repository metadata
use mocks instead of full implementations for testing, cut down dependencies
2014-07-30 16:33:41 +10:00
Brett Porter fcf2e3e27c make optional for Spring
in case of tests that don't add any repository listeners to the classpath
2014-07-30 16:07:38 +10:00
Brett Porter 54f97d54cb fix merge of converters
The test files in artifact converter had been adjusted, and need to merge the
spring context. Also make the artifactConverter injection more specific to
avoid picking up those defined for tests
2014-07-30 14:34:42 +10:00
Brett Porter c329113c52 simplify required namespaces 2014-07-30 13:42:36 +10:00
Brett Porter 30db1698ea ensure spring context is added to archetype 2014-07-30 13:33:12 +10:00
Brett Porter c1e27fbd05 remove unused dependencies and imports 2014-07-30 13:22:57 +10:00
Brett Porter 339650b1a7 add generics 2014-07-30 13:22:50 +10:00
Brett Porter b3804c39b5 remove commented dependency 2014-07-30 12:05:02 +10:00
Brett Porter 2882d9b199 add missing dependency 2014-07-30 12:05:02 +10:00
Brett Porter 732531ebef ensure archiva-cli is able to run
clean up the dependencies used and add some missing configuration form shade
2014-07-30 12:05:02 +10:00
Brett Porter 75c63ff2eb split out problem facet
this avoids modules wanting to report a problem from having to depend on the
plugin itself and its consumer, etc.
2014-07-30 12:02:04 +10:00
Brett Porter 54e9209fed fix scan location 2014-07-30 11:52:10 +10:00
Brett Porter b9920ed0ff fix package declarations
avoid duplicating classes in the produced bundle
2014-07-30 11:46:31 +10:00
Brett Porter 8007a47a3a merge artifact-converter into converter
Large amount of duplicated information and an unnecessary split package
caused duplicates in the produced bundle
2014-07-30 11:46:30 +10:00
Brett Porter 909ad7500b ensure archetype builds on a clean repository
Need to line up several dependencies that got managed differently, and trim
out things no longer needed. This could use a diet in general - there should
not be very much of Archiva's API or dependencies needed to build and test a
consumer.
2014-07-29 18:16:23 +10:00
Brett Porter 9e0abd75f3 remove antrun only used for echo 2014-07-29 16:24:29 +10:00
Brett Porter 482c368d0d trim POM to required resources 2014-07-29 15:54:42 +10:00
Brett Porter 50e30fef3b must also populate variables 2014-07-29 15:27:55 +10:00
Olivier Lamy dc52ac5c79 [MRM-1853] On first start up, you get a perpetual loading indicator.
Submitted by Robert David
2014-07-24 12:08:19 +10:00
Olivier Lamy e92a96880e line ending 2014-07-17 17:54:44 +10:00
Olivier Lamy f051ac2796 [maven-release-plugin] prepare for next development iteration 2014-07-16 10:51:34 +10:00
Olivier Lamy 93eafa089c [maven-release-plugin] prepare release archiva-2.1.0 2014-07-16 10:51:21 +10:00
Brett Porter 2fd88d2d08 update line endings 2014-07-01 16:11:00 +10:00
Olivier Lamy 79cc8e3948 revert c648adb306 too 2014-06-25 16:33:31 +10:00
Olivier Lamy 7cc7854a26 revert previous commit as 2.x was not affected in fact 2014-06-25 16:27:46 +10:00
Brett Porter 48a42e895a [MRM-1796] support artifacts larger than 4G
[MRM-1796] support artifacts larger than 4G
2014-06-25 16:23:53 +10:00
Brett Porter c648adb306 [MRM-1796] support artifacts larger than 4G 2014-06-25 16:21:43 +10:00
Olivier Lamy d93e36e62d fix unit 2014-06-11 03:02:49 +10:00
Olivier Lamy 2124e24a18 add comment 2014-06-11 02:46:11 +10:00
Olivier Lamy 7972d75082 [MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported 2014-06-11 02:44:41 +10:00
Olivier Lamy 6b1e26c792 fix rat configuration 2014-06-06 11:01:49 +10:00
Olivier Lamy 35eecf18a2 configure cxf logger 2014-06-04 11:54:58 +10:00
Olivier Lamy e1bad647dd prevent js error when updating password 2014-05-30 16:28:15 +10:00
Olivier Lamy fd36bced75 [MRM-1841] "Remember me" not working
restore password storage in the cookie.
if remember activated and the cookie is available with a username/password an automatic login will be try
2014-05-23 11:22:18 +10:00
Olivier Lamy b87e972bff requirejs 2.1.11 2014-05-23 09:31:33 +10:00
Olivier Lamy e345bdb2bd jquery 1.11.1 2014-05-23 09:28:46 +10:00
Olivier Lamy 3276b5e5ea upgrade jquery cookie plugin to 1.4.1 2014-05-23 09:26:41 +10:00
Olivier Lamy ef572f80d7 [MRM-1841] "Remember me" not working
password not stored anymore
2014-05-21 16:06:21 +10:00