Commit Graph

1915 Commits

Author SHA1 Message Date
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
ab57cbefad make sure admin tree displays following toplevel order: admin, user, groups, apps by returning admin hooks first, despite alphabetical sorting of apps 2014-12-19 07:49:04 +00:00
Ralf Becker
d71fa725e5 * all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1 2014-12-10 14:34:48 +00:00
Nathan Gray
bdcf3df195 Floats don't have rows 2014-12-08 22:13:25 +00:00
Ralf Becker
7ecc088c35 sort apps alphabetic and open external links with a target _blank 2014-11-28 12:43:10 +00:00
Nathan Gray
81ef504361 - Disable options according to type too
- Start options, value & rows disabled according to type when popup opens
2014-11-27 16:58:11 +00:00
Nathan Gray
7f7e013ecf UI for customfields edit dialog:
- More space
- Show type specific help in options tooltip
- Disable length & rows when not needed
2014-11-24 21:58:07 +00:00
Nathan Gray
5a2c3a530d Set some styles for customfields
- Limit cf option size in nextmatch row to max of ~10 lines
- Limit type option size to max of 300 px
2014-11-24 17:06:06 +00:00
Ralf Becker
89c02707e9 * Admin: fix fatal error in admin >> bulk password reset 2014-11-20 13:53:30 +00:00
Nathan Gray
4da6635a51 Fix missing infolog custom types 2014-11-19 21:15:48 +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
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +00:00
Ralf Becker
e6dffefdd0 sessions with status blocked or wrong password could not be deleted from access log (to unblock an account) 2014-11-10 16:49:21 +00:00
Hadi Nategh
686d424e58 Open customfields edit dialog as popup 2014-10-30 15:24:05 +00:00
Ralf Becker
8d52ecd059 not show apps and context-menu entries for apps not available to user, hooks->single() did not check apps for new method-hooks 2014-10-30 15:12:37 +00:00
Hadi Nategh
836251277c Style customfields' edit popup dialog 2014-10-30 14:13:45 +00:00
Ralf Becker
dd6ddebb80 delete user by account_id, not account_lid, as there might be a group with same name 2014-10-29 16:03:22 +00:00
Nathan Gray
83fd536408 Add missing template file.
Fixes fatal error exporting users.
2014-10-28 20:37:15 +00:00
Nathan Gray
629c66d00e Use egw_customfields::update() instead of so->save(), since it handles the arrays and cache already. 2014-10-27 16:31:24 +00:00
Nathan Gray
bcbf679f64 More custom field UI work
- Application sub-type options
- Tracker & Infolog now use common UI
2014-10-23 17:33:03 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +00:00
Ralf Becker
bc864c4103 * Admin: if group was selected only active accounts were shown and show primary group in LDAP 2014-10-22 17:10:12 +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
e2d6d75607 fix async jobs with scalar data (strings, int) got quoted over and over again 2014-10-17 13:51:28 +00:00
Ralf Becker
f14d3b4c8b add message to submit or postpone statistic first 2014-10-17 13:49:42 +00:00
Ralf Becker
fa11f01258 * Admin/LDAP: show LDAP extra attributes shell/homedir, if enabled in setup 2014-10-14 08:52:11 +00:00
Ralf Becker
4e89ed6520 allow to set $query[session_list]="active" to filter out sync sessions 2014-10-09 07:45:59 +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
Ralf Becker
3093cb6b85 fixed not working refresh of user category list called via top-menu after adding/editing a category 2014-09-25 16:03:28 +00:00
Hadi Nategh
e2fd522aee Adjust default width for categories nm columns 2014-09-25 12:31:52 +00:00
Ralf Becker
1465d5065b * Admin/PostgreSQL: adding new accounts failed
because they were added with account_id=0, which is stored literaly in postgres but created a new auto-id in mysql, unsetting it works of cause for both
2014-09-24 06:55:44 +00:00
Nathan Gray
76a76beb69 Fix a few more redirects resulting in unwanted iframes. 2014-09-22 15:25:23 +00:00
Ralf Becker
2e8a353f3e pending translations from our translation server 2014-09-22 11:57:15 +00:00
Nathan Gray
3cb9049199 Make account selection read only for non-admins 2014-09-19 16:31:57 +00:00
Klaus Leithoff
9555780834 pending translations from our translation server 2014-09-19 08:26:55 +00:00
Nathan Gray
9743c19318 Change redirect after save/cancel custom fields, fixes unwanted iframe after save 2014-09-18 18:45:46 +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
Ralf Becker
d0ac7525b6 * Preferences: non-admin user was able to give himself run-rights to any app incl. admin 2014-09-18 13:53:34 +00:00
Ralf Becker
bb569e6db8 home-directory and login-shell dont need password fields 2014-09-06 09:56:51 +00:00
Ralf Becker
3dc11e4037 fixed check for extra ldap attributes to take into account current account-repository, to not show them for migrated instances 2014-09-05 12:23:36 +00:00
Ralf Becker
20179f1767 * Spellchecker: marking "browser based" (default for new installs) and "No" as safer and fixing CSP policy for web-spell-checker 2014-09-04 09:58:48 +00:00
Ralf Becker
0d63cbbd93 only generate default email address for new accounts, allows to set empty email address for existing accounts or by emptying it before save for new accounts 2014-09-04 07:41:30 +00:00
Ralf Becker
e6810011e5 set column width 2014-08-26 16:57:15 +00:00
Ralf Becker
0538a59ea1 wrong column was disabled, if no content-types are supported 2014-08-26 14:34:41 +00:00
Ralf Becker
ad001d8eab using all space for values 2014-08-26 10:26:07 +00:00
Ralf Becker
ed89a1b10b * Addressbook/Tracker/other apps: custom-fields were not saved (existing custom-fields and InfoLog worked) 2014-08-26 09:30:38 +00:00
Ralf Becker
78e686c4fa setting width for accounts, as reverted by r48194 2014-08-22 17:13:14 +00:00
Stefan Reinhardt
c77626ccd3 pixelegg - image Filter gray for .et2_appicon
NEWS APP - 
ADMIN APP
etemplate2
2014-08-22 12:39:21 +00:00
Ralf Becker
94afafae11 * all apps: fixed column sizes and stretch (change when window size changes) 2014-08-22 11:08:21 +00:00
Ralf Becker
ee92144787 added et2_appicon class to app-icons in old eTemplates 2014-08-21 10:11:35 +00:00
Ralf Becker
091e0aeaf8 setting default width for admin accounts 2014-08-20 09:05:10 +00:00
Ralf Becker
e4a80cbfc6 exclude login failures from session list 2014-08-19 17:15:50 +00:00
Nathan Gray
687ed8746c Fix sort by account created or modified gives SQL error 2014-08-06 14:30:18 +00:00
Ralf Becker
35e5ff6d6e * Admin: restore from admin was not working (worked only from setup) 2014-07-25 09:13:19 +00:00
Ralf Becker
cf519cb666 re-add "Deny access" to groups 2014-07-22 13:48:57 +00:00
Hadi Nategh
62498c91e7 Add translation for global categories delete confirmation dialog 2014-07-21 12:19:07 +00:00
Ralf Becker
9712e625db * Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway 2014-07-18 10:02:51 +00:00
Ralf Becker
08e4ecd696 fixed typo 2014-07-18 09:47:17 +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
Ralf Becker
448e1e3675 * Admin: automatic update check displaying an icon for available (security-)updates for admins, escalating for security updates to all users after 3 days 2014-07-17 09:22:54 +00:00
Ralf Becker
5352f55892 remove no longer used msg lines, as they show up as white gap 2014-07-17 09:12:11 +00:00
Stefan Reinhardt
8b6e91cb6c pixelegg / less
change @import....
2014-07-16 11:29:16 +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
2e2d48ff1f Disable "Change Owner" item from category context menu if it is a private one 2014-07-14 13:30:26 +00:00
Hadi Nategh
025f31872f Fix delete confirmation dialog in Global categories edit popup 2014-07-14 10:19:32 +00:00
Hadi Nategh
49789bcf09 Fix Gloabl categories owner_popup actions 2014-07-11 09:47:43 +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
Hadi Nategh
fb37282a2c Fallback to admin index after save/cancel from edit Custom fields or Site configuration 2014-07-08 14:15:48 +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
715580aca4 changed Germany translations for "access control" 2014-07-07 13:32:38 +00:00
Ralf Becker
5ba884f4a6 * Admin/API: remove old database based error-log 2014-07-05 08:54:36 +00:00
Ralf Becker
7cc924c74e disable old EGroupware error_log, as it is not used anymore 2014-07-04 14:11:32 +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
Hadi Nategh
eee8495145 Style "Global Category" edit dialog 2014-06-30 07:48:05 +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
864c3189cc moved about link to admin and changed wording of "Powered by ..." in footer 2014-06-25 19:02:06 +00:00
Ralf Becker
78c2824727 re-added need acl.edit.xet 2014-06-25 15:39:34 +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
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Ralf Becker
27bc31456e fixed error-message for password change containing "%" instead of "%1" 2014-06-18 08:03:13 +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
Ralf Becker
8e5adb50f7 fixed contact modified by other use warning, if changing account relevant details in a contact (eg. email-address) 2014-06-05 08:42:45 +00:00
Ralf Becker
2b0691306c account-list is (new) default for admin not site configuration 2014-06-04 20:02:51 +00:00
Ralf Becker
632a7cc18d * Admin: accounts could not be deactivated 2014-06-04 20:02:01 +00:00
Nathan Gray
ec55375e56 Fix refresh in acl popup, was refreshing opener instead. 2014-06-04 15:05:27 +00:00
Ralf Becker
07cd6838f5 * Admin/Filemanager: creating groups did not create group directory, but damaged VFS (can be repaired with "Check virtual filesystem") 2014-06-04 09:26:29 +00:00
Nathan Gray
5aee5a7b44 Give minimum height to otherwise empty sidebox to make sure scrollbars get triggered 2014-05-26 22:46:49 +00:00
Nathan Gray
135b6cda37 Fix invalid actions on session/access log still enabled 2014-05-26 17:39:59 +00:00
Nathan Gray
9bb8bed02b Fully implement select all for access log 2014-05-20 19:04:50 +00:00
Klaus Leithoff
f14384baff translations from our translation server 2014-05-19 14:22:08 +00:00
Hadi Nategh
8605c025ec Get "Group" and "Account" message correct and translated 2014-05-16 15:50:52 +00:00
Hadi Nategh
a4a3f7b61f Fix the wrong message for edit and delete group in admin 2014-05-16 13:32:49 +00:00
Nathan Gray
254dab429a Avoid error about missing placeholder action 2014-05-13 23:19:34 +00:00
Klaus Leithoff
09fea87804 translations from our translation server 2014-05-13 14:43:56 +00:00
Klaus Leithoff
70c0f8e64c handle problem on not set [alt_loginid] but displayed as var-name 2014-05-13 10:42:45 +00:00
Nathan Gray
8dfea11106 Make sure primary group is in group list
Fixes Default group always added if primary group is not Default
2014-05-05 14:46:01 +00:00
Ralf Becker
9e4a03c59c fix validation of email in account creation to allow to manually enter an email and never automatic add an invalid one 2014-05-05 13:08:25 +00:00
Ralf Becker
544d57ca46 prevent CSRF for setup and admin site configuration 2014-05-01 06:26:09 +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
df8f6b9460 change validation of configuration to return existing validation functions, not running arbitrary ones 2014-04-23 14:36:08 +00:00
Klaus Leithoff
79134d7b12 translations from our translation server 2014-04-23 12:39:12 +00:00
Hadi Nategh
c55c5c3918 Make the ACL dialog shows both User/Group 2014-04-22 16:17:16 +00:00
Hadi Nategh
1e4137665b Fix ACL dialog shows empty dropdown list for "Data from" and "Access by" fields 2014-04-22 15:31:57 +00:00
Hadi Nategh
a2b7a44b08 Add "Add new button" to Admin ACL index page 2014-04-22 07:58:04 +00:00
Hadi Nategh
d0c3f48031 Add the "AddPlus button" to admin user and group index page 2014-04-17 15:40:16 +00:00
Hadi Nategh
2fc95f3101 Make selectBox, in admin->ACL dialog, more visible 2014-04-17 12:09:11 +00:00
Nathan Gray
925b7da66c Add popup styling for Close button 2014-04-14 16:39:49 +00:00
Ralf Becker
27ebbd6bad fixed initially wrong sorted accounts, because account_id is used as key 2014-04-10 11:29:20 +00:00
Klaus Leithoff
83716092fb translations from our translation server 2014-04-07 06:50:08 +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
f349506191 fixed not working change of memberships 2014-04-03 08:34:12 +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
Ralf Becker
04d1682cba fixed not working opening of an apps site configuration, if admin tab was not yet open 2014-04-03 07:23:27 +00:00
Nathan Gray
ca07e19573 Fix typo breaking the loading of existing rights values 2014-04-02 19:28:57 +00:00
Nathan Gray
f0603e5b5a Show user list by default 2014-04-02 19:24:31 +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
24b75f7f01 Add close button below list 2014-04-02 18:40:57 +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
Ralf Becker
80463f8625 fixed 2 more old dialogFooterToolbar class names 2014-04-02 08:20:05 +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
9d54f29045 still need "User accounts" in tree 2014-04-01 07:49:32 +00:00
Klaus Leithoff
8d5b0e83a3 translations from our translation server 2014-03-31 12:50:09 +00:00
Ralf Becker
9280eca83b old user and group admin, incl. lots of old phplib templates 2014-03-28 19:18:58 +00:00
Ralf Becker
b71baf7365 missing "edit_user" hook from admin 2014-03-28 18:54:40 +00:00
Ralf Becker
fbce93db73 dont save account-data, if they are not changed 2014-03-28 17:58:17 +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
2282d600c0 fix sql error 2014-03-27 18:58:44 +00:00
Ralf Becker
1b13b10bf6 deleting of groups 2014-03-19 15:24:54 +00:00
Ralf Becker
e476a3ed82 new deleting of accounts 2014-03-19 13:20:46 +00:00
Ralf Becker
f3512f46fd translation for Account tab 2014-03-19 08:05:03 +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
a744177316 add/edit accounts via extra tab in addressbook edit dialog 2014-03-18 15:10:57 +00:00
Ralf Becker
6a55295b77 first version of new account editing via accounts tab in addressbook (not yet saving!) 2014-03-17 15:28:20 +00:00
Ralf Becker
3c4abb37c8 preferences ACL is runing in jdots in application tab 2014-03-12 13:50:16 +00:00
Ralf Becker
2a34b88111 fixed not working referesh of ACL list 2014-03-12 13:14:23 +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