252 Commits

Author SHA1 Message Date
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