Commit Graph

61 Commits

Author SHA1 Message Date
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
6d84dd976c * Addressbook/Admin: allow members of group(s) specified in Addressbook: Site configuration to edit contact-data of accounts without being an admin 2014-02-28 10:13:26 +00:00
Ralf Becker
281dfe0fee fix sql error when deleting a user without distribution lists 2013-09-03 16:05:32 +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
5755457b04 * Addressbook/eSync/CardDAV: fixed not working (forced) preference to display only accounts of groupmembers, causing eSync to permanently try and fail reading other accounts 2013-08-19 15:10:18 +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
4037993dc5 * API: full support of active directory as account storage, tested so far with Samba4 2013-05-22 17:22:20 +00:00
Ralf Becker
cbf7abc4fb reverted (unnecessary) fix of r41893, causing editing of account addressbook data to show up empty 2013-03-14 11:01:46 +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
Klaus Leithoff
dfa8e97fb6 * Addressbook: fix problem regarding deleted entries found in org_view, when type filter is set to all 2013-02-21 16:04:15 +00:00
Ralf Becker
0f76ff5ab5 * CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins 2013-01-22 08:37:58 +00:00
Ralf Becker
ec2ce0f943 * Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data 2012-11-19 08:23:09 +00:00
Ralf Becker
223c2b7b7d fixed PHP Strict Standards: Only variables should be assigned by reference 2012-07-14 07:44:13 +00:00
Ralf Becker
d0a2ffc8fe * EMail: fixed not working search in Addressbook, if LDAP backend was used (my.stylite.de bug #3337) 2012-05-15 10:21:01 +00:00
Ralf Becker
9a8dcc6eb4 * Addressbook/LDAP|SQL->LDAP: fixed error during creation of new contacts, SQL->LDAP now also displays LDAP errors 2012-04-29 15:41:38 +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
7bc098d7c3 * 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 09:58:15 +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
Klaus Leithoff
2b6409d998 * 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:15:32 +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