Commit Graph

2028 Commits

Author SHA1 Message Date
Maria Odea B. Ching c7cd97bf16 [MRM-576]
- modified logic for deleting released snapshots, delete only if there exists a released version of that snapshot not when there is a 
higher released/snapshot version
- adjusted tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592657 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 09:02:58 +00:00
Joakim Erdfelt f72ae8a302 Implementing Documentation Outline as discussed in archiva-dev mailing list.
Adding documentation stubs for each topic.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 05:57:22 +00:00
Joakim Erdfelt 42c39b585d [MRM-516] Search results return results for all repositories, regardless of security.
[MRM-569] Browse shows results for all repositories, regardless of security.
Merge of https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security changes from revision 590763 to HEAD



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592513 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:26:04 +00:00
Maria Odea B. Ching 293bd8e2f2 [MRM-556]
- respect set retention count when purging by number of days old (used same logic for purging by retention count)
- updated edit managed repository validation for the number of days old minimum range
- adjusted DaysOldRepositoryPurgeTest for the changes


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592297 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 06:16:12 +00:00
Brett Porter ed1fe1cb4c [MRM-540] fix regressions regarding reporting actions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592000 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 14:05:10 +00:00
Brett Porter e0187521ec remove unused class
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@591968 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 12:10:03 +00:00
Brett Porter ed87e673fe [MRM-141] remove irrelevant documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@591958 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 11:05:08 +00:00
Carlos Sanchez Gonzalez 7474f81764 [MAVENUPLOAD-1789] Add com.cedarsoft sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@591132 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 19:21:50 +00:00
Maria Odea B. Ching c3e2f3c1ea updated release notes link
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590987 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 12:58:26 +00:00
Maria Odea B. Ching 5f062e3b22 update site for the beta 3 release
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590983 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 12:46:18 +00:00
Joakim Erdfelt baf4c89435 [MRM-547] proxy connectors: cache failures options are confusing
[MRM-549] proxy connectors: no "always" option for releases and snapshots policies
Applying changes to policy naming per decisions made in dev@archiva mailing list.
Updating DefaultArchivaConfiguration.load() to automatically adjust old configuration settings to new values.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590908 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 06:21:26 +00:00
Joakim Erdfelt 255949579d [MRM-577] Release policy of disabled fails all metadata requests.
Fixing release / snapshot policies from applying tests on maven-metadata.xml files.
Creating unit tests for release / snapshot policies.
Switching from boolean return on .applyPolicy() to throwing exception, to gain better logging of why the transfer failed.
Logging policy failures better.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590858 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 22:47:50 +00:00
Joakim Erdfelt b62b18f378 Fixing bad definition of ONE_SECOND.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590857 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 22:45:28 +00:00
Joakim Erdfelt 3e55adbce6 [MRM-577] Metadata aren't generated by archiva.
Adding unit tests to replicate conditions around maven-metadata.xml requests presented in Jira ticket.
Not able to reproduce bug (yet).



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590808 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 20:20:02 +00:00
Maria Odea B. Ching 0561ccc53d [MRM-544]
- remove artifact in index if artifact no longer exists in the file system
- added tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590622 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 11:07:24 +00:00
Carlos Sanchez Gonzalez 0605ff44ad [MAVENUPLOAD-1787] Add org.dspace sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590350 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 20:00:04 +00:00
Maria Odea B. Ching 76ca3a6797 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:18:56 +00:00
Maria Odea B. Ching 7cde1cdf00 [maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589970 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:16:21 +00:00
Joakim Erdfelt ec8628ad93 Removing archiva-xml-tools dependency from archiva-configuration.
Loading default FileTypes using plexus-configuration way, not via direct load of the XML.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589831 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 20:03:58 +00:00
Brett Porter 14b91e96be fix the webapp tests to work with the latest consumers change
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 10:05:50 +00:00
Brett Porter b2c335626a [MRM-528] must only use the enabled consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589542 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 08:24:12 +00:00
Brett Porter 5445c18888 update TODO
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589528 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 07:10:39 +00:00
Joakim Erdfelt 1b44cd6cc1 [MRM-560] Dependency Tree causes an Exception.
Prevented complete collapse of DependencyTree tab when an exception occurs.
Provide more details if there was a problem creating the graph.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588808 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 00:00:04 +00:00
Joakim Erdfelt 40001e82b1 [MRM-560] Dependency Tree causes an Exception
Improving exception messages on bad ArchivaArtifact to include what details it does have.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588805 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 23:49:53 +00:00
Joakim Erdfelt 103874e80e Upgrading to released version.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588768 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 20:22:14 +00:00
Joakim Erdfelt 76aabf37a0 [MRM-481] Artifact requests with a .xml.zip extension fail with a 404 Error
Fixed parsing of filenames to look for "." or "-" after the version to help determine if this artifact has a classifier or just a double-extension.
Added unit tests to repository.content.* classes for double extension.
Added unit test to RepositoryServlet for GET of artifact with double extension.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588732 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 18:16:43 +00:00
Joakim Erdfelt a7bf8292c3 Updating test cases for ManagedRepositories to not set RoleManager via plexus (to aide in upgrade of redback)
/me runs to the edge of the ring and tags Jesse.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588696 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 16:10:59 +00:00
Maria Odea B. Ching 2395fea5f0 [MRM-454]
-synchronized the index operations in LuceneRepositoryContentIndex (used 'repository' as the lock) to avoid index locking
-added method for deleting artifacts from the index during repository purge
-updated repository purge tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588598 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 10:36:48 +00:00
Maria Odea B. Ching c5f4e5079b -Reverted version to 1.0-beta-3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 08:54:24 +00:00
Henri Yandell 5b799b3e73 Removing osjava as it is no longer setup to sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588528 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 05:19:56 +00:00
Joakim Erdfelt 6612822c2c [MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Adding unit tests for Timestamped Snapshot GET from RepositoryServlet (with proxies).
Adding unit tests for Timestamped Plugin Snapshot GET from RepositoryServlet (with proxies).



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588460 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 00:59:48 +00:00
Joakim Erdfelt 7edc5c26dc [MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Adding unit tests for Artifact downloads via proxied requests.
Splitting RepositoryServlet testcase up to work around PlexusTestCase bug (the configuration within the plexus container consumed the entire java heap, causing an OOM, switching to smaller test cases gets around this bug, but its still not nice bug to hit.)
Reworking MimeTypes to allow for loading of archiva custom configuration. (mainly to get around the .getClassLoader().getResource() differences between command line / ide unit testing)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588391 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 23:39:05 +00:00
Jesse McConnell 7c1ce938fc a part of REDBACK-81, this will allow a user to customize various messages from redback if they so desire.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588279 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 16:43:07 +00:00
Joakim Erdfelt 574aec1550 Updating version
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587923 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 16:38:27 +00:00
Joakim Erdfelt 06539ad3be [MRM-564] Audit log is not populated when artifacts are deployed
Passing through listener to actual davserver impl.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587908 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 15:38:38 +00:00
Joakim Erdfelt 6ab9c44b0c [MRM-567] Unable to download plugin SNAPSHOT's from proxy.
Adding tests for non-proxy downloads of SNAPSHOT first (gotta test the basics)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587719 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 00:39:14 +00:00
Joakim Erdfelt 365460eaa7 [MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Added test for get of artifact using legacy path.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587710 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 00:19:39 +00:00
Joakim Erdfelt e0d19c4d97 [MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Using new methods in RepositoryRequest to identify native resource path early and using it.
Adding PolicingServletRequest to deal with bad formatted request paths.
Beefing up RepositoryServletTest to test proxy-less (for now) requests ...
* Browse
* Get Checksum (default layout)
* Get Checksum (legacy layout)
* Get Metadata (versioned + default layout)
* Get Metadata (project + default layout)
* Get Artifact (default layout)
Adding custom mime-types.txt to get proper "Content-Type" headers on GET requests.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587708 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 00:16:40 +00:00
Joakim Erdfelt 89079a2684 Adding some tests for invalid request paths.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587701 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 00:00:30 +00:00
Joakim Erdfelt ac7babe5a1 [MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Preparing RepositoryRequest for support needed to detect ...
* Support Files
* Maven Metadata
* Artifacts
And translate to a native path for the managed repository.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587623 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 19:21:19 +00:00
Emmanuel Venisse f6a62f0ea3 Revert some bad changes in previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587415 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 08:15:23 +00:00
Emmanuel Venisse 09a843c647 [MRM-458] update to last remote resources plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587412 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 08:08:59 +00:00
Joakim Erdfelt 83a2c1fc4e [MRM-561] Error 500 while deleting a proxy connector
Corrected method name.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587351 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 01:21:29 +00:00
Joakim Erdfelt bdbd78a4fc Some error handling cleanup.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587341 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 00:51:13 +00:00
Joakim Erdfelt 322c16f688 [MRM-563] Proxy connector logic for getIfModified is backwards.
Fixing backwards logic in DefaultRepositoryProxyConnectors.
Updating test cases to honor correct .get() vs .getIfModified() logic wrt/mocks.
Updating ManagedLegacyTransferTest for all varients of Managed to Remote, Legacy vs Default, Present and Not Present.
Introducing NotModifiedException to cope with proper .getIfModified() logic.
Introducing NotFoundException to cope with operational exception vs serious connectivity exception.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587318 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 00:18:20 +00:00
Joakim Erdfelt b4c36626c5 Adding a few more .toKey() methods to aide in logging statements elsewhere.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587310 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 00:12:47 +00:00
Carlos Sanchez Gonzalez 2e968e0e08 [MAVENUPLOAD-1774] Add de.berlios.jsunit sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587285 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 23:28:03 +00:00
Joakim Erdfelt 1c0f8cd18e [MRM-562] Artifact type "maven-plugin" is not detected correctly in .toArtifactReference() methods.
Added ability in default and legacy layouts to detect the 'maven-plugin' type.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587224 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:00:55 +00:00
Brett Porter 603860fca9 [MRM-396] remove true/false from boolean icons
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587099 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:58:11 +00:00
Brett Porter 21b1ab9f3b [MRM-551] the default scan cron expression is once a day, should be hourly
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587097 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:51:45 +00:00