Commit Graph

4774 Commits

Author SHA1 Message Date
Martin Stockhammer 63154d9d38 [MRM-1937] Prevent creation of wrong initial admin
Disables the name field for the admin user, when the primary admin
is created.
2017-04-14 20:52:12 +02:00
Martin Stockhammer 94e8342ec0 [MRM-1859] Improve handling of invalid artifacts
Throws only exception if all artifacts are invalid.
Ignores resolver-status.properties
2017-04-14 18:45:49 +02:00
Martin Stockhammer c773e3835c Adding documentation for snippets 2017-03-21 20:53:10 +01:00
Martin Stockhammer a981c1847c Fixing test cases for rest service 2017-03-10 22:09:08 +01:00
Martin Stockhammer b2ce531fa2 Adding validation token during login 2017-02-12 18:46:37 +01:00
Martin Stockhammer 709ee5bb39 Implementing method after interface change 2017-02-12 18:45:57 +01:00
Martin Stockhammer fc41a79885 Adding Header check to archiva rest services 2017-01-31 22:56:50 +01:00
Martin Stockhammer 65e04d66ce Adding Referer Header to REST tests 2017-01-30 22:41:55 +01:00
Martin Stockhammer dd311845e1 Use JPA as default and only database backend
Remove the JDO dependencies and set the JPA implementation as only
database alternative and default implementation. Uses the same database
as JDO before.
2016-12-30 15:35:19 +01:00
Martin Stockhammer 367997a308 Add additional checks for file lock tests 2016-10-27 23:12:12 +02:00
Martin Stockhammer dfcef53bf9 Add additional checks for file lock tests 2016-10-27 23:10:49 +02:00
Martin Stockhammer 5780110b79 Reverting locking modifications 2016-10-27 17:44:10 +02:00
Martin Stockhammer 4c35ccef7b Reverting locking modifications 2016-10-27 17:36:27 +02:00
Martin Stockhammer d380bc6779 Additional improvement for file locks 2016-10-27 12:22:56 +02:00
Martin Stockhammer 40816fc367 Additional improvement for file locks 2016-10-27 12:21:46 +02:00
Martin Stockhammer 8dc5e696d2 Stabilised file lock implementation and tests 2016-10-26 23:33:09 +02:00
Martin Stockhammer f327eb9b24 Add admin user check after system configuration change 2016-10-26 23:29:11 +02:00
Martin Stockhammer 6dcd84d2db Add name and cache reset 2016-10-26 23:28:43 +02:00
Martin Stockhammer 14a667c4a0 Change userManager reference for configuration service 2016-10-26 23:28:01 +02:00
Martin Stockhammer e6950bba28 Add jpa settings to test spring contexts 2016-10-26 23:27:26 +02:00
Martin Stockhammer 99de6268c9 Stabilised file lock implementation and tests 2016-10-26 23:25:50 +02:00
Martin Stockhammer 593d69f52e Add cache reset after configuration save 2016-10-25 22:43:09 +02:00
Martin Stockhammer 49323248e4 Remove comment 2016-10-25 22:42:39 +02:00
Martin Stockhammer 203de64d19 Fix i18n string for JPA RBac Manager 2016-10-24 22:03:48 +02:00
Martin Stockhammer 60080379a6 Add additional dependency to fix jenkins build 2016-10-23 12:26:07 +02:00
Martin Stockhammer 5b31edc2f8 Another switch to new plugin version 2016-10-22 18:48:49 +02:00
Martin Stockhammer 465a3b731a Switch to new plugin version to improve jenkins build 2016-10-21 22:34:33 +02:00
Martin Stockhammer 5de7825b42 Fixing wrong checksum files of proxy repositories
Fixes https://issues.apache.org/jira/browse/MRM-1926
2016-10-17 22:11:57 +02:00
Martin Stockhammer 2164ef75ca Merge branch 'master' into jpa 2016-10-16 20:10:06 +02:00
Martin Stockhammer 3fe1000865 Adding isValid() method to authentication classes 2016-10-16 17:18:23 +02:00
Martin Stockhammer e7143b5e78 Changing transaction handling 2016-10-14 21:40:10 +02:00
Martin Stockhammer b7174c4440 Adding JPA provider as user manager 2016-10-09 21:20:45 +02:00
olivier lamy c4596cb591 Merge branch 'pr/28' 2016-10-05 14:31:48 +11:00
olivier lamy 70323bbefb Merge branch 'pr/27' 2016-10-05 14:30:52 +11:00
Martin Stockhammer 0cc2733ca0 Adding isValid() method to authentication classes 2016-10-04 20:52:25 +02:00
Ciprian Ciubotariu ef0f29235d [MRM-1928] Use applicationUrl setting in HTTP redirects
Make use of webapp application URL setting when constructing the HTTP
Location header within redirect responses, which allows clients to
follow them when Archiva runs behind HTTP reverse proxies.
2016-10-04 18:12:05 +03:00
Martin Stockhammer 1fd9c951e1 Improving error handling for LDAP configuration
Error is only displayed, if LDAP is used as repository. The error
messages are more detailed and internationalized.
2016-10-02 15:20:56 +02:00
olivier lamy 229276f8d9 cosmetic :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-27 08:40:37 +10:00
olivier lamy 85be2b77af simplify code
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-27 08:35:38 +10:00
Martin Stockhammer 712275456c Adding myself as committer 2016-09-22 21:48:53 +02:00
Dave Brosius 723cf8b2ee simplify section null checking, and guard against NPEs 2016-09-17 18:48:47 -04:00
Martin Stockhammer 5bc8ad7de3 Adding test case for repository listing 2016-09-14 23:04:03 +02:00
Martin Stockhammer de3eb83242 Adding restricted view for user managable repositories
Adds additional rest method to list the repositories where the user
has manage permissions.
Restricts the view for uploads to only managable repositories.
2016-09-14 21:49:30 +02:00
Martin Stockhammer d01764bed9 Changing upload permissions using parameter reference
Needs the new functionality in the redback annotations.
2016-09-14 21:48:59 +02:00
olivier lamy e7e84d1bc7 Merge branch 'pr/25'
[MRM-1909]
2016-09-14 20:50:40 +10:00
Martin Stockhammer 5bb5f76520 Adding unit test for remote repository check 2016-09-14 10:22:21 +02:00
olivier lamy c997c883f0 use StringUtils to shorter code
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-14 10:51:21 +10:00
Martin Stockhammer e4a2e65f6e Removing trailing slash in remote repository check
See https://issues.apache.org/jira/browse/MRM-1909
2016-09-13 18:33:19 +02:00
Martin Stockhammer bd10f7b8a2 Adding default userAgent system property
The default userAgent string used for proxy connections can be configured by
a system property.
2016-09-13 16:46:50 +02:00
olivier lamy cae55ace9f Merge branch 'pr/23'
[MRM-1924] merge pull request
2016-09-13 10:59:55 +10:00
Martin Stockhammer 02b892796c Increasing timeouts for repository check
Slow responding repositories were marked with a repository failure because of the
low read timeout value.
Increases the timeout for the repository check.
2016-09-08 19:00:40 +02:00
Martin Stockhammer 0b939e928a Fixing issue of multiple login requests after logout
Resets the event listeners on the login button when the modal dialog is started.
2016-09-08 18:41:13 +02:00
Ciprian Ciubotariu a746721940 Fix non-deterministic test failures
archiva-rest-services tests need to wait for repo scanning to finish
2016-05-31 20:05:29 +03:00
olivier lamy e2482432b2 [maven-release-plugin] prepare for next development iteration 2016-05-23 10:38:28 +10:00
olivier lamy 64f4bc5e0e [maven-release-plugin] prepare release archiva-2.2.1 2016-05-23 10:38:19 +10:00
olivier lamy 5e9cb64d9d fix javadoc error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-05-20 12:43:22 +10:00
olivier lamy 6742949ceb [MRM-1915] remove npanday plugin
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-15 16:51:25 +11:00
olivier lamy 8210219209 ignore this error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-02 14:43:46 +11:00
olivier lamy 95077dba05 enforce version in archetype
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-01 22:08:43 +11:00
Jalal Almutawa 2762496625 Implements JIRA issue MRM-1201 2015-12-20 20:55:12 +03:00
Paul Thompson 5fd14e40c2 Adding alphabetical ordering for blacklist 2015-11-25 10:21:41 +11:00
Paul Thompson fea0ba1cf4 Adding alphabetical order for the whitelist 2015-11-25 10:21:12 +11:00
Eric Barboni b960b96e32 change style and template to have a kind of enunciate 1.x style that we can use 2015-11-13 18:01:52 +01:00
Eric Barboni 44093a57de change to handle new template 2015-11-13 18:00:42 +01:00
Bernd Eckenfels 495a7bf95f Remove Sonar Dead Store Issues. 2015-10-13 00:54:04 +02:00
Eric Barboni 5d5b0733de put documentation on the same folder as before 2.0.0x migration
make servlet compatible with new layout (not enough)
2015-10-08 19:09:48 +02:00
Olivier Lamy e05ec3d0f3 to help travis build 2015-10-07 14:26:31 +11:00
Olivier Lamy 649b915e81 no need of clean 2015-10-07 13:57:29 +11:00
Olivier Lamy 795d6d3957 make easy testing for archetype 2015-10-07 13:46:19 +11:00
Olivier Lamy b2ced491a9 ooops fix compilation 2015-10-07 12:19:27 +11:00
Olivier Lamy a39985692c ooops fix compilation 2015-10-07 12:08:47 +11:00
Olivier Lamy b195fa3946 more fix 2015-10-07 12:05:01 +11:00
Olivier Lamy 68acaa287c revert wrong change 2015-10-06 17:31:51 +11:00
Olivier Lamy aabbc2d52c add more mock for consumer archetype test 2015-10-06 17:27:07 +11:00
Olivier Lamy 8c67ef5e75 fix version 2015-10-01 22:11:09 +10:00
Olivier Lamy aae90d09bf fix version 2015-10-01 21:43:13 +10:00
Olivier Lamy 4ad5e63c64 more usage of MockRepositorySessionFactory 2015-10-01 16:21:14 +10:00
Olivier Lamy 4ce3140da9 fix issue when using proxy 2015-10-01 16:13:29 +10:00
Olivier Lamy da1216f734 more usage of MockRepositorySessionFactory 2015-10-01 16:02:49 +10:00
Olivier Lamy 418042acab more usage of MockRepositorySessionFactory 2015-10-01 15:53:41 +10:00
Olivier Lamy be4c847d96 more usage of MockRepositorySessionFactory 2015-10-01 15:50:35 +10:00
Olivier Lamy 87ff9f5d3d more usage of MockRepositorySessionFactory 2015-10-01 15:39:41 +10:00
Olivier Lamy 56f8b575d4 more usage of MockRepositorySessionFactory 2015-10-01 15:07:38 +10:00
Olivier Lamy d13adfd5ed more usage of MockRepositorySessionFactory 2015-10-01 15:02:46 +10:00
Olivier Lamy 1127e2afce use mock in consumer archetype 2015-10-01 14:53:41 +10:00
Olivier Lamy e62d96a1fa add a new module with mock for test 2015-10-01 14:51:45 +10:00
Olivier Lamy 4a16f9a586 compilation fix 2015-10-01 09:41:18 +10:00
Olivier Lamy 6484df9d69 fix compilation 2015-09-30 22:26:21 +10:00
Olivier Lamy 4f5c5d6ffd should help empty repo build 2015-09-25 15:41:39 +10:00
Olivier Lamy 6be428cd2d compilation fix 2015-09-25 15:25:51 +10:00
Olivier Lamy 73d92ab376 [MRM-1895] upgrade to wagon 2.8 2015-07-22 21:36:48 +10:00
Eduardo Souza 01f9aad617 [MRM-1861] Proxy behaviour issue migrating from 1.3.x to 2.x 2015-06-11 20:18:45 -03:00
Olivier Lamy 25c2df5590 comment this hackhish dependency 2015-05-31 10:44:30 +10:00
Olivier Lamy eca16b9686 trying to help sonar 2015-05-31 10:32:44 +10:00
Olivier Lamy ff1a92ee19 trying to help jenkins build 2015-05-30 22:06:50 +10:00
Olivier Lamy 4649d6b092 align junit version 2015-05-24 22:14:46 +10:00
Eric Barboni 96f390e523 MRM-1892 fix
wrong id for pagination div
2015-05-20 01:12:35 +02:00
Olivier Lamy 30444437d1 align surefire version 2015-05-19 22:41:36 +10:00
Eric Barboni 9312b9db70 MRM-1886 bind javascript to tr instead li (change in html) 2015-05-05 02:44:33 +02:00
Olivier Lamy 4354b7beb2 svn stuff not needed anymore 2015-04-01 11:16:05 +11:00