Commit Graph

727 Commits

Author SHA1 Message Date
Maria Odea B. Ching c737e25b53 [maven-release-plugin] prepare release archiva-1.3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1038573 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 12:03:31 +00:00
Maria Odea B. Ching a39e488b92 revert to SNAPSHOT version
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1038569 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 11:54:14 +00:00
Maria Odea B. Ching b6f0bb0696 [maven-release-plugin] prepare release archiva-1.3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1038555 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 11:31:18 +00:00
Maria Odea B. Ching 5d0359ce5a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1038537 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 09:23:36 +00:00
Maria Odea B. Ching 874abc4b7f [maven-release-plugin] prepare release archiva-1.3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1038535 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 09:22:04 +00:00
Maria Odea B. Ching 71d0bb56b1 [MRM-1438] [CVE-2010-3449]
o update to Redback 1.2.4 issue is fixed
o enable referrer check by default for security interceptor


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1038518 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 08:16:46 +00:00
Jevica Arianne B. Zurbano e95e243324 [MRM-1394] - Replace the use of clickLinkWithText() with getSelenium().open() for accessing navigation menu pages
* replaced clickLinkWithText() with getSelenium().open()
* added clickAddIcon() and clickDeleteIcon() to be used instead of clickLinkWithXPath() in RepositoryScanningTest
* added dependsOnMethods in testClickArtifactFromBrowse of BrowseTest



git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@960311 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 09:28:02 +00:00
Jevica Arianne B. Zurbano e54ea0a252 updated webapp-test version
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@960308 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 08:53:45 +00:00
Marecor M. Baclay 25c9aa2a6f [MRM-1230] Type of artifact is always "pom"
- additional unit test (modified the  patch since it has not been applied in 1.3 as set in the fixed version)
Submitted by: Maria Catherine Tan



git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@959907 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 08:02:35 +00:00
Jevica Arianne B. Zurbano 6c08a52885 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@953837 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 19:08:21 +00:00
Jevica Arianne B. Zurbano 009d601a77 [maven-release-plugin] prepare release archiva-1.3.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@953835 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 19:07:22 +00:00
Jevica Arianne B. Zurbano f4626ad8a5 fixed failing test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952956 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 11:00:39 +00:00
Maria Odea B. Ching c49ad562ff [MRM-1066] Shutdown of Tomcat causes Exception when running Archiva Project
o log error instead of printing stack trace
o clean up code


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952943 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 10:22:49 +00:00
Maria Odea B. Ching b9b2c5ca0c fixed failing test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952939 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 10:12:39 +00:00
Maria Odea B. Ching fa10e63f5c [MRM-1361] Add support for NPanday artifact types
patch created & submitted by brett
o add npanday types to artifact extension mapping


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@952596 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 10:00:39 +00:00
Maria Odea B. Ching 9d998d14c9 [MRM-1066] Shutdown of Tomcat causes Exception when running Archiva Project
submitted by Marcus Dimand
o kill the executors and the archiva scheduler when context is destroyed

additional changes in the patch:
o removed system.out logs
o moved out stopping of the task queue executors to its own method


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@946618 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:11:51 +00:00
Maria Odea B. Ching dca8072e7d fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@945545 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 08:57:59 +00:00
Maria Odea B. Ching 4031cb1f9b [MRM-621] Use UTF-8 for better i18n support for page display
submitted by Shinsuke Sugaya

