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
Brett Porter
19afbc4ac8
[MRM-546] restore correct test data and fix configuration modifications
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587071 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:37:25 +00:00
Brett Porter
858f0283d1
[MRM-546] re-enable tests that are passing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587070 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:36:50 +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
254148d5e2
[MRM-256]
...
ArtifactsByRepositoryConstraint -- this got left-out too
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586921 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:44:24 +00:00
Maria Odea B. Ching
fa556335ea
[MRM-256]
...
RepositoryContentStatisticsDAO --> oops, got left out from the previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586920 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 17:36:02 +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
Brett Porter
a34338bc47
clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586828 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 02:44:22 +00:00
Brett Porter
d271660cc6
[MRM-555] scanner checks timestamps, but some consumers will want to consume artifacts regardless
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586827 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 02:43:26 +00:00
Joakim Erdfelt
aa9ef1d3e6
Re-enabling tests now that MRM-535 is fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586636 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 22:53:53 +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
8d22aca37f
Beefing up tests for RepositoryContentConsumers.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586524 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:40:05 +00:00
Joakim Erdfelt
53b29620d5
Updating javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:13:49 +00:00
Brett Porter
cc605be65b
run the correct consumers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 15:59:35 +00:00
Joakim Erdfelt
5242d36ec9
Cleaning up potential multi-threading issues with use of static SimpleDateFormat.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586472 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:21:13 +00:00
Joakim Erdfelt
fc381bd29d
Upgrading to released versions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586469 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:20:02 +00:00
Carlos Sanchez Gonzalez
62da436ad1
Add org.ow2 sync from org.objectweb
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586004 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 15:24:47 +00:00
Joakim Erdfelt
0fe0fa5a6f
Correcting path resolution logic.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585598 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:46:40 +00:00
Joakim Erdfelt
0427f685c7
Remove unused classes.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585588 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:30:18 +00:00
Joakim Erdfelt
37b716926d
Removing unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585587 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:29:17 +00:00
Joakim Erdfelt
766b613044
Removing unused pieces.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585586 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:28:01 +00:00
Joakim Erdfelt
b571fcf307
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585583 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:23:04 +00:00
Carlos Sanchez Gonzalez
e02dcf50cf
[MAVENUPLOAD-1771] Add net.sf.aislib sync
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585581 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:20:05 +00:00
Joakim Erdfelt
cd2c55d5c3
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585579 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:14:25 +00:00
Joakim Erdfelt
84731f48bc
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585576 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:01:25 +00:00
Joakim Erdfelt
b8ec325b49
Upgrading bidirlayout usage to RepoContent usage to eliminate bugs around missing content from bad layout routines.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585574 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:56:51 +00:00
Joakim Erdfelt
acdff6dcc1
Adding ability to create an ArchivaArtifact from an ArtifactReference.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585573 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:54:27 +00:00