Commit Graph

857 Commits

Author SHA1 Message Date
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