View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001054 | SOGo | Web Calendar | public | 2010-12-15 11:00 | 2018-03-13 20:01 |
| Reporter | paubry | Assigned To | ludovic | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.3.4 | ||||
| Summary | 0001054: Added a link in the main banner to an external URL for support | ||||
| Description | The link is shown only when SOGoSupportURL is set, see patch attached. | ||||
| Tags | No tags attached. | ||||
|
2010-12-15 11:00
|
patch-1.3.4-SupportURL.txt (3,480 bytes)
diff -Nbaur --exclude=config.make --exclude=configure --exclude='SOGoCASSession.*' --exclude='LDAPSource.*' --exclude='SOGoUserManager.*' --exclude='*.css' SOGo-1.3.4-dist/SoObjects/SOGo/SOGoSystemDefaults.h SOGo-1.3.4/SoObjects/SOGo/SOGoSystemDefaults.h
--- SOGo-1.3.4-dist/SoObjects/SOGo/SOGoSystemDefaults.h 2010-11-17 17:30:03.000000000 +0100
+++ SOGo-1.3.4/SoObjects/SOGo/SOGoSystemDefaults.h 2010-12-15 10:59:35.000000000 +0100
@@ -67,6 +69,9 @@
- (NSString *) CASServiceURL;
- (BOOL) CASLogoutEnabled;
- (NSString *) CASProxyCallbackURL;
+
+- (NSString *) supportURL;
- (BOOL) enablePublicAccess;
diff -Nbaur --exclude=config.make --exclude=configure --exclude='SOGoCASSession.*' --exclude='LDAPSource.*' --exclude='SOGoUserManager.*' --exclude='*.css' SOGo-1.3.4-dist/SoObjects/SOGo/SOGoSystemDefaults.m SOGo-1.3.4/SoObjects/SOGo/SOGoSystemDefaults.m
--- SOGo-1.3.4-dist/SoObjects/SOGo/SOGoSystemDefaults.m 2010-11-17 17:30:03.000000000 +0100
+++ SOGo-1.3.4/SoObjects/SOGo/SOGoSystemDefaults.m 2010-12-15 11:00:09.000000000 +0100
@@ -311,6 +316,16 @@
return [self boolForKey: @"SOGoCASLogoutEnabled"];
}
+- (NSString *) supportURL
+{
+ return [self stringForKey: @"SOGoSupportURL"];
+}
+
- (BOOL) enablePublicAccess
{
return [self boolForKey: @"SOGoEnablePublicAccess"];
diff -Nbaur --exclude=config.make --exclude=configure --exclude='SOGoCASSession.*' --exclude='LDAPSource.*' --exclude='SOGoUserManager.*' --exclude='*.css' SOGo-1.3.4-dist/UI/Common/UIxPageFrame.h SOGo-1.3.4/UI/Common/UIxPageFrame.h
--- SOGo-1.3.4-dist/UI/Common/UIxPageFrame.h 2010-11-17 17:30:03.000000000 +0100
@@ -62,6 +63,9 @@
- (BOOL) hasPageSpecificCSS;
- (BOOL) hasProductSpecificCSS;
+- (NSString *) supportURL;
+- (BOOL) hasSupportURL;
+
- (void) setPopup: (BOOL) popup;
- (BOOL) isPopup;
diff -Nbaur --exclude=config.make --exclude=configure --exclude='SOGoCASSession.*' --exclude='LDAPSource.*' --exclude='SOGoUserManager.*' --exclude='*.css' SOGo-1.3.4-dist/UI/Common/UIxPageFrame.m SOGo-1.3.4/UI/Common/UIxPageFrame.m
--- SOGo-1.3.4-dist/UI/Common/UIxPageFrame.m 2010-11-17 17:30:03.000000000 +0100
+++ SOGo-1.3.4/UI/Common/UIxPageFrame.m 2010-12-15 11:18:43.000000000 +0100
@@ -384,6 +397,24 @@
return ([[self productCSSURL] length] > 0);
}
+- (BOOL) hasSupportURL
+{
+ SOGoSystemDefaults *sd;
+ NSString *supportURL;
+
+ sd = [SOGoSystemDefaults sharedSystemDefaults];
+ supportURL = [sd supportURL];
+ return [supportURL length];
+}
+
+- (NSString *) supportURL
+{
+ SOGoSystemDefaults *sd;
+
+ sd = [SOGoSystemDefaults sharedSystemDefaults];
+ return [sd supportURL];
+}
+
- (BOOL) _moduleIs: (NSString *) moduleName
{
NSString *frameworkName;
diff -Nbaur --exclude=config.make --exclude=configure --exclude='SOGoCASSession.*' --exclude='LDAPSource.*' --exclude='SOGoUserManager.*' --exclude='*.css' SOGo-1.3.4-dist/UI/Templates/UIxPageFrame.wox SOGo-1.3.4/UI/Templates/UIxPageFrame.wox
--- SOGo-1.3.4-dist/UI/Templates/UIxPageFrame.wox 2010-11-17 17:30:03.000000000 +0100
+++ SOGo-1.3.4/UI/Templates/UIxPageFrame.wox 2010-12-15 11:33:26.000000000 +0100
@@ -115,6 +115,11 @@
href="#"><var:string
label:value="Log Console (dev.)" /></a
></var:if>
+ <var:if condition="hasSupportURL"
+ >| <a id="supportBannerLink"
+ var:href="supportURL" target="_blank"><var:string
+ label:value="Support" /></a
+ ></var:if>
</div>
</var:if
><var:component className="UIxToolbar" var:toolbar="toolbar"
|
|
No longer relevant - SOGo has "SOGoHelpURL". |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-12-15 11:00 | paubry | New Issue | |
| 2010-12-15 11:00 | paubry | File Added: patch-1.3.4-SupportURL.txt | |
| 2018-03-13 20:01 | ludovic | Note Added: 0012684 | |
| 2018-03-13 20:01 | ludovic | Status | new => closed |
| 2018-03-13 20:01 | ludovic | Assigned To | => ludovic |
| 2018-03-13 20:01 | ludovic | Resolution | open => fixed |