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
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
Maria Odea B. Ching
f8051daf10
[MRM-1121]
...
o added null check in browse at artifact level
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755602 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 14:28:39 +00:00
Maria Odea B. Ching
c71589de80
[MRM-1105]
...
o fix legacy path being set in artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755544 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 10:55:39 +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
fc374c71b8
fix jetty:run
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755459 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:33:47 +00:00
Brett Porter
57d991e0ac
[MRM-1145] disable tests that were failing silently
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 17:42:56 +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
75e9f6fe7a
clear warnings for archiva-database
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755266 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 14:28:40 +00:00
Brett Porter
3cdb8ce934
start adding Java5 features to modules
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755239 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 13:40:10 +00:00
Maria Odea B. Ching
51ad4bdec9
[MRM-1032]
...
o added check for start date and end date in statistics report
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@754623 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 06:50:25 +00:00
Maria Odea B. Ching
9198c4e336
[MRM-1135]
...
o escape blacklist and whitelist pattern with '\'
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753608 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 06:43:22 +00:00
Maria Odea B. Ching
07bb48e79d
[MRM-1117]
...
o move advanced search out of the 'info' pop up, added a link of it's own instead
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753598 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 04:16:34 +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
James William Dumay
15f58a9233
MRM-1139 - war:inplace blindly copies everything (including WEB-INF/lib/**) into the archiva-webapp.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753117 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:09:28 +00:00
James William Dumay
323cbb7558
MRM-1138 - Fix java.lang.NullPointerException: configuration can not be null on startup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753110 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 04:56:40 +00:00
James William Dumay
f4e86b1e91
MRM-1138 - Fix java.lang.NullPointerException: configuration can not be null on startup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753109 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 04:56:06 +00:00
James William Dumay
6b7f9f4ad8
MRM-1138 - Fix java.lang.NullPointerException: configuration can not be null on startup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753108 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 04:54:59 +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
Maria Odea B. Ching
11edfc6918
exclude slf4j 1.5.6 jars in WEB-INF/lib, conflicts with the version used which is 1.5.0
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752433 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 13:07:00 +00:00
Brett Porter
c5783f016f
[MRM-1130] add security audit log and clean up logging configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@752431 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 12:37:04 +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
1216a8534a
[MRM-1081] fix download tag in light of multiple repositories offering the same artifact
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751702 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 15:14:47 +00:00
Brett Porter
5a9d510e8a
[MRM-1082] restore per-lookup to action classes that was set by default with the previous version of the plexus plugin. This is important for actions that store state and resolves a number of issues with parameters persisting across requests (and clients)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751672 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 13:17:46 +00:00
Emmanuel Venisse
9633f8d288
[MRM-938] Remove old/unused property
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751668 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 13:01:59 +00:00
Brett Porter
268b0e5850
[MRM-1062] switch md5 implementation - license is less ambiguous and it appears faster
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751565 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 01:15:16 +00:00
Brett Porter
d6f99e5f66
[MRM-1062] find artifact no longer worked in several browsers due to the file input not returning the full path as a security measure. For Firefox 3, the file will now be checksummed in JavaScript, and other browsers will present an alert dialog
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751562 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 00:56:29 +00:00
Brett Porter
722e0b6682
[MRM-1062] avoid applet error going into search box
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751545 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 22:44:03 +00:00
Brett Porter
f3b9f4f30c
[MRM-1110] some redback log statements are not visible in Archiva logs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751524 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 20:57:28 +00:00
Brett Porter
3a742eeb67
[MRM-1109] environment checks do not indicate which caused a violation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 20:45:02 +00:00
Brett Porter
adf0f01d13
[MRM-1108] show the default logo if it is empty in the configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750843 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 10:54:06 +00:00
Brett Porter
c5529d24ae
[MRM-1074] Typo of Legacy Support option on the left nav menu
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@748162 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 14:40:03 +00:00
Maria Odea B. Ching
a8ad14acbd
[MRM-1092]
...
submitted by Jevica Arianne Zurbano
o fix 'Hist' to 'Hits' in search results page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746857 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 02:04:56 +00:00
Maria Odea B. Ching
269380914e
removed advancedSearch.jsp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746187 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 09:25:36 +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
Maria Odea B. Ching
b4dfa90773
o re-packaged classes in archiva-indexer
...
o removed old directory
o removed unnecessary references to RepositoryIndexException and RepositoryIndexSearchException which have been removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746146 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:25:30 +00:00
Maria Odea B. Ching
ebe7941ce0
[MRM-1042]
...
o fix getting of other versions of the snapshot
o added tests for getting other versions of the snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745371 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 03:37:34 +00:00
Maria Odea B. Ching
e9b030ba0c
[MRM-1041]
...
updated browse.jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745365 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 03:01:03 +00:00
Maria Odea B. Ching
243a71a586
[MRM-1042]
...
o hide timestamped SNAPSHOT versions in version list browse
o add 'Other Versions' field in the artifact info page if the artifact is a snapshot & has other timestamped versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745362 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 02:42:23 +00:00
Maria Odea B. Ching
f7b27068d7
[MRM-1041]
...
o show shared basic project info in versions list browse
o fix model not being set in repository browse
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745359 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 02:24:09 +00:00
Maria Odea B. Ching
5f39994250
[MRM-1043]
...
o added row count in search criteria
o cleaned up jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744832 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:31:44 +00:00
Maria Odea B. Ching
87f3147e7e
[MRM-1043]
...
o provide list for repositories that can be searched
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744797 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 04:06:36 +00:00
James William Dumay
db5102aaaf
MRM-1066 - Shutdown of Tomcat causes Exception when running Archiva Project
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744785 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 00:28:50 +00:00
Maria Odea B. Ching
fa4039e25f
o clean up and fix spacing of results.jsp
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744086 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:32:27 +00:00
Maria Odea B. Ching
462af40d1e
[MRM-1043]
...
o moved the advanced search to the quick search page
o dynamically add search criteria
o added additional test in SearchAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744080 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:25:47 +00:00
James William Dumay
48fc7e2f6f
MRM-1083 - Add artifact search box to the default decorator
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743602 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 02:34:16 +00:00
James William Dumay
d10e6a5ae2
MRM-1082 - Upgrade from plexus-maven-plugin to the plexus-component-metadata plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743238 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 05:45:52 +00:00
James William Dumay
6267a21d29
MRM-1081 - Archiva model should be updated so that the ARTIFACT table includes repositoryId as a primary key
...
* Updated so that repositoryId is part of the primary key for an artifact
* removed old search API classes as they needed to be brought over to the new API and doing so would be a waste of time
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742859 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:35:05 +00:00
Maria Odea B. Ching
9cb1a3f329
update search tips, no need to use 'bytecode' keyword when searching for a class or package name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741468 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 08:24:41 +00:00