Commit Graph

15 Commits

Author SHA1 Message Date
Patrick Bihan-Faou
95eeded398 Make the detection of the device types a little smarter and able to use
out-of-band data such as the HTTP user agent.

Use that to determine weither message fragmentation should be used or not.

Indicate that Funambol 6+ supports fragmentation (this solves cases where
big addressbooks cannot be syncrhonized because there are too many entries).
2007-12-19 07:45:36 +00:00
Patrick Bihan-Faou
65d3ecaa5b Fix the synml fragmentation support problem detected on some phones
such as the Nokia E61.
This affected most phones/devices that use SyncML with the vcard/vcalendar
format.

Fix from Christoph Kaulich, thanks.
2007-11-19 11:16:24 +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
Lars Kneschke
495abdd139 fixed handling of too long syncml id's 2007-06-25 08:55:20 +00:00
Lars Kneschke
45200da684 various syncml fixes
- when doing slowsync we don't update the entries anymore. we just add the needed mapping to the database.
- improved handing of deviceinfo
2006-08-15 14:42:13 +00:00
Lars Kneschke
b67d241224 added default type for ./contacts 2006-07-11 18:29:22 +00:00
Lars Kneschke
955f766a19 some minor fixes to make funambol happy 2006-04-28 05:44:43 +00:00
Lars Kneschke
2bbcde1238 add default contenttype for sifcalendar 2006-04-24 09:23:02 +00:00
Lars Kneschke
ea7b5a8afa various small bugfixes 2006-04-07 08:11:17 +00:00
Lars Kneschke
23df97648d various bugfixes 2006-03-27 23:24:17 +00:00
Lars Kneschke
2dedbf0f7c support for slowsync with search
added real working state machine
SyncML conformance improvment
2006-03-21 13:49:13 +00:00
Lars Kneschke
08d3e484dc final syncml fixes 2006-01-14 08:29:23 +00:00
Lars Kneschke
fce1d83932 updated WBXML code to work without external binary
many thanks to the horde project for writing very good code!!
2006-01-11 05:42:07 +00:00
Ralf Becker
83b0801533 commit for Lars: latest SyncML updates 2005-07-20 12:09:32 +00:00
Lars Kneschke
d43bf7d44f first commit of syncml code 2005-06-19 19:00:58 +00:00