Commit Graph

4917 Commits

Author SHA1 Message Date
Ralf Becker
c9074f936d additionally check prefs read from cache, if they are of type array, otherwise read them from db, might help with APC at least in some versions not seem to deal correctly with out-of-memory 2012-09-26 10:18:18 +00:00
Ralf Becker
eaebb0d27a allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime 2012-09-26 10:01:45 +00:00
Ralf Becker
078fa987d4 allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime 2012-09-26 10:01:02 +00:00
Ralf Becker
9df39d8dfc * CalDAV/CardDAV: Max OS X 10.8 (Mountain Lion) support: automatic sync of all addressbooks in one 2012-09-26 08:06:48 +00:00
Ralf Becker
9c0fc7c2c4 * Filemanager: fixed not working repair of doublicate directories 2012-09-25 12:55:43 +00:00
Ralf Becker
3b7a0171c8 * Filemanager: fixed not working repair of doublicate directories 2012-09-25 12:55:17 +00:00
Nathan Gray
86a5b379cb Fix fatal error deleting user (LDAP) 2012-09-24 14:46:33 +00:00
Ralf Becker
f224fe5852 sync-collection report for InfoLog, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set 2012-09-24 10:26:29 +00:00
Ralf Becker
e69918f583 * CalDAV/CardDAV: return urn:uuid as last record in calendar-user-address-set, as according to iCal4OL developer, some clients might have problems with it, also adding both full uri and just path of principal url, as calendarserver does it 2012-09-24 07:07:57 +00:00
Ralf Becker
a6f541edba * CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts) 2012-09-23 20:19:35 +00:00
Nathan Gray
a86a3d72c6 Fix fatal error deleting user (LDAP) 2012-09-21 14:36:02 +00:00
Ralf Becker
f3d12c72c1 * API/all apps: fixed account-selection popup started with all users, not primary group, also displaying shown group in bold 2012-09-04 14:08:30 +00:00
Ralf Becker
40e7908231 * API/all apps: fixed account-selection popup started with all users, not primary group, also displaying shown group in bold 2012-09-04 14:08:09 +00:00
Klaus Leithoff
8e755e1813 fix the use of deprecated firstname/lastname; using account_firstname/account_lastname 2012-08-30 11:50:00 +00:00
Klaus Leithoff
6b8a937977 fix the use of deprecated firstname/lastname; using account_firstname/account_lastname 2012-08-30 11:49:06 +00:00
Ralf Becker
988d8148c5 an other PHP < 5.3 compatibilty function for ImportExport 2012-08-28 14:59:27 +00:00
Ralf Becker
8eff610872 support (ignoring) for used ! (exclamation mark) in format 2012-08-28 10:28:27 +00:00
Ralf Becker
b62a3f502b * ImportExport: fix for fatal error in PHP 5.2 not having egw_time::createFromFormat() 2012-08-27 14:04:49 +00:00
Klaus Leithoff
4cd32b9deb silence warnings 2012-08-22 08:00:36 +00:00
Klaus Leithoff
6eaeae0d45 silence warnings 2012-08-22 07:58:18 +00:00
Klaus Leithoff
c361ef0219 * email: fix for ->no initial border on plaintext editor textarea<- 2012-08-15 14:56:37 +00:00
Klaus Leithoff
c888134a04 * email: fix for ->no initial border on plaintext editor textarea<- 2012-08-15 14:55:02 +00:00
Ralf Becker
5eeca01d36 * Filemanager/WebDAV: fixed not working Subscribtions (Notifications) when using WebDAV, caused by PHPs internal stat-cache 2012-08-14 13:55:21 +00:00
Klaus Leithoff
5b5e40ac1b fix bug regarding certain russian filenames when forwarding/compose as new, as AddStringAttachment is using basename to make sure only a filename will be used for the namepart; some fixes backported from phpmailer5.2.1 2012-08-14 13:55:04 +00:00
Ralf Becker
89a10f6234 * Filemanager/WebDAV: fixed not working Subscribtions (Notifications) when using WebDAV, caused by PHPs internal stat-cache 2012-08-14 13:55:02 +00:00
Klaus Leithoff
e5a80d758a fix bug regarding certain russian filenames when forwarding/compose as new, as AddStringAttachment is using basename to make sure only a filename will be used for the namepart; some fixes backported from phpmailer5.2.1 2012-08-14 13:52:26 +00:00
Ralf Becker
28354db5d5 only truncate string if length given and <= 255, to not unnecessary truncate varchar(>255) as PostgreSQL uses text anyway and MySQL truncates itself silently (unless strict mode!) 2012-08-13 14:43:24 +00:00
Ralf Becker
25ddf016f4 only truncate string if length given and <= 255, to not unnecessary truncate varchar(>255) as PostgreSQL uses text anyway and MySQL truncates itself silently (unless strict mode!) 2012-08-13 14:42:55 +00:00
Ralf Becker
3b9f7b3d6d * WebDAV/GroupDAV/CalDAV/CardDAV: removed option only used for old KDE GroupDAV resource and unknown WebDAV clients producing invalid XML, fix for community bug #3152 2012-08-13 14:34:16 +00:00
Ralf Becker
06a6a40efe need to allow account_lid string as parameter for accounts::id2name(), it is used in many places 2012-08-13 14:26:19 +00:00
Ralf Becker
1d743830c9 need to allow account_lid string as parameter for accounts::id2name(), it is used in many places 2012-08-13 14:26:00 +00:00
Ralf Becker
c23f7fc95b * WebDAV/GroupDAV/CalDAV/CardDAV: removed option only used for old KDE GroupDAV resource and unknown WebDAV clients producing invalid XML, fix for community bug #3152 2012-08-13 09:32:03 +00:00
Ralf Becker
1d36c1710f * API/Setup/MySQL: fixed backup to correctly report boolean columns and support MySQL 5.0+ varchar(>255) 2012-08-12 09:50:56 +00:00
Ralf Becker
c0f83a275d * API/Setup/MySQL: fixed backup to correctly report boolean columns and support MySQL 5.0+ varchar(>255) 2012-08-12 09:49:06 +00:00
Ralf Becker
e87f4c1514 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 09:03:11 +00:00
Ralf Becker
188e2f8038 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 09:02:50 +00:00
Ralf Becker
ff99215955 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:56:52 +00:00
Ralf Becker
51270655f9 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:56:28 +00:00
Ralf Becker
ac88a44f82 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:50:22 +00:00
Ralf Becker
46f700851a cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:50:04 +00:00
Ralf Becker
f52bdcc51b delete user categories, when user get deleted and admin command to delete already orphaned categories: admin/admin-cli.php --admin-cmd-check-cats admin,password 2012-08-08 16:25:39 +00:00
Ralf Becker
110ad12bb6 delete user categories, when user get deleted and admin command to delete already orphaned categories: admin/admin-cli.php --admin-cmd-check-cats admin,password 2012-08-08 16:25:03 +00:00
Ralf Becker
f94501f50f avoid calling accounts->members(hips) without an account_id 2012-08-08 10:48:10 +00:00
Ralf Becker
48009a16e5 avoid calling accounts->members(hips) without an account_id 2012-08-08 10:47:47 +00:00
Ralf Becker
03f25ed02c avoid calling accounts->members(hips) without an account_id 2012-08-08 10:41:26 +00:00
Ralf Becker
75b458b2f8 avoid calling accounts->members(hips) without an account_id 2012-08-08 10:41:04 +00:00
Ralf Becker
ed6aaac0d9 call hook again, in case an (smtp) error happened 2012-08-08 10:02:57 +00:00
Ralf Becker
c30999f1b4 call hook again, in case an (smtp) error happened 2012-08-08 10:01:01 +00:00
Ralf Becker
ce05125ecf accounts::id2name() needs to return false, not throw an exception for not found accounts 2012-08-07 16:10:17 +00:00
Ralf Becker
92a97ea4d9 accounts::id2name() needs to return false, not throw an exception for not found accounts 2012-08-07 16:09:54 +00:00
Ralf Becker
02c464b94f * API/accounts/preferences: instance-wide cache of account and preference data, so changes from other sessions have immediate effect
r40051: * API/accounts: instance-wide cache for account-data incl. members and memberships, so change take imediate effect (compared to previous session based cache)
r40052: not storing $GLOBALS[egw_info][user] twice in session (was also stored as $GLOBALS[egw]->session->user), also removing not used $GLOBALS[egw_info][user][acl], but re-reading preferences in session::verify() so long running sessions get preferences set by an other session, removing nowhere used creditspoint class from api (calls not public available creditspoint app)
r40053: * API/preferences: caching preferences in instance cache instead of session, to get immediate update in long running sessions (eg. sync) and get smaller sessions
2012-08-07 14:26:52 +00:00
Ralf Becker
0e0993863c * API/preferences: caching preferences in instance cache instead of session, to get immediate update in long running sessions (eg. sync) and get smaller sessions 2012-08-07 13:57:56 +00:00
Ralf Becker
6fa4cc864e not storing $GLOBALS[egw_info][user] twice in session (was also stored as $GLOBALS[egw]->session->user), also removing not used $GLOBALS[egw_info][user][acl], but re-reading preferences in session::verify() so long running sessions get preferences set by an other session, removing nowhere used creditspoint class from api (calls not public available creditspoint app) 2012-08-07 08:55:41 +00:00
Ralf Becker
c2105fcf31 * API/accounts: instance-wide cache for account-data incl. members and memberships, so change take imediate effect (compared to previous session based cache) 2012-08-06 10:06:59 +00:00
Klaus Leithoff
eba8731295 different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik 2012-08-03 12:56:52 +00:00
Klaus Leithoff
5b47c1cdfa different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik 2012-08-03 08:24:40 +00:00
Klaus Leithoff
5144a0e0d2 upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik; if balancing is switched on, allow span element everywhere 2012-08-02 14:22:33 +00:00
Klaus Leithoff
6123e479b2 revert r40031 2012-08-02 10:01:39 +00:00
Klaus Leithoff
f9ceede91b different approach to avoid php-warnings on str_repeat 2012-08-02 08:27:06 +00:00
Klaus Leithoff
883e501480 add rarely used charset mswin1252; seems to be a variation of windows-1252 2012-08-01 14:54:23 +00:00
Klaus Leithoff
6fc8e208c1 add rarely used charset mswin1252; seems to be a variation of windows-1252 2012-08-01 14:53:33 +00:00
Klaus Leithoff
e547e8adfa if balancing is switched on, allow span element everywhere 2012-08-01 08:29:32 +00:00
Ralf Becker
2dd39fd8d2 * Admin/Preferences: fixed not removable ACL rights for apps using NO group-acl, eg. Addressbook or InfoLog 2012-07-31 17:44:25 +00:00
Ralf Becker
0195bad452 * Admin/Preferences: fixed not removable ACL rights for apps using NO group-acl, eg. Addressbook or InfoLog 2012-07-31 17:44:01 +00:00
Klaus Leithoff
9bb5ddfdf4 upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik 2012-07-31 15:14:44 +00:00
Ralf Becker
0d84fdd087 jQuery 1.6 (used in Trunk) needs to use prop() instead of attr() to access DOM attributes 2012-07-31 13:35:29 +00:00
Ralf Becker
56c1ef67cb * LDAP authentication: if changing password fails bind as user, try changing is with given admin-dn, to cater for all sorts of ldap configurations 2012-07-31 12:28:28 +00:00
Ralf Becker
42563b8d1a * LDAP authentication: if changing password fails bind as user, try changing is with given admin-dn, to cater for all sorts of ldap configurations 2012-07-31 12:28:05 +00:00
Klaus Leithoff
eafb5f8730 take care of php-warning on str_repeat (second param has to be greater or equal to 0) 2012-07-31 11:06:55 +00:00
Klaus Leithoff
44d80c2476 take care of php-warning on str_repeat (second param has to be greater or equal to 0) 2012-07-31 11:03:17 +00:00
Klaus Leithoff
b140ea5093 simple balancing on throwaway divs 2012-07-31 11:00:54 +00:00
Klaus Leithoff
af782d1fc7 simple balancing on throwaway divs 2012-07-31 10:59:56 +00:00
Ralf Becker
66e9ef08b3 fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration 2012-07-31 09:56:57 +00:00
Ralf Becker
b0267b6744 fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration 2012-07-31 09:56:25 +00:00
Klaus Leithoff
1fb2198422 throwing away excess div elements, that carry no style or class or id info 2012-07-30 15:09:57 +00:00
Klaus Leithoff
9526746694 throwing away excess div elements, that carry no style or class or id info 2012-07-30 15:07:56 +00:00
Klaus Leithoff
1d928dd98c small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags) 2012-07-27 10:21:00 +00:00
Klaus Leithoff
0904fb74b6 small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags) 2012-07-27 10:17:06 +00:00
Ralf Becker
aa6a4bbc36 fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix 2012-07-20 16:30:56 +00:00
Ralf Becker
13bcf73178 fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix 2012-07-20 16:30:26 +00:00
Ralf Becker
55c704a2b3 * Admin/Setup: fixing high memory usage in registering all hooks 2012-07-18 10:34:54 +00:00
Ralf Becker
44dd8e92e9 * Admin/Setup: fixing high memory usage in registering all hooks 2012-07-18 10:34:31 +00:00
Ralf Becker
bff9f76f64 slightly different expand-property report requested from OS X 10.6.8 iCal requests properties from DAV namespace not explicitly specified 2012-07-17 15:17:53 +00:00
Ralf Becker
bf9efd2acc slightly different expand-property report requested from OS X 10.6.8 iCal requests properties from DAV namespace not explicitly specified 2012-07-17 15:17:22 +00:00
Ralf Becker
54a2a21a4f fixed 5.4 PHP Warning: Illegal offset type 2012-07-17 13:59:56 +00:00
Ralf Becker
493bf3bcd0 fixed 5.4 PHP Warning: Illegal offset type 2012-07-17 13:59:37 +00:00
Ralf Becker
cc4280b184 accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:37:51 +00:00
Ralf Becker
6699e26062 accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:36:53 +00:00
Ralf Becker
6b06546565 accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:27:28 +00:00
Ralf Becker
dea7e46a2d accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:27:01 +00:00
Ralf Becker
891fece61a using accounts->member(ship)s($id, true) instead of accounts->member(ship), as it does not require to read (unused) account_lid, which takes far longer and require more memory on huge installs 2012-07-16 12:05:46 +00:00
Ralf Becker
04f732e653 using accounts->member(ship)s($id, true) instead of accounts->member(ship), as it does not require to read (unused) account_lid, which takes far longer and require more memory on huge installs 2012-07-16 12:05:21 +00:00
Ralf Becker
727bd06868 fix returned xml for correct expansion is empty 2012-07-15 09:55:46 +00:00
Ralf Becker
1b29c4cea0 fix returned xml for correct expansion is empty 2012-07-15 09:54:55 +00:00
Ralf Becker
476dc6ad93 * CalDAV: expand-property reports queried by iCal from OS X 10.7.4
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, which is now also handled correct.
2012-07-15 09:15:57 +00:00
Ralf Becker
b4f087e41e correctly returning multiple expanded properties as eg. calendar-proxy-(read|write)_for example 2012-07-15 09:12:28 +00:00
Ralf Becker
b690d98fc4 * CalDAV: expand-property reports queried by iCal from OS X 10.7.4
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, this is NOT yet handled correct!
2012-07-14 19:41:43 +00:00
Ralf Becker
cd65835d47 fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!) 2012-07-14 08:57:29 +00:00
Ralf Becker
588950ae29 fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!) 2012-07-14 08:53:44 +00:00
Ralf Becker
d82e3c9d34 fixed PROPFIND did not return additional properties if path contained special chars like ? or # 2012-07-13 15:55:52 +00:00