109 Commits

Author SHA1 Message Date
Maria Odea B. Ching
f0299c2f3d removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@664665 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 09:26:41 +00:00
Maria Odea B. Ching
d6ddac89f3 [MRM-789]
-added confirmation page before saving a new or updated managed repo if the repo location already exists
-added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@663788 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 23:50:57 +00:00
Brett Porter
621c72cac6 fix wagon scopes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@663491 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 07:34:53 +00:00
Maria Odea B. Ching
0596af879a -reverted -r662662 (validation check against system properties)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@663006 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 06:38:50 +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
Maria Odea B. Ching
f4ce1aafc2 [MRM-824]
-excluded xalan, velocity-dep, xml-apis, wstx-asl, stax-utils and xercesImpl jars in WEB-INF/lib


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662942 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 01:52:41 +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
5695aac229 Enabling the DavResourceTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662686 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 07:58:54 +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
Maria Odea B. Ching
ab0724b375 [MRM-789]
-check if the repo location is referenced as a system property before deleting the contents of the repo


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662662 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 06:22:36 +00:00
Brett Porter
82bc905da8 commenting out test again, it's still broken
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662655 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 05:31:44 +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
Maria Odea B. Ching
eb6967d2e6 [MRM-823]
-remove repo in group when repo is removed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662342 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 06:51:21 +00:00
Brett Porter
8b1dbf37ee clean up dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662303 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 01:28:23 +00:00
Brett Porter
df373a34db disable failing test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662136 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 03:16:20 +00:00
Brett Porter
ca40d80d1d remove old resources patterns
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662134 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 03:10:36 +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
Brett Porter
2c3b232488 fix bad import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662047 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 17:03:16 +00:00
James William Dumay
2a9044f11c MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Adding tests for DavSession attachment and release
* Changed the ArchivaDavSessionProvider so that it does not rely on the WebApplicationContext

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661630 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 10:15:05 +00:00
Maria Odea B. Ching
b4f9994165 [MRM-785]
-set success result to go to jsp file instead of redirect to 'upload' action
-clear the form fields before returning to jsp page after upload


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661582 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 07:43:23 +00:00
James William Dumay
86628294c8 Fixed failing test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661564 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 04:03:59 +00:00
James William Dumay
721f552dfa MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Adding LockManager to DavResourceFactory
* Adding locking support to DavResource
* General cleanup inside of the dav resource
* Adding DavSession attachement inside of DavSessionProvider
* Tests

NOTE: We should have a complete Class 2 locking implementation (Exclusive only) so OS X dav client should work



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661563 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 04:01:37 +00:00
Emmanuel Venisse
1e82deb132 Fix commons-io scope
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661253 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 08:23:53 +00:00
Emmanuel Venisse
7a2ebd0be3 Add missing test file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661251 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 08:19:21 +00:00
James William Dumay
6c645d78b1 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Adding a DavSession implementation for Class 2 locking support



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661189 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 02:51:24 +00:00
James William Dumay
03584684d1 Moving RepositoryServlet to its new home in archiva-webdav. Thanks to Brett for helping out with the crazy failing tests.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661174 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 01:49:41 +00:00
Maria Odea B. Ching
5b5ab1010c updated return message when requested resource is not found
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660784 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 02:09:57 +00:00
Maria Odea B. Ching
67de1cbc3b [MRM-819]
added validation to allow only alphanumeric, '.', '-' and '_' characters for repo group id


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660472 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 11:38:22 +00:00
Maria Odea B. Ching
9afc627e10 removed unused import statements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660426 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 08:39:44 +00:00
Maria Odea B. Ching
d7f69544ba [MRM-818]
set a maximum of 100 characters for the length of the repo group id


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660425 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 08:37:20 +00:00
Maria Odea B. Ching
a6e8d6158c [MRM-796]
applied patch submitted by John Michael Luy
-fix releases checkbox always enabled


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659460 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:09:02 +00:00
Maria Odea B. Ching
a83e5b52a9 [MRM-694]
-add validation check for existing ids for repo groups and remote & managed repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659443 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:18:36 +00:00
Maria Odea B. Ching
8b7e75cc71 [MRM-694]
-fix index writer sorting for virtual repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659397 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 03:49:59 +00:00
Maria Odea B. Ching
1c2d13c01c [MRM-694]
-fixed repo groups page footer


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659392 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 03:09:40 +00:00
Maria Odea B. Ching
da7b2445fd [MRM-802]
-display repo group url in repo groups page


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659074 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 10:36:55 +00:00
Maria Odea B. Ching
e681872838 [MRM-694]
-return 405 instead of 400 for write request to repo groups


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659071 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 10:18:03 +00:00
Maria Odea B. Ching
ac7cb9e9ce [MRM-694]
-fix virtual repo authentication problem


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659069 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 10:02:29 +00:00
Maria Odea B. Ching
67b49a5fdd [MRM-694]
-handle problem with the missing '/' in the repository group url


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658528 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 01:54:13 +00:00
Maria Odea B. Ching
0f07e0019f [MRM-694]
-put authorization check for virtual repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658525 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 01:39:40 +00:00
Maria Odea B. Ching
39fad53022 [MRM-694]
-handle virtual repos in webdav browse
-add new DavResource for virtual repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658261 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:34:48 +00:00
James William Dumay
a42449e3e6 MRM-752 - Trim URL in Remote Repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658219 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 12:33:13 +00:00
Wendy Smoak
eb8a8c5f3c Move 'Upload Artifact' to the 'Manage' menu.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657635 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 20:51:05 +00:00
Wendy Smoak
82b51f34ac [MRM-804] Execute the repository content consumers for the uploaded or generated pom file so that artifacts will be available in search and browse immediately after uploading.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657491 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 02:16:42 +00:00
Wendy Smoak
7966bc87ca [MRM-804] Execute the repository content consumers on the uploaded artifact so it will be indexed immediately.
Still need to do the same for the generated or uploaded pom file.


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657485 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 00:46:29 +00:00
Wendy Smoak
ea6809bb91 [MRM-810] Log the successful upload. Needs to be fixed to write to audit.log in the correct format instead.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657406 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 17:39:25 +00:00
Maria Odea B. Ching
8adede7e94 [MRM-694]
-perform authentication only in ArchivaDavSessionProvider.attachSession()
-perform authn and authz for each repo in ArchivaDavResourceFactory.createResource()


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657012 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 10:43:16 +00:00