Commit Graph

71 Commits

Author SHA1 Message Date
Ralf Becker
871508bb0d fixed sql error, if array("list_carddav_name"=>NULL) get passed 2013-06-20 10:41:43 +00:00
Ralf Becker
f17e335daa fixed not working multiple value "select-account" or "home-accounts" (rows > 1) custom fields 2013-06-12 14:29:04 +00:00
Ralf Becker
1f2609b4fc * CardDAV/Addressbook: fixed SQL error "Unknown column list_modified" if preference "Distributionlists as groups" is checked and client does a sync-collection-report 2013-03-07 14:52:28 +00:00
Ralf Becker
2abae23c62 * Addressbook: fixed not working call auf addressbook_ui::(view|edit) with contact_id being a uid 2013-03-01 08:25:51 +00:00
Ralf Becker
6b5aaf3f7c fixed groups without account_status="A" are not found 2013-01-29 11:26:25 +00:00
Ralf Becker
2bc387c73d fixed addressbook "all" showed only accounts 2013-01-25 23:40:00 +00:00
Ralf Becker
9bae75e22d * all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again) 2013-01-25 13:35:30 +00:00
Nathan Gray
dfd0f2eee2 Only parse dates if they have a ? wildcard 2013-01-24 17:09:17 +00:00
Ralf Becker
2620fa783a reverted r41217, as it just generates a different error, need to find way to reproduce original problem to develop a fix 2013-01-24 10:46:27 +00:00
Nathan Gray
ea4945e0d9 * Addressbook: Understand date with wildcard (19??.02.??) as a date in user's format. Convert to match bday. 2013-01-15 16:27:23 +00:00
Klaus Leithoff
e7ad0dba88 if we search for list_id, note that we are joining addressbook_lists on addressbook2list, both containing list_id, so we need to specify tablename on search-column to meet sql requirements 2013-01-11 14:42:34 +00:00
Klaus Leithoff
7c2a8bedd9 * Addressbook: fix for postgres error on advanced search in addressbook (Helpdesk 3421) 2012-06-01 12:53:08 +00:00
Ralf Becker
0f42a2f916 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-05-16 12:39:52 +00:00
Ralf Becker
23aafc41a8 allways generate list_uid & list_carddav_name for list_id, as we dont store them 2012-02-20 14:56:30 +00:00
Ralf Becker
26153f9fa6 fixed not shown empty distribution lists in 11.1 after changes 2012-02-20 11:58:44 +00:00
Ralf Becker
d34c216f52 fixed sql error when updating lists 2012-02-20 11:21:45 +00:00
Ralf Becker
bfd50d213e fixed not working PUT of groups/lists 2012-02-18 10:18:14 +00:00
Ralf Becker
bf5d3bc296 fixed SQL error when GET-ing a distribution list 2012-02-17 08:08:48 +00:00
Ralf Becker
7eb3973dda modified lists db-backend to return list_(modified|etag) from MAX(egw_addressbook2lists.list_added) and a static list_(uid|carddav_name), to NOT require db-schema update 2012-02-10 22:33:31 +00:00
Ralf Becker
e789762727 resurrect preference to sync all ABs into one (allways implied for OS X) and new pref to "Distributionlists as groups", plus explenation of the prefs
r37966: many bugfixes around distribution-lists/groups and some code restructuring
2012-02-10 11:44:52 +00:00
Ralf Becker
6a8ef0cc35 first try to export distribution lists via CardDAV as vCard with "X-CALENDARSERVER-KIND:group", we might need a user-agent whitelist, as not all clients will understand that
fixed typo
fixed many issues with distribution lists as vCard groups, also adding/removing contacts from a list in web-GUI is working again
extend ctag to lists
limit groupVCard to contacts of same addressbook, as OS X and iOS only allows that and PUTs would remove contacts from other ABs, also fixed not working multiget report of lists/groups
fixed not working update of members
2012-02-10 11:11:38 +00:00
Ralf Becker
4aa7788581 * CardDAV/GroupDAV/Addressbook: do NOT check for api version, as it caused accounts created during setup to have no carddav_name and therefore fail in CardDAV/GroupDAV (shown as "/addressbook/" in collection list!) 2011-09-28 09:49:11 +00:00
Ralf Becker
dca785709f fixing the fix ... (db-name is in key, not value) 2011-04-21 15:05:10 +00:00
Ralf Becker
53400c27f0 * PostgreSQL/Addressbook: fixed SQL error when listing account, groups or querying birthdays 2011-04-21 14:31:10 +00:00
Ralf Becker
72ac7937de * Addressbook/PostgreSQL: fixed SQL error when checking "use whole query" 2011-04-15 06:46:51 +00:00
Ralf Becker
a52f9ccc4d * Addressbook/PostgreSQL: lettersearch in organisation-view allways returned empty 2011-04-11 16:33:00 +00:00
Ralf Becker
3915fb6f03 * SyncML/Calendar/PostgreSQL: fixed SQL error when searching participants (SELECT DISTINCT requires ORDER-BY-expressions to be in SELECT-list) 2011-04-11 12:07:30 +00:00
Ralf Becker
87ee0f0088 * CardDAV: store name part of URL from client PUT request, to fully comply with CardDAV spec 2011-04-05 20:39:13 +00:00
Klaus Leithoff
b7304feca0 * addressbook: enable Advanced Search for OrgView 2011-03-30 13:31:09 +00:00
Ralf Becker
01d1b16b6e * GroupDAV/CardDAV: fixed empty addressbooks issue (url in PROPFIND contained empty id --> "/.vcf" instead "/123.vcf")
caused by not longer necessary special handling of contact_id in addressbook_sql, which is handled now in so_sql(_cf)
fix for PostgreSQL to NOT get SQL error ORDER BY must be in column list for GroupDAV/CardDAV propfinds
2011-03-23 09:37:19 +00:00
Ralf Becker
c492c57e2f * Addressbook: fixed PostgeSQL error when searching or showing accounts 2011-03-20 12:37:22 +00:00
Klaus Leithoff
93a07c2ff4 * addressbook: postgres compatibility for distributionlists 2011-01-14 12:58:46 +00:00
Klaus Leithoff
6549d3e463 * addressbook: fix for attempt to remove non existing link; happens when addressbook read returns nothing, that may be caused by trying to merge an addressbook-entry with nonexisting customfields array 2011-01-06 14:13:52 +00:00
Ralf Becker
de9689e928 * read access to groupmembers for account-selection "groupmembers" (only for account_repository sql!)
fixes not shown users in "grant access" for non-admin users
2010-11-05 08:56:41 +00:00
Nathan Gray
b86490c0a7 Better dealing with 2 letter country code:
- Moved handling into BO layer, per Ralf
- Clear country name if user saves with a code, and use the code
- Updated search filter to use code, so filter works in any language
2010-09-28 19:50:50 +00:00
Nathan Gray
5524c3573c Use the two letter ISO country code, or allow user to use a free text country field (custom) to preserve syncing 2010-09-27 23:02:32 +00:00
Ralf Becker
d858197e80 fixed sql error reported on user list 2010-09-20 06:11:17 +00:00
Ralf Becker
dc88857d9e further fix for "private contacts got not synced" issue, r31918 was not working, because filter[owner] was an array 2010-09-08 09:47:57 +00:00
Ralf Becker
f978418d79 * fixed private contacts not synced
for an owner filter, which is NOT the current user, filter out private entries
2010-09-07 08:27:25 +00:00
Nathan Gray
dd54552881 Fix incorrect address count when searching organisations (#8117) 2010-08-19 16:15:10 +00:00
Ralf Becker
49db0c8838 allow to optional specify a database object (to access addressbooks in other databases) 2010-07-30 15:30:46 +00:00
Jörg Lehrke
04983df258 Fix category search when category ID is sent as an array in (addressbook advanced search) again 2010-06-29 16:45:01 +00:00
Nathan Gray
d6c19145db Make sure criteria is an array before checking for cat_id 2010-06-28 14:11:20 +00:00
Nathan Gray
ff7601188f Fix category search when category ID is sent as an array in (addressbook advanced search) 2010-06-28 12:36:10 +00:00
Ralf Becker
d755693944 correctly handle $filter[owner] to be an array with multiple owners/addressbooks 2010-05-28 07:23:30 +00:00
Ralf Becker
c4dfb79175 "Fix for PostgreSQL error, when ordering by a custom field (reported on the developer list)" 2010-04-29 06:21:16 +00:00
Nathan Gray
39d0fbf9ae Fix for only_keys=true and filter 2010-04-21 18:52:49 +00:00
Klaus Leithoff
d8d677864e fix for strange behavior of isset for an given array-element, when the tested var is a string; solution: use isset together with is_array 2010-04-21 14:26:06 +00:00
Klaus Leithoff
a0a7c04171 fix for strange behavior of isset for an given array-element, when the tested var is a string 2010-04-21 13:50:59 +00:00
Nathan Gray
b71e8899b3 Fixes to deal with customfields when LDAP is the backend 2010-04-20 17:49:32 +00:00