Commit Graph

384 Commits

Author SHA1 Message Date
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 178e43f2a0 again osgi grhhh :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311023 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 15:29:52 +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 fa1918fa64 missed to add file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1305282 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 09:55:16 +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 7461a332bc add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304945 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 22:06:43 +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 ff272795b8 fix osgi imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303961 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 18:33:29 +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 807d29a1e1 [MRM-1585] rewrite appareance page
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302957 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 15:57:31 +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 3a90a3b357 ooops
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299666 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 13:20:25 +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 356ff6d52a fix osgi import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299270 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 20:49:18 +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 345a7d6a75 [MRM-1579] rewrite repositories scanning admin page
enabled/disabled consummers.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298321 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 09:31:51 +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 1f1599658f [MRM-1579] rewrite repositories scanning admin page
start some refactoring to ease implementation (reusable beans)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298148 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:01:13 +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 3332083d45 add search for osgi: Import-Package and Require-Bundle are now searchable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:56 +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 7c71fde835 fix search query
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294405 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:03:26 +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 42bd64aaec use chosen to multi select repoIds for searching.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294222 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:57:43 +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 a294aff1b7 fix browse for directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293946 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 22:12:25 +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 2538f012b5 authz not mandatory for search: repositories list limited for guest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293870 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:58:30 +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 31e5bf8148 fix osgi imports.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293681 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 20:45:31 +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 6d0d073824 implements repository browsing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 17:40:43 +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 56c137f27f [MRM-1573] start work on browse screen
navigate on groupIds.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245185 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 21:27:08 +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 d080db57e5 proxy connector screen add PolicyInformation bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237581 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 09:47:41 +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 cadc118a5d missed to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235396 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 18:23:59 +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
Olivier Lamy ac710a67b8 prevent doing to much String->Properties transformation for loading i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234762 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 12:31:59 +00:00
Brett Porter 0a034cdec5 remove JDK 6 specific API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234639 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 22:57:02 +00:00
Olivier Lamy 9fbd56564a produce text plain doesn't have any sense missed a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234430 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 22:32:29 +00:00
Olivier Lamy 5df449c74e produce text plain doesn't have any sense
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234429 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 22:32:13 +00:00
Olivier Lamy 2d96427bd0 fix snippet url
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233900 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 13:23:33 +00:00
Olivier Lamy b722a82aec [MRM-1574] link to display pom snippet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233899 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 13:23:13 +00:00
Olivier Lamy 28a7a9cee8 fix indexing call as could cause NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:39:00 +00:00
Olivier Lamy 317cf9e4ce [MRM-1574] display repo stats
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:10:18 +00:00
Olivier Lamy 2d3d39db6a cleanup bad content from previous builds: my bad !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233368 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:33:34 +00:00
Olivier Lamy af18bdf380 add @since for those new rest methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233315 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:25:01 +00:00
Olivier Lamy 4ada471449 [MRM-1574] add rest method to get repositoty statistics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233310 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:18:19 +00:00
Olivier Lamy cbb1fdef2d [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
improve unit test with testing getArtifactVersions method too.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233267 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:10:02 +00:00
Olivier Lamy 883900fa2a [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233266 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:09:47 +00:00
Olivier Lamy 839d3e0028 fix rest call for scanRepositoryNow fullScan parameter was not honoured
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233135 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 00:01:42 +00:00
Olivier Lamy 3474c6f996 bad idea to use a path param for location with /
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232616 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:24 +00:00
Olivier Lamy 58c30c851d add a rest method to validate if managed repository location already exists.
So move RepositoryCommonValidator to admin api and add the interface

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:08 +00:00
Olivier Lamy b1741f9726 [MRM-1574] add managed repo now implemented.
change the rest service to return the repo rather than a Boolean to have real path available in the ui.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232062 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:53:57 +00:00
Olivier Lamy c86c62cd2d when possible rest error must return the field with issue to map it in the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231992 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:27:37 +00:00
Olivier Lamy b01a04df29 upgrade to cxf 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229144 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 13:33:31 +00:00
Olivier Lamy 717cbf7c8a take care of some ArrayList size init
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229118 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 12:44:02 +00:00
Olivier Lamy 8e2309ee39 avoid noise for asked locale en as it is default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229065 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 09:09:35 +00:00
Olivier Lamy a2123c92c8 load all i18n in only one rest call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229063 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 09:00:43 +00:00
Olivier Lamy d5461dcc53 close StringReader
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228022 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 08:56:03 +00:00
Olivier Lamy bcf944afb6 add rest method to load i18n from redback and archiva in one call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228021 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 08:55:48 +00:00
Olivier Lamy b5d0bd3303 adapt to last redback changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226257 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 15:30:51 +00:00
Olivier Lamy ef781c9859 add i18n rest services for Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1220779 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 14:43:57 +00:00
Olivier Lamy 67e313f681 [MRM-1564] spring 3.1.0 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213948 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:53:26 +00:00
Olivier Lamy 0642387135 fix version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213879 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 19:21:57 +00:00
Olivier Lamy 58b08d0094 bump to 1.4-M3-SNAPSHOT version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213816 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:18:37 +00:00
Olivier Lamy abcebebe72 fix license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212369 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 12:26:40 +00:00
Olivier Lamy 07a70248eb [MRM-1562] Update to Archiva as OSGi compliant application
Archiva REST and Archiva RSS as OSGi bundle.
Submitted by Jean-Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1206014 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 23:04:57 +00:00
Olivier Lamy 20d3572faa fix import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205495 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 17:16:04 +00:00
Olivier Lamy 16f3847d18 simplify with using @Context annotation from jaxrs to get HttpServletRequest in rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205494 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 17:15:42 +00:00
Olivier Lamy 046cc5f5d9 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203410 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:54:12 +00:00
Olivier Lamy 988f8b45f3 includePom in index search results configurable: false by default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203376 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:29:44 +00:00
Olivier Lamy 6eb766e9d9 not return pom artifacts when searching artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203364 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:02:08 +00:00
Olivier Lamy 098ffbc90a make repository as a variable to be able to use an other on for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203363 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:01:33 +00:00
Olivier Lamy 472c7e1ff9 again fix some formatting I broke! and remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203199 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:20:18 +00:00
Olivier Lamy 09d0dd1c0e no need of http error code field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201868 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 20:15:05 +00:00