Commit Graph

1420 Commits

Author SHA1 Message Date
Brett Porter 30b708470a update label that changed in Redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 13:20:57 +00:00
Olivier Lamy 38b64bd49d add a method to display info messages and use it when call scanRepo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233616 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:39:14 +00:00
Olivier Lamy 28a7a9cee8 fix indexing call as could cause NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:39:00 +00:00
Olivier Lamy f5fff02859 add i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233601 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:15:24 +00:00
Olivier Lamy db512f6a26 remove title from image duplicate with popover
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233597 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:10:32 +00:00
Olivier Lamy 317cf9e4ce [MRM-1574] display repo stats
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:10:18 +00:00
Olivier Lamy 5e0f500e7f include bootstrap-popover.js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233595 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:09:49 +00:00
Olivier Lamy 469ff414be use an icon for scan repository action
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233594 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:09:37 +00:00
Olivier Lamy f1c30d228c new icon for delete/cut
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233593 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:09:21 +00:00
Olivier Lamy b02d7efb48 don't write datas in src directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233391 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 14:23:53 +00:00
Olivier Lamy 2d3d39db6a cleanup bad content from previous builds: my bad !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233368 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:33:34 +00:00
Olivier Lamy af18bdf380 add @since for those new rest methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233315 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:25:01 +00:00
Olivier Lamy 4ada471449 [MRM-1574] add rest method to get repositoty statistics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233310 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:18:19 +00:00
Olivier Lamy 0cb6235dfa fix test compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233309 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:17:42 +00:00
Olivier Lamy cbb1fdef2d [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
improve unit test with testing getArtifactVersions method too.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233267 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:10:02 +00:00
Olivier Lamy 883900fa2a [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233266 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:09:47 +00:00
Olivier Lamy 839d3e0028 fix rest call for scanRepositoryNow fullScan parameter was not honoured
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233135 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 00:01:42 +00:00
Olivier Lamy bf40346375 [MRM-1574] action to scan repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233134 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 00:01:18 +00:00
Olivier Lamy 8233740cf9 call simpleGrid callback on first rendering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233121 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 23:30:02 +00:00
Olivier Lamy a4d3620a65 add a mechanism in knockout simpleGrid binding to add callback subscribe on values change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233120 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 23:29:49 +00:00
Olivier Lamy 7852bfcf1d reset password link is still missing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233119 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 23:29:34 +00:00
Olivier Lamy 9084dd7e0d fix todo redback stuff done
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232938 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 15:39:48 +00:00
Olivier Lamy 31b57ea2d1 [MRM-1574] add select box for defining repository type.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232878 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 13:43:23 +00:00
Olivier Lamy b480558763 display warning message when adding a repository concerns an existing directory location
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232617 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:42 +00:00
Olivier Lamy 3474c6f996 bad idea to use a path param for location with /
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232616 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:24 +00:00
Olivier Lamy 58c30c851d add a rest method to validate if managed repository location already exists.
So move RepositoryCommonValidator to admin api and add the interface

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:08 +00:00
Olivier Lamy 32b26356e9 more validation rules for managed repository form
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232433 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:59:28 +00:00
Olivier Lamy 8a4c361fd8 wait a little in selenium test to see if fix test on jenkins @asf
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232331 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 08:21:01 +00:00
Olivier Lamy 2f5c8c26fd [MRM-1574] fix issue after add: the new repository was not correctly displayed in the grid
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232214 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:57:18 +00:00
Olivier Lamy 9cc9c4d3d6 [MRM-1574] delete managed repository
ask confirmation for deleting content or not.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232211 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:56:42 +00:00
Olivier Lamy 464c6f8233 use html entity to prevent encoding issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232210 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:56:23 +00:00
Olivier Lamy 14438ff947 [MRM-1574] delete managed repository
TODO ask for delete content !

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232063 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:54:20 +00:00
Olivier Lamy b1741f9726 [MRM-1574] add managed repo now implemented.
change the rest service to return the repo rather than a Boolean to have real path available in the ui.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232062 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:53:57 +00:00
Olivier Lamy 76ac3cc601 add managedRepository form validation rules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232061 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:53:26 +00:00
Olivier Lamy 5944fb65d6 implements a generic function to display error returned by rest call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231994 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:28:00 +00:00
Olivier Lamy 4831643aee move commun function to util.js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231993 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:27:48 +00:00
Olivier Lamy c86c62cd2d when possible rest error must return the field with issue to map it in the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231992 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:27:37 +00:00
Olivier Lamy 3f44b97372 fix display of error response when updating a managedRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231991 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:27:01 +00:00
Olivier Lamy dd7ea76cb6 fix mock call number in webapp unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231943 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:36:16 +00:00
Olivier Lamy 1c1ff2d334 remove the default ajaxError as it can cause multiple error messages if call already implement it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231934 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:26:12 +00:00
Olivier Lamy 6d21a16b92 ensure we create parent path if not here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231933 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:22:20 +00:00
Olivier Lamy 4b9478cf75 ensure we don't write file on ~/.m2/archiva.xml when testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231932 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:22:11 +00:00
Olivier Lamy 1eed12a383 configure to use appserver.base sys props only in ${project.build.directory}/appserver.base
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231931 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:22:02 +00:00
Olivier Lamy 9b978d2e63 enforce use of commons-* in webapp-js module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231901 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:29:35 +00:00
Olivier Lamy 3536e59d18 [MRM-1574] managed repository update.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231899 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:28:19 +00:00
Olivier Lamy 85c04997af add twipsy js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231898 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:27:49 +00:00
Olivier Lamy 4964f03885 add title in th element and use twipsy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231897 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:27:21 +00:00
Olivier Lamy 524f562cc1 fix managedrepositories grid view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231597 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 22:33:56 +00:00
Olivier Lamy 589139854a don't parse all the document for display element with karma needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 22:33:41 +00:00
Olivier Lamy 0d7e24a4d0 don't parse all the document for hiding element with karma needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231595 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 22:33:28 +00:00