Commit Graph

1206 Commits

Author SHA1 Message Date
Brett Porter 0699d4aaaa [MRM-1317] Pagination is broken in audit log report in trunk
Submitted by: Maria Catherine Tan


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161083 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:10:10 +00:00
Brett Porter b3ca825219 remove redundant setup method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161077 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 12:44:24 +00:00
Olivier Lamy 80b7556beb get rid of created ${plexus.home} with derby database created in and never cleaned : could cause some issues -> account locked
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160783 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 16:35:49 +00:00
Olivier Lamy 324c61a7be take care of cleaning redback database : it can cause failure due to account locked !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160717 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 14:46:03 +00:00
Olivier Lamy 95e2f5b636 [MRM-1503] use wagon-http instead of wagon-http-lightweight (as it change proxy network system properties)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160694 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 13:55:11 +00:00
Olivier Lamy 0f0a3486c9 start working on interfaces for module archiva-repository-admin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160654 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:20:00 +00:00
Olivier Lamy 92ee458231 oups fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160650 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:02 +00:00
Olivier Lamy f71c441d3d jaxb api is used so declare it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160649 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:18:49 +00:00
Olivier Lamy fa90a670b1 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160296 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:12:36 +00:00
Olivier Lamy 30ebe43f59 simplify inject of bean list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160293 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:11:34 +00:00
Olivier Lamy 0c7626a137 update changed name in maven indexer
add more rest service to update managed repository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160252 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 13:03:54 +00:00
Olivier Lamy 468d33012d as now RepositoryArchivaTaskScheduler is started this mock configuration must not failed with NPE or UOE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159692 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:16:18 +00:00
Olivier Lamy 94faa497ae fix webapp unit tests with commenting a spring which is not used and override the good one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159691 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:15:41 +00:00
Olivier Lamy 23cceb8c62 [MRM-1490] expose services tru rest
add some managed repo admin support

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159688 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:14:32 +00:00
Olivier Lamy 9077dbddcd oups fix bad commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159540 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 08:29:53 +00:00
Olivier Lamy 566379bb17 add a method to know if a repo is already under scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159533 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:54:42 +00:00
Olivier Lamy f4bb416191 fix permission management for scan repo rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159532 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:54:14 +00:00
Olivier Lamy 53d4ecac05 [MRM-1490] expose service tru rest
impl Repo management service

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159531 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:53:42 +00:00
Olivier Lamy fd94d9c6ec [MRM-1490] Expose Archiva services trough REST
start adding some services :
* search
* administration

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159529 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:52:52 +00:00
Olivier Lamy d85c1890d7 [MRM-1490] Expose archiva services trough rest
add the configuration in webapp module to expose it

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159120 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 09:49:20 +00:00
Olivier Lamy 3652f4c6e4 fix @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158974 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:54:12 +00:00
Olivier Lamy d598306cf2 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158973 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:53:53 +00:00
Olivier Lamy f3189bad3e [MRM-1490] Expose Archiva services trough rest
add modules structure with the very first service : ping :-)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158972 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:53:30 +00:00
Olivier Lamy eceef01319 fix typo and use lookup rather than empty constructor for components coming from maven-indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158274 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:51:48 +00:00
Olivier Lamy c7607a63e5 a little hackhish but fix use with tomcat maven plugin, sisu need a URLClassLoader as TCL to be able to use lookupList
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:50:45 +00:00
Olivier Lamy f4a130e2c5 [MRM-1481] Ability to do user management through xmlrpc
Submitted by Maria Catherine Tan

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156322 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:17:50 +00:00
Olivier Lamy b36ed8a621 [MRM-1487] simplify previous fix !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156242 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 15:51:57 +00:00
Olivier Lamy 5ee3d9ee40 [MRM-1487] Unable to add a proxy connector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156241 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 15:51:26 +00:00
Olivier Lamy 4d06deba67 use selenium plugin released version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154859 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 07:38:57 +00:00
Maria Odea B. Ching 8a665bdbbd [MRM-1484] set timezone
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154110 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:54:39 +00:00
Maria Odea B. Ching 8391b7c4d7 [MRM-1484] Upgrade Atlassian XMLRPC binder to 0.11 to get fix for multi-threading issue in Aapache XMLRPC 3.1.1+
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1153002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 02:35:47 +00:00
Olivier Lamy 4e18b216a5 fix typo in context path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1143863 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:02:59 +00:00
Olivier Lamy 324deb4633 fix css link
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141572 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:29:45 +00:00
Olivier Lamy 61bb624347 [MRM-1479] upgrade jquery version 1.6.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141566 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:12:47 +00:00
Brett Porter e98e1ffbcf remove incorrect operation that was mismatched with merge-repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141370 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 03:03:49 +00:00
Olivier Lamy 306376c41b add missing operation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141261 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 21:40:31 +00:00
Brett Porter 31e93bb1c9 some low hanging fruit in the quest to improve the staging repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141002 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 08:41:07 +00:00
Maria Odea B. Ching 2a853ec545 removed use of SchedulerAction in MergeAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140987 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 07:54:07 +00:00
Brett Porter 1f68b697b7 clean up some tests and avoid creating bad ~/.m2/archiva.xml descriptor
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140961 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 04:17:55 +00:00
Olivier Lamy 7d53f8c9cc correctly close index on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140870 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 22:19:47 +00:00
Olivier Lamy d7f0f91636 [MRM-1478] Enable DB caching
Submitted by Maria Catherine Tan
patch applied with modifications

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140869 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 22:19:30 +00:00
Brett Porter a5c5d53fa1 [MRM-1335] improve the message appearing when an artifact's metadata is incomplete
Submitted by: Greg Michael Meneses

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140473 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 08:05:07 +00:00
Brett Porter 2db95ef56d [MRM-1324] repository statistics report doesn't appear to be working correctly
Submitted by: Greg Michael Meneses



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 06:44:30 +00:00
Olivier Lamy c03b07252e be able to try selenium tests by group
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140310 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:48:32 +00:00
Olivier Lamy c4234aa1bf fix selenium test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:48:16 +00:00
Olivier Lamy 478506f9ef add dependency to oro as it's optionnal in commons-validator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140237 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:49:42 +00:00
Olivier Lamy 1eeba6ab68 cleanup test as link with id not here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138590 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 19:16:22 +00:00
Olivier Lamy 48e840bcb4 fix links on left menu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138491 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 14:47:27 +00:00
Olivier Lamy 8ae8adccb9 NexusRepositorySearch is not thread safe so use scope prototype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:14:17 +00:00
Olivier Lamy 8095a5ff97 continue work on selenium test with id rather than label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:49 +00:00
Olivier Lamy a26b625c43 push more work on selenium test using id rather than labels
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138081 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 16:40:39 +00:00
Olivier Lamy feb736e529 not use default tomcat port as can't create port allocation issue on ci server
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137942 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 10:33:18 +00:00
Olivier Lamy da2bc3902d no need of cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137941 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 10:32:16 +00:00
Maria Odea B. Ching c8617ac77e o fixed npe in dependency tree on artifact browse by adding the nodevar attribute dependencytree page
o removed PlexusTagUtil and lookup the dependency tree component in the tag using the webappcontext


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137917 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 09:21:10 +00:00
Olivier Lamy 2c18ad9781 use Integer.valueOf rather than new Integer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137821 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:20:24 +00:00
Olivier Lamy 2bab67755e fix locale dependant tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137818 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:54 +00:00
Olivier Lamy 8715b0a767 satrt fixing some selenium to not be locale dependant only use id
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137817 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 23:03:37 +00:00
Olivier Lamy 41a9446b4b start working on use id in selenium test rather than text which make tests locale dependant
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137718 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 17:51:46 +00:00
Olivier Lamy c3af85436f ensure starting unit tests with clean configuration to prevent sporadic failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137376 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 15:07:34 +00:00
Olivier Lamy 701a06014a headless profile already exist
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137029 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:18:28 +00:00
Olivier Lamy 85bf1da66b add xvfb profile to be able to run selenium test on a headless machine
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137020 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 20:59:47 +00:00
Olivier Lamy f23144e02f ugly display stack trace in selenium tests to know why it failed on asf jenkins in ubuntu slave
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137019 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 20:59:36 +00:00
Olivier Lamy 3ebb3f35d1 add configuration for tomcat6 for cargo and made it default, add some test around forcing locale via request_locale=en_US but still failed :-(
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136916 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 15:52:41 +00:00
Olivier Lamy a784ace80c upgrade default 5.x tomcat version to 5.5.33
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136683 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 21:07:14 +00:00
Olivier Lamy 5fd154909b add a tomcat6 profile
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136682 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 21:07:03 +00:00
Olivier Lamy 51abce7789 make selenium mojo version configure and add a chrome profile
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136498 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 15:54:24 +00:00
Maria Odea B. Ching 969e7fb37f [MRM-1411] project information is missing if a POM could not be read correctly
o for snapshot artifacts, get the timestamp and build number first from the metadata in the remote repo before proxying the actual parent pom 
o added unit tests, removed checksums and other test files that are not necessarily used


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136424 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 13:12:22 +00:00
Brett Porter ea6a0644af remove more old test files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136335 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 09:13:01 +00:00
Maria Odea B. Ching 08c60ff557 added spring-context-test dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136286 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 03:56:18 +00:00
Maria Odea B. Ching 2a686f4089 exclude banned dependencies from redback dependencies in archiva-security module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136283 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 03:52:42 +00:00
Olivier Lamy 3875bf1f0f upgrade cargo plugin to 1.1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136208 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:38:13 +00:00
Olivier Lamy c2a4cc53da move cargo port to a property and selenium plugin version to pluginManagement section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136207 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:38:02 +00:00
Olivier Lamy 9d2be26c55 fix it run
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136195 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:15:24 +00:00
Olivier Lamy 84ef692a11 ensure we don't have anymore proxy connectors for this unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136176 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 20:24:50 +00:00
Olivier Lamy a54f72b741 fix DependencyTreeTest in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136124 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:11:17 +00:00
Olivier Lamy 7b2233965f a little of help regarding memory in webdav unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136121 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 16:57:39 +00:00
Olivier Lamy b3603c5c43 back to maven2 api for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136082 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:30:53 +00:00
Olivier Lamy aefe91d87c back to forkMode once for webdav module : faster build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:37:52 +00:00
Olivier Lamy 26665cb8ea cleanup archivaConfiguration before new test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136005 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:54:15 +00:00
Maria Odea B. Ching 1af82ff7d8 use getBasedir() in FileUtil in archiva-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135993 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:03:10 +00:00
Maria Odea B. Ching 90df2242ac added missing @Inject
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135973 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 09:25:15 +00:00
Olivier Lamy e75bb63a99 fix junit BrowseActionTest and RepositoriesActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135814 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:46:04 +00:00
Olivier Lamy 0ddd97bda1 fix junit RssFeedServletTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135766 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:58:02 +00:00
Olivier Lamy b65800bd86 fix junit DeleteArtifactActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135761 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:32:27 +00:00
Olivier Lamy 6080960325 fix junit BrowseActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135711 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 17:24:30 +00:00
Olivier Lamy e1d9dfbee5 fix junit GenerateReportActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135696 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:51:45 +00:00
Olivier Lamy d36818c0fe fix junit ShowArtifactActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135689 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:39:58 +00:00
Olivier Lamy 0f21fce9ac fix junit RepositoryGroupsActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135597 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:20:33 +00:00
Olivier Lamy ef36672d5f fix junit EditRemoteRepositoryActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135596 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:19:15 +00:00
Olivier Lamy 98f74f984a fix SortProxyConnectorsActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135589 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:15:52 +00:00
Olivier Lamy 2aa8c3c35a fix unit test EditOrganizationInfoActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135554 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 13:17:27 +00:00
Olivier Lamy c89214ef07 fix OrganizationInfoActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135519 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:20:20 +00:00
Olivier Lamy 80c3274cd3 fix sonar issue : Inefficient use of keySet iterator instead of entrySet iterator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135410 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:48:36 +00:00
Olivier Lamy 413d9e641b fix sonar issue : Double assignment of field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135408 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:46:07 +00:00
Olivier Lamy c19e95ffc1 fix more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135332 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:35:36 +00:00
Olivier Lamy 4db8075bc6 fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135326 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:23:33 +00:00
Olivier Lamy 44629e35f6 fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135325 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:23:14 +00:00
Olivier Lamy fcf4879734 fix more test in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135307 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:50:10 +00:00
Olivier Lamy 1638ae466c fix junit ProxyConnectorsActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135304 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:49:32 +00:00
Olivier Lamy 48ba62c363 simplify/boost unit tests with loading a smaller container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:55 +00:00
Olivier Lamy 9bc2b8ae00 fix junit : cleanup ProxyConnectors before each tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135265 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:37 +00:00
Olivier Lamy e318df26fc fix junit : ensure file from previous test is deleted, cleanup connectors before/after each tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135264 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:20 +00:00
Olivier Lamy 748a97c62f fix junit for RepositoryServletProxiedMetadataLocalOnlyTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135187 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 17:27:17 +00:00
Olivier Lamy 1a5b1ab654 forkMode always in webdav module to fix a lot of unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135169 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:48:37 +00:00
Olivier Lamy 1d66415cae fix unit test for RepositoryServletProxiedTimestampedSnapshotPolicyTest : call setup and tearDown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135142 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:21:11 +00:00
Olivier Lamy 51abcfbcbb fix unit test for RepositoryServletProxiedPassthroughTest : call setup and tearDown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135141 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:54 +00:00
Olivier Lamy 22ae2288b1 fix unit test for RepositoryServletProxiedMetadataRemoteOnlyTest : call setup and tearDown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:37 +00:00
Olivier Lamy c97525b3b6 fix archiva configuration duplicate remote repos during unit tests for RepositoryServletProxiedPluginSnapshotPolicyTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135113 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:22:15 +00:00
Olivier Lamy 1eacae0de2 fix spring configuration for unit test RepositoryServletSecurityTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135112 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:21:55 +00:00
Olivier Lamy cd73ad4d78 fix junit spring configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 09:00:36 +00:00
Olivier Lamy b55ef5058a fix junit spring configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135059 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 08:24:17 +00:00
Olivier Lamy 4ebc70a0e6 ensure we save the configuration for restarting applicationcontext with httpunit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134960 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:15:17 +00:00
Olivier Lamy 0ad81d8bc6 use slf4j feature to optimise debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134715 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:52 +00:00
Olivier Lamy 877d1d76b4 simplify debug with using slf4j feature with {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134713 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:28 +00:00
Olivier Lamy cd0f9ad6a7 prefer StringBuilder to StringBuffer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134712 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:03 +00:00
Olivier Lamy 2cd4113c6d upgrade sitemesh struts plugin now tomcat:run works
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134679 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 16:01:52 +00:00
Olivier Lamy f9e6895b42 fix unit tets configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134603 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:45:41 +00:00
Olivier Lamy c6b5ed4818 fix some test compilation issues in webapp module : will fix unit later, must compile at least !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134584 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:17:34 +00:00
Olivier Lamy 75ac09e5b5 fix some test compilation issues in webapp module : will fix unit later, must compile at least !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134582 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:55 +00:00
Olivier Lamy 90eed34339 fix some test compilation issues in webapp module : will fix unit later, must compile at least !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:27 +00:00
Olivier Lamy 8d497e8555 move audit plugin to spring annotations : it looks now mvn tomcat:run -Pdev works !!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134378 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:38:49 +00:00
Olivier Lamy 3d2bbcff6c correctly set tccl during sisu init
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134351 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:09 +00:00
Olivier Lamy 45b308aab0 align maven api to use maven 3 version
temporary comment failing dependency tree

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134349 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:37:00 +00:00
Olivier Lamy d9ba2b6814 force spring-jdo version to be used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134348 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:35:58 +00:00
Olivier Lamy 03accd4ffd oups miss to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133953 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:55:58 +00:00
Olivier Lamy c90eea8f1c remove use of plexus-spring all struts actions are spring beans now. Note still have issues with tomcat plugin and sisu bridge which need an urlclassloader
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133928 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:23:21 +00:00
Olivier Lamy 013b9914d8 fix some unit tests setup in archiva-webdav
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 22:12:21 +00:00
Olivier Lamy 1fb61463c8 ensure cleanup datas for other tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133543 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:12:23 +00:00
Olivier Lamy 7d9ef40bf3 fix unit tests in archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133465 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:50:23 +00:00
Olivier Lamy de7890f4a3 fix more unit tests in archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133448 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 15:59:41 +00:00
Olivier Lamy 9b142e861d start fixing spring configuration for unit test in archiva-webdav
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133115 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 17:57:33 +00:00
Olivier Lamy 9c55823b96 fix main compilation in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 16:44:27 +00:00
Olivier Lamy 532dd24896 fix some unit tests initializationError
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1132596 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 11:06:00 +00:00
Olivier Lamy 8ad78e8f02 log when initservers is done
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131451 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 18:01:39 +00:00
Olivier Lamy 0848bc6475 fix some test spring setup for archiva-webdav
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 18:01:22 +00:00
Olivier Lamy dc25b2f5e6 plexus-spring remove , fix test compilation in archiva-webdav
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131428 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 16:30:30 +00:00
Olivier Lamy fa5bd3e98b remove of plexus-spring fix compilation in webdav module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131427 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 16:29:52 +00:00
Olivier Lamy 690f450cc7 remove of plexus-spring : fix archiva-xmlrpc-services/
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131365 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:34 +00:00
Olivier Lamy b917e73f39 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131364 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:09 +00:00
Olivier Lamy b9f10d6e9b remove plexus-spring fix archiva-xmlrpc-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130305 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 21:11:59 +00:00
Olivier Lamy 09292c0037 [MRM-1473] remove use of plexus-spring
fix archiva-rss module



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130146 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:27:46 +00:00
Maria Odea B. Ching 3289f9b03b [MRM-1476] 'Specified key was too long' error during startup when using MySQL databases with UTF8 charset
submitted by Greg Michael Meneses
o set default string length to 255 in jpox config


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129622 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 11:05:07 +00:00
Olivier Lamy 4abee3dd55 [MRM-1473] remove use of plexus-spring
start working on archiva-core-consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129114 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:20:18 +00:00
Olivier Lamy 5b69ca4fd3 remove use of plexus api (Initializable phase)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128918 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:17 +00:00
Olivier Lamy 789083836c [MRM-1473] remove plexus-spring use
replace plexus-quartz with spring-quartz



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128404 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:26:26 +00:00
Olivier Lamy 1788eb54c4 [MRM-1473] remove use of plexus-spring
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Olivier Lamy 4f0e657361 fix compilation failure now we use standard java.util.concurrent.*
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127588 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 17:23:51 +00:00
Olivier Lamy 971dcc2f35 [MRM-1473] remove use of plexus-spring
move archiva-repository-layer to full spring



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127555 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:31:30 +00:00
Maria Odea B. Ching af0ae64f42 [MRM-1475] Add proxy connector is broken
submitted by Greg Michael Meneses
o removed id attribute in struts property tag in proxy connector form which was removed in struts 2.1.x
o added selenium test for add proxy connector


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 08:37:00 +00:00
Olivier Lamy 02b4b8d6af [MRM-1473] remove use of plexus-spring
start with archiva-configuration and archiva-policies



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +00:00
Olivier Lamy c96411890a [MRM-1473] remove use of plexus-spring
start some changes on archiva-configuration and archiva-security

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125142 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 22:20:55 +00:00
Brett Porter c6eac0e151 [MRM-1474] workaround url path mapping problems that rewrites HTML and doesn't detect the path in JavaScript
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1124691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:43:31 +00:00
Olivier Lamy 9221d0e629 doh I have been to fast about excluding plexus-spring : need more job
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1124329 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:28:58 +00:00
Olivier Lamy 9553d302b1 fix 1.5 compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1104563 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 21:18:14 +00:00
Olivier Lamy 874aef16be fix compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103902 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:27:12 +00:00
Olivier Lamy b781d2f5f7 update plexus-spring groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Maria Odea B. Ching a5ec5dddc6 merged -r1102210 from 1.3.x branch (MRM-1469)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1102235 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 10:30:23 +00:00
Maria Odea B. Ching 29fae1ed8d [MRM-1468] added validation for adding a managed repository via xmlrpc + unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100956 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:00:12 +00:00
Brett Porter adcdfcf3bf [MRM-1472] some cleanup based on Olivier's comments on the dev list to clarify how to get the tomcat plugin running
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 14:22:41 +00:00
Maria Odea B. Ching 3f96b9c2b6 fixed compile failure in test after upgrade of compiler plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100144 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 09:20:55 +00:00
Wendy Smoak 480eaee429 [MRM-1472] Maven configuration to enable mvn -P dev tomcat:run from the top of the project. Includes moving the application.xml file. Submitted by: Olivier Lamy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099827 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 14:42:00 +00:00
Maria Odea B. Ching 39ecffa064 fixed cause of selenium test failure from merge in -r1099425
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099671 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 03:03:06 +00:00
Maria Odea B. Ching 8fd13f6d0a merge -r1098897 from 1.3.x branch (MRM-1468: Fix XSS vulnerability in Archiva, patch submitted by Marc Jansen Tan Chua)
additional changes:
o added a factory for action validator manager since ObjectFactory.setObjectFactory(..) was removed in struts 2.1 so the unit tests for validation would work
o fixed conflicts

TODO:
o fix some failing selenium tests due to error 500


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099425 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 12:03:29 +00:00
Jevica Arianne B. Zurbano d72ee0c68b [MRM-1470] Ability to add a repository relative to Archiva's appserver.base without knowing it's filesystem location
* applied patch

Submitted by: Maria Catherine Tan



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1097776 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 11:30:08 +00:00
Brett Porter 6566bcaa5e [MRM-1111] fix xpath after reverting to default freemarker templates
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091636 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:28:45 +00:00
Brett Porter f004a7a129 don't attempt to delete staging repository if it isn't there
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091635 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:27:48 +00:00
Brett Porter 51b1e5e8a3 cut-and-paste error
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091634 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:19:27 +00:00
Brett Porter c2e2076916 [MRM-1111] fix xpath after reverting to default freemarker templates
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091633 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:08:42 +00:00
Brett Porter 1b9d78a769 give Cargo some more memory to run the application
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091632 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:05:17 +00:00
Brett Porter e064cd7f67 accidentally merged Selenium tests that test functionality no longer there
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091631 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:03:54 +00:00
Brett Porter 05d32a4578 [MRM-1111] upgrade to Struts 2.1.8.1 - add missing unit testing code to 2 actions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091476 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:39:17 +00:00
Brett Porter 5b9f93dbe9 [MRM-1111] use default template and caching mechanism now. Old templates were omitting any text from hyperlinks.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091473 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:36:18 +00:00
Brett Porter 465c52bdca [MRM-1111] accommodate that Struts no longer populates the parameters from the action mapping
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091440 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 14:57:09 +00:00
Brett Porter 86ed5afc5c [MRM-1111] upgrade to Struts 2.1.8.1
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter 58d905941b [MRM-1480]/[REDBACK-274] (CVE-2011-1026)
o upgrade to redback 1.2.8-SNAPSHOT
o configured struts2's token interceptor + use of <s:token> in affected actions to prevent CSRF issue
[MRM-1460] added selenium tests for CSRF fixes in affected pages
Merged: r1066067:1091313


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091315 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 07:16:34 +00:00
Brett Porter 76289acb8d rename metadata-repository-file to metadata-store-file for consistency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086590 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:13:37 +00:00
Brett Porter 076a33f877 [MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Maria Odea B. Ching 28a0b59676 [MRM-1461]
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Maria Odea B. Ching 11f0262cdc [MRM-1453] fixed decimal format to US locale so test wouldn't fail on other locales
submitted by Mark Struberg


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064737 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 15:41:06 +00:00
Maria Odea B. Ching fc3b5a9fa1 [MRM-1452] add ability to delete contents of a repository via xml-rpc
submitted by Maria Catherine Tan


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064444 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 03:19:09 +00:00
Jevica Arianne B. Zurbano 55d4b5c3af [MRM-1451] NPE when merging through XMLRPC
* applied patch

Patch Submitted by: Maria Catherine Tan
* passed metadataRepository instead of null during merge



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064082 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 11:17:18 +00:00
Brett Porter 23a09c2024 [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
- updates to other mock repositories

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +00:00
Brett Porter bf3058dbeb [MRM-1327] save changes after metadata is added / removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053779 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:14:52 +00:00
Brett Porter 8c5de76d3b Customise settings so that you can debug the cargo instance, and show tests to output as they progress
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053778 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:05:58 +00:00
Brett Porter 6ff9147139 [MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter f56609efad [MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter a44b2ac9dd cache has moved to a different spring ID - use the default one from the archiva-policies module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052163 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:18:17 +00:00
Brett Porter 091ebb7aea avoid exception if the scheduler never started
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052162 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:15:17 +00:00
Brett Porter 34638d4e67 clean up the "TODO" list, and mark those that are more important as "FIXME"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter 5ce9fd5025 [MRM-1445] disable referrer check by default
Merged from: r1049409


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049410 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:04:59 +00:00
Brett Porter 458e11fd33 correctly acknowledge September 19
Image is derived from http://commons.wikimedia.org/wiki/File:Piratey,_vector_version.svg, which is in the public domain
Merged from: r1043948



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1043969 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 14:02:45 +00:00
Brett Porter 59bc6aa509 fix title, as it is showing amount used, not free
Merged from: r1042714


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042715 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:41:05 +00:00
Brett Porter 5285d77732 [MRM-1440] add current time as well, for comparison when troubleshooting captured results
Merged from: r1042711


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042712 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:34:52 +00:00
Brett Porter 6b58a6c15c status page tweaks
Merged from: r1042700:1042702


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042704 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:25:19 +00:00
Brett Porter 98d9fea131 [MRM-1442] track time spent in each consumer during a scan, to help diagnose poor scanning performance
Merged from: r1042689


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042695 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:03:02 +00:00
Brett Porter 9565cefd5b [MRM-1440] correct incorrect package name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042690 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 15:57:12 +00:00
Brett Porter 6897c1f68a [MRM-1441] add repository scanning details to system status page
Merged from: r1042633


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 14:09:28 +00:00
Brett Porter c795a64c84 [MRM-1440] add a system status page
Merged from: r1042625:1042631


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042646 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 13:58:34 +00:00
Maria Odea B. Ching bc56d6353c [MRM-1097]
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created 
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem) 
o updated unit tests with changes made


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Brett Porter 0452f87c94 slight logging adjustment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038916 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:23:21 +00:00
Brett Porter 8e9ef5cb4a small grammar fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038903 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 03:38:05 +00:00
Maria Odea B. Ching 031f607b73 [MRM-1303] fixed npe in delete artifact + unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1031518 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 11:22:06 +00:00
Maria Odea B. Ching 421229b886 o fix bug when checking for conflicting artifacts, compare managed repo & staging repo instead of both staging repo
o added debug logs
o removed alwaysmatcher for test so we can catch the specific values of passed params


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022813 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:58:49 +00:00
Maria Odea B. Ching e01a96d5f4 [MRM-1424] Implement WS for creating stage repository
submitted by Warner Pinero


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1006162 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:48:48 +00:00
Maria Odea B. Ching d35e740ca9 [MRM-1409] web services for repository merge
submitted by Gwen Harold Autencio


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 03:50:04 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Maria Odea B. Ching 9baf9de1ce exclude plexus-spring in redback-struts2-integration as 1.3-SNAPSHOT is being pulled in causing jetty:run to break
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@992227 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 07:52:16 +00:00
Maria Odea B. Ching 7c73d3c9d1 [MRM-1417] add basic managed repository management support on adding repository, deleting repository, and loading repository by id
submitted by Catalino Pineda Jr.

additional modification to the patch:
o added invocation of repo mgnt service methods to sample client


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@987042 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 07:15:58 +00:00
Carlos Sanchez Gonzalez 887786e059 Seconds difference could make test fail, compare date differences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:05:55 +00:00
Jevica Arianne B. Zurbano 8cfd3806cc [MRM-1394] - Replace the use of clickLinkWithText() with getSelenium().open() for accessing navigation menu pages
merge -r 960310:960311 from 1.3.x branch



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@960322 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 11:27:10 +00:00
Maria Odea B. Ching 4664fef366 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o use successful icon in successful delete


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953620 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:27:02 +00:00
Maria Odea B. Ching a72aeb4d5e [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o do not show add property widget if user does not have repository manager role
o added selenium test for browsing metadata if user is not a repository manager


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953612 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:49:48 +00:00
Maria Odea B. Ching f5b6dcb189 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o added css to add property form


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952527 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 03:47:14 +00:00
Maria Odea B. Ching a15932eb45 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o updated selenium test for deleting metadata
o added selenium tests for adding generic metadata property


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:56:57 +00:00
Maria Odea B. Ching a1cfde68ae fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952141 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:45:18 +00:00
Maria Odea B. Ching f4732a184a fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:20:58 +00:00
Maria Odea B. Ching f36029359a [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o allow only users with repo manager role to add & delete metadata content
o add archiva-add-metadata and archive-delete-metadata permissions 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952136 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:15:53 +00:00
Maria Odea B. Ching 8891e9fdd2 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o removed project metadata custom tag
o enable delete of generic metadata properties
o added unit tests for adding and deleting properties
o clear facet properties read from file before doing the update so that removed facet properties are not retained when updating project version metadata


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952127 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:40:26 +00:00
Jevica Arianne B. Zurbano a946c2e933 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951347 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 09:51:45 +00:00
Maria Odea B. Ching 652118afbd fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951294 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 06:32:22 +00:00
Maria Odea B. Ching a82088bc3f [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o added validation for adding new properties


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951287 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 05:50:17 +00:00
Maria Odea B. Ching 1794af3da5 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o added new facet for generic properties
o display correct metadata in Metadata tab
o add new properties to metadata from UI


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951239 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:11:25 +00:00
Jevica Arianne B. Zurbano 2ee860c6a0 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
* added mailingLists, licenses, and dependency in test artifact's pom
* added Selenium test for delete of metadata properties (mailing list, dependency, and license)



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948793 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 11:54:24 +00:00
Jevica Arianne B. Zurbano da6e920101 [MRM-1362] [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
* added delete of mailing list, dependency, and license entries



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948707 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 07:45:06 +00:00
Maria Odea B. Ching a6063601a8 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
move closing of the list item inside if condition


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947906 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 03:50:26 +00:00
Maria Odea B. Ching 2d781734b6 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o move out util for formatting project metadata to a custom tag
o do not show metadata section name (organization, issueManagement, ciManagement, scm, dependencies, mailing lists, licenses) when they are empty


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947591 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 10:29:58 +00:00
Jevica Arianne B. Zurbano 8d7216a00e added selenium test to check the artifact page tabs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947039 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 15:29:49 +00:00
Jevica Arianne B. Zurbano ef8f63a5ac [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
* modified display of project metadata; added util to format the metadata for display
* modified format of mailing lists in "Mailing List" tab using the previous format of the mailing lists in "Project Metadata"



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947020 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 14:22:15 +00:00
Maria Odea B. Ching bf7d9bb135 merge -c 946618 from 1.3.x branch (MRM-1066)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946631 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:39:44 +00:00
Maria Odea B. Ching 4721ffeaab fixed missing closing tag
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946110 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 10:35:24 +00:00
Jevica Arianne B. Zurbano 71f252b734 [MRM-1125] - default search should be AND not OR for multiple keywords
* applied patch
* added additional unit and selenium tests for quick search

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Maria Odea B. Ching d0835d9b5c merged from 1.3.x branch -r942765 (MRM-621)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@942796 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 15:44:50 +00:00
Maria Odea B. Ching 8f4f8c83e9 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o action methods for updating and retrieving metadata properties
o updated struts config for getting project metadata
o added page for metadata in webapp artifact browse
o added test for getting project metadata


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940775 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 08:54:00 +00:00
Maria Odea B. Ching 47847c95c1 moved getMetadataFile inline
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940398 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:49:48 +00:00
Maria Odea B. Ching 76502a997d revert consumer name which was accidentally changed in commit -r940163
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940396 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:41:42 +00:00
Maria Odea B. Ching ced10f5fa5 [MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
merge -c 930528 from 1.3.x branch with some tweaks in the unit and selenium tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940163 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 06:13:08 +00:00
Marecor M. Baclay 45db0bf072 [MRM-1276] Selenium tests need a clean up
- removed the unnecessary commented out lines
- modified LoginTest to use the methods in abstract class



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933824 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 01:02:19 +00:00
Maria Odea B. Ching dda469036d [MRM-1372] Outdated instruction for Maven and JUnit still in ReadMe.txt for selenium tests
submitted by Patti Arachchige Eshan Sudharaka
o remove instruction for running pom in src/test/it


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 06:55:01 +00:00
Marecor M. Baclay 713c937982 [MRM-1276] Selenium tests need a clean up
- added license to AbstractArtifactManagementTest class



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931478 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:29:51 +00:00
Marecor M. Baclay ddeaa798b6 [MRM-1276] Selenium tests need a clean up
- fixed poor formatting in the source code (tabs, etc) following the Maven Code Style



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:27:05 +00:00
Marecor M. Baclay 45100a8806 [MRM-1276] Selenium tests need a clean up
- used getSelenium().open() instead of clickLinkWithText



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931081 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 10:48:51 +00:00
Marecor M. Baclay b60226f360 [MRM-1276] Selenium tests need a clean up
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 06:16:30 +00:00
Marecor M. Baclay edf2cd3a40 [MRM-1276] Selenium tests need a clean up
-transferred the contents of src/test/it-resources to src/test/resources



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@928992 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 05:23:07 +00:00
Marecor M. Baclay 286a4ee97e - replaced the missed hardcoded value with the value in the property file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925151 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:20:14 +00:00
Marecor M. Baclay 8d9c3f7613 - modified the scripts to use a property file(testng.properties) for dotnet artifact's groupId, artifactId and version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925149 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:13:31 +00:00
Marecor M. Baclay ac57eadd48 [MRM-1323] archiva webapp tests failed to run in internet explorer
Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924673 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 09:25:09 +00:00
Brett Porter 2e9c35d4aa [MRM-1329] Start to revise Javadoc of APIs
- additionally, add projectVersion to the ArtifactMetadata so that the full coordinate is available.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@923520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:21:13 +00:00
Brett Porter 3387b53fca remove dependency on repository-layer from audit module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00
Brett Porter 51acb7acd7 remove dependency on repository-layer from repository-statistics module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921791 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:39:33 +00:00
Brett Porter 5c18f8b344 [MRM-1359] add tests for legacy format translation in WebDAV and other Maven 1 repository notes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921789 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:34:42 +00:00
Brett Porter a7238c5eb0 [MRM-1361] add support for NPanday artifact types. Currently requires some hard coding into webapp and tests, but removing the plugin from the webapp would safely disable the functionality.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921687 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:43:23 +00:00
Brett Porter 5761f19b58 [MRM-1360] move type population into Maven 2 plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921686 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:33:02 +00:00
Brett Porter 956d8d45d3 allow to run in jetty:run again
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921646 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 00:29:49 +00:00
Brett Porter 2211cb809d [MRM-1360] move type population into Maven 2 plugin
- correct problem with test case

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921228 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:27:51 +00:00
Brett Porter 3bdb27b8a0 [MRM-1282] implement maven metadata for artifacts and remove legacy code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921196 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 00:42:44 +00:00
Maria Odea B. Ching 3deb0ee356 o update artifact groupId/artifactId to not use "test" term for uploaded artifacts not used for search test
o added note in readme file to avoid using the term "test" in artifact namespace when writining new add/upload artifact test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920773 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:23:57 +00:00
Brett Porter ce3d47689a [MRM-1283] improve test for when the metadata is later used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 09:36:48 +00:00
Brett Porter cd9c1097d1 [MRM-1282] start to implement maven metadata for artifacts, splitting from existing sources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 08:00:25 +00:00
Brett Porter af2a929978 [MNG-1301] remove the problem reports dependency on the repository layer, start to migrate path parsing into metadata API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920649 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 04:24:32 +00:00
Brett Porter 49eab5d3da remove unneeded commented out functionality
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 06:13:09 +00:00
Brett Porter 62b97751fb always output the HTML anyway
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@919326 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 07:59:47 +00:00
Brett Porter e521a959c5 [MRM-1356] handle chunked / unknown length requests correctly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@919307 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 06:09:53 +00:00
Brett Porter e4c8856490 [MRM-1355] merge test for audit log username setting from branch, with adjustments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918887 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 08:21:21 +00:00
Brett Porter 6418e7926c another note about Windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918764 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:21:12 +00:00
Brett Porter 76fa406159 add a note about popup blockers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918759 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:10:29 +00:00
Brett Porter 3b18981b51 [MRM-1323] run tests with applet disabled to avoid warnings popping up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918745 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:42:46 +00:00
Brett Porter 1dc20b01ac update readme
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918712 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 21:51:41 +00:00
Brett Porter 09f8d89c57 improve logging of failed uploads
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@917519 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 13:35:38 +00:00
Brett Porter 31891b80e4 [MRM-1302] add some prevention for concurrent modification of a list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@917398 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:56:12 +00:00
Maria Odea B. Ching 4cb99823a0 [MRM-1312] mda5 and sha are not generated for snapshot jars
merge from 1.3.x branch -r916197 with a few tweaks in variable name in UploadArtifactTest to resolve conflict


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@916217 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:14:17 +00:00
Brett Porter be6cebcd52 avoid logging to /logs in the tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910535 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 14:30:27 +00:00
Brett Porter 199a251293 [MRM-1304] fix group ID handling for branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910396 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 05:07:20 +00:00
Brett Porter b0bf4f1689 correct test due to changed behaviour in audit log
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910393 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 04:27:33 +00:00
Brett Porter 23de2a49fb check user is logged in at end of test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910389 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 03:57:37 +00:00
Brett Porter 4903f8dd2d Merged /archiva/trunk:r909071-909464
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909470 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 15:53:49 +00:00
Brett Porter 20c60cb1c1 [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)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909454 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 15:20:38 +00:00
Brett Porter 5bb1dbf6f2 merge -r909422:909434 from trunk to fix Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909436 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:47:09 +00:00
Brett Porter be5981bf16 fix the audit log tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909433 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:42:33 +00:00
Brett Porter 951639dec3 ensure delete tests continue working if earlier ones have failed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909423 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:21:45 +00:00
Brett Porter 531994a74c use correct path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909422 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:18:59 +00:00
Brett Porter e295629858 merge -r909353:909402 from MRM-1025 branch, fixes for Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909410 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:47:29 +00:00
Brett Porter 378090d198 make sure we always use a valid path in the upload form
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909402 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:36:08 +00:00
Brett Porter d9f7a94c04 fix adjusted value
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909394 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:13:03 +00:00
Brett Porter 1e4e84e15e make paths work on windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909393 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:12:13 +00:00
Brett Porter c63e762e55 avoid black screenshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909376 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 12:04:36 +00:00
Brett Porter b8cee9b0ef move to using a non-suite-xml as it's the only way to run the exclusion without making multiple copies
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909372 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:57:15 +00:00
Brett Porter 21a6867fd6 remove comments no longer relevant
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909356 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:05:24 +00:00
Brett Porter b5ebb3a6d3 enable tests that only work on firefox, conditional on the firefox profile
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909354 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:02:02 +00:00
Brett Porter 96fb5280ef Merged /archiva/trunk:r899478-909070
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909202 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 01:43:19 +00:00
Maria Odea B. Ching bfe9d3b48d [MRM-1316] audit log report does not restrict events to repositories that you are a manager of
o filter the results and show only actions performed on repos which the user has access to
o added selenium test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@905996 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 11:11:06 +00:00
Maria Odea B. Ching 1d8d52338c fixed failing selenium tests by:
o adding check if already in the page before attempting to click the link in nav menu
o adding dependency to previous test for adding repository so proper order is executed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@905969 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:14:31 +00:00
Brett Porter e35a35c8f0 [MRM-1025] remove database related Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900833 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 16:25:11 +00:00
Brett Porter 93f9e26408 [MRM-1269] restore pseudo-search by artifact in audit logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900726 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:21:10 +00:00
Brett Porter 70fc5323d6 [MRM-1316] restrict audit log report to repositories that you are a manager of
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900696 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 08:15:44 +00:00
Brett Porter 06a035aacd [MRM-1282] clean up edit test, note that a location change does not delete audit events
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900692 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:45:04 +00:00
Brett Porter 0e58834406 [MRM-1282] ensure repository metadata is deleted when repository is
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900685 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:29:54 +00:00
Brett Porter 640d3436f6 [MRM-1296] improve audit logging and testing of upload action
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900683 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:17:02 +00:00
Brett Porter 606c82cbca merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter 1f180c0a27 [MRM-1315] delete artifact should log artifact audit information consistently
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900594 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 22:51:27 +00:00
Brett Porter f90bb19efe restore versions on trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@900345 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 11:20:28 +00:00
Brett Porter 3411845c6b [maven-release-plugin] prepare release archiva-1.3.x
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@900342 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 11:09:37 +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 1f1252456a [MRM-1283] keep track of incomplete metadata so that it can self correct and show a meaningful message to the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893691 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:02:11 +00:00
Brett Porter 79de06cf3e [MRM-1283] propagate errors occurring during resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 02:40:57 +00:00
Brett Porter 9076b869b3 [MRM-1283] collapse groups properly across multiple repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893683 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 01:58:25 +00:00
Brett Porter 7a2047d3fe [MRM-1282] add some logging with regard to namespaces and resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 10:34:07 +00:00
Brett Porter efd9d33b06 [MRM-1282] add some notes about snapshot handling in light of the new getArtifacts method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892806 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 12:58:42 +00:00
Brett Porter e4c08941e9 [MRM-1285][MRM-404] preserve correct ordering in download box
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892778 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 11:48:08 +00:00
Brett Porter 2a2fb9d321 [MRM-1285][MRM-404] improve appearance of the downloads box and correct handling of snapshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892774 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 11:42:47 +00:00
Brett Porter 1f633d5244 [MRM-1285][MRM-404] improve appearance of the downloads box and correct handling of snapshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892772 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 11:34:37 +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 b3f877554f [MRM-1306] upgrade jQuery and jQuery UI versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:04:42 +00:00
Brett Porter bc6ca302ad [MRM-1025] remove straggling references to old JNDI name
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891457 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 22:25:29 +00:00
Brett Porter 23d65a33f6 [MRM-1025] remove JPOX from the model and remove the Archiva database configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891133 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:44:32 +00:00
Brett Porter 966d79546d [MRM-1025] remove artifact deletion and update consumer. remove archiva-database module
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:18:33 +00:00
Brett Porter 7e6661a58a [MRM-1301] fix the statistics report page
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891116 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:03:43 +00:00
Brett Porter 63e3253e79 [MRM-1301] add back summary statistics for per-type counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891113 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 03:47:02 +00:00
Brett Porter 0960c24cfb [MRM-1301] add back summary statistics for various counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 02:25:42 +00:00
Brett Porter 0f4bec3049 [MRM-1301] add back problem reporting for invalid / missing POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:38:50 +00:00
Brett Porter 4331620db6 [MRM-1301] migrate reports to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891064 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:07:36 +00:00
Brett Porter 7da14962fa [MRM-1301] remove exception that is thrown and caught here only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889260 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 13:42:22 +00:00
Brett Porter 3c590e4a5c Merged /archiva/trunk:r888397-889227
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889240 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:44:58 +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 5e5764c8a0 [MRM-1025] remove constraint that is no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889205 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:41:18 +00:00
Brett Porter 9b2c646f75 [MRM-1300] move search and find artifact action over to metadata repository for XMLRPC
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889203 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:36:51 +00:00
Brett Porter a08431ea1a [MRM-1300] move search and find artifact action over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 08:22:22 +00:00
Brett Porter 2c63e15d42 [MRM-1282] make artifacts load metadata on the fly from a maven2 repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889083 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:16:11 +00:00
Brett Porter db5b5be329 [MRM-1283] change the DownloadArtifact tag to not use the database
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889051 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:33:30 +00:00
Brett Porter 99765460e0 [MRM-1299] migrate RSS from the database to the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:08:21 +00:00
Brett Porter add8678ac5 [MRM-1025] remove more now unused database code
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888625 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:20:34 +00:00
Brett Porter 4ea422a9d1 remove unnecessary dependency on commons-lang
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888603 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:31:37 +00:00
Brett Porter ebaee33d1e Merged /archiva/trunk:r887040-888396
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888427 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:09:13 +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
Brett Porter b0304e08c3 [MRM-1293] remove RepositoryContentStatistics in favour of new repository-statistics module and adjust reporting action. Note that data population is still required to complete this issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888325 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:14:14 +00:00
Brett Porter 06f9863c47 [MRM-1293] remove unused stubs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888252 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:13:44 +00:00
Brett Porter 639b5e1df2 [MRM-1293] remove use of repository content statistics from the managed repository deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:04:03 +00:00
Brett Porter 2a3f4b76be [MRM-1293] remove use of repository content statistics from the managed repository deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888245 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:02:18 +00:00
Brett Porter 1dad23aaf3 [MRM-1293] adjust the EditManagedRepositoryAction to delete statistics when the repository location changes.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888185 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:27:58 +00:00
Brett Porter 7c7fffc71c [MRM-1293] introduce repository statistics as a new plugin that operates over the metadata repository. Currently a work in progress - repository size statistics are not stored, and only the scanner and scheduler have been hooked in (meaning reports will be out of date)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888164 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 22:32:10 +00:00
Brett Porter 8afc66c9d2 [MRM-1025] remove old references to stub
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887918 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 13:03:36 +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 9ff4303708 fix incorrect merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887053 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 04:22:20 +00:00
Brett Porter 521bb63ade Merged /archiva/trunk:r885006-887039
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887043 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 03:00:22 +00:00
Brett Porter 2ee251d807 [MRM-1293] minor cleanup of unused fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886676 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 04:25:43 +00:00
Brett Porter fc37f62c5c formatting only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886673 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 04:20:59 +00:00
Brett Porter 94ece43b50 [MRM-1293] some clean up in preparation for changes to repository statistics
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886669 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 03:36:57 +00:00
Brett Porter 7a63bee6de [MRM-1025] remove project model as this is all now in the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886037 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 02:33:02 +00:00
Brett Porter ab97829db0 [MRM-1025] switch upload action to use the maven-model writer instead
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885817 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:17:48 +00:00
Brett Porter cfabf95ff6 formatting only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885816 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:17:08 +00:00
Brett Porter 52bcd1b58b [MRM-1292] replace the dependency graph by a maven-dependency-tree based implementation (maven-project is not used)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885812 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:01:31 +00:00
Brett Porter e195adc06c [MRM-1025] remove some consumers that don't actually do anything
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885638 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 00:58:28 +00:00
Brett Porter 504f80e6a8 [MRM-1283] updates to reflect new output model format
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885470 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 16:00:57 +00:00
Brett Porter d0aaf12ca1 [MRM-1288] remove RepositoryBrowsing interface that is no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885436 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:38:40 +00:00
Brett Porter 3278cdc8ae [MRM-1288] move quickSearch from repository browsing to metadata content repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885430 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:19:56 +00:00
Brett Porter bfc001b7e1 [MRM-1288] move getArtifactVersions() method to new repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885331 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 04:23:03 +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 2ca1b79844 [MRM-1288] move getDependencies() method to new repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885328 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:50:51 +00:00
Brett Porter 711db6f5af [MRM-1288] correction to adjusted getDependees() test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885326 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:32:58 +00:00
Brett Porter 112223260e clean up some comments that aren't needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885321 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:17:05 +00:00
Brett Porter ff777a898a clean up some comments that aren't needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885320 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:14:40 +00:00
Brett Porter d6c5ea064e [MRM-1288] migrate getDependees() to new API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885319 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:10:40 +00:00
Brett Porter 0caebfc6b6 formatting changes only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885316 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:43:00 +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 9f389a48a0 [MRM-1290] correct hardcoding in getDependees
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885314 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:37:38 +00:00
Brett Porter 75704f4bd0 [MRM-1288] correct test case for missing artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885313 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:33:01 +00:00
Brett Porter c79221c997 [MRM-1283] remove legacy model intermediatary
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 23:39:42 +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 2721d7bf8d [MRM-1283] moved browseArtifact() functionality over to metadata repository and remove repositoryBrowsing component
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885001 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:50:34 +00:00
Brett Porter 043a336aa5 [MRM-1283] moved browseGroup() functionality over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884882 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 14:12:01 +00:00
Brett Porter c5cb5db5c8 [MRM-1283] moved first part of browse() functionality over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884866 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:09:04 +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 453cf94a45 [MRM-1283] add tests for existing browse functionality before migrating to the content repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884741 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 04:00:05 +00:00
Brett Porter 9ca17ec770 [MRM-1283] migrate dependees() / "used by" tab to metadata repository and remove repositoryBrowsing from ShowArtifactAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884727 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 00:16:19 +00:00
Brett Porter cd4c3cb104 [MRM-1283] migrate dependencies() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 11:49:56 +00:00
Brett Porter a9d2d71164 [MRM-1283] migrate dependencyTree() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884425 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 07:05:47 +00:00
Brett Porter bf527dc936 [MRM-1283] migrate mailingLists() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884414 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 06:44:40 +00:00
Brett Porter b28cc66a36 [MRM-1283] add test for existing dependees method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884401 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 05:25:22 +00:00