Commit Graph

1488 Commits

Author SHA1 Message Date
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
Nathan Gray
4fc8903129 Fix bug where user preference for addressbook vCard was not used in some cases 2012-11-15 17:11:31 +00:00
Nathan Gray
4420b4b115 If opening window is not addressbook, update addressbook window too 2012-11-09 18:38:48 +00:00
Nathan Gray
8d93aac83f Use opener.egw_refresh() instead of redirecting to reload 2012-11-08 21:19:57 +00:00
Nathan Gray
9f4118e947 Use addressbook vCard charset preference for exporting vcards using Import/Export 2012-10-29 18:29:40 +00:00
Nathan Gray
9c2fb9ffda Use a better name for vcal exports (from context menu, etc) if only exporting one record 2012-10-24 16:15:17 +00:00
Ralf Becker
c733797fe0 for new contacts created eg. through eMail app, check email attribute first, before checking for other less significant attributes 2012-10-24 14:22:24 +00:00
Ralf Becker
97781b727d quiten permanent error_log in doublicate check aka addressbook_ui::ajax_check_values() 2012-10-24 10:18:13 +00:00
Ralf Becker
8139be67cb * Addressbook: call doublicate check when creating a new contact from eMail 2012-10-24 10:14:09 +00:00
Nathan Gray
eb40104d5b Fix birthday import, rename job title column in default definition 2012-10-23 15:15:54 +00:00
Nathan Gray
753b00a049 Include missing contact type for conversion to human values 2012-10-23 14:46:58 +00:00
Nathan Gray
cdeff90e8c Remove outdated CSV export charset preference - Import/Export app is used now 2012-10-16 19:33:06 +00:00
Nathan Gray
4f59f282a0 If exporting a single record, name the download file accordingly 2012-10-16 18:45:13 +00:00
Nathan Gray
fc8a139f23 Add 'None' category option to context menu for all apps using nextmatch::category_action() 2012-10-15 17:57:58 +00:00
Nathan Gray
2b96aff758 Import / Export cleanup:
- Start reducing some duplication by making better use of common CSV import ancestor
- Work towards a universal preview, regardless of file type
2012-10-12 19:50:26 +00:00
Nathan Gray
fa3eb90335 Fix missing export options 2012-10-09 18:01:00 +00:00
Nathan Gray
e50ff25831 Add a kind of data preview to vcard import dry run 2012-10-04 16:22:03 +00:00
Nathan Gray
23772bb9d1 Add ability to set charset in import vcard wizard 2012-10-01 17:59:44 +00:00
Ralf Becker
4e2a7dab80 * CardDAV/Addressbook: fixed not working delete of contacts 2012-10-01 17:23:44 +00:00
Ralf Becker
db4bdb7f74 * CalDAV/Calendar/Resources: calendars of resources can now be accessed or subscribed via CalDAV, to subscribe use CalDAV preferences 2012-09-27 15:46:08 +00:00
Ralf Becker
52675388a3 * CalDAV/CardDAV: sync-collection report for all apps allowing a more efficient sync 2012-09-26 14:30:47 +00:00
Nathan Gray
b3d463631a Strip out item groups from Apple Addressbook before processing 2012-09-24 16:05:52 +00:00
Ralf Becker
f224fe5852 sync-collection report for InfoLog, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set 2012-09-24 10:26:29 +00:00
Ralf Becker
e69918f583 * CalDAV/CardDAV: return urn:uuid as last record in calendar-user-address-set, as according to iCal4OL developer, some clients might have problems with it, also adding both full uri and just path of principal url, as calendarserver does it 2012-09-24 07:07:57 +00:00
Ralf Becker
a6f541edba * CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts) 2012-09-23 20:19:35 +00:00
Nathan Gray
1610a7523e Report conversion warnings 2012-09-20 16:28:42 +00:00
Nathan Gray
c8eb6c5e24 * Add vcard import/export plugin 2012-09-18 15:09:48 +00:00
Nathan Gray
c1e2403ab7 Fix check on existing addressbook 2012-09-18 15:07:31 +00:00
Nathan Gray
67289c346b If data is already a Horde_iCalendar object, use it instead of creating a new one 2012-09-18 15:06:19 +00:00
Nathan Gray
b85e5d0889 Some destination addressbook checking - must exist as an addressbook, not just an account or group 2012-09-17 15:47:47 +00:00
Nathan Gray
170d120dd2 LDAP search to match sql search: If row limit is < 0, don't slice, return all records 2012-09-13 17:59:10 +00:00
Ralf Becker
c50a83a9a4 * Addressbook: doublicate check while adding/editing contacts, based on email or match of 2 out of name, first name, organisation 2012-09-06 12:26:11 +00:00
Ralf Becker
f7fa8ea37e * Addressbook/InfoLog/Filemanager/Tracker: added or fixed formatting of certain custom field types using a single shared method 2012-08-09 12:41:47 +00:00
Ralf Becker
0c5ca986c6 quieten warning in delete-category hook, if cat is not used 2012-08-09 08:25:53 +00:00
Ralf Becker
082372881d * CardDAV: disable category and class (public/private) for iOS, because they are not displayed and get messed up 2012-07-31 16:18:26 +00:00
Ralf Becker
1141eb1ee0 * Addressbook/CardDAV: fixed lost cell-phone numbers, caused by SyncML update 2012-07-31 14:58:13 +00:00
Nathan Gray
70bc8469a1 et2 compatability 2012-07-24 23:49:12 +00:00
Ralf Becker
a8d1376205 * Addressbook: fixed not working resize or conversation of non-jpeg images in newer php versions 2012-07-17 13:17:19 +00:00
Ralf Becker
ab1fdb0617 * Addressbook: fixed error when adding a new organisation member for organisation(department)s containing a comma 2012-07-17 12:15:10 +00:00
Ralf Becker
223c2b7b7d fixed PHP Strict Standards: Only variables should be assigned by reference 2012-07-14 07:44:13 +00:00
Christian Binder
f81fd11435 tag applications which have implemented document merge 2012-07-04 17:00:03 +00:00
Ralf Becker
b025809df1 * CalDAV/CardDAV expand-property report for principals used in iCal on OS X 10.7 2012-06-27 20:08:56 +00:00
Jörg Lehrke
358252b4a1 * Fix Funambol vCard issues (community bug #1999) 2012-06-17 12:28:16 +00:00
Ralf Becker
f48b6c244f do NOT instanciate tracking class by default: it is only used for (seldome) updates and stalls updates in setup sometimes (1.6 update) 2012-06-17 10:03:28 +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
Nathan Gray
de8bc4771c Fix bug that ignored 'stop' in import condition, default definition 2012-05-29 14:37:19 +00:00
Klaus Leithoff
57be9157d5 * addressbook/importexport: if there are no export csv definitions for a given user, do not show the csv export option in context menu 2012-05-29 13:39:44 +00:00
Jörg Lehrke
9d11043ef3 * Fix country name issue during SyncML slowsync (community bug #3146) 2012-05-23 09:19:58 +00:00
Ralf Becker
6ff1db3534 * Preferences all apps: add validation for vfs files and directories to give user immediate feedback about wrong or non vfs pathes 2012-05-22 13:51:30 +00:00
Ralf Becker
f280a38ed6 changed translation of "org_name" field to "Organisation" from "Company", as it is translated in edit template 2012-05-15 16:53:19 +00:00
Ralf Becker
3d70c12a6a correctly disable change_org, if no organisation set 2012-05-15 16:52:25 +00:00
Ralf Becker
feb64d5b16 * Addressbook: fixed not working changing of organisation members, also place this feature more prominent beside buttons 2012-05-15 15:52:11 +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
Nathan Gray
7810068ed0 Fix SQL error when exporting sorted by contact_id 2012-05-14 18:00:19 +00:00
Nathan Gray
065fd1a772 Point account links to addressbook view 2012-05-03 15:23:30 +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
Nathan Gray
e895274d69 If exporting all, and filter is missing, use current owner 2012-04-23 17:52:36 +00:00
Nathan Gray
e5fd49940f Return export object 2012-04-18 18:00:21 +00:00
Nathan Gray
4feaa8375e Expansion of link_to custom fields 2012-04-11 20:03:11 +00:00
Ralf Becker
bd825787b2 do NOT blanc fileas_type, as it is not always set in vCard, but should be set in EGroupware 2012-04-04 17:48:49 +00:00
Ralf Becker
4a0d52e834 * CardDAV: fixed not working deleting of existing fields and cell phone numbers for Apple clients 2012-04-04 17:39:35 +00:00
Ralf Becker
cb8940256c do NOT store state in prefs, if csv_export is set 2012-03-29 12:59:22 +00:00
Ralf Becker
ee8fd5b10e found a lot more calls to get_rows missing to set csv_export flag and fixed code in nextmatch dealing with situation if num_rows=-1 got stored in prefs anyway 2012-03-29 12:06:10 +00:00
Ralf Becker
a1ffcd08e4 * Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:22:51 +00:00
Ralf Becker
e03b8471e9 * Admin/Addressbook: do NOT mark accounts as deleted, as accounts do NOT know that state, always deleted them and allow to cleanup already marked as deleted accounts in addressbook 2012-03-07 12:05:02 +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
4711bc2ac1 fixed ldap backend not working for multiple owners 2012-02-29 13:36:24 +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
Nathan Gray
d67191841b Change addressbook Export CSV context menu option to use importexport 2012-02-27 16:06:10 +00:00
Ralf Becker
2bc821f428 use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants 2012-02-21 20:04:45 +00:00
Ralf Becker
7badca95da * CardDAV/Addressbook: storing Apple AB type company (X-ABShowAs:COMPANY) as EGroupware fileAs company 2012-02-21 08:57:55 +00:00
Ralf Becker
b0d47bd7d5 fixed missing owner 2012-02-20 11:25:41 +00:00
Ralf Becker
873db447bc fixed not working PUT of groups/lists 2012-02-18 10:22:59 +00:00
Ralf Becker
eb440fe4d3 * Addressbook: disable custom field tabs, if contact is stored in LDAP, which does not support CFs 2012-02-17 15:00:51 +00:00
Ralf Becker
d33929a332 * Addressbook/CardDAV: fixed sync all in one addressbook changed AB to personal, use default addressbook for new contacts if synced, otherwise use always synced personal AB 2012-02-15 13:04:27 +00:00
Ralf Becker
2939d7bbf3 propagate data from settings hook to handlers, to fix failed installs because setup was not detected 2012-02-14 17:38:45 +00:00
Ralf Becker
7d2572dca5 added user-agent detection for Snow Leopard (OS X 10.6) addressbook, to stop it from messing up categories and photo, Lion (10.7) addressbook works find 2012-02-14 15:14:41 +00:00
Ralf Becker
1f76e0c191 fixed several small issues around CardDAV and history logging in addressbook (dont log not set custom fields as there are not stored and therefore not changed) 2012-02-10 21:29:50 +00:00
Ralf Becker
f8d2a88e41 * Addressbook: use vCard version 3 when exporting via context menu 2012-02-10 20:32:45 +00:00
Ralf Becker
7a6959ca3f many bugfixes around distribution-lists/groups and some code restructuring 2012-02-09 20:09:49 +00:00
Ralf Becker
7db225b181 * eSync/Addressbook: HTC Desire needs at least one telefon number, otherwise sync of contact fails without error, we now return at least an empty work phone 2012-02-09 13:28:47 +00:00
Ralf Becker
edb42dbfd2 * eSync/Addressbook: for all-in-one addressbook only use add-default, if it is contained in addressbooks selected, otherwise use personal addressbook 2012-02-08 15:12:37 +00:00
Ralf Becker
213a53900d missing change in addressbook for r37912 2012-02-07 17:10:21 +00:00
Ralf Becker
d7fca17d6e resurrect preference to sync all ABs into one (allways implied for OS X) and new pref to "Distributionlists as groups", plus explenation of the prefs 2012-02-04 21:47:28 +00:00
Ralf Becker
d89f48d9c1 implement RFC 5995 add member to collection via POST, but not yet set DAV:add-member due to problems with OS X clients 2012-02-04 20:24:01 +00:00
Ralf Becker
c5ca42a4b1 move app-specific settings to app-handler 2012-02-04 01:24:34 +00:00
Ralf Becker
d21be8d871 move logic of which addressbook/calendars are shared into app-handler 2012-02-04 01:03:56 +00:00
Nathan Gray
8018a0f243 Make sure letter filter doesn't persist 2012-02-01 20:34:32 +00:00
Ralf Becker
902d569026 * Addressbook/CardDAV: fixed Apple iOS and OS X addressbook messed up phone numbers (Mobile is now mobile for both and iPhone is matched to EGroupware private cell)
also removed copy of supportedFields and using again default ones from addressbook_vcal, with Apple specific fixes in _get_handler()
2012-02-01 19:52:19 +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
ac5da046e4 fixed typo 2012-01-31 17:13:25 +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
1f93855172 fill displayname for contacts and task to easier identify it in autoindex 2012-01-31 00:37:01 +00:00
Ralf Becker
4450c87ff1 fixed images allways get resized, because mb_substring returned 3 bytes, using cut_bytes now 2012-01-30 19:48:24 +00:00
Ralf Becker
3db7b2f5c2 setting CardDAV:max-image-size on addressbook collections, so iOS scales it down before sending 2012-01-30 19:47:34 +00:00
Ralf Becker
01ce3bd88d * CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok) 2012-01-30 05:11:05 +00:00
Ralf Becker
7f14a2a196 * CardDAV: fixed sometimes not working creation of new contacts from the device, if accounts are stored in LDAP
not sure why I used $this->bo->account_repository != "ldap", it makes no sense, as we specify the column explicitly, no idea if CardDAV works for an addressbook in LDAP, but now it works for accounts in LDAP too
2012-01-20 06:44:40 +00:00