Commit Graph

899 Commits

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