Commit Graph

250 Commits

Author SHA1 Message Date
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 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
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
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
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 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 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 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
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
Maria Odea B. Ching 9bf8c6b96b applied codestyle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656928 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 03:02:11 +00:00
Maria Odea B. Ching 7f9c76b0bb [MRM-694]
patch submitted by Napoleon Esmundo Ramirez
-implement virtual repositories in archiva webdav

[made some adjustments in the code because there were changes in the code after the patch was created]


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655749 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:35:24 +00:00
Maria Odea B. Ching 98c5172b79 [MRM-773]
set response header to 'authenticate' if no username and password were supplied


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655274 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 07:30:52 +00:00
Maria Odea B. Ching 0ad838b410 [MRM-773]
-remove archiva-security dependency to xwork-integration


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655233 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:22:48 +00:00
Maria Odea B. Ching d8042e19b0 [MRM-773]
-move servlet authentication code to archiva-security


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655027 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 08:33:57 +00:00
James William Dumay 584bd356c2 MRM-781 Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* I broke MRM-440, so this restores that functionality
* Locked down the enforcer plugin version so that Maven does not go looking for it everytime we build


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 15:40:22 +00:00
James William Dumay f889364a39 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Implemented Webdav properties, including copy/move/delete operations
* Unit tested the DavResourceLocator and DavLocatorFactory implementations (More tests on the way)
* Introduced joda-time dependency todo ISO8601 dates for the dav servlet



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653769 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 13:32:28 +00:00
James William Dumay 09477b72a9 MRM-781
* Tests for RepositoryPathUtil
* Remove itcould webdav readme


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653748 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 11:32:22 +00:00
Brett Porter 8213830900 [MRM-781] make sure file is closed
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@650757 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 06:13:45 +00:00
Brett Porter 7875facb9b [MRM-780] Access to indexes files with a browser is not possible
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649910 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 11:13:55 +00:00
Brett Porter c2c71dd5ec [MRM-781] correct probem with guest account
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649748 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 03:15:06 +00:00
Brett Porter 202feaa707 sort the files on the index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649401 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 08:11:17 +00:00
Brett Porter eba490dfb5 remove unused/unneeded files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649397 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 07:56:48 +00:00
Brett Porter cc0ce2d707 [MRM-781] additional fixes to webdav
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649382 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 06:30:31 +00:00
Brett Porter f350582905 [MRM-781] remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649358 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 03:42:39 +00:00
Brett Porter 558d0c2a4f [MRM-781] Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649352 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 03:05:18 +00:00
Maria Odea B. Ching 328422ab73 -reverted exclusions of plexus-container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648097 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 02:14:25 +00:00
Maria Odea B. Ching 32474f11ca -exclude plexus container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647784 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 13:03:47 +00:00
Brett Porter db51c1b590 remove all traces of the Plexus container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 04:58:17 +00:00
Brett Porter 15e8484be8 clean up dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646442 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 17:19:31 +00:00
Brett Porter a05f42cc0e restructure according to discussion on the dev list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 03:09:22 +00:00