4418 Commits

Author SHA1 Message Date
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
f4c55ef0d4 validate managedRepository before remowing it for update. In case of non valid cronExpression it was removed before the validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231900 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:29:13 +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
Olivier Lamy
590192d8ae add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231594 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 22:33:15 +00:00
Olivier Lamy
f38e2aada7 don't use accordion as size is calculated before adding content so this generate ugly scrolling
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231593 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 22:32:55 +00:00
Olivier Lamy
ad32149035 cleanup poms removing some plugin version duplicate declaration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231194 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:20:21 +00:00
Olivier Lamy
b23a9411a1 add structure for accordion to view/edit managed/remote repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231186 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:01:31 +00:00
Olivier Lamy
7a658159d6 jquery ui custom a la bootstrap with ie fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231185 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:01:18 +00:00
Olivier Lamy
91fb1f16eb missed *again* to add files :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231184 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:01:06 +00:00
Olivier Lamy
3e554184c4 start adding various files for repositories management: html templates js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231182 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:00:51 +00:00
Olivier Lamy
7bc6a20f89 move selenium to a pluginMngt in top pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231181 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:00:28 +00:00
Olivier Lamy
dda2677b2a fix i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231180 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:00:16 +00:00
Olivier Lamy
1c00503df1 fix issue for update user flags just after creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231179 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:00:04 +00:00
Olivier Lamy
c7c60af8cb selenium plugin 2.2 released version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231178 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 16:59:50 +00:00
Olivier Lamy
a0477581fb fix annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231177 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 16:59:40 +00:00
Olivier Lamy
8194ab0c1f fix role view those fields are observable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230602 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 15:46:32 +00:00
Olivier Lamy
03ceaf457b clear userMessages before write an other one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230572 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:51:55 +00:00
Olivier Lamy
173bb19544 update user roles looks to work :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230556 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:12:44 +00:00
Olivier Lamy
4812edab08 user roles edit display roles from templates/resources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230555 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:12:32 +00:00
Olivier Lamy
82e113d72f knockout binding between available roles and user assigned roles
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230554 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:12:18 +00:00
Olivier Lamy
a429442f62 modify user roles display binding as we will modify this we need an observable array
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230552 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:12:05 +00:00
Olivier Lamy
9c6d1fb950 add call and bean mapping for ApplicationRoles data
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230551 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 14:11:50 +00:00
Olivier Lamy
e267d43bb1 add a global ajax error handler to display errror messages for ajax call failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230326 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 23:34:32 +00:00
Olivier Lamy
1a91ac364d pom cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229373 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 21:47:03 +00:00
Olivier Lamy
37a1603248 use tomcat maven plugin rather than cargo in webapp-test-js faster than running an external tomcat
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229370 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 21:46:39 +00:00
Olivier Lamy
79d7b163de more fix junit due to ArrayList init mock call number changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229368 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 21:46:25 +00:00
Olivier Lamy
609db54fef fix junit due to ArrayList init mock call number changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 21:46:07 +00:00
Olivier Lamy
37b752dd5d fix osgi bundle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229192 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 15:11:21 +00:00
Olivier Lamy
b01a04df29 upgrade to cxf 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229144 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 13:33:31 +00:00
Olivier Lamy
a386e5ffa7 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229143 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 13:33:19 +00:00
Olivier Lamy
77c8eb0922 missed to change an artifactId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229128 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 12:54:24 +00:00