Commit Graph

798 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
864c3189cc moved about link to admin and changed wording of "Powered by ..." in footer 2014-06-25 19:02:06 +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
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
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
632a7cc18d * Admin: accounts could not be deactivated 2014-06-04 20:02:01 +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
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
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
Ralf Becker
df8f6b9460 change validation of configuration to return existing validation functions, not running arbitrary ones 2014-04-23 14:36:08 +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
Ralf Becker
27ebbd6bad fixed initially wrong sorted accounts, because account_id is used as key 2014-04-10 11:29:20 +00:00
Ralf Becker
f349506191 fixed not working change of memberships 2014-04-03 08:34:12 +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
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
Ralf Becker
80463f8625 fixed 2 more old dialogFooterToolbar class names 2014-04-02 08:20:05 +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
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
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
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
Nathan Gray
c983e02c9e Send category sel_options each time to fix category colors not being updated.
Use update types to refresh just the changed row or whole nextmatch contents, as needed.
2014-03-05 17:33:42 +00:00
Ralf Becker
929a29f1fb fix IDE warnings 2014-03-03 16:51:37 +00:00
Ralf Becker
d99b52d48f no success-message on initial load 2014-02-05 20:35:41 +00:00
Ralf Becker
c27b4a5add using egw_framework::message() for error or success messages 2014-02-05 20:34:26 +00:00
Ralf Becker
60adf9ff47 added a div around default admin site configuration and some default styling for it 2014-02-05 17:26:17 +00:00
Ralf Becker
1b9c5d1363 display configuration with et2 like [save] [apply] [cancel] buttons, incl. old eTemplate apps 2014-02-05 16:25:35 +00:00
Ralf Becker
c0c6775e0a added htmlencoding to tree widget and static PHP method to quote and send JSON data 2014-02-05 08:54:36 +00:00
Ralf Becker
6fb70805cb same for list users or groups 2014-02-04 09:12:43 +00:00
Ralf Becker
141ff78bbc missing quoting in editing users and groups 2014-02-04 08:40:42 +00:00
Ralf Becker
95bc6ced24 fix ide warning and using static methods static 2014-01-28 09:56:12 +00:00
Nathan Gray
b8bf2f7b2d Don't set icon_url if icon is not set.
Fixes browser displaying missing image if Icon = 'none'
2014-01-20 14:25:18 +00:00
Hadi Nategh
9da3e4ca0d Convert Accesslog and view session to et2. Additionally, add context menu on list instead of legacy actions column 2014-01-20 11:27:23 +00:00
Ralf Becker
28673080f1 remove old API interserver class, drop its table and commented out functionality from admin 2014-01-19 09:54:14 +00:00
Nathan Gray
f9b34a4c56 Fix save does not close category popup 2013-12-16 20:11:58 +00:00
Nathan Gray
4f46394b71 Need to update opener before closing the window, or it won't work... 2013-12-10 22:38:36 +00:00
Nathan Gray
de840c2d7d The category template starts with 'admin', so we refresh admin or etemplate2 won't find it. 2013-12-10 22:23:05 +00:00
Nathan Gray
7c33488596 More changes to get category list working using etemplate2 2013-12-10 00:03:36 +00:00
Nathan Gray
e008bd63bb Change categories to use et2 2013-12-04 21:51:20 +00:00
Ralf Becker
3a3227bc27 fixed not found images in admin tree, by using static method knowing templated image path and calculating a relative path for images returned by common::image 2013-11-15 19:12:36 +00:00
Ralf Becker
574fccb9c9 action to add a new user 2013-11-08 07:48:24 +00:00
Ralf Becker
e94502515d * Admin/Preferences: changepassword hook was called twice
fixed by calling in now from API and not on every location in application code changing a password
2013-10-25 19:24:01 +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