Commit Graph

86 Commits

Author SHA1 Message Date
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Hadi Nategh
16f835822f Fix title message for (de)activating mail accounts progress dialog 2015-12-15 11:23:01 +00:00
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