02c3b84ac3
A new method, findCollections, fetches the folder list from the server and creates two maps: m_collections - store all the information about each collection (folder), indexed by server collection ID m_folderPaths - map full folder paths to collection IDs getDatabases uses this data to returns the folder path, collection ID and a flag indicating if the folder is the default for that type. Note 1: getDatabases always asks activesyncd to update the folder list from the server in order to return up to date information. Note 2: this depends on a new libeasclient routine: eas_sync_handler_get_folder_list |
||
---|---|---|
.. | ||
backends | ||
dbus | ||
gdbus | ||
gdbusxx | ||
gnome-bluetooth | ||
gtk-ui | ||
gtk3-ui | ||
syncevo | ||
synthesis-includes | ||
templates | ||
async.patch | ||
client-test-app.cpp | ||
README.h | ||
README.templates | ||
shlibs.local | ||
src.am | ||
syncevo-local-sync.cpp | ||
syncevolution.cpp | ||
testcases.am | ||
valgrind.supp |
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.