Commit Graph

57 Commits

Author SHA1 Message Date
Brett Porter 6ea52a427d add test cases for the browse action
Merged from: r884741


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@884742 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 04:35:59 +00:00
Brett Porter 9a8138a5a2 [MRM-1283] additional tests for ShowArtifactAction
Merged from: r882457


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882459 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:15:06 +00:00
Maria Odea B. Ching e9d9ac68e6 [MRM-1278] Wrong repository displayed in Archiva browse
o retrieve artifact by using ArtifactsRelatedConstraint instead of using getArtifact(..) with an incorrect type
o updated existing and added new unit test for repo browse


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882090 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 09:51:03 +00:00
Maria Odea B. Ching 6ad5da6f8d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:34:26 +00:00
Maria Odea B. Ching 924e33b562 [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:30:51 +00:00
Maria Odea B. Ching 81aa36aa09 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807091 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:14:31 +00:00
Maria Odea B. Ching 03aae7ee6a [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:12:10 +00:00
Maria Odea B. Ching 3fea67fafd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778166 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:50:05 +00:00
Maria Odea B. Ching 2d00ba7504 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778164 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:46:45 +00:00
Maria Odea B. Ching 4f50f5722e revert to 1.2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:17:53 +00:00
Maria Odea B. Ching f2a299be93 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:58:14 +00:00
Maria Odea B. Ching 8dc8cd536a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757124 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:19:24 +00:00
Maria Odea B. Ching d811b1f00d [maven-release-plugin] prepare release archiva-1.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:15:29 +00:00
Brett Porter 75e9f6fe7a clear warnings for archiva-database
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755266 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 14:28:40 +00:00
Brett Porter 3cdb8ce934 start adding Java5 features to modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755239 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 13:40:10 +00:00
Brett Porter 537ff689e7 [MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
Brett Porter 0715c95f8c clean imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751929 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:05:19 +00:00
Brett Porter d45681578e [MRM-1042] reduce logging noise, you would anticipate a lot of misses since artifacts are not in all repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751699 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 15:03:02 +00:00
Maria Odea B. Ching 0cecbab8be [MRM-913]
submitted by Jevica Arianne Zurbano
o patch does the following:
  - deletes artifacts
  - cleans up database
  - executes scan to reflect changes when browsing repository
  - updates metadata
  - updates audit.log
  - 'Delete Artifact' added in navigation and is displayed for users with repository manager role
  - only allows manager of the repository to delete artifacts from it

o additional tweaks to the submitted patch:
  - removed catch for NPE in DeleteArtifactAction
  - migrated jsps & action class to struts 2
  - moved invocation of cleanup consumers in DeleteArtifactAction to DatabaseConsumers (added new method for this in DatabaseConsumers)
  - applied formatting


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746183 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 08:50:35 +00:00
Maria Odea B. Ching 120d6513a7 [MRM-1079]
o update impl of index cleanup consumer
o moved DatabaseConsumers and LuceneCleanupRemoveIndexedConsumer to spring
o removed old classes and test stubs


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745821 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 11:24:12 +00:00
Maria Odea B. Ching ebe7941ce0 [MRM-1042]
o fix getting of other versions of the snapshot
o added tests for getting other versions of the snapshot


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745371 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 03:37:34 +00:00
Maria Odea B. Ching 243a71a586 [MRM-1042]
o hide timestamped SNAPSHOT versions in version list browse
o add 'Other Versions' field in the artifact info page if the artifact is a snapshot & has other timestamped versions


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745362 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 02:42:23 +00:00
Maria Odea B. Ching f7b27068d7 [MRM-1041]
o show shared basic project info in versions list browse
o fix model not being set in repository browse


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745359 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 02:24:09 +00:00
James William Dumay d10e6a5ae2 MRM-1082 - Upgrade from plexus-maven-plugin to the plexus-component-metadata plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743238 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 05:45:52 +00:00
James William Dumay 4719834dfa MRM-799 - Better handling of artifacts with missing poms
* Updated to work with revised model in 1.2
* Changed patch so that Artifacts created for Browsing do not persist to the database (models may not have been proxied)
* Big thankyou to Jevica Arianne B. Zurbano for submitting the fixes!



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743164 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 23:22:49 +00:00
James William Dumay 6267a21d29 MRM-1081 - Archiva model should be updated so that the ARTIFACT table includes repositoryId as a primary key
* Updated so that repositoryId is part of the primary key for an artifact
* removed old search API classes as they needed to be brought over to the new API and doing so would be a waste of time



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742859 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:35:05 +00:00
James William Dumay 6987e689ec Remove useless logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723587 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 05:20:53 +00:00
Brett Porter fdb8c33f85 [MRM-1025] further references to the old name cleaned up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721541 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 17:40:07 +00:00
Brett Porter 630281a13b [MRM-1025] fix tests after previous rename
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721526 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 16:13:22 +00:00
Brett Porter ebba6ca1d7 [MRM-1025] consolidate more database uses into the database module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721514 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 15:15:57 +00:00
Brett Porter f578399872 remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
Maria Odea B. Ching db96d2d7f2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@712168 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:44:29 +00:00
Maria Odea B. Ching 4cd3872031 [maven-release-plugin] prepare release archiva-1.2-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@712154 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:15:14 +00:00
Maria Odea B. Ching c303ba78c7 merged MRM-124 branch (-r706118) - archiva web services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@706126 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 05:59:47 +00:00
Maria Odea B. Ching a6c9464436 [MRM-952] (also fixes MRM-615, MRM-844 and MRM-620)
submitted by Michal Stochmialek
- fixes problems with expression resolving (${pom.version}) in dependencies,
- adds support for parent.{groupId, artifactId, version) properties,
- fixes issues with jdo detachCopy called from ProjectModelToDatabaseListener while creating effective pom,
- fixes inconsistency in key format used in effective model cache,
- add merging parentProject and properties while creating effective pom,
- ArchivaProjectModel.setOrgin("filesystem") was moved to readers (where IMO should be),
- adds few new test cases.

additional changes:
- applied codestyle formatting to patch


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@703626 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 03:56:18 +00:00
Maria Odea B. Ching 5cdf0b8fa4 [MRM-84]
-added statistics report in reports UI
-added statistics report generator with tests
-added new fields (totalProjectCount, totalGroupCount, totalArtifactCount and totalSize) to RepositoryContentStatistics table


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@700729 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 10:27:16 +00:00
Brett Porter 442f4a8749 [MRM-948] remove direct use of database and indexer from the core consumers, trim database related dependencies
Merged from: r694625


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@695101 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 02:10:59 +00:00
Maria Odea B. Ching 6eab73646e [MRM-817]
submitted by Gwen Harold Autencio
-in the artifact information tab, display the repo id where the artifact came from


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@679767 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 11:57:38 +00:00
Maria Odea B. Ching 0d580b48c1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677215 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 09:43:54 +00:00
Maria Odea B. Ching ef3b578f91 [maven-release-plugin] prepare release archiva-1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677213 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 09:41:07 +00:00
Maria Odea B. Ching c5b51473ba [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674706 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 02:04:28 +00:00
Maria Odea B. Ching 84c614d09a [maven-release-plugin] prepare release archiva-1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674704 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 02:01:17 +00:00
Maria Odea B. Ching 207111bebc cleanup some of the rss code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@671856 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 11:12:47 +00:00
Brett Porter 6d84f3a0a5 POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667751 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:27:11 +00:00
Maria Odea B. Ching c65b10563e [MRM-773]
-query only versions of artifacts with whenGathered != null
-created test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656552 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 08:46:12 +00:00
Maria Odea B. Ching 94799fd790 [MRM-773]
-update feed link url from the request url
-set query import in ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653999 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 06:09:51 +00:00
Maria Odea B. Ching e85deb992e [MRM-773]
-set limit date of artifacts to be included in the feed (new artifacts in repo)
-created test for ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653303 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 06:24:29 +00:00
Maria Odea B. Ching ce8c8a06a2 [MRM-773]
fixed where condition for querying new versions of a specific artifact


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652241 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 03:29:34 +00:00
Maria Odea B. Ching a8bc40dbd4 [MRM-773]
-added the servlet that would handle the rss feed requests
-created tests for the servlet
-removed thrown exception in getSpringConfigLocation() that is being overridden in PlexusInStringTestCase
-updated jsps to the new rss feed urls


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652230 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 02:18:43 +00:00
Maria Odea B. Ching f4fc560e71 [MRM-773]
-added the constraints for getting the different versions of a specific artifact
-added the whenGathered field in beginScan(..) of RepositoryContentConsumer interface and updated all implementing consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652043 13f79535-47bb-0310-9956-ffa450edef68
2008-04-28 02:17:44 +00:00