Commit Graph

46 Commits

Author SHA1 Message Date
Ralf Becker
99bccea0e8 * Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data 2012-11-19 12:55:51 +00:00
Ralf Becker
bcc60cfc3d fixed PHP Strict Standards: Only variables should be assigned by reference 2012-07-14 07:44:36 +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
6c160cd3b1 * EMail: fixed not working search in Addressbook, if LDAP backend was used (my.stylite.de bug #3337) 2012-05-15 10:21:28 +00:00
Ralf Becker
aef9f320b8 * Addressbook/LDAP|SQL->LDAP: fixed error during creation of new contacts, SQL->LDAP now also displays LDAP errors 2012-04-29 15:44:17 +00:00
Ralf Becker
762b892e7d * CardDAV/GroupDAV/Addressbook: works now with LDAP backend (account only or all contacts), fixed not working update of accounts (SQL and LDAP), changed ctag generation to work with LDAP too 2012-02-29 10:04:41 +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
Klaus Leithoff
eb0d6b31bd * addressbook/csv-import: fix/enable update of account - userdata when accounts are stored with ldap. If the condition is on account_id, we supplement the condition with owner=0 (this is needed to correctly determine the storage engine (ldap/sql) for accounts); we strongly recomment NOT to try to use this for adding accounts: use admin import definitions for that task 2011-09-19 10:17:15 +00:00
Ralf Becker
b093cd8720 missing $contact_app parameter, stalling grants 2011-06-27 15:30:56 +00:00
Ralf Becker
73486cc047 file_access_user implementation for addressbook 2011-06-26 13:55:25 +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
Nathan Gray
04a081fd58 Use addressbook_bo functions instead of SO so full updates happen. 2011-02-15 16:05:39 +00:00
Ralf Becker
53a6add628 docu update and remove not longer used functionality to store custom fields, done now via so_sql_cf::save() 2011-02-15 13:42:04 +00:00
Nathan Gray
146ff34de1 Remove category children if that option is chosen 2011-02-04 17:29:24 +00:00
Nathan Gray
efc61a3243 Remove category from contacts when category is deleted 2011-02-04 17:09:37 +00:00
Nathan Gray
345542b2ab Add 'No country selected' option to index filter to help find contacts with no country selected 2011-01-18 15:57:35 +00:00
Ralf Becker
44bc1a28c8 - moved ctag generation to addressbook_bo
- include deleted contacts in ctag generation, as otherwise deleting entries does NOT change ctag
- implemented AlterPingChanges using ctag for ActiveSync
2010-12-02 19:42:03 +00:00
Nathan Gray
9726db1eaa *Users can now see and restore their 'deleted' but held contacts, if deletion prevention is turned on. There is now a config setting to allow users to purge their own 'deleted' contacts. 2010-11-22 17:10:11 +00:00
Klaus Leithoff
e840850db2 feature to show contact_id in list and editview; ability to sort by contact_id, ability to search for contact_id (or parts of it), so beware if you search for a contact by id, you may find more than one, since the number you search for may be part of the content of more than one field and contacts, as numbers can occur also in eg.: phonenumber, roomnumber, ZIP-Code, ... 2010-09-29 10:38:44 +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
Ralf Becker
49db0c8838 allow to optional specify a database object (to access addressbooks in other databases) 2010-07-30 15:30:46 +00:00
Nathan Gray
e02d6c4ea9 Fix typo 2010-06-14 10:50:50 +00:00
Nathan Gray
e56d9e9503 Fix org view to use extended search abilities 2010-06-07 18:40:25 +00:00
Nathan Gray
b71e8899b3 Fixes to deal with customfields when LDAP is the backend 2010-04-20 17:49:32 +00:00
Nathan Gray
b69a151568 Change addressbook_so to extend so_sql_cf 2010-04-08 22:42:25 +00:00
Nathan Gray
f1646e34df Use so_sql::search2criteria() to generate search criteria 2010-04-01 17:07:06 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Ralf Becker
ba5bdb79a2 fixed not working listing of groups, after r29189 2010-02-13 06:45:24 +00:00
Nathan Gray
adf9a0917f Fix deleted filter to hide from select-entry widget also 2010-02-11 20:43:11 +00:00
Nathan Gray
63117b9ceb Add an option to keep deleted contacts, and only admins can purge them 2010-02-10 23:07:43 +00:00
Ralf Becker
78143cb9c6 "fixed backend detection to recognice $contact_id = array('account_id' => 123) as account" 2009-10-26 11:47:23 +00:00
Klaus Leithoff
266ac3e8f1 do not search in uid, while doing a 'global' search, as you cant see the field, and you probably dont understand, why you get extra rows 2009-09-23 12:17:26 +00:00
Klaus Leithoff
20da79db8a enable search in extra colums, as it was broken since get_class() returns addressbook_sql for Addresses stored in SQL instead of socontacts_sql 2009-09-23 10:47:13 +00:00
Jörg Lehrke
3188333c45 Implemented ability to check for more then one right for get_lists:
@param int $required=EGW_ACL_READ required rights on the addressbook or multiple rights or'ed together,
to return only listss fullfilling all the given rights
2009-08-22 11:55:10 +00:00
Klaus Leithoff
2efaf05803 if there is an & within org_name, org_unit and such, the add to org will not work, as the GET Parameter gets splitted by &; ADDITIONAL: if there is any export limit set, pass it on to the nextmatch, to be evaluated by the export 2009-07-20 12:11:05 +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
af18ea1f7d "fix for bug #2106 - Addressbook warning message when deleting LDAP contact" 2009-06-01 19:13:48 +00:00
Klaus Leithoff
432798715a fixing a problem with non numeric contact ids, while retrieving the distributionlist (reported by Benoit LORAND) 2009-03-18 09:31:11 +00:00
Klaus Leithoff
81a8b7dda9 making view typesafe, hardening view against sql-injection 2009-03-16 13:08:33 +00:00
Klaus Leithoff
9ba0957ba5 improving speed for the retrieval ov the distributionlists 2009-03-12 09:06:10 +00:00
Ralf Becker
7441773280 "fixed error in docu (no real need to backport to 1.6)" 2009-02-16 08:00:40 +00:00
Ralf Becker
f2b50bdf8b "fix for bug #1805: SQL error when searching mail addresses from fmail
Integer column etag was search with ILIKE '%@%' which is not allowed in Postgres, as theres no ILIKE operator for Integer"
2008-11-12 17:53:58 +00:00
Klaus Leithoff
b459070ab3 addressbook::groupdav: fixing a bug regarding the retrieval of addressbook entrys with groupdav, (occurring when accounts stored in ldap and
addresses in sql, and the entry in question is retrieved via uid (as it is possible to retrieve a contact by bassing on an array as contact_id))
2008-10-06 09:24:42 +00:00
Nathan Gray
5a9550ef31 Accept an integer parameter, as specified in function documentation. Used to throw an invalid argument warning. 2008-07-10 20:22:58 +00:00
Ralf Becker
1580ece9b7 "addressbook.so_ldap --> addressbook.addressbook_ldap" 2008-05-23 05:48:05 +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