Commit Graph

724 Commits

Author SHA1 Message Date
James William Dumay 571c96c635 MRM-856 - Artifact Upload replaces all instances of the name "jar" with "pom" when trying to change the file extension
* Use FilenameUtils from commons-io to properly strip the extension



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673284 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 05:18:25 +00:00
Maria Odea B. Ching 61b55ed637 [MRM-810]
-implemented the Auditable for UploadAction
-cleaned up the logging config


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673280 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 05:01:08 +00:00
James William Dumay 6723188061 MRM-853 - HTTP Error 500 when uploading artifact with Windows OS
Submitted by: John Michael Luy



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673277 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 04:53:38 +00:00
Maria Odea B. Ching 1fb861e0db [MRM-851]
removed whitespace in archiva taglib short-name


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673266 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 03:24:30 +00:00
James William Dumay 9f3eadd519 MRM-840 - Wagon HTTP deadlocks under high load
* Reverted back to using wagon-http-lightweight from commons-http based wagon-http



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673257 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 01:28:43 +00:00
Maria Odea B. Ching 207111bebc cleanup some of the rss code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@671856 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 11:12:47 +00:00
Brett Porter f24fb294d7 fix jetty:run
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@669410 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 07:46:51 +00:00
Brett Porter 6d84f3a0a5 POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667751 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:27:11 +00:00
Brett Porter c6a1a4915f set line ending
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667750 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:12:16 +00:00
Maria Odea B. Ching f0299c2f3d removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@664665 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 09:26:41 +00:00
Maria Odea B. Ching d6ddac89f3 [MRM-789]
-added confirmation page before saving a new or updated managed repo if the repo location already exists
-added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@663788 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 23:50:57 +00:00
Brett Porter 621c72cac6 fix wagon scopes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@663491 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 07:34:53 +00:00
Maria Odea B. Ching 0596af879a -reverted -r662662 (validation check against system properties)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@663006 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 06:38:50 +00:00
Maria Odea B. Ching f4ce1aafc2 [MRM-824]
-excluded xalan, velocity-dep, xml-apis, wstx-asl, stax-utils and xercesImpl jars in WEB-INF/lib


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662942 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 01:52:41 +00:00
Maria Odea B. Ching ab0724b375 [MRM-789]
-check if the repo location is referenced as a system property before deleting the contents of the repo


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662662 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 06:22:36 +00:00
Maria Odea B. Ching eb6967d2e6 [MRM-823]
-remove repo in group when repo is removed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@662342 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 06:51:21 +00:00
Maria Odea B. Ching b4f9994165 [MRM-785]
-set success result to go to jsp file instead of redirect to 'upload' action
-clear the form fields before returning to jsp page after upload


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661582 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 07:43:23 +00:00
Emmanuel Venisse 1e82deb132 Fix commons-io scope
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661253 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 08:23:53 +00:00
James William Dumay 03584684d1 Moving RepositoryServlet to its new home in archiva-webdav. Thanks to Brett for helping out with the crazy failing tests.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661174 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 01:49:41 +00:00
Maria Odea B. Ching 67de1cbc3b [MRM-819]
added validation to allow only alphanumeric, '.', '-' and '_' characters for repo group id


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660472 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 11:38:22 +00:00
Maria Odea B. Ching 9afc627e10 removed unused import statements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660426 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 08:39:44 +00:00
Maria Odea B. Ching d7f69544ba [MRM-818]
set a maximum of 100 characters for the length of the repo group id


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660425 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 08:37:20 +00:00
Maria Odea B. Ching a6e8d6158c [MRM-796]
applied patch submitted by John Michael Luy
-fix releases checkbox always enabled


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659460 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:09:02 +00:00
Maria Odea B. Ching a83e5b52a9 [MRM-694]
-add validation check for existing ids for repo groups and remote & managed repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659443 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:18:36 +00:00
Maria Odea B. Ching 1c2d13c01c [MRM-694]
-fixed repo groups page footer


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659392 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 03:09:40 +00:00
Maria Odea B. Ching da7b2445fd [MRM-802]
-display repo group url in repo groups page


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659074 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 10:36:55 +00:00
Maria Odea B. Ching e681872838 [MRM-694]
-return 405 instead of 400 for write request to repo groups


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659071 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 10:18:03 +00:00
Maria Odea B. Ching ac7cb9e9ce [MRM-694]
-fix virtual repo authentication problem


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659069 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 10:02:29 +00:00
Maria Odea B. Ching 39fad53022 [MRM-694]
-handle virtual repos in webdav browse
-add new DavResource for virtual repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658261 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:34:48 +00:00
James William Dumay a42449e3e6 MRM-752 - Trim URL in Remote Repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658219 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 12:33:13 +00:00
Wendy Smoak eb8a8c5f3c Move 'Upload Artifact' to the 'Manage' menu.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657635 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 20:51:05 +00:00
Wendy Smoak 82b51f34ac [MRM-804] Execute the repository content consumers for the uploaded or generated pom file so that artifacts will be available in search and browse immediately after uploading.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657491 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 02:16:42 +00:00
Wendy Smoak 7966bc87ca [MRM-804] Execute the repository content consumers on the uploaded artifact so it will be indexed immediately.
Still need to do the same for the generated or uploaded pom file.


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657485 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 00:46:29 +00:00
Wendy Smoak ea6809bb91 [MRM-810] Log the successful upload. Needs to be fixed to write to audit.log in the correct format instead.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657406 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 17:39:25 +00:00
Maria Odea B. Ching 8adede7e94 [MRM-694]
-perform authentication only in ArchivaDavSessionProvider.attachSession()
-perform authn and authz for each repo in ArchivaDavResourceFactory.createResource()


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657012 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 10:43:16 +00:00
Maria Odea B. Ching 9bf8c6b96b applied codestyle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656928 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 03:02:11 +00:00
Brett Porter db59374ab7 lock down plugin version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656912 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 01:02:49 +00:00
Maria Odea B. Ching c86825783d remove variables that are no longer used in RepositoryServlet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655750 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:48:05 +00:00
Maria Odea B. Ching 7f9c76b0bb [MRM-694]
patch submitted by Napoleon Esmundo Ramirez
-implement virtual repositories in archiva webdav

