Commit Graph

112 Commits

Author SHA1 Message Date
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
Maria Odea B. Ching 7d343a62a7 [MRM-797]
-check for released versions of a snapshot across all releases repo
-add test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660126 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 08:42:10 +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
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
Brett Porter db59374ab7 lock down plugin version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656912 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 01:02:49 +00:00
Maria Odea B. Ching c65b10563e [MRM-773]
-query only versions of artifacts with whenGathered != null
-created test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656552 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 08:46:12 +00:00
Maria Odea B. Ching 65a63b95ec [MRM-773]
-fix the publish date of the rss entries
-remove if condition in RepositoryContentConsumers.getStartDate()


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656516 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 06:20:45 +00:00
Maria Odea B. Ching c86825783d remove variables that are no longer used in RepositoryServlet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655750 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:48:05 +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 7265732755 [MRM-694]
patch submitted by Maria Catherine Tan
-UI for repository groups 
-test cases for action classes


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655432 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 07:57:06 +00:00
Maria Odea B. Ching 526dd43bd1 [MRM-773]
added autoCreateColumn property for archiva database


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655423 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 06:56:35 +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 2add3e0bce [MRM-773]
-return false if not authorized


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655254 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 06:17:32 +00:00
Maria Odea B. Ching e9411ddc81 [MRM-773]
enabled test for new versions of artifact feed (RssFeedServlet)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655237 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 04:22:05 +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
Brett Porter 5d4435ac5e adjust site structure in accordance with modules, and make the header consistent with the main site
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655189 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 21:14:19 +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
Maria Odea B. Ching 64cb5e1bee [MRM-773]
-use authentication scheme used in RepositoryServlet
-temporarily commented out authentication for new versions of artifacts 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@654479 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 11:27:00 +00:00
Maria Odea B. Ching 94799fd790 [MRM-773]
-update feed link url from the request url
-set query import in ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653999 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 06:09:51 +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 8e21af2147 improve the error message to confirm the file when this pops up next. I think I'm seeing this when proxying metadata in some instances
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653709 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 08:37:28 +00:00
Maria Odea B. Ching e85deb992e [MRM-773]
-set limit date of artifacts to be included in the feed (new artifacts in repo)
-created test for ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653303 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 06:24:29 +00:00
Wendy Smoak e5de45d6b3 [MRM-774] Allow a POM file to be uploaded along with the artifact.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653190 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 09:09:22 +00:00
Maria Odea B. Ching f781bfffa4 [MRM-773]
-added basic http authentication to rss feed servlet 
-added commons-codec as dependency which is used for decoding the username and password
-updated tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652981 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 02:38:07 +00:00
Maria Odea B. Ching ce8c8a06a2 [MRM-773]
fixed where condition for querying new versions of a specific artifact


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652241 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 03:29:34 +00:00