Commit Graph

2928 Commits

Author SHA1 Message Date
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 8b7e75cc71 [MRM-694]
-fix index writer sorting for virtual repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659397 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 03:49:59 +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 67b49a5fdd [MRM-694]
-handle problem with the missing '/' in the repository group url


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658528 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 01:54:13 +00:00
Maria Odea B. Ching 0f07e0019f [MRM-694]
-put authorization check for virtual repos


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@658525 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 01:39:40 +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 c65b10563e [MRM-773]
-query only versions of artifacts with whenGathered != null
-created test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656552 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 08:46:12 +00:00
Maria Odea B. Ching 65a63b95ec [MRM-773]
-fix the publish date of the rss entries
-remove if condition in RepositoryContentConsumers.getStartDate()


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656516 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 06:20:45 +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 2add3e0bce [MRM-773]
-return false if not authorized


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655254 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 06:17:32 +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
James William Dumay 09477b72a9 MRM-781
* Tests for RepositoryPathUtil
* Remove itcould webdav readme


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653748 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 11:32:22 +00:00
Maria Odea B. Ching e85deb992e [MRM-773]
-set limit date of artifacts to be included in the feed (new artifacts in repo)
-created test for ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653303 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 06:24:29 +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 ce8c8a06a2 [MRM-773]
fixed where condition for querying new versions of a specific artifact


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652241 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 03:29:34 +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
Maria Odea B. Ching 36562a6696 [MRM-773]
-get feed contents from the database
-generate the feed without writing to a file


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@651956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 14:04:28 +00:00
Brett Porter 8213830900 [MRM-781] make sure file is closed
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@650757 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 06:13:45 +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 202feaa707 sort the files on the index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649401 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 08:11:17 +00:00
Brett Porter eba490dfb5 remove unused/unneeded files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649397 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 07:56:48 +00:00
Brett Porter cc0ce2d707 [MRM-781] additional fixes to webdav
Submitted by: James William Dumay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649382 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 06:30:31 +00:00
Brett Porter f350582905 [MRM-781] remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@649358 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 03:42:39 +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
Maria Odea B. Ching 3ad24bfa31 -added check to not generate rss feed if there are no new artifacts
-do not set the link for the feed entries


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648913 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 01:03:01 +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
Maria Odea B. Ching 5920685d00 -added additional test case for RssFeedGenerator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648105 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 03:06:55 +00:00
Maria Odea B. Ching 328422ab73 -reverted exclusions of plexus-container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648097 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 02:14:25 +00:00
Maria Odea B. Ching 32474f11ca -exclude plexus container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647784 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 13:03:47 +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 15e8484be8 clean up dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646442 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 17:19:31 +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 66612a985f [MRM-123]
-configure host and port of the links in the rss feeds


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645833 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:36:50 +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
Maria Odea B. Ching ede408e255 [MRM-123]
-generate feeds for new artifacts in the repo and new versions of artifacts
-added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645347 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 02:56:58 +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
Maria Odea B. Ching ff44aa71b4 [MRM-123]
-move the rss classes to it's own module


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644151 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 03:42:59 +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