Commit Graph

97 Commits

Author SHA1 Message Date
Jörg Lehrke
3935667813 Add RDATE support to VTIMEZONE parser 2010-02-26 10:58:03 +00:00
Jörg Lehrke
6433df94ec Calendar synchronization backport 2010-02-23 18:35:43 +00:00
Jörg Lehrke
e2f7cd790f Enable proper 'refresh from server' again 2010-02-17 13:28:12 +00:00
Jörg Lehrke
ec4778f6bc Fix newline issue 2010-02-16 15:10:45 +00:00
Jörg Lehrke
e227c3c4c3 address moreData conflict between datastores 2010-02-09 10:48:18 +00:00
Jörg Lehrke
a95b0a16be Fix old formats' folding issue 2010-02-09 10:48:12 +00:00
Jörg Lehrke
cdb9e81f69 Enable SlowSync optimization with old mappings; vCalendar 1.0 folding 2010-02-08 19:50:56 +00:00
Jörg Lehrke
119f79bc8d Update SyncML user preferences immediately 2010-02-07 20:28:03 +00:00
Jörg Lehrke
1f88a89502 Fix empty default domain issue again 2010-02-07 17:53:16 +00:00
Jörg Lehrke
dc0909aa86 Fix empty default domain issue 2010-02-07 17:42:38 +00:00
Jörg Lehrke
2ff7062b22 SyncML Improvements
- Multi-Domain support
- Funambol encoding issues
- various vCalendar flaws fixed
- better pseudo exception handling
2010-02-03 18:35:46 +00:00
Jörg Lehrke
888eb2b3cb Optimized Funambol recognition 2010-01-05 10:14:52 +00:00
Christian Binder
2ac41f2803 backport to 1.6: recognize zero value also as a real value 2010-01-02 13:23:22 +00:00
Jörg Lehrke
a1ee7d5cbf Optimize SyncML performance 2009-12-01 11:21:13 +00:00
Jörg Lehrke
66c566cb71 Optimized SyncML memory footprint; fixes various filter issues 2009-11-29 20:59:52 +00:00
Jörg Lehrke
e91b10b709 Fix RRULE issue with trailing colon 2009-11-25 19:18:34 +00:00
Jörg Lehrke
67bd6b14bd Fix WSP issue in QP paramters 2009-11-25 09:41:58 +00:00
Jörg Lehrke
afd6dd3ef0 Fix empty value issue 2009-11-25 08:52:09 +00:00
Jörg Lehrke
6be4fa193f Improve multi-domain support for SyncML 2009-11-22 18:48:15 +00:00
Jörg Lehrke
e340d34810 Add multi-domain support for SyncML 2009-11-22 17:40:32 +00:00
Jörg Lehrke
024faa2a3c SyncML filter handling improved, code cleanup 2009-11-20 07:42:09 +00:00
Jörg Lehrke
ed326ddc69 Fix Domain Issue (Bug #2367) for SyncML 2009-11-18 18:56:36 +00:00
Jörg Lehrke
707a118184 Fix for 'Enforce Server' during SlowSync 2009-11-17 21:20:55 +00:00
Jörg Lehrke
9a7830b6d7 Add additional datastores 2009-11-17 07:14:50 +00:00
Jörg Lehrke
18ff8a6fa7 Merge SyncML Extensions with 1.6 2009-11-16 08:04:18 +00:00
Klaus Leithoff
c819f15dbc fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich 2009-10-02 09:05:09 +00:00
Ralf Becker
8dcc91a390 typos and missing file 2008-11-16 15:36:37 +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
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
9689e1b822 "fix fatal error in SyncML, reported by Philip Herbert from Knauber" 2008-10-30 06:51:14 +00:00
Ralf Becker
e3efd9ce22 "removed unneccesary cloning of the db object by
- adding the application ('syncml')
- replacing next_record()/f() with fetch()/fetchSingle() or looping over the result object
Thanks to Philip Herbert from Knauber for testing it"
2008-10-29 07:41:02 +00:00
Ralf Becker
2349c28fa8 phpgw --> egw 2008-10-08 18:40:01 +00:00
Ralf Becker
a18f6d1b85 "Fixed problem reported by Uwe on the German list: SyncML is no longer working" 2008-08-19 05:43:57 +00:00
Ralf Becker
96f19c6290 "allways use init_session_handler function (not only for php5.1)" 2008-08-18 13:44:48 +00:00
Ralf Becker
7696e91011 "fix to work around an other php5.1 bug/problem: class methods seem not be able to call session_set_save_handler
It returns false and the session_handler is not changed. It's working in php5.2 (at least on my OpenSUSE 11.0 with php5.2.6)"
2008-08-16 07:58:02 +00:00
Ralf Becker
88827a3f3d using new egw_session::init_handler() 2008-08-07 21:14:00 +00:00
Ralf Becker
49f86c41c3 PHPGW_SERVER_ROOT/phpgwapi/inc --> EGW_API_INC 2008-08-04 10:59:06 +00:00
Klaus Leithoff
cb8cd0f3e6 when having multiple lines descriptions in contacts or calendar, these are not correctly encoded in vcard.
The problem seems to be line [784] of trunk/phpgwapi/inc/horde/Horde/iCalendar.php
$value = str_replace($this->_newline, '\n', $value);
When removing this line, the description value is correct on the client.

I could not find any sideffects during my tests, if some clients have
problems with this, I assume this would then have to be fixed at a higher
level, because the current state with this line just causes broken output.

From wikipedia regarding Linebreaks in QuotedPrintable:
If the data being encoded contains meaningful line breaks, they must be encoded as an ASCII CR LF sequence, not as their original byte values

Vcard extract without the reported line code:
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Desc 1=0D=0ADesk 2=0D=0A=0D=0A

Vcard extract with the reported line of code
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Desc 1\nDesk 2\n\n

pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:42:19 +00:00
Klaus Leithoff
16cb2097fc Some Devices (Nokia S60) ignore the entire vcard, if the vcard contains
formal error.

This breaks sync for single contacts from egw to client.
example: photo in addressbook without blank line after the property value.
This way the devices are not compliant with RFC2426 (Vcard Version 3)
5. Differences From vCard v2.1
[...]
. Inline binary content must be "B" encoded and folded. A blank
line after the encoded binary content is no longer required.
[...]
This was pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:18:49 +00:00
Ralf Becker
9374ade6f5 "reverted SyncML part of my NTLM commit from yesterday, as it breaks SyncML: session::verify() is necessary to restore the eGW session (it's NOT used to verify the session)" 2008-07-17 05:51:46 +00:00
Ralf Becker
b5c28fba48 1. NTLM Single Sign ON
NTLM SSO removes Windows users on a PC, which is a member of a Windows
domain and who are logged into that domain, from the need to explicitly log
into eGW.  They simply point IE to the eGW URL (eg. http://domain.com/egroupware/)
and start working. They can of cause explicitly log out and log in as an
other user.
For more information look at the README at
http://www.egroupware.org/viewvc/trunk/phpgwapi/ntml/README

2. different authentication for SyncML and/or GroupDAV
You can now use eg. an external auth provider for the login via the
WebGUI (eg. ADS) and the passwords stored in SQL for SyncML.
2008-07-16 09:29:13 +00:00
Ralf Becker
4296d0c31f dont avoid empty fields, as some are required by vCard, eg. FN 2008-07-04 11:22:25 +00:00
Ralf Becker
bb08afcc9f "API change caused already-obsoleted call to sessions_::create() to fail.
Thanks to Peter Goerzen <pgoerzen(at)hustlerturf.com>"
2008-05-31 05:47:26 +00:00
Ralf Becker
6d274a7aca "switching of error_log in _parseDateTime()" 2008-05-10 19:00:31 +00:00
Ralf Becker
d570952210 "fixed syntax error, missing colons, thanks to pgoerzen-at-hustlerturf.com" 2007-12-20 20:59:22 +00:00
Ralf Becker
12498d655f "fixed syntax error, missing colons, thanks to pgoerzen-at-hustlerturf.com" 2007-12-20 20:56:56 +00:00
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
Ralf Becker
e75db01b3c "tiny patch from Andreas Feldner <pelzi-at-flying-snail.de>, allowing for passwords containing a colon" 2007-12-01 01:02:05 +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
d8598d36a7 "removed double assignment" 2007-10-12 16:11:35 +00:00