114 Commits

Author SHA1 Message Date
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
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
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
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
ec6b0355a7 rename webapp-common module to web-common as it will be used in rest services: this name will makes more sense
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229124 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 12:49:13 +00:00
Olivier Lamy
a2123c92c8 load all i18n in only one rest call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229063 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 09:00:43 +00:00
Olivier Lamy
9d782683a9 fix changed id
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228754 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 22:57:14 +00:00
Olivier Lamy
f71272cd55 user edit view add a pill for user roles assignation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228753 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 22:57:02 +00:00
Olivier Lamy
531064a0c5 not clear current screen when edit user detail
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228219 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 15:01:31 +00:00
Olivier Lamy
7af84cdcb7 add dependencies declaration to ensure we use correct version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228217 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 15:01:18 +00:00
Olivier Lamy
69357199e1 correctly clear user messages
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228216 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 15:01:08 +00:00
Olivier Lamy
cfd88272a0 move display users roles to a knockout bind to prepare update mode
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228215 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 15:00:56 +00:00
Olivier Lamy
f752ebe059 use knockout v2.1.0pre which has some nice perf improv with compiled binding cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228033 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 09:22:56 +00:00
Olivier Lamy
230185791c add ids for selenium tests and force tab activation as webkit tend to fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228029 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 09:14:33 +00:00
Olivier Lamy
515d54e810 not 2 calls if lang en as has been loaded before
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228023 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 08:56:15 +00:00
Olivier Lamy
bcf944afb6 add rest method to load i18n from redback and archiva in one call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228021 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 08:55:48 +00:00
Olivier Lamy
293efa4329 use a more standard naming uppercase start for js 'beans'
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227889 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 23:19:37 +00:00
Olivier Lamy
c8ac02d78e use a pills/tabs mode to switch from users list to update mode
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227874 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 22:23:03 +00:00
Olivier Lamy
8f1ef26ead fix NPE when role doesn't have any users affected
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227644 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 15:45:26 +00:00
Olivier Lamy
dbc43a4e3c fix issue with webkit for users role assignement double list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227643 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 15:45:09 +00:00
Olivier Lamy
25140af4f0 add buttons to switch from users assigned role view to update view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227083 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 08:50:59 +00:00
Olivier Lamy
f922429f2f call REST to un/assign users to a role
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227082 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 08:50:43 +00:00
Olivier Lamy
c7e91a6139 remove hardcoded html test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227081 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 08:50:26 +00:00
Olivier Lamy
10008c81a8 assigned/unassigned user(s) to a role: double multiselect view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227080 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 08:50:10 +00:00
Olivier Lamy
1ddbb6ca58 add jquery ui theme for bootstrap
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1227078 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 08:49:50 +00:00
Olivier Lamy
031646c08c remove non used css
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226424 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 14:00:24 +00:00
Olivier Lamy
6968cf8897 display a spinner while loading users list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226423 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 14:00:11 +00:00
Olivier Lamy
d54eacedb2 move grid pager template to a generic place and use only this one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226421 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 13:59:46 +00:00
Olivier Lamy
f9ed723ae6 move data-bind attribute in main-content cleanup in the more generic screenChange method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226294 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 19:38:35 +00:00
Olivier Lamy
fce349ecaa remove data-bind if exists fix issues when coming from users grid view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226293 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 19:38:13 +00:00
Olivier Lamy
d45f65954d add comment as cannot knockout mapping when fields can be array or not
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226206 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 00:46:41 +00:00
Olivier Lamy
1ca332cf02 fix ugly undefined display
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226205 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 00:46:24 +00:00
Olivier Lamy
307cb89d0d add knockout mapping plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226204 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 00:46:08 +00:00
Olivier Lamy
216591f7d5 role edit detail with knockout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226203 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 00:45:53 +00:00
Olivier Lamy
60162c52cc move roles grid to use knockout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226202 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 00:45:36 +00:00
Olivier Lamy
b83441fec2 fix js bean role mapping when users are array or not
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226095 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 14:44:19 +00:00
Olivier Lamy
4214210c88 fix roles grid due to new js bean mapping
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226094 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:56:12 +00:00
Olivier Lamy
3db8100dcd fix permissions mapping when array or not array
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226093 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:55:59 +00:00