Joakim Erdfelt
05f78c6d42
[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@584904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:37 +00:00
Joakim Erdfelt
69cdf2b902
[MRM-501] Saving configuration fails through the webapp.
...
Provided an alternative configuration location.
Added unit tests for this condition.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584021 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 01:26:06 +00:00
Joakim Erdfelt
41ad038b82
Attempting to remove <repositories> section is failing.
...
Saving partial unit test for brett to look at.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583903 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 18:26:00 +00:00
Joakim Erdfelt
7ff4618a09
Fixing svn:eol-style property
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583897 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 17:58:48 +00:00
Joakim Erdfelt
54207afb87
Eliminating duplicate repositories from showing up after the conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 22:15:51 +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
25bc854985
Reducing chattiness by adding ConfigurationListener to give option of event on configuration save as a whole, not each field.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582993 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 23:08:32 +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
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
2ddcb71f37
JDK5 Typesafe Collection Updates
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@581104 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 22:33:16 +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
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
Brett Porter
5531453210
[MRM-460] correct the default configuration for failure policies
...
Submitted by: nicolas de loof
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576030 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 03:47:36 +00:00
Brett Porter
f2458ad14e
[MRM-144] indexed -> scanned
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574901 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 12:07:26 +00:00
Brett Porter
ae4e1ada9b
[MRM-144] indexed -> scanned
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574891 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 11:39:16 +00:00
Brett Porter
17f229020f
[MRM-462] separate configuration of managed and remote repositories
...
Merged from branches/MRM-462
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574859 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:33:41 +00:00
Joakim Erdfelt
047ec47c8b
[MRM-463] Metadata merging doesn't work.
...
Adding new Metadata Updater Consumer.
Updating archiva-configuration default for new consumer.
Updating archiva-proxy for new Metadata Tools approach.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574121 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 03:01:25 +00:00
Brett Porter
b525d2423a
fix the test cases - we should be synchronizing on the current class, not the configuration object itself
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568618 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:15:38 +00:00
Maria Odea B. Ching
4ca6b3fe22
Synchronized save() and afterConfigurationChange() in DefaultArchivaConfiguration.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568531 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 09:44:38 +00:00
Maria Odea B. Ching
e1a2228627
Added test for the changes in DefaultArchivaConfiguration (escape character '\' showing up in repositories.jsp)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568382 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 02:30:55 +00:00
Maria Odea B. Ching
d00a9c7e1b
- Updated the code for escaping/unescaping cron expressions in DefaultArchivaConfiguration as the escape character '\' is displayed in the
...
repositories.jsp
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@568146 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 14:35:15 +00:00
Maria Odea B. Ching
6cc476e103
[MRM-436]
...
- Added tests for the cron expression comma(',') fix
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566973 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 08:54:27 +00:00
Brett Porter
c8571f77e2
[MRM-436] configuration tests don't always set database scanning fields, so add some null guards
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566959 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 07:47:06 +00:00
Maria Odea B. Ching
2666b91c1b
[MRM-436]
...
- Added '\' for the snapshots cron expression in default-archiva.xml to escape the ','
- (DefaultArchivaConfiguration) Added method for adding '\' to the cron expression if ',' exists before saving the configuration and method for
removing '\' after the configuration is read from the configuration file
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@566945 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 06:59:41 +00:00
Brett Porter
a658609b5c
[MRM-456] permit having configuration in both sources as long as it doesn't contain any elements that might not save properly (lists)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@564135 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 08:24:40 +00:00
Maria Odea B. Ching
d9ff71462a
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563101 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:38:34 +00:00
Maria Odea B. Ching
72c28b496c
[maven-release-plugin] prepare release 1.0-beta-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563098 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:35:55 +00:00
Maria Odea B. Ching
45ad3a396b
[MRM-275]
...
- Added days older, retention count and delete released snapshots fields in repository page.
- Updated RepositoryPurgeConsumer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563030 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 05:45:38 +00:00
Maria Odea B. Ching
9dda4d03d3
[MRM-294] Repository purge
...
- Added RepositoryPurgeConsumer
- Added these other classes used in repo purge: DaysOldRepositoryPurge, RetentionCountRepositoryPurge, ArtifactFilenameFilter and
RepositoryPurgeException
- Added tests and test data
- Added new fields in configuration.mdo (daysOlder and retentionCount)
- Added repository-purge as a consumer in default-archiva.xml (but currently commented out)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 21:46:32 +00:00
Brett Porter
498d33c645
[MRM-451] correct regression in the change listener handling of the default configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562681 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 10:11:33 +00:00
Brett Porter
19800f99da
[MRM-430] revert configuration if it failed to save
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562488 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:48:18 +00:00
Joakim Erdfelt
ad906608b7
* Updating my email address from joakim@erdfelt.com to my apache side email address at joakime@apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:44:15 +00:00
Joakim Erdfelt
ded6d2666e
Correcting whitelist handling.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562476 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:33:32 +00:00
Brett Porter
01350dc303
[MRM-430] configuration adjustments and tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562474 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:16:58 +00:00
Brett Porter
b3f3de4a98
[MRM-347] locate the repositories under the data directory
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562370 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 07:39:18 +00:00
Brett Porter
af94415b0e
[MRM-347] prevent creating /${appserver.home} directory which is not populated under the appserver for some reason. The base directory is the appropriate location for data anyway - so these are the values that should have been used.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562369 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 07:36:53 +00:00
Wendy Smoak
c1ef06e2ab
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550128 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:22:30 +00:00
Wendy Smoak
2023b7ee64
[maven-release-plugin] prepare release archiva-parent-1.0-alpha-2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550126 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:21:50 +00:00
Wendy Smoak
35123fcd01
MRM-421 Added a whitelist entry of '*' to the pre-configured internal -> central proxy connector so it will actually proxy. Without this, requests result in 'Failed pre-download policies' log messages.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 04:07:39 +00:00
Wendy Smoak
d0f4612596
MRM-422 Fix the directory name for the snapshots repository in the default config
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550007 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 03:41:48 +00:00
Fabrice Bellingard
0d205a2db8
[MRM-418] Remove the network proxy example from default archiva.xml
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549497 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 14:37:48 +00:00
Joakim Erdfelt
6405f2be6b
[MRM-388] Unable to configure archiva if configuration file did not already exist
...
Correcting DatabaseUpgrade process that was causing the problem.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548151 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 00:54:16 +00:00
Fabrice Bellingard
2cba9744f8
[MRM-413] maven2-repository.dev.java.net repository URL in not correct
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@544769 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 08:45:24 +00:00
Joakim Erdfelt
9bcbf0e482
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543535 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:47 +00:00
Joakim Erdfelt
582f8d5781
[maven-release-plugin] prepare release archiva-1.0-alpha-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543533 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:13 +00:00
Joakim Erdfelt
0c61521dde
[MRM-330]: Searching gives an HTTP 500
...
Next phase of work towards a search/find fix.
Many improvements in indexer / configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 15:05:51 +00:00
Jesse McConnell
73162b6210
[MRM-360] changing default cronexpression for repo scanning to hourly, and database scanning to every two hours.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541648 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 13:45:59 +00:00
Joakim Erdfelt
c8610ec35d
* Fixing test of propertyName values in ConfigurationNames class.
...
* Updating ProxyTestCase to use trigger with appropriate values.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541383 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 18:47:50 +00:00
Jesse McConnell
4b0ebdca08
[MRM-351] revisiting, added another configuration option for turning off the applet itself but still enabling the findArtifact functionality. switched defaults to true by popular demand as well.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541350 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 16:27:31 +00:00