Commit Graph

2048 Commits

Author SHA1 Message Date
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
9eacd3de3c Fix missed class name change in default importexport profile 2010-03-31 15:45:15 +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
Klaus Leithoff
a185cdece2 fix small spelling bug 2010-03-22 11:23:11 +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
Nathan Gray
5179365a8c Record how many of which action were done 2010-03-03 16:29:25 +00:00
Nathan Gray
b390965803 Fixes around contact_id, addressbook backend has issues with importing a record with a contact_id in it, it only works for matching for updates. 2010-03-01 23:08:50 +00:00
Nathan Gray
a7d4af0ab1 Fix for default group 2010-03-01 17:45:42 +00:00
Nathan Gray
8f815a951e Fix infinite loop if no sample file provided, default field separator to ; 2010-03-01 15:53:47 +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
Nathan Gray
c6a2c8bbcc Changes for importexport
- Fix wizard so you can define import definitions
- Change import so an update with no differences will not change anything
2010-02-25 23:18:45 +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
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
Klaus Leithoff
e763d692c9 make sure the default type for addressbook is found if there is no entry in egw_config 2010-02-10 14:27:14 +00:00
Jörg Lehrke
b6097fa156 SyncML Content Handling
* Improved find-methods
* Timezone support for InfoLog
* SyncML Preferences
    - addressbook and address list are now joined
    - Primary User Group for addressbook and calendar
