Commit Graph

4946 Commits

Author SHA1 Message Date
Ralf Becker
54c6c93a0b fixed wrong call name2id to get account_lid of owner, causing lot of database access and returning nothing, as account_id for given 2013-02-25 10:31:27 +00:00
Ralf Becker
378074f989 ignore "broken" grants (eg. negative account_id for a user), as they lead to further errors (no members) 2013-02-25 09:49:43 +00:00
Ralf Becker
4ece533a67 * Preferences: if user changed password, update password in session correct, so eg. EMail using that password keeps working 2013-02-21 10:03:02 +00:00
Ralf Becker
b50f325dcc * Filemanager: removing extended ACL for groups was not immediatly reflected in rights of current user, had to log out and in again 2013-02-20 14:00:05 +00:00
Ralf Becker
7cb6ba538c * CalDAV: fixed accepting event removed it from calendar, because email address of a deleted account was prefered over regular account 2013-01-25 17:54:30 +00:00
Ralf Becker
ed56f6b4f5 * CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins 2013-01-22 08:41:44 +00:00
Ralf Becker
6bc8cdcf30 * Admin/Setup: fixed restore always converted longtext columns to text and therefore truncating them to 64k on MySQL, also fixed backup to report them correctly in backup of schema 2013-01-21 09:50:50 +00:00
Ralf Becker
0cf69a296b added missing, but not used, parameter 2013-01-21 08:14:45 +00:00
Ralf Becker
2ed3b3f205 * API: fix fatal error deleting user (LDAP), as reported on list (backport from Trunk) 2013-01-14 06:21:02 +00:00
Klaus Leithoff
7733cdc836 mailheader-decoding: check if there is a possible nested encoding; make sure that the inputstring and the decoded result are different before recursively calling decodeMailHeader on the decoded result (to avoid loops) 2012-11-07 11:49:04 +00:00
Ralf Becker
e23ef8d237 fix for bug #3164: Lines containing accents are truncated in vCard exports 2012-11-01 17:24:22 +00:00
Ralf Becker
05ed8e3712 do NOT delete preferences, before writing them in preferences::save_repository (might be cause for race-condition causing preferences to be lost) 2012-10-31 14:16:52 +00:00
Ralf Becker
68368871d7 consistently send ETag by using and extending put_response_headers 2012-10-29 12:24:50 +00:00
Ralf Becker
9b6f7d40c0 * CalDAV/CardDAV: fix not working logging of errors into traffic log 2012-10-29 12:16:42 +00:00
Ralf Becker
d7eedc5b5c * 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-10-24 07:18:07 +00:00
Ralf Becker
c3cb454145 * API: only cache in APC by default, if it has at least 64M of shared memory, otherwise use filesystem 2012-10-23 07:50:15 +00:00
Ralf Becker
1517756585 * CalDAV: fixed parsing of principal urls used by iOS6 for users 2012-10-22 16:44:30 +00:00
Ralf Becker
a97dd01349 fixed invalid xml in CardDAV:principal-address property of pricipal collection 2012-10-02 05:20:45 +00:00
Ralf Becker
e488090eaf backported r29890 (if negating a search with an exclemation mark, we have to AND the criteria) from Trunk to fix community bug #3148 - database error when selecting users in preferences 2012-09-27 08:30:47 +00:00
Ralf Becker
4241e34ddf allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime 2012-09-26 10:02:03 +00:00
Ralf Becker
b76be6cc0e * CalDAV/CardDAV: Max OS X 10.8 (Mountain Lion) support: automatic sync of all addressbooks in one 2012-09-26 08:07:31 +00:00
Ralf Becker
5ac005969e * Filemanager: fixed not working repair of doublicate directories 2012-09-25 12:56:00 +00:00
Klaus Leithoff
22a5fbb4b3 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:56:02 +00:00
Ralf Becker
4809975c1a 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:41 +00:00
Ralf Becker
d54828c715 * API/Setup/MySQL: fixed backup to correctly report boolean columns and support MySQL 5.0+ varchar(>255) 2012-08-12 09:51:19 +00:00
Ralf Becker
959739d32b avoid calling accounts->members(hips) without an account_id and cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 09:53:34 +00:00
Ralf Becker
05510f5ff7 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:30:20 +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
48009a16e5 avoid calling accounts->members(hips) without an account_id 2012-08-08 10:47:47 +00:00
Ralf Becker
75b458b2f8 avoid calling accounts->members(hips) without an account_id 2012-08-08 10:41:04 +00:00
Ralf Becker
c30999f1b4 call hook again, in case an (smtp) error happened 2012-08-08 10:01:01 +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
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
5b47c1cdfa different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik 2012-08-03 08:24:40 +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
9949c0dfd6 add rarely used charset mswin1252; seems to be a variation of windows-1252 2012-08-01 14:55:51 +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
ad2d51c053 * Filemanager: support for ownCloud WebDAV clients which keep a local directory in sync with server (by default users home-dir with local ownCloud dir, thought other dirs can be configured as well) 2012-08-01 06:17:36 +00:00
Ralf Becker
c325123be7 * Admin/Preferences: fixed not removable ACL rights for apps using NO group-acl, eg. Addressbook or InfoLog 2012-07-31 17:44:48 +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
17f188e394 * 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:30:43 +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
af782d1fc7 simple balancing on throwaway divs 2012-07-31 10:59:56 +00:00