Commit Graph

204 Commits

Author SHA1 Message Date
Maria Odea B. Ching 750d651eee [MRM-595]
applied patch submitted by nicolas de loof

-change on archiva-webapp ProxiedDavServer to fecth from proxied prior to computing the resource File
-testcase to demonstrate the issue and the Fix.


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597318 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 07:38:01 +00:00
Maria Odea B. Ching 888079dd5c [MRM-587]
-set archiva log level to info instead of debug


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596996 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 08:57:46 +00:00
Joakim Erdfelt c3ebf07a4f Correcting my email address.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594303 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:25:31 +00:00
Wendy Smoak 90d18db448 Correct the Foundation name.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593794 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 17:19:06 +00:00
Maria Odea B. Ching 46fbfa0fd1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593451 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:32:31 +00:00
Maria Odea B. Ching 68ec920cd9 [maven-release-plugin] prepare release archiva-1.0-beta-4
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593449 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:30:01 +00:00
Maria Odea B. Ching d5a9482dd2 -fixed browse repo problem (permissions)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593445 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:01:03 +00:00
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 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 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
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
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 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 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
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
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 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 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
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 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 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
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 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 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
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 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
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
Joakim Erdfelt 8ce5a7d4f9 [MRM-398] configure guest access by default for pre-configured repositories
* Moving redback initialization from a lazy init via xwork interceptor to archiva's startup process.
* Changing UserAssignment process to check/create assignment before assigning new roles.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586622 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 21:46:08 +00:00
Joakim Erdfelt 544c45f048 Changing name from "Maven Archiva" to "Apache Archiva" to match website.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585562 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:30:31 +00:00