Commit Graph

128 Commits

Author SHA1 Message Date
Olivier Lamy 94d4a270f9 remove more @version $Id:
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:56:07 +00:00
Olivier Lamy 20d2ba964e remove all @version $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357898 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:49:18 +00:00
Olivier Lamy bf52af4760 change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:49:49 +00:00
Olivier Lamy 1484a3316a [MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:36:23 +00:00
Olivier Lamy 5ba11055fe repackage spring-registry-commons to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:27:10 +00:00
Olivier Lamy 870ce2c4d8 use o.a.a package namespace for spring-quartz component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325047 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 22:26:10 +00:00
Olivier Lamy 2ce3e9371f move to package o.a.a.r redback module redback-system
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310918 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:19:30 +00:00
Olivier Lamy 73f15c6bc7 move to package o.a.a.r redback module redback-rbac-role-manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310912 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:12:02 +00:00
Olivier Lamy 5ad9e91c77 move to package o.a.a.r redback module redback-rbac-cached
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310904 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:53:36 +00:00
Olivier Lamy 056dcd2bc1 move to package o.a.a.r redback module redback-authorization-rbac
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310902 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:49:21 +00:00
Olivier Lamy 59e058b73a move to package o.a.a.r redback module redback-rbac-model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310900 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:35:41 +00:00
Olivier Lamy b146216520 move to package o.a.a.r redback module redback-policy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310896 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 22:30:34 +00:00
Olivier Lamy c2266bcad9 move to package o.a.a.r redback module redback-authorization-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310862 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 20:52:57 +00:00
Olivier Lamy 9780539136 move to package o.a.a.r redback module redback-authentication-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310846 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 19:56:17 +00:00
Olivier Lamy da36c0b96e redback package change to asf namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310765 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 13:19:01 +00:00
Olivier Lamy 3b01da90b5 add REST method to know if user able to delete artifact on a repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302367 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 10:50:02 +00:00
Olivier Lamy 684505391a enhance rest method to return ManagedRepository rather than simply string
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301525 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:02:29 +00:00
Olivier Lamy 6c2bf258aa start working on browsing only one repository to avoid merging incomplete metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301522 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:01:33 +00:00
Olivier Lamy 14b5f5d731 remove a deprecated class ArchivaRoleConstants from archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199736 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:14:32 +00:00
Olivier Lamy 159806983d use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Brett Porter 0fa1fa6ac2 change configuration base to org.apache.archiva instead of org.apache.maven.archiva, update "upgrading" document accordingly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:56:48 +00:00
Olivier Lamy 33850774a4 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171539 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:18:21 +00:00
Olivier Lamy 7a01a324d6 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-common module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171418 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:42:25 +00:00
Olivier Lamy ac4dbb87e1 get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy f0c6ee5a71 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy 4f42feb44f [MRM-1504] Add a new module for repository administration management : move redback configuration and role constants to a new module in archiva-base called archiva-security-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165203 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:31:35 +00:00
Olivier Lamy c7e5fea75a get RID of org.apache.maven.archiva packages : security package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:15:36 +00:00
Brett Porter 3445922612 update licenses and send in RAT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161440 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:42:50 +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
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
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
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 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 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
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
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 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 9471a08db3 [MRM-1250] Granting the Global Repository Manager/System Administrator role does not automatically assign the Global Repository Observer role
o add global repository observer role as child role of global repository manager


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813337 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 09:59:00 +00:00
Brett Porter 34c163502b fix test problems
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756587 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:35:02 +00:00
Brett Porter bf34387459 [MRM-1093] Log configuration and repository changes made.
Submitted by: Jevica Arianne B. Zurbano (applied with modifications and other refactoring)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756563 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:12:10 +00:00
Brett Porter 584031f68f clean up the webdav interface to make the code more readable
in addition, webdav now honours the delete operation separately to upload
improved the HTTP error responses for misconfiguration (500) vs not found on groups


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755845 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 06:10:38 +00:00
Brett Porter e5ce444a9c fix test descriptors for recent changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 00:24:45 +00:00
Brett Porter 20b3d982cf [MRM-913] bring delete artifact security into line with uploading an artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755726 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 20:47:20 +00:00
Brett Porter 7ec2e6c8a5 remove unused class, superceded by SecuritySynchronization
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755488 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 06:41:57 +00:00
Brett Porter e000da9c29 [MRM-1133] delete artifact role not added on upgrade from previous version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755486 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 06:15:36 +00:00
Brett Porter dddb1c3b45 clean up warnings in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755318 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 16:53:49 +00:00
Brett Porter 76a1d2429f warnings in scheduled and security modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755300 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 16:18:51 +00:00
Brett Porter 537ff689e7 [MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
Brett Porter c9a12dbf99 [MRM-921] user management role does not display the user management menu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752740 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 01:18:07 +00:00
Brett Porter 13d43afbfe [MRM-922] access to upload page with managed repository role
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752539 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 17:33:31 +00:00
Brett Porter f63959e3aa [MRM-1101] restore proper tracking of principal in DAV for audit logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752519 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 16:53:17 +00:00
Emmanuel Venisse aae839ff4b [ARCHIVA-938] Remove harcoded guest user
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752384 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 06:12:17 +00:00
Brett Porter aeedc2ff5e [MRM-1013] add generics for type safety after updating redback for the casting error
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750975 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 16:54:34 +00:00
Brett Porter 4b34d911eb [MNG-1106] guard against NPE which can be generated by the LDAP user manager if misconfigured
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750953 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 16:08:12 +00:00
Maria Odea B. Ching 0cecbab8be [MRM-913]
submitted by Jevica Arianne Zurbano
o patch does the following:
  - deletes artifacts
  - cleans up database
  - executes scan to reflect changes when browsing repository
  - updates metadata
  - updates audit.log
  - 'Delete Artifact' added in navigation and is displayed for users with repository manager role
  - only allows manager of the repository to delete artifacts from it

o additional tweaks to the submitted patch:
  - removed catch for NPE in DeleteArtifactAction
  - migrated jsps & action class to struts 2
  - moved invocation of cleanup consumers in DeleteArtifactAction to DatabaseConsumers (added new method for this in DatabaseConsumers)
  - applied formatting


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746183 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 08:50:35 +00:00
James William Dumay ef3ecba393 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@737966 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 01:41:03 +00:00
Maria Odea B. Ching 03a080a1d5 [MRM-1068]
submitted by Maria Catherine Tan
- upgrade redback to 1.2-beta-2
- needed to upgrade spring to 2.5.6 to be compatible with redback 1.2-beta-2


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@735937 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 05:32:11 +00:00
James William Dumay 9158c2f5dc remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@728587 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 03:19:52 +00:00
Brett Porter f578399872 remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
Maria Odea B. Ching 2262565505 merged from archiva-security-fix trunk
changes:
-fix security issue
-added RepositoryServletSecurityTest and ArchivaServletAuthenticatorTest test cases


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@702027 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 09:05:09 +00:00
Maria Odea B. Ching 6ec22c4cb2 merged from -r693694 (MRM-911: check first if guest is enabled for the repository before failing the authentication) 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@693701 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 04:15:50 +00:00
Maria Odea B. Ching 092a8ce4f1 [MRM-915] and [MRM-926]
-get the default guest users from redback config files instead of the hardcoded constant value


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@691581 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 11:45:11 +00:00
Brett Porter 0180afb31d formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@668023 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 00:02:48 +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 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 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 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
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
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 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
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 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