* SlowSync uses old mapping information (can be disabled within the preferences)
2010-02-09 21:56:39 +00:00
Nathan Gray
0db5355347 Add history logging to addressbook 2010-02-08 17:53:47 +00:00
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +00:00
Klaus Leithoff
ff7bc54de5 translations provided by G.Mueller 2010-02-02 15:45:34 +00:00
Ralf Becker
c73107cb7a fixed wired layout if email address starts with td (because email was prefixed with < instead of &lt;) 2010-01-24 00:45:36 +00:00
Klaus Leithoff
ba7bfb3628 using new classnames in addressbook emailpopup 2010-01-22 10:34:39 +00:00
Ralf Becker
39b50631bd fixed typo in english phrase 2010-01-11 23:14:28 +00:00
Jörg Lehrke
548f5f8c98 Fix various issues introduced with Funambol adjustments; code cleanup 2010-01-10 19:02:16 +00:00
Jörg Lehrke
3242e169cc More Funambol adjustments and workarounds 2010-01-09 18:04:21 +00:00
Jörg Lehrke
49823ecd7e Fix encoding issues; improvements for Funambol clients 2010-01-08 13:09:36 +00:00
Ralf Becker
8d55e4800e fixed supported-report-set according to a calendarserver example and reorganized HTTP_WebDAV_Server to generally support hierachical properties 2010-01-07 04:24:45 +00:00
Ralf Becker
b446f6de4e supported-report-set as required for CardDAV and Sogo connector 2010-01-07 02:04:09 +00:00
Ralf Becker
2e99a3fb20 ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense 2010-01-05 23:27:28 +00:00
Ralf Becker
d53f0c91bf ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense 2010-01-05 23:25:17 +00:00
Nathan Gray
08b7ab173e Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 21:27:56 +00:00
Nathan Gray
6df521de8d Implement options so link_query() can be limited 2009-12-08 21:24:46 +00:00
Oscar Manuel Gómez Senovilla
e2424d6c65 Recover history from rev 28543 2009-12-02 19:22:01 +00:00
Oscar Manuel Gómez Senovilla
e2f45bd770 Temporary remove to recover history from rev 28467 2009-12-02 19:20:37 +00:00
Christian Binder
c3df45932f make birthday date check also work for 200 years more in the future 2009-12-02 11:18:20 +00:00
Christian Binder
144f5fe24c check for a valid birthday date if we run the contacts cleanup tool 2009-12-02 11:06:01 +00:00
Jörg Lehrke
dd92e60180 Use UID for find_content(); code cleanups 2009-12-01 10:24:55 +00:00
Stefan Becker
183b524e9c fixed some typos 2009-11-29 19:10:53 +00:00
Ralf Becker
7c67b5bd59 "fixed birthday reminder on home for ldap:
- transfer wildcard via parameter, as it get's quoted otherwise
- searching accounts too, if accounts stored in ldap and contacts not"
2009-11-29 13:34:00 +00:00
Ralf Becker
0e08767e79 "quiten warning, if search returns empty result" 2009-11-29 10:56:17 +00:00
Oscar Manuel Gómez Senovilla
552c6c3378 Move addressbook lang files 2009-11-28 12:24:46 +00:00
Ralf Becker
7f176742ee replaced some more API calls with static calls 2009-11-28 11:56:53 +00:00
Ralf Becker
0e25113bb0 unsetting etag too when copying contacts to fix optimistic locking error after 2. apply 2009-11-28 11:43:10 +00:00
Stefan Becker
6e78479b52 new prefix tags for serial letters 2009-11-27 16:34:28 +00:00
Ralf Becker
e642601607 Allow to use account_id as unique key in csv import and added it to cvs
export.
2009-11-27 13:35:43 +00:00
Christian Binder
4cc1862668 use central method in categories class to check for categorie permissions, also respect category permissions in addressbook list 2009-11-26 08:32:18 +00:00
Christian Binder
f94c037269 instanciate categories class in addressbook_bo constructor 2009-11-26 08:30:22 +00:00
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Christian Binder
bd3bdae734 fixed again wrong $this->owner to $this->user 2009-11-20 10:37:11 +00:00
Christian Binder
6e8f5f453d fixed categories var being initialized somewhere between nowhere and nirvana 2009-11-20 09:05:23 +00:00
Christian Binder
2cba91f6bf respect category permissions on contact view, remove all categories on contact copy, fixed typo 2009-11-20 08:49:39 +00:00
Jörg Lehrke
9e7f4a989e Disable debug messages in addressbook SIF class 2009-11-20 07:22:20 +00:00
Jörg Lehrke
d9adef103b Add new contacts to selected addressbook. Fix SIF category delimiter 2009-11-19 20:52:44 +00:00
Christian Binder
e76d659cac applied category preserve on import also to SIF classes 2009-11-19 15:30:53 +00:00
Christian Binder
71c7c427ca check for contact_id > 0 2009-11-19 14:18:45 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +00:00
Christian Binder
43649aa268 fixed typo 2009-11-18 11:11:16 +00:00
Christian Binder
bde63a01f9 fixed missing argument error on search (e.g. slowsync), sorry - my fault 2009-11-18 11:10:36 +00:00
Christian Binder
dee4177242 changed owner to user, this was an old error which probably never produced any impacts 2009-11-18 09:55:31 +00:00
Christian Binder
0b4313adba using new categories check_perms() method on vcard export (prevent exposing private categories) and merge given categories with existing ones on vcard import 2009-11-18 07:46:01 +00:00
Christian Binder
509c20a625 just fixed some typos 2009-11-13 08:01:28 +00:00
Christian Binder
8e6f54f9de new addressbook admin function to cleanup addressbook fields on all contacts - useful if synchronisatioin creates duplicates 2009-11-11 08:44:51 +00:00
Stefan Becker
90d5815dfa "fixed typo in documentation" 2009-11-10 14:20:33 +00:00
Klaus Leithoff
3ea7a80876 show advanced search/add AND Typeselection if you have more than one addressbooktypes. If you have only one type, use this one as filter not 'n' 2009-11-09 10:15:18 +00:00
Jörg Lehrke
5810575d05 Be more tolerant within find_contact() 2009-11-06 14:43:46 +00:00
Christian Binder
94c29e7819 remove url und url_home from mandatory matching fields because this fields vary too much (with http:// or not) 2009-11-04 16:22:36 +00:00
Christian Binder
79a3b59ccb avoid setting fullname to empty string by first checking the strlen of it 2009-11-04 15:09:24 +00:00
Ralf Becker
6989d59ba6 fixed no or only partial export of custom fields via nextmatch csv export 2009-10-30 11:18:47 +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
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +00:00
Ralf Becker
3c3c988851 "fixing settings hook to run under setup (for default and forced prefs - not yet set)" 2009-10-18 12:58:38 +00:00
Ralf Becker
447c8b618a Using an iterator to query addressbook in chunks of 100 contacts to
allow to do propfinds on hugh addressbooks independent of memory_limit:
- regular groupdav_handler::profind() method gets split in a method just
  computing a filter and a callback to run that filter on the backend
- groupdav_propfind_iterator class is returned from profind method
  instead of an array with information about the files
- iterator calls groupdav_hander::propfind_callback if there are no more
  entries from the previous call
- constructor of groupdav_propfind_iterator allows to pass an extra array
  with files to return, to simplify modifying existing implementation
  (were eg. information about the current path, get's supplied from
  calling groupdav class).
2009-10-17 09:13:36 +00:00
Ralf Becker
4f69a5d1b0 using references to loop of items in profind and some cleanups 2009-10-16 08:36:28 +00:00
Ralf Becker
ae3ecf9891 "- using a referencing foreach to loop over contacts in propfind to minimize memory usage
- some other cleanups"
2009-10-16 08:01:28 +00:00
Klaus Leithoff
96e8650e1c fix for not displayed last/next Date in Listview 2009-10-15 15:00:49 +00:00
Klaus Leithoff
36233b6ce2 fixing small typo 2009-10-15 14:08:09 +00:00
Jörg Lehrke
6b81216bbd Support street2 fields during import 2009-10-12 20:12:52 +00:00
Jörg Lehrke
3c80e5aa26 Fix Funambol QP issue 2009-10-06 23:32:02 +00:00
Stefan Becker
8ae115dbb5 added scurity checks before delete selected or distribution list entry with the action menu on the button of the page 2009-10-01 13:04:54 +00:00
Stefan Becker
8b01210dd7 fixed some typos 2009-09-29 07:54:11 +00:00
Stefan Becker
7eed120731 added paramter to select, if sender gets also an email via contactform 2009-09-28 19:22:45 +00:00
Stefan Becker
7a23ad6e3c added new Tag 6768NELF to avoid emty lines on rtf serial letters 2009-09-23 12:58:58 +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
Klaus Leithoff
e1ae046c49 added the possibility to show notes in addressbook list. 2009-09-22 15:17:38 +00:00
Jörg Lehrke
6ab542b88b Support iPhone specific TEL type 2009-09-17 20:26:56 +00:00
Oscar Manuel Gómez Senovilla
2386a28cc5 Update Czech translation for trunk. Tracker #1956 2009-09-09 22:12:43 +00:00
Ralf Becker
d990609083 refractored addressbook merge class in an abstract class and an implementation for addressbook 2009-08-26 17:12:43 +00:00
Ralf Becker
bfecedaf7a docu update 2009-08-26 17:09:44 +00:00
Jörg Lehrke
3a6e839a14 Moved device specific supported fields to SyncML API. 2009-08-22 15:57:57 +00:00
Jörg Lehrke
2d89868180 allows to limit contact synchronization to specific an addressbook and distribution list (thanks to Zorg) 2009-08-22 14:22:55 +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
Ralf Becker
7b63b57aae "Patch from Jean-Charles Passard <jcharles(at)provectio.org>: allows to use either uid or id to retrieve contacts
"
2009-08-22 06:28:58 +00:00
Ralf Becker
ff7aff5207 "Implemented ability to check for more then one right:
@param int $required=EGW_ACL_READ required rights on the addressbook or multiple rights or'ed together,
to return only addressbooks fullfilling all the given rights
"
2009-08-21 07:12:07 +00:00
Ralf Becker
044cd984cc "added warning if zip extension is missing (OpenOffice and MsOffice documents)" 2009-08-14 09:50:28 +00:00
Ralf Becker
444018cdaf "fix for using GroupDAV with LDAP as addressbook backend" 2009-08-07 07:16:14 +00:00
Ralf Becker
1ba343a837 "fix for using GroupDAV with LDAP as addressbook backend" 2009-08-07 07:15:37 +00:00
Ralf Becker
d89e7b088b "regular expression to fix garbled placeholders in msword xml format" 2009-08-03 12:06:59 +00:00
Ralf Becker
b49d561491 "- added existens check for ZipArchive class (RHEL5 contains zip extension without that class!)
- only fix zip files if php version < 5.3.1 (which claims to fix the issue)
- fix mimetype of msword xml format truncated to 64 chars"
2009-08-03 11:44:45 +00:00
Stefan Becker
8e9eb0aa2e changed handling of mimetype for other types 2009-08-02 12:32:39 +00:00
Nigel Vickers
2a04a9c9f0 add switch based logging to default file /tmp/log-vcard or if set to ['server']['temp_dir']./log-vcard part II 2009-07-27 07:03:10 +00:00
Jörg Lehrke
ea2d01b1f6 Reorganized the vCard parser to assign to datebase columns with to following priciples
1. Most qualified field matches  EMAIL;INTERNET;WORK  wins against EMAIL;INTERNET
2. First field wins (if vCard contains same field twice)
2009-07-22 20:31:15 +00:00
Ralf Becker
35a0323027 Added CSS class "iphoto" to photo in address list and give it a width:
60px; to scale bigger images down.
2009-07-22 07:24:05 +00:00
Nigel Vickers
e5c802a3a6 Added logging 2009-07-21 11:23:58 +00:00
Jörg Lehrke
e5ee24dcfc Parser ajustments 2009-07-20 17:41:15 +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
Klaus Leithoff
21d2db0e54 fixing an n_fn issue, (n_fn was not updated anymore) 2009-07-20 07:47:55 +00:00
Jörg Lehrke
367d2b5ad6 Keep Field Order 2009-07-19 20:05:06 +00:00
Jörg Lehrke
81afb6f8e9 Fix Funambol Outlook Client Issues 2009-07-18 23:02:31 +00:00
Ralf Becker
947e09e02f "fix for bug: checking \"whole query\" sets number of rows to -1" 2009-07-18 15:17:41 +00:00
Jörg Lehrke
89d8486583 Support of Funambol Outlook Sync Client 2009-07-18 13:11:43 +00:00
Jörg Lehrke
99eaf8921b Enable FN again 2009-07-16 19:40:02 +00:00
Ralf Becker
a5ff2eb037 fix for invalid category ids, eg. delete categories 2009-07-16 16:05:40 +00:00
Ralf Becker
d333605510 - merged SyncML-1.2 branch with trunk:
svn merge ^/trunk/addressbook@27378 ^/branches/SyncML-1.2/addressbook .
- re-added to trunk commits, which were somehow not in SyncML-1.2 branch:
svn merge -c 26581 ^/trunk/addressbook
svn merge -c 26582 ^/trunk/addressbook
2009-07-15 19:44:09 +00:00
Klaus Leithoff
ab20b324e0 fix for: if no cf import fails with fatal error 2009-07-15 14:22:29 +00:00
Ralf Becker
abbe9915fa "- allways display addressbook contact is imported to
- dont move accounts to default addressbook"
2009-07-10 12:39:00 +00:00
Ralf Becker
25dc87e835 "only use default addressbook, if none is specified AND no existing contact already in a defined addressbook" 2009-07-09 13:02:57 +00:00
Ralf Becker
69d377b5d5 "use default addressbook for new contacts (user preferences), if no owner specified" 2009-07-09 12:38:50 +00:00
Ralf Becker
dc813fd741 Implemented configurable unique id's in addressbook cvs import:
- primary unique id: id (default), uid, or any custom field
- fallback: id, uid(default), two from n_family, org_name or n_given,
  or any custom field
- some bugfixes
2009-07-09 12:27:42 +00:00
Ralf Becker
ae657f2b26 "handling text/rtf as rtf" 2009-07-07 10:12:31 +00:00
Ralf Becker
fc3cb9a798 - moved detection of implemented mime types for merge print to
(static) addressbook_merge::is_implemented($mimetype,$extension)
- documented syntax for custom fields
- some more mime types
2009-07-04 10:50:19 +00:00
Ralf Becker
48993a04dd "fix for newest Funambol Outlook client: ignoring VOICE in TEL;VOICE;HOME and TEL;VOICE;WORK" 2009-06-29 19:03:43 +00:00
Ralf Becker
e1dbb4688a "fixed not working custom fileds in Insert-in-document feature" 2009-06-29 13:27:13 +00:00
Ralf Becker
bacf86c1a8 Fixed display of birthdays from addressbook on home page:
- dont display year, if calendar config forbidds to display of birthyear
- dont display them at all, if they are forbidden in calendar
2009-06-15 13:48:09 +00:00
Ralf Becker
4f418e8766 "fix for email addressbook popup: going to next page, readds already added email again
--> caused by using old global var in addressbook code, which is now a static var of etemplate object"
2009-06-10 08:55:51 +00:00
Stefan Becker
8058dfdfb1 fixed wrong date format in rtf addressbook template 2009-06-08 19:48:26 +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
6776235671 "fixed wrong order of private column in csv import" 2009-06-04 13:57:16 +00:00
Ralf Becker
af18ea1f7d "fix for bug #2106 - Addressbook warning message when deleting LDAP contact" 2009-06-01 19:13:48 +00:00
Ralf Becker
88d92e78f9 "- fix for bug #2097: Addressbook bug when filemanager is disabled
- fixed not working export limit"
2009-05-30 07:39:58 +00:00
Stefan Becker
613e56e8b7 added Birthday to the Adressbook list as new field 2009-05-29 08:37:47 +00:00
Oscar Manuel Gómez Senovilla
67b0a09c15 update spanish translation 2009-05-15 15:33:15 +00:00