Commit Graph

2768 Commits

Author SHA1 Message Date
Maria Odea B. Ching a3b88a08e3 [MRM-1269] Audit logging report
o updated screenshot in docs
o updated selenium test to reflect changes made in artifact path for audit log report


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@891108 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 03:27:14 +00:00
Maria Odea B. Ching e5f4782097 [MRM-1296] Audit Log Report
o log to database all artifact deployments done via webdav
o updated webdav tests to reflect changes
o updated format of artifact field value in audit logs for consistency between web upload & webdav deployments


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@891067 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:21:39 +00:00
Maria Odea B. Ching 56c76e7571 [MRM-1296] Audit Log Report
o fixed failing tests due to bean lookup errors


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890982 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 20:48:24 +00:00
Maria Odea B. Ching f1d764f0f5 [MRM-1296] Audit Log Report
o document how to view audit events from web ui


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890935 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 18:44:37 +00:00
Maria Odea B. Ching 782d9e2cfa [MRM-1296] Audit Log Report
o update selenium tests to reflect changes in UI


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890923 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 18:08:47 +00:00
Maria Odea B. Ching 7250b799d0 [MRM-1296] Audit Log Report
o fixed pagination
o prettify report UI


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890916 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 17:50:10 +00:00
Maria Odea B. Ching 3078e1af86 [MRM-1296] Audit Log Report
o added selenium test for viewing audit log reports
o fixed bu when querying log using artifactId


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890811 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 14:52:41 +00:00
Maria Odea B. Ching 9557917486 [MRM-1296] Audit Log Reports
o fixed query for recent audit logs
o added bits for pagination


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890604 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 02:26:50 +00:00
Maria Odea B. Ching 15768140dd [MRM-1296] Audit Log Report
o added constraint for custom query
o support custom query in view audit log action


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890361 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 15:08:03 +00:00
Maria Odea B. Ching 0a6784f6c1 [MRM-1296] Audit Log Report
o update model version
o remove unused import


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890156 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 02:21:42 +00:00
Maria Odea B. Ching 6a1209462f [MRM-1296] Audit Log Report
o created data model, dao and query constraint object for audit logs
o save events in database


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@890155 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 02:06:05 +00:00
Maria Odea B. Ching 9875b41e5a [MRM-1296] audit logging report
o added action class & jsp file for audit log report
o implement security restriction


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@888768 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 11:03:55 +00:00
Maria Odea B. Ching 1d7cc327fa create branch for MRM-1296
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1296@888313 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 10:29:16 +00:00
Marecor M. Baclay f640a09b4f [MRM-1241] Selenium Tests for Repository Scanning and Database
- adding test scripts for Database



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887086 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 07:06:37 +00:00
Brett Porter 6c1cd8d63f exclude .svn directories in the test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887051 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 04:07:12 +00:00
Brett Porter d03e92ca26 ignore overlays directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887033 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 02:01:58 +00:00
Brett Porter d41af9e700 [MRM-1294] start the search period from the *start* of the previous scan rather than the end to discover anything added in the middle. Some artifacts may get scanned twice, but this is a better consequence than not at all
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:42:14 +00:00
Brett Porter 30f8605a1d [MRM-1294] avoid starting the search period at twice the duration since the start of the previous scan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887027 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:22:43 +00:00
Brett Porter 58b9f885e0 improve test case to check stats
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887026 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:18:13 +00:00
Brett Porter 3e47fdca1a test case refactoring for clarity
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887005 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 00:05:01 +00:00
Brett Porter 5996457bf2 [MRM-1272] correct empty error message when there is a problem from Lucene
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@886966 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 22:40:24 +00:00
Brett Porter 00fb9a045e throw an exception from unimplemented methods instead of silently returning empty results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885330 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 04:01:47 +00:00
Brett Porter 9aabebcdf5 [MRM-1290] correct hardcoding in getDependees
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885315 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:41:46 +00:00
Brett Porter 99f6382dd3 fix organization tag
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885034 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 22:01:10 +00:00
Brett Porter f5c8218abe [MRM-1123] nexus and its dependencies are now all on central
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885012 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 21:04:56 +00:00
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 e7e9b184eb upgrade to Shade 1.2.2 so that build works with Maven 3.x
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@884355 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:25:48 +00:00
Maria Odea B. Ching 2fa9e76dfc [MRM-1228] Ping service in not working
o added ping invocation to sample client


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883067 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:25:10 +00:00
Maria Odea B. Ching 9c0bce1390 [MRM-1228] Ping service in not working
o changed from TestService to PingService
o fixed bean config in applicationContext in webapp
o added service object annotation for xmlrpc binder


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883066 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:23:00 +00:00
Maria Odea B. Ching 081473a2e3 fixed field name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:43:28 +00:00
Maria Odea B. Ching 6933e769f5 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o added documentation


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883060 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:43:01 +00:00
Maria Odea B. Ching 860d4dcfb0 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o added selenium test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883059 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:26:06 +00:00
Maria Odea B. Ching 27cb4991b1 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o block re-deployment of released artifacts to repository of configured using web upload form
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883057 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 10:51:07 +00:00
Maria Odea B. Ching 56ddb014a1 updated comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883052 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 09:32:35 +00:00
Maria Odea B. Ching 614a6c1e2f [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o make blocking of re-dployments configurable per repository
o added test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 09:28:36 +00:00
Maria Odea B. Ching 0708065319 [MRM-1274] SearchService.quickSearch returns artifacts with null as repositoryId
o get repo id from db since it's not set in search result
o set repositoryId as bean field in Artifact obj so it's included when bean is converted
o updated unit tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883046 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 08:32:36 +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 607b7fb090 [MRM-1033] Changing the location of a scanned repository results to the contents of the new location not getting indexed
submitted by Maria Catherine Tan
o delete all stats when repository location is changed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882448 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 08:41:50 +00:00
Maria Odea B. Ching 92d9bce38a remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882402 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:35:50 +00:00
Maria Odea B. Ching 33c8c4c81e [MRM-1278] Wrong repository displayed in Archiva browse
o added selenium test that uploads SNAPSHOT artifacts in releases and snapshots repositories and checks artifact info page for correct artifact information
o refactored upload artifact methos in AbstractManagementTest, moved them over to AbstractArchivaTest to avoid repetition in other tests that uses it


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882399 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:31:19 +00:00
Brett Porter caaee4251e [MRM-1281] remove unused database consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882363 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 23:39:09 +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 2819ac8d30 fix unable to delete index IOException in tests when built in windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@881656 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 03:11:13 +00:00
Maria Odea B. Ching 3724f9749c [MRM-1277] Create Selenium test for advanced search feature
o added webapp tests for searching non existing artifacts and when no search criteria is specified in advanced search


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@880666 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 08:33:59 +00:00
Maria Odea B. Ching 4abf4521ef use project.basedir instead of just basedir
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834798 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 08:11:53 +00:00
Maria Odea B. Ching eb4a1b8315 fixed path where tomcat zip is unpacked
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834773 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 05:56:40 +00:00
Maria Odea B. Ching 0b6a098ec3 [MRM-1275] Include other file types for the index consumer instead of just the indexable-content
o add artifacts file types so it gets processed by the consumer
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834426 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 11:04:15 +00:00
Brett Porter b4fe9fb58f JUnit tests were removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834420 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:48:26 +00:00
Brett Porter 08bdeff48b store cargo installations outside target to avoid re-downloading
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834415 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:26:23 +00:00
Brett Porter 8ff4b8cf34 set default timeout as well as the explicit one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834412 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:13:08 +00:00