Commit Graph

1669 Commits

Author SHA1 Message Date
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
Joakim Erdfelt 568312aa1f Updating from bidirlayout to RepoContent techniques.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585569 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:47:33 +00:00
Joakim Erdfelt f3d43d4d4d Setting deprecations on interfaces / classes not to use.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585564 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:39:06 +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
Carlos Sanchez Gonzalez 6869cf4807 [MAVENUPLOAD-1761] Add mysql sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585195 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 16:44:22 +00:00
Maria Odea B. Ching 657b328e5d removed usage of BidirectionalRepositoryLayout in database cleanup consumers, made use of the ManagedRepositoryContent instead
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585068 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 07:45:27 +00:00
Maria Odea B. Ching bc7e954a49 - removed print stack trace in DatabaseCleanupRemoveProjectConsumer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585014 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 03:13:03 +00:00
Joakim Erdfelt 0ef85fe69c [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.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584994 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 01:31:40 +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 f19ca1f500 [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@584906 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:42 +00:00
Joakim Erdfelt 4914303c3d [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@584905 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:39 +00:00
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 e77cf5da22 [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@584903 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:34 +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
Carlos Sanchez Gonzalez 0954d1bab1 [MAVENUPLOAD-1746] Add ch.hortis.sonar sync
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584798 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 14:23:20 +00:00
Maria Odea B. Ching c577bbbaba [MRM-527]
- added test/conf/repository-manager.xml which was left out from previous commit (database cleanup)


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584745 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 11:35:35 +00:00
Maria Odea B. Ching 88e4896ee9 [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 


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584735 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 11:16:38 +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
Wendy Smoak 66387f3305 Add links to the reference docs (snapshot docs are symlinked as 'latest' on the server) and fix the link to the mailing list page.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584627 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 22:23:42 +00:00
Wendy Smoak 5b45f8574b Add FindBugs to the project reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584593 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 19:42:15 +00:00
Wendy Smoak c7ec373166 Configure the UMLGraph doclet to generate UML diagrams at the package and class level. This makes Graphviz a prerequisite for generating the javadoc.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584577 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 18:51:40 +00:00
Wendy Smoak 68241b0231 Configure the JDK level for the PMD plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584573 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 18:28:35 +00:00