Commit Graph

1416 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ralf Becker
e8b8d2859b "- opening popup centered
- using static egw::link()"
2009-05-14 17:11:17 +00:00
Ralf Becker
0220e3a99a - added filemanager icon to index
- named tabs in edit 'tabs'
2009-05-11 06:47:38 +00:00
Ralf Becker
4634465bb8 addressbook maintenance: set full name and file as in contacts of all
users
2009-05-09 07:58:16 +00:00
Ralf Becker
c84a6fd78a "- search($criterial,...) was removing critera with numerical key 0
- pending postgres bugfix (got no feedback from list)"
2009-05-09 07:57:25 +00:00
Ralf Becker
eb7e801074 - moved get_addressbooks method from ui to bo
- fixed not removed '()' if org-name is empty
2009-05-02 09:37:19 +00:00
Ralf Becker
b72236a663 allow "settings" hook to return the settings, instead of passing it via a global variable (depricated now) 2009-04-29 06:26:04 +00:00
Klaus Leithoff
e1e09203ed njv: addressbook/groupdav work to improve groupdav compatibility 2009-04-02 12:31:44 +00:00
Klaus Leithoff
c0baa83dbe read_calendar should return an array, as it is expected, and described in the functions description 2009-04-01 10:59:56 +00:00
Klaus Leithoff
432798715a fixing a problem with non numeric contact ids, while retrieving the distributionlist (reported by Benoit LORAND) 2009-03-18 09:31:11 +00:00
Klaus Leithoff
81a8b7dda9 making view typesafe, hardening view against sql-injection 2009-03-16 13:08:33 +00:00
Klaus Leithoff
9ba0957ba5 improving speed for the retrieval ov the distributionlists 2009-03-12 09:06:10 +00:00
Ralf Becker
cfcbdc93f4 "query account_lid (via accounts::id2name) only if it's not already in the data
without that accounts_sql::get_list without limit requires quite a lot more time and memory"
2009-03-02 11:40:28 +00:00
Ralf Becker
5e2ff3b54f "fixed SQL error introduced by r26581:
Column 'account_id' in where clause is ambiguous
--> happens if account-repository is in ldap"
2009-02-27 08:47:10 +00:00
Ralf Becker
9083041e37 "show only active account in the addressbook (only for sql account repository)" 2009-02-26 14:58:55 +00:00
Stefan Becker
5c948f5d5d "Addressbook is now able to print more than one Adresslables into a page. This is needed to print out Addreslables for a mailing.
New Tags $$label$$ and $$labelplacement$$ added.
Also possible to print out the County name, if it is not your own contry.
I will add a exsample to EGroupware demo page.
This is sponsored by Deutsche Kinemathek – Museum für Film und Fernsehen.

"
2009-02-22 12:24:24 +00:00
Ralf Becker
7441773280 "fixed error in docu (no real need to backport to 1.6)" 2009-02-16 08:00:40 +00:00
Klaus Leithoff
687f6b0a16 fixed bug with the multiple category adding (no category select dialog appeared) 2008-11-28 12:24:02 +00:00
Ralf Becker
6164f3f1e8 "fixed missing argument for $$creaed$$ and $$modified$$ placeholders, reported on the German list" 2008-11-21 09:25:16 +00:00
Ralf Becker
1baa158195 Big SyncML patch from Philip Herbert <pherbert(at)knauber.de>:
- change the processing of slowsync, to use the content_map instead of
  trying to build a new one. This caused duplication issues on the
  client if multiple similar records where stored, because only the first
  one found in the server-db was matched, These duplicate entries at client
  side had no entry at serverside, so deleting the wrong one
  on the client (the content with a valid map entry) could cause
  unwanted data loss at server side, because it is impossible for the
  user to see what is a duplicate, and what is not.

see also: 
http://www.nabble.com/again---syncml-duplication-issue-to20333619s3741.html

- reenabled UID from syncml clients, because it was partly used this caused
  issues during SlowSync if the content was changed. 

- infolog, calendar if a uid is found in the provided data, allway try to
  find the corresponding content first   using only the UID, instead of
  using the content-id taken from content_map.

