Commit Graph

52 Commits

Author SHA1 Message Date
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
Ralf Becker
47ddd5f714 a fix to get the memcache session handler working with SyncML: the way SyncML/Horde handles the session (calling session_destroy) unloads our custom memcache handler 2007-08-23 10:18:14 +00:00
Cornelius Weiß
909609ebbc backport syncML fixes 2007-07-04 19:14:35 +00:00
Lars Kneschke
495abdd139 fixed handling of too long syncml id's 2007-06-25 08:55:20 +00:00
Lars Kneschke
244097e99c added special handling to better detect funambol clients 2007-06-24 23:52:41 +00:00
Ralf Becker
0f5ccb8c9f php5.2 2007-05-09 08:53:08 +00:00
Carsten Wolff
0214de953e RRULE should not be escaped by this class in egw, because it's generated with ; in it 2007-04-24 09:33:22 +00:00
Lars Kneschke
baf14bae10 make syncml searching in egw-pear too 2007-02-27 06:42:45 +00:00
Lars Kneschke
1ba36a6ca5 Horde::iCalendar vcalendar export bug
Special characters in text field are not scaped when events or todos are exported. For example, ',' in the description field are send literal. According to rfc2445 section 4.3.11 there are some characters which must be scaped or quoted. This patch tries to solved this problem.

patch contributed by Antoni Matamalas
2006-11-13 09:19:01 +00:00
Lars Kneschke
485027f3f1 patch from Christian
this patch fixes the handling of daylight saving
2006-11-13 08:19:23 +00:00
Christian Binder
0f4fee5b3f Horde iCalendar.php::parsevCalendar now accepts ';' AND ',' as field delimiter for EXDATE and FREEBUSY 2006-11-09 09:57:49 +00:00
Lars Kneschke
d999a797d4 made refresh from server working
the new funambol outlook client support this
2006-10-04 18:16:58 +00:00
Lars Kneschke
c2a7644b5e fix logic problem 2006-08-24 11:50:09 +00:00
Lars Kneschke
9fa275421b patch from christian binder
563: set delimiter to ";" instead of ","
2006-08-24 09:47:40 +00:00
Lars Kneschke
be7cca8a44 improved handling of devinfo. Now we check if we have the needed datastore info for every alert. If we don't have them, we request the devinfo.
That's important for the synthesis client, which (can) send different datastore options, depending on the enabled datasources on the client.
2006-08-21 03:46:08 +00:00
Lars Kneschke
40012677d7 don't convert charset 2 times anymore 2006-08-17 03:38:27 +00:00
Lars Kneschke
502f8508ef removed (hopefully) unneeded linebreaks 2006-08-17 03:30:19 +00:00
Lars Kneschke
acec55da41 add info for new caltasks sync source 2006-08-16 03:31:06 +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
072b6966d2 // fix for Nokia Series 60 which seem to send empty data block sometimes 2006-08-15 14:40:34 +00:00
Lars Kneschke
b67d241224 added default type for ./contacts 2006-07-11 18:29:22 +00:00
Lars Kneschke
46b151baa4 improved handling of slowsync and twowaysync 2006-07-09 07:27:23 +00:00
Lars Kneschke
1afe9362af fix for incomplete targetURI
Patch from Franky(liedekef)
2006-06-14 05:38:15 +00:00
Lars Kneschke
e4409c7b0a fixed handling of session url, when behind a proxy 2006-06-08 03:46:18 +00:00
Lars Kneschke
3821544b6d removed port if 80 or 443 2006-06-06 07:05:26 +00:00
Lars Kneschke
fcbe2e5dd5 SyncML fixes 2006-06-01 13:38:37 +00:00
Lars Kneschke
87dcfb1c10 bugifx from jan 2006-05-18 14:21:29 +00:00
Lars Kneschke
73441f3ac3 SyncML fixes 2006-05-17 03:33:50 +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
df7d119bb3 enable funambol calendar sync 2006-04-24 08:25:53 +00:00
Lars Kneschke
1d791acb2f important patch from Jan 2006-04-07 08:54:48 +00:00
Lars Kneschke
ea7b5a8afa various small bugfixes 2006-04-07 08:11:17 +00:00
Lars Kneschke
9c069b1550 added sifcalendar 2006-03-27 23:28:53 +00:00
Lars Kneschke
23df97648d various bugfixes 2006-03-27 23:24:17 +00:00
Lars Kneschke
2362499507 adding a new file 2006-03-21 13:50:34 +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
ea0f776b92 Patch from Jan
It is the simple patch to prevents the segfaulting of horde on ical with
spaces in the begin:vevent etc lines. (just \W\w replaced by \S if I
remember well at one place..)

The second patch is for getting rid of some php5 warnings when it
encounters the array_merge() in setParameter(). (only a simple cast to
an array).
2006-03-11 08:09:12 +00:00
Lars Kneschke
785391f71d patches from JVL and some debug output removed 2006-01-22 17:59:06 +00:00
Lars Kneschke
40586d80db patch from jvl xs4all nl 2006-01-16 11:14:33 +00:00
Lars Kneschke
735dcde161 different SyncML fixes 2006-01-16 09:49:51 +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
Lars Kneschke
6f05e93e26 read debugdir from egw config 2005-12-25 16:41:35 +00:00
Lars Kneschke
916f9994b6 fix charset translation 2005-12-23 12:32:57 +00:00
Lars Kneschke
8d704fe5c0 PHP5 fixes 2005-12-20 17:45:47 +00:00
Lars Kneschke
7dc342e317 removed organizer as required field 2005-07-29 07:31:30 +00:00
Lars Kneschke
bf49d639c6 remove session after successfull sync 2005-07-26 07:27:39 +00:00
Lars Kneschke
ee05cd3a34 fixed handling of ALERT 222 2005-07-26 07:22:58 +00:00
Ralf Becker
83b0801533 commit for Lars: latest SyncML updates 2005-07-20 12:09:32 +00:00