Commit Graph

1466 Commits

Author SHA1 Message Date
Nathan Gray
039e351d8b 'Disable' Export & merge spreadsheet in sidebox for addressbook view 2011-06-22 18:14:52 +00:00
Nathan Gray
275a1d3f27 Change category list links 2011-06-21 21:14:51 +00:00
Ralf Becker
40dd19fd3e * CardDAV/GroupDAV: handle deleted contacts, as not existing (404 Not Found) 2011-06-19 09:01:15 +00:00
Ralf Becker
92ddeca1fb - fail with error message, if user trys to export more entries then allowed (previously entries were silently cut down to allowed number, even 0!)
- fixed path of document-actions if more then one directory with subdirectories were given
2011-06-16 11:36:15 +00:00
Philip Herbert
3d1cbd3f40 removed accidently commited test-change 2011-06-14 16:07:44 +00:00
Philip Herbert
1a51ac86f7 merged latest changes from Andreas B. with the following changes:
- adapted searchquery so that parameters are equal for gal, mailbox and documentlibrary searches
 - Fix SAMSUNG Android 2.3.3 client compose_Saveinsentitems breaking
 - Corrected searchquery for GAL so that it includes the search range for backends that filter range already during query 
 - Take correct exporter to find changecount for optionfolder 
 - Fix for handling Sync requests where same item gets read and removed.
2011-06-14 15:33:11 +00:00
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Ralf Becker
220af27f60 Create template directory and set default document_dir preference of addressbook, calendar, infolog, tracker, timesheet and projectmanager 2011-06-11 11:57:51 +00:00
Nathan Gray
22426b6bd6 If ordering contacts by a numeric field (last modified), apply letter filter to org name instead of ordered field 2011-06-06 16:41:17 +00:00
Nathan Gray
596f252eb7 Patch from Bjorn Padding to silence JS error when addressbook is in LDAP 2011-06-02 20:01:25 +00:00
Ralf Becker
a6784aefbc calling the global action-object-manager 2011-06-02 16:57:33 +00:00
Nathan Gray
4f3dc53cb6 Make addressbook_merge respect addressbook's extra export limit 2011-05-20 17:50:51 +00:00
Nathan Gray
0eeb67f90a Respect addressbook's extra export limit 2011-05-20 17:18:49 +00:00
Klaus Leithoff
957b43afd4 add forgoten return to save_history 2011-05-17 08:02:29 +00:00
Nathan Gray
450b380de1 Use static convert from importexport to handle human values, custom fields 2011-05-12 18:01:34 +00:00
Ralf Becker
a3805293b2 name Z-Push based ActiveSync protocoll support in EGroupware "eSync" 2011-05-07 16:52:48 +00:00
Ralf Becker
848cde1489 upper check-all button also needs to call egw_objectManager.toggleAllSelected() 2011-05-06 13:28:07 +00:00
Nathan Gray
8b4728ad4a Allow documents in dirs other than user's preference dir by passing full path 2011-05-05 21:41:00 +00:00
Ralf Becker
1e8de99ed7 Move initialisation for egw_actions stuff into static method of nextmatch_widget, it get called now from:
- etemplate::show_grid() 
- addressbook_ui::view() to load JS stuff before header get generated
2011-05-02 13:34:59 +00:00
Ralf Becker
8247d55fc1 fixed missing space when adding multiple classes, causing context menu not recognising readonly, if also not deletable 2011-04-28 09:12:30 +00:00
Ralf Becker
594fe78d09 enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass 2011-04-27 16:59:12 +00:00
Ralf Becker
633b3da6b4 disable filemanager link for mulitple selected contacts 2011-04-27 10:14:32 +00:00
Ralf Becker
fb5ea143be - returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
7d02a952f6 - move all static javascript code to app.js file
- fixed "add appointment" to work in org-views by submitting to server to resolve org with contact id's and custom js action prefixing each id with a "c"
- improved "add infolog" to only submit for org-views to server and otherwise save that roundtrip by using a custom ja action
2011-04-26 16:22:10 +00:00
Ralf Becker
98a2731116 - fixed not working add or remove category method from context menu
- disabling actions not available, because of missing rights
- trying to disable "remove from distribution list" and "delete distribution list", when no list is selected
  --> not yet working
