From 7388e3872331cadac4e7ed9f51327ad5be409096 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 19 Jan 2009 19:08:01 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 183260943cb216331ca59da428a9213660f50a3e Monotone-Revision: 0cccccd5ca93030867a48d630f989c1cb73e1831 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-01-19T19:08:01 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 10 ++++++++-- Main/SOGo.m | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a6a56a82..448b6ac19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-01-19 Ludovic Marcotte + + * Main/SOGo.m + We check if we have an empty configuration upon startup + and warn the user about this. + 2009-01-16 Wolfgang Sourdeau * SoObjects/SOGo/NSString+Utilities.m ([NSString @@ -25,7 +31,7 @@ ([SOGoGCSFolder -sendFolderAdvisoryTemplate:template]): now a public method. -2008-01-07 Ludovic Marcotte +2009-01-07 Ludovic Marcotte * Added Documentation/SOGo Mobile Devices Configuration.odt * Fixed typos in the Intallation & Configuration guide @@ -54,7 +60,7 @@ algorithm used in jsonRepresentation, the latter is now calling this new method. -2008-01-06 Ludovic Marcotte +2009-01-06 Ludovic Marcotte * SoObjects/Appointments/SOGoCalendarComponent.m ([SOGoCalendarComponent -_filterComponent:]): diff --git a/Main/SOGo.m b/Main/SOGo.m index 4b83530fb..06e5c0942 100644 --- a/Main/SOGo.m +++ b/Main/SOGo.m @@ -76,8 +76,11 @@ static BOOL debugObjectAllocation = NO; NSArray *basicRoles; id tmp; - NSLog (@"starting SOGo (build %@)", SOGoBuildDate); + NSLog(@"starting SOGo (build %@)", SOGoBuildDate); + if ([[ud persistentDomainForName: @"sogod-0.9"] count] == 0) + NSLog(@"WARNING: No configuration found. SOGo will not work properly."); + doCrashOnSessionCreate = [ud boolForKey:@"SOGoCrashOnSessionCreate"]; #ifdef GNUSTEP_BASE_LIBRARY debugObjectAllocation = [ud boolForKey: @"SOGoDebugObjectAllocation"];