mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-23 07:22:37 +00:00
add user folder endpoint
This commit is contained in:
1 parent
9aab41975d
commit
b5deb663ad
10 files changed
+303
-13
No files matched your search
@@ -11,6 +11,7 @@ API_OBJC_FILES = \
|
|||||||
SOGoAPIProduct.m \
|
SOGoAPIProduct.m \
|
||||||
SOGoAPI.m \
|
SOGoAPI.m \
|
||||||
SOGoAPIVersion.m \
|
SOGoAPIVersion.m \
|
||||||
|
SOGoAPIUserFolder.m \
|
||||||
SOGoAPIDispatcher.m
|
SOGoAPIDispatcher.m
|
||||||
|
|
||||||
API_RESOURCE_FILES += \
|
API_RESOURCE_FILES += \
|
||||||
|
|||||||
+5
-1
@@ -24,8 +24,12 @@
|
|||||||
#import <Foundation/NSDictionary.h>
|
#import <Foundation/NSDictionary.h>
|
||||||
#import <Foundation/NSArray.h>
|
#import <Foundation/NSArray.h>
|
||||||
|
|
||||||
|
@class WOContext;
|
||||||
|
|
||||||
@interface SOGoAPI : NSObject
|
@interface SOGoAPI : NSObject
|
||||||
- (NSArray *) methodAllowed;
|
- (NSArray *) methodAllowed;
|
||||||
- (NSDictionary *) action;
|
- (BOOL) needAuth;
|
||||||
|
- (NSArray *) paramNeeded;
|
||||||
|
- (NSDictionary *) action: (WOContext*) ctx withParam: (NSDictionary *) param;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
+11
-1
@@ -27,7 +27,17 @@
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSDictionary *) action
|
- (BOOL) needAuth
|
||||||
|
{
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSArray *) paramNeeded
|
||||||
|
{
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSDictionary *) action: (WOContext*) ctx withParam: (NSDictionary *) param
|
||||||
{
|
{
|
||||||
NSDictionary* result;
|
NSDictionary* result;
|
||||||
|
|
||||||
|
|||||||
+160
-9
@@ -41,6 +41,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#import <NGObjWeb/SoSecurityManager.h>
|
#import <NGObjWeb/SoSecurityManager.h>
|
||||||
#import <NGObjWeb/WOContext+SoObjects.h>
|
#import <NGObjWeb/WOContext+SoObjects.h>
|
||||||
#import <NGObjWeb/WOCoreApplication.h>
|
#import <NGObjWeb/WOCoreApplication.h>
|
||||||
|
#import <NGObjWeb/SoHTTPAuthenticator.h>
|
||||||
|
|
||||||
#import <NGCards/iCalCalendar.h>
|
#import <NGCards/iCalCalendar.h>
|
||||||
#import <NGCards/iCalEvent.h>
|
#import <NGCards/iCalEvent.h>
|
||||||
@@ -60,7 +61,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#import <SOGo/NSDictionary+DAV.h>
|
#import <SOGo/NSDictionary+DAV.h>
|
||||||
#import <SOGo/SOGoCache.h>
|
#import <SOGo/SOGoCache.h>
|
||||||
#import <SOGo/SOGoCacheGCSObject.h>
|
#import <SOGo/SOGoCacheGCSObject.h>
|
||||||
#import <SOGo/SOGoDAVAuthenticator.h>
|
|
||||||
#import <SOGo/SOGoMailer.h>
|
#import <SOGo/SOGoMailer.h>
|
||||||
#import <SOGo/SOGoSystemDefaults.h>
|
#import <SOGo/SOGoSystemDefaults.h>
|
||||||
#import <SOGo/SOGoUser.h>
|
#import <SOGo/SOGoUser.h>
|
||||||
@@ -74,6 +74,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#import <SOGo/NSString+Utilities.h>
|
#import <SOGo/NSString+Utilities.h>
|
||||||
#import <SOGo/SOGoPermissions.h>
|
#import <SOGo/SOGoPermissions.h>
|
||||||
|
|
||||||
|
|
||||||
void handle_api_terminate(int signum)
|
void handle_api_terminate(int signum)
|
||||||
{
|
{
|
||||||
NSLog(@"Forcing termination of API loop.");
|
NSLog(@"Forcing termination of API loop.");
|
||||||
@@ -161,7 +162,49 @@ void handle_api_terminate(int signum)
|
|||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSDictionary *) _authBasicCheck: (NSString *) auth
|
||||||
|
{
|
||||||
|
NSDictionary *user;
|
||||||
|
NSRange rng;
|
||||||
|
NSString *decodeCred, *domain, *login, *pwd;
|
||||||
|
SOGoUserManager *lm;
|
||||||
|
SOGoPasswordPolicyError perr;
|
||||||
|
int expire, grace;
|
||||||
|
BOOL rc;
|
||||||
|
|
||||||
|
user = nil;
|
||||||
|
|
||||||
|
decodeCred = [[auth substringFromIndex:5] stringByTrimmingLeadWhiteSpaces];
|
||||||
|
decodeCred = [decodeCred stringByDecodingBase64];
|
||||||
|
|
||||||
|
rng = [decodeCred rangeOfString:@":"];
|
||||||
|
login = [decodeCred substringToIndex:rng.location];
|
||||||
|
pwd = [decodeCred substringFromIndex:(rng.location + rng.length)];
|
||||||
|
|
||||||
|
domain = nil;
|
||||||
|
perr = PolicyNoError;
|
||||||
|
rc = ([[SOGoUserManager sharedUserManager]
|
||||||
|
checkLogin: [login stringByReplacingString: @"%40"
|
||||||
|
withString: @"@"]
|
||||||
|
password: pwd
|
||||||
|
domain: &domain
|
||||||
|
perr: &perr
|
||||||
|
expire: &expire
|
||||||
|
grace: &grace
|
||||||
|
additionalInfo: nil]
|
||||||
|
&& perr == PolicyNoError);
|
||||||
|
|
||||||
|
if(rc)
|
||||||
|
{
|
||||||
|
//Fecth user info
|
||||||
|
lm = [SOGoUserManager sharedUserManager];
|
||||||
|
user = [lm contactInfosForUserWithUIDorEmail: login];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
user = nil;
|
||||||
|
|
||||||
|
return user;
|
||||||
|
}
|
||||||
|
|
||||||
- (NSException *) dispatchRequest: (WORequest*) theRequest
|
- (NSException *) dispatchRequest: (WORequest*) theRequest
|
||||||
inResponse: (WOResponse*) theResponse
|
inResponse: (WOResponse*) theResponse
|
||||||
@@ -171,7 +214,8 @@ void handle_api_terminate(int signum)
|
|||||||
id activeUser;
|
id activeUser;
|
||||||
NSString *method, *action, *error;
|
NSString *method, *action, *error;
|
||||||
NSDictionary *form;
|
NSDictionary *form;
|
||||||
NSMutableDictionary *ret;
|
NSArray *paramNeeded;
|
||||||
|
NSMutableDictionary *paramInjected, *ret;
|
||||||
NSBundle *bundle;
|
NSBundle *bundle;
|
||||||
id classAction;
|
id classAction;
|
||||||
Class clazz;
|
Class clazz;
|
||||||
@@ -180,8 +224,6 @@ void handle_api_terminate(int signum)
|
|||||||
pool = [[NSAutoreleasePool alloc] init];
|
pool = [[NSAutoreleasePool alloc] init];
|
||||||
ASSIGN(context, theContext);
|
ASSIGN(context, theContext);
|
||||||
|
|
||||||
activeUser = [context activeUser];
|
|
||||||
|
|
||||||
//Get the api action, check it
|
//Get the api action, check it
|
||||||
action = [self _getActionFromUri: [theRequest uri]];
|
action = [self _getActionFromUri: [theRequest uri]];
|
||||||
if(!action)
|
if(!action)
|
||||||
@@ -189,6 +231,8 @@ void handle_api_terminate(int signum)
|
|||||||
error = [NSString stringWithFormat: @"No actions found for request to API: %@", [theRequest uri]];
|
error = [NSString stringWithFormat: @"No actions found for request to API: %@", [theRequest uri]];
|
||||||
[self errorWithFormat: error];
|
[self errorWithFormat: error];
|
||||||
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 400];
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 400];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,6 +244,8 @@ void handle_api_terminate(int signum)
|
|||||||
error = [NSString stringWithFormat: @"No backend API found for action: %@", action];
|
error = [NSString stringWithFormat: @"No backend API found for action: %@", action];
|
||||||
[self errorWithFormat: error];
|
[self errorWithFormat: error];
|
||||||
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 400];
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 400];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -213,21 +259,126 @@ void handle_api_terminate(int signum)
|
|||||||
error = [NSString stringWithFormat: @"Can't alloc and init class: %@", classAction];
|
error = [NSString stringWithFormat: @"Can't alloc and init class: %@", classAction];
|
||||||
[self errorWithFormat: error];
|
[self errorWithFormat: error];
|
||||||
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 500];
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 500];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
NS_ENDHANDLER;
|
NS_ENDHANDLER;
|
||||||
|
|
||||||
|
|
||||||
//Check user auth
|
|
||||||
|
|
||||||
|
|
||||||
//Check method
|
//Check method
|
||||||
|
method = [theRequest method];
|
||||||
|
if(![[classAction methodAllowed] containsObject: method])
|
||||||
|
{
|
||||||
|
error = [NSString stringWithFormat: @"Method %@ not allowed for action %@", method, action];
|
||||||
|
[self errorWithFormat: error];
|
||||||
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 400];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
paramInjected = [NSMutableDictionary dictionary];
|
||||||
//Check parameters
|
//Check parameters
|
||||||
|
if((paramNeeded = [classAction paramNeeded]) && [paramNeeded count] >= 1)
|
||||||
|
{
|
||||||
|
NSDictionary* formAndQuery = [theRequest formValues];
|
||||||
|
for(NSString *param in paramNeeded)
|
||||||
|
{
|
||||||
|
id value;
|
||||||
|
if((value = [formAndQuery objectForKey: param]))
|
||||||
|
{
|
||||||
|
NSString* trueValue;
|
||||||
|
if ([value isKindOfClass: [NSArray class]])
|
||||||
|
trueValue = [value lastObject];
|
||||||
|
else
|
||||||
|
trueValue = value;
|
||||||
|
[paramInjected setObject: trueValue forKey: param];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error = [NSString stringWithFormat: @"Missing param %@ for action %@", param, action];
|
||||||
|
[self errorWithFormat: error];
|
||||||
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 400];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if([classAction needAuth])
|
||||||
|
{
|
||||||
|
if(debugOn)
|
||||||
|
[self logWithFormat: @"Check auth for action %@", action];
|
||||||
|
//check auth
|
||||||
|
NSString *auth = [theRequest headerForKey: @"authorization"];
|
||||||
|
if(auth)
|
||||||
|
{
|
||||||
|
NSDictionary* user;
|
||||||
|
if([[auth lowercaseString] hasPrefix: @"basic"])
|
||||||
|
{
|
||||||
|
//basic auth
|
||||||
|
user = [self _authBasicCheck: auth];
|
||||||
|
}
|
||||||
|
else if([[auth lowercaseString] hasPrefix: @"bearer"])
|
||||||
|
{
|
||||||
|
//openid auth
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error = [NSString stringWithFormat: @"Authorization method incorrect: %@ for action %@", auth, action];
|
||||||
|
[self errorWithFormat: error];
|
||||||
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 401];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
|
||||||
|
//add current user in paramInjected
|
||||||
|
if(user){
|
||||||
|
if(debugOn)
|
||||||
|
[self logWithFormat: @"User authenticated %@", user];
|
||||||
|
[paramInjected setObject: user forKey: @"user"];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error = [NSString stringWithFormat: @"User wrong login or not found for action %@", action];
|
||||||
|
[self errorWithFormat: error];
|
||||||
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 401];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error = [NSString stringWithFormat: @"No authorization header found for action %@", action];
|
||||||
|
[self errorWithFormat: error];
|
||||||
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 401];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Execute action
|
//Execute action
|
||||||
ret = [classAction action];
|
NS_DURING
|
||||||
|
{
|
||||||
|
ret = [classAction action: context withParam: paramInjected];
|
||||||
|
}
|
||||||
|
NS_HANDLER
|
||||||
|
{
|
||||||
|
error = [NSString stringWithFormat: @"Internal error during: %@", action];
|
||||||
|
[self errorWithFormat: error];
|
||||||
|
[self _sendAPIErrorResponse: theResponse withMessage: error withStatus: 500];
|
||||||
|
RELEASE(context);
|
||||||
|
RELEASE(pool);
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
NS_ENDHANDLER;
|
||||||
|
|
||||||
|
|
||||||
//Make the response
|
//Make the response
|
||||||
[theResponse setContent: [ret jsonRepresentation]];
|
[theResponse setContent: [ret jsonRepresentation]];
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
Copyright (C) 2004-2005 SKYRIX Software AG
|
||||||
|
|
||||||
|
This file is part of SOPE.
|
||||||
|
|
||||||
|
SOPE is free software; you can redistribute it and/or modify it under
|
||||||
|
the terms of the GNU Lesser General Public License as published by the
|
||||||
|
Free Software Foundation; either version 2, or (at your option) any
|
||||||
|
later version.
|
||||||
|
|
||||||
|
SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||||
|
License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with SOPE; see the file COPYING. If not, write to the
|
||||||
|
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
|
#import <Foundation/NSArray.h>
|
||||||
|
#import <SOGoAPI.h>
|
||||||
|
|
||||||
|
@class WOContext;
|
||||||
|
|
||||||
|
@interface SOGoAPIUserFolder : SOGoAPI
|
||||||
|
- (NSArray *) methodAllowed;
|
||||||
|
- (NSDictionary *) action: (WOContext*) ctx withParam: (NSDictionary *) param;
|
||||||
|
@end
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
Copyright (C) todo...
|
||||||
|
*/
|
||||||
|
|
||||||
|
#import <SOGoAPIUserFolder.h>
|
||||||
|
|
||||||
|
#import <GDLContentStore/GCSFolderManager.h>
|
||||||
|
|
||||||
|
@implementation SOGoAPIUserFolder
|
||||||
|
|
||||||
|
- (id) init
|
||||||
|
{
|
||||||
|
[super init];
|
||||||
|
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void) dealloc
|
||||||
|
{
|
||||||
|
[super dealloc];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
- (NSDictionary *) action: (WOContext*) ctx withParam: (NSDictionary *) param
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
Coté sogo, il faudrait un endpoint API qui retourne tous les liens caldav/cardav + leur nom lisible de l’utilisateur.
|
||||||
|
*/
|
||||||
|
NSDictionary* result;
|
||||||
|
NSArray *folders;
|
||||||
|
NSMutableArray *cardavLinks, *caldavLinks;
|
||||||
|
NSString *serverUrl, *basePath, *c_uid, *url;
|
||||||
|
GCSFolderManager *fm;
|
||||||
|
int max, i;
|
||||||
|
|
||||||
|
//Should be a user
|
||||||
|
c_uid = [[[param objectForKey: @"user"] objectForKey: @"emails"] objectAtIndex: 0];
|
||||||
|
|
||||||
|
//fetch folders
|
||||||
|
fm = [GCSFolderManager defaultFolderManager];
|
||||||
|
basePath = [NSString stringWithFormat: @"/Users/%@", c_uid];
|
||||||
|
folders = [fm listSubFoldersAtPath: basePath recursive: YES];
|
||||||
|
|
||||||
|
//Generate dav link
|
||||||
|
max = [folders count];
|
||||||
|
serverUrl = [[ctx serverURL] absoluteString];
|
||||||
|
|
||||||
|
cardavLinks = [NSMutableArray array];
|
||||||
|
caldavLinks = [NSMutableArray array];
|
||||||
|
serverUrl = [[ctx serverURL] absoluteString];
|
||||||
|
for (i = 0; i < max; i++)
|
||||||
|
{
|
||||||
|
url = [NSString stringWithFormat: @"%@/SOGo/dav/%@/%@", serverUrl, c_uid, [folders objectAtIndex: i]];
|
||||||
|
if([url rangeOfString:@"/Calendar/"].location == NSNotFound)
|
||||||
|
{
|
||||||
|
//Contacts
|
||||||
|
[cardavLinks addObject: url];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//Calendar
|
||||||
|
[caldavLinks addObject: url];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
result = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||||
|
c_uid, @"username",
|
||||||
|
cardavLinks, @"contact",
|
||||||
|
caldavLinks, @"calendar",
|
||||||
|
nil];
|
||||||
|
|
||||||
|
[result autorelease];
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@end /* SOGoAPIVersion */
|
||||||
@@ -25,7 +25,9 @@
|
|||||||
#import <Foundation/NSArray.h>
|
#import <Foundation/NSArray.h>
|
||||||
#import <SOGoAPI.h>
|
#import <SOGoAPI.h>
|
||||||
|
|
||||||
|
@class WOContext;
|
||||||
|
|
||||||
@interface SOGoAPIVersion : SOGoAPI
|
@interface SOGoAPIVersion : SOGoAPI
|
||||||
- (NSArray *) methodAllowed;
|
- (NSArray *) methodAllowed;
|
||||||
- (NSDictionary *) action;
|
- (NSDictionary *) action: (WOContext*) ctx withParam: (NSDictionary *) param;
|
||||||
@end
|
@end
|
||||||
@@ -19,7 +19,13 @@
|
|||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSDictionary *) action {
|
- (BOOL) needAuth
|
||||||
|
{
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (NSDictionary *) action: (WOContext*) ctx withParam: (NSDictionary *) param
|
||||||
|
{
|
||||||
NSDictionary* result;
|
NSDictionary* result;
|
||||||
|
|
||||||
result = [[NSDictionary alloc] initWithObjectsAndKeys:
|
result = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ static const NSString *kDisableSharingCalendar = @"Calendar";
|
|||||||
- (BOOL) uixDebugEnabled;
|
- (BOOL) uixDebugEnabled;
|
||||||
- (BOOL) easDebugEnabled;
|
- (BOOL) easDebugEnabled;
|
||||||
- (BOOL) openIdDebugEnabled;
|
- (BOOL) openIdDebugEnabled;
|
||||||
|
- (BOOL) apiDebugEnabled;
|
||||||
- (BOOL) tnefDecoderDebugEnabled;
|
- (BOOL) tnefDecoderDebugEnabled;
|
||||||
- (BOOL) xsrfValidationEnabled;
|
- (BOOL) xsrfValidationEnabled;
|
||||||
|
|
||||||
|
|||||||
@@ -654,6 +654,11 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
|
|||||||
return [self boolForKey: @"SOGoOpenIDDebugEnabled"];
|
return [self boolForKey: @"SOGoOpenIDDebugEnabled"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (BOOL) apiDebugEnabled
|
||||||
|
{
|
||||||
|
return [self boolForKey: @"SOGoAPIDebugEnabled"];
|
||||||
|
}
|
||||||
|
|
||||||
- (BOOL) tnefDecoderDebugEnabled
|
- (BOOL) tnefDecoderDebugEnabled
|
||||||
{
|
{
|
||||||
return [self boolForKey: @"SOGoTnefDecoderDebugEnabled"];
|
return [self boolForKey: @"SOGoTnefDecoderDebugEnabled"];
|
||||||
|
|||||||
Reference in new issue
Block a user