Commit Graph

190 Commits

Author SHA1 Message Date
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
Joakim Erdfelt a97d5c15b7 Fixing GET vs PUT logic.
Encountered a situation where a PUT could result in a 404.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584992 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 01:29:31 +00:00
Joakim Erdfelt 1e78efcf9f [MRM-468] incorrect URL reported from failures in WebDAV
Corrected locally the error message being reported by it.could.webdav



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584986 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 00:52:42 +00:00
Joakim Erdfelt 912b15a347 [MRM-398] configure guest access by default for pre-configured repositories
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584902 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:26 +00:00
Maria Odea B. Ching 829e85759e [MRM-521]
- added range validation for the repository purge fields 


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584665 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 03:59:21 +00:00
Joakim Erdfelt 7fa01fb175 [MRM-398] configure guest access by default for pre-configured repositories
Newly added repositories are assigned to the guest user in read-only mode.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584279 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 21:35:41 +00:00
Joakim Erdfelt 18174bb428 Removing unused plexus test component xmls.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584274 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 21:20:54 +00:00
Joakim Erdfelt fb5386209f Using new ManagedRepositoryContent.toFile( ArchivaArtifact )
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584217 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 17:58:29 +00:00
Joakim Erdfelt e4d1944847 Fixing Error 500 condition.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583874 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 16:40:49 +00:00
Joakim Erdfelt 46c2f650b3 Fixing test case NPE wrt repo.location.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583652 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 00:32:22 +00:00
Joakim Erdfelt 9aa41ce31b Fixing event triggers.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 00:18:02 +00:00
Joakim Erdfelt 731955abe9 [MRM-493] Downloaded artifacts are stored in incorrect archiva-managed repository
Fixed by reseting dav servers on configuration save properly.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583646 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 00:14:43 +00:00
Joakim Erdfelt 5c36e85275 [MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
Final cleanup based on tests from real maven 1 projects.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583637 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 23:06:39 +00:00
Joakim Erdfelt e6bf512368 [MRM-432] Proxy Connectors are unable to download artifacts with alpha numerical version numbers
[MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
[MRM-518] Changing the internal repository directory has no effect
[MRM-512] Unable to convert null repository config to archiva repository.
[MRM-533] metadata-updater is changing lastUpdating timestamp when it shouldn't
[MRM-493] Downloaded artifacts are stored in incorrect archiva-managed repository
- Work against proposal in mailing list http://www.nabble.com/-Proposal--Repository-Layout-Detection-Interaction-Changes.-tf4577852.html
- Creation of package org.apache.maven.archiva.repository.content
- Creation of RepositoryContent alternative as outlined in proposal.
- Have not swung all code over to new repositorycontent object yet.
- Left old BidirectionalRepositoryLayout classes in place temporarily.
- Migrated the following over to new RepositoryContent objects...
  * the /repository/ url
  * proxying
  * metadata updating
  * repository purge classes
- Unit testing. Lots and lots of unit testing.
- Correcting bad template email address.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583412 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 09:47:20 +00:00
Joakim Erdfelt 8af86cd884 Finishing the Repository split work that brett started.
ArchivaRepository has been removed from model.
This work was needed before repository layout/detection proposal work is started.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 22:07:39 +00:00
Joakim Erdfelt 1ad4bcc637 Removing debug statement from JSP.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582023 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 22:42:07 +00:00
Joakim Erdfelt 42336da5e3 [MRM-482] Saving a proxy connector after adding a new property results to HTTP 500 error
[MRM-477] Missing ability to manage proxy order.
[MRM-437] admin editing of proxy connectors fails in multiple instances
* Split giant ball of mud ConfigureProxyConnectorAction into seperate Add/Edit/Delete/Sort/List actions
* Added ability to maintain sort order.
* Added unit testing.
* Cleaned up Proxy Connector admin UI to allow for extra long Location / URL paths.
* Slideout Hide of the Advanced configuration options on the Proxy Connector list screen.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582020 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 22:29:43 +00:00
Joakim Erdfelt b07a8c9aac Making archiva startup deterministic.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581348 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:57:19 +00:00
Joakim Erdfelt eaab7a56c6 [MRM-202] Change the top-left logo to be an Archiva logo that goes to the front page of the instance
Applied url to webwork namespace:action of "/index" for top left logo.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581332 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:12:18 +00:00
Joakim Erdfelt 3a88ce0ad2 [MRM-513] Support remote repositories with passwords.
Commited patch from James William Dumay.
Updated title/h1 sections of add/edit/delete jsps to be consistent with regards to "remote" and "managed" usage.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581324 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:00:48 +00:00
Joakim Erdfelt f4330d5248 [MRM-448] validation for reports form.
Creating validation.
Changing "Show Reports" to "Pick Reports" to be more clear.
Minor cleanup of jasper detection.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581119 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 00:44:21 +00:00
Brett Porter bc5df1bd8a [MRM-528] run consumers as artifacts arrive via proxy
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580187 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 00:12:03 +00:00
Joakim Erdfelt dca8107e77 [MRM-503] Metadata files need Pragma:no-cache response header.
Applied Pragma and Cache-Control headers to maven-metadata.xml requests only.
Added TODO for other filetypes.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579747 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 18:23:41 +00:00
Joakim Erdfelt 0af7305111 [MRM-494] leaving repository ID blank on the add repository page goes to the edit page where ID cannot be edited
Overhauled repository admin actions to be more consistent with best practices.
Split into seperate actions.
Added -validation.xml files.
Added unit tests.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579417 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 00:01:01 +00:00
Brett Porter 0222469bc6 simplify the repository configuration pages
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579036 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 02:13:13 +00:00
Joakim Erdfelt 503001adf3 [MRM-494] leaving repository ID blank on the add repository page goes to the edit page where ID cannot be edited
Spliting webwork definition of INPUT into ADD/EDIT, and correcting validations.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579016 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 23:16:50 +00:00
Joakim Erdfelt 6db52ffbd9 [MRM-320] ProxiedDavServer breaks update policy.
Removing commented code left over from MRM-153 fix.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578317 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 23:16:58 +00:00
Joakim Erdfelt 134b817e45 Invalid text in plexus.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@577473 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 23:46:29 +00:00
Maria Odea B. Ching 55baa9dff8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576050 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:42:14 +00:00
Maria Odea B. Ching ffb8b570c3 [maven-release-plugin] prepare release archiva-1.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576048 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:39:24 +00:00
Maria Odea B. Ching 954be952d0 [MRM-153]
Submitted by: nicolas de loof

- Added method in ProxiedDavServer that allows to get a relocated artifact (either client-side relocation or server-side 
relocation)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576032 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 05:18:18 +00:00
Emmanuel Venisse 0ba9ea290c [MRM-497] Add resource reference entries.
Submitted by: Aleksandr Tarutin

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@575702 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 14:39:51 +00:00