Commit graph

52 commits

Author SHA1 Message Date
Patrick Ohly 0b4b041b02 now also handles calendar comparison
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@70 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 09:37:43 +00:00
Patrick Ohly 25a8b956c4 added some support for inserting already existing item
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@69 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:36:22 +00:00
Patrick Ohly 8ec0b8301d instantiate test for calendar
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@68 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:30:34 +00:00
Patrick Ohly 4587315a07 added some support for inserting already existing item
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@67 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-14 11:30:08 +00:00
Patrick Ohly 8327d850aa refactored code so that test suites can be built from the base template TestEvolution class:
currently defined are ContactSource (local tests) and ContactSync (synchronization with server), tests work exactly as before


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@65 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-12 21:03:37 +00:00
Patrick Ohly 8848551ead text/x-vcard is more suitable for vcard 2.1
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@64 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-12 21:01:40 +00:00
Patrick Ohly a1bc304bc5 made sleep configurable (off by default), synchronize only one source
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@63 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-09 21:56:03 +00:00
Patrick Ohly 6acd0891b1 - added support for calendars and tasks: not yet tested automatically
but manual tests show that it works in principle, albeit with some
  loss of attributes in the server for calendars (time zone)
- removed "disabled" configuration option, use "sync = none" instead
- added selection of databases to synchronize via additional command
  line parameters

Source:
- Refactored code so that EvolutionSyncSource contains the client-library
  facing code and commong logging/error handling. EvolutionContactSource
  and EvolutionCalendarSource (for both calendars and tasks) can now
  indicate errors via exceptions in all functions.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@62 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-09 11:48:11 +00:00
Patrick Ohly 07f43e8444 adapted to head revision of Sync4j C++ client library
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@61 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-06 17:02:43 +00:00
Patrick Ohly 345c9670eb testVCard.vcf was missing in source distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@60 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-06 17:01:46 +00:00
Patrick Ohly e184458e60 fix for #304805: testing return code of SyncClient::beginSync()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@59 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-26 17:17:06 +00:00
Patrick Ohly 12b98e85c4 - implemented automatic backups, logging and database comparison
- prepared 0.2 release


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@57 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 21:37:30 +00:00
Patrick Ohly 11e4fff4a7 set TYPE=OTHER also for EMAIL if no other type found
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@56 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 09:55:40 +00:00
Patrick Ohly 0fa42ff503 ignore some more irrelevant vcard differences (TYPE=PREF, extra separators)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@55 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 09:54:53 +00:00
Patrick Ohly da40703654 when using quoted-printable, also encode non-ASCII for consistency
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@54 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-19 09:53:30 +00:00
Patrick Ohly 067e8fc973 make full copy of client lib C++ sources,
added src/client-api-diff target to compare against original sources


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@53 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 18:07:48 +00:00
Patrick Ohly d273c5f5bd changes for SyncEvolution not in Funambol CVS since sdkcpp_3_0_6a
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@52 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 18:06:40 +00:00
Patrick Ohly 866ed69e73 reset stdout/stderr before printing final result
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@51 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 17:44:22 +00:00
Patrick Ohly 4c145a616c ensure that unique properties occur not more than once
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@47 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 14:18:14 +00:00
Patrick Ohly 5761cda454 test adding multiple business phone numbers
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@46 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 14:17:51 +00:00
Patrick Ohly 191dd40b23 test for copying via server now transmits testVCard.vcf and also compares against it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@45 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 13:35:23 +00:00
Patrick Ohly fb41aebdd4 format normalized vcards with 60 columns for easier side-by-side diff
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@44 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-18 13:29:15 +00:00
Patrick Ohly d81eb58d44 normalize_vcard can now also compare two files automatically; it's also installed without .pl suffix
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@43 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-15 22:09:04 +00:00
Patrick Ohly 4b6549c077 added workarounds for FBURL/CALURI and ADR without TYPE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@39 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 22:30:35 +00:00
Patrick Ohly 1217824251 replaced verification with vcard comparion via normalize_vcard.pl
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@38 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 20:36:18 +00:00
Patrick Ohly 329453859b fixed maintainer-cleanup
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@36 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 10:29:40 +00:00
Patrick Ohly 0e977a2b2e removed pregenerated autotools files from CVS - use autogen.sh
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@34 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 10:10:44 +00:00
Patrick Ohly 7af6713cd7 integrated compilation of Sync4j C++ client library + distribution of its source
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@33 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 09:48:59 +00:00
Patrick Ohly 1301d3edac preparations for a release as 'SyncEvolution'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@32 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 19:23:43 +00:00
Patrick Ohly ee25c482cd restrict the usage of the problematic CALURI/FBURL to a few specific test cases
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@30 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 16:30:00 +00:00
Patrick Ohly e2e9fef922 check some more vcard fields (however, different order of entries still breaks comparison)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@29 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-02-26 18:12:05 +00:00
Patrick Ohly d6fe29ef0e added support for the new refresh-client/server sync modes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@26 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-02-04 20:22:55 +00:00
Patrick Ohly 884e6d60f3 removed redundant code
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@23 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-23 22:25:57 +00:00
Patrick Ohly 608a5b261f added conflict handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@22 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-23 21:51:43 +00:00
Patrick Ohly 09c19a61df allow running just one test
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@21 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 17:13:42 +00:00
Patrick Ohly 5c247ab443 list the major features explicitly and improved tests to actually check copying/updating
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@20 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 17:06:59 +00:00
Patrick Ohly 62322c3e19 minor changes to make it easier to debug
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@17 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-21 15:37:07 +00:00
Patrick Ohly 5883a5fa39 added test cases for vcard conversion
use VOCL classes to fix vcard encoding


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@16 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-01-08 21:49:03 +00:00
Patrick Ohly a9e9e46d60 a deleted item without data returns getDataSize() -1
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@15 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-12 19:15:13 +00:00
Patrick Ohly 274f505aaf added unit testing for syncing, needs some support in core classes (overriding sync mode, full lists)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@14 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-11 17:13:36 +00:00
Patrick Ohly 584c29873a implemented distinction between different sync modes: 'refresh' requires deleting items, scanning is different for full and partial sync
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@13 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 21:10:43 +00:00
Patrick Ohly a42a23b9c6 added testing of syncing
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@12 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 19:16:02 +00:00
Patrick Ohly 2931400051 added some more debug logging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@11 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 17:48:07 +00:00
Patrick Ohly 4e394b7d3c more convervative logging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@10 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-04 19:49:31 +00:00
Patrick Ohly 21427c1593 fixed/extended error detection at the end of the sync
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@9 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-03 16:06:47 +00:00
Patrick Ohly 8ef6f693cd added logging of contact vcards
added hack to make Evolution's vcard V3.0 compatible with Sync4j 2.3b3 (needs to be remove or made configurable)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@8 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-03 14:35:11 +00:00
Patrick Ohly 20701cad26 strip special characters, Evolution gets confused by them
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@7 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-03 14:33:41 +00:00
Patrick Ohly 6b09f2f6c3 implemented front-end based on new SyncML C++ config API
implemented the new begin/endSync() callbacks
explain the change tracking and error handling
-> copying from server works, the other way around fails, probably because of vcard 3.0 parsing problems on the server


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@6 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-26 21:16:03 +00:00
Patrick Ohly 3a81621f3e adapted to Sync4j C++ client API 3.x
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@5 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-25 20:53:04 +00:00
Patrick Ohly 29ae19e174 base class with functionality common to all Evolution sync sources
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@4 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-11-25 20:50:21 +00:00