Commit Graph

2463 Commits

Author SHA1 Message Date
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 48e96d554f [MRM-1079]
o updated and activated tests for index cleanup consumer
o cleaned up index cleanup consumer


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746169 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 06:52:41 +00:00
Maria Odea B. Ching 57ebe9526a removed unused test resources in archiva-lucene-consumers and archiva-indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746157 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:55:19 +00:00
Maria Odea B. Ching 024259f9e3 removed empty directories in archiva-lucene-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746148 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:31:51 +00:00
Maria Odea B. Ching b4dfa90773 o re-packaged classes in archiva-indexer
o removed old directory
o removed unnecessary references to RepositoryIndexException and RepositoryIndexSearchException which have been removed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746146 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:25:30 +00:00
Maria Odea B. Ching c73e639ed2 remove unused classes and empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746141 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:09:07 +00:00
Maria Odea B. Ching 958b142c8f remove unused classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746127 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 03:45:10 +00:00
Maria Odea B. Ching 8a8db2f651 remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746125 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 03:39:57 +00:00
James William Dumay f1488b0680 bump redback to snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746068 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 00:26:16 +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 6c41ed1253 applied formatting to RepositoryContentConsumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745395 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 06:57:23 +00:00
Maria Odea B. Ching 14b464c185 [MRM-1076]
o remove second invocation of complete scan in RepositoryContentConsumers which causes the NPE


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745393 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 06:50:21 +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 e9b030ba0c [MRM-1041]
updated browse.jsp


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745365 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 03:01:03 +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
Maria Odea B. Ching 5f39994250 [MRM-1043]
o added row count in search criteria
o cleaned up jsp


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744832 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:31:44 +00:00
Maria Odea B. Ching 87f3147e7e [MRM-1043]
o provide list for repositories that can be searched


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744797 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 04:06:36 +00:00
James William Dumay db5102aaaf MRM-1066 - Shutdown of Tomcat causes Exception when running Archiva Project
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744785 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 00:28:50 +00:00
Maria Odea B. Ching fa4039e25f o clean up and fix spacing of results.jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744086 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:32:27 +00:00
Maria Odea B. Ching 462af40d1e [MRM-1043]
o moved the advanced search to the quick search page
o dynamically add search criteria
o added additional test in SearchAction


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744080 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:25:47 +00:00
James William Dumay 7e85179685 Should reference slf4j API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743977 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 04:27:20 +00:00
James William Dumay 77481fb93c MRM-1084 - Upgrade modello maven plugin to 1.0 to support Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 06:47:36 +00:00
James William Dumay 48fc7e2f6f MRM-1083 - Add artifact search box to the default decorator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743602 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 02:34:16 +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 e2dda2e977 Rolling back MRM-995 as it seemed to have broken lots of things
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743171 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 23:54:32 +00:00
James William Dumay 034f98a509 MRM-995 - Generated Descriptors are wrong after Eclipse Project Clean
* Submitted by Steffen Grunwald. Thanks for the patch :)



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743169 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 23:43:05 +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 f3e319b018 Reverting earlier change to SearchUtil
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742863 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 06:12:32 +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 dc5aee4038 moved hit key utility method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742848 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 04:51:10 +00:00
James William Dumay 837bb4a0b6 Ignore .indexer directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742846 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 04:46:37 +00:00
James William Dumay 200a649b36 Add @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742790 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 23:58:48 +00:00
Maria Odea B. Ching b521fd00d2 remove old consumers for indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741493 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:32:06 +00:00
Maria Odea B. Ching 9cb1a3f329 update search tips, no need to use 'bytecode' keyword when searching for a class or package name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741468 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 08:24:41 +00:00
Maria Odea B. Ching 62abdcacc4 added comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741445 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 07:16:35 +00:00
Maria Odea B. Ching e0d6da5cc6 [MRM-1046]
o more tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741444 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 07:15:03 +00:00
Maria Odea B. Ching 2fb9f49983 [MRM-1046]
o more test cases


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741385 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 03:29:50 +00:00
Maria Odea B. Ching caa7128117 [MRM-1046]
o added more tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741054 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 09:22:22 +00:00
Maria Odea B. Ching 8cbe207627 [MRM-1046]
o added test cases for SearchActionTest


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741051 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 09:00:31 +00:00
Maria Odea B. Ching c9cdca72bb [MRM-933]
applied some parts of the patch submitted by Gwen Harold Autencio
- fix results.jsp


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740580 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 02:32:30 +00:00
Maria Odea B. Ching b8f16e0c71 [MRM-933]
o set search result limits of the returned search results


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740576 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 02:16:11 +00:00
Maria Odea B. Ching c0e1f8872e [MRM-749]
merged -r 728552:740257 from archiva-nexus-indexer branch


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740552 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 01:09:17 +00:00
Carlos Sanchez Gonzalez cedc048694 Apply 732550 from Continuum: update comments due to REDBACK-100
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@739678 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 01:50:11 +00:00
James William Dumay ef3ecba393 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@737966 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 01:41:03 +00:00
Brett Porter b30d149ebc move up to the latest assembly plugin consistently
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@736038 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 17:00:03 +00:00
Maria Odea B. Ching 03a080a1d5 [MRM-1068]
submitted by Maria Catherine Tan
- upgrade redback to 1.2-beta-2
- needed to upgrade spring to 2.5.6 to be compatible with redback 1.2-beta-2


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@735937 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 05:32:11 +00:00
James William Dumay cc74d51a5b MRM-1011 - Organisation link on logo points to somewhere
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@733229 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10 04:29:06 +00:00
Maria Odea B. Ching d2190ff6a8 fix some problems in invoking search service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@732674 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 10:14:02 +00:00
James William Dumay 9158c2f5dc remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@728587 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 03:19:52 +00:00