2011-04-25 14:13:40 +00:00
Ralf Becker
e474b0f0d4 - insert in document action:
+ one submenu with default document (if set) on top
  + if more then 9 documents, show them in submenus by mime type
- added copy address as second point to add submenu, beside new
- icons for move to addressbook
- fixed icons for org views
--> addressbook context menu should now be fully functional - let me know if not ;-)
2011-04-25 11:30:37 +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
8d22f87057 fixed not working edit of contacts 2011-04-19 15:11:51 +00:00
Ralf Becker
9859a038af - fixed not readonly custom fields, give all tabs equal height and adjusted height of phone numbers
- removed custom field specific history log code, as it's handled now by historylog-widget and bo_tracking
2011-04-19 15:03:58 +00:00
Ralf Becker
cabcd99149 fixed not working insert in document 2011-04-18 11:56:52 +00:00
Ralf Becker
342799a86a - further work on addressbook context menu, still not fully functional!
- moved a few more common phrases into API
2011-04-17 21:25:01 +00:00
Ralf Becker
fe5202c7a2 context menu for addressbook, please note: not everything is fully functional yet 2011-04-17 14:10:05 +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
4c24ac26b2 * Addressbook: lettersearch was not working for addressbooks in LDAP if PostgreSQL database was used
wrong parsing of sql query to construct LDAP query
2011-04-10 15:31:06 +00:00
Ralf Becker
0e56e1b7b6 AlterPingChanges / ctag for all-in-one addressbook 2011-04-07 19:37:37 +00:00
Ralf Becker
c443126893 make sure ca(rd|l)dav_name never get copied 2011-04-07 07:28:46 +00:00
Nathan Gray
a8b3fd0cba Make sure placeholders are present & empty if there is no previous appt for contact 2011-04-06 21:39:17 +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
Ralf Becker
04ad34647d fix for egroupware.org bug #2910: Unable to use lettersearch in addressbook 2011-04-05 12:51:00 +00:00
Philip Herbert
4a5a146334 fix email field format for Samsung Galaxy Android 2011-04-04 14:48:26 +00:00
Philip Herbert
cbcc4c6c49 updated activesync engine to latest as12.1 code from Andreas B:
- adding better support for non strict protocol implementations to improve device compatibility
- fixing an issue of iOS Mail App crashing, due to server reporting changes not requested by client during message fetch.
- adding support for multiple profiles(with different usernames) on one device to one server. (iOS) 
- Protocol Version 14.1 is now offered to the client
- general improvements to request handling
Updated egw backend and all plugins to be compatible with latest changes to sync engine.

