mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 20:38:50 +00:00
feat(calendar): Add SOGoDisableOrganizerEventCheck parameter - this parameter is used to avoid checking calendar event's organizer
This commit is contained in:
@@ -1528,6 +1528,9 @@ URL could be set to something like:
|
||||
|
||||
See the "EMail reminders" section in this document for more information.
|
||||
|
||||
|S |SOGoDisableOrganizerEventCheck
|
||||
|Parameter used to disable organizer's calendar event check
|
||||
|
||||
|S |OCSStoreURL
|
||||
|Parameter used to set the database URL so that SOGo can use to store
|
||||
all content data. You must also set `OCSAclURL` and `OCSCacheFolderURL`
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#import <SOGo/SOGoUserSettings.h>
|
||||
#import <SOGo/SOGoDomainDefaults.h>
|
||||
#import <SOGo/WORequest+SOGo.h>
|
||||
#import <SOGo/SOGoSystemDefaults.h>
|
||||
|
||||
#import "iCalCalendar+SOGo.h"
|
||||
#import "iCalEvent+SOGo.h"
|
||||
@@ -2580,7 +2581,7 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent
|
||||
|
||||
// Verify if the event is still present in the organizer calendar
|
||||
organizerUID = [[masterEvent organizer] uidInContext: context];
|
||||
if (organizerUID)
|
||||
if (organizerUID && ![[SOGoSystemDefaults sharedSystemDefaults] disableOrganizerEventCheck])
|
||||
{
|
||||
object = [self _lookupEvent: [masterEvent uid]
|
||||
forUID: organizerUID];
|
||||
|
||||
@@ -50,6 +50,8 @@
|
||||
|
||||
- (BOOL) enableEMailAlarms;
|
||||
|
||||
- (BOOL) disableOrganizerEventCheck;
|
||||
|
||||
- (NSString *) faviconRelativeURL;
|
||||
- (NSString *) zipPath;
|
||||
- (int) port;
|
||||
|
||||
@@ -384,6 +384,12 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
|
||||
return [self boolForKey: @"SOGoEnableEMailAlarms"];
|
||||
}
|
||||
|
||||
- (BOOL) disableOrganizerEventCheck
|
||||
{
|
||||
return [self boolForKey: @"SOGoDisableOrganizerEventCheck"];
|
||||
}
|
||||
|
||||
|
||||
- (NSString *) faviconRelativeURL
|
||||
{
|
||||
return [self stringForKey: @"SOGoFaviconRelativeURL"];
|
||||
@@ -785,4 +791,5 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
|
||||
return secret;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user