83 Commits

Author SHA1 Message Date
Brett Porter
71eda3948c fix tabs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757642 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 03:13:00 +00:00
Maria Odea B. Ching
30ecf02f41 o synchronize repository scanning to prevent index writer/reader from being closed when repo consumers are executed from proxy requests and a
repository scanning is in progress
o updated test cases to accomodate changes


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757116 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 02:24:21 +00:00
Brett Porter
6681581426 further cleanup references to xwork user that no longer needs to be instantiated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756564 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:14:45 +00:00
Brett Porter
9b150136fe clean up method calling
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755995 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 13:48:54 +00:00
Brett Porter
584031f68f clean up the webdav interface to make the code more readable
in addition, webdav now honours the delete operation separately to upload
improved the HTTP error responses for misconfiguration (500) vs not found on groups


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755845 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 06:10:38 +00:00
Maria Odea B. Ching
aab7502db7 [MRM-901]
o merge all versions of artifacts with same groupId in all repos under a group (browse)
o added test case 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755532 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 09:56:41 +00:00
Brett Porter
f8373b46e0 clean up warnings in webdav module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755319 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 16:58:49 +00:00
Brett Porter
537ff689e7 [MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
Brett Porter
f63959e3aa [MRM-1101] restore proper tracking of principal in DAV for audit logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752519 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 16:53:17 +00:00
Emmanuel Venisse
aae839ff4b [ARCHIVA-938] Remove harcoded guest user
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752384 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 06:12:17 +00:00
James William Dumay
2d11d2048a MRM-1031 - Upgrade to jackrabbit-webdav 1.5.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@724235 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 02:39:39 +00:00
James William Dumay
8152eb5642 MRM-1015 - Move consumers and related API's to Spring
RepositoryContentConsumers needed to be ported over as a spring component so that we can use the ApplicationContextAware interface.



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@719157 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 04:13:50 +00:00
Brett Porter
f578399872 remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
James William Dumay
9265e9e8dd MRM-1004 - RepositoryServlet tests fail intermittently on Windows.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718167 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 03:42:13 +00:00
James William Dumay
7feb3eb525 MRM-1004 - RepositoryServlet tests fail intermittently on Windows. Submitted by Martin Cooper.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718157 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 01:39:20 +00:00
James William Dumay
5e04d6c1a2 Changes for redback trunk (r656)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@710000 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 02:16:13 +00:00
James William Dumay
e605aa289e MRM-977 Upgrade from webwork 2 to Struts 2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@706113 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 03:10:09 +00:00
James William Dumay
4f965b89cc Merging from trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-struts2@705848 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 06:45:02 +00:00
Maria Odea B. Ching
2262565505 merged from archiva-security-fix trunk
changes:
-fix security issue
-added RepositoryServletSecurityTest and ArchivaServletAuthenticatorTest test cases


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@702027 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 09:05:09 +00:00
James William Dumay
fa61616ee3 Behold! Struts2!
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-struts2@700721 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 09:11:06 +00:00
Maria Odea B. Ching
6ec22c4cb2 merged from -r693694 (MRM-911: check first if guest is enabled for the repository before failing the authentication) 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@693701 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 04:15:50 +00:00
Maria Odea B. Ching
092a8ce4f1 [MRM-915] and [MRM-926]
-get the default guest users from redback config files instead of the hardcoded constant value


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@691581 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 11:45:11 +00:00
James William Dumay
384b971464 MRM-907 - Remove VersionedReference/ProjectReference/ArtifactReference from RepositoryProxyConnectors
* Merging from https://svn.apache.org/repos/asf/archiva/branches/metadata-rejig-1.2



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@685423 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 03:09:52 +00:00
Maria Odea B. Ching
ab7e59db21 [MRM-893]
submitted by Dan Tran

-return a 404 when the request is a resource file appended with a '/' 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@685076 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 07:50:27 +00:00
Brett Porter
6a85861b8a [MRM-891] remove leading ./ on links in index listing
Submitted by: Dan Tran


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680256 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 05:41:43 +00:00
Brett Porter
28e545b65a [MRM-876] let Archiva proxy arbitrary paths, particularly allowing it for pre-emptive proxying of support files when requested before the artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677828 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 05:47:04 +00:00
Maria Odea B. Ching
e0566ec1c1 [MRM-872]
-write the merged metadata into maven-metadata-${repoGroupId}.xml instead of merged-maven-metadata.xml


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@676526 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 09:23:33 +00:00
Maria Odea B. Ching
7f83fefd8d [MRM-872]
-generate checksums for the merged metadata
-additional fixes for handling the requests for the merged metadata and it's checksums


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@676516 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 09:04:34 +00:00
Maria Odea B. Ching
a5d144eec4 [MRM-872]
-merge metadatas of the repositories under a virtual repo


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@676322 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 14:05:28 +00:00
Maria Odea B. Ching
6f322f77ce [MRM-872]
-added test case for repo group merged metadata request


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675602 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 14:50:18 +00:00
Nicolas De Loof
ce121d314f MRM-872 first step : don't return first available resource, but list all available, to support "merge" when more than one is present.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675495 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 10:14:21 +00:00
James William Dumay
c74f7ea2b9 MRM-867 - 500 on HTTP HEAD
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674698 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 01:28:19 +00:00
Emmanuel Venisse
1d5a1c02e2 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674530 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 15:58:05 +00:00
James William Dumay
e66053f72a MRM-858 - last-modified header is missing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673578 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 04:07:35 +00:00
Brett Porter
a5636c4509 [MRM-831] When deploying artifacts to the repo, they should be added to the index instantly. Improve audit logging as well
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673360 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 11:23:05 +00:00
James William Dumay
a0170714e3 MRM-855 - java.lang.NoClassDefFoundError: org/apache/xml/serialize/OutputFormat
* removed excludes for xerces:*
* updated enforcer rules
* excluded xerces from shade in archiva-cli



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673269 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 04:11:34 +00:00
Maria Odea B. Ching
3fbd2cd8df [MRM-845]
submitted by Maria Catherine Tan

-fix 'page isn't redirecting properly' when repo group link is clicked


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@669762 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 01:47:44 +00:00
Brett Porter
1e08f8f6b6 fix headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@668024 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 00:03:23 +00:00
James William Dumay
451c614468 Removed redundant argument from writeHyperlink
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666953 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 05:02:24 +00:00
James William Dumay
0550a9763a MRM-781 - Looks like I broke the collection redirect again. This time we have a regression test :)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666951 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 05:00:17 +00:00
Emmanuel Venisse
323df4e8bb Fix html
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666344 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 22:10:32 +00:00
James William Dumay
96f3712ef0 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* DELETE should 404 if resource does not exist
* 93% litmus coverage



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662989 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 05:52:40 +00:00
James William Dumay
a0091f4898 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Reenabled RepositoryServletBrowseTest
* Added Extra DavResourceLocator tests
* Increased Litmus test score to 87.7%



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662968 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 03:50:03 +00:00
James William Dumay
93334278f2 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Changed so that non-existant parent directories are only created on PUT and not on MKCOL. This allows better litmus compliance.
* Added MkColMethodWebRequest which implements the MkCol method for HttpUnit
* Unit tests



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662933 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 00:29:27 +00:00
James William Dumay
35f82ea9c7 Commenting out failing test - Ill look at this in the morning.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662817 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 14:51:20 +00:00
James William Dumay
b3d3556562 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Webdav litmus test is now able to run correctly.



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662742 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 11:22:23 +00:00
James William Dumay
5a3192b85d MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Implementing litmus compatible removeMember() (DELETE)
* Unit tests



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662691 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 08:23:06 +00:00
James William Dumay
0a3ca3fdb2 Actually fixing the failing test. Turns out I mixed up the file and logical paths in the DavResourceTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662682 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 07:57:27 +00:00
James William Dumay
f643efedcb Fixing DavResourceTest from writing tests to /
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662382 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 10:06:44 +00:00
Brett Porter
9e6f108d86 stop file being created in / - tests still fail though
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662126 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 02:19:07 +00:00