Commit Graph

1058 Commits

Author SHA1 Message Date
Ralf Becker
f9bbcdeb86 * Timesheet/Resources/Filemanager/Calendar: customfields could not be deleted 2017-01-17 18:24:56 +01:00
nathangray
72fad2941f - Allow extending classes to easily override config index
- Allow config settings to be arrays
2016-12-14 11:51:58 -07:00
Ralf Becker
655e532ed4 fix SQL error when Db->Type is not "mysql", as it should be, but eg. "mysqli" and therefore PostgesSQL SIMILAR is used with MySQL/MariaDB 2016-12-01 13:00:47 +01:00
Ralf Becker
584ecf07ed * Admin: fix fatal error when using "Deny Access" from context menu on groups 2016-10-31 18:12:45 +01:00
Ralf Becker
fb5429992e need to set ident_email_alias selectbox too, if changing identity 2016-10-28 14:53:51 +02:00
Ralf Becker
7d02313af2 do not make ident_email_alias select-box readonly for regular users editing their sigature 2016-10-28 14:46:17 +02:00
Ralf Becker
74e2c62b48 * Admin/Mail: allow to limit users to only create identities for aliases 2016-10-28 14:27:59 +02:00
Hadi Nategh
c3fb98f3c1 Try to correct ckeditor references point to vendor directory 2016-10-07 12:15:03 +02:00
Ralf Becker
54a9ea87f1 * Admin: show "check ip address of all sessions": No (it was stored but always shown as Yes)
Caused by "" being deleted when stored and not set === null value picked first option Yes, now we send "" for a not set value to client-side
2016-10-04 14:29:31 +02:00
Hadi Nategh
aff9f0eba8 Fix Ctrl+A in context menu does not get translated 2016-09-09 12:54:52 +02:00
Ralf Becker
43432ca501 fix Scrutinizer errors 2016-08-15 11:57:13 +02:00
Ralf Becker
f987caa5c2 * Admin: warn admin if passwords for new accounts / password reset lack in strength 2016-08-12 13:47:01 +02:00
Ralf Becker
3752c35a5a add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog 2016-08-12 11:35:30 +02:00
Ralf Becker
3b18244106 * Admin: fix PHP Fatal error when editing custom fields in a minimal install 2016-08-09 11:25:49 +02: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
087cff7f25 * Admin: fix PHP Fatal Class jdots_framework does not exist in minimal install 2016-07-12 11:44:02 +02:00
Ralf Becker
d0030228e8 do not use jdots class not always installed by Api\Framework\Ajax, which is always available 2016-07-08 16:37:15 +02:00
nathangray
7c3d97ba12 Load app hooks with ajax=true into a div instead of an iframe 2016-06-29 09:48:54 -06:00
Ralf Becker
29d34bcc6c fix PHP Fatal in 16.1 minimal install caused by usage of old categories:: constants 2016-06-27 18:38:04 +02:00
leithoff
2b925a44af give more details about possible error 2016-06-24 14:28:49 +02:00
Ralf Becker
6c47da8f64 we need to set a different dom-id for each application and also global categories of that app
otherwise eT2 objects are overwritter when a second categories template is shown
2016-06-13 16:04:11 +02:00
Hadi Nategh
5e4412aea5 Run applications categories with ajax=true
- Fix categories colors not showing up
- Fix categories list refresh does not work
2016-06-13 12:30:21 +02:00
Ralf Becker
b17fd7004e * Admin: fix async service testjob to run on a default install (no phpgwapi) 2016-06-08 15:15:01 +02:00
nathangray
b466c327a5 Put cron timestamps into user timer format 2016-05-17 09:18:32 -06:00
Ralf Becker
dab7650dca using eT2 for about and moved code to api (api/src/Framework/About.php) 2016-05-16 16:27:33 +02:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Ralf Becker
a83f4a2483 fix not loaded header / CSS, renamed classes for autoloading and changed new admin_denyaccess to use new api 2016-05-14 21:04:03 +02:00
Ralf Becker
51731f2e9b fix admin_statistics to use eT2 2016-05-14 12:40:15 +02:00
Klaus Leithoff
4bf97ecf8c folders for taglist in folder-tab are preset with sel_options. acc_folder_archive was missing 2016-05-10 10:40:34 +00:00
Ralf Becker
251de1dc54 move category images to api, fixes PHP Fatal in admin_categories, if phpgwapi is not installed 2016-05-09 10:05:57 +00:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
08549368a0 fix custom translations to use eT2 2016-05-08 12:23:54 +00:00
Ralf Becker
b4148d1b5a port "Admin Queue and History" and "Remote Administration Instances" to eT2 2016-05-07 16:57:18 +00:00
Ralf Becker
e6ad65387e mask out passwords in admin queue 2016-05-07 16:55:15 +00:00
Ralf Becker
2a5c28fce1 admin was using non-pixelegg icon for applications and use of phpgwapi/nonav icon 2016-05-06 07:59:43 +00:00
Ralf Becker
d17701345d fix PHP Fatal of using deprecated, and therefore not existing in Api, get_list method of accounts object 2016-05-06 07:38:23 +00:00
Ralf Becker
6ce45b634c fix PHP Fatal, if etemplate is not installed 2016-05-05 17:59:31 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Ralf Becker
d542785914 fix typo in 2. password 2016-04-29 11:45:01 +00:00
Klaus Leithoff
8e02180904 * Mail: allow to define an existing folder as archive folder and allow to move messages to the specified folder with either right-click action or EGW-shortcut 2016-04-29 11:23:05 +00:00
Ralf Becker
01c396e5d3 using new api for admin, though 3 classes still use old etemplate 2016-04-27 19:12:20 +00:00
Ralf Becker
37f61b1f03 move admin >> Site config to new et2 based site-config 2016-04-21 16:39:59 +00:00
Ralf Becker
22701ce83f WIP et2 based site configuration 2016-04-20 18:52:55 +00:00
Nathan Gray
07bae4d00b Add 'Add user' to user list placeholder actions 2016-04-13 16:22:19 +00:00
Ralf Becker
af5e0daa07 remove no longer necessary Admin >> Applications, used to change application order in templates before jdots 2016-04-07 07:03:55 +00:00
Ralf Becker
fd2bc6d7b7 fix problems with autoloading of etemplate_widget_tree 2016-04-04 08:48:04 +00:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7 move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms) 2016-04-02 14:16:20 +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
Ralf Becker
d8fe729ffd remove unnecessary check, stalling moving eT2 to api 2016-03-19 12:58:20 +00:00
Ralf Becker
c0e3684806 move [+ Add] button to left of NM header 2016-03-09 10:14:48 +00:00
Ralf Becker
0493ca041c nicer UI to select apps for mobile device and not storing default, to allow chaning it, when more apps become available 2016-03-09 09:29:13 +00:00
Ralf Becker
8b53703b40 fix an old class-name accounts_ldap 2016-03-08 08:26:14 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Ralf Becker
49c45ff53a cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image) 2016-03-05 15:32:49 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
91f3671be4 fix [Add] button in ACL and render it as popup, needs fixing of scrollbars shown 2016-02-25 08:42:33 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00
Ralf Becker
1f762e92b2 put an [Add] button left of nm-header 2016-02-15 12:00:26 +00:00
Ralf Becker
0261dd0b82 server-side adds now urls for extra tabs incl. cache-buster, so we dont rely on app-code to add it 2016-02-03 15:20:50 +00:00
Nathan Gray
91f9bb831b Fix ACL does not get removed when a group is deleted 2015-12-02 22:17:01 +00:00
Nathan Gray
edffbeea99 Remove custom statuses for the type when you remove a custom type 2015-12-02 21:40:05 +00:00
Nathan Gray
625cc51c59 Fix categories would not always refresh
Fix calendar categories would never refresh
2015-10-27 16:55:57 +00:00
Nathan Gray
035570018a Put nm readonlys into nm namespace to avoid conflict with add button 2015-10-26 18:32:40 +00:00
Nathan Gray
d3530c4899 Cachebuster for category CSS 2015-10-19 22:26:09 +00:00
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Hadi Nategh
aa6a362f16 WIP EGroupware Tutorial:
- Add tutorials hook into other apps sidebar
2015-10-16 10:39:38 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Nathan Gray
d8487a7507 Fix refresh & updates when working on personal categories 2015-10-05 20:02:11 +00:00
Nathan Gray
c4861e1194 Only admins can delete super-global or app-level global categories, regardless of owner. 2015-09-30 16:24:08 +00:00
Nathan Gray
f1837813a4 Fix ACL error allowing regular users to delete global categories 2015-09-29 15:15:45 +00:00
Nathan Gray
8e657aeb0e Do not die if select custom field is not fully set up 2015-09-21 19:43:36 +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
31a23f0dbd Add filemanager custom field type using vfs-upload 2015-09-02 19:52:47 +00:00
Ralf Becker
b5b6784ec1 * Admin/PostgreSQL: shorten ACL labels used to limit admin rights to 16 char and fixed stalled 14.3 update for PostgreSQL 2015-08-04 09:55:29 +00:00
Ralf Becker
0cf1bd1452 fix nothing to change found, if admin-cli was called with root_admin and config-password 2015-07-24 11:42:55 +00:00
Ralf Becker
a5b36d48e0 show nonav icon in admin tree too, if app has not navbar icon 2015-07-03 12:43:26 +00:00
Ralf Becker
b57d51138e make sure keys in admin tree are unique, as we overwrite tree entries otherwise 2015-07-03 12:27:15 +00:00
Ralf Becker
1723f6235e * Admin: bulk password reset: fixed missing password from email and csv, csv download is working again
also changed all et2 actions to not use an iframe with ajax=true
2015-07-01 18:35:24 +00:00
Ralf Becker
56c5db4fbc visualize not existing ability to unset "must change password on next login", by making it readonly 2015-07-01 14:58:07 +00:00
Nathan Gray
a602dd3e86 Fix custom field order renumbering to keep at multiples of 10. 2015-06-18 16:48:16 +00:00
Nathan Gray
1beba97dcf Fixed custom field select options removed empty label if there was white space after options 2015-05-19 19:58:43 +00:00
Nathan Gray
27e2f787a1 Date widget:
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
7c2b6a44f8 Customfields:
- fix saving of @filename style options got automatically converted to label=@value style
2015-04-21 16:13:10 +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
Nathan Gray
b8af138e79 Avoid warning from applications with no data (sambaadmin) 2015-04-13 19:27:28 +00:00
Ralf Becker
a0b6dc0ea1 fix width of phpinfo popup to not have a scrollbar under PHP 5.6 2015-04-09 07:05:08 +00:00
Nathan Gray
577c4afaef Fix add category button 2015-03-23 18:57:33 +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
426f9e0f84 * Admin: add a description to stock groups Admins, Default and NoGroup, allow to edit that description for LDAP and ADS 2015-02-18 11:40:26 +00:00
Nathan Gray
b2d1fa70d2 Fix bug where old image directory was re-scanned when changing it, instead of the new image directory 2015-02-17 18:45:14 +00:00
Ralf Becker
c822b48e7c remove hook and translations from old update check 2015-02-17 08:47:19 +00:00
Ralf Becker
b4ef509c03 removed not used remote administration, use json serialization for new admin_cmd data and (secured) json_php_unserialize for existing data 2015-02-14 17:05:16 +00:00
Hadi Nategh
a9522e71cd Fix user can not delete its own categories from nextmatch context menu 2015-02-11 09:40:01 +00:00
Nathan Gray
fd0b513bbb Keep appname through actions, fixes blank after action 2015-01-27 22:41:13 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +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
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
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
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
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
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +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
d63ee993b3 AD requires to activate account AFTER setting pw 2013-07-16 14:58:38 +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
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
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
Ralf Becker
76e9d68121 fix header templates missing essential parts like display of validation errors 2013-06-05 07:37:08 +00:00
Ralf Becker
30b3f407d2 2 more cases for r42550: only check for matching system users, if a new account get added, as existing accounts can be reported - depending on configuration - as system users too 2013-05-27 14:30:22 +00:00
Ralf Becker
7806f183a9 * Admin: fixed fatal error when creating new users 2013-05-21 18:03:44 +00:00
Ralf Becker
9454438a77 experimenting with new ideas for admin UI 2013-05-12 13:44:46 +00:00
Klaus Leithoff
8262dc54e7 use cache invalidation on inital read before edit too; add missing translation 2013-04-24 13:05:37 +00:00
Ralf Becker
5c71e6916e invalidate account, before reading it, to code with changed to DB or LDAP outside EGw 2013-04-23 13:47:20 +00:00
Ralf Becker
17b807e4a1 preg of domain must allow empty and allow to change only domain 2013-04-05 14:22:42 +00:00
Ralf Becker
c655ab1e7f allow to change mail domain 2013-04-05 14:15:40 +00:00
Ralf Becker
697d8931eb allow to change mail domain 2013-04-05 14:13:41 +00:00