Commit Graph

1723 Commits

Author SHA1 Message Date
Brett Porter 994438c326 [INFRA-1563] move Archiva to a TLP
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-backend-security@642426 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 23:24:46 +00:00
Joakim Erdfelt e65732f69b Adding "You have access to no repositories" screen.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@592186 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 23:41:29 +00:00
Joakim Erdfelt c6bf224e8b [MRM-516] Search results return results for all repositories, regardless of security.
Added selectedRepos to interface/impl for CrossRepositorySearch.searchTerms().



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@591500 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 22:35:07 +00:00
Joakim Erdfelt 597723968f [MRM-569] Browse shows results for all repositories, regardless of security.
Added ArchivaUser interface to obtain the active principal.
Added ArchivaXworkUser implementation to obtain principal from redback-xwork-integration layer.
Updated (Default)UserRepositories to utilize redback SecuritySystem.isAuthorized() properly.
Updated BrowseAction and ShowArtifactAction to show the limited view provided.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@591410 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 17:47:55 +00:00
Joakim Erdfelt 5eb30ade94 Upgrading redback to 1.0-alpha-4
Adding a few more redback backend dependencies to depMgmt.
Adding https repo for redback due to codehaus repo sync issue - (see http://jira.codehaus.org/browse/HAUS-1590 )



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@590767 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:39:12 +00:00
Joakim Erdfelt 831c6c9810 Initial work to establish archiva-security with UserRepositories concept.
Created SecurityStartup to bring startup mechanism back into archiva-security from archiva-webapp.
Created a few generic security exceptions to help pass along security problems.
Removed xwork-integration requirement from pom.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@590766 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:37:36 +00:00
Joakim Erdfelt d1ee9122cd Updates to repository browsing for selected repositories.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@590765 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:35:28 +00:00
Joakim Erdfelt 197a6f9a63 Allow for sql constraints to specify selected repositories list.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@590764 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:34:18 +00:00
Joakim Erdfelt a7c0f99389 Creating branch for backend security work.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security@590763 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:31:34 +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
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