o added <%@page%> tag to jsp pages


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@942765 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 14:53:49 +00:00
Maria Odea B. Ching ff98b0c6aa [MRM-1386] fixed start date and end date pop up
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@942722 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 12:52:01 +00:00
Maria Odea B. Ching 90a86e31c1 [MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
o added selenium test


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@939944 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 08:13:00 +00:00
Maria Odea B. Ching d06b48b52d [MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
o get latest build number from version-level metadata when deploying artifacts from webapp
o for snapshot artifacts deployed, generate or update the version-level metadata
o added unit test for this scenario
o refactored some parts of the tests for upload artifact


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@930528 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 15:01:22 +00:00
Maria Odea B. Ching 7d72f9f75e [MRM-1321] Snapshot is linking to oldest version in Archiva GUI
submitted by Daniel Triphaus
o do not reverse the order of the list containing the snapshot versions

additional change made:
o updated unit test to correct behavior


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@930242 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:18:43 +00:00
Brett Porter 8cf166a184 [MRM-1356] handle chunked / unknown length requests correctly
Merged from: r919307


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@919313 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 06:42:52 +00:00
Brett Porter bc267adc07 [MRM-1355] fix username for audit log
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@918857 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 05:18:44 +00:00
Brett Porter d40d925272 adjust Plexus components generation to correct phases so they work from the IDE
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@918853 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 05:05:27 +00:00
Brett Porter f597e36cd3 reverse portion of previous change, behaviour is expected to be different on 1.3.x vs trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@918825 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 02:45:50 +00:00
Brett Porter 3c0d48098b merge fixes to Selenium tests from trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@918814 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 02:00:16 +00:00
Brett Porter 6426da90b4 improve logging of failed uploads
Merged from: r917519


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@917521 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 13:39:31 +00:00
Brett Porter d62eb54fde [MRM-1302] add some prevention for concurrent modification of a list
Merged from: r917398


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@917399 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 06:01:43 +00:00
Maria Odea B. Ching 56d17960c0 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@916227 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:32:40 +00:00
Maria Odea B. Ching 013a63649e [MRM-1312] mda5 and sha are not generated for snapshot jars
submitted by Maria Catherine Tan

o use the actual file, which has a timestamp + build number version, when creating a repository task for a snapshot artifact


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@916197 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 09:32:12 +00:00
Brett Porter 888eb009b7 [MRM-1304] Query using Group ID field in audit log report uses '/' as a separator instead of '.'
Submitted by: Adelita L. Padilla (applied with modifications to test)
Merged /archiva/trunk:r909454-909456


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@909461 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 15:29:47 +00:00
Maria Odea B. Ching 5f77fddbfb [MRM-1316] audit log report does not restrict events to repositories that you are a manager of
merged from trunk -r905996


git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@905998 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 11:14:20 +00:00
Maria Odea B. Ching cd81fd3771 merged from trunk -r905969 (fixed failing selenium test)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@905971 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:20:55 +00:00
Brett Porter 3f3a18845e set version correctly on branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@900343 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 11:16:24 +00:00
Brett Porter 96c99628aa ensure test is not skipped and clarify meaning (can't test searching with no access, it wouldn't appear in the list)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899070 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 06:04:54 +00:00
Brett Porter d0b3ad29df log skips
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899067 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 05:28:51 +00:00
Brett Porter 9ef096945d fix repository scanning tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899066 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 05:28:31 +00:00
Brett Porter 4457762692 fix the search test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899055 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:27:07 +00:00
Brett Porter f6a631b7d5 fix virtual repository test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899054 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:17:04 +00:00
Brett Porter 560d3e0ebc if capturing a screenshot fails, save the HTML
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 03:42:01 +00:00
Brett Porter ba1abce283 fix the repository test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899032 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 02:24:25 +00:00
Brett Porter edf6aa2ced remove dependencies on artifact upload functionality, add test fixture data. Temporarily disable tests that don't work on Safari
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899031 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 02:15:09 +00:00
Brett Porter bc8f42601c additional note
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899028 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:48:14 +00:00
Brett Porter 294c3c6331 add some notes about tests that won't work in other browsers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899027 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:47:20 +00:00
Brett Porter 04f540b467 remove unwarranted dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899017 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:14:14 +00:00
Brett Porter d72a860d41 merge prep step into test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899014 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:03:02 +00:00
Brett Porter e81d9aebc9 fix property name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899012 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 00:53:31 +00:00
Brett Porter d0b3bb88a7 fix parent reference
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898641 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 03:57:06 +00:00
Brett Porter fb9ad3f771 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898618 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:07:00 +00:00
Brett Porter d3fede7d5d [maven-release-plugin] prepare release archiva-1.3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898616 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:05:50 +00:00
Maria Odea B. Ching c51b0e4790 [MRM-1268] X-Forwarded-Host handling when having more than one proxy
submitted by Andreas Baumann

o taking just the outermost (first one) proxy in the 'X-Forwarded-Host' HTTP field


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898212 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 07:56:46 +00:00
Maria Odea B. Ching b44ad982c3 [MRM-1296] Audit logging report
merged MRM-1296 branch to trunk


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897892 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 15:07:00 +00:00
Maria Odea B. Ching 9b2e1cfa42 [MRM-1277] Create Selenium test for advanced search feature
o add advanced search selenium test using different search criteria


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897862 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 13:57:15 +00:00
Maria Odea B. Ching 160afaa199 [MRM-1185] Archiva Reporting Modification Request
submitted by Maria Catherine Tan

o add ears, dlls, exes and zips count to generated repo statistics report


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897827 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 10:17:18 +00:00
Maria Odea B. Ching cf436f5b1b fix failing tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897165 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:04:14 +00:00
Maria Odea B. Ching 9cfe307218 [MRM-1270] improve error message when the user does not have access to any repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@894332 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:37:22 +00:00
Brett Porter 9d2cf5df8c [MRM-1306] upgrade jQuery and jQuery UI versions
Merged from: r892686


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@892688 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:09:44 +00:00
Brett Porter fea2f766b3 put back artifact reports, missed a use
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 13:05:04 +00:00
Brett Porter eb65db1a99 move the unused reports into the sandbox
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889221 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:04:44 +00:00
Brett Porter e3f7c9572d move reporting dependency to the correct location
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:03:03 +00:00
Brett Porter 1d01e87b74 [MRM-1293] add tests for GenerateReportAction to better validate conversion in metadata repository branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@888396 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 13:31:47 +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 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 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
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 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
Brett Porter d6e13a5e3b make test more resilient to whitespace in titles
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834410 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:12:04 +00:00
Brett Porter 737ef89580 more flexible test since it might have a newline in the middle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834404 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:45:44 +00:00
Brett Porter 2e46d0022f make it easier to debug by just starting Cargo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834403 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:44:04 +00:00
Brett Porter e0a8ec4bfc move the archiva database into target
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834398 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:35:23 +00:00
Brett Porter bc45d38110 make Tomcat version a property
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:18:52 +00:00