ATTENTION: profiles need to be recreated on the devices.
2011-04-02 20:18:37 +00:00
Klaus Leithoff
b7304feca0 * addressbook: enable Advanced Search for OrgView 2011-03-30 13:31:09 +00:00
Klaus Leithoff
a52092cf33 fix for searchletter behavior when searching by searchletter of the order-criteria contact_id AND having custom fields 2011-03-29 09:43:37 +00:00
Nathan Gray
96a6514c49 Default selection to search results 2011-03-28 21:13:45 +00:00
Philip Herbert
b57bc41e54 as support for message flag 2011-03-27 19:02:04 +00:00
Ralf Becker
e5b0868057 missed to change prefs text 2011-03-24 12:07:24 +00:00
Ralf Becker
3a9ede84a3 - Personal AB is now allways synced, as some devices stall if there's no personal AB
- support for the extra private addressbook (private contacts are displayed in an extra AB called private and not the personal AB)
2011-03-24 12:01:33 +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
9d179bb27e Don't parse cat_id twice, it causes duplicate categories 2011-03-21 19:51:43 +00:00
Nathan Gray
9daa7bc069 Fix for extra photo key needed in two places 2011-03-21 18:14:25 +00:00
Nathan Gray
6da2289f8e Set default export definition 2011-03-21 15:58:08 +00:00
Philip Herbert
ca11300994 GetFolderList must always return an array to not break sync 2011-03-20 18:08:44 +00:00
Ralf Becker
c492c57e2f * Addressbook: fixed PostgeSQL error when searching or showing accounts 2011-03-20 12:37:22 +00:00
Ralf Becker
dbce0992af Implemented AS prefs for addressbook:
- which addressbooks to sync
- sync selected as one addrressbook (for devices only supporting on addressbook)
2011-03-19 12:51:50 +00:00
Nathan Gray
6a58d3c612 Don't put spaces between category IDs when exporting DB values 2011-03-17 14:40:48 +00:00
Nathan Gray
8235f32c30 Pass optional parent category ID when creating new sub-categories 2011-03-16 23:30:12 +00:00
Nathan Gray
d67a265beb Import categories when each is in its own column 2011-03-16 23:18:48 +00:00
Nathan Gray
09226f0e17 Fix missing sub-categories when exporting main + sub categories, main categories in their own column 2011-03-16 15:28:42 +00:00
Nathan Gray
06321ab94d If accounts are hidden from addressbook, don't export them if 'Use all' is selected 2011-03-15 19:51:39 +00:00
Nathan Gray
2a2268f4cd Fix bug exposed by importing mixed condition true / false files 2011-03-15 19:12:10 +00:00
Nathan Gray
c0da31b5f3 - Use global categories when listing each cat in its own column
- Fix missing value when exporting categories as DB values
2011-03-15 16:49:45 +00:00
Nathan Gray
ca00d4c69a - Improve owner parsing
- Change error message when owner can't be determined.  Most users don't use translations, so just fallback to plugin setting.
2011-03-15 16:20:11 +00:00
Nathan Gray
184117b0ec Use global categories too 2011-03-15 15:37:52 +00:00
Nathan Gray
8c094fd6be Automatically translate owner field from name to id (happens after set translation on field) 2011-03-15 00:02:54 +00:00
Nathan Gray
c907e92398 Fix for import / update search for existing record. If new record key (ex ID) was not set, address search matched all 2011-03-14 20:08:00 +00:00
Nathan Gray
e1c084ee0c Fix export when exporting both country code and country name 2011-03-14 19:37:59 +00:00
Nathan Gray
928a71397d Fix 'All contacts' filter; search for ID only actually returned ID + photo 2011-03-14 19:08:20 +00:00
Nathan Gray
aa7fc0f9f9 Always remove country code 2011-03-10 16:55:11 +00:00
Philip Herbert
1299714c61 moved notes/description handling to backend 2011-03-07 21:00:54 +00:00
Nathan Gray
017d70c186 Remove double country option from Site configuration copy fields 2011-03-07 18:32:20 +00:00
Nathan Gray
711ffd4fdb Set country name too, so address format works 2011-03-07 17:27:53 +00:00
Nathan Gray
97523a99f3 Fix default country from preferences, use country code 2011-03-07 17:25:54 +00:00
Philip Herbert
b0b4c8bf6a implemented/fixed read flag handling, enabled categories for addressbook, fixed typos 2011-03-07 15:03:56 +00:00
Ralf Becker
67c137c27d * LDAP addressbook filter for all addressbooks by "(objectclass=inetorgperson)" to not get eg. computer accounts from Samba 2011-03-07 13:52:51 +00:00
Ralf Becker
3bb9e89bcf * CalDAV/Lightning: fixed under some conditions infinit poping up alarms and user not able to add alarms
- Lightning pops up alarm, until Sequence/etag get updated: if user has no edit rights on an other users calendar, etag never got updated, now we update it
- fixed user was not able to add alarms via CalDAV, if he had no edit rights for event (was always possible in web UI)
- alarms from other users calendars are not included any more, as they make no sense but a lot of trouble
- fixed wrong condition on adding alarms, causing some alarms no being saved
2011-03-05 10:21:32 +00:00
Nathan Gray
051e11fe09 Automatically handle converting+adding text categories without explicit translation 2011-03-04 16:57:25 +00:00
Nathan Gray
591bc464c1 Add preference to use import/export definition for exporting from nextmatch 2011-02-28 18:10:43 +00:00
Nathan Gray
19ede9a2cc Get list of extensions from parent class 2011-02-22 19:56:49 +00:00
Nathan Gray
7e3e434e39 Remove link to old import 2011-02-22 17:16:17 +00:00
Nathan Gray
7a9b365d2b Add some missing historylog widgets 2011-02-18 18:28:11 +00:00
Nathan Gray
56cd0d5779 Change display of placeholder tags from 2432...2432 to {{...}} 2011-02-18 16:59:52 +00:00
Nathan Gray
0a71419124 Prevent double countries in address view 2011-02-17 20:00:54 +00:00
Nathan Gray
0c97c3bd10 Add extra placeholder 'categories' for expanded categories with path 2011-02-16 17:47:31 +00:00
Nathan Gray
04a081fd58 Use addressbook_bo functions instead of SO so full updates happen. 2011-02-15 16:05:39 +00:00
Klaus Leithoff
18208414bc fix for bug/problem regarding the merge of contacts: main links of linked addresses where not moved to the new target 2011-02-15 14:46:09 +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
Ralf Becker
f3ba8e0a69 calendar icon for addressbook.index to add an appointment for a contact 2011-02-15 11:38:20 +00:00
Ralf Becker
740f91863b zpush seems to use a timestamp in utc (at least vcard backend does) for birthdays 2011-02-15 11:37:09 +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
6a9d8f1b3b Add additional column 'Addressbook' 2011-02-04 16:19:38 +00:00
Nathan Gray
b3ac9e60fe Remove Import/Export links, framework adds them now 2011-01-28 19:54:52 +00:00
Christian Binder
407f7c9440 moved eroles specific code from parent merge class to projectmanager merge class 2011-01-27 17:08:40 +00:00
Nathan Gray
52cf37600d Add importexport links to sidebox 2011-01-26 01:04:31 +00:00
Klaus Leithoff
d46605ecf7 check if customfields exists before attempting to merge 2011-01-20 16:45:12 +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
Klaus Leithoff
93a07c2ff4 * addressbook: postgres compatibility for distributionlists 2011-01-14 12:58:46 +00:00
Klaus Leithoff
fa065bb3c9 * addressbook: check if typefilter is valid (type available), if not remove it 2011-01-14 12:01:58 +00:00
Klaus Leithoff
fc6a432ce7 * adressbook: fix for Stylite Tracker bug#1152; Links for Addressbook where not shown anymore 2011-01-13 12:09:06 +00:00
Christian Binder
b80eaab81f initial implementation of merge class and element roles for projectmanager - projectmanager fields are not yet supported but will be implemented later. This feature is sponsored by www.inspectionsunlimited.com. 2011-01-08 16:04:44 +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
75b8b2f4a4 using servertime timestamps for birthdate and adding direction to server for birthdate, category is still missing 2011-01-04 18:51:19 +00:00
Jörg Lehrke
97e1449db6 Fix SyncML addressbook handling 2010-12-19 22:25:47 +00:00
Ralf Becker
2a1b010ead deleting of contacts and some reformatting 2010-12-19 04:07:40 +00:00
Philip Herbert
c4c1b3365a implement possibility to change addressbook data via AS 2010-12-18 20:35:36 +00:00
Nathan Gray
f444efbc9a Implode arrays when not exporting human-friendly values so they don't say 'Array' 2010-12-10 22:47:44 +00:00
Klaus Leithoff
7ffdb2f0f4 filter @ from n_fn when trying to add the email via addressbook.email dialog 2010-12-07 13:57:16 +00:00
Ralf Becker
0e4217f37f * fixed birthday of contacts/accounts in LDAP could not be modified in addressbook 2010-12-06 18:25:35 +00:00
Klaus Leithoff
23c02699a8 remove invalid -at- when occurring in full name, when adding address to email 2010-12-06 15:02:56 +00:00
Ralf Becker
517a99ce27 moved global address list search to addressbook plugin, made all other searches interfaces too, thought no pluging yet implements them 2010-12-06 10:04:29 +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
Ralf Becker
8cc7c338e0 fixed warning on emtyp folder 2010-12-02 14:14:14 +00:00
Ralf Becker
cede281d11 using labels from addressbook_bo::get_addressbooks() and fixed not working folder filter in GetMessageList 2010-12-02 13:03:52 +00:00
Ralf Becker
44d59931a2 moved private_addressbook attribute from addresbook_ui to addressbook_bo 2010-12-02 13:00:01 +00:00
Ralf Becker
108d6097c6 propset svn:keywords Id 2010-12-02 08:59:05 +00:00
Philip Herbert
9133590294 initial commit of addressbook plugin for active sync 2010-12-02 08:46:20 +00:00
Nathan Gray
92e1b0b75b Merge custom fields when merging contacts 2010-11-25 20:24:22 +00:00
Klaus Leithoff
4ffe2fc6e0 handle whitespace in emailaddresses when adding distributionlists to email-compose window 2010-11-25 13:38:38 +00:00
Klaus Leithoff
95b7ab2a38 fix for wrong parameter warning in foreach, if multiple fields are to be exploded or not 2010-11-24 11:21:39 +00:00
Nathan Gray
ece55ed97a Fix delete button so users can delete their personal contacts 2010-11-23 21:28:58 +00:00
Nathan Gray
ed134f92d3 Skip the step about multi-select columns if none of those columns are selected 2010-11-23 16:06:10 +00:00
Nathan Gray
12fddd6660 Respect convert to human friendly fields option 2010-11-22 23:32:27 +00:00
Nathan Gray
98df477a23 Include infolog js file for multi-infolog actions 2010-11-22 22:45:55 +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
Nathan Gray
73c445a694 Fixes to special export category columns:
- Sub-categories are properly detected, and the main category added if needed
- Sub-categories are listed as the path (Sub/Sub-Sub/Level 3) not just their name
2010-11-19 18:35:37 +00:00
Nathan Gray
1791ab3a05 Fix for blank country in history 2010-11-15 16:29:31 +00:00
Ralf Becker
76038568fc disable history log tab, if it is not applicable (LDAP or new entries) 2010-11-13 09:10:11 +00:00
Ralf Becker
87d4cbcce3 allow all fileas types as link-title types (plus value of fileas) 2010-11-10 09:35:10 +00:00
Ralf Becker
3f137a1f64 switching new id column off by default 2010-11-10 08:30:47 +00:00
Nathan Gray
94e5d90e20 Remove options tab when exporting 2010-11-09 17:43:49 +00:00
Nathan Gray
8ab3d216b8 New options for exporting categories: New field for each category, new field for main categories
New options for multi-select custom fields: new field for each option
2010-11-09 17:37:18 +00:00
Nathan Gray
bb636ae912 Use common conversion function 2010-11-05 20:22:00 +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
Ralf Becker
a272e11330 forgot to remove comment, photos get now resized 2010-11-05 07:51:12 +00:00
Ralf Becker
14621383d6 * scaling now addressbook images uploaded via CardDAV or SyncML to 60 pixel width like already done for web GUI 2010-11-04 20:40:33 +00:00
Nathan Gray
e0a2ab959d Change date formatting to whatever the current user happens to have. 2010-11-04 16:45:22 +00:00
Jörg Lehrke
d3532ed7a1 Fix Apple CardDAV issue 2010-10-29 08:45:40 +00:00
Klaus Leithoff
0b4c7f3ef6 addressbook: import (import/export integration; if we get countrycodes as countryname, try to translate them -> the rest should be handled by bo classes 2010-10-29 07:29:40 +00:00
Nathan Gray
bd67b26f4b Some data conversions from internal to something with more meaning:
Dates, times, User IDs, Category IDs
2010-10-28 23:14:01 +00:00
Ralf Becker
ef28b28443 separate method display_var(&$content=null,...) called by original display($content=null,...) method, to allow extending classes to use changes in content 2010-10-27 08:36:18 +00:00
Ralf Becker
bf63d26531 fixed warning (ExecMethod does not allow var parameters) 2010-10-27 08:20:32 +00:00
Ralf Becker
c67a61b692 returning "403 Forbidden" if addressbook_bo->save() fails, happens when writing new entries in ABs without ADD rights 2010-10-20 16:16:03 +00:00
Ralf Becker
e86f5fb663 fixed bug: GroupDAV/CardDAV PUT request to /addressbook/ changes owner, also checking now required ACL for moving contacts between addressbooks 2010-10-20 15:47:30 +00:00
Nathan Gray
d261f92a75 * Fix for Addressbook History NOT showing old or new value for some custom fields (Stylite #8230) 2010-10-14 15:08:05 +00:00
Nathan Gray
e646cc4f8e Add mimetype to export plugin 2010-10-12 22:48:43 +00:00
Ralf Becker
93d34b8557 - fix for egw.org bug #2729: extended search for recipients filtered by categories does not work
- cancel button in advanced search, cancels now the advanced search and not just closes the window
2010-10-12 14:01:36 +00:00
Jörg Lehrke
33bd0fed50 Announce all available addressbooks and calendars of the current user with GroupDAV 2010-10-09 22:49:10 +00:00
Nathan Gray
de928b294e Add wizard for creating export definitions 2010-10-07 23:07:02 +00:00
Klaus Leithoff
cb85377c0a preserve accountstatus: only write to errorlog if condition is met 2010-10-06 15:42:32 +00:00
Klaus Leithoff
b32eff2132 prevent the change of owner, if the entry to be changed is an account 2010-10-06 15:30:07 +00:00
Klaus Leithoff
38c977ee7a add a fieldmapping to enable the query for contact_bday 2010-09-30 09:49:23 +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
22ed1ab411 Update private address country code also 2010-09-28 19:55:55 +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
Nathan Gray
d7168805c9 When deleting but keeping contacts, hold on to links as well so they can be restored if contact is restored. 2010-09-27 16:39:54 +00:00
Jörg Lehrke
40d786871e Improve Mac OS Addressbook.App CardDAV support as far as reasonable 2010-09-25 15:19:48 +00:00
Ralf Becker
ed733eef42 * iPhone and Mac Addressbook support aka Apple CalDAV/CardDAV autodetection
Addressbook does NOT allow to specify the URL, unlike iCal which allows it after autodetection fails.
This, some XML specifics set now for Apple addressbook user-agents and etags for addressbook collection itself
allow now to use EGroupware with iPhone or Mac addressbook. The later was working before, if you edited the URL
into a decompiled plist file, but failed now because of a new REPORT it tries on the principal, to find out shared
addessbooks, which we not yet support, but failed to tell in the correct way (501 Not Implemented).
Addressbook sync now the personal addressbook, because that is what we tell it as addressbook-home-set.
We should add some configuration so user can choose what addressbook to set as addressbook-home-set, or to set
the "all" addressbook (/addressbook). For the later we could add some prefs like SyncML to specify filters or
eg. a distribution list.
2010-09-25 09:08:37 +00:00
Nathan Gray
fa3b31cee6 Add action to undelete selected addresses. Only visible when viewing deleted addresses. 2010-09-23 21:55:06 +00:00
Nathan Gray
4c8ca0b2ca - Add option to change addressbook for record on a per-record basis, with fallback to owner
- Add option to not change the addressbook a record is in when updating it
2010-09-23 19:49:07 +00:00
Nathan Gray
b0870c8c80 Make sure n_fn and n_fileas get updated when importing 2010-09-23 15:38:28 +00:00
Ralf Becker
1f8e2e93df * allow to pick CC of tickets from addressbook
- also added a different approach allowing apps to register themselfs multiple times in the link registry, was necessary as types approach from Nathan changes the usage of the original app, while this adds sub-types like an arbitrary app responded to the link hook
2010-09-22 09:36:26 +00:00
Ralf Becker
d858197e80 fixed sql error reported on user list 2010-09-20 06:11:17 +00:00
Jörg Lehrke
901f5873bc Fix GroupDAV ctag issues 2010-09-18 11:28:12 +00:00
Nathan Gray
49e3c1d8fa Make edit popup wider to fix display issues in IE 2010-09-16 21:02:37 +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
f4fa73412b * fixed privated contacts got synced back as public
caused by setting private=0, if owner != current user, but NOT checking if owner is set, which is not the case for SyncML
2010-09-08 09:45:20 +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
Klaus Leithoff
bf83f9597c fix for bug #8178(Stylite) default Addressbook preference is not used, when addressbook-value is not to be copied 2010-09-02 11:26:49 +00:00
Ralf Becker
1f5d3c0b6a an other fix for copying contacts:
- show custom fields, if contact- (not account-)repository is NOT ldap
- allow to set the name, but one of the defaults
- removed "Links" as copying them is not implemented
2010-09-01 07:57:06 +00:00
Ralf Becker
657ce8683f moved default fields for copying to addressbook_ui::$copy_fields AND using that default also if nothing is configured 2010-08-30 10:21:23 +00:00
Nathan Gray
5c2a64c1de Use correct field names for company & department 2010-08-26 14:23:28 +00:00
Nathan Gray
989011fe69 Add site configuration setting for which fields to copy when copying an address. (egw.stylite.de bug #8168) 2010-08-25 16:47:25 +00:00
Nathan Gray
dd54552881 Fix incorrect address count when searching organisations (#8117) 2010-08-19 16:15:10 +00:00
Nathan Gray
6699869e2b If deleted addresses are kept, delete links on final purge, not initial delete (#8157) 2010-08-18 14:57:56 +00:00
Ralf Becker
a5b73a08ee quitent debug output if dry-run is set 2010-08-16 14:56:14 +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
Ralf Becker
fcec62794e some improvments for easier extention of the contact form 2010-07-29 13:02:05 +00:00
Jörg Lehrke
06ba097082 Fix unknown qualifier issue for contact fields 2010-07-27 19:38:01 +00:00
Nathan Gray
b9c0bea095 Keep CSV fields in definition, so editing definition doesn't require uploading a file each time 2010-07-27 14:20:00 +00:00
Jörg Lehrke
37fed34972 Allow moving of existing cantacts between adressbooks 2010-07-23 18:06:18 +00:00
Ralf Becker
89ed32a022 add date parameter to next and last date link, to set correct exception date for recuring events 2010-07-07 10:11:52 +00:00
Jörg Lehrke
75b25bb796 Fix FroupDAV report issue 2010-07-02 05:01:15 +00:00
Ralf Becker
8b90b62273 fixed contactform so anonymous user can attach files (without giving him addressbook run rights and edit rights for the used addressbook) 2010-06-30 09:56:06 +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
Jörg Lehrke
6391dcf517 Fix Nokia E-Series SyncML addressbook mappings 2010-06-29 13:54:23 +00:00
Jörg Lehrke
09bc2c09cd Fix CTag issues for GroupDAV 2010-06-29 13:52:56 +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
fc841ff9cf - Fix save so fileas gets updated even if n_fn is set (normal edit)
- Add isUpdate parameter to fill in any not set fields from DB when updating fileas
2010-06-28 14:05:33 +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
Jörg Lehrke
bce68a9e82 Fix CalDAV group attendee issue; various GroupDAV improvements 2010-06-27 22:16:22 +00:00
Jörg Lehrke
c5ae8dd8e2 Support Free/Busy information with credentials as part of the URL 2010-06-26 11:35:11 +00:00
Jörg Lehrke
2cfaebacd3 Fix Field mapping in vCards 2010-06-16 16:29:33 +00:00
Nathan Gray
5e89cfbabf Apply 'hide_accounts' preference to link searching 2010-06-16 14:09:52 +00:00
Ralf Becker
88ebb437c2 methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class 2010-06-15 16:08:10 +00:00
Nathan Gray
e02d6c4ea9 Fix typo 2010-06-14 10:50:50 +00:00
Jörg Lehrke
1431f149e2 Fix GroupDAV/Addressbook categories issue 2010-06-14 07:45:25 +00:00
Jörg Lehrke
5c2c6b071c Update full supported fields for addressbook synchronization 2010-06-09 17:51:27 +00:00
Nathan Gray
e56d9e9503 Fix org view to use extended search abilities 2010-06-07 18:40:25 +00:00
Jörg Lehrke
bfe60cfb90 Impove private contacts issue for foreign addressbooks 2010-06-07 15:00:30 +00:00
Jörg Lehrke
e13391dac8 Fix private contacts issue for foreign addressbooks 2010-06-07 11:55:56 +00:00
Ralf Becker
286a412a9c using charsets from translation class and defaulting to iso-8859-1, as thats what windows uses 2010-06-04 12:09:55 +00:00
Ralf Becker
bec64ee336 allow specify value for template specific link handler and using a javascript link, instead a a-tag 2010-06-02 17:11:48 +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
Klaus Leithoff
45a3ae7115 handle calendar replacements (search for events) only when there are calendar replacements required 2010-05-26 12:41:19 +00:00
Ralf Becker
d200a58ab1 "hiding accounts addressbook by default for new installs" 2010-05-20 18:10:48 +00:00
Nathan Gray
8d01c5b574 Apply patch to fix PostgreSQL error from Petr Bravenec 2010-05-12 14:37:36 +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
b85467dd26 Use enanced searching for link queries also 2010-04-26 14:31:55 +00:00
Nathan Gray
27e54cb692 Don't record change history on jpegphoto, it causes SQL errors. (Bug #2483) 2010-04-22 15:39:32 +00:00
Nathan Gray
d7c8f809bf Change contact search to use filter to filter by specific columns 2010-04-21 19:09:11 +00:00
Nathan Gray
39d0fbf9ae Fix for only_keys=true and filter 2010-04-21 18:52:49 +00:00
Jörg Lehrke
334a8c6fc3 Fix addressbook_bo::find_contact() 2010-04-21 17:41:34 +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
Ralf Becker
1d57b61644 fixed handling of group acl: addressbook eg. is NOT using it at all 2010-04-20 06:58:28 +00:00
Nathan Gray
c87e751c76 Disable history logging for accounts when the backend is LDAP because it was showing changes for all entries instead of the current entry 2010-04-16 16:06:37 +00:00
Klaus Leithoff
9ea63f1cbb only try to read calendar entrys, if there are ids/dates 2010-04-16 10:28:29 +00:00
Jörg Lehrke
3262b5a96e Support addressbook synchronization for address list only 2010-04-13 18:10:54 +00:00
Jörg Lehrke
6647c40135 Configurable character set for vCard exports 2010-04-13 17:44:09 +00:00
Jörg Lehrke
30a3296c8e Optimze and clean up GroupDAV 2010-04-13 15:31:59 +00:00
Jörg Lehrke
f976e3079c Fix vCard export issue 2010-04-11 09:34:42 +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
Nathan Gray
68a2a3d641 Notify linked apps about changes in contact data so linked addresses get displayed with new information 2010-03-24 16:23:12 +00:00
Nathan Gray
a59d33723c Don't change a user account into a regular contact 2010-03-24 15:43:52 +00:00
Jörg Lehrke
0dfb44228c Fix SyncML preferences 2010-03-24 11:37:22 +00:00
Jörg Lehrke
42a09eda30 Add configurable client character set for SyncML & various fixes 2010-03-22 18:03:23 +00:00
Nathan Gray
6de19f924e - Update importexport names/classes to reflect changes in importexport
- Use new wizard base class to simplify import definition wizard
2010-03-22 15:11:12 +00:00
Ralf Becker
678baad83f "patch from Lorentz <lorentz(at)friendship-systems.com>" 2010-03-21 09:54:42 +00:00
Jörg Lehrke
28383ae67d Fix Funambol SIF enconding 2010-03-15 17:17:42 +00:00
Jörg Lehrke
7220d96847 Use iterator approach in GroupDAV; fix various issues 2010-03-15 09:55:16 +00:00
Ralf Becker
ca3f3b463f "adding fields for (max. 10) single category names" 2010-03-10 18:05:44 +00:00
Klaus Leithoff
2595f62573 changing the condition for n_fn adaption. change of given name and family name seems not to be sufficient 2010-03-08 11:14:49 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Ralf Becker
97d3b59999 "sort group-addressbooks and other-user-addressbooks alphabetical" 2010-03-05 14:54:07 +00:00
Jörg Lehrke
d397dcded2 Fix n_fn update issue 2010-03-05 08:28:25 +00:00
Klaus Leithoff
30b683cf5a fixing of an orgview bug: orgview was extremly sticky, after you selected an org member for e.g. infolog view 2010-03-01 10:22:43 +00:00
Jörg Lehrke
e377d1914c Addressbook cleanups from backport 2010-02-26 15:47:51 +00:00
Klaus Leithoff
c9ab7e557b fixing issue: failed add to organisation from org-view, when colon in org_unit/org_location/organisation 2010-02-25 13:42:27 +00:00
Nathan Gray
56b51a4285 Fix so sitemgr contact form shows contact's address instead of current user 2010-02-18 23:32:25 +00:00
Klaus Leithoff
d2d64a73fe get rid of comma in full-emailadresses, as imap_rfc_address_list assumes a new address to come after comma 2010-02-17 12:03:37 +00:00
Klaus Leithoff
ea5535284f fix for addressbook hook_home problem; birthdays where not displayed correctly anymore in home view 2010-02-16 10:42:27 +00:00
Ralf Becker
ba5bdb79a2 fixed not working listing of groups, after r29189 2010-02-13 06:45:24 +00:00
Nathan Gray
fb50bee888 Log history of custom fields also 2010-02-12 16:47:15 +00:00