Commit Graph

40 Commits

Author SHA1 Message Date
Brett Porter 0dc2c29c92 [MRM-329] revised reporting actions
Submitted by: Teodoro Cue

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562511 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 16:02:00 +00:00
Joakim Erdfelt ad906608b7 * Updating my email address from joakim@erdfelt.com to my apache side email address at joakime@apache.org
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:44:15 +00:00
Brett Porter a40c80e2e1 [MRM-446] search by checksum was not working due to a case mismatch
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562380 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 08:10:29 +00:00
Joakim Erdfelt 59cd555432 [MRM-329] The Reports link gives an HTTP 500
Patch by: Teodoro Cue Jr



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562233 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 20:02:27 +00:00
Maria Odea B. Ching 488303a9e8 [MRM-425 and MRM-426]
- Added and modified code for handling snapshots (if the versions of a specific artifact snapshot are only timestamped versions, add a 
generic snapshot which is pointing to the latest timestamp version) in DefaultRepositoryBrowsing and ProjectModelToDatabaseConsumer.
- Updated pom validations in ProjectModelToDatabaseConsumer - handling of timestamped versions were considered
- Added isUniqueSnapshot(..) and isGenericSnapshot(..) in VersionUtil
- Added new attribute 'modelVersion' in DependencyTreeTag to get the in-pom version. Did not use the version attribute so as to retain the 
actual version being browsed. Also updated DependencyTree
- Updated the ff. pages for the version to be displayed: artifactInfo.jspf, showArtifact.jsp, dependencyTree.jsp and artifactDecorator.jsp
- Updated the version in SearchResultHit



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@558795 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 16:48:30 +00:00
Joakim Erdfelt 029c0c9789 * Fixing ArtifactsByChecksumConstraint for null types.
* Adding anonymous type constructor for ArtifactsByChecksumConstraint.
* Removing DatabaseSearch.  (We don't want a repeat of the mess that exists within continuum!)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@551997 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 18:52:49 +00:00
Maria Odea B. Ching 49ec5dcb1f [MRM-416]
- Added DatabaseSearch class for querying from the database (This could be used for future database queries so there is only one entry point for all 
db queries)
- Added ArtifactsByChecksumConstraint to be used for querying artifacts by checksum (either sha1, md5 or both)
- Updated "artifact" result of findArtifact action in xwork.xml
- Updated SearchAction to find an artifact (using checksums) in the database instead of in the indices
- Updated results.jsp to accomodate when the results came from the database instead of the SearchResults that is for index searching
- Deleted ArtifactsBySha1Constraint and its test, replaced by ArtifactsByChecksumConstraint
- Created tests for the new classes added



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549792 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 11:57:55 +00:00
Joakim Erdfelt 66fa6ce2c3 [MRM-403]: when browsing, groups list incorrect sub-groups
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549578 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 18:22:48 +00:00
Joakim Erdfelt e7664898d6 [MRM-410] Dependency Tree is not shown in artifact details screen.
* Refactored project resolution into ProjectModelResolverFactory component.
* All resolution access points now use this factory.
* Created ResolverFactoryInit as plexus component load-on-start, to hookup database to resolver stack.
* Created archiva:dependency-tree taglib



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 04:50:05 +00:00
Joakim Erdfelt f457d052ae [MRM-378]: Clicking on the tabs in the artifact detail page doesn't change the view
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542881 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 17:20:20 +00:00
Joakim Erdfelt 18454da4e7 [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540614 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 15:48:23 +00:00
Joakim Erdfelt ec549451bb [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540343 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 23:01:36 +00:00
Joakim Erdfelt 3dce54c7fb [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539619 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 22:35:12 +00:00
Joakim Erdfelt 650c56007b [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539163 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 23:17:48 +00:00
Joakim Erdfelt 2ae3268ff9 [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539145 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 22:16:57 +00:00
Joakim Erdfelt 6c1ebee773 [MRM-345]: Browsing shows no information.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538642 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 16:21:57 +00:00
Joakim Erdfelt 711bb6c0c6 Updates to Database scanner, updater, task, consumers, and admin screens.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:03:49 +00:00
Joakim Erdfelt e52e0793df Updates for admin screens
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@534044 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 12:46:46 +00:00
Joakim Erdfelt 3a6d8b6a27 Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532453 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:37:27 +00:00
Joakim Erdfelt 32f1b4afd2 * Splitting up Constraint into DeclarativeConstraint and SimpleConstraint.
* Adding ArchivaDAO.query(SimpleConstraint).
* Adding UniqueGroupIdConstraint.
* Adding UniqueArtifactId Constraint.
* Adding UniqueVersionConstraint.
* Adding RepositoryBrowsing component.
* Refactoring webapp's BrowseAction groupId filtering into GroupIdFilter class.
* Refactoring BrowseAction to utilize new RepositoryBrowsing component.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@530911 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 20:44:32 +00:00
Joakim Erdfelt 8b0319bf62 Refactoring of reporting. One step closer to an end-to-end compile.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@530395 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 12:25:11 +00:00
Jesse McConnell c4f2ef40af fix up component decl
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527686 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:36:48 +00:00
Joakim Erdfelt 9e39e98656 Fixing RepositoryDAO and tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527676 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:13:53 +00:00
Joakim Erdfelt 454fb5b0be Work towards compilable webapp
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527650 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:27:38 +00:00
Joakim Erdfelt 84e5e12ca8 * More unit testing of the archiva-database.
* Added CompoundKey tag to help JdoAccess process compound keys more intelligently.
* Updates to keys to honor CompoundKey identity.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526927 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 21:28:30 +00:00
Joakim Erdfelt 6ee23e63a9 * Implemented ArtifactDAO
* Fixed Query / Constraints when using dates (and other parameterized objects)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526879 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 19:12:10 +00:00
Joakim Erdfelt 0dc680c13e * Adding boilerplate for DatabaseUpdater.
* Splitting ArchivaDAO into sub-DAO's to aide in maintenance.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526822 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 16:39:58 +00:00
Joakim Erdfelt 379bbb7225 Updating with changes surrounding model, and database schema, change
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@525951 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 20:11:19 +00:00
Joakim Erdfelt 2087d187e7 Changing to hsqldb for unit testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@520921 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 15:46:41 +00:00
Joakim Erdfelt f5da042413 Furthor work against BidirectionalLayout
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@518797 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 22:44:49 +00:00
Joakim Erdfelt 7a5f50c9f6 Partial work against jpox database refactoring.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@518686 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 16:48:40 +00:00
Joakim Erdfelt df9ebafaf9 Fixing broken code.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512450 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:19:08 +00:00
Joakim Erdfelt 08d67a9bac artifact persistence work
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512448 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:17:45 +00:00
Jesse McConnell 69a8874030 remove reference to object factory, it won't solve the problem at hand
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512418 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 21:23:29 +00:00
Jesse McConnell 210b3267a8 added missing xml file, added methods to determine if database exists or not, fixed up test cases for db initialization and removal
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512366 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:15:00 +00:00
Jesse McConnell e43e5befe7 remove the original IbatisMemoryStore and
its interface, switch impl over to joakims
Repository Metadata database set and start
getting an abstract helper class that helps
manage the MetadataKey

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512340 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:49:48 +00:00
Jesse McConnell 0ce8ca699c a bit more realistic test using actual metadata objects and testing getting the key from the key table, and we can actually directly influence performance by monkeying in xml files for sql..ibatis is pretty slick
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512053 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 22:49:51 +00:00
Jesse McConnell 3600ec5844 added definitions for other tables and fixed up naming conventions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512034 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 22:10:41 +00:00
Jesse McConnell 78afb73f95 working ibatis example with two tables, only one being used in the test case though
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512002 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 20:47:55 +00:00
Joakim Erdfelt eec1a48273 Adding stub for initial ibatis support.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@511933 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 18:01:19 +00:00