Klaus Leithoff
ac2cf67697
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:46:33 +00:00
Klaus Leithoff
322b7d049e
revert commit Revision 40941; as it is/was plain wrong.
2012-11-26 11:45:06 +00:00
Klaus Leithoff
41221a5d72
fix SQL Error when inserting/updating carddav lists
2012-11-26 09:44:36 +00:00
Klaus Leithoff
4d70099c15
* Addressbook: fix for postgres error on advanced search in addressbook (Helpdesk 3421)
2012-06-01 12:51:22 +00:00
Ralf Becker
f676a23821
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-03-04 13:33:10 +00:00
Ralf Becker
213a53900d
missing change in addressbook for r37912
2012-02-07 17:10:21 +00:00
Ralf Becker
625a125e83
fixed not working update of members
2012-02-01 00:59:25 +00:00
Ralf Becker
f5cb740795
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
2012-02-01 00:31:24 +00:00
Ralf Becker
6f1c2eacac
extend ctag to lists
2012-01-31 20:06:27 +00:00
Ralf Becker
5c020ac87d
fixed many issues with distribution lists as vCard groups, also adding/removing contacts from a list in web-GUI is working again
2012-01-31 19:47:52 +00:00
Ralf Becker
41eaebde79
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
2012-01-31 09:57:59 +00:00
Ralf Becker
0003a93c11
* 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:48:47 +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
Klaus Leithoff
4756705182
modify filters where extra_table.contact_owner is involved. (reason:ambiguous column error)
2010-04-20 08:11:34 +00:00
Nathan Gray
b69a151568
Change addressbook_so to extend so_sql_cf
2010-04-08 22:42:25 +00:00
Ralf Becker
d333605510
- merged SyncML-1.2 branch with trunk:
...
svn merge ^/trunk/addressbook@27378 ^/branches/SyncML-1.2/addressbook .
- re-added to trunk commits, which were somehow not in SyncML-1.2 branch:
svn merge -c 26581 ^/trunk/addressbook
svn merge -c 26582 ^/trunk/addressbook
2009-07-15 19:44:09 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
c84a6fd78a
"- search($criterial,...) was removing critera with numerical key 0
...
- pending postgres bugfix (got no feedback from list)"
2009-05-09 07:57:25 +00:00
Ralf Becker
5e2ff3b54f
"fixed SQL error introduced by r26581:
...
Column 'account_id' in where clause is ambiguous
--> happens if account-repository is in ldap"
2009-02-27 08:47:10 +00:00
Ralf Becker
9083041e37
"show only active account in the addressbook (only for sql account repository)"
2009-02-26 14:58:55 +00:00
Ralf Becker
bf3c88731d
"curly brackets are depricated in php6"
2008-11-12 18:05:19 +00:00
Ralf Becker
7ae3cc0dda
suppress unnecessary update of uid (which overwrites an existing uid with the eGW default uid), happend for existing entries, if the uid was not given in the update, also removed etag increment, as so_sql::update does not longer call our save method
2008-07-02 15:28:52 +00:00
Stefan Becker
40c143c843
"Patch for negate the seaching in custom fields, starting with \"!\" "
2008-06-18 10:12:11 +00:00