Commit Graph

2606 Commits

Author SHA1 Message Date
James William Dumay 6b7f9f4ad8 MRM-1138 - Fix java.lang.NullPointerException: configuration can not be null on startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753108 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 04:54:59 +00:00
Brett Porter 5bc40b6181 [MRM-1107] change to base exception since we will also get the MustChangePasswordException in Redback 1.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752762 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 03:46:45 +00:00
Brett Porter c9a12dbf99 [MRM-921] user management role does not display the user management menu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752740 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 01:18:07 +00:00
Brett Porter 13d43afbfe [MRM-922] access to upload page with managed repository role
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752539 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 17:33:31 +00:00
Brett Porter f63959e3aa [MRM-1101] restore proper tracking of principal in DAV for audit logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752519 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 16:53:17 +00:00
Maria Odea B. Ching 11edfc6918 exclude slf4j 1.5.6 jars in WEB-INF/lib, conflicts with the version used which is 1.5.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752433 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 13:07:00 +00:00
Brett Porter c5783f016f [MRM-1130] add security audit log and clean up logging configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752431 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 12:37:04 +00:00
Emmanuel Venisse aae839ff4b [ARCHIVA-938] Remove harcoded guest user
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752384 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 06:12:17 +00:00
Brett Porter bf03bbad7a [MRM-1102] reduce verbosity of ZipExceptions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751941 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:38:09 +00:00
Brett Porter e75840b71f [MRM-1102] clean up layout exceptions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751940 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:35:35 +00:00
Brett Porter 0fcfb7e339 [MRM-1102] don't swallow parsing exception too early where it still has context, and only log the message not the trace in scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751932 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:09:34 +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 fd62230483 [MRM-842] [MRM-836] correct the organization name and issue management URL in the database by not assigning them an automatically generated key as the identifier. We don't need these as identifiers, so simply remove
Submitted by: John Michael Luy


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751709 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 15:27:06 +00:00
Brett Porter 1216a8534a [MRM-1081] fix download tag in light of multiple repositories offering the same artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751702 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 15:14:47 +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
Brett Porter 5a9d510e8a [MRM-1082] restore per-lookup to action classes that was set by default with the previous version of the plexus plugin. This is important for actions that store state and resolves a number of issues with parameters persisting across requests (and clients)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751672 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 13:17:46 +00:00
Emmanuel Venisse 9633f8d288 [MRM-938] Remove old/unused property
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751668 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 13:01:59 +00:00
Brett Porter 302247e263 [MRM-749] we actually need to explicitly skip the processFile method if the index couldn't be created
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751620 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 08:30:40 +00:00
Brett Porter 1b1f7785df [MRM-749] throw consumer exception if it can't start so that it doesn't fail processing every file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751608 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 08:00:07 +00:00
Brett Porter 268b0e5850 [MRM-1062] switch md5 implementation - license is less ambiguous and it appears faster
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751565 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 01:15:16 +00:00
Brett Porter d6f99e5f66 [MRM-1062] find artifact no longer worked in several browsers due to the file input not returning the full path as a security measure. For Firefox 3, the file will now be checksummed in JavaScript, and other browsers will present an alert dialog
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751562 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 00:56:29 +00:00
Brett Porter db5411198a put the required repositories in by default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751553 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 23:37:01 +00:00
Brett Porter 722e0b6682 [MRM-1062] avoid applet error going into search box
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751545 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 22:44:03 +00:00
Brett Porter f3b9f4f30c [MRM-1110] some redback log statements are not visible in Archiva logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751524 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 20:57:28 +00:00
Brett Porter 3a742eeb67 [MRM-1109] environment checks do not indicate which caused a violation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 20:45:02 +00:00
Brett Porter aeedc2ff5e [MRM-1013] add generics for type safety after updating redback for the casting error
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750975 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 16:54:34 +00:00
Brett Porter 4b34d911eb [MNG-1106] guard against NPE which can be generated by the LDAP user manager if misconfigured
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750953 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 16:08:12 +00:00
Brett Porter adf0f01d13 [MRM-1108] show the default logo if it is empty in the configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750843 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 10:54:06 +00:00
Brett Porter 9e03d296ed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750823 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 09:44:47 +00:00
Brett Porter 497493a78b [MRM-1073] restore backwards compatibility of model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750808 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 08:26:30 +00:00
Brett Porter 32c2577fa0 formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750804 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 08:15:45 +00:00
Brett Porter 3823131239 [MNG-1073] remove class from the model that was never used and required a model change. Typically, you'd just leave it out of the current version but we get some clean up by removing it altogether without any side effects.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750795 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:44:10 +00:00
Brett Porter 1bd4a0386e fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750786 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:48:58 +00:00
James William Dumay c855a42ef5 Add spring context
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750773 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 05:35:39 +00:00
Brett Porter c5529d24ae [MRM-1074] Typo of Legacy Support option on the left nav menu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@748162 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 14:40:03 +00:00
Brett Porter 64a7ba1f3f consistency in versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747786 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 14:02:54 +00:00
Brett Porter 12c36ed347 [MRM-1098] upgrade to wagon 1.0-beta-5 and remove workaround that was needed previously
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747621 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 00:11:47 +00:00
Maria Odea B. Ching ae1a9ea059 add sonatype repo to get artifacts needed by nexus indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747356 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 12:09:24 +00:00
Maria Odea B. Ching a9a04ebb7d set repository id in ArtifactUpdateDatabaseConsumer only when repository id is null
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747306 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 08:35:43 +00:00
James William Dumay a0da36af3c MRM-1095 - Archiva keeps scanning repositories, even if scanning disabled in the web UI. Submitted by Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747198 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 23:24:09 +00:00
Maria Odea B. Ching a8ad14acbd [MRM-1092]
submitted by Jevica Arianne Zurbano
o fix 'Hist' to 'Hits' in search results page


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746857 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 02:04:56 +00:00
Maria Odea B. Ching 269380914e removed advancedSearch.jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746187 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 09:25:36 +00:00
Maria Odea B. Ching c443b0be67 [MRM-1091]
upgrade appaseembler plugin to 1.0


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746186 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 09:18:26 +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 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