also fixed:

- a few fixes in ./notes
- creating an entry on the client that can not be imported,
  (Example, Nokia E Series Appointment without a Title)
  will no longer create an invalid content-map entry
  However, at client side this is still counted in the Protocol as
  Server-Add
2008-11-16 10:42:29 +00:00
Ralf Becker
bf3c88731d "curly brackets are depricated in php6" 2008-11-12 18:05:19 +00:00
Ralf Becker
f2b50bdf8b "fix for bug #1805: SQL error when searching mail addresses from fmail
Integer column etag was search with ILIKE '%@%' which is not allowed in Postgres, as theres no ILIKE operator for Integer"
2008-11-12 17:53:58 +00:00
Ralf Becker
d28f6f672c - fixed url recreation for links (use ? for get-params, if no ? in the
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
  from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Ralf Becker
5e0cbfb49e "fix for bug #1355: Addressbook view does not display link if an url didn't start with http:// or www" 2008-11-08 09:09:40 +00:00
Ralf Becker
43f860ba8f Reworked GroupDAV and iCal/vCard handler to set 'GroupDAV' as product
manufacturer and the recogniced GroupDAV client as product name.
This way we are able to handle different GroupDAV clients, as we
allready do with different SyncML clients.
Also removed the no longer needed code enabling the use of the real UID, 
as SyncML does no longer misuse the UID for it's GUID.
2008-11-03 09:36:20 +00:00
Ralf Becker
71edd1c938 Big patch from Philip Herbert (Knauber) modifying the SyncML code to no
longer use GUIDs containing eGW's install_id, as the information is
irrellevant for SyncML and cause doublications of entries if the
install_id changes.
I plan to have a new rc4 Wednesday or Thursday containing these changes.
2008-11-03 07:44:02 +00:00
Ralf Becker
f22de2cc36 "get_rows should use all (readable) distribution lists, not only the ones the user has edit right for, thanks to Lluis Faja for noticing" 2008-11-02 07:10:40 +00:00
Ralf Becker
00065b8247 fixed multiple bugs with addressbook types:
- bug #1772: custom fields for single addressbook types show in all
- removed template warning, if no template was selected
- showing type icon if available
- added "all" to type selection
- removed some weird doublicate code
2008-10-20 19:35:18 +00:00
Ralf Becker
1709fdf2ae fix for bug #1715: Create infolog for several addresses fails
This was caused by the (only) clientside code, which could not evaluate
the whole query. It's now done on serverside, thought there's still a
limit of the number of id's transfered in the url.
2008-10-20 09:51:38 +00:00
Ralf Becker
01a3800b27 "removed all special handling for SOGo connector, as it is no longer required from version 0.9pre14 on.
Thanks to Ludovic Marcotte from Inverse."
2008-10-16 19:51:29 +00:00
Ralf Becker
273bd722e2 fix for bug #1739: config for CSV export for non-admins is not working.
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
  non-admins
- addressbook has it's own value, but uses now the global one, if no
  addressbook specific limit is set
2008-10-16 11:17:49 +00:00
Ralf Becker
db52734dd1 default format for fileas 2008-10-10 11:25:35 +00:00
Ralf Becker
90dbfd6a37 "addressbook part of Regis patch" 2008-10-10 10:55:52 +00:00
Ralf Becker
5131bdeee3 "removed n_files from search() as it causes doublicates, because the clients (eg. outlook) have different fileas options" 2008-10-10 06:28:58 +00:00
Ralf Becker
29af6786d1 "fixed not working delete for contacts in ldap, as reported by Bernhard D Rohrer on the English user list" 2008-10-08 15:28:37 +00:00
Ralf Becker
2c1eec5832 uiinfolog --> infolog_ui 2008-10-07 13:04:49 +00:00
Ralf Becker
b4540c337c "removed unnecessary include" 2008-10-07 12:24:15 +00:00
Ralf Becker
338f3f246f file_access hook for attachments 2008-10-07 09:05:48 +00:00
Klaus Leithoff
b459070ab3 addressbook::groupdav: fixing a bug regarding the retrieval of addressbook entrys with groupdav, (occurring when accounts stored in ldap and
addresses in sql, and the entry in question is retrieved via uid (as it is possible to retrieve a contact by bassing on an array as contact_id))
2008-10-06 09:24:42 +00:00
Ralf Becker
d25b648258 "feature request from Frank Becker, make AND the first and theirefore default option in extended search" 2008-10-05 06:16:13 +00:00
Klaus Leithoff
8d9f3eb858 addressbook_contactform: handle the submit, if verification math is done wrong. 2008-09-12 11:14:04 +00:00
Ralf Becker
043fda48a4 "check for fileuploads and attach the found files" 2008-09-11 14:34:44 +00:00
Ralf Becker
f755c12365 "fixed problem reported on the german list: copied address contains the original uid" 2008-09-11 10:48:13 +00:00
Ralf Becker
e3b9117d4f "Patch from Phillip Herbert from Knauber to support Nokia e51, e90, 9300 and funambol iphone" 2008-09-03 17:09:17 +00:00
Klaus Leithoff
e5f1bc9a24 bugfix for missing search/cancel buttons in advanced search dialog 2008-08-26 10:40:20 +00:00
Ralf Becker
48c7fae782 "fixed bug reported by Phillip Herbert on the user list: addressbook view >> more phone numbers does NOT show the fax number" 2008-08-25 13:49:32 +00:00
Ralf Becker
8a9bf481f5 "fixed problem reported by Phillip Herbert on the devel-list: Mass move to private addressbook does not work" 2008-08-13 06:18:03 +00:00
Ralf Becker
b491fe8312 "fixed not working letter-search filter if DB is postgres, thanks to Larquère Laurent <llarquere(at)aacom.fr>" 2008-08-12 13:06:51 +00:00
Klaus Leithoff
68ba92e1b9 Some clients do not use uppercase charaters to name PRIVATE/PUBLIC class.
To be more fault tolerant change line 687 of trunk/addressbook/inc/class.addressbook_vcal.inc.php
this was pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:24:34 +00:00
Nathan Gray
5a9550ef31 Accept an integer parameter, as specified in function documentation. Used to throw an invalid argument warning. 2008-07-10 20:22:58 +00:00
Ralf Becker
d3ecff4dd1 "fixed typo reported by Phillip Herbert <philip-at-knauber.de>, causing german umlauts and other non-ascii chars to be handeled wrong for eg. the e90 or kde addressbook" 2008-07-07 07:27:56 +00:00
Stefan Becker
5f87546421 "fixed is not array warning in addressbook display block" 2008-07-03 08:03:23 +00:00
Ralf Becker
7ae3cc0dda suppress unnecessary update of uid (which overwrites an existing uid with the eGW default uid), happend for existing entries, if the uid was not given in the update, also removed etag increment, as so_sql::update does not longer call our save method 2008-07-02 15:28:52 +00:00
Ralf Becker
4bca7982d6 moved rest of the addressbook group-acl code to addressbook 2008-06-30 16:46:01 +00:00
Ralf Becker
0e58c00b98 use new hook facility to register for group acl 2008-06-27 10:04:05 +00:00
Stefan Becker
40c143c843 "Patch for negate the seaching in custom fields, starting with \"!\" " 2008-06-18 10:12:11 +00:00
Stefan Becker
4167181289 "Patch for changing customfields in organisations, whan updating every member in the organisation" 2008-06-12 17:40:19 +00:00
Stefan Becker
968be31df1 "Patch for changing a empty org field, when changing all fields for all members of organisations" 2008-06-12 14:28:25 +00:00
Ralf Becker
c350dddc9b using the new url, email, phone widget 2008-06-11 07:17:30 +00:00
Klaus Leithoff
2c33afe51b fix regarding the renaming of the calendar classes 2008-06-09 12:32:15 +00:00
Ralf Becker
c618dad433 no extra charset attributes in iCal for GroupDAV/CalDAV 2008-06-07 18:00:29 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +00:00
Ralf Becker
28654c560e include next and last date in csv export and use same fields for nextmatch csv export 2008-06-05 12:04:00 +00:00
Ralf Becker
7b6e3be922 "upps forget to rename the class itself: fixed bug in csv export (class addressbook_csv not found)" 2008-05-23 05:56:40 +00:00
Ralf Becker
1580ece9b7 "addressbook.so_ldap --> addressbook.addressbook_ldap" 2008-05-23 05:48:05 +00:00
Ralf Becker
2a88bd0fab "addressbook.csv_export --> addressbook_csv, thank to Christoph Kaulich for the report" 2008-05-21 07:44:41 +00:00
Ralf Becker
6abf7b87b0 "fixed concatination of rtf files" 2008-05-20 19:23:51 +00:00
Ralf Becker
1ac7a8535b "fixed 2 problems:
- new entry were not handled correct after the last commits (201 Created and Loaction header)
- cadaver reports entires as not found, because modified and contentlength were not set"
2008-05-20 09:02:16 +00:00
Ralf Becker
9f30e824b0 enforce a certain strength of uid, as some clients set quite weak ones) 2008-05-20 04:59:26 +00:00
Ralf Becker
01407a4e38 "fixed renamed addressbook_vcal, as reported by <kaulich(at)gns-mbh.com> on the devel list" 2008-05-19 11:51:21 +00:00
Ralf Becker
ee7b0643bd "dont send accounts via GroupDAV/CardDAV, if user choose in his prefs to hide the accounts" 2008-05-19 08:01:28 +00:00
Ralf Becker
0d60e6f245 "checking for different cases in the object class, as suggested by Nigel Kukard <nkukard(at)lbsd.net> at the devel list" 2008-05-19 05:34:11 +00:00
Ralf Becker
499ac36bff "- fixed charset for Thunderbird/SOGo connector
- using uid as filename to improve the support of newer SOGo connectors (>= 0.62), which require the server to remember the path they used to store a new contact
--> still not working reliable and causes TB to lock up
--> recommended is still version 0.62 of the SOGo connector "
2008-05-17 13:11:46 +00:00
Ralf Becker
b69b8085e6 Fixed some problems with the etag handling, causing an SQL error on
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
fd5b231760 "added missing uid attribute (for file / all and kde)" 2008-05-10 21:01:53 +00:00
Ralf Becker
7a2e1a66e2 renamed addressbook classes to use autoloading, was just a test to get
an idea about the effort - not sure I want to do that with all apps ;-)
2008-05-10 12:02:49 +00:00
Ralf Becker
d2e9143213 First version of new CalDav/CardDAV/GroupDAV access for calendar and
addressbook (infolog will follow).
CalDAV is tested so far with lightning 0.8 and Apple's iCal. Please note
that both distinguish between iCalServer and CalDAV!
The URL is currently http://domain.com/egroupware/groupdav.php/calendar/
2008-05-08 20:31:32 +00:00
Ralf Becker
9d7e48fcaa use a cn given+family name, instead of link title for contacts 2008-05-08 20:19:20 +00:00
Klaus Leithoff
641817662b enable roles in main addressbook list view 2008-05-07 14:13:34 +00:00
Ralf Becker
eef92b5785 Migration LDAP --> SQL 2008-05-07 13:13:23 +00:00
Ralf Becker
0c586d9ff0 bot-safer contact form 2008-05-07 13:12:33 +00:00
Ralf Becker
84a9f87127 "- setting ldapLimit to 2000, which is the default of slapd
- returning personal entries as personal (and not private)"
2008-05-07 13:08:58 +00:00
Ralf Becker
ec3327010c optional check etag/optimistic lock on delete too 2008-05-06 19:58:15 +00:00
Ralf Becker
2f4a67094e add missing (not used) parameters, creating warnings in error_log 2008-04-26 08:47:26 +00:00
Ralf Becker
69d7ee916d small fix for the etag & uid handling of new entries 2008-04-26 08:46:44 +00:00
Ralf Becker
86368a1903 uid and etag (optimistic locking) for addressbook 2008-04-25 19:06:15 +00:00
Ralf Becker
684d6551f2 using static methods for the hooks (you need to update addressbook or call Admin >> Register hooks!) 2008-04-25 18:59:00 +00:00
Stefan Becker
69ac5df990 Add to create a new Infolog directly from the Addressbook with multiple
Addresses als Links
2008-04-23 08:22:22 +00:00
Ralf Becker
3ef9def241 using iso-8859-1 for talking to SoGo Connector (0.61 works) via GroupDAV 2008-04-22 08:55:18 +00:00
Ralf Becker
1113f2ec1c "spelling" 2008-04-22 06:09:02 +00:00
Ralf Becker
c2c2c390ce "fixed bug reported by Peter Goerzen and Nathan: deleting a contact from view gives error, even if the contact get's successful delete" 2008-04-22 06:08:01 +00:00
Nathan Gray
72cbfd4083 Fixed misplaced bracket causing forced default addressbook preference to be re-set to the current user 2008-04-21 16:11:59 +00:00
Ralf Becker
92f16b2d7e "fixed warning if there's no col-selection yet" 2008-04-18 06:10:31 +00:00
Stefan Becker
a879dd4055 "avoid $$fields in RTF Dodument instead of emty values" 2008-04-17 09:17:56 +00:00
Ralf Becker
da4a19b7dc fixed GroupDAV "charset prob" (non-ascii did show up wrong in KAddressbook) and handling of jpeg photo
I hope that works well for SyncML too
2008-04-16 16:05:48 +00:00
Ralf Becker
09cdf3efe1 "fixed photo handling as suggested by tolux <5408w1h2dkm3c7r(at)bodhi.lawlita.com> on the developer list" 2008-04-16 04:37:05 +00:00
Ralf Becker
f3387a7c1f modified addressbook templates to use new vfs, it uses now templates in sub-dirs of the template dir too 2008-04-15 10:28:45 +00:00
Stefan Becker
78d7f5c550 Patch to use IF Statements in RTF-Documents Example "$$IF
n_prefix~Mr~Hello Mr.~Hello Ms.$$" - search the field "n_prefix", for
"Mr", if found, write Hello Mr., else write Hello Ms.
2008-04-15 08:26:50 +00:00
Stefan Becker
a900cf91a7 fixed small Bug in the serial letter function 2008-04-11 12:35:58 +00:00
Stefan Becker
6b3c511524 Add an new feature to the addressbook. Put your Pagecontent/letter
between two Tag of $$pagerepeat$$. After selecting more than one
contact, you will recive an RTF File with one Contact on each page.
This is a possibility to print serial letters.
2008-04-09 14:59:55 +00:00
Klaus Leithoff
6d36d46e90 another bug: if we dont order by cf's we dont need to extend the customfields by its tablename 2008-04-07 10:02:01 +00:00
Klaus Leithoff
8057d8b368 forgot the debug, and fixed a bug in advanced search regarding customfields, if you sort by a customfield 2008-04-07 09:47:01 +00:00
Klaus Leithoff
777ef7f4f7 fix for a sql error while searching and sort by customfield 2008-04-07 09:29:19 +00:00
Ralf Becker
f490000771 "hide delete button for not stored entries, gives an error" 2008-04-04 08:14:30 +00:00
Ralf Becker
b5d3888f74 "- allow more then one cf filter, gave sql error before
- allow to combine lettersearch with cf filter, gave sql error before"
2008-04-02 08:42:28 +00:00
Ralf Becker
db8b9cc428 "query and display only selected cfs" 2008-04-02 08:24:52 +00:00
Ralf Becker
5825fb3b9a "fixed typo causing cf's not to be displayed" 2008-04-02 08:24:27 +00:00
Ralf Becker
400a5bd48d "fixed error reported on the german list, happens when contacts are stored in ldap (no distribution lists)" 2008-03-31 05:40:53 +00:00
Ralf Becker
b0da799ee7 fixed sql error reported by Uwe Redecker on the German list and got cfs as orga fields working (including multiselections) 2008-03-30 08:53:40 +00:00
Patrick Bihan-Faou
2b1ee9c0ef Recognize 'nexthaus corp' just like 'nexthaus corporation' for blackberry users.
Fixes tracker #1478, thanks for the patch.
2008-03-27 07:50:35 +00:00
Ralf Becker
f9abc6fa2a removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 15:25:01 +00:00
Ralf Becker
d155e3b5cd "fixed PHP Fatal error: Cannot assign by reference to overloaded object" 2008-03-25 10:01:29 +00:00
Ralf Becker
f562ea44f3 removed unnecessary instanciations 2008-03-21 20:57:01 +00:00
Ralf Becker
69643ecb73 using global db object 2008-03-21 20:56:50 +00:00
Ralf Becker
f57f6a805b "using global db object" 2008-03-13 20:18:52 +00:00
Stefan Becker
889960567e my first commit: add or delete an categorie to the addresbokk entry. In a popup window, you can select, the categories zu want to modify. You can select more than one addresses. 2008-03-10 16:33:17 +00:00
Klaus Leithoff
2ec1a77daf attempt to fix the problem with the stick org_view problem in addressbook. col_filter is not reseted if org_view criteria is set to all. 2008-03-10 12:15:47 +00:00
Klaus Leithoff
123777682e to be able to do the contains feature of adv-search we split the value and search for each part individually
we do that only if the advanced search is set to contains (wildcard is set)
2008-03-10 10:08:27 +00:00
Ralf Becker
7e9c82ce64 "Fix to never store private accounts, as they are always public (seems to be still the case for SyncML) " 2008-03-10 07:00:32 +00:00
Ralf Becker
f9315dc39c reworked for new link-class and added titles method 2008-03-08 22:45:01 +00:00
Klaus Leithoff
2bb4fd1df1 fixed a problem regarding search in extra fields for addressbook when using the advanced search dialog 2008-03-05 11:41:40 +00:00
Ralf Becker
db165536e1 configurable fields belonging to our (virtual) organisations, patch from Stefan Becker 2008-03-05 10:31:26 +00:00
Ralf Becker
9887c58b4d fixed not working ldap connection using php4-restore session-mode 2008-03-02 13:13:23 +00:00
Ralf Becker
e9003d58f2 fixed not working ldap connection using php4-restore session-mode 2008-03-02 13:11:01 +00:00
Klaus Leithoff
594fa7df4b Feature to display a list of addresses from a given adressbook within the sitemanager
you may choose all addressbooks (which the Sitemanager user is allowed to see). 
NOTE the anonymous user, respectively the user you assigned for
anonymous access must have sufficient rights for the addressbook(s) to be shown.
This is provided by Stefan Becker

