Joakim Erdfelt [Tue, 16 Oct 2007 01:31:40 +0000 (01:31 +0000)]
[MRM-535] metadata-updater is changing lastUpdating timestamp when it shouldn't
Correcting logic in snapshot metadata to only update on the following conditions.
* Last Updated exist in original metadata.xml or ...
* Last Updated timestamp as found in unique (timestamped) snapshots is newer.
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:42 +0000 (20:39 +0000)]
[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.
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:39 +0000 (20:39 +0000)]
[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.
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:37 +0000 (20:39 +0000)]
[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.
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:34 +0000 (20:39 +0000)]
[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.
Joakim Erdfelt [Mon, 15 Oct 2007 20:39:26 +0000 (20:39 +0000)]
[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.
[MRM-37 and MRM-527]
- added code for cleaning up the database of artifacts that are no longer existing in the repository
(DatabaseCleanupRemoveArtifactConsumer and DatabaseCleanupRemoveProjectConsumer)
- created tests for database cleanup of removed artifacts
- updated some of the test cases (in archiva-database and archiva-scheduled modules) to reflect the changes in thedb cleanup consumers
Wendy Smoak [Sun, 14 Oct 2007 16:08:13 +0000 (16:08 +0000)]
Adjust url for publishing the site to archiva/ref/[version]
Comment out the Cobertura plugin, which breaks 'mvn site'
Drop the archiva-site module from the default list so it does not get published with the reference docs.
Joakim Erdfelt [Fri, 12 Oct 2007 17:56:29 +0000 (17:56 +0000)]
Removing BidirectionalRepositoryLayoutFactory usage.
Replacing with more reliable ManagedRepositoryContent operations.
Cleaning up logging output.
Using new ManagedRepositoryContent.toFile( ArchivaArtifact ) method.
Joakim Erdfelt [Fri, 12 Oct 2007 17:49:40 +0000 (17:49 +0000)]
Fixed unit tests for RepositoryPurge as they were non-repeatable in an IDE environment.
Corrected the assumption that a Managed Repository is the same as a Local Repository. (re: maven-metadata-local.xml)
Streamlined asserts to be more clear .assertExists() .assertDeleted() when reading code and when error message is created.
Removed jdom direct usage in unit tests in favor of XMLUnit.
Joakim Erdfelt [Thu, 11 Oct 2007 16:43:13 +0000 (16:43 +0000)]
[MRM-533] Checksum files (sha1/md5) are not kept up to date on maven-metadata.xml files.
Grabbed checksum check/update logic out of ChecksumPolicy into standalone Checksums component.
Using new component in ChecksumPolicy and MetadatTools.
Joakim Erdfelt [Wed, 10 Oct 2007 23:06:42 +0000 (23:06 +0000)]
[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.
Joakim Erdfelt [Wed, 10 Oct 2007 23:06:39 +0000 (23:06 +0000)]
[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.
Joakim Erdfelt [Wed, 10 Oct 2007 09:47:20 +0000 (09:47 +0000)]
[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.
Joakim Erdfelt [Mon, 8 Oct 2007 22:07:39 +0000 (22:07 +0000)]
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.
Joakim Erdfelt [Thu, 4 Oct 2007 22:29:43 +0000 (22:29 +0000)]
[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.
Joakim Erdfelt [Tue, 2 Oct 2007 18:12:18 +0000 (18:12 +0000)]
[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.
Joakim Erdfelt [Tue, 2 Oct 2007 18:00:48 +0000 (18:00 +0000)]
[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.
Joakim Erdfelt [Tue, 2 Oct 2007 00:44:21 +0000 (00:44 +0000)]
[MRM-448] validation for reports form.
Creating validation.
Changing "Show Reports" to "Pick Reports" to be more clear.
Minor cleanup of jasper detection.
[MRM-487] pom version is not resolved
[MRM-488] properties in pom are not resolved (at least while browsing)
Fixed the ProjectModelExpressionFilter to filter all important fields.
Fixed ProjectModel400Reader's Generic's
Fleshed out the rest of ProjectModel400Writer.
[MRM-488] properties in pom are not resolved (at least while browsing)
Updating other test case for path change of effective-pom to expected-pom in tests.
[MRM-510] In Repository Browse, the first unique snapshot version clicked is getting persisted in the request resulting to 'version does not match' error
Fixing EffectiveProjectModelFilter caching to cache project model, not the parent model.
Adding unit tests to prevent this from occuring again.
Updating ProjectModelToDatabaseConsumer to adjust model version on unique snapshot after reading from disk, and before the effective project filter.
[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.
[MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
Added unit tests for Ticket. (commented, still need a solution)
[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.
[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.