1736 Commits

Author SHA1 Message Date
Brett Porter
eb76decee7 [MRM-459] better rationalisation of commons-logging and partially revert r593206 as logging had stopped working altogether
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593414 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 03:27:30 +00:00
Joakim Erdfelt
729ad246d2 [MRM-564] Audit log is not populated when artifacts are deployed.
Expanded Audit concepts into listener / event / log.
Using log4j for audit log (for consistency with other logging)
Moved AuditLog from webapp to repository-layer.




git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593246 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 18:36:12 +00:00
Joakim Erdfelt
9f4dee3c71 [MRM-582] Remote Repositories with empty <username> and <password> fields shouldn't be created in configuration.
Implemented on-load cleanup of remote repo username/password (instead of on-save)
Implemented proper check for blank username/password in proxy connectors.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593220 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 16:19:05 +00:00
Joakim Erdfelt
48330ef457 [MRM-440] If webdav URL lacks a trailing /, navigating to all links in the listing return 404.
Fixed by redirecting to proper url in the situation of a GET request on an existing directory.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593215 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 15:59:34 +00:00
Joakim Erdfelt
8c35e1bbf2 [MRM-459] prune the distributed dependencies
Removing commons-logging-api everywhere
Removing slf4j-simple
Removing velocity-dep



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593206 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 15:42:58 +00:00
Maria Odea B. Ching
352479d4c9 - Updated repository purge tests to reflect the changes made in r592297 as suggested in the dev list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593081 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 09:03:44 +00:00
Joakim Erdfelt
e1fa1896d8 Fixing the deletion of proxy connectors, by making action consistent with jsp usage.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592838 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 18:05:53 +00:00
Joakim Erdfelt
f394cb3a76 Fixing copy/paste missing content (distribution management/repository/url)
Fixing copy/paste content formatting.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592825 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 17:46:01 +00:00
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