Bugfix for broken Move2Adressbook callback
2008-02-21 11:54:22 +00:00
Ralf Becker
9aa040bec2 "fixed not working last event" 2008-02-15 02:17:47 +00:00
Ralf Becker
7c5b6c94d6 "removing replacements for empty cf's (finally)" 2008-02-15 01:36:58 +00:00
Ralf Becker
722903656b missing commit for contacts colored by category in the link search 2008-02-15 01:36:43 +00:00
Klaus Leithoff
54e606e2a0 after trouble with the advanced search in connection with the distributionlist tab in addressbook, some modifications that should fix the problem. 2008-02-13 13:40:57 +00:00
Lars Kneschke
bec1c05070 disabled not working code 2008-02-08 11:14:47 +00:00
Ralf Becker
9eaa3efb75 - $$calendar/-1/...$$ for data of the last event
- showing a category path (full cat hierarchy), if category tree is configured
- deleting placeholders of empty (not-stored) custom fields
2008-02-07 02:45:48 +00:00
Klaus Leithoff
55eb8ece48 adding the feature of viewing the distributionlists of a contact in list and singleview
enabling longer orgnames and emailaddresses
2008-01-31 12:52:43 +00:00
Klaus Leithoff
0ca42fe9ac fixed a bug in addressbook regarding the adding of adresses to the adressbook configured in preferences 2008-01-25 12:57:13 +00:00
Ralf Becker
9d15b05a4f - private cf's only visible to certain user or groups
- configurable extra tab for the private cf's
- cf's displayed in the list are now configurable like in InfoLog via
  the column-selection
