Commit Graph

1810 Commits

Author SHA1 Message Date
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
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
3fee71bb23 using new appicon widget to display correct application icon 2014-03-03 16:51:22 +00:00
Nathan Gray
22c1738b0a Try for intelligent etemplate2 refresh inside iframe 2014-02-27 18:48:48 +00:00
Ralf Becker
60def94d07 pixelegg changes from Monday 2014-02-18 08:11:14 +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
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
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
Ralf Becker
332d4e5a42 removed gif images for which we have a png image available, as png is now supported by all browsers 2014-02-03 14:04:39 +00:00
Ralf Becker
0d8051837c translations from Stefan 2014-01-28 13:40:16 +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
Ralf Becker
95bc6ced24 fix ide warning and using static methods static 2014-01-28 09:56:12 +00:00
Ralf Becker
653f013975 pixelegg changes from wednesday 2014-01-23 08:44:49 +00:00
Hadi Nategh
8d4e50920c Add appname prefix to accesslog css classes, and add them to app.css 2014-01-20 19:11:35 +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
edd07a9729 removed outdated xmlrpc and soap service, it is off by default since couple of versions 2014-01-19 10:19:49 +00:00
Ralf Becker
41abf2cc21 remove old API interserver class, drop its table and commented out functionality from admin 2014-01-19 10:00:56 +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
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
Ralf Becker
7cc91b0046 new&modified images from pixelegg 2014-01-15 18:04:11 +00:00
Ralf Becker
21bb9ef481 pixelegg changes from monday 2014-01-14 08:20:32 +00:00
Ralf Becker
e3dc74eef6 enabling minifying of javascript again and added new option to debug concatination by setting debug flag for minify 2014-01-10 16:08:13 +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
Klaus Leithoff
93b105ab1d translations provided by stefan becker 2013-12-20 13:47:26 +00:00
Ralf Becker
b29317711a pixelegg changes from Wednesday 2013-12-19 03:14:47 +00:00
Klaus Leithoff
841afa5ba0 translations from translation server; thanks to thoose that contributed 2013-12-18 09:17:12 +00:00
Ralf Becker
f7843e4507 pixelegg changes from Tuesday 2013-12-18 04:33:59 +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
bc4857c376 Avoid errors for personal categories 2013-12-10 22:21:36 +00:00
Nathan Gray
7c33488596 More changes to get category list working using etemplate2 2013-12-10 00:03:36 +00:00
Hadi Nategh
19eb5f0d76 Replace old confirm() with new confirm dialog for admin app 2013-12-05 11:19:18 +00:00
Nathan Gray
e008bd63bb Change categories to use et2 2013-12-04 21:51:20 +00:00
Klaus Leithoff
68f2605cf4 translations generated/retrieved on translation site: Thank you for your contributions 2013-12-04 10:31:41 +00:00
Nathan Gray
9d929dac60 Switch to use prop() for checked, which works (jQuery version difference) 2013-12-02 17:00:51 +00:00
Ralf Becker
73b6521cbf pixelegg changes from yesterday 2013-11-27 07:21:32 +00:00
Ralf Becker
2b7d9af0a2 reverting to previous app.css file and remove app.less files, as they are not used by pixelegg template and create some glitches, might re-introduce .less for regular templates later 2013-11-18 19:57:38 +00:00
Ralf Becker
2a4c1c3813 renamed idots orange-ball.png to bullet.png, to use identical name in all templates 2013-11-18 16:12:50 +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
583538e824 using now CSS preprocessor less (http://lesscss.org) to create some of our css files, used a lot in new Pixelegg template 2013-11-11 19:10:28 +00:00
Ralf Becker
77a30817d6 images for new Pixelegg template 2013-11-11 18:56:02 +00:00
Ralf Becker
574fccb9c9 action to add a new user 2013-11-08 07:48:24 +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
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
55f9f02bbf setting new admin index page via version update to 1.9.001 2013-10-24 10:56:40 +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
Ralf Becker
915183f787 allowing inline js for old apps site configuration 2013-10-08 09:54:21 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
6f162f144e add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed 2013-10-02 16:29:08 +00:00
Ralf Becker
d6b2155dc2 using eT2 for acl editing 2013-09-11 13:52:38 +00:00
Ralf Becker
0b3d3c132d use secure and httponly cookies by default, secure cookies can be switched off in Admin >> site configuration, if required for sitemgr 2013-09-11 13:08:59 +00:00
Ralf Becker
855c04cb2c use secure and httponly cookies by default, secure cookies can be switched off in Admin >> site configuration, if required for sitemgr 2013-09-11 13:06:00 +00:00
Nathan Gray
1355f66fd0 Change to jsapi egw.json() 2013-09-10 19:45:08 +00:00
Ralf Becker
892500fee3 change cli detection to use php_sapi_name() 2013-09-10 17:29:58 +00:00
Ralf Becker
ed0abde9ae simplyfied UI and taking into account that not all apps use group acl in same way 2013-09-04 09:48:18 +00:00
Ralf Becker
991980ac3a fixed ACL was wrong way around and made use termenology more clear: data from, access by, ... 2013-09-02 09:19:49 +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
Klaus Leithoff
5a807858d7 commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:53:55 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Klaus Leithoff
dae7123c77 commit some lang file stuff; mostly french 2013-08-26 09:39:33 +00:00
Klaus Leithoff
10d0680fe0 add new lang strings 2013-08-26 09:28:29 +00:00
Klaus Leithoff
95e18fd5a7 merge russian lang files provided by MBCGroup 2013-08-16 11:01:33 +00:00
Ralf Becker
85b2f5f642 allow apps to hook into "Admin >> Clear cache and register hooks" 2013-08-15 10:03:14 +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
77be8da21c * Admin/SambaAdmin: fixed not set sambaNTPassword and sambaLMPassword hashes in LDAP (hook changepassword was called without password) 2013-07-30 18:13:22 +00:00
Ralf Becker
59c683c359 removed ancient "mark untranslated strings with *" site configuration, as it is unnecessary and breaks links-stream-wrapper and WebDAV 2013-07-25 12:18:08 +00:00
Ralf Becker
de5a0c0378 setting a white background to work around transparency 2013-07-19 09:48:53 +00:00
Ralf Becker
d63ee993b3 AD requires to activate account AFTER setting pw 2013-07-16 14:58:38 +00:00
Ralf Becker
10436d5e41 fixed not being able to switch "forbid password to contain name" off again, after it has been switched on (caused by name "passwd_forbid_name") 2013-07-16 14:50:12 +00:00
Hadi Nategh
014d5cd416 Fix displaying wrong number of deleted logs from accesslog in the message bar. 2013-07-15 09:30:09 +00:00
Ralf Becker
d6459fec8a fixed warning 2013-07-15 08:08:49 +00:00
Ralf Becker
6898ee9cdb * Admin/Preferences/Active Directory: more understandable password policy errors and using windows defaults only, if admin has not configured something else 2013-07-14 13:05:24 +00:00
Ralf Becker
6e6835ca8f disable "account_lid" input, if backend (eg. AD) does not allow changing it 2013-07-13 08:34:04 +00:00
Ralf Becker
cb523f8400 * Admin/Active Directory: fixed not working display, setting and removing of "must change password upon next login" 2013-07-13 07:50:36 +00:00
Ralf Becker
92e0ee86a5 * All apps: allow to log user-agent and action of all changes in history-log of entries (enable in Admin >> Site configuration) 2013-07-11 13:09:23 +00:00
Nathan Gray
b46eb9a72c Fix custom fields header Length <br> Rows using an hbox 2013-07-10 18:36:38 +00:00
Ralf Becker
a57e1c76cf setting different std image for tree, old one was only found with Styite template 2013-07-09 15:02:02 +00:00
Hadi Nategh
86dfe42104 replace no longer existing depricated egw_info->user email and fullname 2013-07-04 17:45:20 +00:00
Hadi Nategh
0f7a28d437 fixed unrecognised property name "email"in egw_info->user in Asynchronous services, replaced with "account_email" 2013-07-04 13:29:22 +00:00
Ralf Becker
b2f733c4d5 a few more steps towards a new admin 2013-07-03 16:27:18 +00:00
Ralf Becker
9afb974d44 loading actual groups now via callback 2013-07-02 18:26:53 +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
Ralf Becker
c5246d90c9 run addaccount hook for new accounts and set account_id in menuclass links (left menu) after account-creation 2013-06-26 19:55:20 +00:00
Ralf Becker
52933ba6c3 fixed lost active account-status, if an error happend (disabled permanent error_log) 2013-06-26 10:48:37 +00:00
Ralf Becker
aa1426b8de * Admin: split password strength config in minimum length and number of character types, allow account backends specially AD to report password policy failures 2013-06-25 16:37:44 +00:00
Nathan Gray
509482e81c Fix custom types shown on all apps 2013-06-18 15:51:46 +00:00
Klaus Leithoff
079b919bbe russian translations provided by Vladimir Gavrilov (MBC-Group) 2013-06-17 12:30:44 +00:00
Klaus Leithoff
4e13e7b504 italiann translations provided by Ilias Chasapakis (webtrain.it) 2013-06-17 11:08:37 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Nathan Gray
770ef196fc Get sub-types working for et2 2013-06-10 20:17:41 +00:00
Ralf Becker
0a22f09523 * Admin/All apps: enable private custom-fields
can be explicitly disabled via GET parameter use_private=0
2013-06-06 17:05:56 +00:00