Commit Graph

51 Commits

Author SHA1 Message Date
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
Ralf Becker
9f30e824b0 enforce a certain strength of uid, as some clients set quite weak ones) 2008-05-20 04:59:26 +00:00
Ralf Becker
b69b8085e6 Fixed some problems with the etag handling, causing an SQL error on
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
7a2e1a66e2 renamed addressbook classes to use autoloading, was just a test to get
an idea about the effort - not sure I want to do that with all apps ;-)
2008-05-10 12:02:49 +00:00
Miles Lott
d124b891b8 Remove now unused classes. 2001-02-02 01:38:14 +00:00
Miles Lott
b1df65cdfe Another template update to allow for better customization in index.php. 2001-01-23 13:40:42 +00:00
Miles Lott
330fea80a4 Correct return of company fields. 2001-01-22 12:58:57 +00:00
Miles Lott
9d77bffd4c SQL fix to have entries display when switching to timetrack enabled and no company_id is set 2001-01-21 20:34:50 +00:00
Miles Lott
9c20cc177e Fix to save correct data into company_id when timetrack is enabled. 2001-01-21 07:40:46 +00:00
Miles Lott
979d35be52 Add 'add' function to handle new add.php. 2001-01-21 06:37:33 +00:00
Miles Lott
57e4a4440f Quick fix to broken search. 2001-01-21 02:46:17 +00:00