2903 Commits

Author SHA1 Message Date
Emmanuel Venisse
4537213235 [MRM-847] Fix build on windows by using xmlunit to test xml output
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@671144 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 11:56:58 +00:00
Maria Odea B. Ching
4fe4dc198e [MRM-789]
-added an additional check in ArchivaConfiguration to append 'data/repositories/[repo_id]' in the repo location when the default config 
(from default-archiva.xml) is used
-added test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@670114 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 01:25:56 +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
f24fb294d7 fix jetty:run
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@669410 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 07:46:51 +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
Brett Porter
0180afb31d formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@668023 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 00:02:48 +00:00
Brett Porter
6d84f3a0a5 POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667751 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:27:11 +00:00
Brett Porter
c6a1a4915f set line ending
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667750 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:12:16 +00:00
Brett Porter
619a180ecc set eol-style
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667745 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 05:47:03 +00:00
Brett Porter
57d92c8cf5 set line ending
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667744 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 04:57:12 +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
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
Brett Porter
700854bfaa [MRM-822] add org/jvnet/**, com/sun/** to the whitelist for the default java.net repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 15:26:28 +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
Maria Odea B. Ching
06b0d06fde [MRM-790]
-added check specifically for remote metadata checksum files
-added test case


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661273 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 09:48:50 +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
Emmanuel Venisse
829508c685 Fix commons-io version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661247 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 08:03:01 +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