Commit Graph

65 Commits

Author SHA1 Message Date
Nathan Gray
ec2f474b16 If user changes the account or location, this changes the ACL ID. Remove the previous ID if it is an edit. 2014-10-07 23:21:58 +00:00
Nathan Gray
b0907096bf UI improvements to Access dialog for non-admin users 2014-09-19 16:40:18 +00:00
Hadi Nategh
cdd0c1935b Fix global category delete dialog translation issue 2014-08-22 12:37:30 +00:00
Ralf Becker
daa0ce25f3 fixed statistic submit to show, but ignore, tree 2014-07-17 14:02:31 +00:00
Hadi Nategh
b51ad6a8f1 Use similar Global category's delete confirmation dialog as it is used in edit popup too 2014-07-15 13:21:54 +00:00
Hadi Nategh
92e8ce7d0d Fix delete confirmation dialog in Global categories edit popup 2014-07-14 15:58:50 +00:00
Hadi Nategh
1ceaef9b0b Changing group in admin needs to refresh nm group filter too 2014-07-11 12:49:57 +00:00
Ralf Becker
f864753113 * Admin/all apps: fix refresh of admin after calling site configuration, categories, etc from apps 2014-07-08 13:52:48 +00:00
Ralf Becker
2b01b2aa50 * Admin: fixed user statistic submit to work in 14.1 2014-07-02 16:47:38 +00:00
Ralf Becker
3ca1b008d1 * Admin: admin view did no refresh if it shows something else then accounts list 2014-06-30 10:12:18 +00:00
Hadi Nategh
609e909eef Make sure the content[owner] is an array because lisbox widget expects to receive an array 2014-06-30 08:59:19 +00:00
Ralf Becker
23cbc01e2c activating observer for admin instead of app_refresh and using it to invalidate client-side account-cache 2014-06-26 08:23:02 +00:00
Ralf Becker
c5ec3245d3 fixed disabled apps were shown in run-rights, removed not anymore used admin_acl::acl function and its template, also added still commented observer method ment to replace app_refresh 2014-06-25 10:47:26 +00:00
Nathan Gray
a98925d287 Check to see if selected account is not in cache before adding it in.
Fixes  [object object] as acl_account option
2014-06-09 22:09:37 +00:00
Nathan Gray
ec55375e56 Fix refresh in acl popup, was refreshing opener instead. 2014-06-04 15:05:27 +00:00
Nathan Gray
7c5db56d61 Use AJAX to load app list for selected account, fixes usually empty dialog for user run rights since they usually came from a group 2014-04-30 15:20:32 +00:00
Nathan Gray
4db673c6af Changes to ACL dialog
- Keep client-side app list up to date so dialog is correct
- Fix app run rights not being updated
2014-04-28 17:40:25 +00:00
Nathan Gray
a8a578962c Changes to ACL dialog based on list filter:
- If '... run rights to other applications', show current apps with run rights for the account
- For others, restrict application selectbox options to just applications that support ACL
2014-04-28 16:19:39 +00:00
Nathan Gray
85df315cbd - Remove widgets used just to send sel_options
- Change dialog account_type to both
2014-04-23 19:09:28 +00:00
Nathan Gray
857ed0e752 Some restructuring, add a change handler to update ACL options if ACL appname is changed 2014-04-23 16:45:51 +00:00
Ralf Becker
d47477ce36 for some wired reason row-id is initially "admin_ui::get_users::123" and after clicking on a group to change filter "admin::123", now picking last "::"-separated part, this needs to be fixed in eTemplate too 2014-04-03 08:36:15 +00:00
Ralf Becker
2f9a4b9c33 fixed not working edit of accounts from accounts-list, id changed from "admin::123" to "admin_ui::get_user::123" 2014-04-03 08:09:55 +00:00
Nathan Gray
ca07e19573 Fix typo breaking the loading of existing rights values 2014-04-02 19:28:57 +00:00
Ralf Becker
524a289b32 show account-list by default, dont load site config in (disabled) iframe and remove app-header when switching back to account-list 2014-04-02 19:04:37 +00:00
Nathan Gray
f78cbb5c52 Use et2_dialog to edit acls instead of separate popup. 2014-04-02 18:32:52 +00:00
Ralf Becker
f456109f5b fixed not always enabled iframe when its source was set 2014-04-02 14:32:52 +00:00
Nathan Gray
51a083e112 Get rid of splitter 2014-04-01 22:51:26 +00:00
Ralf Becker
6fdf8c98d1 open preferences and ACL in a popup (ACL still needs a little more work: use et2_dialog to add/edit instead of an other popup) 2014-04-01 15:49:08 +00:00
Ralf Becker
8cfef6746d added several checks for account editing in addressbook: doublicate account name, passwords match, set email for new accounts according to policy 2014-03-28 16:56:35 +00:00
Ralf Becker
fe83c07b50 get group actions from edit_group hook 2014-03-27 19:00:52 +00:00
Ralf Becker
1b13b10bf6 deleting of groups 2014-03-19 15:24:54 +00:00
Ralf Becker
08c67c8eed update accounts list and fix "add account" action on tree 2014-03-18 18:31:52 +00:00
Ralf Becker
3c4abb37c8 preferences ACL is runing in jdots in application tab 2014-03-12 13:50:16 +00:00
Ralf Becker
64f4989004 fixed not working setting of ACL, if user has no access to admin app 2014-03-12 12:49:28 +00:00
Nathan Gray
22c1738b0a Try for intelligent etemplate2 refresh inside iframe 2014-02-27 18:48:48 +00:00
Ralf Becker
8e0dea8316 only set this.iframe and this.splitter if et2_ready is called for admin.index template 2014-02-17 15:00:06 +00:00
Nathan Gray
a45bc7f4a4 Register an app_refresh function to handle the special case of framwork detecting same URL = simple refresh on egw_refresh(), and reload iframe. Fixes open admin tab not re-loading a link that was used to open the tab. 2014-02-06 16:55:38 +00:00
Nathan Gray
d7284e4bd1 Fix admin JS destructor not called when tab closed.
Fixes empty window when opening admin tab after close.
2014-02-05 22:31:46 +00:00
Nathan Gray
f049892993 Make sure admin iframe is there before trying to redirect it, fixes error blocking close of unviewed Admin tab 2014-02-03 16:27:17 +00:00
Hadi Nategh
eefc115767 Consider pop up the group difference message in gategories, only if they are less than original 2014-01-28 11:13:48 +00:00
Hadi Nategh
e4285b67f4 Fix categories not able to change groups 2014-01-28 10:48:23 +00:00
Hadi Nategh
fd7aab0996 Move check_owner and change_icon functions from global_category.js to app.js in admin. In addition, fix check boxes deselection issue 2014-01-16 16:21:17 +00:00
Nathan Gray
ba106526b1 Manually trigger resize on splitter after load, prevents scrollbar in global categories. 2013-12-23 17:24:40 +00:00
Nathan Gray
bc4857c376 Avoid errors for personal categories 2013-12-10 22:21:36 +00:00
Nathan Gray
7c33488596 More changes to get category list working using etemplate2 2013-12-10 00:03:36 +00:00
Nathan Gray
9d929dac60 Switch to use prop() for checked, which works (jQuery version difference) 2013-12-02 17:00:51 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Ralf Becker
6e76361736 open all sidebox admin link in admin vi admin.admin_ui.index loader 2013-10-15 16:53:43 +00:00
Ralf Becker
0163442f37 changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS 2013-10-09 14:35:03 +00:00
Nathan Gray
1355f66fd0 Change to jsapi egw.json() 2013-09-10 19:45:08 +00:00