- row color of the list get's now set by category, if cats have colors
  defined (first match for multiple cats)
- fax is now allways direct visible in list and edit
2008-01-19 05:41:04 +00:00
Ralf Becker
9eb50fff4a fixed bug reported on the users list: if admin forced or set a default of 'personal' for the default addressbook where new accounts should be created, it prevents eg. syncml to create the contact, as it's the admins personal addressbook, to whom no user user has access, thanks to pgoerzen-at-hustlerturf.com 2007-12-14 23:20:18 +00:00
Patrick Bihan-Faou
d97f1eed5e Extend the patch to get_categories in infolog submitted by matthias to the other classes as well.
Added a hack that allows one to search for the categories' names prefixed by X-
Sony Ericsson phones (and possibly others) systematically prepend a X- to the 
category names, so with this patch we match X-CatName just like CatName

This is only done for SyncML obviously.
2007-12-11 09:29:50 +00:00
Ralf Becker
e522141b42 "using the labels of selectbox-customfields instead of the values in notifications" 2007-12-07 08:14:50 +00:00
Ralf Becker
3bcc3ee251 "fixed typo causing only sending the mail without storing in an addressbook to fail" 2007-12-07 07:49:00 +00:00
Patrick Bihan-Faou
1e7fa3983a Provide proper vcard profile for syncevolution
Patch provided by Ioannou Ioannis (patch # 1230)
2007-12-03 10:21:50 +00:00
Ralf Becker
3bbc80948f "removed unused code reported by Oliver Welter on the user list" 2007-11-24 16:13:57 +00:00
Ralf Becker
5428f8d941 "allow admins to import contacts with creator / created date set" 2007-11-23 17:19:38 +00:00
Klaus Leithoff
006400768d bugfix: if you have custom addressbook types defined, the custom addressbook type selection within the listview will work now. 2007-11-23 08:32:08 +00:00
Ralf Becker
cffa8b9aeb "patch from Nigel Vickers from Stylite, to fix doublicate contacts and missing fields issues with the Synthesis Standard edtion for Windows Mobile/Pocket PC" 2007-11-10 08:07:44 +00:00
Christian Binder
875fe14219 some improvements when selecting a distribution list in mail: -users can switch between email and email_home (the default behaviour can be set via user-prefs), -auto-fallback to email_home if email not present and vice versa 2007-11-06 15:45:40 +00:00
Cornelius Weiß
1509ae821e add mendatory fields again which got lost by the patches of Patrick Bihan-Faou 2007-10-31 21:17:40 +00:00
Ralf Becker
ba380b7540 fixed a few small bugs in the contactform: verification can be turned off now, 2. customfiled is now disable if not set, email-address verification allows for "-" in the mail part 2007-10-31 11:13:28 +00:00
Ralf Becker
cf69bfd0a9 1) added missing fields to defaultEntries[1]: TEL;CELL;HOME, TEL;FAX;HOME, URL;HOME, FBURL (not sure if they are understood by nexthaus, but the definitly belong to the all fields entry)
2) added minimal vCard3 support required by thunderbird GroupDAV plugin: eg. ADR;TYPE=work instead of ADR;WORK
2007-10-25 06:26:50 +00:00
Ralf Becker
e1dec0fc76 fixed not shown list of replacement, if language is english 2007-10-19 09:47:06 +00:00
Ralf Becker
5174804b39 added last and next date to edit & view too 2007-10-19 08:34:47 +00:00
Ralf Becker
cd266aba21 "Patch #1077 from Di Guest:
- allow  to unset/remove all cats from Outlook
- wrong private value (missing bracket in cast)
- unsetting n_fileas in (slow sync) search as it causes doublicates
--> I guess there are other fields having the same problem (RalfBecker)"
2007-10-12 05:38:48 +00:00
Ralf Becker
74c9b0ccb7 fix prevent deleting of accounts via SyncML and to read private flag from the DB if missing 2007-10-11 06:24:57 +00:00
Ralf Becker
7b6a1013fc SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
  direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
  other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 10:29:48 +00:00