syncevolution/src
Patrick Ohly a8effb21b8 config migration: avoid name conflicts and auto syncing of old configs (BMC #22691)
When (auto-)migrating a config, it was possible that a name for the
peer, say foo.old, was chosen for the renamed config although there
was already such a config, for example foo.old in ~/.sync4j. Besides
being confusing for users, this also led to a bug in the code where it
copied from the older config with the foo.old name.

Found when adding unit testing of migrating configs with auto syncing,
because then the content of the migrated config mattered.

The main problem fixed in this commit is the disabling of auto syncing
in the old config. Done similar to ConsumerRead, by reading/writing
the .ini (resp. .txt) file directly.
2011-08-19 16:19:12 +02:00
..
backends syncevolution.org binaries: work with both libneon and libneon-gnutls 2011-08-17 10:04:21 +00:00
dbus interface xml: Add missing direction to Session.CheckPresence() parameter "status" ("out") 2011-07-15 06:49:07 -07:00
gdbus gdbus: fixed segfault when asked for properties when none are available (BMC #22152) 2011-08-15 13:26:27 +02:00
gnome-bluetooth Removing empty file src/gnome-bluetooth/configure-sub.in 2011-05-16 12:51:00 +02:00
gtk-ui GTK sync UI: Fix WebDAV config ignoring 2011-06-14 08:47:30 +02:00
syncevo config migration: avoid name conflicts and auto syncing of old configs (BMC #22691) 2011-08-19 16:19:12 +02:00
synthesis-includes autotools: --disable-core --enable-gui => build only sync-ui and its D-Bus lib 2010-03-23 19:04:06 +01:00
templates config templates: added IconURI to all templates (BMC #20750) 2011-07-12 18:30:02 +02:00
.cvsignore test for copying via server now transmits testVCard.vcf and also compares against it 2006-03-18 13:35:23 +00:00
.gitignore added .gitignore entries for locally created files 2011-04-13 10:34:14 +02:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp testing: use target-config@client-test-$CLIENT_TEST_SERVER for Client::Source 2011-08-15 17:32:01 +02:00
client-test-buteo.cpp buteo-test: update tracker database file name 2010-12-15 15:45:23 +01:00
client-test-buteo.h buteo-test: update tracker database file name 2010-12-15 15:45:23 +01:00
CmdlineSyncClient.cpp KWallet: KDE detection was flawed 2011-04-15 08:39:48 +02:00
CmdlineSyncClient.h SyncConfig: "username/password" ambiguous, changed to "sync username/password" 2011-04-11 21:05:35 +02:00
Makefile-gen.am vcard: inline local photo data (BMC #19661) 2011-07-22 09:35:03 +02:00
NotificationBackendBase.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendLibnotify.cpp NotificationBackendLibnotify: fixed compile problem 2011-06-16 19:29:19 +02:00
NotificationBackendLibnotify.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendMLite.cpp Fixes: BMC#19587 (Tapping on Sync notification should open Sync settings in Tablet UX) 2011-07-13 12:26:01 +03:00
NotificationBackendMLite.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendNoop.cpp syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendNoop.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationManager.cpp syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationManager.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationManagerBase.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationManagerFactory.cpp NotificationManagerFactory: fallback to No-op backend if no other backend is present. 2011-06-17 05:09:15 -07:00
NotificationManagerFactory.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
org.syncevolution.service.in fix D-Bus .service file (needed for d-Bus autostart) 2009-11-16 19:07:27 +02:00
README.h added missing copyright and license headers 2009-05-11 16:31:17 +02:00
README.templates Merge remote branch 'origin/syncevolution-0-9-branch' 2009-11-30 21:41:53 +01:00
shlibs.local reverted to 0.7 packaging 2008-07-03 19:56:15 +00:00
syncevo-dbus-server-startup.sh.in syncevo-dbus-server-startup.sh.in: suppress output 2010-03-29 11:01:36 +02:00
syncevo-dbus-server.cpp auto syncing: must check whether enabled when looking at unknown URLs (part of BMC #22691) 2011-08-19 15:08:14 +02:00
syncevo-dbus-server.desktop.in DBusServer: start syncevo-dbus-server when users log in 2010-03-08 15:26:58 -08:00
syncevolution.cpp src/syncevoluton.cpp: Remove #include "EvolutionSyncSource.h" 2011-05-16 12:51:00 +02:00
valgrind.supp ObexTransportAgent: Fix valgrind warnings (MB#10091) 2010-03-12 06:33:13 -08:00

The configuration templates in "templates" get installed into
$(datadir)/syncevolution/templates.

When adding/changing a new server, then only enter the properties
which need to be changed here so that the default values can
be used for the remaining properties.

An icon can be added here for servers. The file name must start with
"icon".

Server configurations must be kept in sync in three different places:
- here (if a server is installed as files)
- in SyncEvolutionConfig.cpp's EvolutionSyncConfig::createServerTemplate()
- in SyncEvolutionCmdline.cpp's test server configs
- in test/test-dbus.py testGetConfigsTemplates()

Note that server icons must come with a suitable license that allows
redistribution.