Commit Graph

2058 Commits

Author SHA1 Message Date
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
Brett Porter d18529d601 [MRM-558] add missing div
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587095 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:50:13 +00:00
Brett Porter 8c32a2eaf0 naming consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587092 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:45:44 +00:00
Brett Porter cbeaabe941 [MRM-559] fix version setting
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587089 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:41:43 +00:00
Brett Porter 0b16483c88 [MRM-546] correct clean up of registry after removal
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587088 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:39:52 +00:00
Brett Porter 7ada562597 [MRM-559] fix version setting
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587079 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:02:47 +00:00
Brett Porter 19afbc4ac8 [MRM-546] restore correct test data and fix configuration modifications
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587071 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:37:25 +00:00
Brett Porter 858f0283d1 [MRM-546] re-enable tests that are passing
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587070 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:36:50 +00:00
Maria Odea B. Ching d2ceac7b0b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586989 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 02:56:59 +00:00
Maria Odea B. Ching 44c44aa4f1 [maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 02:54:10 +00:00
Maria Odea B. Ching 0680dc48d5 [MRM-256]
RepositoryContentStatisticsDAOStub.java (left out from previous commit)


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586922 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:51:55 +00:00
Maria Odea B. Ching 254148d5e2 [MRM-256]
ArtifactsByRepositoryConstraint -- this got left-out too


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586921 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:44:24 +00:00
Maria Odea B. Ching fa556335ea [MRM-256]
RepositoryContentStatisticsDAO --> oops, got left out from the previous commit


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586920 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:36:02 +00:00
Maria Odea B. Ching 21a61ab5f9 [MRM-265]
- added method for deleting the artifacts in the db when a repo is deleted
- also deleted repo scan statistics when the repo is deleted
- created DAO that does retrieving, deleting and adding of RepositoryContentStatistics to the db
- added and updated tests



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586919 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:30:07 +00:00
Brett Porter 1d6c1b9d0a add a configuration file for jetty:run so that it doesn't create ~/.m2/archiva.xml - make testing isolated
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586858 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 05:20:38 +00:00
Brett Porter 381948f69e [MRM-400] improve appearance of selected tab by removing unnecessary link
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586846 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:45:59 +00:00
Brett Porter a34338bc47 clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586828 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 02:44:22 +00:00
Brett Porter d271660cc6 [MRM-555] scanner checks timestamps, but some consumers will want to consume artifacts regardless
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586827 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 02:43:26 +00:00
Joakim Erdfelt aa9ef1d3e6 Re-enabling tests now that MRM-535 is fixed.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586636 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 22:53:53 +00:00
Joakim Erdfelt 8042e19982 [MRM-520] Proxy Connectors are not deleted with the deletion of a Repository.
Added ability of delete (managed|remote) repository action to clear out the associated proxy connector.
Added tests.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586635 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 22:47:43 +00:00
Joakim Erdfelt e74ebe51b7 Adding version into footer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 22:21:54 +00:00