[made some adjustments in the code because there were changes in the code after the patch was created]


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655749 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:35:24 +00:00
Maria Odea B. Ching 7265732755 [MRM-694]
patch submitted by Maria Catherine Tan
-UI for repository groups 
-test cases for action classes


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655432 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 07:57:06 +00:00
Maria Odea B. Ching 526dd43bd1 [MRM-773]
added autoCreateColumn property for archiva database


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655423 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 06:56:35 +00:00
Maria Odea B. Ching 98c5172b79 [MRM-773]
set response header to 'authenticate' if no username and password were supplied


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655274 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 07:30:52 +00:00
Maria Odea B. Ching e9411ddc81 [MRM-773]
enabled test for new versions of artifact feed (RssFeedServlet)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655237 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 04:22:05 +00:00
Maria Odea B. Ching 0ad838b410 [MRM-773]
-remove archiva-security dependency to xwork-integration


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655233 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:22:48 +00:00
Maria Odea B. Ching d8042e19b0 [MRM-773]
-move servlet authentication code to archiva-security


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655027 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 08:33:57 +00:00
Maria Odea B. Ching 64cb5e1bee [MRM-773]
-use authentication scheme used in RepositoryServlet
-temporarily commented out authentication for new versions of artifacts 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@654479 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 11:27:00 +00:00
Maria Odea B. Ching 94799fd790 [MRM-773]
-update feed link url from the request url
-set query import in ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653999 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 06:09:51 +00:00
James William Dumay 584bd356c2 MRM-781 Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* I broke MRM-440, so this restores that functionality
* Locked down the enforcer plugin version so that Maven does not go looking for it everytime we build


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 15:40:22 +00:00
James William Dumay f889364a39 MRM-781 - Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
* Implemented Webdav properties, including copy/move/delete operations
* Unit tested the DavResourceLocator and DavLocatorFactory implementations (More tests on the way)
* Introduced joda-time dependency todo ISO8601 dates for the dav servlet



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653769 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 13:32:28 +00:00
Wendy Smoak e5de45d6b3 [MRM-774] Allow a POM file to be uploaded along with the artifact.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653190 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 09:09:22 +00:00
Maria Odea B. Ching f781bfffa4 [MRM-773]
-added basic http authentication to rss feed servlet 
-added commons-codec as dependency which is used for decoding the username and password
-updated tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652981 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 02:38:07 +00:00
Maria Odea B. Ching a8bc40dbd4 [MRM-773]
-added the servlet that would handle the rss feed requests
-created tests for the servlet
-removed thrown exception in getSpringConfigLocation() that is being overridden in PlexusInStringTestCase
-updated jsps to the new rss feed urls


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652230 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 02:18:43 +00:00
Brett Porter 9d1f342bc5 fix the tests to operate consistently on all platforms
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@650071 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 10:00:35 +00:00
Brett Porter 7875facb9b [MRM-780] Access to indexes files with a browser is not possible
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649910 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 11:13:55 +00:00
Brett Porter c2c71dd5ec [MRM-781] correct probem with guest account
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649748 13f79535-47bb-0310-9956-ffa450edef68
2008-04-19 03:15:06 +00:00
Brett Porter 3d13eda595 [MRM-694] display the groups in the repositories page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649453 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 10:40:45 +00:00
Brett Porter 558d0c2a4f [MRM-781] Removal of Archiva-Webdav implementation in favor of Jackrabbit-webdav
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649352 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 03:05:18 +00:00
Joakim Erdfelt 92362e9ee3 Replacing plexus-digest with archiva-checksum
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 04:44:17 +00:00
Brett Porter db51c1b590 remove all traces of the Plexus container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 04:58:17 +00:00
Brett Porter e34d718620 remove plexus container dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646630 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 03:32:24 +00:00
Brett Porter f24cdcbd13 remove unnecessary component definitions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646403 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:31:57 +00:00
Maria Odea B. Ching d346a91845 [MRM-123]
-generate/update rss feeds after repository scan
-add rss feed icon in repositories (for new artifacts in repo feed) and in browse artifact (for new versions of artifact feed)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645576 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:50:57 +00:00
Brett Porter dc79f42e3c upgrade plugin version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645393 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 06:22:51 +00:00
Brett Porter 0c2eecde26 [MRM-762] fix incorrect HTML
Merged from: r644297


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644301 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 13:03:47 +00:00
Brett Porter 0dc913b235 [MRM-763] correct incorrect cron expressions
Merged from: r644279


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644282 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 12:31:40 +00:00
Brett Porter 28e54029c0 [MRM-159] should not respond with a 404 if proxying a file results in a remote error
Merged from: r644205, 644275


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644276 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 12:03:54 +00:00
Brett Porter e0b02a1630 [MRM-764] default policies are not selected in the add proxy connector page
Merged from: r644195


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644199 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 07:32:33 +00:00
Wendy Smoak ab7e4fad1d [MRM-532] Display the value of the index directory and allow it to be edited through the web interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644150 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 03:35:04 +00:00
Maria Odea B. Ching 545b41143c [MRM-123]
-use rome for the rss feeds
-added the rss feed generator


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@643826 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 10:01:50 +00:00
Brett Porter a49a0f2863 fix the version handling since the group ID change, and simplify in the process
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642863 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 03:25:25 +00:00
Brett Porter b657be4b49 use the date for logging, and remove the obsolete console appender
Merged from: r642856


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642858 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 02:25:32 +00:00
Brett Porter 9e3f8b3531 [MRM-725] make path handling compliant with the specification. This corrects a problem on websphere
Submitted by: Steffen Grunwald
Merged from: r642827


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642828 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 22:26:18 +00:00
Brett Porter 4a2cf8553f [MRM-755] set the right MIME type for POMs
Submitted by: Stefan Prange
Merged from: r642824


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642825 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 22:08:29 +00:00
Brett Porter a05f42cc0e restructure according to discussion on the dev list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 03:09:22 +00:00