syncevolution/src
Patrick Ohly 792d6bc99a local sync: fixed password handling
There still was a TODO in the code for handling "-" as password value.
No surprise, not having that implemented broke CalDAV sync in
syncevo-dbus-server because it would try to read the password from
stdin (the default in SyncContext).

Probably SyncContext shouldn't provide such an unsafe fallback, but
that's something for another patch.

This patch addresses the immediate problem by moving the
initialization of the SyncContext used by the child process into the
master process and adding the password checking directly afterwards
(LocalTransportAgent::start()). It runs in the main process
(syncevolution or syncevo-dbus-server) and uses the "request password"
method of the main sync context. Passwords are then stored
temporarily, so the same check doesn't have to ask for passwords again
in the child  process.

Long term we'll need to rewrite the complete password handling...
2011-06-16 18:24:03 +02:00
..
backends Buteo: also support Google Contacts via SyncML 2011-06-08 19:19:54 +02:00
dbus autotools: squashed some more automake warnings 2011-06-16 15:54:03 +02:00
gdbus added .gitignore entries for locally created files 2011-04-13 10:34:14 +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 local sync: fixed password handling 2011-06-16 18:24:03 +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 missing .ini templates for servers 2011-06-08 23:10:23 +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 client-test-app.cpp: if(a||a) -> if(a). 2011-06-07 16:07:45 +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 autotools: squashed some more automake warnings 2011-06-16 15:54:03 +02:00
NotificationBackendBase.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendLibnotify.cpp syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendLibnotify.h syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -07:00
NotificationBackendMLite.cpp mlite notifications: fixed configure issues 2011-06-16 18:17:21 +02: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 syncevo-dbus-server: notifications system made more generic. 2011-06-15 06:44:34 -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 Merge branch 'notifications' 2011-06-15 06:57:52 -07: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.