Ralf Becker
af7bffbb3d
catch SQL error "Illegal mix of collations" caused by non-ascii chars compared with ascii field uid
2015-07-21 12:53:48 +00:00
Nathan Gray
8d3025ffc6
Handle multiple comma-separated category IDs
2014-10-06 21:58:06 +00:00
Ralf Becker
2de7931700
* Admin: custom-fields were not loaded, account was edited from admin not addressbook
2014-07-08 15:05:20 +00:00
Ralf Becker
8bb226ba6b
explicitly set custom fields as to search, if custom fields are defined, also added a couple more columns for explicitly not to search
2014-03-03 11:49:41 +00:00
Ralf Becker
32e033df6f
* PostgreSQL/Addressbook: fixed SQL error when sorting by a custom field
2013-10-24 14:57:36 +00:00
Ralf Becker
55b0081103
fixed not working delete-account hook
2013-09-02 11:19:42 +00:00
Ralf Becker
32ebec4feb
* Addressbook: deleting an account now also takes care of deleting or changing ownership of distribution lists (beside contacts as before)
2013-08-30 07:05:19 +00:00
Ralf Becker
ffefc2848e
* CardDAV/Addressbook/ActiveDirectory: fixes SQL error when clients tries to propfind groups/distribution lists on accounts-addressbook, also return "403 Forbidden" when he tries to create one, as they are not (yet) supported on accounts, if not stored in SQL
2013-08-06 09:14:20 +00:00
Ralf Becker
eea5de1559
an other case in which we need to filter out in-active accounts
2013-08-02 18:28:44 +00:00
Ralf Becker
341342bc39
fixed not working multiple value "select-account" or "home-accounts" (rows > 1) custom fields
2013-06-12 14:12:58 +00:00
Ralf Becker
8e586c5037
* Addressbook: fixed not working call auf addressbook_ui::(view|edit) with contact_id being a uid
2013-03-01 08:25:29 +00:00
Ralf Becker
7ff829cdfd
fixed groups without account_status="A" are not found
2013-01-29 11:26:54 +00:00
Ralf Becker
5bb9cd1ad0
fixed addressbook "all" showed only accounts
2013-01-25 23:39:37 +00:00
Ralf Becker
2841317b08
* 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:21:31 +00:00
Nathan Gray
2b952c0157
Only parse dates if they have a ? wildcard
2013-01-24 16:35:39 +00:00
Ralf Becker
83aebbb176
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:47:49 +00:00
Nathan Gray
49a9a35ac8
Understand date with wildcard (19??.02.??) as a date in user's format. Convert to match bday.
2013-01-14 22:04:41 +00:00
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