Commit graph

59 commits

Author SHA1 Message Date
Patrick Ohly 040d115d1c fixed the fix of EMAIL normalization...
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@84 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 17:32:46 +00:00
Patrick Ohly 9e8a58fb66 hide differences due to different PHOTO parameters, fixed EMAIL;INTERNET;OTHER
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@83 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-24 16:37:01 +00:00
Patrick Ohly 54ab882dab also treat INTERNET as TYPE
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@80 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-23 19:44:41 +00:00
Patrick Ohly 7497b22711 added testing of tasks
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@77 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 17:54:00 +00:00
Patrick Ohly 1e2cd0cc19 temporarily removed some problematic characters (forge tracker #304786)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@73 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 17:12:59 +00:00
Patrick Ohly 7ead372d9d - renamed normalize script to synccompare because it now applies to both calendar, tasks and contacts
- temporary files in test suite now start with the name of the test they belong to


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@72 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 15:59:33 +00:00
Patrick Ohly a5775d4026 - renamed "test" program to "TestEvolution"
- copy original test cases to fit the name expected by TestEvolution and to have
  them in the build directory
- handle merge with existing item in addItem(): return special status


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@71 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-04-17 09:41:37 +00:00
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