Commit Graph

599 Commits

Author SHA1 Message Date
Olivier Lamy ebc979b128 fix use of spring alias for authorizer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1429023 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 18:33:38 +00:00
Olivier Lamy ac9f4ac10c sync with redback changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1428473 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 17:02:11 +00:00
Olivier Lamy 19f3903ae1 reload ldapusermapper in case of configuration change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1428122 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 00:15:11 +00:00
Olivier Lamy 62cf8e04a7 do not call garbage collector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427135 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:16:07 +00:00
Olivier Lamy a708c81320 remove String to String
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427128 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:14:39 +00:00
Olivier Lamy 7afb00d1c8 non necessary local variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427126 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:13:56 +00:00
Olivier Lamy df0ec61496 fix duplicate bean names
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1426643 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 21:40:46 +00:00
Olivier Lamy 46a1c65169 [MRM-526] add services to configure the cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1426642 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 21:40:29 +00:00
Olivier Lamy ce9d2fce63 configure maxElementsInMemory and maxElementsOnDisk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1426342 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:04:22 +00:00
Olivier Lamy 4119701f84 fix bean mapping and init of ttl values from spring bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425373 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 23:44:08 +00:00
Olivier Lamy 292087cbea refactor the model for cache setup to have something reusable for url cache failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425372 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 23:43:37 +00:00
Olivier Lamy d712e42888 order caches rendering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425290 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 14:50:45 +00:00
Olivier Lamy 177acedf38 fix missing cache name in status page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425287 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 14:49:57 +00:00
Olivier Lamy d767b764a1 fix ugly bean attribute names
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425057 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 17:55:33 +00:00
Olivier Lamy 523213b737 initialize users cache on start with our values
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425054 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 17:54:19 +00:00
Olivier Lamy 738de86c70 [MRM-1732] dynamic configuration of users cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1425052 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 17:53:59 +00:00
Olivier Lamy 81630ab9f8 fix name as it is related to Redback and not to Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424677 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 20:34:09 +00:00
Olivier Lamy c3e33b9670 fix name as it is related to Redback and not to Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424675 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 20:33:35 +00:00
Olivier Lamy 9682660dbc review/comment/delete some FIXME
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424533 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:34:51 +00:00
Olivier Lamy 7b19de0775 fix ugly method name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424188 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 22:39:03 +00:00
Olivier Lamy f11c956b8b fix naming use redback as part of the name as it concerns redback only
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423666 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 21:19:43 +00:00
Olivier Lamy 9736ffc636 use a better naming convention as it concerned redback part
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423659 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 21:18:56 +00:00
Olivier Lamy d15b737723 [MRM-1720] make pageSize and selectedPage configurable tru the REST request.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423550 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:51:54 +00:00
Olivier Lamy 2cc35e19fd if classifier from the search we must download the artifact with this classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423442 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 14:20:31 +00:00
Olivier Lamy a7d8f294a8 reload authenticators when configuration has changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1421476 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:05:51 +00:00
Olivier Lamy 6ccf27b7d1 add a service to be able to check ldap configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1421465 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:03:16 +00:00
Olivier Lamy 0d457b816e re initialize CookieSettings too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420240 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:59:53 +00:00
Olivier Lamy f1028d61bc reload passwordRules in case of configuration change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420238 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:58:58 +00:00
Olivier Lamy 17c210e4b6 fix ldapConnectionFactory initialize call when changing configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420237 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:58:32 +00:00
Olivier Lamy 242c7794eb correctly reinit ldap connection factory in case of changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419923 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 00:01:34 +00:00
Olivier Lamy 504abcf697 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419602 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 17:37:50 +00:00
Olivier Lamy 07565fa15f user can change only the order of userManagerImpls so take care of that
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419578 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:46:12 +00:00
Olivier Lamy 48deda62b1 [MRM-1721] Chaining user manager implementations.
take care of last changes in redback to be able to track exception when using userManagerImpl.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419573 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:37:30 +00:00
Olivier Lamy 8534cdcb6a [MRM-1721] Chaining user manager implementations.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419569 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 16:36:18 +00:00
Olivier Lamy 017cb9625b [MRM-1721] Chaining user manager
not yet complete but commit stuff to prevent compilation failure due to redback changes.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1418718 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 17:41:27 +00:00
Olivier Lamy 2c11134559 unit tests fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1418002 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 17:01:28 +00:00
Olivier Lamy 19e9ca8bb5 [MRM-1718] ldap configuration editable with the ui.
WORK IN PROGRESS !

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1417093 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 18:22:28 +00:00
Olivier Lamy 4affdc7bbd [MRM-1714] using LDAP can be configurable with the ui
add a rest service which return available userManager implementation.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1413021 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 18:35:43 +00:00
Olivier Lamy e6ddd34c22 [MRM-1714] using LDAP can be configurable with the ui
add a new  userManager configured by archiva.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412946 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 16:32:46 +00:00
Olivier Lamy 8fd2aba5e7 [MRM-1714] using LDAP can be configurable with the ui
add unit test for rest services

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412883 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 13:31:13 +00:00
Olivier Lamy 6e7126ba3c [MRM-1714] using LDAP can be configurable with the ui
add beans

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412882 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 13:30:44 +00:00
Olivier Lamy d6c925094a [MRM-1714] using LDAP can be configurable with the ui
add archiva backend to manage configuration

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412881 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 13:29:52 +00:00
Olivier Lamy 2c54daefca log4j2 beta3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1409702 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 09:14:49 +00:00
Olivier Lamy e77bfa4a3c [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
fix rest services module.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403532 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:08:19 +00:00
Olivier Lamy d9348b93af use a more appropriate package for this interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403523 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:06:17 +00:00
Olivier Lamy 6f95f668fc [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403507 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 21:00:51 +00:00
Olivier Lamy 9074bfb0f4 [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:58:54 +00:00
Olivier Lamy bcc39e49ae fix deletion of project version when it's snapshot version, timestamped was not deleted
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401075 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 20:52:14 +00:00
Olivier Lamy 0af1bd62e7 [MRM-1703] Cannot delete project with the ui.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400901 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:49:23 +00:00
Olivier Lamy 4b5be0143c [MRM-1701] metadatas are not removed when a snapshot is purged.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400323 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:47:19 +00:00
alecharp b2c8b7464e Improve metadata import interfaces
Possibility to import more than one metadata each time

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1398702 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 09:08:22 +00:00
Olivier Lamy 092a635e39 do some cleanup if metadatarepository still contains versions when deleting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397342 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:42:00 +00:00
Olivier Lamy db43bb9339 add unit test to ensure we delete artifact without setting the packaging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397249 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 19:26:31 +00:00
Olivier Lamy fce214d021 ignore issue when file is not here but continue deleting metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397248 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 19:26:17 +00:00
Olivier Lamy d381f0d431 add rest ui services documentation move rest services from the webapp-js to web-common module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394756 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:48:15 +00:00
Olivier Lamy b57d1456be add rest doc for ui services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394607 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 15:48:08 +00:00
Olivier Lamy 258f098ae6 [MRM-1683] Automatic generation of REST Api documentation.
display doc in the webapp !

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394516 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:42:38 +00:00
Olivier Lamy d856df8196 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393506 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:23:47 +00:00
Olivier Lamy ca17b63c3e [maven-release-plugin] prepare release archiva-1.4-M3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:23:19 +00:00
Olivier Lamy 9dc569736e increase permGern for surefire
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393391 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 10:28:26 +00:00
Olivier Lamy ac900f8e4b [MRM-1681] addProxy Connectors Rules screen
add validation.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393185 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 21:12:42 +00:00
Olivier Lamy 3ebdc4a971 [MRM-1681] addProxy Connectors Rules screen
add REST services.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1392952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 15:12:47 +00:00
Olivier Lamy 1e0f4369eb if no artifacts found try next repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1390906 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 09:11:37 +00:00
Olivier Lamy fc214ca25e fix paramater name used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1390905 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 09:11:22 +00:00
Olivier Lamy fe6bbb72e8 force a directory scan to prevent test failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388755 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 09:09:52 +00:00
Olivier Lamy eaa790d728 log4j 2.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388727 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 23:50:33 +00:00
Olivier Lamy 95e33a5534 implements merging repositories in the new ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388178 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 19:43:45 +00:00
Olivier Lamy c747a1ffe8 change method to be able to retrieve artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388175 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 19:42:46 +00:00
Olivier Lamy 8f64c48ccf add rest service to get artifacts number per repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1388174 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 19:42:21 +00:00
Olivier Lamy d1d92da751 implement merge method in merge repositories service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387390 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:03:12 +00:00
Olivier Lamy 65768e8719 method must received both source and target repo to avoid the ugly -stage to be done in the service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387386 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:02:17 +00:00
Olivier Lamy 06acdc5d59 add repo stage for testing purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387385 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:01:45 +00:00
Olivier Lamy 2103f2d60f finish unit test for getMergeConflictedArtifacts rest method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387384 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 22:00:57 +00:00
Olivier Lamy cfb78daaaa simplify merge services test with reusing content
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387383 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 21:59:47 +00:00
Olivier Lamy c9f85bcae9 fix rest services declaration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387379 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 21:58:50 +00:00
Olivier Lamy 94229a4411 add a mergerepositories service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387378 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 21:58:21 +00:00
Olivier Lamy 82b12feae9 [MRM-1664] Validation error message not visible to user when adding Remote Repository.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384840 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 16:25:14 +00:00
Olivier Lamy 745421c230 [MRM-918] Switch for disabling user registration.
implements ui part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384696 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 09:28:23 +00:00
Olivier Lamy fa31d5bba5 [MRM-918] Switch for disabling user registration.
implements backend part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384695 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 09:27:56 +00:00
Olivier Lamy f6300f9941 parse version only one time
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384564 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:11:18 +00:00
Olivier Lamy bdb81fef28 [MRM-1668] download artifacts when coming from search results.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384563 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:11:00 +00:00
Olivier Lamy 53d662e5d9 add FIXME
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384146 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 22:17:22 +00:00
Olivier Lamy 8136dbe4d2 [MRM-1263] creating an m2eclipse compatible index should be an optional component.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384138 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 21:45:27 +00:00
Olivier Lamy 4b2a422d58 [MRM-648] Add description field to the different types of repositories and proxies
configuration and rest service implemented for remote repositories.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384117 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:45:25 +00:00
Olivier Lamy 0b904bd4d8 [MRM-648] Add description field to the different types of repositories and proxies
configuration and rest service implemented.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1383621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 21:30:31 +00:00
Olivier Lamy 1377df4564 [MRM-1660] use log4j2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382518 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 15:38:26 +00:00
Olivier Lamy b3f857bd37 [MRM-1660] use log4j 2.x done for testing webapp js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382517 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 15:37:27 +00:00
Olivier Lamy fb741717d1 simplify some log.debug as slf4j now supports varargs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381934 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 08:32:10 +00:00
skygo 21072ed38e remove conf and data file for Rest Test and jdk7
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381789 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:31:46 +00:00
Olivier Lamy 911dd05b23 add a method to remove namespace(groupId) in MetadataRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381575 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:14 +00:00
Olivier Lamy 01c3aee959 preserve stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1374660 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 21:33:10 +00:00
skygo 2284bc1635 Skip tests if module is installed in a path with space. (Repository will be invalid)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1371207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 13:37:38 +00:00
Olivier Lamy 2d64002185 remove dependency on maven tree component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369472 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:28:22 +00:00
Olivier Lamy 664eea9e41 dependency tree with aether move beans to a separate new module to be able to reuse beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369269 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:56:52 +00:00
Olivier Lamy c2aa60f68f lot of code cleanup for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368580 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:23:04 +00:00
Olivier Lamy 4c24639c91 use directly aether api to get dependency tree rather than passing tru maven resolution mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368579 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:22:37 +00:00
Olivier Lamy b7eecb18c1 avoid multiple slf4j binding in test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1367184 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:27:33 +00:00
Olivier Lamy 35c58406a8 correctly close jarFile in a finally block
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1358773 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 16:16:01 +00:00
Olivier Lamy dbe5a525d6 [MRM-1583] fix license headers
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1358154 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 12:19:40 +00:00
Olivier Lamy 20d2ba964e remove all @version $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357898 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:49:18 +00:00
Olivier Lamy c7165afad7 oups missed some add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:43:58 +00:00
Olivier Lamy 707cdb193a [MRM-1583] ui rewrite: rewrite reports page
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357889 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:43:37 +00:00
Olivier Lamy 17d1f944e0 [MRM-1640] With the new Fest Assert version, some imports/methods call have to be changed
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357608 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:55:20 +00:00
Olivier Lamy dd386202d6 use fest assert 2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357005 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 23:11:27 +00:00
Olivier Lamy a116e45603 fix some issues reported by rat check
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356459 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:25:06 +00:00
Olivier Lamy bf52af4760 change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:49:49 +00:00
Olivier Lamy 6a9b1752e5 use a different artifactId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356096 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:40:05 +00:00
Olivier Lamy 1484a3316a [MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:36:23 +00:00
Olivier Lamy e3885c59da avoid jackrabbit failure on deleting a test repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355375 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:29:57 +00:00
Olivier Lamy 21ad158d57 avoid failing on cleaning test repo in unit tests: jackrabbit fail if deleting a repo with stale items
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355247 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 06:58:39 +00:00
Olivier Lamy dead89634c display inMemorySize for cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354560 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 14:57:43 +00:00
Olivier Lamy 29b2179854 help a bit memory allocation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353653 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 16:54:59 +00:00
Olivier Lamy 208ff50ae5 fix junit correctly delete timestamped snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353618 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:55:07 +00:00
Olivier Lamy 2296e073bf ensure we use correct lucene artifacts.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353617 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:54:21 +00:00
Olivier Lamy 69ff5ca81c take of version when we delete a timestamped snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1352873 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 13:10:41 +00:00
Olivier Lamy c68f1c3154 correctly update metadata after deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1351896 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:56:42 +00:00
Olivier Lamy 74077123a7 fix deletion of snapshot artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1351877 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:02:38 +00:00
Olivier Lamy 904b86e395 use tomcat embeded for unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350799 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 21:09:19 +00:00
Olivier Lamy f2809251dc restore backward comp for the struts webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350773 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:10:08 +00:00
Olivier Lamy 235030c2bd fix download link in jsp webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349787 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:16:24 +00:00
Olivier Lamy 0db6c1faa2 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349786 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:15:50 +00:00
Olivier Lamy 710489fc72 implement service to delete groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346651 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 23:17:23 +00:00
Olivier Lamy 0af5a819d9 when deleting an artifact md5 and sha1 must be deleted too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346611 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:53 +00:00
Olivier Lamy ea5ddd0961 improve MetadataRepository api to be able to remove an artifact with MetadataFacet use case deleting a maven artifact with a classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:42:02 +00:00
Olivier Lamy 0c42d87da1 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345591 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:41:16 +00:00
Olivier Lamy eeed20ed36 fix an issue with not removing project version when removing an artifact from Metadatarepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345397 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:48:01 +00:00
Olivier Lamy 4f25bfb612 fix download url with setting correctly file extension.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345394 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:46:40 +00:00
Olivier Lamy 9375a7c4db improve test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345393 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:46:25 +00:00
Olivier Lamy fb7b1842b3 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1344324 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 16:05:53 +00:00
Olivier Lamy bbadcdcf91 start work on deleting artifacts tru the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1344323 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 16:05:28 +00:00
Olivier Lamy b310f597df remove non needed parameters
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343831 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:35:48 +00:00
Olivier Lamy d91a07b77b this is fixed now
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343830 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:35:33 +00:00
Olivier Lamy cc2d715e54 [MRM-1621] add download box in artifact detail for new ui.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343828 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:35:00 +00:00
Olivier Lamy 62895209c3 return url for ArtifactDownloadInfos service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343827 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:34:39 +00:00
Olivier Lamy 5cdaedb142 simplify by reusing an existing class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:34:21 +00:00
Olivier Lamy 315aa8b18f use hsql for unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343714 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 13:29:06 +00:00
Olivier Lamy e87db98689 upgrade hsql version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343713 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 13:28:55 +00:00
Olivier Lamy b07f0d8108 prevent possible unit test failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342825 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 22:27:20 +00:00
Olivier Lamy eccbf5b9c1 use configured applicationUrl for download urls
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342819 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 21:46:38 +00:00
Olivier Lamy 5f43a65cd8 use configured applicationUrl to send registration email
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342595 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 12:33:18 +00:00
Olivier Lamy 25b768a317 [MRM-1629] Add a configuration field for the application url.
add unit test

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342457 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 21:59:57 +00:00
Olivier Lamy 4a2221fc63 add unit test and a toString method for debug purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342319 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:22:12 +00:00
Olivier Lamy 1130d556c2 use bean rather than passing string. return back repositoryId used.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341937 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:26:02 +00:00
Olivier Lamy b5c876a617 add some debug informations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341796 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 08:56:34 +00:00
Olivier Lamy cb80084a24 if file not exists for a repository try next repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341795 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 08:56:19 +00:00
Olivier Lamy 0889d5a17d fix issue when no repository has been selected
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341662 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 22:10:28 +00:00
Olivier Lamy fd37dbe4b4 add rest service to retrieve file content (from a jar or a pom content)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341045 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:24:21 +00:00
Olivier Lamy 5f5a4accbd add a rest service to get ArtifactDownloadInfo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1340479 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 13:33:06 +00:00
Olivier Lamy 4eedd2e924 better with really adding files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1340412 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:43:49 +00:00
Olivier Lamy 83fd6882f5 simplication remove non needed field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1339399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 22:19:07 +00:00
Olivier Lamy 799054411e fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1339398 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 22:18:33 +00:00
Olivier Lamy a1dc0ff5ab [MRM-1620] add a tab to browse artifact content in artifact detail view
start displaying content

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1339396 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 22:18:05 +00:00
Olivier Lamy ff8de40f52 more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1339395 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 22:17:10 +00:00
Olivier Lamy 34cb0a7608 add an other unit to test directory content with both files and directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1338653 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 11:25:10 +00:00
Olivier Lamy 58b6759ae5 preserve stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1338243 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 15:08:37 +00:00
Olivier Lamy 44c1ca4e60 correctly close streams
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1338226 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:38:19 +00:00
Olivier Lamy cc2feeebbe move spring-taskqueue to apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325979 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:10:16 +00:00
Olivier Lamy 5ba11055fe repackage spring-registry-commons to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:27:10 +00:00
Olivier Lamy 870ce2c4d8 use o.a.a package namespace for spring-quartz component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325047 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 22:26:10 +00:00
Olivier Lamy 45216d20ea spring-cache move to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1324627 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 08:26:27 +00:00
Olivier Lamy eb518f3320 move to package o.a.a.r redback module redback-rest-services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311089 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 20:39:11 +00:00
Olivier Lamy 621340f552 move to package o.a.a.r redback module redback-rest-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311084 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 20:28:25 +00:00
Olivier Lamy 2ce3e9371f move to package o.a.a.r redback module redback-system
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310918 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:19:30 +00:00
Olivier Lamy c2266bcad9 move to package o.a.a.r redback module redback-authorization-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310862 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 20:52:57 +00:00
Olivier Lamy 9780539136 move to package o.a.a.r redback module redback-authentication-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310846 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:56:17 +00:00
Olivier Lamy da36c0b96e redback package change to asf namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310765 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 13:19:01 +00:00
Olivier Lamy 5c8ae7ca09 use new redback groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310512 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 17:57:23 +00:00
Olivier Lamy 4306c19f95 [MRM-1620] add a tab to browse artifact content in artifact detail view
fix impl for mix of directories and files in the tree.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309833 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 13:05:24 +00:00
Olivier Lamy 0979e47376 missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309831 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 13:04:41 +00:00
Olivier Lamy a6fc548e97 [MRM-1620] add a tab to browse artifact content in artifact detail view
implement artifact content browsing REST api

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309830 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 13:04:10 +00:00
Olivier Lamy f6ec74e891 avoid duplicate code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309828 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 13:03:26 +00:00
Olivier Lamy 5a770cf0b6 [MRM-1620] add a tab to browse artifact content in artifact detail view
add rest api design.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309312 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 09:57:50 +00:00
Olivier Lamy f94ea34c10 fix pom snippet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309160 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 21:26:56 +00:00
Olivier Lamy 4bc3a05a3b fix junit as now non absolute path is replace with appserver.base as parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308583 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 21:32:57 +00:00
Olivier Lamy 741723f05a fix junit as now non absolute path is replace with appserver.base as parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308562 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 21:02:29 +00:00
Olivier Lamy cf0bfb2ee1 cache i18n values
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308291 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 10:28:26 +00:00
Olivier Lamy 67bf9acaff prevent StringIndexOutOfBoundsException on AuditEvent creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308257 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 07:19:20 +00:00
Olivier Lamy 62a08312f9 take of NPE, add rest method to cleanup uploaded files in session
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1307830 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 15:35:32 +00:00
Olivier Lamy dbe30a337d file upload server implementation first code need some cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1307829 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 15:35:00 +00:00
Olivier Lamy ef8d2cc959 add an Entry object for REST services returning map -> ease json mapping in javascript
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1305281 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 09:54:39 +00:00
Olivier Lamy 57ccb2fc4b move fest-assert declaration in parent pom dependencyManagement section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304946 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 22:06:54 +00:00
Olivier Lamy fba8ce10c6 add unit tests for browseService
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304938 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 22:01:00 +00:00
Olivier Lamy 101e5e94aa unit test for get/add/delete properties on generic metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304881 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 18:24:01 +00:00
Olivier Lamy af5c53ec1c rest services for artifact generic metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304880 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 18:23:43 +00:00
Olivier Lamy f9f42bdd34 extract inner class to a real class
starting adding services for project generic metadatas.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304879 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 18:23:15 +00:00
Olivier Lamy f61e9b7ba9 add a rest method to get artifact dependees
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304227 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 08:33:02 +00:00
Olivier Lamy 541b9bee63 cleanup comments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303925 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:53:19 +00:00
Olivier Lamy 4f0deeb78b fix dependency tree calculation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303924 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:53:03 +00:00
Olivier Lamy 110d011627 [MRM-1615] Artifact detail view
start working on dependency tree tab add a rest service.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303921 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:52:17 +00:00
Olivier Lamy 54b65bcb4d fix detail view for packaging and parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302830 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 10:34:51 +00:00
Olivier Lamy 3592d26fad fix more empty data
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302390 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 12:04:17 +00:00
Olivier Lamy 316db51e0a use name when available
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302388 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 12:03:45 +00:00
Olivier Lamy 3b01da90b5 add REST method to know if user able to delete artifact on a repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302367 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 10:50:02 +00:00
Olivier Lamy fcb3c65b6f oups remove annotations from impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301643 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 16:48:13 +00:00
Olivier Lamy a63a16a32c add a rest method to get project metadata for 1 version only
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301640 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 16:42:52 +00:00
Olivier Lamy 8e08552d4c use selected repository to get versionList and projectMetadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301615 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 16:08:52 +00:00
Olivier Lamy 8c4dbe2fc9 implements browsing root for a selected repository.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301528 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:03:33 +00:00
Olivier Lamy 2348ff4e62 display repository name rather than id
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301526 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:02:51 +00:00
Olivier Lamy 684505391a enhance rest method to return ManagedRepository rather than simply string
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301525 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:02:29 +00:00
Olivier Lamy 6c2bf258aa start working on browsing only one repository to avoid merging incomplete metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301522 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:01:33 +00:00
Olivier Lamy f00878ddf9 fix artifact description not returned
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301278 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 23:52:34 +00:00
Olivier Lamy 40750437f3 [MRM-1580] system status page button to refresh some stats.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299908 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 22:26:33 +00:00
Olivier Lamy 56ed8dbfef [MRM-1580] system status page current scanner stats. fix average value.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299907 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 22:26:12 +00:00
Olivier Lamy f425272a22 cleanup commented code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299906 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 22:25:42 +00:00
Olivier Lamy 15549c85b0 [MRM-1580] system status page current scanner stats.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299905 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 22:25:13 +00:00
Olivier Lamy 5ff0f0ee14 managed repositories add link to do a directories scan immediate.
Take about correctly close jackrabbit session in case of exception and open session when it's closed.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299735 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 16:43:41 +00:00
Olivier Lamy be29e9e81c more human readable format for the last scan date
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299734 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 16:41:57 +00:00
Olivier Lamy 1cc0787731 [MRM-1580] system status page button to flush all caches.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299685 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 14:31:02 +00:00
Olivier Lamy 97a31442ea [MRM-1580] system status page flush cache link.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299684 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 14:30:09 +00:00
Olivier Lamy fac85e0b4b [MRM-1580] system status page display caches.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299683 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 14:29:17 +00:00
Olivier Lamy 90e0bea025 [MRM-1580] system status page display queues.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299659 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 13:03:38 +00:00
Olivier Lamy eee8044673 [MRM-1580] system status page display current server time.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299622 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 11:00:36 +00:00
Olivier Lamy ec23b66369 [MRM-1580] system status page display memory usage.
missed to add new classes

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299621 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 10:58:48 +00:00
Olivier Lamy 1cd69b28b9 [MRM-1580] system status page display memory usage.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299619 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 10:57:43 +00:00
Olivier Lamy 6a46674535 remove deprecated class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299574 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:10:38 +00:00
Olivier Lamy 33577da0f9 add REST method to really scan repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 23:44:11 +00:00
Olivier Lamy 8ab058f4b3 use web mock module in rest-services tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298323 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 09:33:31 +00:00
Olivier Lamy ff09a910b3 use a better name for those methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298150 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:02:22 +00:00
Olivier Lamy 1646114f7a [MRM-1579] rewrite repositories scanning admin page
improve rest services to ease screen implementation.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298149 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:01:51 +00:00
Olivier Lamy 526a11efce [MRM-1577] rewrite legacy path admin page
add ok.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297639 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 18:32:06 +00:00
Olivier Lamy 09a3de2d63 add validation on adding LegacyPath rest method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297637 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 18:30:59 +00:00
Olivier Lamy aabab285c4 add comment in code snippet and add a snippet in pom for rest dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295689 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 17:34:21 +00:00
Olivier Lamy d0eaad0341 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons
add a jackson configurator for archiva.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295499 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:29:08 +00:00
Olivier Lamy 7aacdb1bf1 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons
fix some javascript mapping for redback part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295498 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:28:52 +00:00
Olivier Lamy 9b37010349 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295496 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:28:16 +00:00
Olivier Lamy 9eb977f581 correctly sort versions on artifact view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295024 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 09:14:28 +00:00
Olivier Lamy 49bccb5d33 fix regression in json/boolean due to parameter to fix transformation of 2.0 to 2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294407 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:04:05 +00:00
Olivier Lamy 202a699884 add rest method to search with query on a set of repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:03:04 +00:00
Olivier Lamy 48da9ae955 add rest method to getObservableRepoIds
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294221 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:57:14 +00:00
Olivier Lamy 9ea612361f add unit test for search with guest user.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293871 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:58:50 +00:00
Olivier Lamy bd98d2d274 hack jqueryui to have autocomplete working with bootstrap
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293869 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:58:13 +00:00
Olivier Lamy 773d2784a5 fix String transformation of 2.0 -> 2 was not correct for artifacts versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293715 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:45:37 +00:00
Olivier Lamy 38aaec51a7 upgrade to cxf 2.5.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:11:29 +00:00
Olivier Lamy f1f0ceaf47 [MRM-1573] improve browse service with returning ProjectVersionMetadata (so add some annotation for REST exchange)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293423 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:18:34 +00:00
Olivier Lamy d026cc88a7 add REST to browse a groupId/artifactId and retrieve all versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1292963 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 21:25:20 +00:00
Olivier Lamy b07b0de488 no display full groupId in browsing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245816 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 00:18:30 +00:00
Olivier Lamy fa2a45d627 rename class. it's always complicated to find the good name but the previous was very bad :-).
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245618 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 15:40:41 +00:00
Olivier Lamy 53f479e409 fix mimize js/css cleanup on browse
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245403 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:35:50 +00:00
Olivier Lamy fe446f4081 [MRM-1573]
refactor to have more generic REST model result.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245254 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 23:31:40 +00:00
Olivier Lamy f86f621808 [MRM-1573] start work on browse screen
navigate on groupIds.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245184 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 21:26:48 +00:00
Olivier Lamy f6ec5a7e86 [MRM-1573] start work on browse screen
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1244606 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 17:42:55 +00:00
Olivier Lamy c8e8d8f95b wait end of first scan before deleting repo should prevent test failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243016 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 08:07:37 +00:00
Olivier Lamy a269e32a92 more easy REST method to delete a ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242594 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 23:07:37 +00:00
Olivier Lamy 68365364e3 add wagon-http-lightweight as dependency to prevent CNFE in tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240629 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:17:53 +00:00
Olivier Lamy 91d63e741b start work on proxy connector screen
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237580 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 09:47:16 +00:00
Olivier Lamy 7b50ea96e2 move this rest services used only by the js ui in a new rest ui service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1236634 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 11:19:51 +00:00
Olivier Lamy 9bd514d09e rest method to validate cron expression: add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235829 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 17:14:11 +00:00
Olivier Lamy 627bdfa6b1 add rest service to validate cron expression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 17:13:37 +00:00
Olivier Lamy d30085c7b8 javascript logging optionnal too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235395 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 18:23:38 +00:00
Olivier Lamy ad26a0d39e add a system property to configure lab js cache for script loading: true in dev env
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235041 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 22:32:45 +00:00