Commit Graph

1565 Commits

Author SHA1 Message Date
Nathan Gray
ef826ee2b9 Change all merges to use common get_all_links() function 2013-02-07 09:36:07 +00:00
Nathan Gray
d288fadaec Get 'Whole query' context menu checkbox working with Export -> CSV menu item 2013-02-07 08:45:21 +00:00
Ralf Becker
cb94372bd5 fixed switching back to addressbook "all" does sometimes fail 2013-02-05 11:47:32 +00:00
Ralf Becker
daac136f47 as et2 adds options as text, we can NOT use html entities, but direct utf-8 chars, which unfortunately php does not support as string literals, using html_entity_decode therefor 2013-02-05 11:24:02 +00:00
Ralf Becker
caa76a3235 unset jpegphoto in get_rows, as it is unused and messes up json encoding (not utf-8) 2013-02-05 08:07:02 +00:00
Ralf Becker
36f38bb956 no longer hide account addressbook in new installs 2013-02-01 17:38:08 +00:00
Ralf Becker
d5dfb4af1f if contact is an account and account-relevant data got updated, handle it like account got updated 2013-01-31 12:45:43 +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
3eabe83d8e Fix export birthday filtering 2013-01-23 17:46:58 +00:00
Nathan Gray
36e0b275c3 Avoid warning if there are no explode settings 2013-01-23 17:24:45 +00:00
Nathan Gray
66ef9a3273 Implement export filters for addressbook 2013-01-22 21:17:07 +00:00
Ralf Becker
4f16b71ea5 * CardDAV/Addressbook: do NOT allow to delete accounts via CardDAV, was never intended, but as it is allowed in addressbook, it was possible via CardDAV 2013-01-22 13:19:07 +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
Nathan Gray
1b5dfecc1c Organise preferences 2013-01-21 20:37:59 +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
Christian Binder
c8a5fe221a enable more apps to be merged by filemanagers itempicker 2013-01-04 00:21:37 +00:00
Nathan Gray
c120397363 Use revert icon for Undelete action 2012-12-31 22:05:14 +00:00
Nathan Gray
ca3bb185ad Use checkbox list for fields to update / fields to copy, add a button to toggle all 2012-12-17 16:31:56 +00:00
Nathan Gray
6f37d9b608 Add view hooks to addressbook-email so they open 2012-11-27 15:48:13 +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
Nathan Gray
76064cb490 Don't scare users, instead of displaying base64 encoded image in preview, just show -ENCODED IMAGE- 2012-11-21 18:08:52 +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
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
Nathan Gray
3a84f16317 Enumerate recurring events when merging last / next date for contact 2012-01-19 18:17:28 +00:00
Nathan Gray
871701d774 Fix links/[app] merge tag - copy/paste error 2012-01-13 19:49:19 +00:00
Ralf Becker
d972804aff * Addressbook: preference to open EMail addresses in external mail program, even if user has access to EMail app 2012-01-13 05:22:18 +00:00
Ralf Becker
b7babf5079 open calendar of contacts in listview with date-filter "all" and for jdots in calendar tab (not addressbook) 2012-01-07 23:35:17 +00:00
Nathan Gray
02861daf88 Add mergeprint tag for links to a specified application: links/appname 2012-01-06 18:35:34 +00:00
Klaus Leithoff
4cda10552e addressbook/esync: make sure private is set (with 0 or 1); as an contact_private set to NULL within the database is invisible to the users 2012-01-05 11:50:46 +00:00
Ralf Becker
f71782a8e0 * Addressbook: show calendar of contact(s) via context menu 2012-01-05 04:10:54 +00:00
Klaus Leithoff
d50d0f3d0a * addressbook: distributionlists, allow to add any seen contact to an available (and editable) distributionlist 2011-12-28 10:55:24 +00:00
Klaus Leithoff
4a65e417c5 fix bug regarding changed owner id for private/own addressbook, as private addressbook holds a special id in activesync, resulting in failed sync of private addressbook entrys 2011-12-20 14:29:10 +00:00
Klaus Leithoff
84386ade01 control the availabilityof the stylite app, before trying to offer the mail VCard feature, because stylite.links:// is used/needed here 2011-12-16 11:23:55 +00:00
Nathan Gray
f6a443a917 Add warnings to import plugin 2011-12-15 16:24:47 +00:00
Nathan Gray
27b45f92be Even if not successful, attempts count as row processed 2011-12-13 16:07:49 +00:00
Nathan Gray
867b0f5343 Set currentapp to addressbook so existing categories are properly detected 2011-12-09 17:49:05 +00:00
Nathan Gray
d0f9f93d4a Revert #37423 - mis-understood change 2011-12-05 19:32:12 +00:00
Nathan Gray
6ecf36d27b Change 'title' to 'Job title', 'role' to 'Occupation'. Apparently these changed. Fixes automatic field mapping in import 2011-12-05 17:48:39 +00:00
Ralf Becker
86577fa44e * Addressbook: ablity to mail (multiple) vCard via context menu 2011-11-29 12:07:11 +00:00
Ralf Becker
7c9dd8086f changed "No defintion" to "Old fixed definition" 2011-11-21 10:01:08 +00:00
Ralf Becker
8a1bb0a89e fix for bug #3071: r37248 - new function makes problems in listview/unable to hide field 2011-11-20 09:14:16 +00:00
Nathan Gray
1afba81ce8 Add 'No definition' option for default export definition preference. Allows use of legacy nextmatch CSV export with Import/Export app still available 2011-11-18 16:01:57 +00:00
Ralf Becker
bab120d11b * Addressbook: filter by country or sort by post code of home address 2011-11-11 16:56:08 +00:00
Ralf Becker
d9a824efa2 skip "unknown xml" warning in addressbook-multiget report 2011-11-10 06:57:54 +00:00
Klaus Leithoff
5c12f98c94 * addressbook: current contact type is now used on creating new addressbook entrys (except a explizit type is requested via GET) 2011-11-09 09:06:27 +00:00
Ralf Becker
4ec8f909a1 quietened permanent error_log 2011-10-28 16:15:00 +00:00