Commit Graph

177 Commits

Author SHA1 Message Date
nathangray
8590939709 * Admin: Add copy account action 2020-03-02 16:00:58 -07:00
Ralf Becker
20a3dd9fd0 use super.<name>(<arguments>) instead of super.<name>.apply(this, arguments) 2020-02-12 10:37:29 +01:00
Ralf Becker
5f804dd661 use super.<name>(<arguments>) instead of super.<name>.apply(this, arguments) 2020-02-11 17:40:33 +01:00
Ralf Becker
84dd286897 convert admin app.js to TS 2020-02-10 10:02:23 +01:00
Ralf Becker
46c66cc93e convert admin app.js to TS 2020-02-09 12:26:23 +01:00
Ralf Becker
d95894d530 use etemplate-exec-id as CSRF token for ajax requests 2020-01-29 11:08:44 +01:00
Ralf Becker
7b30bb7b0d * Admin: optional session-action column in access-log and sessions
also no longer update access-log in session-class destructor, as it fails with skipping permanent logging for WebDAV and others
2019-12-14 13:09:22 +02:00
Hadi Nategh
77dba49f9e Fix double scrollbar in edit acl dialog 2019-11-27 13:57:17 +01:00
Hadi Nategh
3d05c69495 * Admin: fix deleting of customfields type not working 2019-10-31 12:18:30 +01:00
nathangray
ffa1102687 Change delete group handler to accept documentation data 2019-05-28 09:59:55 -06:00
nathangray
34efaaa274 Add documentation tab when deleting custom application type 2019-05-22 09:35:20 -06:00
Hadi Nategh
ff84674275 WIP of admin cmds template 2019-05-08 18:42:37 +02:00
nathangray
7915bfd5b2 Add documentation tab to deleting ACL 2019-05-07 15:23:34 -06:00
nathangray
25f073a0b7 Changes for Policy
- Add tab to edit category dialog
- Change delete context menu action to use popup instead of dialog
2019-05-03 14:45:40 -06:00
nathangray
a5402ad4b6 Admin - Make statistics locked only when date requires it, access through sidebox menu does not lock 2019-03-27 11:57:20 -06:00
nathangray
674b63f77b Admin - App refresh now just refreshes nextmatch if present, reloads if not 2019-03-21 13:54:41 -06:00
nathangray
9741205576 Fix broken locking on statistics page 2019-03-21 13:14:56 -06:00
nathangray
63fddef20b Run ACL changes through an admin_cmd 2018-08-24 12:03:19 -06:00
Ralf Becker
c93719bc02 allow to document group deletion 2018-08-23 15:25:49 +02:00
nathangray
4b354022cb Admin - make sure correct tree leaf gets selected when loading 2018-08-09 15:33:10 -06:00
nathangray
0e1d21e427 Admin - get category colors properly updating by doing a full reload
Also maybe squashing a bug where admin would switch to iframe
2018-07-31 09:31:11 -06:00
nathangray
460206a208 Some changes for easier extension 2018-06-11 10:24:31 -06:00
Hadi Nategh
6aeb7a5c1e * Admin: Implement new feature to upload multiple images for login background image in site-configuration and show them randomly. 2018-05-28 15:31:32 +02:00
Ralf Becker
e72c7c76b6 * EMail/sMime: allow non-admin users to upload their keys 2018-04-10 13:15:09 +02:00
nathangray
7e4570d46f Admin - Add a group list 2017-09-19 11:11:21 -06:00
Hadi Nategh
3f06a89db5 S/MIME:
- Store full binary (pkcs12) certificate into credentials
- Extract cacert from pkcs12 and feed it into signing process
- Implement p12 export
2017-08-30 17:00:28 +02:00
Hadi Nategh
bbea403298 W.I.P S/MIME:
- Generate private key and certificate
- Add export buttons for private key and certificate
- Add certificate field
2017-08-22 17:25:29 +02:00
nathangray
e34e679733 Fix unable to add ACLs 2017-03-09 08:55:13 -07:00
nathangray
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
nathangray
e26ea93f64 Move variable initialization to make sure it's initialized
(to satisfy scrutinizer)
2017-01-23 08:52:10 -07:00
nathangray
1764ee826c Fix some missing / incorrect translations, found & tranlated by Stefan Unverricht 2016-11-02 09:30:39 -06:00
nathangray
14fbd7fcd5 When loading something into admin, accept & show string data even though it's not valid 2016-07-28 16:30:16 -06:00
Ralf Becker
96caf6effd * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:02:21 +02:00
Ralf Becker
50577cb217 fix redirect to admin index fails via ajax_exec, as there is no menuaction in url 2016-06-30 11:12:58 +02:00
nathangray
c21ac29b96 Fix documentation 2016-06-29 10:22:24 -06:00
nathangray
7c3d97ba12 Load app hooks with ajax=true into a div instead of an iframe 2016-06-29 09:48:54 -06:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
Ralf Becker
349b3a4b9c fix double url encoding stalling calling off clases with namespaces because backslash is url-encoded twice 2016-05-16 15:26:25 +02:00
Ralf Becker
51731f2e9b fix admin_statistics to use eT2 2016-05-14 12:40:15 +02:00
Ralf Becker
46250c7704 need to use "api-accounts" instead of no longer existing "home-accounts" 2016-05-06 07:58:37 +00:00
Ralf Becker
b9bfdb06c8 fix not displayed "allow non-admins to create further identities" 2016-04-26 14:12:41 +00:00
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
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