Commit Graph

2147 Commits

Author SHA1 Message Date
Ralf Becker
567e952fba * CardDAV pref which addressbooks to sync and many fixes for iPhone OS 4.0, 4.1, 4.2beta and Mac iCal and contact app
Merge of following commits from Trunk:
r32609: * GroupDAV preference for addressbook-home-set (requires to register hooks)
r32610: missing groupdav hooks
r32611: fixed missing "users" of principal url in calendar-user-address-set
r32615: as the pricipal of current user is influenced by GroupDAV prefs, we have to include them in the etag
r32619: loop over existing addressbooks, to make sure each ab is only once in addressbook-home-set, even when selected multiple times in the prefs because of symbolic ab like "primary group"
r32620: urlencode and decode account_lid in url to cope with group-names with space in it, which stall iPhone OS 4.2 devices
r32621: fixed bug: GroupDAV/CardDAV PUT request to /addressbook/ changes owner, also checking now required ACL for moving contacts between addressbooks
r32622: returning "403 Forbidden" if addressbook_bo->save() fails, happens when writing new entries in ABs without ADD rights
r32623: * iCal on iPhone detects URL now correct
reverted calendar-home-set to report only users calendar, as reporting multiple break propfind
r32624: we need a real redirect, not just a proxy
r32631: fixed working in GroupDAV prefs and translation
2010-10-21 11:17:46 +00:00
Nathan Gray
9f315b6187 * Fix for Addressbook History NOT showing old or new value for some custom fields (Stylite #8230) 2010-10-14 15:53:09 +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
4d22beeb64 Backport 32513 - Add mimetype to export plugin 2010-10-12 22:50:12 +00:00
Nathan Gray
e646cc4f8e Add mimetype to export plugin 2010-10-12 22:48:43 +00:00
Ralf Becker
c973df5693 - 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:05:48 +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
Jörg Lehrke
3f2fee8975 Announce all available addressbooks and calendars of the current user with GroupDAV 2010-10-09 22:36:04 +00:00
Nathan Gray
6d398f191a Backport 32461 - Add wizard for creating export definitions 2010-10-07 23:11:21 +00:00
Nathan Gray
de928b294e Add wizard for creating export definitions 2010-10-07 23:07:02 +00:00
Klaus Leithoff
a272cbd7d0 finnish/suomi translations provided by mkk 2010-10-07 08:14:22 +00:00
Klaus Leithoff
68ce4a81e1 finnish/suomi translations provided by mkk 2010-10-07 08:09:31 +00:00
Klaus Leithoff
90723084fc preserve accountstatus: only write to errorlog if condition is met 2010-10-06 15:42:57 +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
f3bfc6bc19 prevent the change of owner, if the entry to be changed is an account 2010-10-06 15:30:58 +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
9272642663 add a fieldmapping to enable the query for contact_bday 2010-09-30 09:59:59 +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
b5a015bf3a 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 12:00:19 +00:00
Klaus Leithoff
b06c9d2858 ralf requested the id to be located within an column of its own 2010-09-29 11:10:11 +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
Jörg Lehrke
5cebf991b1 Improve Mac OS Addressbook.App CardDAV support as far as reasonable 2010-09-25 14:56:48 +00:00
Ralf Becker
dc94d60c4b * 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:14:28 +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
9e8a9a7ee1 Backport 32264 - Add action to undelete selected addresses. Only visible when viewing deleted addresses. 2010-09-23 21:58:51 +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
4c5a90726e Backport 32261 - 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:51:51 +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
2913219a3c Backport 32252 - Make sure n_fn and n_fileas get updated when importing 2010-09-23 15:40:17 +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
3019c3f385 * 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:37:41 +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
71fa59368b fixed sql error reported on user list 2010-09-20 06:11:51 +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
Jörg Lehrke
7727759510 Fix GroupDAV ctag issues 2010-09-18 11:17:05 +00:00
Ralf Becker
02751f4fd2 fixed addressbook setting check_install for projectmanager (overwriting projectmanger checks) 2010-09-17 17:13:48 +00:00
Ralf Becker
57bf6cf4bf fixed addressbook setting check_install for projectmanager (overwriting projectmanger checks) 2010-09-17 17:12:59 +00:00
Nathan Gray
697c03dd56 Backport 32143 - Make edit popup wider to fix display issues in IE 2010-09-16 21:06:00 +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
8a9e9d63d5 * 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:49:15 +00:00
Ralf Becker
7c3ab93507 further fix for "private contacts got not synced" issue, r31918 was not working, because filter[owner] was an array 2010-09-08 09:49:00 +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
f983b8569a * fixed private contacts not synced
for an owner filter, which is NOT the current user, filter out private entries
2010-09-07 08:28:17 +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
Ralf Becker
21300696eb * updating API version to 1.9.001 and app version to 1.8 2010-09-05 17:57:47 +00:00
Ralf Becker
50c43deec9 updating verson to 1.8 2010-09-05 15:24:34 +00:00
Klaus Leithoff
9216fea675 fix for bug #8178(Stylite) default Addressbook preference is not used, when addressbook-value is not to be copied 2010-09-02 11:35:53 +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
b0cd70aa89 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:58:08 +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
8b635c5bef moved default fields for copying to addressbook_ui::$copy_fields AND using that default also if nothing is configured 2010-08-30 10:21:58 +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
f48ae5ed3e Backport 31809 - Use correct field names for company & department 2010-08-26 14:25:22 +00:00
Nathan Gray
5c2a64c1de Use correct field names for company & department 2010-08-26 14:23:28 +00:00
Nathan Gray
a99ae11549 Backport 31797 - Add site configuration setting for which fields to copy when copying an address. (egw.stylite.de bug #8168) 2010-08-25 16:49:13 +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
Oscar Manuel Gómez Senovilla
2d616fe2bb Tracker #2647 2010-08-25 16:28:08 +00:00
Oscar Manuel Gómez Senovilla
2f0df89b4f Tracker #2703 2010-08-25 16:14:29 +00:00
Nathan Gray
f2913cce54 Backport 31732 - Fix incorrect address count when searching organisations (#8117) 2010-08-19 16:18:41 +00:00
Nathan Gray
dd54552881 Fix incorrect address count when searching organisations (#8117) 2010-08-19 16:15:10 +00:00
Nathan Gray
467302e1e0 Backport 31721 - If deleted addresses are kept, delete links on final purge, not initial delete (#8157) 2010-08-18 14:58:55 +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
da0059c38a quitent debug output if dry-run is set 2010-08-16 14:56:47 +00:00
Ralf Becker
a5b73a08ee quitent debug output if dry-run is set 2010-08-16 14:56:14 +00:00
Ralf Becker
8740eab224 some improvments for easier extention of the contact form 2010-08-01 21:04:04 +00:00
Ralf Becker
b01231a5cf allow to optional specify a database object (to access addressbooks in other databases) 2010-07-30 15:32:48 +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
Nathan Gray
407a2fb2a7 Backport 31538 - Keep CSV fields in definition, so editing definition doesn't require uploading a file each time 2010-07-28 14:18:30 +00:00
Jörg Lehrke
06ba097082 Fix unknown qualifier issue for contact fields 2010-07-27 19:38:01 +00:00
Jörg Lehrke
a07579f56f Fix unknown qualifier issue for contact fields 2010-07-27 19:37:41 +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
Jörg Lehrke
39596007fe Allow moving of existing cantacts between adressbooks 2010-07-23 18:05:59 +00:00
Ralf Becker
90717af7a7 add date parameter to next and last date link, to set correct exception date for recuring events 2010-07-07 10:12:27 +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
92996740a9 Fix FroupDAV report issue 2010-07-02 05:03:51 +00:00
Jörg Lehrke
75b25bb796 Fix FroupDAV report issue 2010-07-02 05:01:15 +00:00
Ralf Becker
c3c4698f3e 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:56 +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
6a34bae5dd Fix category search when category ID is sent as an array in (addressbook advanced search) again 2010-06-29 16:43:49 +00:00
Jörg Lehrke
f57a45e52c Fix Nokia E-Series SyncML addressbook mappings 2010-06-29 14:02:30 +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
Jörg Lehrke
716b9e2b5d Fix CTag issues for GroupDAV 2010-06-29 13:14:29 +00:00
Nathan Gray
5cc3058eda Backport 31157: Make sure criteria is an array before checking for cat_id 2010-06-28 14:12:03 +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
8076c884a7 Backport 31152: - 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:06:36 +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
fa884bcd49 Backport 31143 - Fix category search when category ID is sent as an array in (addressbook advanced search) 2010-06-28 12:37:53 +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