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
Jesse McConnell
dd330f3d5e
added webapp configuration section, default setting for default-archiva.xml object, and associated test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541319 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 15:17:03 +00:00
Joakim Erdfelt
2ae3268ff9
[MRM-346]: Show Artifact results in error 500.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539145 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 22:16:57 +00:00
Joakim Erdfelt
966e374f6c
[MRM-336]: Repository Admin - "Index Repository" appears to not do anything.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538404 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 01:59:20 +00:00
Fabrice Bellingard
0f6e5f56ce
[MRM-306] Changed the cron expressions so that they are valid ones
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538159 13f79535-47bb-0310-9956-ffa450edef68
2007-05-15 12:43:10 +00:00
Arnaud Heritier
4f35d1c716
MRM-338 : Fix dependencies convergence between archiva projects
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@537669 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 23:01:31 +00:00
Joakim Erdfelt
711bb6c0c6
Updates to Database scanner, updater, task, consumers, and admin screens.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:03:49 +00:00
Joakim Erdfelt
21b1ac804b
Updates to RepositoryScanning process, task, and admin screen
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536390 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 01:47:52 +00:00
Joakim Erdfelt
c671224fbb
Refactoring RepoContentConsumer into Known vs Invalid to aide in config/scanning
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536233 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 16:05:18 +00:00
Joakim Erdfelt
6ff6fab1e4
Adding Network Proxy admin screens.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@535999 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 21:30:38 +00:00
Joakim Erdfelt
f8b9e076b3
* Updates to repositories and proxy connector configuration / admin screens.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@535418 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 00:05:23 +00:00
Joakim Erdfelt
a988c657a6
Minor correction of declared versioning.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534271 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 23:21:42 +00:00
Joakim Erdfelt
99efaacbf0
Upgrading trunk to 1.0-alpha-1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534183 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:25:13 +00:00
Joakim Erdfelt
4c9789b228
Merging changes from old (archiva-0.9) trunk into branch.
...
svn merge revision 518676 to 534045.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@534082 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 13:37:43 +00:00
Joakim Erdfelt
e52e0793df
Updates for admin screens
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@534044 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 12:46:46 +00:00
Joakim Erdfelt
72a1d94d24
* Ensure configuration file exists.
...
* Ensure configuration is synched with database.
* Fix application.xml for new Configuration load-on-starts.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532431 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 18:07:06 +00:00
Joakim Erdfelt
b4d57ec324
* Using ReportingManager in webapp.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@531749 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 05:41:27 +00:00
Joakim Erdfelt
8b0319bf62
Refactoring of reporting. One step closer to an end-to-end compile.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@530395 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 12:25:11 +00:00
Joakim Erdfelt
08223ca0ec
Reorganization of model for policy maps and archiva-policies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528539 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:58:55 +00:00