Commit Graph

1012 Commits

Author SHA1 Message Date
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