Commit Graph

123 Commits

Author SHA1 Message Date
Hadi Nategh
8686238878 Enable mail (de)activating account feature 2015-12-14 13:23:01 +00:00
Hadi Nategh
3a2fe56c17 W.I.P. of admin active mail accounts
- Add mail account active/inactive items into admin's contextmenu
2015-12-11 16:11:56 +00:00
Nathan Gray
eef843185b Fix unable to change group run rights 2015-09-28 20:06:21 +00:00
Nathan Gray
91750f46c9 Access dialog
- If current app has no special support, show general dialog instead of message
- Sort apps in add dialog
- Filter app list (filter2) to all apps for run rights, or only supporting apps otherwise
2015-09-15 23:59:31 +00:00
Nathan Gray
5a950ae8dc Give some indication that the action is being done for Admin / Clear cache & Wiki / Rebuild links 2015-09-09 23:57:07 +00:00
Nathan Gray
a627dea3d6 Customfields:
- fix options/attributes not saved under some cirumstances
- fix subsequent changes not saved if you click Apply the first time
2015-04-20 22:54:58 +00:00
Nathan Gray
25a9811121 Customfields:
- add missing delete button confirm
- fix some js bugs when changing type
- add accidentally removed check for overwriting an existing field
- make cf_name read-only after it is set
2015-04-20 21:49:05 +00:00
Hadi Nategh
72c7716b05 Fix select options of apps in access control edit dialog 2015-04-16 10:24:19 +00:00
Nathan Gray
55d5bd98f8 Custom fields editing:
- Fix length, rows & values fields were not properly enabled on first load
- If label was not provided, use name
2015-02-18 18:23:35 +00:00
Ralf Becker
e135e0d2ee * Admin: fix not working setting of ACL for account-selection "select-box with primary group and search", data from contains no selection 2015-01-30 11:30:47 +00:00
Nathan Gray
2c01aa23d4 Fix some bugs in ACL:
- Allow to remove access to all application, previously could not remove the final app
2015-01-07 17:59:34 +00:00
Nathan Gray
a20ad52fd0 Fix some bugs in ACL:
- Remove 'all applications' as an ACL option
- Fix list refresh and edit dialog don't work after first edit
2015-01-07 16:35:13 +00:00
Ralf Becker
7ecc088c35 sort apps alphabetic and open external links with a target _blank 2014-11-28 12:43:10 +00:00
Ralf Becker
3eb9f04221 readded accidently removed _hide_navbar and iframe_location methods 2014-11-19 16:56:51 +00:00
Ralf Becker
ccaa41cd92 remove deprecated (register_)app_refresh in favor of some extra code in observer 2014-11-19 16:08:53 +00:00
Ralf Becker
1df5500d28 * Admin/LDAP: LDAP extra attributes homedirector and loginshell were not stored (home set to /dev/null) 2014-10-21 08:58:08 +00:00
Ralf Becker
f14d3b4c8b add message to submit or postpone statistic first 2014-10-17 13:49:42 +00:00
Nathan Gray
cdae84a3ba 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:20:33 +00:00
Nathan Gray
3cb9049199 Make account selection read only for non-admins 2014-09-19 16:31:57 +00:00
Nathan Gray
2ab51680be Fix access UI to take user's permissions into account, and not let them try to edit run rights 2014-09-18 15:01:08 +00:00
Hadi Nategh
cb35a10b4c Fix global category delete dialog translation issue 2014-07-17 15:46:03 +00:00
Ralf Becker
dcf585a116 fixed statistic submit to show, but ignore, tree 2014-07-17 14:02:11 +00:00
Hadi Nategh
16c5a62ed4 Use similar Global category's delete confirmation dialog as it is used in edit popup too 2014-07-15 09:52:00 +00:00
Hadi Nategh
025f31872f Fix delete confirmation dialog in Global categories edit popup 2014-07-14 10:19:32 +00:00
Hadi Nategh
2871228a0d Changing group in admin needs to refresh nm group filter too 2014-07-10 16:00:52 +00:00
Hadi Nategh
c381aef5e4 Refresh admin nm after group edit/delete 2014-07-10 10:30:37 +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
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
Ralf Becker
b48e6b2531 admin ACL more or less finished (pending eT2 auto-repeat bug requiring to use old eTemplate for acl popup) 2013-08-28 12:52:47 +00:00
Ralf Becker
5a801bbb67 next step for new ACL management 2013-08-27 17:58:38 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Ralf Becker
596a01a76d remove "admin_" prefix from et2 ids 2013-08-01 11:44:44 +00:00
Ralf Becker
2d899c0ed1 group context menu 2013-07-31 14:01:12 +00:00
Ralf Becker
b2f733c4d5 a few more steps towards a new admin 2013-07-03 16:27:18 +00:00
Ralf Becker
ffceaf445a prototype for an admin app using et2 and a navigation tree, need to set index url in database: UPDATE egw_applications SET app_index="admin.admin_ui.index&ajax=true" WHERE app_name="admin" (dont forget to clear cache) 2013-07-01 17:07:07 +00:00